A visual resource collaborative management method and device for SDK testing

By building a unified visual resource library and a templated management platform, the problems of scattered SDK testing resources and imperfect version control were solved, achieving efficient resource management and team collaboration, and significantly reducing testing costs.

CN123138101APending Publication Date: 2026-11-20BEIJING BAIJU YIXING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611104792.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-24
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

The existing SDK testing resources are scattered, version control is incomplete, there is a lack of a unified platform, permission management is insufficient, and automation is low, resulting in poor resource reusability, low team collaboration efficiency, and long testing loop cycles.

Method used

Build a unified visual resource repository, realize structured metadata management, provide version control and concurrency control, set multi-level permissions, automatically link with external systems, support template reuse, and provide graphical difference views and review mechanisms.

Benefits of technology

It enables unified and visual management of test resources, improves the efficiency of resource retrieval and management, ensures the standardization and efficiency of team collaboration, shortens the test closed-loop cycle, and reduces the cost of repetitive development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123138101A_ABST
    Figure CN123138101A_ABST
Patent Text Reader

Abstract

The application discloses a kind of visual resource collaborative management for SDK test, belong to computer software test technical field.The method includes: building a unified resource library including test case library, test baseline library, test report library and test template library, to carry out classified storage and metadata management;When test case is modified, automatically generate version record, and apply concurrent control mechanism to handle concurrent editing;For test baseline, configure access control strategy to manage authority;Based on test execution result, automatically create task item in external collaboration system;And parameterize test task to generate reusable test template.The application, through unified, visual platform, in combination with perfect version control, authority management, automation linkage and templating reuse mechanism, significantly improves the collaborative management efficiency of SDK test, reduces test cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer software testing technology, and in particular to a visual resource collaborative management method and apparatus for SDK testing. Background Technology

[0002] With the increasing popularity of the Software as a Service (SaaS) model, the quality of Software Development Kits (SDKs), as the key carrier for third-party developers to integrate the core functions of the platform, directly affects the stability of upper-layer applications and user experience. SDK testing needs to cover multiple dimensions such as functionality, integration, and security, involving the management and coordination of a large number of testing resources, including test cases, test baselines, test reports, and test configurations.

[0003] Current SDK test resource management practices have several shortcomings. First, test resources are generally managed in a decentralized manner, lacking a unified visualization platform. For example, test cases are usually stored as code scripts in code repositories, test baselines are separated from the test case library, and test reports are scattered in local or shared folders. This decentralized model forces testers to frequently switch between different tools, resulting in low work efficiency, and the relationships between resources are difficult to visualize, making resource traceability challenging.

[0004] Secondly, the version control mechanism for test cases is inadequate, leading to low team collaboration efficiency. Existing management methods largely fail to effectively record the modification history of test cases, making it difficult to trace back to the valid version when problems arise. Furthermore, when multiple testers jointly maintain the test case library, there is a lack of effective concurrency control and conflict resolution mechanisms. Review and communication among team members also fail to establish a clear link between information scattered across different tools and specific test case versions.

[0005] Furthermore, the lack of flexible sharing and access control mechanisms for core resources such as test baselines makes resource reuse difficult and increases the risk of accidental misuse. There is also a lack of automated linkage between test reports and external collaboration systems; testers must manually create tasks and synchronize test results in these systems, a time-consuming and error-prone process that prolongs the closed-loop cycle of testing and defect management. Additionally, test resources are strongly tied to specific SDK versions, resulting in poor reusability and significant duplication of work during version iterations or testing similar SDKs.

[0006] In summary, existing technologies for collaborative management of SDK testing resources suffer from problems such as resource dispersion, imperfect version control, lack of sharing and permission mechanisms, low automation, and poor reusability, necessitating a more efficient solution. Summary of the Invention

[0007] To address the aforementioned technical issues, this invention provides a visual resource collaborative management method and apparatus for SDK testing. The aim is to improve the collaborative management efficiency of SDK testing and reduce testing costs through a unified visual management platform, combined with robust version control, permission management, automated linkage, and template reuse mechanisms.

[0008] This invention provides a visual resource collaborative management method for SDK testing, comprising: constructing a unified resource library containing a test case library, a test baseline library, a test report library, and a test template library to classify and store different types of SDK test resources; establishing a structured metadata description for each type of resource in the unified resource library, wherein the metadata includes at least metadata attributes for identification, version tracking, and association; automatically generating a version record containing change information for tracking change responsibility, time, content, and specific differences when a test case is modified; applying a concurrency control mechanism to handle concurrent editing operations on the same test case when multiple users are detected editing the same test case concurrently; configuring access control policies for test baselines in the test baseline library to manage the access and operation permissions of different users or user groups to the test baselines; automatically creating task items in an external collaboration system based on test execution results; parameterizing instance-specific configurations in the test task to generate reusable test templates; and, in response to a reuse request, receiving specific parameter values ​​for the template variables and instantiating a new test task based on the template and the specific parameter values.

[0009] In one implementation, the method further includes: displaying the dependency and derivation relationships between different resources in the unified resource library in the form of a relational graph in a visualization interface.

[0010] In one implementation, the method further includes: when comparing two versions of a test case, displaying the difference results through a graphical difference view, and distinguishing the added, deleted, and modified content with different colors.

[0011] In one implementation, the method further includes: providing a test case review mechanism and a comment collaboration mechanism, and associating review and comment records with the corresponding versions of the test cases.

[0012] In one implementation, the application concurrency control mechanism includes: locking the test case, or creating a copy based on the current version of the test case.

[0013] In one implementation, the configured access control policy includes setting multi-level access permissions for each test baseline, including at least one of public, team visible, and private access.

[0014] In one implementation, the automatic creation of task items based on test execution results includes: analyzing the difference information in the test report, and automatically creating corresponding task items in the connected external collaboration system for the differences marked as needing to be repaired.

[0015] In one implementation, the method further includes: establishing a bidirectional association between the task item and the test report after the task item is created; and automatically creating a regression verification task associated with the original test case when the status of the task item is detected to have been fixed.

[0016] In one implementation, parameterizing instance-specific configurations in a test task includes: automatically identifying and extracting parameters related to a specific SDK instance and converting them into template variables.

[0017] In one implementation, the method further includes: supporting the export of test resources as local files containing structured data and version information, supporting the import of resources from the local files, and providing a conflict detection and handling mechanism during import.

[0018] This invention also provides a visual resource collaborative management device for SDK testing, comprising: a resource library management module configured to build a unified resource library containing a test case library, a test baseline library, a test report library, and a test template library, for classifying and storing different types of SDK test resources; establishing a structured metadata description for each type of resource in the unified resource library, wherein the metadata includes at least metadata attributes for identification, version tracking, and association; and a version control module configured to automatically generate a version record containing change information for tracking change responsibility, time, content, and specific differences when a test case is modified; and a collaborative management module configured to... When multiple users are detected concurrently editing the same test case, a concurrency control mechanism is applied to handle concurrent editing operations on the same test case; access control policies are configured for test baselines in the test baseline library to manage the access and operation permissions of different users or user groups to the test baselines; the template management module is configured to automatically create task items in an external collaboration system based on test execution results; instance-specific configuration parameters in the test task are parameterized to generate reusable test templates; the offline collaboration module is configured to receive specific parameter values ​​for the template variables in response to a reuse request, and instantiate a new test task based on the template and the specific parameter values.

[0019] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method as described in any of the preceding claims.

[0020] Compared with the prior art, the beneficial effects of the present invention are as follows: (1) It realizes unified visual management of test resources and improves the efficiency of resource retrieval and management. By building a unified resource library and relationship graph, testers can efficiently complete the retrieval, browsing and management of all resources within a single platform, solving the problems of scattered resources and unclear relationships.

[0021] (2) A comprehensive test case version control and collaboration mechanism is provided to ensure the efficiency of team collaboration. Through version recording, visual comparison of differences, concurrency control and integrated review and comment functions, the traceability of test case changes is ensured, version conflicts are effectively avoided, and the standardization and efficiency of team collaboration are improved.

[0022] (3) It has achieved refined permission management and automated linkage of test resources, shortening the test closed-loop cycle. By setting multi-level permissions for the test baseline, secure resource sharing has been achieved. Through automated synchronization with external collaborative systems, automatic creation of task items and automatic regression verification after repair have been achieved, significantly reducing manual operations and shortening the test closed-loop cycle.

[0023] (4) Templated reuse of test resources has been achieved, reducing the cost of repetitive development. By saving test tasks as parameterized templates, existing test assets can be quickly reused in SDK version iterations or similar SDK tests. New tasks can be generated by filling in only a few parameters, which effectively solves the problem of poor resource reusability and significantly reduces testing costs. Attached Figure Description

[0024] Figure 1 This is a flowchart of a visual resource collaborative management method for SDK testing according to an embodiment of the present invention.

[0025] Figure 2 This is a schematic diagram of the unified visual management interface for test resources in an embodiment of the present invention.

[0026] Figure 3 This is a flowchart illustrating the test case version control and difference visualization comparison in an embodiment of the present invention.

[0027] Figure 4 This is a flowchart of the test baseline permission management and sharing mechanism in an embodiment of the present invention.

[0028] Figure 5 This is a flowchart illustrating the automated synchronization process between test reports and external collaboration systems in an embodiment of the present invention.

[0029] Figure 6 This is a flowchart illustrating the process of saving and reusing test task templates in an embodiment of the present invention.

[0030] Figure 7 This is a flowchart illustrating the offline collaboration mode resource export and import process in an embodiment of the present invention.

[0031] Figure 8 This is a schematic diagram of the structure of a visual resource collaborative management device for SDK testing according to an embodiment of the present invention. Detailed Implementation

[0032] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments.

[0033] In current software development practices, especially for testing software development kits (SDKs), quality assurance faces numerous challenges. Test resources, such as test cases, test baselines, and test reports, are often scattered across different systems or files, leading to chaotic management and difficult retrieval. Collaboration among team members is also inefficient due to the lack of a unified platform and standardized processes, and inadequate version control often results in the loss or conflict of work results. Furthermore, the poor reusability of test resources means that a large amount of repetitive work not only increases testing costs but also extends the product release cycle.

[0034] To address the pain points of resource dispersion, inefficient collaboration, and poor reusability in the aforementioned background technologies, this invention proposes a visual resource collaborative management method and system for SDK testing. Its core idea lies in systematically solving a series of problems in SDK testing resource management by constructing a visual, collaborative, and template-based unified resource management platform. This platform not only centrally stores and manages all test resources but also deeply integrates advanced functions such as version control, team collaboration, permission management, external system linkage, and template-based reuse, thereby achieving efficient collaboration throughout the entire test lifecycle.

[0035] In the context of this invention, some core terms have specific meanings.

[0036] Unified resource repository: refers to a centralized, structured database used to classify and store all types of resources required during SDK testing, specifically including test case library, test baseline library, test report library, and test template library, which constitute the data foundation of this invention.

[0037] Concurrency control mechanisms refer to the strategies adopted by the system to avoid data inconsistency or loss of modifications when multiple users attempt to modify the same resource (such as a test case) at the same time. These strategies include locking the resource or guiding users to merge modifications when conflicts occur.

[0038] External collaboration system: refers to third-party software that is independent of the system of this invention and is used for project management or team collaboration. A typical example is a defect tracking system used for defect management.

[0039] Test template: A reusable set of configurations that solidifies the common parts of a complete test task (including the test cases, execution environment, test baseline, etc.) and abstracts the parts related to specific instances into template variables, thereby enabling the rapid creation and reuse of test tasks.

[0040] Figure 1 This is a flowchart of the visual resource collaborative management method for SDK testing provided by the present invention. The following sections will describe... Figure 1 Each step in the process will be explained in detail.

[0041] Step S110: Build a unified resource library containing test case library, test baseline library, test report library and test template library to classify and store different types of SDK test resources.

[0042] This step addresses the issue of resource fragmentation by building a unified resource repository. This repository is clearly divided into four sub-repositories within a visual interface: a test case repository, a test baseline repository, a test report repository, and a test template repository. Users can categorize, store, and manage different types of SDK test resources within a single interface. This centralized storage approach avoids frequent switching between different tools, significantly improving the intuitiveness and convenience of resource management.

[0043] Step S120: Establish a structured metadata description for each type of resource in the unified resource repository. The metadata shall include at least metadata attributes for identification, version tracking, and association.

[0044] To achieve effective traceability and management of resources, this step establishes structured metadata descriptions for each type of resource in the unified resource repository. For example, when a user creates a new test case, the system automatically attaches a series of metadata attributes to it. This metadata includes at least a unique identifier for the resource, a version number for version tracking, and information such as the creator, creation time, associated SDK version identifier (and a list of associated resource references) for establishing relationships. By establishing such a rich metadata system, each resource possesses complete identity information, laying the data foundation for subsequent retrieval, filtering, and association analysis.

[0045] Step S130: When a test case is modified, automatically generate a version record containing change information for tracing the responsibility, time, content, and specific differences of the change.

[0046] In test case lifecycle management, version control is crucial for ensuring collaboration quality. This method stipulates that when a test case is modified and saved, the system automatically generates a version record. This version record contains change information used to trace responsibility for changes, time, content, and specific differences. Specifically, it records the version number of the modification, the modifier's identity, the modification timestamp, and generates a summary of the changes. This automated version recording mechanism ensures that every change to a test case is traceable, enabling rapid location and backtracking when problems occur, thereby improving the maintainability of test assets.

[0047] Step S140: When multiple users are detected editing the same test case concurrently, apply a concurrency control mechanism to handle concurrent editing operations on the same test case.

[0048] To address common issues in team collaboration, the system employs a concurrency control mechanism when it detects multiple users concurrently editing the same test case. For instance, if user A is editing a test case and user B attempts to enter edit mode, the system immediately displays a message informing user B of the current editor's identity and offering the option to create a copy based on the current version. User B can choose to create a copy for independent modification and then merge it later through difference comparison. This mechanism effectively avoids data overwriting and loss issues caused by concurrent modifications, ensuring the orderly nature of team collaboration.

[0049] Step S150: Configure access control policies for the test baselines in the test baseline library to manage the access and operation permissions of different users or user groups to the test baselines.

[0050] For critical reference standards such as test baselines, this method manages them through configured access control policies. When a user creates a test baseline, they can set access permissions for it. By configuring access control policies for test baselines in the test baseline library, the access and operation permissions of different users or user groups to test baselines can be managed granularly, thus ensuring both resource sharing and the security of core baseline data.

[0051] Step S160: Based on the test execution results, automatically create task items in the external collaboration system.

[0052] This step, after test execution, automatically creates a task item in an external collaboration system based on the test results. For example, for a test that failed and produced a discrepancy, the user only needs to click a "Synchronize Defect" button. The system will then call the pre-configured interface of the external collaboration system to automatically fill in the key information of the failure result, thereby creating a new task item. This frees testers from tedious manual data entry, greatly improving the efficiency and accuracy of defect reporting.

[0053] Step S170: Parameterize the instance-specific configuration in the test task to generate a reusable test template.

[0054] To enhance the reusability of test resources, this method supports the templating of test tasks. Specifically, the system can parameterize the specific configurations of instances within a pre-configured test task to generate reusable test templates. For example, when a user saves a test task as a template, the system prompts the user to convert hard-coded SDK interface addresses and other values ​​into template variables. This parameterization decouples test logic from specific instance data, making the template more versatile and increasing its reusability.

[0055] Step S180: In response to the reuse request, receive the specific parameter values ​​for the template variable, and instantiate a new test task based on the template and the specific parameter values.

[0056] When a template needs to be reused, the system responds to the reuse request, receives the specific parameter values ​​for the template variables, and instantiates a new test task based on the template and the specific parameter values. For example, another user can select the template created above and enter a new SDK interface address for the template variables in the pop-up interface. After receiving the parameter value, the system will inject it into the template and quickly generate an executable test task for the new SDK instance. This design significantly reduces the repetitive configuration costs caused by SDK version iterations or testing similar SDKs.

[0057] In one implementation, to more intuitively display the relationships between resources, the present invention further provides a visualized relationship graph function. For example... Figure 2As shown, in a typical unified visual management interface for test resources, in addition to the navigation view, resource list, and filter area, there is also a dedicated relationship graph area. When a user selects a resource in the resource list, such as a test report, the relationship graph area dynamically displays all resources related to that report and their relationships in a graphical manner. For example, the graph uses nodes to represent the test report, the test cases from which it originated, and the test baselines associated with those test cases, and uses directional edges to represent the dependencies and derivations between them. In this way, users can clearly trace the source and destination of any resource. For example, from a failed report, they can quickly locate which version of the test case and which baseline version caused the problem during execution, greatly improving the traceability of resource management and the efficiency of problem localization.

[0058] In one implementation, to optimize the version control experience and promote team collaboration, this invention deepens the version comparison and review mechanism for test cases. For example... Figure 3 As shown, when a user needs to compare two different versions of a test case, the system no longer simply displays two pieces of text, but provides a graphical difference view. In this view, the system performs a structured difference analysis on the two versions of the test case and overlays the results in a highlighted format on the graphical test case orchestration interface. Specifically, newly added components or logic are marked in green, deleted parts are marked in red, and modified content is marked in yellow. This intuitive color differentiation allows users to understand the changes between versions at a glance, which is far more efficient than reading code differences.

[0059] In one implementation, the present invention also integrates a test case review mechanism and a comment collaboration mechanism on the same difference comparison interface. Users can initiate a review request based on a specific change and specify the reviewer. After receiving the notification, the reviewer can leave comments on the specific change point (e.g., a component highlighted in yellow) on this graphical difference view. All review comments and discussion records are associated with the corresponding version of the test case and are permanently saved. This solves the problem of traditional reviews where opinions are scattered in emails or instant messaging tools, making them difficult to trace and manage. By associating review and comment records with the corresponding version of the test case, a complete, context-sensitive collaborative environment is formed, effectively improving the team's ability to jointly ensure the quality of test cases.

[0060] In one implementation, concurrency control mechanisms can employ various implementation methods to adapt to different team collaboration habits. One is a pessimistic locking strategy, such as... Figure 3In the illustrated process, when a user begins editing a test case, the system can lock that test case. At this time, other users can only view the test case in read-only mode but cannot edit it; the username of the user currently locking the test case will be clearly displayed on the interface. This method completely avoids concurrent modification conflicts and is suitable for scenarios with extremely high consistency requirements. Another approach is an optimistic strategy: the system allows users to edit simultaneously, but when a user submits changes, it checks whether the test case has been modified by others during the editing process. If a conflict occurs, the system provides a merge tool, allowing the user to create a copy based on the current version of the test case, make modifications to the copy, and then manually merge the differences. These two methods, by locking or creating copies respectively, provide flexible and effective solutions for handling concurrent editing.

[0061] In one implementation, to achieve more refined resource sharing and security control, this invention provides a detailed design for the access control policy of the test baseline. For example... Figure 4 As shown, the core of this mechanism lies in setting multi-level access permissions for each test baseline. A typical implementation provides three permission levels: public, team visible, and private. A baseline set to public can be viewed and used by all members within the organization; a baseline set to team visible can only be accessed by members added to a specific team list; and a baseline set to private is only visible to the creator. This multi-level permission design allows users to flexibly control the scope of sharing based on the sensitivity and universality of the baseline, promoting the sharing and reuse of valuable baselines while protecting the security of private or experimental baselines.

[0062] In one implementation, the permission mechanism also includes rules for permission inheritance and transfer. When a user creates a new custom baseline based on a team-visible baseline, the new baseline's default permissions are automatically inherited as team-visible, along with its member list. The creator can adjust the new baseline's permissions as needed, such as expanding its scope to public or narrowing it to private. This inheritance mechanism simplifies the permission configuration process while maintaining the independence of each baseline's permissions; that is, subsequent changes to the source baseline's permissions will not affect the permission settings of derived baselines. This design enables secure and efficient shared management of test baseline resources.

[0063] In one implementation, to achieve seamless integration of testing and defect management, this invention provides an automated synchronization solution that deeply integrates with external collaborative systems. For example... Figure 5 As shown, the first step is to analyze the differences in test results. After an SDK test is completed, the system analyzes the generated test report, especially the difference information. For those differences marked by the testers as needing to be fixed, the system will automatically trigger the next steps.

[0064] Next, the system automatically creates task items. Based on pre-configured connection information (such as Jira server address, project identifier, and authentication credentials), the system calls the Application Programming Interface (API) of the external collaboration system to automatically create the corresponding task item. During creation, the system automatically fills in the ticket's detailed information, such as a description of the discrepancy (including expected and actual values), the associated SDK version, test environment information, and even screenshots of the discrepancies. This significantly reduces the workload of testers manually copying, pasting, and entering information, and avoids human error.

[0065] After a work order is created, the system establishes a two-way link between the work order and the test report. On one hand, the system records the newly created task item number next to the corresponding difference item in the test report; on the other hand, it automatically adds a comment or a link to the detailed report of this test in the Jira work order. This two-way link allows developers to quickly locate the complete test context when viewing defects, and testers can directly jump from the report to the corresponding defect tracking status.

[0066] Finally, this solution also achieves a closed-loop linkage between repair verification. When developers update the status of a task item to "repaired" in Jira, the Jira system can notify this invention system through mechanisms such as network hooks. Upon receiving the notification, this system automatically creates a regression verification task for the relevant testers within the platform. This task is automatically associated with the original test cases and test baselines, and testers only need to click "execute" to perform verification. After successful verification, the result will also be automatically written back to the comment section of the Jira ticket. This complete automated closed loop significantly shortens the cycle from defect discovery to verification and repair.

[0067] Regarding templating, to further improve the intelligence level of template creation and the universality of templates, this invention adopts a parameterization method for automatic identification and extraction. For example... Figure 6 As shown, when a user chooses to save a completed test task as a template, the system initiates a parameterized abstraction process. During this process, the system statically analyzes the test case content and execution environment configuration contained in the task, and automatically identifies parameters related to a specific SDK instance through predefined rules or pattern matching. For example, the system can identify strings in Uniform Resource Locator (URL) format, specific authentication token formats, or fields marked as business parameters in the test cases.

[0068] After identifying specific parameters of these instances, the system extracts them from their original locations and converts them into template variables. For example, a specific API address, https: / / api.example.com / v1 / users, is abstracted into the template variable SDK_BASE_URL, whose value in the template is either empty or a placeholder. Simultaneously, the system records the variable's description (such as the base address of the SDK API) and data type. Through this automatic identification and extraction process, a specific test task instance is intelligently transformed into a highly generic test template without hard-coded values, laying a solid foundation for subsequent reuse.

[0069] When other users need to reuse this template, the process is as follows: Figure 6 As shown in the latter half, after the user selects a template, the system displays a clear form listing all the template variables that need to be filled in and their descriptions. The user only needs to enter the specific parameter values ​​for the new target SDK, and the system will then execute the parameter value generation task. The system precisely fills the user-input values ​​into the various variable placeholders in the template, thereby dynamically generating a brand-new, fully configured, and immediately executable test task. This process is not only efficient but also reduces the risk of introducing errors due to manual configuration modifications.

[0070] Furthermore, this invention also considers offline or poor network collaboration scenarios, providing an offline collaboration mode. For example... Figure 7 As shown, this mode mainly includes two steps: resource export and import. Users can select one or more test resources (such as test cases and test baselines) in a network-connected environment and then export them as a local file. The system supports exporting resources to a common data exchange format. The exported file contains not only the complete structured data of the resources but also their version information and association information, forming an independently distributable resource package.

[0071] When team members modify resources offline or need to share resources with partners who cannot directly access the system, this exported file can serve as a carrier. The receiving party can load this file into their own system instance using the import function. During import, the system parses the file content and performs conflict detection. For example, if the imported test cases already exist locally but are of a different version, the system provides the user with conflict handling options, such as overwriting the existing version, creating a new version, or canceling the import. Through this export and import mechanism that supports structured data and version information, along with conflict detection and handling during import, this invention effectively supports distributed and asynchronous team collaboration models.

[0072] In the above embodiments, version conflict handling employs a pessimistic locking strategy or provides the option to create a copy. As an alternative implementation, an optimistic locking strategy can also be used entirely. Under this strategy, the system does not restrict users from editing the same use case simultaneously. However, when a user saves changes, the system checks whether the use case has been modified by other users since the user began editing (e.g., by comparing the version number at the start of editing with the currently stored version number). If it has not been modified, it is saved successfully. If it has been modified, the system prompts a conflict and provides a three-way merge view (showing the original version, the version on the current server, and the version modified by the user), guiding the user to manually merge the conflicts before saving. This alternative approach provides a smoother editing experience in scenarios with a low probability of conflict because it does not block the user's editing behavior.

[0073] For access control, in addition to the aforementioned three-tiered access control model (public, team visible, private), a more flexible role-based access control model can be used as an alternative implementation. In this approach, the system can predefine various roles, such as test administrator, senior test engineer, regular test engineer, and read-only observer. Each role is granted a different set of operational permissions (e.g., create, read, update, delete) for different types of resources (use cases, baselines, reports, templates). Project administrators can assign one or more roles to team members, and a user's final permissions are the union of all their role permissions. This approach is particularly suitable for large-scale, cross-departmental, and complex collaborative scenarios, enabling more granular and dynamic access control.

[0074] Regarding synchronization with external collaborative systems, besides directly creating task items via API calls, an asynchronous model based on message queues can be used as an alternative implementation. In this approach, when a test is completed and defects need to be synchronized, the system does not directly call the defect system's API. Instead, it encapsulates the difference data to be synchronized into a message and sends it to a message queue. A separate consumer service retrieves the message from the queue and is responsible for calling the defect system's interface to create a work order. The advantage of this design is decoupling; even if the defect tracking system is temporarily unavailable, the message will not be lost, and the consumer service will retry later, thereby improving the reliability of synchronization and the robustness of the entire system.

[0075] Regarding template reuse, to further enhance the user experience, an intelligent template recommendation function based on historical usage data can be introduced as an alternative implementation. The system can record and analyze the logs of each template reuse, including which user, when, and for which type of SDK which template was reused. When a user starts configuring a new test task, the system can calculate and recommend the top-matching templates from the template library using collaborative filtering or content similarity algorithms, based on the context information of the current task (such as SDK type identifiers, interface naming characteristics, etc.). These recommendations are displayed on the user interface in card form, allowing users to select them with a single click, thus eliminating the need for manual searching and filtering in a large template library.

[0076] For offline collaboration, in addition to full export and import methods, incremental synchronization can be used as an alternative implementation to optimize efficiency in scenarios with large data volumes. In this mode, a full export is performed during the initial collaboration, generating a baseline data package. In subsequent collaborations, users only need to export resources that have changed since the last synchronization point, including newly added resources, change records of modified resources, and identifiers of deleted resources, generating a lightweight incremental data package. When the recipient imports the data, the system first verifies whether it has the corresponding baseline data locally, and then applies the incremental data packages sequentially to update its local resource library. This method significantly reduces data transfer volume and import processing time, making it particularly suitable for scenarios requiring frequent offline collaboration.

[0077] After introducing the visual resource collaborative management method for SDK testing provided by this invention, the following section refers to... Figure 8 The present invention provides a visual resource collaborative management device for SDK testing.

[0078] refer to Figure 8 A visual resource collaboration management device 800 for SDK testing includes: The resource repository management module 810 is configured to build a unified resource repository containing a test case repository, a test baseline repository, a test report repository, and a test template repository to classify and store different types of SDK test resources; and to establish a structured metadata description for each type of resource in the unified resource repository, wherein the metadata includes at least metadata attributes for identification, version tracking, and association. Version control module 820 is configured to automatically generate a version record containing change information for tracing responsibility for changes, time, content, and specific differences when a test case is modified. The collaboration management module 830 is configured to apply a concurrency control mechanism to handle concurrent editing operations on the same test case when multiple users are detected editing the same test case concurrently; and to configure access control policies for test baselines in the test baseline library to manage the access and operation permissions of different users or user groups to the test baselines. The template management module 840 is configured to automatically create task items in an external collaboration system based on test execution results; it also parameterizes instance-specific configurations in test tasks to generate reusable test templates. The offline collaboration module 850 is configured to respond to reuse requests, receive specific parameter values ​​for template variables, and instantiate a new test task based on the template and specific parameter values.

[0079] In summary, this invention comprehensively addresses the core pain points in SDK test resource management by constructing a unified resource repository, implementing refined version control, providing a multi-level collaboration mechanism, achieving intelligent linkage with external systems, and promoting template reuse. The visual resource collaborative management method and system for SDK testing provided by this invention not only significantly improves the efficiency of test resource retrieval and management, ensuring smooth team collaboration and data consistency, but also greatly shortens the test closed-loop cycle and reduces the cost of repetitive development through automation and template technologies. This has significant practical value for improving the quality and delivery efficiency of SDKs and even the entire software product. Those skilled in the art should understand that the embodiments disclosed in this invention are not limited to the above embodiments, and any equivalent substitutions or modifications made based on the ideas of this invention should fall within the protection scope of this invention.

Claims

1. A visual resource collaborative management method for SDK testing, characterized in that, include: Build a unified resource library that includes a test case library, a test baseline library, a test report library, and a test template library to classify and store different types of SDK test resources; Establish a structured metadata description for each type of resource in the unified resource repository, wherein the metadata includes at least metadata attributes for identification, version tracking, and association. When a test case is modified, a version record is automatically generated containing change information for tracing responsibility for the change, time, content, and specific differences. When multiple users are detected editing the same test case concurrently, a concurrency control mechanism is applied to handle the concurrent editing operations on the same test case. Configure access control policies for the test baselines in the test baseline library to manage the access and operation permissions of different users or user groups to the test baselines; Based on the test execution results, automatically create task items in the external collaboration system; Parameterize instance-specific configurations in test tasks to generate reusable test templates; In response to the reuse request, the system receives specific parameter values ​​for the template variable and instantiates and generates a new test task based on the template and the specific parameter values.

2. The method according to claim 1, characterized in that, The method further includes: The visualization interface displays the dependency and derivation relationships between different resources in the unified resource library in the form of a relationship graph.

3. The method according to claim 1, characterized in that, The method further includes: When comparing two versions of a test case, the differences are displayed in a graphical view, with different colors used to distinguish between added, deleted, and modified content.

4. The method according to claim 3, characterized in that, The method further includes: Provide a test case review mechanism and a comment collaboration mechanism, and associate the review and comment records with the corresponding version of the test case.

5. The method according to claim 1, characterized in that, The application concurrency control mechanism includes: locking the test case, or creating a copy based on the current version of the test case.

6. The method according to claim 1, characterized in that, The configured access control policy includes setting multi-level access permissions for each test baseline, including at least one of public, team visible, and private access.

7. The method according to claim 1, characterized in that, The automatic creation of task items based on test execution results includes: analyzing the difference information in the test report, and automatically creating corresponding task items in the connected external collaboration system for the differences marked as needing to be repaired.

8. The method according to claim 7, characterized in that, The method further includes: After creating the task item, a bidirectional association is established between the task item and the test report; and when the status of the task item is detected to have changed to "repaired", a regression verification task associated with the original test case is automatically created.

9. The method according to claim 1, characterized in that, The parameterization of instance-specific configurations in the test task includes: automatically identifying and extracting parameters related to a specific SDK instance, and converting them into template variables.

10. The method according to claim 1, characterized in that, The method further includes: It supports exporting test resources as local files containing structured data and version information, and supports importing resources from the local files, while providing conflict detection and handling mechanisms during import.