Patent ID: 11949741
Assignee: ZTE CORPORATION
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 6:
7. A server, comprising at least one processor, and at least one memory storing a computer program, which when executed by the processor, causes the processor to carry out a method for controlling a device, comprising,
receiving device information reported by a target device, and extracting a preset second control parameter from the device information;
performing a determination as to whether a target protocol model presents according to the second control parameter, wherein it is determined that the target protocol model is absent, wherein the preset second control parameter consists of a portion of protocol parameters or a portion of protocol nodes of the target device;
sending an instruction for acquiring full parameters to the target device, in response to the absence of the target protocol model, to instruct the target device to report a preset third control parameter, wherein the preset third control parameter comprises all protocol parameters or all protocol nodes of the target device;
establishing the target protocol model according to the third control parameter, wherein the target protocol model is stored in association with a specific communication protocol;
determining, in response to a receiving of a control instruction for controlling the target device, the target protocol model corresponding to the target device according to a device identifier of the target device and the control instruction, wherein, the target protocol model is determined according to a communication protocol supported by the target device, wherein, the target protocol model stores a first control parameter that corresponds to the control instruction; and
sending the first control parameter corresponding to the control instruction in the target protocol model to the target device, to instruct the target device to perform an operation corresponding to the control instruction.