Method and device for generating shadow device and storage medium

文档序号:54971 发布日期:2021-09-28 浏览:21次 中文

阅读说明:本技术 一种影子设备的生成方法、设备及存储介质 (Method and device for generating shadow device and storage medium ) 是由 张军 于 2019-07-24 设计创作,主要内容包括:本发明公开了一种影子设备的生成方法,包括:云端代理设备接收第一请求消息;所述云端代理设备基于所述第一请求消息,生成服务端设备的第一影子设备。云服务器接收第二请求消息;所述云服务器基于所述第二请求消息,为服务端设备的第一影子设备生成第二影子设备。本发明还公开了另一种影子设备的生成方法、设备及存储介质。(The invention discloses a method for generating shadow equipment, which comprises the following steps: the cloud agent equipment receives a first request message; and the cloud proxy equipment generates first shadow equipment of the server equipment based on the first request message. The cloud server receives a second request message; and the cloud server generates a second shadow device for the first shadow device of the server device based on the second request message. The invention also discloses another generation method, equipment and storage medium of the shadow equipment.)

A method for generating a shadow device, the method comprising:

the cloud agent equipment receives a first request message;

and the cloud proxy equipment generates first shadow equipment of the server equipment based on the first request message.

The method of claim 1, wherein the first request message is sent by a configurator to the cloud proxy device.

The method according to claim 1 or 2, wherein the method further comprises:

the cloud proxy equipment receives shadow service information of the cloud proxy equipment sent by a configurator.

The method of claim 3, wherein the shadow service information of the cloud proxy device comprises at least one of:

and the identifier of the shadow service on the cloud proxy equipment and the endpoint of the shadow service.

The method of claim 3 or 4, wherein the shadow service information of the cloud proxy device comprises:

the original resource link to the cloud proxy device needs to be copied.

The method of claim 1, wherein the first request message is sent by the server device to the cloud proxy device.

The method of any of claims 1 to 6, wherein the first request message comprises at least one of:

the original resource link of the server-side equipment and the endpoint of the server-side equipment.

The method according to any one of claims 1 to 7, wherein the first request message includes first indication information, and the first indication information is used for indicating that the server-side device does not have the capability of directly accessing a cloud server.

The method of any of claims 1 to 8, wherein the uniform resource identifier of the replicated resource of the first shadow device comprises a device identification of the server device.

The method of any one of claims 1 to 9, wherein the description information of the first shadow device includes second indication information indicating that the first shadow device does not have a capability of directly accessing a cloud server.

The method of any one of claims 1 to 10, wherein the method further comprises:

and the cloud proxy equipment issues the copied resource link of the first shadow equipment to a resource discovery directory of the cloud proxy equipment.

The method of any one of claims 1 to 11, wherein the method further comprises:

the cloud proxy equipment sends a first request response message;

the first request response message includes: a resource link of the first shadow device.

The method of claim 12, wherein the resource link of the first shadow device comprises at least one of: an identification of the first shadow device and an endpoint of the first shadow device.

The method of claim 12 or 13, wherein the first request response message further includes third indication information indicating that the first shadow device does not have a capability of directly accessing a cloud server.

The method of any of claims 12 to 14, wherein the first request response message is sent to a configurator.

The method according to any one of claims 12 to 14, wherein the first request response message is sent to the server device.

The method of any of claims 1, 6-14, and 16, wherein the method further comprises:

the cloud proxy device sends a second request message to a cloud server, wherein the second request message is used for requesting the cloud server to generate a second shadow device for the first shadow device.

The method of claim 17, wherein the second request message comprises at least one of:

a shadow synchronization resource of the first shadow device, a replicated resource link of the first shadow device, and an endpoint of the first shadow device.

The method according to claim 17 or 18, wherein the second request message includes fourth indication information indicating that the server device does not have a capability of directly accessing a cloud server.

The method of any of claims 17 to 19, wherein the method further comprises:

the cloud proxy equipment receives a second request response message sent by the cloud server;

the second request response message includes: a resource link of the second shadow device.

The method of claim 20, wherein the resource link of the second shadow device comprises at least one of: an identification of the second shadow device and an endpoint of the second shadow device.

The method of claim 20 or 21, wherein the second request response message further includes fifth indication information indicating that the second shadow device does not have the capability to directly access a cloud server.

The method of any of claims 20 to 22, wherein the method further comprises:

the cloud proxy device associates the first shadow device and the second shadow device.

The method of claim 23, wherein the cloud proxy device associating the first shadow device and the second shadow device comprises:

the cloud proxy device configures at least one of the following items for itself: the identifier of the second shadow device, the endpoint of the second shadow device, the shadow synchronization resource of the second shadow device, and the shadow service identifier of the cloud server.

The method of claim 23, wherein the cloud proxy device associating the first shadow device and the second shadow device comprises:

the cloud proxy equipment receives an update request message aiming at the shadow configuration resource sent by a configurator;

the update request message for the shadow configuration resource includes at least one of: the identifier of the second shadow device, the endpoint of the second shadow device, the shadow synchronization resource of the second shadow device, and the shadow service identifier of the cloud server.

The method of any one of claims 1 to 25, wherein the method further comprises:

the cloud proxy device starts resource synchronization between the first shadow device and the second shadow device and resource synchronization between the first shadow device and the server device.

The method of claim 26, wherein the method further comprises:

and the cloud proxy equipment sends a resource synchronization request to the server equipment.

The method of claim 27, wherein the device identification in the resource synchronization request is a device identification of the first shadow device;

and/or the uniform resource identifier of the resource in the resource synchronization request does not include the equipment identification of the server-side equipment.

The method of any one of claims 1 to 28, wherein the method further comprises:

the cloud proxy equipment receives a first resource discovery request message;

the cloud proxy device sends a first resource discovery request response message, where the first resource discovery request response message includes: and resource linkage of the cloud proxy equipment.

The method of claim 29, wherein the first resource discovery request message indicates a resource type of the cloud proxy device.

The method of claim 29 or 30, wherein the resource link of the cloud proxy device comprises at least one of:

the resource type of the cloud agent device and the endpoint of the resource of the cloud agent device.

The method of any of claims 29 to 31, wherein the first resource discovery request message is sent by a configurator or sent by the server device.

The method according to any one of claims 29 to 32, wherein the first resource discovery request response message is sent to a configurator or to the server device.

The method of any one of claims 1 to 33, wherein the method further comprises:

the cloud proxy equipment receives a request message for acquiring shadow service information;

and the cloud proxy equipment sends a request response message for acquiring the shadow service information.

The method of claim 34, wherein the request response message to obtain shadow service information comprises at least one of:

an identification of the shadow service and an endpoint of the shadow service.

The method of claim 34 or 35, wherein the request message to obtain shadow service information is sent by a configurator or sent by a server device.

The method according to claims 34 to 36, wherein the request response message for obtaining shadow service information is sent to a configurator or to a server device.

A method for generating a shadow device, the method comprising:

the method comprises the steps that server-side equipment sends a first request message to cloud-side proxy equipment, wherein the first request message is used for requesting the cloud-side proxy equipment to generate first shadow equipment of the server-side equipment;

the server side equipment receives a first request response message.

The method of claim 38, wherein the first request message comprises at least one of:

the original resource link of the server-side equipment and the endpoint of the server-side equipment.

The method of claim 38 or 39, wherein the first request message includes first indication information indicating that the server device does not have the capability of directly accessing a cloud server.

The method of any of claims 38 to 40, wherein the uniform resource identifier of the replicated resource of the first shadow device comprises a device identification of the server device.

The method of any of claims 38 to 41, wherein the description information of the first shadow device includes second indication information indicating that the first shadow device does not have a capability to directly access a cloud server.

The method of any one of claims 38 to 42, wherein the method further comprises:

and the server side equipment associates the server side equipment with the first shadow equipment.

The method of claim 43, wherein the server device associating itself with the first shadow device comprises:

the server-side equipment configures resources for the server-side equipment by updating the shadow of the server-side equipment, and configures at least one of the following items for the server-side equipment: the identifier of the first shadow device, the endpoint of the first shadow device, and the shadow synchronization resource of the first shadow device.

The method of any one of claims 38 to 44, wherein the method further comprises:

and the server side equipment starts the resource synchronization between the server side equipment and the first shadow equipment.

The method of claim 45, wherein the method further comprises:

and the server side equipment receives a resource synchronization request sent by the cloud side agent equipment.

The method of claim 46, wherein the device identification in the resource synchronization request is a device identification of the first shadow device;

and/or the uniform resource identifier of the resource in the resource synchronization request does not include the equipment identification of the server-side equipment.

The method of any one of claims 38 to 47, wherein the method further comprises:

the server side equipment sends a first resource discovery request message to the cloud side proxy equipment;

the server device receives a first resource discovery response message sent by the cloud proxy device, where the first resource discovery request response message includes: and resource linkage of the cloud proxy equipment.

The method of claim 48, wherein the first resource discovery request message indicates a resource type of the cloud proxy device.

The method of claim 48 or 49, wherein the resource link of the cloud proxy device comprises at least one of:

the resource type of the cloud agent device and the endpoint of the resource of the cloud agent device.

The method of any one of claims 38 to 50, wherein the method further comprises:

the server side equipment sends a request message for acquiring shadow service information to the cloud proxy equipment;

and the server side equipment receives a request response message for acquiring shadow service information, which is sent by the cloud proxy equipment.

The method of claim 51, wherein the get shadow service information request response message comprises at least one of:

an identification of the shadow service and an endpoint of the shadow service.

A method for generating a shadow device, the method comprising:

the cloud server receives a second request message;

and the cloud server generates a second shadow device for the first shadow device of the server device based on the second request message.

The method of claim 53, wherein the second request message comprises at least one of:

a shadow synchronization resource of the first shadow device, a replicated resource link of the first shadow device, and an endpoint of the first shadow device.

The method of claim 53 or 54, wherein the second request message includes fourth indication information indicating that the server device does not have the capability of directly accessing a cloud server.

The method of claims 53 to 55, wherein the method further comprises:

the cloud server sends a second request response message;

the second request response message includes: a resource link of the second shadow device.

The method of claim 56, wherein the resource link of the second shadow device comprises at least one of: an identification of the second shadow device and an endpoint of the second shadow device.

The method of claim 56 or 57, wherein the second request response message further includes fifth indication information indicating that the second shadow device does not have the capability to directly access a cloud server.

The method of any one of claims 53 to 58, wherein the method further comprises:

the cloud server starts resource synchronization between the second shadow device and the first shadow device.

The method of any one of claims 53 to 59, wherein the second request message is sent by a configurator or the second request message is sent by a cloud proxy device.

The method of any one of claims 56 to 60, wherein the second request response message is sent to a configurator or to a cloud proxy device.

The method of any one of claims 53 to 61, wherein the method further comprises:

the cloud server issues the copied resource link of the second shadow device to a resource discovery directory of the cloud server.

A method for generating a shadow device, the method comprising:

the method comprises the steps that a configurator sends a first request message to cloud proxy equipment, wherein the first request message is used for requesting the cloud proxy equipment to generate first shadow equipment of server-side equipment;

the configurator receives a first request response message.

The method of claim 63, wherein the first request message comprises at least one of:

the original resource link of the server-side equipment and the endpoint of the server-side equipment.

The method of claim 63 or 64, wherein the first request message includes first indication information indicating that the server device does not have the capability of directly accessing a cloud server.

The method of any of claims 63-65, wherein the uniform resource identifier of the replicated resource of the first shadow device includes a device identification of the server device.

The method of any of claims 63 to 66, wherein the description information of the first shadow device includes second indication information indicating that the first shadow device does not have a capability to directly access a cloud server.

The method of any one of claims 63 to 67, wherein the method further comprises:

the configurator sends a second request message to a cloud server, wherein the second request message is used for requesting the cloud server to generate a second shadow device for the first shadow device.

The method of claim 68, wherein the second request message comprises at least one of:

a shadow synchronization resource of the first shadow device, a replicated resource link of the first shadow device, and an endpoint of the first shadow device.

The method of claim 68 or 69, wherein the second request message includes fourth indication information indicating that the server device does not have the capability of directly accessing a cloud server.

The method of any one of claims 68 to 70, wherein the method further comprises:

the configurator receives a second request response message sent by the cloud server;

the second request response message includes: a resource link of the second shadow device.

The method of claim 71, wherein the resource link of the second shadow device comprises at least one of: an identification of the second shadow device and an endpoint of the second shadow device.

The method of claim 71 or 72, wherein the second request response message includes fifth indication information indicating that the second shadow device does not have the capability to directly access a cloud server.

The method of any one of claims 71 to 73, wherein the method further comprises:

the configurator associates the first shadow device and the second shadow device.

The method of claim 74, wherein the configurator associates the first shadow device and the second shadow device, comprising:

the configurator sends an update request message aiming at the shadow configuration resource to the server-side equipment;

the update request message for the shadow configuration resource includes at least one of: the identifier of the second shadow device, the endpoint of the second shadow device, the shadow synchronization resource of the second shadow device, and the shadow service identifier of the cloud server.

The method of any one of claims 63 to 75, wherein the method further comprises:

the configurator configures resource synchronization between the first shadow device and the second shadow device, and resource synchronization between the first shadow device and the server device.

The method of any one of claims 63 to 76, wherein the method further comprises:

the configurator sends a second resource discovery request message to the server-side equipment;

the configurator receives a second resource discovery request response message sent by the server-side device, wherein the second resource discovery response message includes: and resource linkage of the server-side equipment.

The method of claim 77, wherein the second resource discovery request message indicates a resource type of a server device.

The method of claim 77 or 78, wherein the resource link of the server device comprises at least one of:

the resource type of the server device and the endpoint of the resource of the server device.

The method of any one of claims 63 to 79, wherein the method further comprises:

the configurator sends a first resource discovery request message to the cloud proxy equipment;

the configurator receives a first resource discovery request response message sent by the cloud proxy device, wherein the first resource discovery request response message comprises: and resource linkage of the cloud proxy equipment.

The method of claim 80, wherein the first resource discovery request message indicates a resource type of the cloud proxy device.

The method of claim 80 or 81, wherein the resource link of the cloud proxy device comprises at least one of:

the resource type of the cloud agent device and the endpoint of the resource of the cloud agent device.

The method of any one of claims 63 to 82, wherein the method further comprises:

the configurator sends a request message for acquiring shadow service information to the cloud proxy equipment;

and the configurator receives a request response message for acquiring shadow service information, which is sent by the cloud proxy equipment.

The method of claim 83, wherein the request response message to obtain shadow service information comprises at least one of:

an identification of the shadow service and an endpoint of the shadow service.

A cloud proxy device, the cloud proxy device comprising:

a first receiving unit configured to receive a first request message;

and the first processing unit is configured to generate a first shadow device of the server device based on the first request message.

The cloud proxy device of claim 85, wherein the first request message is sent by a configurator to the cloud proxy device.

The cloud proxy device of claim 85 or 86, wherein the first receiving unit is further configured to receive shadow service information of the cloud proxy device sent by a configurator.

The cloud proxy device of claim 87, wherein the shadow service information of the cloud proxy device includes at least one of:

an identification of the shadow service on the cloud proxy device, and an endpoint of the shadow service.

The cloud proxy device of claim 87 or 88, wherein the shadow service information of the cloud proxy device comprises:

the original resource link to the cloud proxy device needs to be copied.

The cloud proxy device of claim 85, wherein the first request message is sent by the server device to the cloud proxy device.

The cloud proxy device of any of claims 85-90, wherein the first request message comprises at least one of:

the original resource link of the server-side equipment and the endpoint of the server-side equipment.

The cloud proxy device of any of claims 85-91, wherein the first request message includes first indication information indicating that the server device does not have the capability to directly access a cloud server.

The cloud proxy device of any of claims 85-92, wherein a uniform resource identifier of the replicated resource of the first shadow device comprises a device identification of the server device.

The cloud proxy device of any of claims 85-93, wherein the description information of the first shadow device includes second indication information indicating that the first shadow device does not have the capability to directly access a cloud server.

The cloud proxy device of any of claims 85-94, wherein the first processing unit is further configured to publish the replicated resource link of the first shadow device to a resource discovery directory of the cloud proxy device.

The cloud proxy device of any of claims 85-95, wherein the cloud proxy device further comprises:

a first transmitting unit configured to transmit a first request response message; the first request response message includes: a resource link of the first shadow device.

The cloud proxy device of claim 96, wherein the resource link of the first shadow device includes at least one of: an identification of the first shadow device and an endpoint of the first shadow device.

The cloud proxy device of claim 96 or 97, wherein the first request response message further includes third indication information indicating that the first shadow device does not have the capability to directly access a cloud server.

The cloud proxy device of any of claims 96-98, wherein the first request response message is sent to a configurator.

The cloud proxy device of any of claims 96-98, wherein the first request response message is sent to the server device.

The cloud proxy device of any one of claims 85, 90-98, and 100, wherein the cloud proxy device further comprises:

a second sending unit, configured to send a second request message to a cloud server, where the second request message is used to request the cloud server to generate a second shadow device for the first shadow device.

The cloud proxy device of claim 101, wherein the second request message comprises at least one of:

a shadow synchronization resource of the first shadow device, a replicated resource link of the first shadow device, and an endpoint of the first shadow device.

A cloud proxy device as claimed in claim 101 or 102, wherein the second request message includes fourth indication information indicating that the server device does not have the capability of directly accessing a cloud server.

The cloud proxy device of claim 103, wherein the first receiving unit is further configured to receive a second request response message sent by the cloud server; the second request response message includes: a resource link of the second shadow device.

The cloud proxy device of claim 104, wherein the resource link of the second shadow device comprises at least one of: an identification of the second shadow device and an endpoint of the second shadow device.

The cloud proxy device of claim 104 or 105, wherein the second request response message further includes fifth indication information indicating that the second shadow device does not have the capability to directly access a cloud server.

The cloud proxy device of any of claims 104-106, wherein the first processing unit is further configured to associate the first shadow device with the second shadow device.

The cloud proxy device of claim 107, wherein the first processing unit is configured to configure the cloud proxy device with at least one of: the identifier of the second shadow device, the endpoint of the second shadow device, the shadow synchronization resource of the second shadow device, and the shadow service identifier of the cloud server.

The cloud proxy device of claim 107, wherein the first processing unit is configured to receive an update request message for a shadow configuration resource sent by a configurator;

the update request message for the shadow configuration resource includes at least one of: the identifier of the second shadow device, the endpoint of the second shadow device, the shadow synchronization resource of the second shadow device, and the shadow service identifier of the cloud server.

The cloud proxy device of claims 85-109, wherein the first processing unit is further configured to initiate resource synchronization between the first shadow device and the second shadow device, and between the first shadow device and the server device.

The cloud proxy device of claim 110, wherein the cloud proxy device further comprises:

a third sending unit, configured to send a resource synchronization request to the server device.

The cloud proxy device of claim 111, wherein the device identifier in the resource synchronization request is the device identifier of the first shadow device;

and/or the uniform resource identifier of the resource in the resource synchronization request does not include the equipment identification of the server-side equipment.

The cloud proxy device of any of claims 85-112, wherein the first receiving unit is further configured to receive a first resource discovery request message;

correspondingly, the cloud proxy device further includes a fourth sending unit, configured to send a first resource discovery request response message, where the first resource discovery request response message includes: and resource linkage of the cloud proxy equipment.

The cloud proxy device of claim 113, wherein the first resource discovery request message indicates a resource type of the cloud proxy device.

The cloud proxy device of claim 113 or 114, wherein the resource link of the cloud proxy device comprises at least one of:

the resource type of the cloud agent device and the endpoint of the resource of the cloud agent device.

A cloud proxy device as claimed in any one of claims 113 to 115, wherein the first resource discovery request message is sent by a configurator or by the server device.

A cloud proxy device as claimed in any one of claims 113 to 116, wherein said first resource discovery request response message is sent to a configurator or to said server device.

The cloud proxy device of any of claims 85-117, wherein the first receiving unit is further configured to receive a request message to obtain shadow service information;

correspondingly, the cloud proxy device further includes a fifth sending unit configured to send a request response message for obtaining the shadow service information.

The cloud proxy device of claim 118, wherein the get shadow service information request response message includes at least one of:

an identification of the shadow service and an endpoint of the shadow service.

The cloud proxy device of claim 118 or claim 119, wherein the request message to obtain shadow service information is sent by a configurator or by a server device.

The cloud proxy device of any of claims 118-120, wherein the request response message to obtain shadow service information is sent to a configurator or to a server device.

A server device, the server device comprising:

a sixth sending unit, configured to send a first request message to a cloud proxy device, where the first request message is used to request the cloud proxy device to generate a first shadow device of the server device;

a second receiving unit configured to receive the first request response message.

The server device of claim 122, wherein the first request message comprises at least one of:

the original resource link of the server-side equipment and the endpoint of the server-side equipment.

The server-side device of claim 122 or 123, wherein the first request message includes first indication information indicating that the server-side device does not have a capability of directly accessing a cloud server.

The server device of any of claims 122 to 124, wherein a uniform resource identifier of the replicated resource of the first shadow device comprises a device identification of the server device.

The server device of any one of claims 122 to 125, wherein the description information of the first shadow device includes second indication information indicating that the first shadow device does not have a capability of directly accessing a cloud server.

The server device of any one of claims 122 to 126, wherein the server device further comprises:

the second processing unit is configured to associate the server device with the first shadow device.

The server device of claim 127, wherein the second processing unit is configured to configure at least one of the following for the server device by updating shadow configuration resources of the server device: the identifier of the first shadow device, the endpoint of the first shadow device, and the shadow synchronization resource of the first shadow device.

The server device of any one of claims 122 to 128, wherein the server device further comprises:

a third processing unit configured to start resource synchronization between the server device and the first shadow device.

The server device of claim 129, wherein the second receiving unit is further configured to receive a resource synchronization request sent by the cloud proxy device.

The server device of claim 130, wherein the device identifier in the resource synchronization request is a device identifier of the first shadow device;

and/or the uniform resource identifier of the resource in the resource synchronization request does not include the equipment identification of the server-side equipment.

The server device according to any one of claims 122 to 131, wherein the sixth sending unit is further configured to send a first resource discovery request message to the cloud proxy device;

the server device receives a first resource discovery response message sent by the cloud proxy device, where the first resource discovery request response message includes: and resource linkage of the cloud proxy equipment.

The server device of claim 132, wherein the first resource discovery request message indicates a resource type of the cloud proxy device.

The server device of claim 132 or 133, wherein the resource link of the cloud proxy device comprises at least one of:

the resource type of the cloud agent device and the endpoint of the resource of the cloud agent device.

The server device according to any one of claims 122 to 134, wherein the sixth sending unit is further configured to send a request message for obtaining shadow service information to the cloud proxy device;

the second receiving unit is further configured to receive a request response message for obtaining shadow service information, which is sent by the cloud proxy device.

The server device of claim 135, wherein the request response message to obtain shadow service information comprises at least one of:

an identification of the shadow service and an endpoint of the shadow service.

A cloud server, the cloud server comprising:

a third receiving unit configured to receive the second request message;

and the fourth processing unit is configured to generate a second shadow device for the first shadow device of the server device based on the second request message.

The cloud server of claim 137, wherein the second request message comprises at least one of:

a shadow synchronization resource of the first shadow device, a replicated resource link of the first shadow device, and an endpoint of the first shadow device.

The cloud server of claim 137 or 138, wherein the second request message includes fourth indication information indicating that the server device does not have a capability of directly accessing a cloud server.

The cloud server of any of claims 137-139, wherein the cloud server further comprises:

a seventh transmitting unit configured to transmit a second request response message; the second request response message includes: a resource link of the second shadow device.

The cloud server of claim 140, wherein the resource link of the second shadow device comprises at least one of: an identification of the second shadow device and an endpoint of the second shadow device.

The cloud server of claim 140 or 141, wherein the second request response message further includes fifth indication information indicating that the second shadow device does not have the capability to directly access the cloud server.

The cloud server of any of claims 137-142, wherein the fourth processing unit is further configured to initiate resource synchronization between the second shadow device and the first shadow device.

The cloud server of any of claims 137-143, wherein the second request message is sent by a configurator or the second request message is sent by a cloud proxy device.

The cloud server of any of claims 140-144, wherein the second request response message is sent to a configurator or to a cloud proxy device.

The cloud server of any of claims 137-145, wherein the fourth processing unit is further configured to publish the replicated resource link of the second shadow device to a resource discovery directory of the cloud server.

A configurator, the configurator comprising:

an eighth sending unit, configured to send a first request message to a cloud proxy device, where the first request message is used to request the cloud proxy device to generate a first shadow device of a server device;

a fourth receiving unit configured to receive the first request response message.

The configurator of claim 147, wherein the first request message comprises at least one of:

the original resource link of the server-side equipment and the endpoint of the server-side equipment.

The configurator of claim 147 or 148, wherein the first request message includes first indication information indicating that the server device does not have a capability of directly accessing a cloud server.

The configurator of any of claims 147 to 149, wherein a uniform resource identifier of the replicated resource of the first shadow device includes a device identification of the server device.

The configurator of any one of claims 147 to 150, wherein the description information of the first shadow device includes second indication information indicating that the first shadow device does not have a capability to directly access a cloud server.

The configurator of any one of claims 147 to 151, wherein the eighth sending unit is further configured to send a second request message to a cloud server, the second request message requesting the cloud server to generate a second shadow device for the first shadow device.

The configurator of claim 152, wherein the second request message includes at least one of:

a shadow synchronization resource of the first shadow device, a replicated resource link of the first shadow device, and an endpoint of the first shadow device.

The configurator of claim 152 or 153, wherein the second request message includes fourth indication information indicating that the server device does not have a capability of directly accessing a cloud server.

The configurator of any one of claims 152 to 154, wherein the fourth receiving unit is further configured to receive a second request response message sent by the cloud server; the second request response message includes: a resource link of the second shadow device.

The configurator of claim 155, wherein the resource link of the second shadow device comprises at least one of: an identification of the second shadow device and an endpoint of the second shadow device.

The configurator of claim 155 or 156, wherein the second request response message includes fifth indication information indicating that the second shadow device does not have the capability to directly access a cloud server.

The configurator of any one of claims 155 to 157, wherein the configurator further comprises:

a fifth processing unit configured to associate the first shadow device and the second shadow device.

The configurator of claim 158, wherein the fifth processing unit is configured to send an update request message for shadow configuration resources to the server device;

the update request message for the shadow configuration resource includes at least one of: the identifier of the second shadow device, the endpoint of the second shadow device, the shadow synchronization resource of the second shadow device, and the shadow service identifier of the cloud server.

The configurator of any of claims 147 to 159, wherein the configurator further comprises:

a sixth processing unit, configured to configure resource synchronization between the first shadow device and the second shadow device, and resource synchronization between the first shadow device and the server device.

The configurator of any of claims 147 to 160,

the eighth sending unit is further configured to send a second resource discovery request message to the server device;

the fourth receiving unit is further configured to receive a second resource discovery request response message sent by the server device, where the second resource discovery response message includes: and resource linkage of the server-side equipment.

The configurator of claim 161, wherein the second resource discovery request message indicates a resource type of a server device.

The configurator of claim 161 or 162, wherein the resource link of the server device comprises at least one of:

the resource type of the server device and the endpoint of the resource of the server device.

The configurator of any one of claims 147 to 163,

the eighth sending unit is further configured to send a first resource discovery request message to the cloud proxy device;

the fourth receiving unit is further configured to receive a first resource discovery request response message sent by the cloud proxy device, where the first resource discovery request response message includes: and resource linkage of the cloud proxy equipment.

The configurator of claim 164, wherein the first resource discovery request message indicates a resource type of the cloud proxy device.

The configurator of claim 164 or 165, wherein the resource links of the cloud proxy device comprise at least one of:

the resource type of the cloud agent device and the endpoint of the resource of the cloud agent device.

The configurator of any one of claims 147 to 166,

the eighth sending unit is further configured to send a request message for obtaining shadow service information to the cloud proxy device;

the fourth receiving unit is further configured to receive a request response message for obtaining shadow service information, which is sent by the cloud proxy device.

The configurator of claim 167, wherein the request response message to obtain shadow service information includes at least one of:

an identification of the shadow service and an endpoint of the shadow service.

A cloud proxy device comprising a processor and a memory for storing a computer program capable of running on the processor, wherein,

the processor is configured to execute the steps of the method for generating a shadow device according to any one of claims 1 to 37 when the computer program is run.

A server device comprising a processor and a memory for storing a computer program capable of running on the processor, wherein,

the processor is configured to execute the steps of the method for generating a shadow device according to any one of claims 38 to 52 when the computer program is run.

A cloud server comprising a processor and a memory for storing a computer program capable of running on the processor, wherein,

the processor is configured to execute the steps of the method for generating a shadow device according to any one of claims 53 to 62 when the computer program is run.

A configurator comprising a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable when executing the computer program to perform the steps of the method of generating a shadow device of any of claims 63 to 84.

A storage medium storing an executable program which, when executed by a processor, implements the shadow device creation method of any one of claims 1 to 37.

A storage medium storing an executable program which, when executed by a processor, implements the shadow device creation method of any one of claims 38 to 52.

A storage medium storing an executable program which, when executed by a processor, implements the shadow device creation method of any one of claims 53 to 62.

A storage medium storing an executable program which, when executed by a processor, implements the shadow device creation method of any of claims 63 to 84.

38页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:交互跟踪控制

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类