A device control method, comprising: sending, by a user device of a first participant, a first message to a server; determining, by the server, authorization information based on the first message; generating, by the server, a first transaction information based on the authorization information; sending, by the server, the first transaction information to a blockchain; receiving, by a target device from the blockchain, the first transaction information sent by the server; verifying, by the target device, control permission based on the first transaction information, wherein the control permission is permission to control the target device; determining, by the target device, that verifying the control permission succeeds; accepting, by the target device, control over the target device by the first participant; and when the target device detects second transaction information in the blockchain, determining, by the target device based on the second transaction information, that control permission has been revoked, wherein the second transaction information comprises second data, there is a correspondence between the second data and first data that comprises information about a second participant; determining, by the target device, the first participant in the first transaction information obtained from the blockchain, wherein the first transaction information comprises the first data and information about the first participant, the first transaction information is used to indicate that the first participant has obtained the control permission, and the first transaction information is generated by the server; and rejecting, by the target device, control over the target device by the first participant. sending, by a user device of a first participant, a first message to a server; determining, by the server, authorization information based on the first message; generating, by the server, a first transaction information based on the authorization information; sending, by the server, the first transaction information to a blockchain; receiving, by a target device from the blockchain, the first transaction information sent by the server; verifying, by the target device, control permission based on the first transaction information, wherein the control permission is permission to control the target device; determining, by the target device, that verifying the control permission succeeds; accepting, by the target device, control over the target device by the first participant; and when the target device detects second transaction information in the blockchain, determining, by the target device based on the second transaction information, that control permission has been revoked, wherein the second transaction information comprises second data, there is a correspondence between the second data and first data that comprises information about a second participant; determining, by the target device, the first participant in the first transaction information obtained from the blockchain, wherein the first transaction information comprises the first data and information about the first participant, the first transaction information is used to indicate that the first participant has obtained the control permission, and the first transaction information is generated by the server; and rejecting, by the target device, control over the target device by the first participant.