目录

Device-Cloud File Sync Overview

Device-cloud file sync delivers a unified file system capability for application development, offering consistent file synchronization and cross-device access experiences for both users and applications.

As a system-level platform capability, device-cloud collaboration provides capabilities such as synchronization, caching, and version management, helping applications quickly integrate device-cloud collaboration capabilities and ensuring consistent user experience and data reliability.

Capabilities

Application Scenario

Introduction

How to Implement

For application developers, device-cloud file collaboration provides core capability APIs such as file synchronization, single-point cache, and batch cache. Applications only need to place the files to be uploaded to the cloud in the sandbox directory /data/storage/el2/cloud, and the files can be automatically uploaded to the cloud. For details about other basic file operation APIs, see Accessing Application Files.

This capability is built on system-level services. The cloudfiledaemon process provides core functionalities such as basic file operations, metadata management, and chunk prefetch. The cloudfileservice process automatically interacts with the cloud service in the background, triggers and completes uplink/downlink and file caching based on service requirements, and also provides APIs to support version management and the proactive triggering of synchronization tasks.