I/O device access method and apparatus
AssigneeShenzhen Yinwang Intelligent Technologies Co., Ltd.
InventorTao Hu
Life of this patent
Estimating the term…
Abstract
An input/output (I/O) device access method includes a first centralized controller that performs object-oriented modeling on various I/O devices in a vehicle to generate standard models of the various I/O devices, and generate a mapping configuration file between the various I/O devices and the standard models. The first centralized controller further generates a resource access request based on an access operation of a user, where the resource access request includes a first standard model of a first I/O device accessed by the user. The first centralized controller further sends the resource access request to the first I/O device based on the mapping configuration file.
Claims20
A method implemented by a first centralized controller, wherein the method comprises:
- generating a resource access request when the first centralized controller accesses a first input/output (I/O) device of a plurality of I/O devices in a vehicle, wherein the resource access request comprises first standardized data for controlling a first standard model of a plurality of standard models of the I/O devices, and wherein when the first centralized controller needs to access a second I/O device of a second centralized controller, the resource access request further comprises a second standard model of the second I/O device;
- converting, based on a mapping configuration file between the I/O devices and the standard models, the first standardized data into first control data corresponding to the first I/O device;
- sending the first control data to the first I/O device;
- sending the resource access request to the second I/O device through a communication- layer link between the first centralized controller and the second centralized controller, wherein the resource access request further comprises second standardized data for controlling the second standard model;
- converting, based on the mapping configuration file, the second standardized data into second control data corresponding to the second I/O device;
- and
- sending the second control data to the second I/O device through the communication-layer link between the first centralized controller and the second centralized controller.
A first centralized controller for controlling access to a plurality of input/output (I/O) devices in a vehicle, wherein the first centralized controller comprises:
- one or more processors configured to:
- control standard models of the I/O devices and a mapping configuration file between the I/O devices and the standard models;
- generate a resource access request when the first centralized controller accesses a first I/O device of the I/O devices, wherein the resource access request comprises first standardized data for controlling a first standard model of the standard models, and wherein when the first centralized controller needs to access a second I/O device of a second centralized controller, the resource access request further comprises a second standard model of the second I/O device;
- and
- convert, based on the mapping configuration file, the first standardized data into first control data corresponding to the first I/O device;
- and
- one or more transceivers coupled to the one or more processors and configured to:
- send the first control data to the first I/O device based on the mapping configuration file;
- and
- send the resource access request to the second I/O device through a communication-layer link between the first centralized controller and the second centralized controller, wherein the resource access request comprises second standardized data for controlling the second standard model,
- wherein the one or more processors are further configured to convert, based on the mapping configuration file, the second standardized data into second control data corresponding to the second I/O device, and
- wherein the one or more transceivers are further configured to send the second control data to the second I/O device through the communication-layer link between the first centralized controller and the second centralized controller.
An apparatus for controlling access to a plurality of input/output (I/O) devices in a vehicle, wherein the apparatus comprises:
- a device abstraction layer configured to control standard models of the I/O devices and a mapping configuration file between the I/O devices and the standard models;
- a communication layer coupled to the device abstraction layer;
- and
- an application layer coupled to the device abstraction layer and configured to generate a resource access request when the apparatus accesses a first I/O device of the I/O devices,
- wherein the resource access request comprises first standardized data for controlling a first standard model of the standard models, wherein when the apparatus needs to access a second I/O device of another apparatus, the resource access request further comprises a second standard model of the second I/O device, and
- wherein the device abstraction layer is further configured to:
- convert, based on the mapping configuration file, the first standardized data into first control data corresponding to the first I/O device;
- send the first control data to the first I/O device using the communication layer;
- send the resource access request to the second I/O device through a communication-layer link between the apparatus and the other apparatus, wherein the resource access request further comprises second standardized data for controlling the second standard model;
- convert, based on the mapping configuration file, the second standardized data into second control data corresponding to the second I/O device;
- and
- send the second control data to the second I/O device through the communication-layer link between the first centralized controller and the second centralized controller.
Dependencies are inferred from the claim text.