Application testing method and system based on swan mongolian operating system and storage medium

By identifying the relationships between HarmonyOS application modules, constructing a device capability matrix and protocol model, the problems of low testing efficiency and incomplete coverage in the multi-device ecosystem of HarmonyOS were solved, achieving efficient cross-device compatibility and in-depth peripheral verification.

CN122111836APending Publication Date: 2026-05-29HONGMENG ECOLOGICAL SERVICES (SHENZHEN) CO LTD
0 Cites 0 Cited by

Patent Information

Application Number
CN202512039864.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-31
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Existing testing methods are ill-suited to the complex testing scenarios within the multi-device ecosystem of the HarmonyOS operating system. They are unable to effectively identify device differences, verify peripheral communication protocols and adaptive logic, resulting in low efficiency and incomplete coverage in cross-device compatibility testing.

Method used

By obtaining the functional list of HarmonyOS applications, identifying the relationships between modules, generating a dynamic test list, constructing a device capability matrix, generating differentiated test cases, and constructing a peripheral interaction model through protocol reverse analysis, we can perform compatibility and stress tests under abnormal scenarios.

Benefits of technology

It enables intelligent generation of test paths, ensuring the completeness and context relevance of test coverage, improving the breadth and depth of cross-device compatibility testing, and solving the bottleneck of peripheral testing in functional connectivity and adaptive behavior verification.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention relates to the field of software testing, in particular to an application testing method and system based on a swan gap operating system and a storage medium, and the method comprises the steps: obtaining a function list of a target swan gap application, analyzing the function list of the target swan gap application, and recognizing the incidence relation between function modules; generating a dynamic test list based on the association relationship; constructing a device capability matrix, wherein the device capability matrix is used for representing screen characteristics, sensor configuration and distributed capabilities of the plurality of terminal devices; on the basis of the dynamic test list and the equipment capability matrix, differential test cases for different equipment forms are generated; and according to the differentiated test case, constructing a function interaction protocol model of the peripheral through protocol reverse analysis, and based on a construction result, executing a peripheral compatibility test and a pressure test in an abnormal scene through the function interaction protocol model. By differentiating the test cases, the problems of high adaptation cost and limited coverage range in cross-device compatibility test are solved.
Need to check novelty before this filing date? Find Prior Art