Trend MicroTrend Micro

走向微徽标

趋势微合并了。网络安全的全球领先,有助于使全球安全交换数字信息。Trend Micro Incorporated., a global leader in cybersecurity, helps to make the world safe for exchanging digital information. 在越来越多的世界上,我们面向企业、政府和消费者的创新性解决方案为数据中心、云环境、网络和终结点提供了分层安全性。In an increasingly connected world, our innovative solutions for businesses, governments, and consumers provide layered security for data centers, cloud environments, networks, and endpoints.

除了安全扇区之外,我们还在寻找其他域中的新机会,如系统维护和优化。Besides the security sector, we are also looking for new opportunities in other domains, such as system maintenance and optimization. 例如,我们正在开发一个全新的应用程序,通过删除 junks、大文件、重复文件等来帮助用户获取更多的可用磁盘 (空间,) 并优化其计算机性能。For example, we are developing Cleaner One, an innovative app to help users gain more free disk space (by removing junks, big files, duplicate files, etc.) and optimize their computer performance. 目前,有一个清洗器有两个分发通道,Microsoft Store 和联机。At present, Cleaner One has two distribution channels, Microsoft Store and Online.

在开发过程中,我们面临着一些挑战,最后通过使用新的 Windows 开发技术解决了这些问题。During our development, we faced some challenges and finally resolved them by using new Windows development technologies.

以前,清除一个存储版本是基于通用 Windows 应用程序 (UWP) 开发的,Online 版本是采用 Win32 技术的桌面应用程序。Previously, Cleaner One Store Version was developed based on Universal Windows Application (UWP), Online Version was a desktop app adopting Win32 tech. 很难维护两个不同的代码分支。It was difficult to maintain two different code branches. 为了统一这两个分支,我们选择并应用了 Electron 和 Windows 打包 (桌面桥) ,并在实践中进行了充分的处理。In order to unify both branches, we chose and applied Electron and Windows Packaging (Desktop Bridge), and it worked out well in practice. 而且,通过利用 c + +/WinRT,我们成功地在统一版本中实现了 Windows 10 "Windows Toast 通知" 和 "启动任务" Api。Furthermore, by leveraging C++/WinRT, we successfully implemented Windows 10 “Windows Toast Notification” and “Startup Task” APIs in the unified version.

更干净的是,Electron 包括其包大小较大的 Chromium 引擎,这使得下载和升级整个包很困难,尤其是在出现网络连接问题时。In Cleaner One, Electron includes Chromium Engine whose package size is large, making downloading and upgrading the whole package difficult, especially when there are network connection issues. 由于 .MSIX 是 Windows 的新式打包方法并且支持增量升级,因此,在 MS Windows AppConsult 的帮助下,我们开始实施 .MSIX 打包,这不仅有助于进行增量升级,还有助于简化 DevOps 管道中的 CI/CD。Since MSIX is a modern packaging method on Windows and supports Incremental Upgrading well, with the help of MS Windows AppConsult, we started implementing MSIX packaging, which helps a lot not only on incremental upgrading, but also on simplifying CI/CD in our DevOps pipeline. 现在,Windows 新式打包在我们的环境中顺利运行。Now Windows modern packaging runs smoothly in our environment. 同时,我们的产品包的联机版本甚至可以从 .MSIX 中获益。Meanwhile, our Online Version of product package can even benefit from MSIX.

利用这些技术,我们也能帮助我们的用户并改进我们的收购。With these technologies, we helped our users and improved our acquisitions as well.

  • 通过利用 Windows 打包,我们统一了应用商店版本和在线版本的代码分支。By leveraging Windows Packaging, we unified our code branches of Store Version and Online Version.
  • 通过集成 "Windows Toast 通知" API,我们提供了更好、更一致的用户体验,并且干扰更少。By integrating “Windows Toast Notification” API, we delivered better and more consistent user experience with less interference.
  • 通过集成 "启动任务" API,我们向用户提供了启用或禁用清除器的选项。By integrating “Startup Task” API, we provided users the option to enable or disable Cleaner One. 我们使用它来了解有关控制自动启动应用程序的功能。We used to get lots of user concerns regarding the ability to control auto startup of the app.
  • 通过使用 .MSIX,我们能够在部署中现代化产品,改进用户的升级体验,并正确简化我们的 DevOps 管道。By using MSIX, we are able to make our product modernized in deployment, improve upgrade experience for users, and simplify our DevOps pipeline properly.

".MSIX 和 WinRT 都是我们兴奋的方面。.MSIX 统一了我们的存储版本和联机版本的格式,使开发人员可以更轻松地进行打包和部署。 我希望我们能进一步摘要式 .MSIX,并使用它来实现部署过程。与 Win32 API 相比,c + +/WinRT 是面向对象的、功能强大且易于理解的。更重要的是,它不仅支持 UWP 应用,还可让我们在传统的 Windows 应用中使用最新的 Windows 10 方面。 "“MSIX and WinRT both are exciting techs for us. MSIX unifies the format of our Store Version and Online Version, makes packaging and deployment easier for developers. I am hoping that we can further digest MSIX and use it to empower our deployment process. Compared to Win32 API, C++/WinRT is object-oriented, powerful and yet easier to understand. More importantly, it not only supports UWP apps, but also gives us the opportunity to use latest Windows 10 techs in traditional Windows apps.” -开发人员负责人、走向微- Developer Leader, Trend Micro