CN1185832C - Method for device to register service in household network - Google Patents

Method for device to register service in household network Download PDF

Info

Publication number
CN1185832C
CN1185832C CNB02129657XA CN02129657A CN1185832C CN 1185832 C CN1185832 C CN 1185832C CN B02129657X A CNB02129657X A CN B02129657XA CN 02129657 A CN02129657 A CN 02129657A CN 1185832 C CN1185832 C CN 1185832C
Authority
CN
China
Prior art keywords
service
message
registration
equipment
management device
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
CNB02129657XA
Other languages
Chinese (zh)
Other versions
CN1481114A (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 CNB02129657XA priority Critical patent/CN1185832C/en
Publication of CN1481114A publication Critical patent/CN1481114A/en
Application granted granted Critical
Publication of CN1185832C publication Critical patent/CN1185832C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a device service registration method in a family network, the key points are when a service state of a service providing device changes, the service providing device sends a service registration request message to a resource management device; after the resource management device accomplishes corresponding processing operation based on the service registration request type, the resource management device sends a service registration response message back to the service providing device. The method can realize uniform management and dispatching of all services in the family network and further realize resource sharing between network devices.

Description

The method of device to register service in home network
Technical field
The present invention relates to the service registry technology in the network, refer to especially a kind of in home network the method for device to register service.
Background of invention
Raising along with people's living standard, equipment such as the information equipment in the home-ranges, communication apparatus, amusement equipment, household electrical appliance, automation equipment, guard monitor device increase gradually, simultaneously, because the rapid progress of the flourish and smart machine of personal computer and internet popularizing rapidly in the family, telecom technology, home network is subjected to extensive concern day by day, and people also more show strong for demand simple, flexible and home network reliably.So, proposed much such as: Smart Home (Smart Home), electronic family (Electronic Home, e-Home), the home network notion of digital home (DigitalFamily), network home (Network Home), intelligent family (Intelligent Home).Concretely, home network (Home network) is actual to comprise four layers of implication: 1. the information equipment in the family, communication apparatus, amusement equipment, household electrical appliance, automation equipment, guard monitor device etc. interconnect, resource-sharing, form the home intelligence network system; 2. by gateway and community, Internet connection, realize information exchange with family's external environment condition; 3. the network of the equipment of family and connection thereof should satisfy the primary demand of people's safety, convenience, comfortable, healthy and environmental protection, for people provide body and mind joyful experience; 4. embody the theory that people-oriented, be easy to use, safe and reliable, maintain easily, price is suitable, satisfies the characteristics of life at home.
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 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.The core concept of this digital home network is exactly: make housed device interconnection and interflow, resource-sharing on the home network.In this domestic network system, door gateway, control gateway and server can be referred to as asset management device, are used for network resource administration.
Based on above-mentioned network configuration, interconnection and resource-sharing between the network equipment are achieved in that
When certain device A application inserted home network, this device A was searched asset management device earlier in home network, promptly send out register requirement to asset management device after finding; After the asset management device permission, on the basis of safety certification, establish a connection between this device A and the asset management device; After the successful connection, the asset management device of this device A in network carries out facility registration, the facility information that is about to self is issued asset management device, then, device A again with the service registry that self can provide in asset management device, asset management device is stored all facility registration information and service log-on message, so that search.
When two equipment that have been connected in the home network will communicate, initiatively initiate apparatus operating A and send out the equipment search request to asset management device earlier, in the facility registration information of self storing, search whether suitable device is arranged by asset management device, if have, then corresponding information is issued device A, send out request by device A to equipment B, after obtaining permitting, device A is carried out service call to equipment B.After current operation is finished, connect with regard to automatic disconnection between two equipment.
When the equipment deviated from network, this equipment will carry out equipment and nullify operation, and the relevant information from asset management device deletion self comprises facility information and information on services.
In the aforesaid operations process, asset management device may exist or not exist, if there is not asset management device, through after the mutual search procedure, auto-negotiation forms the equity connection and communicates between the equipment.When asset management device was arranged, asset management device can regularly carry out the equipment declaration, promptly declared the facility information of self to miscellaneous equipment; Other non-resource management equipment also can be carried out the equipment declaration under different situations.
The core concept of home network makes exactly between the housed device and interconnects, resource-sharing, and interconnection and interflow is the basis of resource-sharing, and resource-sharing is the purpose that interconnects.In fact so-called resource-sharing is exactly: the various services that allow all devices provide can shared each other.So, want to realize the resource-sharing of equipment room, just need manage concentratedly various services that the number of service is many more, this demand is just obvious more.Therefore, each equipment must be with the service registry that self can provide to asset management device, and so, asset management device could carry out unified inquiry, scheduling and management to all Service Sources in the network, and this is to realize managing concentratedly a very important step.By service registry, the information of each service will be kept in the database of asset management device, thereby for sharing the condition of having created.
Summary of the invention
Therefore, main purpose of the present invention be to provide a kind of in home network the method for device to register service, make all services on the home network can realize unified management and scheduling, and then realize the resource-sharing between the network equipment.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of in home network the method for device to register service, be used for comprising the home network of asset management device and at least one service providing device, this method may further comprise the steps:
A. when the service state of service providing device changed, service providing device sent the service registry request message that carries the registration message type to asset management device;
B. the registration message type in the service registry request message is received in the asset management device judgement, if the registration message type is service registry, then enters step c, if being service state, the registration message type upgrades, then enter steps d,, then enter step e if the registration message type is nullified for service;
C. asset management device is judged the whether maximum of overshoot of registered service number, if do not have, then asset management device is created new registration entries in the service registry information list of self, and will initiate requested service and provide the information on services of equipment to be stored in the registration entries of being created, providing equipment to return registering result to the initiation requested service then is the service registry response message that succeeds in registration, and finishes current flow process; Otherwise asset management device provides equipment to return the service registry response message that registering result transfinites for the registration service number to initiating requested service, and finishes current flow process;
D. asset management device searches whether corresponding log-on message is arranged earlier in the service registry information list of self, if have, then according to the service status information that changes of indicating in the message, respective service state information in the tabulation of update service log-on message, providing equipment to return registering result to the initiation requested service then is the service registry response message that succeeds in registration, and finishes current flow process; Otherwise it is the unregistered service registry response message of equipment that asset management device provides equipment to return registering result to the initiation requested service, and finishes current flow process;
E. asset management device searches whether corresponding log-on message is arranged earlier in the service registry information list of self, if have, then delete all log-on messages of corresponding registration service, providing equipment to return registering result to the initiation requested service then is the service registry response message that succeeds in registration, and finishes current flow process; Otherwise it is the unregistered service registry response message of equipment that asset management device provides equipment to return registering result to the initiation requested service, and finishes current flow process.
In the such scheme, set described service registry request message and comprise: the equipment of type of message, message SN, recipient's equipment and service identifiers and transmit leg and service identifiers, registration message type, the device id that will register and service ID, the COS that will register and title, want the level of security of registration service.Setting described service registry response message comprises at least: the equipment of type of message, message SN, recipient's equipment and service identifiers and transmit leg and service identifiers and registering result.
As seen, provided by the present invention in home network the method for device to register service, can allow all be connected service providing device on the home network when the service that it provided changes, in time notify asset management device, make asset management device carry out unified management and allotment to all current Service Sources of home network, realize centralized resource management, and then guarantee the resource-sharing between the home network device.
Description of drawings
The domestic network system structural representation that Fig. 1 adopts for the present invention;
Fig. 2 is the service registry process schematic diagram of present device;
Fig. 3 is the service state renewal process schematic diagram of present device;
Fig. 4 is the service log off procedure schematic diagram of present device.
Embodiment
In fact, the service registry of equipment comprises three kinds of situations: the service registry when equipment newly inserts home network, the service registry renewal when equipment state changes, equipment withdraw from home network or the service that maybe can not provide when serving are provided nullify.From the angle that service state changes, be equivalent to newly-increased service during the new access network of equipment; The device service state is equivalent to update service when changing; Equipment is equivalent to the deletion service when stopping service or deviated from network.The type of these three kinds of service registrys and define as shown in table 1:
RegisterResult Implication
REGISTER Service registry
DEREGISTER Service is nullified
REFRESH Service state is upgraded
Table 1
Under above-mentioned three kinds of situations, require the equipment of registration service can send out facility registration message to asset management device, after handling, asset management device returns corresponding response message, the type information that will comprise the service registry result in this response message, so, service registry result type and define as shown in table 2:
RegisterResult Implication
ACCESSDENIED Equipment is unregistered
SUCCESS Succeed in registration
OVERLOAD The registration service number transfinites
Table 2
Be specifically described below in conjunction with the service registry process of accompanying drawing these three kinds of situations:
A service providing device successfully inserts after the home network, the information on services of self should be registered on the asset management device of home network.Because during equipment success access network, facility registration is finished, at this moment, asset management device can and this access device between form a kind of master slave relation, that is: asset management device is a main equipment, and all service providing device of registering on asset management device are slave unit.Concrete service registry process when as shown in Figure 2, service providing device newly inserts home network may further comprise the steps:
1) to send registration type to asset management device be the service registry request message of service registry (REGISTER) to the service providing device that newly inserts home network, the relevant information that contains the service of current registration in this message, beginning service registry process, service providing device is initiated a service registry process to each service that self provided.
2) when asset management device is received login request message, after the necessary security authentication, asset management device will be created new registration entries in the service registry information list of self, the related service information of the current registration of this equipment is put into this registration entries, be stored in the service registry information list, then registering result returned to the registration initiator by the service registry response message.If the service number registered on asset management device has exceeded the maximum of regulation, the result type of Chu Liing is registration service number transfinite (OVERLOAD) so.
When the service state on the service providing device changed, as shown in Figure 3, its service registry process may further comprise the steps at least:
1) service providing device sends the service registry request message that registration type is state renewal (REFRESH) to asset management device, and indicates the service status information that changes in service describing.
2) after asset management device is received the service registry request message of REFRESH type, does searching in the service registry information list of self have corresponding log-on message to exist? if have, then upgrade the corresponding service status information of storing in self service registry information list immediately, will handle then whether successful object information returns to the registration initiator; Otherwise asset management device returns the message that result is equipment unregistered (ACCESSDENIED) to the registration initiator.
When the service on the service providing device is closed, maybe can not be continued when miscellaneous equipment provides service or this service providing device to leave home network, as shown in Figure 4, its service registry process is achieved in that specifically service providing device can send registration type is nullified (DERGISTER) for service service registry request message to asset management device; Receive the login request message of DEREGISTER type when asset management device after, does promptly searching in self service registry information list have corresponding log-on message to exist? if have, then the information on services of correspondence is deleted from the service registry information list, will be handled then whether successful object information returns to the registration initiator; Otherwise if do not find corresponding log-on message, then asset management device returns the message that result is ACCESSDENIED to the registration initiator.
As seen, when the service state of each service providing device changed, service providing device all can in time be notified asset management device with current service state, promptly finishes the service registry process one time.In the implementation procedure of every kind of service registry, be mainly concerned with service registry request and response message.The message format of this service registry request and service registry response is respectively shown in table 3 and table 4.Wherein, table 3 is the concrete format description of service registry request message, comprises the span of field name, field contents, field type and this field; Table 4 is the concrete format description of service registry response message, also comprises the span of field name, field contents, field type and this field.
Field name Content Type Span
Type of message The type of message Character string Be fixed as: ServiceRegisterRequest
Message SN The sequence number of message Signless integer 0 to 0xFFFFFFFF
Target device ID The device id of message receiver Character string The character string of 32 byte longs
Objective function ID The service ID of message receiver Character string The character string of 8 byte longs
Source device ID The device id of message sender Character string The character string of 32 byte longs
The source service ID The service ID of message sender Character string The character string of 8 byte longs
The registration message type Indicate the action of registration message correspondence. Character string Be necessary for a kind of in following three character strings: 1. " REGISTER ", service registry 2. " DEREGISTER ", 3. " REFRESH " are nullified in service, and service state refreshes
Device id The ID of service place equipment Character string The character string of 32 byte longs
Service ID The ID of the service of registering Character string The character string of 8 byte longs
COS The type of the service of registering Signless integer 0 to 0xFFFFFFFF
Service name The title of the service of registering Character string Maximum length is the character string of 256 bytes
The service safe rank The level of security of the service of registering Character string Be necessary in following two character strings: 1. " Public ", openly serve 2. " Private ", privately owned service
Table 3
Field name Content Type Span
Type of message The type of message Character string Be fixed as: ServiceRegisterResponse
Message SN The sequence number of message Signless integer 0 to 0xFFFFFFFF
Target device ID The device id of message receiver Character string The character string of 32 byte longs
Objective function ID The service ID of message receiver Character string The character string of 8 byte longs
Source device ID The device id of message sender Character string The character string of 32 byte longs
The source service ID The service ID of message sender Character string The character string of 8 byte longs
Registering result Result to registration initiator feedback Character string Be necessary in following three character strings: 1. " ACCESSDENIED ", unregistered 2. " SUCCESS " of equipment, 3. " OVERLOAD " that succeed in registration, the registration service number transfinites
Table 4
As can be seen, preceding 6 fields of each message are the same from table 3, table 4, that is: first field is a type of message; Second field is the sequence number of message, and this sequence number is used for the corresponding of the re-transmission of message and response message and request message; The the 3rd to the 64 field is used for indicating the transmit leg of message and the recipient of message.
In actual applications, service registry request message and service registration reply message can adopt the XML language to realize.In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (3)

1, a kind of in home network the method for device to register service, be used for comprising the home network of asset management device and at least one service providing device it is characterized in that this method may further comprise the steps:
A. when the service state of service providing device changed, service providing device sent the service registry request message that carries the registration message type to asset management device;
B. the registration message type in the service registry request message is received in the asset management device judgement, if the registration message type is service registry, then enters step c, if being service state, the registration message type upgrades, then enter steps d,, then enter step e if the registration message type is nullified for service;
C. asset management device is judged the whether maximum of overshoot of registered service number, if do not have, then asset management device is created new registration entries in the service registry information list of self, and will initiate requested service and provide the information on services of equipment to be stored in the registration entries of being created, providing equipment to return registering result to the initiation requested service then is the service registry response message that succeeds in registration, and finishes current flow process; Otherwise asset management device provides equipment to return the service registry response message that registering result transfinites for the registration service number to initiating requested service, and finishes current flow process;
D. asset management device searches whether corresponding log-on message is arranged earlier in the service registry information list of self, if have, then according to the service status information that changes of indicating in the message, respective service state information in the tabulation of update service log-on message, providing equipment to return registering result to the initiation requested service then is the service registry response message that succeeds in registration, and finishes current flow process; Otherwise it is the unregistered service registry response message of equipment that asset management device provides equipment to return registering result to the initiation requested service, and finishes current flow process;
E. asset management device searches whether corresponding log-on message is arranged earlier in the service registry information list of self, if have, then delete all log-on messages of corresponding registration service, providing equipment to return registering result to the initiation requested service then is the service registry response message that succeeds in registration, and finishes current flow process; Otherwise it is the unregistered service registry response message of equipment that asset management device provides equipment to return registering result to the initiation requested service, and finishes current flow process.
2, method according to claim 1 is characterized in that: set the service registry request message and comprise: the equipment of type of message, message SN, recipient's equipment and service identifiers and transmit leg and service identifiers, registration message type, the device id that will register and service ID, the COS of wanting registration service and service name, want the level of security of registration service.
3, method according to claim 1 is characterized in that: set the service registry response message and comprise at least: the equipment of type of message, message SN, recipient's equipment and service identifiers and transmit leg and service identifiers and registering result.
CNB02129657XA 2002-09-06 2002-09-06 Method for device to register service in household network Expired - Fee Related CN1185832C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB02129657XA CN1185832C (en) 2002-09-06 2002-09-06 Method for device to register service in household network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB02129657XA CN1185832C (en) 2002-09-06 2002-09-06 Method for device to register service in household network

Publications (2)

Publication Number Publication Date
CN1481114A CN1481114A (en) 2004-03-10
CN1185832C true CN1185832C (en) 2005-01-19

Family

ID=34144249

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB02129657XA Expired - Fee Related CN1185832C (en) 2002-09-06 2002-09-06 Method for device to register service in household network

Country Status (1)

Country Link
CN (1) CN1185832C (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100502305C (en) * 2005-12-22 2009-06-17 中山大学 Management system and management method of household network equipment
CN102055596B (en) * 2009-11-09 2013-12-11 Tcl集团股份有限公司 Method and system for registering started intelligent home equipment
CN105227328B (en) * 2014-05-29 2019-07-05 青岛海尔智能家电科技有限公司 A kind of point-to-point services update method and equipment
US10757197B2 (en) * 2014-07-18 2020-08-25 Microsoft Technology Licensing, Llc Self-extending cloud
CN104869163A (en) * 2015-05-26 2015-08-26 湖南傻蛋科技有限公司 Dynamic service call method based on agent under cluster environment
CN108306796B (en) * 2018-01-26 2021-01-19 青岛海信智慧家居系统股份有限公司 Intelligent home system, and information processing method and device of intelligent home equipment
CN108900569A (en) * 2018-05-29 2018-11-27 张迅 Service providing end equipment and service providing method
CN109767533B (en) * 2019-01-14 2021-02-19 深圳前海微众银行股份有限公司 Automatic registration method and device for shopping cart electronic lock, gateway equipment and medium
CN110505357B (en) * 2019-09-06 2021-04-02 上海航天测控通信研究所 Management method of aerospace VOIP voice terminal
CN112181501B (en) * 2020-09-02 2024-02-23 中国银联股份有限公司 Service framework of application, service control method, device and computer readable storage medium

Also Published As

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

Similar Documents

Publication Publication Date Title
CN1181648C (en) Method for automatic searching between devices on network
CN108768948B (en) Access right management method, server and computer readable storage medium
CN1185832C (en) Method for device to register service in household network
CN104935583A (en) Cloud service platform, information processing method, and data processing system
CN1543163A (en) Method for creating a peer-to-peer home network using common group label
CN1505362A (en) Method for communication between nodes in peer-to-peer networks using common group label
CN1692616A (en) Network traffic control in peer-to-peer environments
CN1281611A (en) Communication network
RU2008103500A (en) STRUCTURE AND METHODOLOGY OF THE PEER-MANAGED GROUP MANAGEMENT
CN1558606A (en) Network terminal automatic configuration method
CN101873343A (en) Internet of things networking method and system thereof
CN107656981A (en) A kind of data sharing and management method and system based on identification technology
CN101729541B (en) Method and system for accessing resources of multi-service platform
CN108848159A (en) A kind of internet of things equipment interoperability dispatching method
RU2735577C1 (en) Method and system of information exchange
CN109412878A (en) Multi-tenant service access implementation method, device and electronic equipment
CN102571776A (en) Access control method and access control device of digital living network alliance (DLNA) equipment
CN102448057A (en) Internet of Things system and networking method thereof
CN1423463A (en) Content transmitting system
KR100706769B1 (en) Method to invoke service among devices in home network
CN101087263B (en) A method and system for capturing user status information via search engine
JP4408002B2 (en) Network management system
CN116095081A (en) Event processing method and device based on block chain system, equipment and medium
CN1627759A (en) Digital management system and method of managing access right in such system
KR101592860B1 (en) Distributed storage system using Internet of Things Device and operating method thereof

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

Granted publication date: 20050119

Termination date: 20200906

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