• 欢迎访问速搜资源吧,如果在网站上找不到你需要的资源,可以在留言板上留言,管理员会尽量满足你!

【速搜问答】OpenHarmony是什么

问答 admin 1周前 (06-10) 18次浏览 已收录 0个评论

汉英对照:
Chinese-English Translation:

OpenHarmony是开放原子开源基金会旗下开源项目,定位是一款面向全场景的开源分布式操作系统。在传统的单设备系统能力的基础上,创造性地提出了基于同一套系统能力、适配多种终端形态的理念,支持多种终端设备上运行。

Openharmony is an open source project under the open atom open source foundation. It is positioned as an open source distributed operating system for all scenarios. On the basis of the traditional single device system capability, this paper creatively puts forward the concept of adapting to multiple terminal forms based on the same set of system capability to support the operation of multiple terminal devices.

OpenHarmony 是开放原子开源基金会(OpenAtom Foundation)旗下开源项目,定位是一款面向全场景的开源分布式操作系统。

Openharmony is an open source project under the open atom foundation. It is positioned as an open source distributed operating system for all scenarios.

OpenHarmony 在传统的单设备系统能力的基础上,创造性地提出了基于同一套系统能力、适配多种终端形态的理念,支持多种终端设备上运行,第一个版本支持 128K~128M 设备上运行,欢迎参加开源社区一起持续演进。针对设备开发者,OpenHarmony 采用了组件化的设计方案,可以根据设备的资源能力和业务特征进行灵活裁剪,满足不同形态的终端设备对于操作系统的要求。可运行在百 K 级别的资源受限设备和穿戴类设备,也可运行在百 M 级别的智能家用摄像头/行车记录仪等相对资源丰富的设备。

On the basis of the traditional single device system capability, openharmony creatively puts forward the concept of adapting to multiple terminal forms based on the same set of system capability. It supports running on multiple terminal devices. The first version supports running on 128K ~ 128M devices. Welcome to join the open source community for continuous evolution. For device developers, openharmony adopts a component-based design scheme, which can be flexibly tailored according to the resource capacity and business characteristics of the device to meet the requirements of different forms of terminal devices for the operating system. It can run on the resource limited devices and wearable devices of 100 K level, and it can also run on the relatively resource rich devices such as intelligent home camera / dash cam of 100 m level.

技术架构

Technical framework

OpenHarmony 整体遵从分层设计,从下向上依次为:内核层、系统服务层、框架层和应用层。系统功能按照“系统 > 子系统 > 功能/模块”逐级展开,在多设备部署场景下,支持根据实际需求裁剪某些非必要的子系统或功能/模块。OpenHarmony 技术架构如下所示。

Openharmony follows the hierarchical design as a whole, which is from the bottom up: kernel layer, system service layer, framework layer and application layer. According to the “system & gt; Subsystem & gt; In the multi device deployment scenario, some unnecessary subsystems or functions / modules can be tailored according to the actual needs. The technical architecture of openharmony is as follows.

内核层

Kernel layer

内核子系统:采用多内核(Linux 内核或者 LiteOS)设计,支持针对不同资源受限设备选用适合的 OS 内核。内核抽象层(KAL,Kernel Abstract Layer)通过屏蔽多内核差异,对上层提供基础的内核能力,包括进程/线程管理、内存管理、文件系统、网络管理和外设管理等。

Kernel subsystem: it adopts multi kernel (Linux kernel or liteos) design, and supports the selection of suitable OS kernel for different resource constrained devices. Kal (kernel abstract layer) provides basic kernel capabilities for the upper layer, including process / thread management, memory management, file system management, network management and peripheral management, by shielding the differences among multiple kernels.

驱动子系统:驱动框架(HDF)是系统硬件生态开放的基础,提供统一外设访问能力和驱动开发、管理框架。

Driver subsystem: Driver Framework (HDF) is the foundation of the system hardware ecology opening, which provides unified peripheral access capability and driver development and management framework.

系统服务层

System service layer

系统服务层是 OpenHarmony 的核心能力集合,通过框架层对应用程序提供服务。该层包含以下几个部分:

System service layer is the core competence set of openharmony, which provides services to applications through framework layer. The layer consists of the following parts:

系统基本能力子系统集:为分布式应用在多设备上的运行、调度、迁移等操作提供了基础能力,由分布式软总线、分布式数据管理、分布式任务调度、公共基础库、多模输入、图形、安全、AI 等子系统组成。

System basic capability subsystem set: it provides basic capabilities for the operation, scheduling, migration and other operations of distributed applications on multiple devices. It is composed of distributed soft bus, distributed data management, distributed task scheduling, common basic library, multi-mode input, graphics, security, AI and other subsystems.

基础软件服务子系统集:提供公共的、通用的软件服务,由事件通知、电话、多媒体、DFX(Design For X) 等子系统组成。

Basic software service subsystem set: it provides common and general software services, and is composed of event notification, telephone, multimedia, DFX (Design for x) and other subsystems.

增强软件服务子系统集:提供针对不同设备的、差异化的能力增强型软件服务,由智慧屏专有业务、穿戴专有业务、IoT 专有业务等子系统组成。

Enhanced software service subsystem set: provide differentiated capability enhanced software services for different devices, which is composed of smart screen proprietary business, wearable proprietary business, IOT proprietary business and other subsystems.

硬件服务子系统集:提供硬件服务,由位置服务、生物特征识别、穿戴专有硬件服务、IoT 专有硬件服务等子系统组成。

Hardware service subsystem set: providing hardware services, which is composed of location-based services, biometrics, wearable proprietary hardware services, IOT proprietary hardware services and other subsystems.

根据不同设备形态的部署环境,基础软件服务子系统集、增强软件服务子系统集、硬件服务子系统集内部可以按子系统粒度裁剪,每个子系统内部又可以按功能粒度裁剪。

According to the deployment environment of different equipment forms, the basic software service subsystem set, enhanced software service subsystem set and hardware service subsystem set can be tailored according to subsystem granularity, and each subsystem can be tailored according to function granularity.

框架层

Frame layer

框架层为应用开发提供了 Java/C/C++/JS 等多语言的用户程序框架和 Ability 框架,两种 UI 框架(包括适用于 Java 语言的 Java UI 框架、适用于 JS 语言的 JS UI 框架),以及各种软硬件服务对外开放的多语言框架 API。根据系统的组件化裁剪程度,设备支持的 API 也会有所不同。

The framework layer provides Java / C / C + + / JS and other multi language user program framework and ability framework for application development, two UI frameworks (including Java UI framework for Java language and JS UI framework for JS language), and multi language framework API for various software and hardware services. According to the component tailoring degree of the system, the API supported by the device will be different.

应用层

application layer

应用层包括系统应用和第三方非系统应用。应用由一个或多个 FA(Feature Ability)或 PA(Particle Ability)组成。其中,FA 有 UI 界面,提供与用户交互的能力;而 PA 无 UI 界面,提供后台运行任务的能力以及统一的数据访问抽象。基于 FA/PA 开发的应用,能够实现特定的业务功能,支持跨设备调度与分发,为用户提供一致、高效的应用体验。

The application layer includes system application and third-party non system application. The application consists of one or more fa (feature ability) or PA (particle ability). Among them, FA has UI interface, which provides the ability to interact with users; PA has no UI interface and provides the ability to run tasks in the background and unified data access abstraction. Applications based on FA / PA can achieve specific business functions, support cross device scheduling and distribution, and provide users with consistent and efficient application experience.

特点

characteristic

硬件互助,资源共享主要通过下列模块达成

Hardware mutual aid and resource sharing are mainly achieved through the following modules

分布式软总线分布式软总线是多设备终端的统一基座,为多设备间无缝互联提供了统一的分布式通信能力,能够快速发现并连接设备,高效地传输任务和数据。

Distributed soft bus distributed soft bus is a unified base for multi device terminals, which provides a unified distributed communication capability for seamless interconnection between multiple devices. It can quickly discover and connect devices, and efficiently transmit tasks and data.

分布式数据管理分布式数据管理位于基于分布式软总线之上的能力,实现了应用程序数据和用户数据的分布式管理。用户数据不再与单一物理设备绑定,业务逻辑与数据存储分离,应用跨设备运行时数据无缝衔接,为打造一致、流畅的用户体验创造了基础条件

Distributed data management is based on the ability of distributed soft bus, which realizes the distributed management of application data and user data. User data is no longer bound to a single physical device, business logic is separated from data storage, and application data is seamlessly linked across devices, creating the basic conditions for creating a consistent and smooth user experience

分布式任务调度分布式任务调度基于分布式软总线、分布式数据管理、分布式 Profile 等技术特性,构建统一的分布式服务管理(发现、同步、注册、调用)机制,支持对跨设备的应用进行远程启动、远程调用、绑定/解绑、以及迁移等操作,能够根据不同设备的能力、位置、业务运行状态、资源使用情况并结合用户的习惯和意图,选择最合适的设备运行分布式任务

Distributed task scheduling based on distributed soft bus, distributed data management, distributed profile and other technical features, the distributed task scheduling builds a unified distributed service management (discovery, synchronization, registration, call) mechanism, supports remote start, remote call, binding / unbinding, migration and other operations for cross device applications, according to the capabilities of different devices According to the user’s habit and intention, the most suitable device is selected to run distributed tasks

设备虚拟化分布式设备虚拟化平台可以实现不同设备的资源融合、设备管理、数据处理,将周边设备作为手机能力的延伸,共同形成一个超级虚拟终端。

Device virtualization distributed device virtualization platform can realize resource integration, device management and data processing of different devices, and take peripheral devices as the extension of mobile phone capabilities to form a super virtual terminal.

一次开发,多端部署 OpenHarmony 提供用户程序框架、Ability 框架以及 UI 框架,能够保证开发的应用在多终端运行时保证一致性。一次开发、多端部署。多终端软件平台 API 具备一致性,确保用户程序的运行兼容性。

One time development, multi terminal deployment, openharmony provides user program framework, ability framework and UI framework, which can ensure the consistency of the developed application in multi terminal runtime. One time development and multi terminal deployment. The multi terminal software platform API has consistency to ensure the running compatibility of user programs.

支持在开发过程中预览终端的能力适配情况(CPU/内存/外设/软件资源等)。

It supports preview of terminal capability adaptation (CPU / memory / peripherals / software resources, etc.) during development.

支持根据用户程序与软件平台的兼容性来调度用户呈现。

Support to schedule user presentation according to the compatibility of user program and software platform.

统一 OS,弹性部署 OpenHarmony 通过组件化和组件弹性化等设计方法,做到硬件资源的可大可小,在多种终端设备间,按需弹性部署,全面覆盖了 ARM、RISC-V、x86 等各种 CPU,从百 KB 到 GB 级别的 RAM。

Unified OS and flexible deployment openharmony uses component-based and component-based design methods to achieve the flexible deployment of hardware resources between various terminal devices on demand, covering all kinds of CPUs such as arm, risc-v and x86, from 100 kb to GB level ram.

设备类型

Equipment type

OpenHarmony 支持如下几种设备类型:

Openharmony supports the following device types:

轻量系统类设备(参考内存≥128KB)面向 MCU 类处理器,例如 Arm Cortex-M、RISC-V 32 位的设备,资源极其有限,参考内存≥128KB,提供丰富的近距连接能力以及丰富的外设总线访问能力。典型产品有智能家居领域的联接类模组、传感器设备等。联接类模组通常应用在智能物联网设备中,负责实现联接部分的硬件模块,在智能家居领域由厂家集成到其设备中。例如:联接类模组提供 WLAN/Bluetooth 的接入和数据的联接,模组与厂家家居的芯片通常通过 UART 或 GPIO 等总线接口进行通信。

Light weight system devices (reference memory ≥ 128KB) face MCU processors, such as arm Cortex-M and risc-v 32-bit devices, which have extremely limited resources and reference memory ≥ 128KB, and provide rich short-range connection capability and peripheral bus access capability. Typical products include connection modules and sensor devices in the field of smart home. The connection module is usually used in the intelligent Internet of things devices, which is responsible for the hardware module of the connection part. In the field of smart home, manufacturers integrate it into their devices. For example, the connection module provides WLAN / bluetooth access and data connection, and the module usually communicates with the chip of the manufacturer’s home through UART or GPIO bus interface.

小型系统类设备(参考内存≥1MB)面向应用处理器,例如 Arm Cortex-A 的设备,参考内存≥1MB,提供更高的安全能力,提供标准的图形框架,提供视频编解码的多媒体能力。典型产品有智能家居领域的 IPCamera、电子猫眼、路由器以及智慧出行域的行车记录仪等。

Small system devices (reference memory ≥ 1MB) are oriented to application processors, such as arm cortex-a devices with reference memory ≥ 1MB, providing higher security capability, standard graphics framework and multimedia capability of video encoding and decoding. Typical products include IP camera in the field of smart home, electronic cat’s eye, router and dash cam in the field of smart travel.

标准系统类设备(参考内存≥128MB)面向应用处理器,例如 Arm Cortex-A 的设备,参考内存≥128MB,提供增强的交互能力,提供 3D GPU 以及硬件合成能力,提供更多控件以及动效更丰富的图形能力,提供完整的应用框架。典型产品有高端的冰箱显示屏等。

Standard system devices (reference memory ≥ 128MB) are oriented to application processors, such as arm cortex-a devices with reference memory ≥ 128MB, which provide enhanced interaction capability, 3D GPU and hardware synthesis capability, more controls and more dynamic graphics capabilities, and complete application framework. Typical products include high-end refrigerator display screen, etc.

大型系统类设备(参考内存≥1GB)面向应用处理器,例如 Arm Cortex-A 的设备,参考内存≥1GB,提供完整的兼容应用框架。典型的产品有智慧屏、智能手表等。

Large system devices (reference memory ≥ 1GB) are oriented to application processors, such as arm cortex-a devices with reference memory ≥ 1GB, providing a complete compatible application framework. Typical products include smart screen, smart watch, etc.


速搜资源网 , 版权所有丨如未注明 , 均为原创丨转载请注明原文链接:【速搜问答】OpenHarmony是什么
喜欢 (0)
[361009623@qq.com]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址