摘要:
The invention relates to a device connecting method when implementing dynamic networking in a home network which is used to manage a peer-to-peer device in a network without a resource management device. The device connecting method includes the steps of: sending a device connecting request from a connection initiating device to a connection target device; generating a connection challenge value randomly by the connection target device and sending it to the connection initiating device; generating a connection reply value according to the connection challenge value by the connection initiating device and sending it to the connection target device; sending a connection response message from the connection target device to the connection initiating device according to the connection reply value; and judging a result of connection according to the connection response message, by the connection initiating device, when the connection response message represents successful, establishing a peer-to-peer connection between the connection initiating device and the connection target device. A connection disconnecting method includes the steps of: if one of devices having a peer-to-peer connection relation sends a connection disconnecting message to the other, then the connection being able to be disconnected. The initiating and target devices can be a service providing device and a service utilizing device one another.
摘要:
This invention discloses a method of calling service among devices in home network, comprising following steps: a service calling party obtains a service handle of the called service by using the characterized information of the service, sends a service calling request information to a called party by using the obtained called service handle; the protocol stack of the called party determines whether or not the called service exists based on the service handle of the called service contained in the request information and whether or not the called service has established a renting relationship with the service calling party after receiving the request information, if not, the flow will be ended; if it is, the called party sends service call response message containing service call result to the service calling party; after receiving the service call response message, the protocol stack of the service calling patty determines whether or not the service exist based on the service handle of the called service included in the response message, and whether or not the calling service has established a renting relationship with the called party, if it is, the service calling party and the called party start the actual interacting processing of the service call; otherwise, the flow is ended. This method allows each of devices in the home network to share resources and ensure the reliability of the service call.
摘要:
The invention discloses a method of searching for devices automatically in a network. The method including the steps of: when two devices are interconnected, firstly searching, by a device initiating party, whether a resource management device exists in the network, if so, then sending a device searching request from the device initiating party to the resource management device, upon receiving the request, making a search, by the resource management device, among device registration information stored therein, after a device satisfying conditions is found out, information related to that device being immediately sent to the device initiating party, otherwise, informing the device initiating party that the information is not found; if not, announcing its own device information, by the device initiating party, to all other devices in the network, at the same time, monitoring announcement information of all the other devices, when receiving information of other devices, sending a connection request from the device initiating party to a device requiring connection, and completing corresponding operations after receiving a response. The method makes automatic searching and connecting with respect to each other among devices possible so as to facilitate the user's operation and improve automatic and intelligent performance of the network.
摘要:
This invention discloses a method of calling service among devices in home network, comprising following steps: a service calling party obtains a service handle of the called service by using the characterized information of the service, sends a service calling request information to a called party by using the obtained called service handle; the protocol stack of the called party determines whether or not the called service exists based on the service handle of the called service contained in the request information and whether or not the called service has established a renting relationship with the service calling party after receiving the request information, if not, the flow will be ended; if it is, the called party sends service call response message containing service call result to the service calling party; after receiving the service call response message, the protocol stack of the service calling patty determines whether or not the service exist based on the service handle of the called service included in the response message, and whether or not the calling service has established a renting relationship with the called party, if it is, the service calling party and the called party start the actual interacting processing of the service call; otherwise, the flow is ended. This method allows each of devices in the home network to share resources and ensure the reliability of the service call.
摘要:
The invention relates to a method allowing dynamically networking among a plurality of devices to share resource. It includes: installing a software of dynamic networking and resource sharing on each of devices to realize dynamic networking and resource sharing. These devices periodically announce information with multicasting. A device serves as node control device, and announces the message of the existence of the device through multicasting, creates a node. A device can find the node by monitoring announcement message from the node. The device which requests to join into the node device registers its service information that can be provided by the device to the node control device. The device which has joined into the node finds the device providing service by indexing the nodal control device, and obtains desired service from the device by sending a service calling information. The method is applied to home backbone network for performing networking in home network. Then a topology connection structure with master/slave and peer-to-peer modes can be realized. The dynamic networking and resource sharing between the service providing device and the service utilizing device in the home backbone network can be realized.