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

CN1181649C - Method for converting descriptors between devices on different sub network of household network - Google Patents

Method for converting descriptors between devices on different sub network of household network Download PDF

Info

Publication number
CN1181649C
CN1181649C CNB021306826A CN02130682A CN1181649C CN 1181649 C CN1181649 C CN 1181649C CN B021306826 A CNB021306826 A CN B021306826A CN 02130682 A CN02130682 A CN 02130682A CN 1181649 C CN1181649 C CN 1181649C
Authority
CN
China
Prior art keywords
subnet
service
equipment
control
description
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB021306826A
Other languages
Chinese (zh)
Other versions
CN1481115A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB021306826A priority Critical patent/CN1181649C/en
Publication of CN1481115A publication Critical patent/CN1481115A/en
Application granted granted Critical
Publication of CN1181649C publication Critical patent/CN1181649C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention discloses a method for converting description information among different subnetwork devices in a home network, which is used for controlling and invoking devices among subnetworks in the home network. The method has the key points that (a), connection gateways among the subnetworks visit a target device node to be invoked by the first subnetwork device by an object control language, and the description information of the device node is obtained; (b), the connection gateways respectively generate a device description document and a service description document in the second subnetwork according to the device and the service description information of the obtained target node; (c), the connection gateways are used for mapping a relational table according to the presetting description information, and the description information of the second subnetwork device is converted to the description information of the first subnetwork device one by one to generate a device description document and a service description document of the first subnetwork device. The method can lead a backbone network to access and control the devices in the subnetworks, and the operation for controlling the devices and the service in the subnetworks is converted into the operation for controlling relevant service on the gateways.

Description

The conversion method of different sub-network descriptors between devices in the home network
Technical field
The present invention relates to the device description switch technology, refer to a kind of conversion method that is applicable to different sub-network descriptors between devices in the digital home network especially.
Background of invention
Along with the user is more and more higher to the requirement of home intelligence, digitlization, automation, the notion of home network has been proposed, that is to say, all kinds of housed devices of existing household internal are connected in the network, adopt unified control and management, various housed devices can be interconnected and shared network resource.
In view of this, the applicant has proposed a kind of digital family network system in another patent application, as shown in Figure 1, this system mainly is made of gateway 11, an above backbone network equipment 12 and a plurality of control subnet equipment 13, this gateway 11 may further include two parts: link to each other by broadband interface between door gateway 110 and the control gateway 111, door gateway 110 and control gateway 111.Based on this system configuration as can be seen, this digital home network is made up of backbone network and two subnets of control subnet, wherein, be called backbone network by door gateway 110 and the formed network portion of connected housed device, backbone network is mainly used in the interconnection that realizes information equipment, communication apparatus, amusement equipment etc.; And being called the control subnet by control gateway 111 and the formed network portion of connected housed device, the control subnet master is used to realize the interconnection of equipment such as household electrical appliance, automation equipment, guard monitor device.In general, the equipment in the backbone network all has stronger storage, computing capability, and device storage, computing capability in the control subnet are very limited.
In this digital home network, backbone network adopts different procotols to realize the interconnection and interflow and the resource-sharing of LA Management Room separately respectively with the control subnet, communicates by letter by the realization of the interconnection between door gateway and the control gateway between backbone network and the control subnet.Because it is the agreement difference that two subnets use, the device type difference of connection, therefore, also inequality to separately device description standard on backbone network and the control subnet.Because the perfect in shape and function of backbone network equipment, powerful, the equipment of backbone network can control and call control subnet equipment usually, if but the device description difference of subnet separately just can't realize control and call.
Summary of the invention
In view of this, main purpose of the present invention is to provide the conversion method of different sub-network descriptors between devices in a kind of home network, make that equipment can visit and call between subnet, and with the operational transition of antithetical phrase internetwork device and service for to being connected the operation of related service on the gateway between subnet.
For achieving the above object, technical scheme of the present invention is achieved in that
The conversion method of different sub-network descriptors between devices in a kind of home network, the control that is used for equipment between home network first subnet and second subnet with call, connection gateway between subnet is provided with the descriptor mapping relations table of the second subnet device descriptive information to the first subnet device descriptive information, and this method is further comprising the steps of:
A. first subnet is visited the destination device node that the first subnet equipment will call with the gateway that is connected between second subnet by the object control language, obtains all descriptors of this device node;
B. this connection gateway generates device description document and service description document on second subnet respectively according to the equipment and the service description information of the destination node that is obtained;
C. connect gateway according to predefined descriptor mapping relations table, all descriptors of the second subnet equipment are converted to the descriptor of the first subnet equipment one by one, generate first subnet device description document and the service description document.
In the such scheme, set descriptor mapping relations table can be stored in being connected in the gateway between first subnet and second subnet.
Wherein, device descriptive information further comprises device descriptive information and service description information.Therefore, the conversion of described device description be with each corresponding in second subnet device description member variable content one by one assignment give each territory of the first subnet device description.The conversion of described service describing be description normative content that member variable corresponding in the second subnet service describing or first subnet are made an appointment successively assignment give each territory of the first subnet service describing.
By such scheme as can be seen, key of the present invention is: the descriptor mapping relations table that equipment between subnet is set in the connection gateway between subnet in advance, utilize the second subnet device attribute of the target device that this table will control first subnet to be converted to the first subnet device attribute, and then the first subnet equipment is converted to the operation of the first subnet equipment room to the operation of the second subnet equipment.
Therefore, the conversion method of different sub-network descriptors between devices in the home network provided by the present invention, this method utilization is stored in the descriptor mapping relations table that connects between subnet on the gateway, can realize the description conversion of home network neutron internetwork device easily, make the subnet equipment of winning to control and to visit the second subnet equipment easily.Its superior part is:
1) quick.Do not need very strong disposal ability, the connection gateway just can be finished the conversion between the device description between subnet.
2) economy.Only need memory capacity seldom, just can preserve device descriptive information mapping relations table.
3) upgrading is convenient.Only need change seldom, device descriptive information mapping relations table just can enhanced feature.
Description of drawings
Fig. 1 is that digital home network of the present invention is formed structural representation;
Fig. 2 realizes showing the descriptor mapping relations figure that is adopted for the present invention;
Fig. 3 describes the realization flow figure of conversion for present device.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Based on home network framework shown in Figure 1, first subnet in the present embodiment promptly refers to the backbone network in this framework, and second subnet is the control subnet in this framework.To the different sub-network in should framework, in two other patent application of the applicant, two kinds of different device description standards have been proposed respectively, be backbone network device description standard and control subnet device description standard, the device description method of this backbone network and control subnet mainly is that service two aspects that slave unit attribute and equipment can provide are described each equipment on the network.The description of a control subnet equipment is made of the basic service classes on several foundation class and the foundation class usually, and the division of this foundation class is based on the attribute of equipment, such as: belong to counter, timer, keyboard, node control or the like; And the division of basic service classes is based on service or function that this equipment can provide, such as: audio frequency amplification, clock, video demonstration, environmentally sensitive or the like.Control gateway is responsible for controlling the device description mapping of subnet to backbone network, also can change operation to related service on the control gateway into to the operation of equipment and service in the control subnet, makes backbone network can have access to equipment in the control subnet.The service of control in the subnet generates the backbone network service describing that the corresponding WSDL (Web Services Description Language) of employing language is realized by control gateway, and as the backbone network service registry on control gateway.
In the description to equipment, device attribute is blanket to device type, title, trade name, device id, device security rank etc., and device service then is that the culvert of COS that equipment is provided, message, port type etc. is general.Though, the backbone network DDL is corresponding to backbone network protocol, control subnet DDL is corresponding to the control Subnetwork protocol, but owing to description angle unanimity to equipment, all be to describe with device attribute and two aspects of device service, so, for the conversion of the device description between the different agreement provide may and convenient.
When an equipment adds the control subnet, at first on the control subnet, carry out facility registration, on backbone network, carry out facility registration by control gateway then; Control gateway receiving on the control subnet after the register requirement of equipment, can convert its description on the control subnet description of backbone network to by predefined descriptor mapping relations table, carries out facility registration to backbone network then; After carrying out facility registration on the backbone network, backbone network equipment just can be operated and control the equipment of control subnet.
In order to realize the conversion between backbone network equipment and the control subnet device description, the present invention has preestablished descriptor mapping relations table, and is stored on the control gateway.This mapping table has been stipulated the corresponding relation between each subitem in backbone network device description and the control subnet device description, and as shown in Figure 2, Fig. 2 is the descriptor mapping relations hoist pennants of control subnet device description to backbone network equipment.
Because each equipment comprises device attribute and the two-part description of device service, therefore, further provide backbone network and the corresponding relation of controlling device attribute and device service between the subnet, shown in table 1, table 2.Table 1 be the backbone network device description with control subnet device description in the mapping table of device attribute, this table has provided on each territory of backbone network device description and the control subnet equipment corresponding relation between each member variable in the node control object.Table 2 is the mapping table of backbone network equipment and control subnet device service descriptor, and this table has provided the information corresponding relation of device service in backbone network device description and the control subnet device description.
Backbone network device description territory Control subnet equipment member variable Explanation
deviceType DeviceType Device type, host type are " control appliance ", and inferior type is obtained from the DeviceType variable
deviceName DeviceName Device name
manufacturer Manufacturer Trade name
manufacturerURL ManufacturerURL The URL of manufacturer (optional)
serialNumber SerialNumber Product ID
deviceID HACN_Address The ID of unique identification equipment in the digital home network (128 unsigned ints), additional " 0,000,000,A00 00000100000000 " (96) form before HACN_Address
deviceOS DeviceOS Operating system on the equipment, optional
deviceSecurityClass Do not have The device security rank
resourceController Do not have Value always is NO
validateInterval Do not have Declare effective time, describe the cycle of this equipment issue announcement message
serviceList Service list
Service_List ServiceType COS
serviceName ServiceName Service name (being the variable in the index object of each service)
serviceURL Do not have The URL of service describing
Table 1
Backbone network service describing territory With control subnet corresponding Explanation
Types Definition corresponding to the member variable of each object on the control subnet equipment Type, the type definition of machine-independent and program language
Message Each member variable of each object in the control subnet Message, the abstract definition of the data of transmission.Comprise method parameter (input and output separately) or message document explanation.Each member variable of each object is packaged into message in the control subnet, as the parameter of operation
PortType Operation among the portType is corresponding to the action (Action) in the control subnet Use message message definition partly to come the signature (action name, input and output parameter) of describing method.
Binding Press agreement, binding protocol and the data format specifications of the service describing standard of backbone network Binding is for the operation and the message of portType definition are specified concrete agreement and data format specifications
Service Press the agreement of the service describing standard of backbone network, the port of specified services and binding thereof; Wherein<and serviceName〉ServiceName variable from index object obtains;<port〉corresponding with ActionName Serve, specify the port address of each binding
Table 2
Wherein,<types〉comprise again<element name in the territory and<element type 〉, this element term and element type are determined by the definition of foundation class in the control subnet device description, need obtain the index object in each service, obtain the type information of all the other objects from this object.Just can create<element by the variable information of defined each foundation class of control subnet device description then, the territory.
At<types〉in<element〉after the territory generates,<message〉territory just can generate each member variable in the encapsulated object automatically according to the service describing of backbone network.
<portType〉in the territory<operation〉action (Action) that allows to apply according to member variable in each object generates; Control subnet device description normalized definition the variable of every kind of data type allow the operation that applies, these operations can be used to generation<operation〉territory.
<binding 〉,<service〉all generate according to the service describing standard of backbone network.
Based on above-mentioned corresponding relation, in the layoutprocedure of control subnet equipment, equipment obtains configuration information from control gateway on the one hand, as home control network address (HACN) etc.; Control gateway is obtained device descriptive information from each control subnet equipment on the other hand, and generates the language description document that meets backbone network device description standard according to these information, as XML document.The descriptor of control subnet equipment all is stored on the control gateway, and control gateway can be passed through object control language (OCL) access node controlling object, obtains structure XML document information needed.
When controlling subnet equipment when backbone network is registered, the description transfer process of equipment room comprises the steps: at least
1) at first, control gateway is obtained all descriptors of this device node by the destination device node that object control language visit backbone network equipment will call, and comprises device descriptive information and service description information.
2) then, control gateway generates device description document and service description document on the control subnet respectively according to the equipment and the service description information of the destination node that is obtained.
3) control gateway is according to predefined, the control subnet equipment descriptor mapping relations table to backbone network equipment, with the content of each description entry in control subnet device description and the service describing one to one assignment give each description entry of backbone network equipment, and generate backbone network device description document and service description document according to this descriptor.
So, backbone network equipment just can generate control commands corresponding according to required operation, directly control subnet equipment is operated according to the mutual operation method of backbone network equipment, that is to say, with backbone network equipment to control subnet equipment call and control transformation becomes interoperability between the backbone network equipment.
Give an example, when backbone network equipment was wanted television set on the access control subnet, control gateway was at first obtained all descriptors of this television set, comprises such as facility information:
Device type (DeviceType) is host type=black household appliances class, inferior type=television set;
Device name (DeviceName)=25 cun pure flat color television set;
Trade name (Manufacturer)=association;
The URL of manufacturer (ManufacturerURL)= Http:// www.legend.com
Product ID (SerialNumber)=DH01000850;
HACN address (HACN_Address)=0x0002003E;
Device operating system (DeviceOS)=nothing;
Service list
Service 1:
COS (ServiceType) is host type=control automatically, inferior type=audio/video control;
Service name (ServiceName)=volume control;
Service 2:
COS (ServiceType) is host type=control automatically, inferior type=audio/video control;
Service name (ServiceName)=channel control.
Obtain after the above-mentioned information, control gateway generates corresponding XML language description with this information; Then, according to table 1, the predefined corresponding relation of table 2, be the backbone network device description with all devices information translation of control gateway, this facility information comprises:
Device type (deviceType) is host type=black household appliances class, inferior type=television set;
Device name (deviceName)=25 cun pure flat color television set;
Trade name (manufacturer)=association;
The URL of manufacturer (manufacturerURL)= Http:// www.legend.com
Product ID (serialNumber)=DH01000850;
Device identification (deviceID)=0x00000007000000010000000000000001;
Device operating system (DeviceOS)=No;
Equipment security classification (deviceSecurityClass)
Authentication type (AuthenticationType)=1;
Transmission security type (TransportSecurityType)=1;
Access rights type (AuthorityType)=2;
Resource control (resourceController)=No;
Declare effective time (validateInterval)=40;
Service list
Service 1:
COS (ServiceType) is host type=control automatically, inferior type=audio/video control;
Service name (ServiceName)=volume control;
Service 2:
COS (ServiceType) is host type=control automatically, inferior type=audio/video control;
Service name (ServiceName)=channel control.
Based on this, backbone network equipment can be by backbone network equipment mutual operation method, and the generating run order is directly controlled and visited the target device on the control subnet.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (5)

1, the conversion method of different sub-network descriptors between devices in a kind of home network, the control that is used for home network neutron internetwork device with call, it is characterized in that, connection gateway between subnet is provided with the descriptor mapping relations table of the second subnet device descriptive information to the first subnet device descriptive information, and this method is further comprising the steps of:
A. the connection gateway between subnet is visited the destination device node that the first subnet equipment will call by the object control language, obtains all descriptors of this device node;
B. this connection gateway generates device description document and service description document on second subnet respectively according to the equipment and the service description information of the destination node that is obtained;
C. connect gateway according to predefined descriptor mapping relations table, all descriptors of the second subnet equipment are converted to the descriptor of the first subnet equipment one by one, generate first subnet device description document and the service description document.
2, method according to claim 1 is characterized in that this method further comprises: set descriptor mapping relations table is stored in being connected in the gateway between first subnet and second subnet.
3, method according to claim 1 is characterized in that: the descriptor of described equipment further comprises device descriptive information and service description information.
4, method according to claim 3 is characterized in that: the conversion of described device description be with each corresponding in second subnet device description member variable content one by one assignment give each territory of the first subnet device description.
5, method according to claim 3 is characterized in that: the conversion of described service describing be description normative content that member variable corresponding in the second subnet service describing or first subnet are made an appointment successively assignment give each territory of the first subnet service describing.
CNB021306826A 2002-09-18 2002-09-18 Method for converting descriptors between devices on different sub network of household network Expired - Fee Related CN1181649C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021306826A CN1181649C (en) 2002-09-18 2002-09-18 Method for converting descriptors between devices on different sub network of household network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021306826A CN1181649C (en) 2002-09-18 2002-09-18 Method for converting descriptors between devices on different sub network of household network

Publications (2)

Publication Number Publication Date
CN1481115A CN1481115A (en) 2004-03-10
CN1181649C true CN1181649C (en) 2004-12-22

Family

ID=34144566

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021306826A Expired - Fee Related CN1181649C (en) 2002-09-18 2002-09-18 Method for converting descriptors between devices on different sub network of household network

Country Status (1)

Country Link
CN (1) CN1181649C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4451378B2 (en) * 2005-11-08 2010-04-14 株式会社日立製作所 Device setting information notification method and device
CN100502369C (en) * 2006-07-25 2009-06-17 中山大学 Device and method for digital household network media format transcoding
CN101572603B (en) * 2008-04-30 2012-05-30 国际商业机器公司 System and method for unified access control for composition service in distributed environment
US9043409B2 (en) 2009-06-11 2015-05-26 Qualcomm Incorporated Methods and apparatus for a plug-in model for publishing structured meta-data based discovery
CN103825786A (en) * 2012-11-19 2014-05-28 中兴通讯股份有限公司 Method, device and system for realizing remote control on the basis of WYSIWYG technology
CN104935485A (en) * 2015-05-28 2015-09-23 北京海尔广科数字技术有限公司 Appliance service calling method, appliance service calling request forwarding method and apparatus
CN115314329A (en) * 2022-06-30 2022-11-08 青岛海尔科技有限公司 Attribute value conversion method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN1481115A (en) 2004-03-10

Similar Documents

Publication Publication Date Title
CN107247597B (en) Abstract representation method of device object for providing uniform abstract representation for intelligent device
CN1213567C (en) Concentrated network equipment managing method
CN101521615B (en) Communication method for different networks and internetwork for smart machine
US20030169728A1 (en) Apparatus for controlling devices in a sub-network of a home-network and a method thereof
CN101030980A (en) Wide-band terminal identifier based on Ethernet and its identifying method
CN1866855A (en) System for tele-managing local network device and realization method
CN1742473A (en) Common protocol layer architecture and methods for transmitting data between different network protocols and a common protocol packet
CN1523828A (en) Control point server system and method for admission of effective access for household network devices
CN1438791A (en) Network device and control method thereof
CN101645857B (en) Universal gateway architecture for interconnecting family network and external network
CN1181649C (en) Method for converting descriptors between devices on different sub network of household network
CN1466064A (en) Method for discovering equipment in dynamic network combination of family network
CN1863131A (en) Service apparatus exchange network and exchange method
US7693972B2 (en) Directory service in an automation system
CN104519077A (en) Multimedia sharing method, registration method, server and proxy server
CN1437358A (en) Relay management method of network equipment based on Telnet protocol
Preuß et al. Overview of spontaneous networking-evolving concepts and technologies
CN1172495C (en) Method for realizing interconnection between devices by using door gateway and its realizing equipment
CN1638358A (en) Method and system for unified session control of multiple management servers on network appliances
CN1160910C (en) Method for searching serivice in realizing dynamic network connection and sharing recource in home network
CN1160639C (en) Method for realizing resource share of dynamic group net
CN101621528B (en) Conversation system based on Ethernet switch cluster management and method for realizing conversation passage
CN1705306A (en) A protocol automatic adapting method and apparatus
CN1801739A (en) Information service hierarchy inheritance relation realizing method in network management interface
CN1913462A (en) Network equipment control system and method based on auto-set IP

Legal Events

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

Granted publication date: 20041222

Termination date: 20200918