CN113454966B - Method and device for generating shadow device and storage medium - Google Patents
Method and device for generating shadow device and storage medium Download PDFInfo
- Publication number
- CN113454966B CN113454966B CN201980092672.0A CN201980092672A CN113454966B CN 113454966 B CN113454966 B CN 113454966B CN 201980092672 A CN201980092672 A CN 201980092672A CN 113454966 B CN113454966 B CN 113454966B
- Authority
- CN
- China
- Prior art keywords
- shadow
- server
- resource
- cloud
- request message
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
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.
Description
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a method and a device for generating a shadow device, and a storage medium.
Background
In the related art, a shadow device is generated for an Open Connectivity Foundation (OCF) server device, and remote communication is performed between the shadow device and an OCF client device, so as to improve communication processing efficiency. At this time, the OCF server device is required to have the capability of establishing and maintaining a long Transport Layer (TLS) connection with the cloud server. However, for OCF server-side devices (also referred to as cloud-limited devices) that do not have the capability to establish and maintain TLS long connections with a cloud server, shadow devices cannot be generated on the cloud server.
Disclosure of Invention
In order to solve the foregoing technical problem, embodiments of the present invention provide a method, a device, and a storage medium for generating a shadow device, which can generate a shadow device on a cloud server for a cloud-limited device.
In a first aspect, an embodiment of the present invention provides a method for generating a shadow device, including: the cloud proxy 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.
In a second aspect, an embodiment of the present invention provides a method for generating a shadow device, including: 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.
In a third aspect, an embodiment of the present invention provides a method for generating a shadow device, including: 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.
In a fourth aspect, an embodiment of the present invention provides a method for generating a shadow device, including: 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.
In a fifth aspect, an embodiment of the present invention provides a cloud proxy device, where the cloud proxy device includes:
a first receiving unit configured to receive a first request message;
the first processing unit is configured to generate a first shadow device of the server device based on the first request message.
In a sixth aspect, an embodiment of the present invention provides a server device, where the server device includes:
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.
In a seventh aspect, an embodiment of the present invention provides a cloud server, where the cloud server includes:
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.
In an eighth aspect, an embodiment of the present invention provides a configurator, which includes:
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.
In a ninth aspect, an embodiment of the present invention provides a cloud proxy device, including a processor and a memory, where the memory is used for storing a computer program that can be run on the processor, and when the processor is used for running the computer program, the method for generating a shadow device executed by the cloud proxy device is executed.
In a tenth aspect, an embodiment of the present invention provides a server device, including a processor and a memory, where the memory is used for storing a computer program that can be run on the processor, and when the processor is used for running the computer program, the server device executes the steps of the shadow device generation method executed by the server device.
In an eleventh aspect, an embodiment of the present invention provides a cloud server, including a processor and a memory, where the memory is used for storing a computer program capable of being executed on the processor, and the processor is configured to, when the computer program is executed, execute the steps of the shadow device generation method executed by the cloud server.
In a twelfth aspect, an embodiment of the present invention provides a configurator, which includes 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 executed by the configurator when running the computer program.
In a thirteenth aspect, an embodiment of the present invention provides a storage medium, where an executable program is stored, and when the executable program is executed by a processor, the method for generating a shadow device executed by a cloud proxy device is implemented.
In a fourteenth aspect, an embodiment of the present invention provides a storage medium, where an executable program is stored, and when the executable program is executed by a processor, the storage medium implements a method for generating a shadow device executed by the server device.
In a fifteenth aspect, an embodiment of the present invention provides a storage medium, which stores an executable program, and when the executable program is executed by a processor, the storage medium implements the method for generating a shadow device executed by a cloud server.
In a sixteenth aspect, an embodiment of the present invention provides a storage medium, which stores an executable program, and when the executable program is executed by a processor, the storage medium implements the method for generating a shadow device executed by the configurator.
The method for generating the shadow device provided by the embodiment of the invention 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. Therefore, the server side equipment without the capability of directly accessing the cloud server can generate shadow equipment on the cloud proxy equipment and the cloud server. Moreover, the resource synchronization between the server device and the first shadow device and between the first shadow device and the second shadow device enables the client device to communicate with the first shadow device or the second shadow device, and further improves the communication efficiency of the server device.
Drawings
FIG. 1 is a schematic flow chart of communication between a client device and a server device according to the present invention;
FIG. 2 is a schematic flow chart illustrating the creation of a shadow device for a server device and the synchronization of the server device and the shadow device according to the present invention;
fig. 3 is a schematic view of an optional processing flow of a generation method of a shadow device applied to a cloud proxy device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating an optional processing flow of a method for generating a shadow device applied to a server device according to an embodiment of the present invention;
FIG. 5 is a schematic view of an alternative processing flow of a generation method of a shadow device applied to a cloud server according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an alternative processing flow of a shadow device generation method applied to a configurator according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a detailed processing flow of a shadow device generation method according to an embodiment of the present invention;
FIG. 8 is a flowchart illustrating a detailed process of another shadow device generation method according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of the cloud proxy device according to the embodiment of the present invention;
FIG. 10 is a schematic diagram of a component structure of a server device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a cloud server according to an embodiment of the present invention;
FIG. 12 is a schematic diagram of a configurator according to an embodiment of the present invention;
fig. 13 is a schematic diagram of a hardware component structure of an electronic device according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and technical contents of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the present invention will be rendered by reference to the appended drawings, which are included for purposes of illustration and not limitation.
Before describing in detail the method for generating a shadow device according to the embodiment of the present invention, terms related to the embodiment of the present invention will be briefly described.
1) The configurator is a tool for providing a cloud server access configuration function for the server-side equipment, and the function of the configurator can be realized by application software.
2) And the resource link represents the reference relation between the OCF resources.
3) And the endpoints are the source ends or the destination ends of the request messages and the response messages.
4) And the server side equipment is an OCF server.
5) The shadow device is a digital twin device generated by the server device, and other devices can directly communicate with the shadow device, so that the workload of message processing on the server device is reduced, and the communication efficiency of the system is improved.
6) And the resource directory supports the OCF equipment to issue resources and discover the logical functional entities of the resources.
The OCF device and the communication between the OCF devices will be briefly described.
The OCF is a new technical standard organization of an application layer of the Internet of things, and establishes a Restful service framework for interconnection and intercommunication among the Internet of things equipment; in the OCF Restful service framework, information such as Internet of things equipment, functional services of the OCF equipment, the state of the OCF equipment and the like is expressed through resources. The entity providing the resource is an OCF server device (hereinafter referred to as a server device), and the entity accessing the resource is an OCF client (hereinafter referred to as a client device).
For example, the control terminal that acquires the indoor environment status data is a client device, the sensor device that monitors the indoor environment status data is a server device, and the service interaction between the client device and the server device is implemented by resource operation methods such as creation, reading, updating, deletion, or notification of resources.
The flow of communication between the client device and the server device is as shown in fig. 1: the client device sends an update resource request for a resource on the server device to the server device. The server side equipment executes corresponding resource operation according to the resource updating request and sends a resource updating response to the client side equipment; wherein the update resource response carries an expression of the resource.
In an alternative embodiment, the resource update request is in the form of:
here, the Resource update request carries a Uniform Resource Identifier (URI) of the Resource and a Resource operation method; taking fig. 1 as an example, the server device has an environment temperature resource, and the URI of the resource is "/environment temperature"; the resource operation method requested by the client device from the server device is an update method POST.
The representation of the resource includes: URI of resource, resource type, resource interface, and functional attribute of resource, etc., information included in the expression of resource is described below:
the resource URI is expressed by 'href' in the resource expression, provides the address of the OCF server equipment resource, the value of 'href' is the specific resource URI, and the OCF client equipment accesses the resource of the OCF server equipment through the resource URI; in FIG. 1, the URI of the ambient temperature resource is "/environmental temperature".
The resource type, which is denoted by "rt" in the expression of the resource, indicates the type of the resource, and the resource type "rt" in fig. 1 is "oic.r. temperature" and indicates the temperature resource type.
The resource interface, denoted in the representation of the resource by "if", provides a view of the resource and a response to the resource support, is "oic.
The resource attribute describes attribute information of the resource in the expression of the resource, and in fig. 1, "targetTemperature" indicates a target temperature attribute of the temperature resource, "currentTemperature" indicates a current temperature attribute of the temperature resource, and "tempreturarge" indicates a temperature range attribute of the temperature resource.
The OCF defines a resource discovery resource "/oic/res" which all OCF devices must support, wherein the resource discovery resource is used for discovering the OCF devices and resources; the resource discovery resource provides a function of device resource discovery, and the URI of the resource discovery resource is fixed to "/oic/res".
In order to represent the incidence relation among the resources, the OCF defines resource Links, namely, the Links of the resources; the OCF server-side equipment can provide own resources in a resource link mode, and the OCF client-side equipment can conveniently discover the resources of the OCF server-side equipment. The content of the resource link is as follows:
the content of the resource link includes:
an anchor: the context URI indicates a URI of an owner resource including a resource link.
href: the target URI, i.e., the URI of the target resource referenced in the resource link.
rt: a resource type identification of the target resource.
if: interfaces supported by the target resource.
eps: an endpoint that can access the target resource.
Because the OCF standard Protocol uses a restricted Application Protocol (CoAP) to carry OCF messages in the transport layer, each OCF server device needs to have an endpoint, and each OCF device must associate with at least one endpoint for sending and receiving messages; the client device may access a target resource of the server device through the endpoint. The end point of the target resource is represented by an "eps" array in the parameter of the resource link, and the specific end point is represented by "ep", namely, the target resource can be accessed through the address of the value "ep" in the "eps" parameter. For example, in the resource linking example above, the client device may communicate with the client device via the message endpoints "maps: // [2001: and (db 8): b: : c2e5]:22222 "access target resource"/myLightSwitch ".
For some specific scenarios, such as IoT devices that do not need to update state frequently, the client device may improve system communication efficiency by communicating with the shadow device of the server device. The OCF cloud server realizes shadow service, the shadow service of the OCF cloud service creates a shadow device for each OCF server device, and the shadow device can directly respond to the request of the client device without acquiring the resource expression of the server device; by the method, the client device can obtain the resource expression of the server device without communicating with the server device, so that the workload of message processing on the server device is reduced, and the communication efficiency of the system is improved.
In the related art, creating a shadow device for a server device, and a synchronization process of the server device and the shadow device is shown in fig. 2, and includes the following steps:
1. the configurator configures the server side equipment: the configurator executes a shadow configuration process for the server equipment, sends a resource updating request to a shadow configuration resource of the server equipment and provides shadow service information for the server equipment to generate the shadow equipment; wherein. The shadow service information includes: shadow service identification, URI of shadow generation resource and indication of generating shadow equipment; wherein the shadow service identifier represents identification information of the shadow service, the URI of the shadow generation resource provides a URI for accessing the shadow generation resource "oic.
2. Generating a shadow device for the server device: obtaining shadow service information by the server-side equipment in the step 1, wherein the shadow service information comprises a URI of a shadow generation resource, sending a request for creating the shadow equipment to a cloud server by the server-side equipment aiming at the URI of the shadow generation resource, and providing original resource information needing to be copied in the request; after receiving a request of the server-side equipment, the cloud server generates shadow equipment for the server-side equipment; wherein the shadow device includes replicated resource information corresponding to the original resource information.
3. The configurator configures the shadow device: the configurator performs a configuration process for the shadow device, which obtains access control information.
4. The cloud server receives the resource updating request: the cloud server receives an update request of a client device for the copied resources on the shadow device.
5. The shadow device and the server device synchronize resources: the server device and the shadow device establish a synchronization relationship through the shadow synchronization resource, and the server device and the shadow device perform information synchronization.
6. The shadow device sends a synchronization message to the client device.
In executing the flow shown in fig. 2, the server device is required to have the capability of establishing and maintaining a TLS long connection with the cloud server, that is, the server device has the capability of directly accessing the cloud server. However, for a server device without the capability of directly accessing the cloud server, a shadow device cannot be generated on the cloud server; therefore, the communication processing efficiency cannot be improved by the characteristics of the shadow device.
Based on the above problem, the present invention provides a method for generating a shadow device, and an optional processing flow of the method for generating a shadow device applied to a cloud proxy device provided in the embodiment of the present invention is shown in fig. 3, and includes the following steps:
in step S201, the cloud proxy device receives a first request message.
Step S202, the cloud proxy device generates a first shadow device of the server device based on the first request message.
In the first embodiment, before performing step S201, the method further includes:
in step S200a, the cloud proxy device receives a first resource discovery request message sent by the configurator.
The first resource discovery request message indicates the resource type of the cloud proxy equipment; for example, the resource type of the cloud proxy device is oic.
In step S200b, the cloud proxy device sends a first resource discovery request response message to the configurator.
Wherein the first resource discovery request response message includes: resource link of the cloud proxy equipment; the resource link of the cloud proxy device comprises at least one of the following items: the resource type of the cloud agent device and the endpoint of the resource of the cloud agent device. Optionally, the resource link of the cloud proxy device may further include a URI of the cloud proxy device resource. For example, the resource type of the cloud proxy device is oic.r.cloudproxy, the URI of the cloud proxy device resource is/oic/cloudproxy, and the endpoint of the cloud proxy resource is maps: /[ fe80: :2]:3333.
in step S200c, the cloud proxy device receives a request message for obtaining shadow service information sent by the configurator.
In step S200d, the cloud proxy device sends a request response message for obtaining the shadow service information to the configurator.
Wherein the request response message for obtaining shadow service information includes at least one of the following: an identification of the shadow service and an endpoint of the shadow service.
For step S201, the cloud proxy device receives a first request message sent by the configurator. Before the cloud proxy device receives the first request message sent by the configurator, the method further includes:
the cloud proxy equipment receives shadow service information of the cloud proxy equipment sent by the configurator.
In specific implementation, the configurator sends an update request message to the cloud proxy device for the shadow configuration resource of the server device. Wherein, the shadow configuration resource of the server device is: oil/shadow/conf; the shadow service information of the cloud proxy device comprises at least one of the following items: and the identifier of the shadow service on the cloud proxy equipment and the endpoint of the shadow service. Optionally, the shadow service information of the cloud proxy device may further include: an original resource link which needs to be copied to the cloud proxy equipment; the original resource link refers to a resource link of the server device.
Aiming at the step S202, the cloud proxy equipment generates first shadow equipment for the server equipment; in specific implementation, a shadow service in the cloud proxy device generates a first shadow device for the server device.
The URL of the copied resource of the first shadow device comprises a device identification of the server device.
Optionally, the description information of the first shadow device includes second indication information, where the second indication information is used to indicate that the first shadow device does not have a capability of directly accessing a cloud server. In specific implementation, the first shadow device does not have the capability of directly accessing the cloud server, and may be characterized by a device type in the description information of the first shadow device.
After performing step S202, the method further includes:
in step S203, the cloud proxy device sends a first request response message to the configurator.
Wherein the first request response message comprises: a resource link of the first shadow device; the resource link of the first shadow device may include at least one of: an identification of the first shadow device and an endpoint of the first shadow device.
Optionally, the first request response message further includes third indication information, where the third indication information is used to indicate that the first shadow device does not have a capability of directly accessing a cloud server. In specific implementation, the first shadow device does not have the capability of directly accessing the cloud server, and may be characterized by a device type in the description information of the first shadow device.
After step S203 is executed, and the cloud server generates a second shadow device for the first shadow device, the method further includes:
step S204, the cloud proxy device associates the first shadow device with the second shadow device.
In specific implementation, the cloud proxy equipment receives an update request message which is sent by a configurator and aims at the shadow configuration resource; wherein, the shadow configuration resource is: and/oic/shadow/conf. The update request message for the shadow configuration resource comprises at least one of: the identifier of the second shadow device, the endpoint of the second shadow device, and the shadow synchronization resource of the second shadow device; optionally, the update request message for the shadow configuration resource may further include a shadow service identifier of the cloud server. For example, the update request message for the shadow configuration resource includes: the identity of the second shadow device, the endpoint of the second shadow device, and the shadow synchronization resource of the second shadow device. Alternatively, the update request message for the shadow configuration resource may further include a shadow service identifier of the cloud server. For example, the update request message for the shadow configuration resource includes: 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.
After performing step S204, the method further includes:
in step S205, the configurator 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.
In step S206, the cloud proxy device receives the resource synchronization request sent by the cloud server.
The target resource in the resource synchronization request is a shadow synchronization resource/oic/shadow/sync, the device identifier is a device identifier of a second shadow device, and the URI of the resource comprises the device identifier of the server device.
Step S207, the cloud proxy device sends a resource synchronization request to the server device.
Wherein, the target resource in the resource synchronization request is a shadow synchronization resource/oic/shadow/sync; the device identifier in the resource synchronization request is the device identifier of the first shadow device; and the URI of the resource in the resource synchronization request does not comprise the equipment identification of the server-side equipment.
Step S208, the cloud proxy device receives the synchronization result sent by the server device, and sends the synchronization result to the cloud server.
In the second embodiment, before performing step S201, the method further includes:
in step S200a', the cloud proxy device receives a first resource discovery request message sent by the server device.
The first resource discovery request message indicates the resource type of the cloud proxy equipment; for example, the resource type of the cloud proxy device is oic.
In step S200b', the cloud proxy device sends a first resource discovery request response message to the server device.
Wherein the first resource discovery request response message includes: resource link of the cloud proxy equipment; the resource link of the cloud proxy device comprises at least one of the following items: the resource type of the cloud agent device and the endpoint of the resource of the cloud agent device. Optionally, the resource link of the cloud proxy device may further include a URI of the resource of the cloud proxy device. For example, the resource type of the cloud proxy device is oic.r.cloudproxy, the URI of the cloud proxy device resource is/oic/cloudproxy, and the endpoint of the cloud proxy resource is maps: /[ fe80: :2]:3333.
in step S200c', the cloud proxy device receives a request message for obtaining shadow service information sent by the server device.
In step S200d', the cloud proxy device sends a request response message for obtaining the shadow service information to the server device.
Wherein the request response message for obtaining shadow service information includes at least one of the following: an identification of the shadow service and an endpoint of the shadow service.
The description of step S202 in the second embodiment is the same as the description of step S202 in the first embodiment, and is not repeated here.
After performing step S202, the method further comprises:
in step S203', the cloud proxy device sends a first request response message to the server device.
It should be noted that the description of the first request response message in step S203' is the same as the description of the first request response message in step S203, and is not repeated here.
After step S203', the method further comprises:
the cloud proxy device sends a second request message to the 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. 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. Optionally, the second request message includes fourth indication information, where the fourth indication information is used to indicate that the server device does not have a capability of directly accessing the cloud server. In specific implementation, the server device does not have the capability of directly accessing the cloud server, and can be characterized by the device type in the description information of the server device.
Correspondingly, the method further comprises the following steps: 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. 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. Optionally, the second request response message further includes fifth indication information, where the fifth indication information is used to indicate that the second shadow device does not have a capability of directly accessing a cloud server. In specific implementation, the second shadow device does not have the capability of directly accessing the cloud server, and may be characterized by the device type in the description information of the second shadow device.
After the cloud server generates the second shadow device for the first shadow device, the method further includes:
in step S204', the cloud proxy device associates the first shadow device with the second shadow device.
During specific implementation, a first shadow device on the cloud proxy device updates own shadow configuration resource/oic/shadow/conf, and configures an identifier of a second shadow device on the cloud server, an endpoint of the second shadow device and a shadow synchronization resource/oic/shadow/sync of the second shadow device for the first shadow device; optionally, the first shadow device on the cloud proxy device may also configure a shadow service identifier on the cloud server for itself.
In step S205', the cloud proxy device starts resource synchronization between the first shadow device and the server device, and resource synchronization between the cloud proxy device and the second shadow device.
After step S205' is performed, steps S206 to S208 in the above-described first embodiment are performed.
As shown in fig. 4, the optional processing flow of the method for generating a shadow device applied to a server device according to the embodiment of the present invention includes:
step S301, a server device sends 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.
It should be noted that, in the embodiment of the present invention, the description for the first request message is the same as the description for the first request message in step S201, and is not repeated here.
Step S302, the server device receives the first request response message.
In specific implementation, the server device receives a first request response message sent by the cloud proxy device. In the embodiment of the present invention, the first request response message is the same as the description of the first request response message in step S203, and details are not repeated here.
After performing step S302, the method further includes:
step S303, the server device associates itself with the first shadow device.
In specific implementation, the server device configures at least one of the following for itself by updating its shadow configuration resource: the identifier of the first shadow device, the endpoint of the first shadow device, and the shadow synchronization resource of the first shadow device.
For example, the server device updates its shadow configuration resource/oic/shadow/conf, and configures at least one of an identifier of the shadow device on the cloud proxy device, an endpoint of the shadow device, and a shadow synchronization resource/oic/shadow/sync of the shadow device for itself.
After performing step S303, the method further includes:
step S304, the server device starts resource synchronization between the server device and the first shadow device.
In step S305, the server device receives a resource synchronization request sent by the cloud agent device.
It should be noted that, the description of the resource synchronization request in the embodiment of the present invention is the same as the description of the resource synchronization request in step S207, and is not repeated here.
In this embodiment of the present invention, before performing step S301, the method further includes:
in step S300a', the server device sends a first resource discovery request message to the cloud proxy device.
It should be noted that, in the embodiment of the present invention, the description for the first resource discovery request message is the same as the description for the first resource discovery request message in step S200a', and is not repeated here.
In step S300b', the server device receives a first resource discovery request response message sent by the cloud proxy device.
It should be noted that, in the embodiment of the present invention, the description of the first resource discovery request response message is the same as the description of the first resource discovery request response message in step S200b', and is not repeated here.
In step S300c', the server device sends a request message for obtaining shadow service information to the cloud proxy device.
In step S300d', the server device receives a request response message for obtaining shadow service information sent by the cloud agent device.
It should be noted that, in the embodiment of the present invention, the description of the request response message for obtaining shadow service information is the same as the description of the request response message for obtaining shadow service information in step S300d', and details are not repeated here.
As shown in fig. 5, an optional processing flow of the generation method of the shadow device applied to the cloud server provided in the embodiment of the present invention includes:
in step S401, the cloud server receives the second request message.
Step S402, the cloud server generates a second shadow device for the first shadow device of the server device based on the second request message.
In the first embodiment, for step S401, the cloud server receives the second request message sent by the configurator.
In a second embodiment, for step S401, the cloud server receives a second request message sent by the cloud proxy device.
In an embodiment of the present invention, the second request message includes at least one of the following: 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. Optionally, the second request message includes fourth indication information, where the fourth indication information is used to indicate that the server device does not have a capability of directly accessing the cloud server. In specific implementation, the capability that the server device does not directly access the cloud server can be characterized by the device type in the description information of the cloud server.
For step S402, the URI of the replicated resource of the second shadow device remains unchanged, that is, the target URI of the second shadow device is not added with the device identifier of the cloud proxy device.
After performing step S402, the method further includes:
step S403, the cloud server sends a second request response message; the second request response message includes: a resource link of the second shadow device.
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. Optionally, the second request response message further includes fifth indication information, where the fifth indication information is used to indicate that the second shadow device does not have a capability of directly accessing a cloud server. Optionally, the capability of the second shadow device not having direct access to the cloud server may be characterized by a device type of the second shadow device.
In step S404, the cloud server starts resource synchronization between the second shadow device and the first shadow device.
In step S405, the cloud server issues the copied resource link of the second shadow device to a resource discovery directory of the cloud server.
In specific implementation, step S405 may be executed after step S402, and there is no execution sequence between step S405 and step S403, and there is no execution sequence between step S405 and step S404.
As shown in fig. 6, an optional processing flow of the generation method of the shadow device applied to the configurator according to the embodiment of the present invention includes:
step S501, a configurator sends 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.
It should be noted that, in the embodiment of the present invention, the description of the first request message is the same as the description of the first request message in step S201, and is not repeated here.
Step S502, the configurator receives the first request response message.
In specific implementation, the configurator receives a first request response message sent by the cloud proxy device. In the embodiment of the present invention, the description of the first request response message in step S203 is the same as that described above, and details are not repeated here.
And the configurator receives the first request response message and associates the server side equipment with the first shadow equipment on the cloud proxy equipment. In specific implementation, the configurator sends an update request message to a shadow configuration resource/oic/shadow/conf of the server-side device; the update request message includes at least one of the following: the cloud proxy device comprises an identification of a first shadow device on the cloud proxy device, an endpoint of the first shadow device, and a shadow synchronization resource/oic/shadow/sync of the first shadow device.
After performing step S502, the method further includes:
step S503, the configurator sends a second request message to the 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.
It should be noted that, in the embodiment of the present invention, the description of the second request message is the same as the description of the second request message in step S401, and is not repeated here.
Step S504, the configurator receives a second request response message sent by the cloud server.
It should be noted that, in the embodiment of the present invention, the description of the second request response message is the same as the description of the second request response message in step S402, and is not repeated here.
In step S505, the configurator associates the first shadow device and the second shadow device.
In specific implementation, the configurator sends an update request message aiming at the shadow configuration resource to the cloud proxy 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.
Wherein, the shadow configuration resource is/oic/shadow/conf, and the shadow synchronization resource is/oic/shadow/sync.
Step S506, 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.
Before performing step S501, the method further includes:
step S500a, the configurator sends a second resource discovery request message to the server device.
Step S500b, the configurator receives a second resource discovery request response message sent by the server device.
It should be noted that, in the embodiment of the present invention, descriptions for the second resource discovery request message and the second resource discovery request response message are the same as the descriptions for the second resource discovery request message and the second resource discovery request response message in the foregoing embodiment, and are not described herein again.
Step S500c, the configurator sends a first resource discovery request message to the cloud proxy device.
It should be noted that, in the embodiment of the present invention, the description of the first resource discovery request message is the same as the description of the first resource discovery request message in step S200a', and is not repeated here.
In step S500d, the configurator receives a first resource discovery request response message sent by the cloud agent device.
It should be noted that, in the embodiment of the present invention, the description of the first resource discovery request response message is the same as the description of the first resource discovery request response message in step S200b', and is not repeated here.
Step S500e, the configurator sends a request message for obtaining shadow service information to the cloud proxy device.
It should be noted that, in the embodiment of the present invention, the description of the request message for obtaining shadow service information is the same as the description of the request message for obtaining shadow service information in step S200c', and is not repeated here.
In step S500f, the configurator receives a request response message for obtaining shadow service information sent by the cloud proxy device.
It should be noted that, in the embodiment of the present invention, the description of the request response message for obtaining shadow service information is the same as the description of the request response message for obtaining shadow service information in step S200d', and details are not repeated here.
As shown in fig. 7, the detailed processing flow of the method for generating a shadow device provided in the embodiment of the present invention includes the following steps:
step S601, the configurator discovers the server device.
In specific implementation, the configurator sends a resource discovery request to the server-side device; the server device resource type is specified in the request message. For example, the resource type of the server device is oic.
Step S602, the server device sends a response for discovering the server device to the configurator.
In specific implementation, discovering that the response of the server-side equipment carries the resource link of the server-side equipment; the resource link of the server side equipment comprises at least one of the following items: the server equipment resource type, the URI of the server equipment resource and the endpoint information of the server equipment resource.
For example, the resource type of the server device returned by the server device to the configurator is oic.r. cloudconstructed, the URI of the server device resource is/oic/cloudconstructed, the endpoint of the server device resource is maps: /[ fe80: :1]:2222.
in step S603, the configurator discovers the cloud agent device.
In specific implementation, the configurator sends a resource discovery request to the cloud agent device; and the resource discovery request specifies the resource type of the cloud proxy equipment. For example, the resource type of the cloud proxy device is oic.
In step S604, the cloud proxy device sends a response to discover the cloud proxy device to the configurator.
In specific implementation, a resource link carrying the cloud proxy equipment is found in the response of the cloud proxy equipment; the resource link of the cloud proxy device comprises at least one of the following items: the resource type of the cloud proxy equipment, the URI of the cloud proxy equipment resource, and the resource link of the endpoint cloud proxy equipment of the cloud proxy equipment resource.
For example, the resource type of the cloud proxy device returned by the cloud proxy device to the configurator is oic.r.cloudproxy, the URI of the cloud proxy device resource is/oic/cloudproxy, and the endpoint of the cloud proxy device resource is maps: /[ fe80: :2]:3333.
in step S605, the configurator requests the cloud proxy device to acquire shadow service information.
In step S606, the cloud proxy returns shadow service information to the configurator.
Wherein the shadow service information comprises at least one of the following: an identification of the shadow service and an endpoint of the shadow service.
Step S607, the configurator configures the server device.
In some embodiments, the configurator configures shadow service information of the cloud proxy device for the server device.
During specific implementation, the configurator sends an update request to the shadow configuration resource/oic/shadow/conf of the server device, and the update request provides an identifier of the shadow service on the cloud proxy device and an endpoint of the shadow service.
Optionally, the configurator may also configure, for the server device, an original resource link that needs to be copied to the cloud proxy device.
In step S608, the configurator requests the shadow service of the cloud proxy device to generate a shadow device for the server device.
In some embodiments, generating the request of the shadow device may include: and the indication of the cloud-limited device is used for indicating that an original device (namely, a server device) generating the shadow device is the cloud-limited device.
In specific implementation, the configurator sends a creation request to the shadow generation resource/oic/shadow/gen of the cloud proxy device, wherein the creation request carries an original resource link of the server device and an endpoint of the server device. The original resource link of the server-side equipment is used for generating corresponding copied resources for the original resources of the server-side equipment. Optionally, the creation request may also carry an indication of a server device, which is used to indicate that an original device (i.e., the server device) that generates the shadow device is a cloud-end restricted device.
In step S609, the shadow service of the cloud proxy device generates a first shadow device for the server device.
Here, the URI of the replicated resource of the first shadow device includes a device identification of the server device.
In some embodiments, the description information of the first shadow device may indicate that the first shadow device is a cloud-limited device.
Optionally, the cloud proxy device issues the copied resource link of the first shadow device to a resource discovery directory of the cloud proxy device.
In step S610, the cloud proxy device sends a response to generate the first shadow device to the configurator.
In some embodiments, the resource link of the first shadow device generated on the cloud proxy device is carried in the first shadow device response.
Wherein the resource link comprises at least one of: resource link of the/oic/res resource of the shadow device and resource link of the shadow synchronous resource (/ oic/shadow/sync resource); the/oic/res resource and/or the shadow synchronization resource link includes an identification of the shadow device on the cloud proxy device and an endpoint of the shadow device.
Optionally, the generating the first shadow device response may further indicate that the first shadow device is a cloud-limited device.
In step S611, the configurator associates the server device with the first shadow device on the cloud proxy device.
In specific implementation, the configurator sends an update request to a shadow configuration resource/oic/shadow/conf of the server-side device; the update request includes at least one of: the cloud proxy device comprises an identification of a first shadow device, an endpoint of the first shadow device and a shadow synchronization resource/oic/shadow/sync of the first shadow device.
Wherein the shadow synchronization resource/oic/shadow/sync of the first shadow device is obtained in step S610.
After the server-side device is associated with the corresponding first shadow device, the configurator generates a second shadow device on the cloud server for the first shadow device on the cloud proxy device.
Step S612, the configurator configures a first shadow device on the cloud proxy device, and configures a copy resource link that needs to be copied to the cloud server for the first shadow device.
During specific implementation, the configurator sends an update request to the shadow configuration resource/oic/shadow/conf of the cloud proxy device, and a copy resource link, which is required to be copied to the cloud server, of the first shadow device on the cloud proxy device is provided in the update request.
In step S613, the configurator requests the shadow service of the cloud server to generate a second shadow device on the cloud server for the first shadow device.
Optionally, the create shadow device request may indicate that the original device (the first shadow device) requesting the creation of the shadow device is a cloud-limited device.
In specific implementation, the configurator sends a creation request to the shadow generation resource/oic/shadow/gen of the cloud server, wherein the creation request carries at least one of the following items: the cloud proxy device comprises a shadow synchronization resource/oic/shadow/sync of the first shadow device, a copy resource link on the first shadow device (namely, a copy resource generated by the cloud proxy device for an original resource of the server device), and an endpoint of the first shadow device.
In some optional embodiments, the create request further indicates that the original device that generated the shadow device (i.e., the first shadow device) is a cloud-limited device.
In step S614, the shadow service of the cloud server generates a second shadow device for the first shadow device.
In the embodiment of the present invention, the generated URI of the copied resource of the second shadow device remains unchanged, that is, the target URI of the shadow device does not include the device identifier of the cloud proxy device.
Optionally, the generated second shadow device may indicate that the second shadow device is a cloud-limited device.
Optionally, the cloud server issues the copied resource link of the second shadow device to a resource discovery directory of the cloud server.
In step S615, the cloud server sends a generate second shadow device response to the configurator.
In the embodiment of the invention, a resource link carrying a second shadow device in the response of the shadow device is generated, wherein the resource link comprises a resource link of an oic/res resource of the shadow device and a resource link of a shadow synchronous resource (/ oic/shadow/sync resource); the/oic/res resource and/or the shadow synchronization resource link includes an identification of a second shadow device on the cloud server, an endpoint of the second shadow device.
Optionally, the generating the shadow device response may further indicate that the second shadow device is a cloud-limited device.
In step S616, the configurator associates the first shadow device on the cloud proxy device to the second shadow device on the cloud server.
In specific implementation, the configurator sends an update request to the shadow configuration resource/oic/shadow/conf on the cloud proxy device, where the update request provides an identifier of a second shadow device on the cloud server, an endpoint of the second shadow device, and a shadow synchronization resource/oic/shadow/sync of the second shadow device (obtained in step S615); optionally, the update request may further include a shadow service identifier of the cloud server; at this point, the configurator has configured the shadow service identification of the cloud server by default.
It should be noted that, the configurator may associate the server device with the first shadow device first, and then request to generate the second shadow device; step S611 is executed first, and then steps S612 to S615 are executed. The configurator may also request to generate the second shadow device first, and then associate the server device with the first shadow device; step S612 to step S615 are executed first, and then step S611 is executed. Moreover, the configurator may associate the server device with the first shadow device first, and then associate the first shadow device with the second shadow device; step S611 is executed first, and then step S616 is executed. The configurator may associate the first shadow device and the second shadow device first, and then associate the server device and the first shadow device; step S616 is executed first, and then step S611 is executed.
In step S617, the configurator starts resource synchronization for the server device, the first shadow device on the cloud proxy device, and the second shadow device on the cloud server.
In the embodiment of the invention, after the resource synchronization is started, the resource synchronization is performed between the server device and the first shadow device on the cloud proxy device, and the resource synchronization is performed between the first shadow device on the cloud proxy device and the second shadow device on the cloud server.
In step S618, the second shadow device on the cloud server sends a resource synchronization request to the first shadow device on the cloud proxy device.
In the embodiment of the present invention, a target resource in the resource synchronization request is a shadow synchronization resource (/ oic/shadow/sync resource), a device identifier is a device identifier of a second shadow device on the cloud server, and a URI of the resource has a device identifier of the cloud-limited device.
Step S619, the first shadow device on the cloud proxy device sends a resource synchronization request to the server device.
In the embodiment of the invention, the target resource of the resource synchronization request is a shadow synchronization resource (/ oic/shadow/sync resource), the device identifier is a device identifier of a first shadow device on the cloud proxy device, and the device identifier of the server device is removed from the URI of the resource.
In steps S620 to S621, the server device sends the resource synchronization result to the first shadow device on the cloud proxy device, and the first shadow device on the cloud proxy device sends the resource synchronization result to the second shadow device on the cloud server.
As shown in fig. 8, a detailed processing flow of another method for generating a shadow device according to an embodiment of the present invention is that a server device controls generation of a shadow device, and includes the following steps:
step S801, the server device discovers the cloud proxy device.
In specific implementation, the server device sends a resource discovery request to the cloud agent device, wherein the resource discovery request specifies the resource type of the cloud agent device. For example, the resource type of the cloud proxy device is oic.
Step S802, the cloud proxy device sends a response to the server device to discover the cloud proxy device.
During specific implementation, discovering that the cloud proxy equipment responses carry resource links of the cloud proxy equipment; the resource link of the cloud proxy device comprises at least one of the following items: the resource type of the cloud proxy equipment, the URI of the cloud proxy equipment resource, and the resource link of the endpoint cloud proxy equipment of the cloud proxy equipment resource.
For example, the resource type of the cloud proxy device returned by the cloud proxy device to the server device is oic.r.cloudproxy, the URI of the cloud proxy device resource is/oic/cloudproxy, and the endpoint of the cloud proxy resource is maps: /[ fe80: :2]:3333.
in step S803, the server device requests the cloud proxy device to obtain shadow service information.
In step S804, the cloud proxy device returns shadow service information to the server device.
Wherein the shadow service information comprises at least one of the following: an identification of the shadow service and an endpoint of the shadow service.
In step S805, the server device requests the shadow service of the cloud proxy device to generate a shadow device for the server device.
In some embodiments, generating the request of the shadow device may include: and the indication of the cloud-end restricted device is used for indicating that the original device requesting to generate the shadow device is the cloud-end restricted device.
During specific implementation, the server device sends a creation request to the shadow generation resource/oic/shadow/gen of the cloud proxy device, wherein the creation request carries an original resource link of the server device and an endpoint of the server device. The original resource link of the server-side equipment is used for generating corresponding copied resources for the original resources of the server-side equipment.
Optionally, the creation request may further carry an indication of a server device, which is used to indicate that an original device generating the shadow device is a cloud-end restricted device.
In step S806, the shadow service of the cloud proxy device generates a first shadow device for the server device.
Here, the URI of the replicated resource of the first shadow device includes a device identification of the server device.
In some embodiments, the description information of the first shadow device may indicate that the first shadow device is a cloud-limited device.
Optionally, the cloud proxy device issues the copied resource link of the first shadow device to a resource discovery directory of the cloud proxy device.
In step S807, the cloud proxy device sends a response for generating the first shadow device to the server device.
In some embodiments, the resource link of the first shadow device generated on the cloud proxy device is carried in the first shadow device response.
Wherein the resource link comprises at least one of: resource link of the/oic/res resource of the shadow device and resource link of the shadow synchronization resource (/ oic/shadow/sync resource); the/oic/res resource and/or the shadow synchronization resource link includes an identification of the shadow device on the cloud proxy device and an endpoint of the shadow device.
Optionally, generating the first shadow device response may further indicate that the first shadow device is a cloud-limited device.
Step S808, the server device associates itself with the first shadow device on the cloud proxy device.
In specific implementation, the server device updates its shadow configuration resource/oic/shadow/conf, and configures the identifier of the first shadow device on the cloud proxy device, the endpoint of the first shadow device, and the shadow synchronization resource/oic/shadow/sync of the first shadow device for itself.
Wherein, the shadow synchronization resource/oic/shadow/sync of the first shadow device is obtained in step S807.
Step S809, the cloud proxy device requests the shadow service of the cloud server to generate a second shadow device on the cloud server for the first shadow device.
Optionally, the create shadow device request may indicate that the original device (the first shadow device) requesting the creation of the shadow device is a cloud-limited device.
In specific implementation, the cloud proxy device sends a creation request to the shadow generation resource/oic/shadow/gen of the cloud server, wherein the creation request carries at least one of the following items: the cloud proxy device comprises a shadow synchronization resource/oic/shadow/sync of the first shadow device, a copy resource link on the first shadow device (namely, a copy resource generated by the cloud proxy device for an original resource of the server device), and an endpoint of the first shadow device.
In some optional embodiments, the create request further indicates that the original device that generated the shadow device (i.e., the first shadow device) is a cloud-limited device.
In step S810, the shadow service of the cloud server generates a second shadow device for the first shadow device.
In the embodiment of the present invention, the generated URI of the copied resource of the second shadow device remains unchanged, that is, the target URI of the shadow device does not include the device identifier of the cloud proxy device.
Optionally, the generated second shadow device may indicate that the second shadow device is a cloud-limited device.
Optionally, the cloud server issues the copied resource link of the second shadow device to a resource discovery directory of the cloud server.
In step S811, the cloud server sends a create shadow device response to the cloud proxy device.
In the embodiment of the invention, a resource link carrying a second shadow device in the response of the shadow device is generated, wherein the resource link comprises a resource link of an oic/res resource of the shadow device and a resource link of a shadow synchronous resource (/ oic/shadow/sync resource); the/oic/res resource and/or the shadow synchronization resource link includes an identification of a second shadow device on the cloud server, an endpoint of the second shadow device.
Optionally, the generating the shadow device response may further indicate that the second shadow device is a cloud-limited device.
In step S812, the first shadow device on the cloud proxy device is associated with the second shadow device on the cloud server.
During specific implementation, a first shadow device on the cloud proxy device updates a shadow configuration resource/oic/shadow/conf of the first shadow device, and configures an identifier of a second shadow device on the cloud server, an endpoint of the second shadow device and a shadow synchronization resource/oic/shadow/sync of the second shadow device for the first shadow device; optionally, the first shadow device on the cloud proxy device may also configure itself with a shadow service identifier on the cloud server.
It should be noted that, the association between the server device and the first shadow device may occur before the cloud server generates the second shadow device; that is, step S808 is executed first, and then steps S809 to S811 are executed. The association of the server device with the first shadow device may also occur after the cloud server generates the second shadow device; that is, steps S809 to S811 are executed first, and then step S808 is executed. Moreover, the association between the server device and the first shadow device and the association between the first shadow device and the second shadow device do not have the sequence of execution, that is, step S809 may be executed first, and then step S812 may be executed; step S812 may be executed first, and then step S809 may be executed.
In steps S813 to S814, the server device, the first shadow device on the cloud proxy device, and the second shadow device on the cloud server start resource synchronization.
In specific implementation, resource synchronization may be started by any one of the server device, the first shadow device on the cloud management device, and the second shadow device on the cloud server.
In the embodiment of the invention, after the resource synchronization is started, the resource synchronization is performed between the server device and the first shadow device on the cloud proxy device, and the resource synchronization is performed between the first shadow device on the cloud proxy device and the second shadow device on the cloud server.
In step S815, the second shadow device on the cloud server sends a resource synchronization request to the first shadow device on the cloud proxy device.
In the embodiment of the present invention, a target resource in the resource synchronization request is a shadow synchronization resource (/ oic/shadow/sync resource), a device identifier is a device identifier of a second shadow device on the cloud server, and a URI of the resource has a device identifier of a cloud-limited device.
In step S816, the first shadow device on the cloud proxy device sends a resource synchronization request to the server device.
In the embodiment of the invention, the target resource of the resource synchronization request is a shadow synchronization resource (/ oic/shadow/sync resource), the device identifier is a device identifier of a first shadow device on the cloud proxy device, and the device identifier of the server device is removed from the URI of the resource.
In steps S817 to S818, the server device sends the resource synchronization result to the first shadow device on the cloud proxy device, and the first shadow device on the cloud proxy device sends the resource synchronization result to the second shadow device on the cloud server.
In order to implement the above method for generating a shadow device, an embodiment of the present invention further provides a cloud proxy device, where a composition structure of the cloud proxy device 900 is as shown in fig. 9, and the method includes:
a first receiving unit 901 configured to receive a first request message;
a first processing unit 902, configured to generate a first shadow device of the server device based on the first request message.
In the embodiment of the present invention, the first request message is sent to the cloud agent device by a configurator, or the first request message is sent to the cloud agent device by the server device.
In this embodiment of the present invention, the first receiving unit 901 is further configured to receive shadow service information of the cloud proxy device sent by a configurator. Wherein the shadow service information of the cloud proxy device includes at least one of the following: an identification of the shadow service on the cloud proxy device, and an endpoint of the shadow service.
In an embodiment of the present invention, the shadow service information of the cloud proxy device includes: the original resource link to the cloud proxy device needs to be copied.
In an embodiment of the present invention, the first request message includes at least one of the following: the original resource link of the server-side equipment and the endpoint of the server-side equipment.
In this embodiment of the present invention, the first request message includes first indication information, where the first indication information is used to indicate that the server device does not have a capability of directly accessing the cloud server.
In this embodiment of the present invention, the uniform resource identifier of the replicated resource of the first shadow device includes a device identifier of the server device.
In this embodiment of the present invention, the description information of the first shadow device includes second indication information, where the second indication information is used to indicate that the first shadow device does not have a capability of directly accessing a cloud server.
In this embodiment of the present invention, the first processing unit 902 is further configured to issue the copied resource link of the first shadow device to the resource discovery directory of the cloud proxy device.
In this embodiment of the present invention, the cloud proxy device 900 further includes:
a first sending unit 903 configured to send a first request response message; the first request response message includes: a resource link of the first shadow device. And the first request response message is sent to a configurator, or the first request response message is sent to the server side equipment.
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.
In some embodiments, the first request response message further includes third indication information indicating that the first shadow device does not have the capability of directly accessing a cloud server.
In this embodiment of the present invention, the cloud proxy device 900 further includes: a second sending unit 904, 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.
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.
In some embodiments, the second request message includes fourth indication information, where the fourth indication information is used to indicate that the server device does not have the capability of directly accessing a cloud server.
In this embodiment of the present invention, the first receiving unit 901 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.
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.
In some embodiments, the second request response message further includes fifth indication information indicating that the second shadow device does not have the capability of directly accessing a cloud server.
In this embodiment of the present invention, the first processing unit 902 is further configured to associate the first shadow device with the second shadow device.
In some embodiments, the first processing unit 902 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.
In other embodiments, the first processing unit 902 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.
In this embodiment of the present invention, the first processing unit 902 is further configured to start resource synchronization between the first shadow device and the second shadow device, and resource synchronization between the first shadow device and the server device.
In this embodiment of the present invention, the cloud proxy device 900 further includes:
a third sending unit 905, configured to send a resource synchronization request to the server device.
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.
In this embodiment of the present invention, the first receiving unit 901 is further configured to receive a first resource discovery request message;
correspondingly, the cloud proxy device 900 further includes a fourth sending unit 906, 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.
Wherein the first resource discovery request message indicates a resource type of the cloud proxy device; the resource link of the cloud proxy device comprises at least one of the following items: the resource type of the cloud agent device and the endpoint of the resource of the cloud agent device.
In the embodiment of the present invention, the first resource discovery request message is sent by a configurator, or sent by the server device; correspondingly, the first resource discovery request response message is sent to the configurator or is sent to the server side equipment.
In this embodiment of the present invention, the first receiving unit 901 is further configured to receive a request message for obtaining shadow service information;
correspondingly, the cloud proxy device 900 further includes a fifth sending unit 907 configured to send a request response message for obtaining the shadow service information.
Wherein the request response message for obtaining the shadow service information comprises at least one of the following items: an identification of the shadow service and an endpoint of the shadow service.
The request message for obtaining the shadow service information is sent by a configurator or is sent by a server-side device; correspondingly, the request response message for obtaining the shadow service information is sent to a configurator or is sent to the server side equipment.
In order to implement the method for generating a shadow device, an embodiment of the present invention further provides a server device, where a structure of the server device 1000 is as shown in fig. 10, and includes:
a sixth sending unit 1001, 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;
the second receiving unit 1002 is configured to receive the first request response message.
In an embodiment of the present invention, the first request message includes at least one of the following: the original resource link of the server-side equipment and the endpoint of the server-side equipment.
In some embodiments, the first request message further includes first indication information, where the first indication information is used to indicate that the server device does not have the capability of directly accessing a cloud server.
Wherein the uniform resource identifier of the replicated resource of the first shadow device comprises a device identifier of the server device. The description information of the first shadow device comprises second indication information, and the second indication information is used for indicating that the first shadow device does not have the capability of directly accessing the cloud server.
The server device 1000 further includes: a second processing unit 1003 configured to associate the server device with the first shadow device.
In this embodiment of the present invention, the second processing unit 1003 is configured to, by updating the shadow configuration resource of the server device, configure at least one of the following for 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.
In this embodiment of the present invention, the server device 1000 further includes:
a third processing unit 1004 configured to start resource synchronization between the server device and the first shadow device.
In this embodiment of the present invention, the second receiving unit 1002 is further configured to receive a resource synchronization request sent by the cloud proxy device.
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.
In this embodiment of the present invention, the sixth sending unit 1001 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.
Wherein the first resource discovery request message indicates a resource type of the cloud proxy device; the resource link of the cloud proxy device comprises at least one of the following items: the resource type of the cloud agent device and the endpoint of the resource of the cloud agent device.
In this embodiment of the present invention, the sixth sending unit 1001 is further configured to send a request message for obtaining shadow service information to the cloud proxy device;
the second receiving unit 1002 is further configured to receive a request response message for obtaining shadow service information, where the request response message is sent by the cloud proxy device. Wherein the request response message for obtaining shadow service information includes at least one of the following: an identification of the shadow service and an endpoint of the shadow service.
In order to implement the method for generating a shadow device, an embodiment of the present invention further provides a cloud server, where a composition structure of the cloud server 1100, as shown in fig. 11, includes:
a third receiving unit 1101 configured to receive a second request message;
a fourth processing unit 1102 configured to generate a second shadow device for the first shadow device of the server device based on the second request message.
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.
In some embodiments, the second request message further includes fourth indication information, where the fourth indication information is used to indicate that the server device does not have the capability of directly accessing a cloud server.
In this embodiment of the present invention, the cloud server 1100 further includes:
a seventh transmitting unit 1103 configured to transmit the second request response message; the second request response message includes: a resource link of the second shadow device. 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.
In some embodiments, the second request response message further includes fifth indication information indicating that the second shadow device does not have the capability of directly accessing a cloud server.
In this embodiment of the present invention, the fourth processing unit 1102 is further configured to start resource synchronization between the second shadow device and the first shadow device.
In the embodiment of the present invention, the second request message is sent by a configurator, or the second request message is sent by a cloud agent device. Correspondingly, the second request response message is sent to the configurator or sent to the cloud agent device.
In this embodiment of the present invention, the fourth processing unit 1102 is further configured to issue a copied resource link of the second shadow device to a resource discovery directory of the cloud server.
In order to implement the method for generating a shadow device, an embodiment of the present invention further provides a configurator, where as shown in fig. 12, the configurator 1200 includes:
an eighth sending unit 1201, 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 1202 configured to receive the first request response message.
In an embodiment of the present invention, the first request message includes at least one of the following: the original resource link of the server-side equipment and the endpoint of the server-side equipment.
In some embodiments, the first request message further includes first indication information, where the first indication information is used to indicate that the server device does not have the capability of directly accessing a cloud server.
In this embodiment of the present invention, the uniform resource identifier of the copy resource of the first shadow device includes a device identifier of the server device.
In this embodiment of the present invention, the description information of the first shadow device includes second indication information, where the second indication information is used to indicate that the first shadow device does not have a capability of directly accessing a cloud server.
In this embodiment of the present invention, the eighth sending unit 1201 is further 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.
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.
In some embodiments, the second request message includes fourth indication information, where the fourth indication information is used to indicate that the server device does not have the capability of directly accessing a cloud server.
In this embodiment of the present invention, the fourth receiving unit 1202 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. 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.
In this embodiment of the present invention, the second request response message includes fifth indication information, where the fifth indication information is used to indicate that the second shadow device does not have a capability of directly accessing the cloud server.
In this embodiment of the present invention, the configurator 1200 further includes: a fifth processing unit 1203 configured to associate the first shadow device with the second shadow device.
In this embodiment of the present invention, the fifth processing unit 1203 is configured to send an update request message for a shadow configuration resource 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.
In this embodiment of the present invention, the configurator 1200 further includes: a sixth processing unit 1204, 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.
In this embodiment of the present invention, the eighth sending unit 1201 is further configured to send a second resource discovery request message to the server device;
the fourth receiving unit 1202 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 second resource discovery request message indicates the resource type of the server-side equipment; the resource link of the server device comprises at least one of the following items: the resource type of the server device and the endpoint of the resource of the server device.
In this embodiment of the present invention, the eighth sending unit 1201 is further configured to send a first resource discovery request message to the cloud proxy device;
the fourth receiving unit 1202 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 the resources of the cloud proxy equipment are linked.
Wherein the first resource discovery request message indicates a resource type of the cloud proxy device, and the resource link of the cloud proxy device includes at least one of: the resource type of the cloud agent device and the endpoint of the resource of the cloud agent device.
In this embodiment of the present invention, the eighth sending unit 1201 is further configured to send a request message for obtaining shadow service information to the cloud proxy device;
the fourth receiving unit 1202 is further configured to receive a request response message for obtaining shadow service information, which is sent by the cloud proxy device.
Wherein the request response message for obtaining the shadow service information includes at least one of the following:
an identification of the shadow service and an endpoint of the shadow service.
The embodiment of the invention also provides cloud proxy equipment, which comprises a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is used for executing the steps of the generation method of the shadow equipment executed by the cloud proxy equipment when the computer program is run.
The embodiment of the present invention further provides a server device, which includes a processor and a memory for storing a computer program capable of running on the processor, where the processor is configured to execute the steps of the method for generating a shadow device executed by the server device when running the computer program.
The embodiment of the invention also provides a cloud server, which comprises a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is used for executing the steps of the method for generating the shadow device executed by the cloud server when the computer program is run.
The embodiment of the present invention further provides a configurator, which includes 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 the shadow device executed by the configurator when running the computer program.
It should be noted that, in the embodiment of the present invention, the cloud agent device, the server device, the cloud server, and the configurator may all be OCF devices.
Fig. 13 is a schematic diagram of a hardware composition structure of electronic devices (a cloud agent device, a server device, a cloud server, and a configurator) according to an embodiment of the present invention, where the electronic device 700 includes: at least one processor 701, memory 702, and at least one network interface 704. The various components in the electronic device 700 are coupled together by a bus system 705. It is understood that the bus system 705 is used to enable connected communication between these components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various busses are labeled in figure 13 as the bus system 705.
It will be appreciated that the memory 702 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. The non-volatile Memory may be ROM, programmable Read-Only Memory (PROM), erasable Programmable Read-Only Memory (EPROM), electrically Erasable Programmable Read-Only Memory (EEPROM), magnetic random access Memory (FRAM), flash Memory (Flash Memory), magnetic surface Memory, optical Disc, or Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), synchronous Static Random Access Memory (SSRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (ESDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), synchronous Dynamic Random Access Memory (SLDRAM), direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 702 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 702 in embodiments of the present invention is used to store various types of data to support the operation of the electronic device 700. Examples of such data include: any computer program for operating on the electronic device 700, such as the application program 7022. Programs that implement methods in accordance with embodiments of the present invention can be included within application program 7022.
The method disclosed in the above embodiments of the present invention may be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 701. The Processor 701 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 701 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 702, and the processor 701 reads the information in the memory 702 and performs the steps of the method in combination with its hardware.
In an exemplary embodiment, the electronic Device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, programmable Logic Devices (PLDs), complex Programmable Logic Devices (CPLDs), FPGAs, general purpose processors, controllers, MCUs, MPUs, or other electronic components for performing the foregoing methods.
The embodiment of the application also provides a storage medium for storing the computer program.
Optionally, the storage medium may be applied to the cloud agent device in the embodiment of the present application, and the computer program enables the computer to execute corresponding processes in the methods executed by the cloud agent device in the embodiment of the present application, which is not described herein again for brevity.
Optionally, the storage medium may be applied to the server device in the embodiment of the present application, and the computer program enables the computer to execute corresponding processes in the methods executed by the server device in the embodiment of the present application, which is not described herein again for brevity.
Optionally, the storage medium may be applied to a cloud server in the embodiment of the present application, and the computer program enables a computer to execute corresponding processes in each method executed by the cloud server in the embodiment of the present application, which is not described herein again for brevity.
Optionally, the storage medium may be applied to a configurator in the embodiment of the present application, and the computer program enables a computer to execute corresponding processes in each method executed by the configurator in the embodiment of the present application, which is not described herein again for brevity.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. that are within the spirit and principle of the present invention should be included in the present invention.
Claims (172)
1. A method of generating a shadow device, the method comprising:
the cloud proxy equipment receives a first request message;
the cloud proxy equipment generates first shadow equipment of the server equipment based on the first request message;
the method further comprises the following steps:
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.
2. The method of claim 1, wherein the first request message is sent by a configurator to the cloud proxy device.
3. 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.
4. 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.
5. The method of claim 3, wherein the shadow service information of the cloud proxy device comprises:
the original resource link to the cloud proxy device needs to be copied.
6. The method of claim 1, wherein the first request message is sent by the server device to the cloud proxy device.
7. The method of claim 1 or 2, wherein the first request message comprises at least one of:
the original resource of the server-side equipment is linked with the endpoint of the server-side equipment.
8. The method according to claim 1 or 2, 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.
9. The method of claim 1 or 2, wherein the uniform resource identifier of the replicated resource of the first shadow device comprises a device identification of the server device.
10. The method of claim 1 or 2, 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.
11. The method according to claim 1 or 2, 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.
12. The method according to claim 1 or 2, 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.
13. 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.
14. The method of claim 12, wherein the first request response message further includes third indication information indicating that the first shadow device does not have a capability to directly access a cloud server.
15. The method of claim 12, wherein the first request response message is sent to a configurator.
16. The method of claim 12, wherein the first request response message is sent to the server device.
17. The method of claim 1, 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.
18. The method of claim 17, wherein the second request message includes fourth indication information, and the fourth indication information is used to indicate that the server device does not have a capability of directly accessing a cloud server.
19. The method of claim 17 or 18, 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.
20. The method of claim 19, 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.
21. The method of claim 19, wherein the second request response message further includes fifth indication information indicating that the second shadow device does not have a capability to directly access a cloud server.
22. The method of claim 19, wherein the method further comprises:
the cloud proxy device associates the first shadow device and the second shadow device.
23. The method of claim 22, 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.
24. The method of claim 22, 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 which is sent by a configurator and aims at the shadow configuration resource;
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.
25. The method according to claim 1 or 2, wherein the method further comprises:
and the cloud proxy equipment starts the resource synchronization between the first shadow equipment and the second shadow equipment and the resource synchronization between the first shadow equipment and the server-side equipment.
26. The method of claim 25, wherein the method further comprises:
and the cloud proxy equipment sends a resource synchronization request to the server equipment.
27. The method of claim 26, 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.
28. The method according to claim 1 or 2, 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 the resources of the cloud proxy equipment are linked.
29. The method of claim 28, wherein the first resource discovery request message indicates a resource type of the cloud proxy device.
30. The method of claim 28, 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.
31. The method of claim 28, wherein the first resource discovery request message is sent by a configurator or sent by the server device.
32. The method of claim 28, wherein the first resource discovery request response message is sent to a configurator or to the server device.
33. The method according to claim 1 or 2, 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.
34. The method of claim 33, 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.
35. The method of claim 33, wherein the request message to obtain shadow service information is sent by a configurator or sent by a server device.
36. The method of claim 33, wherein the request response message to obtain shadow service information is sent to a configurator or to a server device.
37. A method of generating a shadow device, the method comprising:
the method comprises the steps that a server device sends a first request message to a cloud proxy device, wherein the first request message is used for requesting the cloud proxy device to generate a first shadow device of the server device; the cloud proxy device is further 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 server side equipment receives a first request response message.
38. The method of claim 37, 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.
39. The method of claim 37 or 38, 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.
40. The method of claim 37 or 38, wherein the uniform resource identifier of the replicated resource of the first shadow device includes a device identification of the server device.
41. The method of claim 37 or 38, 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.
42. The method of claim 37 or 38, wherein the method further comprises:
and the server side equipment associates the server side equipment with the first shadow equipment.
43. The method of claim 42, 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.
44. The method of claim 37 or 38, wherein the method further comprises:
and the server side equipment starts the resource synchronization between the server side equipment and the first shadow equipment.
45. The method of claim 44, wherein the method further comprises:
and the server side equipment receives a resource synchronization request sent by the cloud side agent equipment.
46. The method of claim 45, 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 comprise the equipment identification of the server-side equipment.
47. The method of claim 37 or 38, 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.
48. The method of claim 47, wherein the first resource discovery request message indicates a resource type of the cloud proxy device.
49. The method of claim 47, 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.
50. The method of claim 37 or 38, 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.
51. The method of claim 50, 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.
52. A method of generating a shadow device, the method comprising:
the cloud server receives a second request message;
the cloud server generates a second shadow device for the first shadow device of the server device based on the second request message; the first shadow device is generated by cloud proxy equipment based on a first request message of the server-side equipment; the second request message is sent by the cloud agent device.
53. The method of claim 52, 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.
54. The method of claim 52 or 53, 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.
55. The method of claim 52 or 53, 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.
56. The method of claim 55, 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.
57. The method of claim 55, wherein the second request response message further includes fifth indication information indicating that the second shadow device does not have a capability to directly access a cloud server.
58. The method of claim 52 or 53, wherein the method further comprises:
the cloud server starts resource synchronization between the second shadow device and the first shadow device.
59. The method of claim 52 or 53, wherein the second request message may also be sent by a configurator.
60. The method of claim 52 or 53, wherein the second request response message is sent to the configurator or to the cloud proxy device.
61. The method of claim 52 or 53, wherein the method further comprises:
the cloud server issues the replicated resource link of the second shadow device to a resource discovery directory of the cloud server.
62. 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;
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.
63. The method of claim 62, wherein the first request message comprises at least one of:
the original resource of the server-side equipment is linked with the endpoint of the server-side equipment.
64. The method of claim 62 or 63, 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.
65. The method of claim 62 or 63, wherein a uniform resource identifier of the replicated resource of the first shadow device comprises a device identification of the server device.
66. The method of claim 62 or 63, wherein the description information of the first shadow device includes second indication information to indicate that the first shadow device does not have a capability to directly access a cloud server.
67. The method of claim 66, 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.
68. The method of claim 62 or 67, 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.
69. The method of claim 67, 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.
70. The method of claim 69, 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.
71. The method of claim 69 or 70, 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.
72. The method of claim 71, wherein the method further comprises:
the configurator associates the first shadow device and the second shadow device.
73. The method of claim 72, 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.
74. The method of claim 62 or 63, 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.
75. The method of claim 62 or 63, 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.
76. The method of claim 75, wherein the second resource discovery request message indicates a resource type of a server device.
77. The method of claim 75, wherein the resource link of the server device comprises at least one of:
the resource type of the server-side device and the endpoint of the resource of the server-side device.
78. The method of claim 62 or 63, 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.
79. The method of claim 78, wherein the first resource discovery request message indicates a resource type of the cloud proxy device.
80. The method of claim 78, 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.
81. The method of claim 62 or 63, 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.
82. The method of claim 81, 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.
83. A cloud proxy device, the cloud proxy device comprising:
a first receiving unit configured to receive a first request message;
the first processing unit is configured to generate a first shadow device of the server device based on the first request message;
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.
84. The cloud proxy device of claim 83, wherein the first request message is sent by a configurator to the cloud proxy device.
85. The cloud proxy device of claim 83 or 84, wherein the first receiving unit is further configured to receive shadow service information of the cloud proxy device sent by a configurator.
86. The cloud proxy device of claim 85, 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.
87. The cloud proxy device of claim 85, wherein the shadow service information of the cloud proxy device comprises:
the original resource link to the cloud proxy device needs to be copied.
88. The cloud proxy device of claim 83, wherein the first request message is sent by the server device to the cloud proxy device.
89. The cloud proxy device of claim 83 or 84, wherein the first request message comprises at least one of:
the original resource of the server-side equipment is linked with the endpoint of the server-side equipment.
90. The cloud proxy device of claim 83 or 84, 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.
91. The cloud proxy device of claim 83 or 84, wherein a uniform resource identifier of the replicated resource of the first shadow device comprises a device identification of the server device.
92. The cloud proxy device of claim 83 or 84, 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.
93. The cloud proxy device of claim 83 or 84, 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.
94. The cloud proxy device of claim 83 or 84, 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.
95. The cloud proxy device of claim 94, 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.
96. The cloud proxy device of claim 94, 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.
97. The cloud proxy device of claim 94, wherein the first request response message is sent to a configurator.
98. The cloud proxy device of claim 94, wherein the first request response message is sent to the server device.
99. The cloud proxy device of claim 83, 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.
100. The cloud agent of claim 83 or 99, 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.
101. The cloud proxy device of claim 100, 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.
102. The cloud proxy device of claim 101, 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.
103. The cloud proxy device of claim 101 or 102, 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.
104. The cloud proxy device of claim 101 or 102, wherein the first processing unit is further configured to associate the first shadow device with the second shadow device.
105. The cloud proxy device of claim 104, 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.
106. The cloud proxy device of claim 104, 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.
107. The cloud proxy device of claim 83 or 84, wherein the first processing unit is further configured to initiate resource synchronization between the first shadow device and a second shadow device, and between the first shadow device and the server device.
108. The cloud proxy device of claim 107, wherein the cloud proxy device further comprises:
a third sending unit, configured to send a resource synchronization request to the server device.
109. The cloud proxy device of claim 108, 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.
110. The cloud proxy device of claim 83 or 84, 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 the resources of the cloud proxy equipment are linked.
111. The cloud proxy device of claim 110, wherein the first resource discovery request message indicates a resource type of the cloud proxy device.
112. A cloud proxy device as claimed in claim 110, 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.
113. The cloud proxy device of claim 110, wherein the first resource discovery request message is sent by a configurator or sent by the server device.
114. The cloud proxy device of claim 110, wherein the first resource discovery request response message is sent to a configurator or to the server device.
115. The cloud proxy device of claim 83 or 84, 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.
116. The cloud proxy device of claim 115, 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.
117. The cloud proxy device of claim 115, wherein the request message to obtain shadow service information is sent by a configurator or sent by a server device.
118. The cloud proxy device of claim 115, wherein the request response message to obtain shadow service information is sent to a configurator or to a server device.
119. 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; the cloud proxy device is further 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;
a second receiving unit configured to receive the first request response message.
120. The server device of claim 119, 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.
121. The server device of claim 119 or 120, 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.
122. The server device of claim 119 or 120, wherein the uniform resource identifier of the replicated resource of the first shadow device comprises a device identification of the server device.
123. The server device of claim 119 or 120, wherein the description information of the first shadow device includes second indication information, and the second indication information is used for indicating that the first shadow device does not have the capability of directly accessing a cloud server.
124. The server-side device of claim 119 or 120, wherein the server-side device further comprises:
the second processing unit is configured to associate the server device with the first shadow device.
125. The server device of claim 124, 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.
126. The server-side device of claim 119 or 120, wherein the server-side device further comprises:
a third processing unit configured to start resource synchronization between the server device and the first shadow device.
127. The server device of claim 126, wherein the second receiving unit is further configured to receive a resource synchronization request sent by the cloud proxy device.
128. The server device of claim 127, 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 comprise the equipment identification of the server-side equipment.
129. The server device according to claim 119 or 120, 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.
130. The server device of claim 129, wherein the first resource discovery request message indicates a resource type of the cloud proxy device.
131. The server device of claim 129, 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.
132. The server device according to claim 119 or 120, 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.
133. The server device of claim 132, 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.
134. A cloud server, the cloud server comprising:
a third receiving unit configured to receive the second request message;
a fourth processing unit, configured to generate a second shadow device for a first shadow device of the server device based on the second request message; the first shadow device is generated by cloud proxy equipment based on a first request message of the server-side equipment; the second request message is sent by the cloud agent device.
135. The cloud server of claim 134, 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.
136. The cloud server of claim 134 or 135, 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.
137. The cloud server of claim 134 or 135, 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.
138. The cloud server of claim 137, 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.
139. The cloud server of claim 137, 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.
140. The cloud server of claim 134 or 135, wherein the fourth processing unit is further configured to initiate resource synchronization between the second shadow device and the first shadow device.
141. The cloud server of claim 134 or 135, wherein the second request message is further transmittable by a configurator.
142. The cloud server of claim 137, wherein the second request response message is sent to a configurator or to a cloud proxy device.
143. The cloud server of claim 134 or 135, wherein the fourth processing unit is further configured to publish a replicated resource link of the second shadow device to a resource discovery directory of the cloud server.
144. 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 eighth sending unit is further 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.
145. The configurator of claim 144, wherein said 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.
146. The configurator of claim 144 or 145, 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.
147. The configurator of claim 144 or 145, wherein a uniform resource identifier of the replicated resource of the first shadow device includes a device identification of the server device.
148. The configurator of claim 144 or 145, 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.
149. The configurator of claim 144, wherein said 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.
150. The configurator of claim 144 or 149, 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.
151. The configurator of claim 144 or 145, 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.
152. The configurator of claim 151, 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.
153. The configurator of claim 151, 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.
154. The configurator of claim 151, wherein the configurator further comprises:
a fifth processing unit configured to associate the first shadow device and the second shadow device.
155. The configurator of claim 154, 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 comprises 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.
156. The configurator of claim 144 or 145, wherein the configurator further comprises:
a sixth processing unit, configured to configure resource synchronization between the first shadow device and a second shadow device, and resource synchronization between the first shadow device and the server device.
157. The configurator of claim 144 or 145,
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 linking the resources of the server-side equipment.
158. The configurator of claim 157, wherein the second resource discovery request message indicates a resource type of a server device.
159. The configurator of claim 157, wherein the resource link of the server device comprises at least one of:
the resource type of the server-side device and the endpoint of the resource of the server-side device.
160. The configurator of claim 144 or 145, wherein,
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.
161. The configurator of claim 160, wherein the first resource discovery request message indicates a resource type of the cloud proxy device.
162. The configurator of claim 160, 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.
163. The configurator of claim 144 or 145, wherein,
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.
164. The configurator of claim 163, 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.
165. 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 36 when the computer program is run.
166. 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 37 to 51 when the computer program is run.
167. A cloud server comprising a processor and a memory for storing a computer program capable of running on the processor, wherein,
the processor is used for executing the steps of the generating method of the shadow device according to any one of claims 52 to 61 when the computer program is run.
168. A configurator comprising a processor and a memory for storing a computer program capable of running on the processor, wherein,
the processor is configured to perform the steps of the method of generating a shadow device of any of claims 62 to 82 when the computer program is run.
169. 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 36.
170. A storage medium storing an executable program which, when executed by a processor, implements the shadow device creation method of any one of claims 37 to 51.
171. A storage medium storing an executable program which, when executed by a processor, implements the shadow device creation method of any one of claims 52 to 61.
172. A storage medium storing an executable program which, when executed by a processor, implements the shadow device creation method of any of claims 62 to 82.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/097580 WO2021012235A1 (en) | 2019-07-24 | 2019-07-24 | Method for generating shadow device, device, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113454966A CN113454966A (en) | 2021-09-28 |
CN113454966B true CN113454966B (en) | 2023-02-17 |
Family
ID=74193091
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201980092672.0A Active CN113454966B (en) | 2019-07-24 | 2019-07-24 | Method and device for generating shadow device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113454966B (en) |
WO (1) | WO2021012235A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114726806A (en) * | 2022-03-29 | 2022-07-08 | 驭势(上海)汽车科技有限公司 | Intelligent device shadow management method, system, device, equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108809950A (en) * | 2018-05-21 | 2018-11-13 | 中国科学院信息工程研究所 | A kind of wireless router guard method and system based on high in the clouds PowerShadow |
CN108880887A (en) * | 2018-06-20 | 2018-11-23 | 山东大学 | Accompany and attend to robot cloud service system and method based on micro services |
CN109618202A (en) * | 2018-12-24 | 2019-04-12 | 深圳创维-Rgb电子有限公司 | Control method, TV and the readable storage medium storing program for executing of peripheral hardware |
WO2019078489A1 (en) * | 2017-10-19 | 2019-04-25 | 에스케이텔레콤 주식회사 | Method and server device for providing internet of things platform service |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030101065A1 (en) * | 2001-11-27 | 2003-05-29 | International Business Machines Corporation | Method and apparatus for maintaining conversation threads in electronic mail |
US20080126381A1 (en) * | 2006-08-10 | 2008-05-29 | John Gatti | Methods for spanning namespaces in a CIM schema |
US10545749B2 (en) * | 2014-08-20 | 2020-01-28 | Samsung Electronics Co., Ltd. | System for cloud computing using web components |
US20190199751A1 (en) * | 2017-12-21 | 2019-06-27 | Forcepoint, LLC | Shadow IT Discovery Using Traffic Signatures |
CN114025004A (en) * | 2018-09-11 | 2022-02-08 | 华为技术有限公司 | Method, device and equipment for processing cloud service in cloud system |
CN109359487B (en) * | 2018-10-09 | 2022-02-18 | 湖北文理学院 | Extensible security shadow storage and tag management method based on hardware isolation |
-
2019
- 2019-07-24 CN CN201980092672.0A patent/CN113454966B/en active Active
- 2019-07-24 WO PCT/CN2019/097580 patent/WO2021012235A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019078489A1 (en) * | 2017-10-19 | 2019-04-25 | 에스케이텔레콤 주식회사 | Method and server device for providing internet of things platform service |
CN108809950A (en) * | 2018-05-21 | 2018-11-13 | 中国科学院信息工程研究所 | A kind of wireless router guard method and system based on high in the clouds PowerShadow |
CN108880887A (en) * | 2018-06-20 | 2018-11-23 | 山东大学 | Accompany and attend to robot cloud service system and method based on micro services |
CN109618202A (en) * | 2018-12-24 | 2019-04-12 | 深圳创维-Rgb电子有限公司 | Control method, TV and the readable storage medium storing program for executing of peripheral hardware |
Also Published As
Publication number | Publication date |
---|---|
CN113454966A (en) | 2021-09-28 |
WO2021012235A1 (en) | 2021-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111970315A (en) | Method, device and system for pushing message | |
CN105765526A (en) | Bootstrapping from a remote disk image via a network | |
US20100150169A1 (en) | Dynamic Adaptation Service | |
US11303583B2 (en) | Resource trees by management controller | |
CN112350873B (en) | Application service information processing method, application service calling method, device and system | |
CN113268308B (en) | Information processing method, device and storage medium | |
CN107135242B (en) | Mongodb cluster access method, device and system | |
US11750716B2 (en) | Methods for publishing resource, and gateway | |
WO2022116575A1 (en) | Service platform access permission acquisition method and service platform access control method | |
CN113454586A (en) | Method and device for generating shadow device and storage medium | |
CN112583760B (en) | Object storage access method, device, equipment and computer storage medium | |
CN113454966B (en) | Method and device for generating shadow device and storage medium | |
US11991171B2 (en) | Communication method for device, device and storage medium | |
CN102833287A (en) | Distributed file system and method for visiting data resource in distributed system | |
CN113055444B (en) | File sharing method and related device thereof | |
JP4532238B2 (en) | On-demand service provision system | |
WO2021087865A1 (en) | Addressing method, addressing system and addressing apparatus | |
CN106407320B (en) | File processing method, device and system | |
WO2023065218A1 (en) | Mapping relationship generation method and apparatus and storage medium | |
JP4455209B2 (en) | Information processing device | |
CN114930794A (en) | Equipment linkage method, electronic equipment and storage medium | |
Subramanian | Networking and Ingress | |
CN117785386A (en) | Method and system for quickly expanding Jenkins Slave nodes | |
WO2017143677A1 (en) | Method and apparatus for managing resources of common service entity, and communication network node | |
CN116775979A (en) | Cloud platform connection processing method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |