DeviceProfile is used to manage device hardware capabilities and system software features. A typical device profile includes the device type, device name, OS type, and OS version. By allowing quick access to local and remote device profiles, DeviceProfile lays the foundation for initiating distributed services. It provides the following features:
DeviceProfile is used to manage device hardware capabilities and system software features. A typical device profile includes the device type, device name, OS type, and OS version.
By allowing quick access to local and remote device profiles, DeviceProfile lays the foundation for initiating distributed services. It provides the following features:
- Querying, inserting, and deleting local device profile information
- Querying, inserting, and deleting local device profile information
- Querying remote device profile information
- Querying remote device profile information
...
@@ -23,28 +25,28 @@ The main code directory structure of DeviceProfile is as follows:
...
@@ -23,28 +25,28 @@ The main code directory structure of DeviceProfile is as follows:
```
```
├── interfaces
├── interfaces
│ └── innerkits
│ └── innerkits
│ └── distributeddeviceprofile // Internal APIs
│ └── distributeddeviceprofile // innerkits APIs
├── ohos.build
├── ohos.build
├── sa_profile // SAID profile
├── sa_profile // SAID profile
│ ├── 6001.xml
│ ├── 6001.xml
│ └── BUILD.gn
│ └── BUILD.gn
├── services
└── services
│ └── distributeddeviceprofile
└── distributeddeviceprofile
│ ├── BUILD.gn
├── BUILD.gn
│ ├── include
├── include
│ │ ├── contentsensor // Header file for content sensor data collection
│ ├── authority // Permission verification
│ │ ├── dbstorage // Header file for database operations
│ ├── contentsensor // Header file for content sensor data collection
│ │ ├── devicemanager // Header file for device management
│ ├── dbstorage // Header file for database operations
│ │ └── subscribemanager // Header file for subscription management
│ ├── devicemanager // Header file for device management
│ ├── src
│ └── subscribemanager // Header file for subscription management
│ │ ├── contentsensor // Implementation of content sensor data collection
├── src
│ │ ├── dbstorage // Implementation of database operations
│ ├── authority // Permission verification
│ │ ├── devicemanager // Implementation of device management
│ ├── contentsensor // Implementation of content sensor data collection
│ │ ├── subscribemanager // Implementation of subscription management
│ ├── dbstorage // Implementation of database operations
│ └── test // Test cases
│ ├── devicemanager // Implementation of device management
└── tools
│ └── subscribemanager // Implementation of subscription management
└── dp // Auxiliary test tool
└── test // Test cases
```
```
## Constraints<a name="section1718733212019"></a>
## Constraints<a name="section1718733212019"></a>
...
@@ -58,11 +60,11 @@ The main code directory structure of DeviceProfile is as follows:
...
@@ -58,11 +60,11 @@ The main code directory structure of DeviceProfile is as follows: