Control information processing method and apparatus, electronic device, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsHaijun Wu, Jietao Wu, Wenfei Zhang
Life of this patent
Estimating the term…
Abstract
A control information processing method is provided. The method includes: simulating a controller on a first device based on a target drive file of the first device; receiving control information sent by a second device, the control information being used for controlling the first device to perform a corresponding operation; storing the control information as input information of the controller into a storage space of the target drive file; and obtaining the control information from the storage space of the target drive file in response to receiving a data read instruction that instructs to obtain the input information of the controller.
Claims20
A control information processing method, applicable to a first device, the method comprising:
- simulating a controller on the first device based on a target drive file of the first device including;
- transmitting a device addition instruction to the target drive file, the device addition instruction being used for instructing to add a controller in an operating system of the first device;
- and
- adding, based on device addition logic in the target drive file and device information carried by the device addition instruction, the controller corresponding to the device information in the operating system of the first device;
- receiving control information transmitted by a second device, the control information being used for controlling the first device to perform a corresponding operation;
- storing the control information as input information of the controller into a storage space of the target drive file;
- and
- obtaining the control information from the storage space of the target drive file in response to receiving a data read instruction that instructs to obtain the input information of the controller.
An electronic device, comprising a processor and a memory, the memory storing computer-readable instructions, the computer-readable instructions, when executed by the processor, causing the processor to perform a plurality of operations including:
- simulating a controller on the first device based on a target drive file of the first device including:
- transmitting a device addition instruction to the target drive file, the device addition instruction being used for instructing to add a controller in an operating system of the first device;
- and
- adding, based on device addition logic in the target drive file and device information carried by the device addition instruction, the controller corresponding to the device information in the operating system of the first device;
- receiving control information transmitted by a second device, the control information being used for controlling the first device to perform a corresponding operation;
- storing the control information as input information of the controller into a storage space of the target drive file;
- and
- obtaining the control information from the storage space of the target drive file in response to receiving a data read instruction that instructs to obtain the input information of the controller.
A non-transitory storage medium storing computer-readable instructions, the computer-readable instructions, when executed by one or more processors, causing the one or more processors to perform a plurality of operations comprising:
- simulating a controller on the first device based on a target drive file of the first device including;
- transmitting a device addition instruction to the target drive file, the device addition instruction being used for instructing to add a controller in an operating system of the first device;
- and
- adding, based on device addition logic in the target drive file and device information carried by the device addition instruction, the controller corresponding to the device information in the operating system of the first device;
- receiving control information transmitted by a second device, the control information being used for controlling the first device to perform a corresponding operation;
- storing the control information as input information of the controller into a storage space of the target drive file;
- and
- obtaining the control information from the storage space of the target drive file in response to receiving a data read instruction that instructs to obtain the input information of the controller.
Dependencies are inferred from the claim text.