public function stream_stat()
    {
        if (!$this->_objectName) {
            return [];
        }

        $stat = [];
        $stat['dev'] = 0;
        $stat['ino'] = 0;
        $stat['mode'] = 0777;
        $stat['nlink'] = 0;
        $stat['uid'] = 0;
        $stat['gid'] = 0;
        $stat['rdev'] = 0;
        $stat['size'] = 0;
        $stat['atime'] = 0;
        $stat['mtime'] = 0;
        $stat['ctime'] = 0;
        $stat['blksize'] = 0;
        $stat['blocks'] = 0;

        if (($slash = strstr($this->_objectName, '/')) === false || $slash == strlen($this->_objectName) - 1) {
            /* bucket */
            $stat['mode'] |= 040000;
        } else {
            $stat['mode'] |= 0100000;
        }
        $info = $this->_oss->getObjectMeta(AliyunOSS::getBucket(), $this->_objectName);
        $info = $info['info'];
        if (!empty($info['info'])) {
            $stat['size'] = $info['download_content_length'];
            $stat['atime'] = time();
            $stat['mtime'] = $info['filetime'];
        }

        return $stat;
    }