Debugging and performance monitoring methods and systems for iOS application program development.

The integration of multifunctional debugging and performance monitoring modules into a unified system addresses the incompatibility of conventional tools, improving iOS application development efficiency by reducing tool-switching time and enhancing operational convenience.

JP2026528677APending Publication Date: 2026-08-25SHENZHEN GREEN CONNECTION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2025572938
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-10-21
Filing Date
2025-09-11
Publication Date
2026-08-25

AI Technical Summary

Technical Problem

Conventional debugging and performance monitoring tools for iOS application development are not compatible, leading to increased complexity and time cost due to the need for frequent tool switching during multiple debugging and monitoring tasks.

Method used

A method and system that integrates multifunctional debugging and performance monitoring modules, allowing synchronous execution and real-time multi-dimensional debugging and monitoring through a unified control interface, reducing the need for tool switching and improving development efficiency.

Benefits of technology

The integrated system reduces user limitations and tool-switching time, enhancing development efficiency and convenience by providing comprehensive and powerful debugging and monitoring capabilities adaptable to different development stages and scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026528677000001_ABST
    Figure 2026528677000001_ABST
Patent Text Reader

Abstract

The present invention discloses a debugging and performance monitoring method and system for iOS application program development. This method is applied to a debugging and performance monitoring system for iOS application program development. This system includes a multi-function debugging module and a performance monitoring module that can be called simultaneously. This method includes determining a response module and response items when it is determined that the current operating conditions satisfy the usage control needs of the system, the response module including a primary module or a secondary module, the primary module including a multi-function debugging module and a performance monitoring module, the secondary module including a debugging submodule and a monitoring submodule, the control response module performing an item response operation according to the response items and obtaining an item response result, the response items including debugging items and performance monitoring items, and the item response operation including multi-dimensional system parameter debugging and performance data analysis and optimization processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of system intelligent control technology, and particularly relates to a debugging and performance monitoring method for iOS application program development and a system.

Background Art

[0002] With the rapid development of mobile Internet technology, the development of iOS applications has become an important component in the field of software development. However, in the process of iOS application development, debugging and performance monitoring are always important challenges faced by developers. Although conventional debugging and performance monitoring tools are excellent in their respective fields, conventional debugging and performance monitoring tools focus on certain specific debugging or monitoring tasks and each tool is used independently. Therefore, when developers need to perform multiple debugging and monitoring tasks, they need to frequently switch tools, which has the main defect of increasing the complexity and time cost of development. Therefore, it is particularly important to provide a corresponding solution to the technical problem that there is no compatibility between the debugging and performance monitoring tools existing in conventional iOS application program development and the development complexity is high.

Summary of the Invention

[0003] The present invention provides a debugging and performance monitoring method for iOS application program development and a system that can realize the aggregation of multifunctional debugging and monitoring tools, reduce the complexity of user development, and improve development efficiency.

[0004] To solve the above technical problems, a first aspect of the present invention discloses a debugging and performance monitoring method for iOS application program development. The method is used in a debugging and performance monitoring system for iOS application program development. The system integrates at least a multifunction debugging module and a performance monitoring module, and the multifunction debugging module and the performance monitoring module can be called synchronously, and in the method, After determining that the current operating conditions of the system satisfy the user's usage control needs for the system, a response module that responds to the usage control needs is determined, and the response items that the user triggers in the response module are determined, wherein the response module includes a primary module or a secondary module, the module hierarchy of the primary module is higher than that of the secondary module, the primary module includes the multifunction debug module and the performance monitoring module, and the secondary module includes at least one debug submodule of the multifunction debug module and at least one monitoring submodule of the performance monitoring module. Control the response module to perform a response operation according to the response item, and obtain the response result for the response module. Here, the response items include debugging items for the multi-function debugging module and / or performance monitoring items for the performance monitoring module, and the item response operation includes a multi-dimensional system parameter debugging operation corresponding to the debugging items and a performance data analysis and optimization process corresponding to the performance monitoring items.

[0005] A second aspect of the present invention discloses a debugging and performance monitoring system for iOS application program development. The aforementioned system, Memory containing executable program code, A processor connected to the memory, The processor invokes executable program code stored in memory to perform the method disclosed in a first aspect of the present invention.

[0006] A third aspect of the present invention discloses a network-attached storage device, the network-attached storage device comprising a device body, which is used to perform the method disclosed in the first aspect of the present invention.

[0007] Compared to the prior art, the embodiments of the present invention have the following beneficial effects.

[0008] In an embodiment of the present invention, a debugging and performance monitoring method and system for iOS application program development are provided. By implementing the present invention, a multi-functional debugging module and a performance monitoring module are integrated into a single system, and real-time multi-dimensional debugging and performance monitoring functions are realized through a control interface corresponding to the integrated system. This reduces user limitations, decreases the time required for users to switch tools when performing different debugging and monitoring operations, and is advantageous in improving the efficiency and convenience of development using this system. [Brief explanation of the drawing]

[0009] [Figure 1] This is a flowchart of a debugging and performance monitoring method for iOS application program development disclosed in an embodiment of the present invention. [Figure 2] This is a flowchart of a debugging and performance monitoring method for another iOS application program development disclosed in an embodiment of the present invention. [Figure 3] This is a schematic diagram of the structure of a debugging and performance monitoring system for iOS application program development disclosed in an embodiment of the present invention. [Modes for carrying out the invention]

[0010] This invention discloses a debugging and performance monitoring method and system for iOS application program development. It integrates a multi-functional debugging module and a performance monitoring module into a single system, and further realizes real-time multi-dimensional debugging and performance monitoring functions through a control interface corresponding to the integrated system. This reduces user limitations, decreases the time required for tool switching when the user performs different debugging and monitoring operations, and is advantageous in improving the efficiency and convenience of development using the system. Each of these will be described in detail below.

[0011] Example 1 Referring to Figure 1, Figure 1 is a flowchart of a debugging and performance monitoring method for iOS application program development disclosed in an embodiment of the present invention. The debugging and performance monitoring method for iOS application program development shown in Figure 1 can be applied to a debugging and performance monitoring system or device for iOS application program development, and is not limited to the embodiments of the present invention. Furthermore, the system integrates at least a multifunction debugging module and a performance monitoring module, and the multifunction debugging module and the performance monitoring module can be called synchronously. As shown in Figure 1, the debugging and performance monitoring method for iOS application program development may include the following operations.

[0012] 101. After confirming that the system's current operating conditions meet the user's usage control needs for the system, determine the response module that will respond to the usage control needs.

[0013] In embodiments of the present invention, the usage control demand may be a control command sent by the user to the system, and specifically, the control command may be generated by the user triggering a response module installed in the system.

[0014] In embodiments of the present invention, the response module includes a primary module or a secondary module, wherein the module hierarchy of the primary module is higher than that of the secondary module, the primary module includes a multifunction debug module and a performance monitoring module, and the secondary module includes at least one debug submodule of the multifunction debug module and at least one monitoring submodule of the performance monitoring module.

[0015] In embodiments of the present invention, if the response module is a primary module, the usage control demand currently triggered by the user requires calling all module functions of the multifunction debug module and the performance monitoring module. If the response module is a secondary module, the usage control demand currently triggered by the user requires calling only one or more debug submodules and only one or more monitoring submodules. If multiple debug submodules are called, the total number of debug submodules called is necessarily less than the total number of debug submodules. Similarly, if multiple monitoring submodules are called, the total number of monitoring submodules called is necessarily less than the total number of monitoring submodules.

[0016] 102. Confirm the response that the user will trigger in the response module.

[0017] 103. The response module is controlled to perform an item response operation according to the response item, and the item response result for the response module is obtained.

[0018] In embodiments of the present invention, the response items include debugging items for a multi-function debug module and performance monitoring items for a performance monitorable module. The item response operation includes a multi-dimensional system parameter debugging operation corresponding to the debugging items and performance data analysis and optimization processing corresponding to the performance monitoring items.

[0019] Implement the debugging and performance monitoring method for iOS application program development described in FIG. 1, integrate the multi-functional debugging module and the performance monitoring module into one system, and further realize the real-time multi-dimensional debugging and performance monitoring functions through the control interface corresponding to the integrated system, reduce the difficulty of use for users, reduce the time for tool switching when users perform different debugging and monitoring operations, and are beneficial to improving the efficiency and convenience of users developing using this system.

[0020] Example 2 Referring to FIG. 2, FIG. 2 is a flowchart of another debugging and performance monitoring method for iOS application program development disclosed in an embodiment of the present invention. Here, the debugging and performance monitoring method for iOS application program development shown in FIG. 2 can be applied to the debugging and performance monitoring device for iOS application program development, and the embodiments of the present invention do not limit it. As shown in FIG. 2, the debugging and performance monitoring method for the iOS application program development may include the following operations.

[0021] 201. When detecting the usage control requirement for the system, detect whether the current operating conditions of the system meet the usage control requirement.

[0022] In an embodiment of the present invention, when it is detected in step 201 that the current operating conditions of the system meet the usage control requirement, trigger the execution of step 204, and when it is detected in step 201 that the current operating conditions of the system do not meet the usage control requirement, trigger the execution of step 202.

[0023] 202. Determine a plurality of load operation items of the system, compare the current operating conditions with the plurality of load operation items, and obtain the unloaded items of the system.

[0024] Generate a load control command for the unloaded item and execute load control on the unloaded item based on the load control command so that the system is adjusted to meet the usage control requirements.

[0025] In an embodiment of the present invention, the plurality of load operation items include at least one item component among a core debug tool component, a performance monitoring plugin, a network debug plugin, a user interaction and gesture plugin, other general-purpose debug tools, and third-party plugins.

[0026] In an embodiment of the present invention, the core debug tool component further includes a view inspector, a measurement tool, and a color picker; the performance monitoring plugin includes a frame rate monitor, a CPU, and a memory usage monitor; the network debug plugin includes a network logger and an API inspector; the user interaction and gesture plugin includes a touch inspector and a gesture recognition debugger; and other general-purpose debug tools include a console log recorder and a sandbox browser.

[0027] In embodiments of the present invention, the View Inspector is a tool for checking and debugging application interface elements in real time, allowing developers to view the hierarchical structure, layout, and attribute information of the view. The Measurement Tool allows developers to measure the size, margins, and layout of the view in the application, enabling them to precisely adjust the position and size of interface elements. The Color Picker is used to select and view the colors used in the view, supporting the modification of color configurations and facilitating adjustment of interface color combinations. The FPS Monitor is used to monitor the application's frame rate (FPS) in real time, helping developers identify performance bottlenecks and optimize interface rendering performance. The CPU and Memory Usage Monitor monitors the application's CPU and memory usage, helping developers identify and resolve performance issues. The Network Logger records and displays the application's network requests, response data, HTTP header information, etc., assisting developers in debugging and optimizing network-related functions. The API Inspector is used to check and test API requests and their responses sent from an application to ensure the accuracy of network interactions. The Touch Inspector is used to record and display touch and gesture operations performed by the user in the application, helping developers debug user interaction issues. The Gesture Recognizer Debugger can ensure that the gesture control functions of an application work correctly by monitoring and analyzing the gesture recognition process.The Console Logger is used to collect and display log information during application operation, facilitating debugging and fault isolation. The Sandbox Browser allows developers to directly access and view the application's sandbox file system, facilitating debugging of file read / write issues.

[0028] 204. Determine the response module that responds to usage control demands.

[0029] 205. Confirm the response that the user will trigger in the response module.

[0030] 206. Control the response module to perform an item response operation according to the response item, and obtain the item response result for the response module.

[0031] For further details regarding steps 204-206 in the embodiments of the present invention, please refer to the other specific descriptions of steps 101-103 in Example 1.

[0032] By implementing the debugging and performance monitoring method for iOS application program development shown in Figure 2, and by setting up a detection and adjustment mechanism for the system's current operating conditions, if the system detects that its current operating conditions do not meet the usage control needs, the system automatically identifies and confirms missing load operation items (e.g., core debugging tool components, performance monitoring plugins, etc.), generates and loads corresponding load control commands, thereby ensuring that the system can dynamically adjust its functions and performance according to actual needs, which is advantageous for improving the system's operational reliability. Furthermore, based on multiple configured load operation items, the system can provide comprehensive and powerful debugging and monitoring capabilities, thereby meeting the usage needs of different development stages and scenarios and further improving the system's applicability.

[0033] In the selectable embodiments, all debug submodules include an interface control submodule, a memory detection submodule, a log management submodule, and a network management submodule.

[0034] The methods for determining the response triggered by the response module include, specifically, the following: Identify at least one target debug submodule from all debug submodules that responds to the usage control requirements. The system detects the sub-control instructions and their corresponding instruction details that were triggered on the target debug submodule, and adds the sub-control instructions and their corresponding instruction details to the response items that the user triggers in the response module. The sub-control instruction includes at least one instruction from among the following: a view editing instruction for the interface control submodule, a memory detection processing instruction for the memory detection submodule, a debug and error elimination instruction for the log management submodule, and a network debugging and optimization instruction for the network management submodule.

[0035] In the selectable embodiments, if a sub-control command includes a view editing command, the command details corresponding to the sub-control command include at least one of the following: viewing the interface hierarchy, adjusting the interface layout, and editing interface attributes. If a sub-control instruction includes a memory detection processing instruction, the instruction details corresponding to the sub-control instruction include at least one of the following: monitoring application memory usage data, detecting memory leaks, identifying the location of the memory leak, and processing. If a sub-control instruction includes a debug and error elimination instruction, the instruction details corresponding to the sub-control instruction include at least one of the following: log presentation, layout and constraint debugging, measurement parameter debugging based on a measurement tool, color parameter debugging based on a color picker, frame rate debugging based on a frame rate monitor, memory leak detection based on a CPU and memory usage monitor, network debugging based on network logging, API debugging based on an API inspector, touch debugging based on a touch inspector, gesture debugging based on a gesture identification debugger, log debugging based on a console log recorder, sandbox debugging based on a sandbox browser, and plugin debugging based on a custom plugin. If a sub-control instruction includes network debugging and optimization instructions, the instruction details corresponding to the sub-control instruction include at least one of the following: network request transmission, network request recording, and network performance debugging.

[0036] In selectable embodiments, if the response module includes a multi-function debug module, access to and calling of secondary submodules (target debug submodules) is performed based on the top-level multi-function debug module. Level-by-level module management enables detailed management and integration of multiple secondary submodules, making management convenient. Furthermore, the multi-function debug module integrates multiple debug submodules such as interface control, memory detection, log management, and network management. In other words, multiple debugging functions are integrated into the same system, eliminating the need for users to switch between multiple independent tools or systems. Multiple debugging tasks can be completed at one station, significantly reducing the time cost and operational complexity of the debugging process, and improving the efficiency and flexibility of debugging work.

[0037] In another selectable embodiment, the method for determining the response triggered by the response module by the user further includes, specifically, the following: The system acquires application performance data corresponding to the applications currently running on the system. This application performance data includes at least one of the following: CPU usage, memory requirements, frame rate, and network bandwidth. The performance monitoring module determines multiple optimization parameters, analyzes application performance data, and obtains the current target optimization parameters to be optimized in the application performance data. The multiple optimization parameters include at least one of the following: interface rendering performance, memory usage, network requests and data loading, animation performance, plugin startup time, thread processing and parallel tasks, application crashes and errors. The target optimization parameters and their corresponding pre-configured optimization items are added to the response items that the user triggers in the response module.

[0038] In selectable embodiments, the system achieves a comprehensive understanding of application performance by monitoring application performance data of currently running applications in real time (e.g., CPU usage, memory requirements, frame rate, and network bandwidth). Simultaneously, intelligent analysis of this data allows for the accurate identification of current optimization target parameters, such as interface rendering performance, memory usage, network requests, and data load. By integrating multiple debugging functions and further integrating real-time monitoring and accurate analysis functions for application performance data, the system's overall functionality and applicability are improved.

[0039] In yet another optional embodiment, the response module further includes a plug-in extension module and / or a user interface module. The method for determining the responses that users trigger in the response module specifically includes the following: If the response module includes a plugin extension module, it determines the plugins to be installed on the system and their corresponding plugin installation items according to the usage control needs, and adds the installed plugins and their corresponding plugin installation items to the response items that the user triggers with the response module. If the response module includes a user interface module, it determines the switching needs for any debugging and monitoring tools in the system in response to usage control needs, generates switching response commands that match the switching needs, and adds the debugging and monitoring tools and their corresponding switching response commands to the response items that the user triggers in the response module. The debugging and monitoring tools are functional implementation tools provided in the multi-functional debugging module and the performance monitoring module.

[0040] In selectable embodiments, further introducing a plug-in extension module to the response module allows the system to dynamically add or update functional plugins according to usage control needs, enabling developers or users to customize and adjust system functionality by installing or uninstalling plugins without modifying the system core code, which is advantageous in improving system scalability and allowing the system to easily adapt to different application scenarios, changing needs, and user interface modules, thereby improving system flexibility. The introduction of a user interface module allows users to conveniently switch between debugging and monitoring tools according to their needs, which is advantageous in improving user convenience and user experience when using the system.

[0041] Example 3 Referring to Figure 3, Figure 3 is a schematic diagram of the structure of the iOS application program development debugging and performance monitoring system disclosed in an embodiment of the present invention. As shown in Figure 3, the iOS application program development debugging and performance monitoring system is Memory 301 storing executable program code, A processor 302 connected to memory 301, Includes. The processor 302 calls the executable program code stored in the memory 301 and performs the steps in the debugging and performance monitoring method for iOS application program development described in Embodiment 1 or Embodiment 2 of the present invention.

[0042] Example 4 Embodiments of the present invention disclose a network-attached storage device. This network-attached storage device includes a device body. This network-attached storage device performs the steps in the debugging and performance monitoring method for iOS application program development described in Embodiment 1 or Embodiment 2 of the present invention.

[0043] In embodiments of the present invention, the debugging and performance monitoring method for iOS application program development described in Embodiment 1 or Embodiment 2 of the present invention can be applied to highly integrated app / application programs during actual use. Furthermore, the user can exchange data with a network-attached storage device via this app / application program, upload data to the network-attached storage device, or read necessary exchange data from the network-attached storage device.

[0044] Example 5 Embodiments of the present invention disclose a computer program product including a non-temporary computer storage medium storing a computer program, the computer program being operable to cause a computer to perform steps in the debugging and performance monitoring method for iOS application program development described in Embodiment 1 or Embodiment 2.

Claims

1. A debugging and performance monitoring method for iOS application program development, The method described above is used in a debugging and performance monitoring system for iOS application program development, the system includes at least a multi-function debugging module and a performance monitoring module, the multi-function debugging module and the performance monitoring module can be called synchronously, and in the method described above, After determining that the current operating conditions of the system satisfy the user's usage control needs for the system, a response module that responds to the usage control needs is determined, and the response items that the user triggers with the response module are determined, wherein the response module includes a primary module or a secondary module, the module hierarchy of the primary module is higher than that of the secondary module, the primary module includes the multifunction debug module and the performance monitoring module, and the secondary module includes at least one debug submodule of the multifunction debug module and at least one monitoring submodule of the performance monitoring module. Control the response module to perform a response operation according to the response item, and obtain the response result for the response module. The method is characterized in that, the response items include debugging items for the multi-function debug module and performance monitoring items for the performance monitoring module, and the item response operation includes a multi-dimensional system parameter debugging operation corresponding to the debugging items and a performance data analysis and optimization process corresponding to the performance monitoring items.

2. The aforementioned method further includes the following, namely, When a usage control demand for the system is detected, the system detects whether the current operating conditions of the system satisfy the usage control demand. If it is detected that the current operating conditions of the system satisfy the usage control demand, the system performs operations corresponding to determining the response module that responds to the usage control demand, and operations corresponding to determining the response items that the user will trigger with the response module. If it is detected that the current operating conditions of the system do not meet the usage control requirements, the system determines multiple load operation items, compares the current operating conditions with the multiple load operation items, and retrieves the unloaded items of the system. A load control command is generated for the unloaded items, and load control is performed on the unloaded items based on the load control command so that the system is adjusted to meet the usage control needs. The method according to claim 1, wherein the plurality of load operation items include at least one item component from among a core debug tool component, a performance monitoring plugin, a network debug plugin, a user interaction and gesture plugin, other general-purpose debug tools, and a third-party plugin.

3. The method according to claim 2, characterized in that the core debugging tool component includes a view inspector, a measurement tool, and a color picker; the performance monitoring plugin includes a frame rate monitor, a CPU and memory usage monitor; the network debugging plugin includes a network logger and an API inspector; the user interaction and gesture plugin includes a touch inspector and a gesture-recognition debugger; and the other general-purpose debugging tools include a console log recorder and a sandbox browser.

4. All of the aforementioned debug submodules include an interface control submodule, a memory detection submodule, a log management submodule, and a network management submodule. The user confirms the response triggered by the response module, A step of determining at least one target debug submodule that responds to the usage control demand from all of the debug submodules, The steps include: detecting a sub-control instruction and its corresponding instruction details that were triggered for the target debug submodule, and adding the sub-control instruction and its corresponding instruction details to the response items that the user triggers in the response module; Includes, The method according to claim 1, characterized in that the sub-control instruction includes at least one instruction from among the following: a view editing instruction for the interface control submodule, a memory detection processing instruction for the memory detection submodule, a debug and error elimination instruction for the log management submodule, and a network debugging and optimization instruction for the network management submodule.

5. If the sub-control command includes the view editing command, the command details corresponding to the sub-control command include at least one of viewing the interface hierarchy, adjusting the interface layout, and editing interface attributes. If the sub-control instruction includes the memory detection processing instruction, the instruction details corresponding to the sub-control instruction include at least one of the following: monitoring application memory usage data, detecting memory leaks, identifying the location of the memory leak, and processing. If the sub-control instruction includes the debug and error elimination instruction, the instruction details corresponding to the sub-control instruction include at least one of the following: log display, layout and constraint debugging, measurement parameter debugging based on a measurement tool, color parameter debugging based on a color picker, frame rate debugging based on a frame rate monitor, memory leak detection based on a CPU and memory usage monitor, network debugging based on network logging, API debugging based on an API inspector, touch debugging based on a touch inspector, gesture debugging based on a gesture recognition debugger, log debugging based on a console log recorder, sandbox debugging based on a sandbox browser, and plugin debugging based on a custom plugin. The method according to claim 4, wherein, if the sub-control instruction includes the network debug and optimization instruction, the instruction details corresponding to the sub-control instruction include at least one of network request transmission, network request recording, and network performance debug.

6. The user confirming the response triggered by the response module further The system acquires application performance data corresponding to the currently running application, and the application performance data includes at least one of CPU usage, memory requirements, frame rate, and network bandwidth. The steps include determining multiple optimization parameters of the performance monitoring module, analyzing the application performance data, obtaining the current target optimization parameter to be optimized in the application performance data, wherein the multiple optimization parameters include at least one optimization parameter from among interface rendering performance, memory usage, network requests and data loading, animation performance, plugin startup time, thread processing and parallel tasks, and application crashes and errors, The steps include adding the aforementioned target optimization parameters and corresponding pre-configured optimization items to the response items triggered by the user in the response module, The method according to claim 4, characterized by including

7. The response module further includes a plug-in extension module and / or a user interface module, The user confirming the response triggered by the response module further involves, If the response module includes the plugin extension module, the steps include determining the plugins to be installed for the system and the corresponding plugin installation items based on the usage control demand, and adding the installed plugins and the corresponding plugin installation items to the response items that the user triggers with the response module. If the response module includes the user interface module, the steps include: determining the switching demand for any debugging and monitoring tool in the system based on the usage control demand; generating a switching response command that matches the switching demand; and adding the debugging and monitoring tool and the corresponding switching response command to the response items that the user triggers in the response module. Includes, The method according to claim 6, characterized in that the debugging and monitoring tool is a function implementation tool provided in the multi-functional debugging module and the performance monitoring module.

8. A debugging and performance monitoring system for iOS application program development, Memory containing executable program code, A processor connected to the aforementioned memory, Includes, The system is characterized in that the processor calls the executable program code stored in the memory and performs the method according to any one of claims 1 to 7.

9. A network-attached storage device, including a main unit, used to perform the method described in any one of claims 1 to 7.