# US 2024/0187315 A1 · Device Control Method and Apparatus, Server, and Storage Medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0187315 A1
- Document ID: US20240187315A1
- Status: Published application
- Kind: A1
- Application number: 18/436,909
- Filed: 2024-02-08
- Published: 2024-06-06
- Earliest claimed: 2021-08-19
- Assignees: Huawei Cloud Computing Technologies Co., Ltd.
- Applicants: Huawei Cloud Computing Technologies Co., Ltd.
- Inventors: Wenqing Wu
- Web page: https://patentgrep.com/patent/US20240187315A1

## CPC

- H04L 41/40: using virtualisation of network functions or resources, e.g. SDN or NFV entities
- H04L 65/1069: Session establishment or de-establishment
- G05B 19/00: Program-control systems
- H04L 41/145: {involving simulating, designing, planning or modelling of a network}
- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04W 4/70: Services for machine-to-machine communication [M2M] or machine type communication [MTC]
- Y02P 90/02: Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- Y02P: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS

## Abstract

A device control method includes performing format conversion on a control entity of a control command sent by a control device, based on a correspondence that is recorded in a digital twin model of a network device with any model number of the type and that is between a standard data format of the network device of the type and a data format supported by the network device with the model number. According to the method, the control device can control the network devices with different model numbers using a control entity of a control command in a unified standard data format, and enable the network device to identify the control entity of the control command sent by the control device without adapting data formats supported by the network devices with different model numbers.

## Claims

### Claim 1

A method implemented by a server, wherein the method comprises:
receiving, from a control device, a first control command carrying a first device identifier of a first network device and carrying a first control entity, wherein the first control command instructs the first network device to perform a first operation corresponding to the first control entity, wherein the first control entity complies with a standard data format, and wherein the standard data format is described by a standard model corresponding to a first upper device type of the first network device;
determining, based on the first device identifier, a first digital twin model corresponding to the first network device, wherein the first digital twin model describes a first data format supported by the first network device and records a first correspondence between the standard data format and the first data format;
converting, based on the first correspondence, the first control entity into the first data format, to obtain a converted first control entity; and
sending, to the first network device, the converted first control entity.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving, from the control device, a second control command carrying a second device identifier of a second network device and carrying a second control entity, wherein the second control command instructs the second network device to perform a second operation corresponding to the second control entity, wherein the second control entity complies with the standard data format, wherein a first model number of the first network device is different from a second model number of the second network device, and wherein the first upper device type is the same as a second upper device type of the second network device;
determining, based on the second device identifier, a second digital twin model corresponding to the second network device, wherein the second digital twin model describes a second data format supported by the second network device and records a second correspondence between the standard data format and the second data format; and
converting, based on the second correspondence, the second control entity into the second data format to obtain a converted second control entity; and
sending, to the second network device, the converted second control entity.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving status data of the first network device and the first device identifier, wherein the status data is in the first data format;
converting, based on the first correspondence, the status data into the standard data format to obtain converted status data; and
sending, to the control device, the converted status data.

### Claim 4 (depends on 1)

The method of claim 1, wherein before receiving the first control command, the method further comprises:
receiving, from the first network device, a device access request carrying a model number of the first network device and carrying the first device identifier;
determining, based on the model number, the first digital twin model corresponding to the model number; and
establishing a second correspondence between the first device identifier and the first digital twin model.

### Claim 5 (depends on 4)

The method of claim 4, wherein converting the first control entity comprises:
determining, based on a third correspondence that is between a digital twin metamodel of the first digital twin model and a standard metamodel of the standard model and that is comprised in the first correspondence, one or more standard metamodels of the first upper device type; and
converting, based on the first digital twin model and the one or more standard metamodels, the first control entity into the first data format.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first digital twin model comprises one or more digital twin metamodels, and wherein each of the one or more digital twin metamodels comprises one or more of a property metamodel, a command metamodel, an event metamodel, a data metamodel, a component metamodel, or a relationship metamodel.

### Claim 7

A server comprising:
a memory configured to store instructions; and
at least one processor coupled to the memory and configured to execute the instructions to cause the server to:
receive, from a control device, a first control command carrying a first device identifier of a first network device and carrying a first control entity, wherein the first control command instructs the first network device to perform a first operation corresponding to the first control entity, wherein the first control entity complies with a standard data format, and wherein the standard data format is described by a standard model corresponding to a first upper device type of the first network device;
determine, based on the first device identifier, a first digital twin model corresponding to the first network device, wherein the first digital twin model describes a first data format supported by the first network device and records a first correspondence between the standard data format and the first data format;
convert, based on the first correspondence, the first control entity into the first data format to obtain a converted first control entity; and
send, to the first network device, the converted first control entity.

### Claim 8 (depends on 7)

The server of claim 7, wherein the at least one processor is further configured to execute the instructions to cause the server to:
receive, from the control device, a second control command carrying a second device identifier of a second network device and carrying a second control entity, wherein the second control command instructs the second network device to perform a second operation corresponding to the second control entity, wherein the second control entity complies with the standard data format, wherein a first model number of the first network device is different from a second model number of the second network device, and wherein the first upper device type is the same as a second upper device type of the second network device;
determine, based on the second device identifier, a second digital twin model corresponding to the second network device, wherein the second digital twin model describes a second data format supported by the second network device and records a second correspondence between the standard data format and the second data format;
convert, based on the second correspondence, the second control entity into the second data format, to obtain a converted second control entity; and
send, to the second network device, the converted second control entity.

### Claim 9 (depends on 7)

The server of claim 7, wherein the at least one processor is further configured to execute the instructions to cause the server to:
receive status data of the first network device and the first device identifier, wherein the status data is in the first data format; and
convert, based on the first correspondence, the status data into the standard data format, to obtain converted status data; and
send, to the control device, the converted status data.

### Claim 10 (depends on 7)

The server of claim 7, wherein the at least one processor is further configured to execute the instructions to cause the server to:
receive, from the first network device, a device access request carrying a model number of the first network device and carrying the first device identifier;
determine, based on the model number, the first digital twin model corresponding to the model number; and
establish a second correspondence between the first device identifier and the first digital twin model.

### Claim 11 (depends on 10)

The server of claim 10, wherein the at least one processor is further configured to execute the instructions to cause the server to:
determine, based on a third correspondence that is between a digital twin metamodel of the first digital twin model and a standard metamodel of the standard model and that is comprised in the first correspondence, one or more standard metamodels of the first upper device type; and
convert, based on the first digital twin model and the one or more standard metamodels, the first control entity into the first data format.

### Claim 12 (depends on 7)

The server of claim 7, wherein the first digital twin model comprises one or more digital twin metamodels, and wherein each of the one or more digital twin metamodels comprises one or more of a property metamodel, a command metamodel, an event metamodel, a data metamodel, a component metamodel, or a relationship metamodel.

### Claim 13 (depends on 7)

The server of claim 7, wherein the at least one processor is further configured to execute the instructions to cause the server to obtain the standard model, and wherein the standard model comprises standard metamodels or submodels.

### Claim 14

A computer program product comprising computer-executable instructions that are stored on a non-transitory computer-readable medium and that, when executed by at least one processor, cause a server to:
receive, from a control device, a first control command carrying a first device identifier of a first network device and carrying a first control entity, wherein the first control command instructs the first network device to perform a first operation corresponding to the first control entity, wherein the first control entity complies with a standard data format, and wherein the standard data format is described by a standard model corresponding to a first upper device type of the first network device;
determine, based on the first device identifier, a first digital twin model corresponding to the first network device, wherein the first digital twin model describes a first data format supported by the first network device and records a first correspondence between the standard data format and the first data format;
convert, based on the first correspondence, the first control entity into the first data format to obtain a converted first control entity; and
send, to the first network device, the converted first control entity.

### Claim 15 (depends on 14)

The computer program product of claim 14, wherein the computer-executable instructions, when executed by the at least one processor, further cause the server to:
receive, from the control device, a second control command carrying a second device identifier of a second network device and carrying a second control entity, wherein the second control command instructs the second network device to perform a second operation corresponding to the second control entity, wherein the second control entity complies with the standard data format, wherein a first model number of the first network device is different from a second model number of the second network device, and wherein the first upper device type is the same as a second upper device type of the second network device;
determine, based on the second device identifier, a second digital twin model corresponding to the second network device, wherein the second digital twin model describes a second data format supported by the second network device and records a second correspondence between the standard data format and the second data format;
convert, based on the second correspondence, the second control entity into the second data format to obtain a converted second control entity; and
send, to the second network device, the converted second control entity.

### Claim 16 (depends on 14)

The computer program product of claim 14, wherein the computer-executable instructions, when executed by the at least one processor, further cause the server to:
receive status data of the first network device and the first device identifier, wherein the status data is in the first data format; and
convert, based on the first correspondence, the status data into the standard data format to obtain converted status data; and
send, to the control device, the converted status data.

### Claim 17 (depends on 14)

The computer program product of claim 14, wherein the computer-executable instructions, when executed by the at least one processor, further cause the server to:
receive, from the first network device, a device access request carrying a model number of the first network device and carrying the first device identifier;
determine, based on the model number, the first digital twin model corresponding to the model number; and
establish a second correspondence between the first device identifier and the first digital twin model.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the computer-executable instructions, when executed by the at least one processor, further cause the server to:
determine, based on a third correspondence that is between a digital twin metamodel of the first digital twin model and a standard metamodel of the standard model and that is comprised in the first correspondence, one or more standard metamodels of the first upper device type; and
convert, based on the first digital twin model and the one or more standard metamodels, the first control entity into the first data format.

### Claim 19 (depends on 14)

The computer program product of claim 14, wherein the first digital twin model comprises one or more digital twin metamodels, and wherein each of the one or more digital twin metamodels comprises one or more of a property metamodel, a command metamodel, an event metamodel, a data metamodel, a component metamodel, or a relationship metamodel.

### Claim 20 (depends on 14)

The computer program product of claim 14, wherein the computer-executable instructions, when executed by the at least one processor, further cause the server to obtain the standard model, and wherein the standard model comprises standard metamodels or submodels.
