Method and system for identifying and capturing custom protocol message of soft bus
By generating linkage nodes in the linkage test interface and obtaining the relay and direct connection reception times, the accuracy problem of soft bus protocol message transmission time testing is solved, and the stability and response speed of multi-device linkage systems are improved.
Patent Information
- Application Number
- CN202511768889.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-28
- Publication Date
- 2026-02-24
AI Technical Summary
The lack of a systematic testing scheme for soft bus protocol messages in the existing technology leads to insufficient accuracy in transmission time testing, making it difficult to accurately correspond the reception time of different transmission methods in multi-device linkage scenarios.
By constructing a linkage test interface to generate linkage nodes, corresponding linkage nodes are generated for the first device and multiple second devices. The relay reception time and direct connection reception time are obtained, a precise correlation between transmission time and specific device nodes is established, and the transmission configuration basis is provided to the management end through the time identification interface.
It enables accurate testing of reception time for different transmission methods in multi-device linkage scenarios, improves the accuracy and systematic management of transmission time data testing, and enhances the adaptability and transmission efficiency of complex multi-device linkage scenarios.
Smart Images

Figure CN121567801A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to data processing technology, and more particularly to a method and system for identifying and capturing custom protocol messages on a soft bus. Background Technology
[0002] With the rapid development of IoT technology, the demand for interconnected communication between multiple devices is increasing. As a core technology for achieving efficient data interaction between devices, the recognition and transmission efficiency of custom protocol messages of softbus directly affects the stability and response speed of multi-device interconnected systems.
[0003] In complex device linkage scenarios, different devices often use different protocol messages to communicate. Direct transmission and relay transmission are two common transmission methods, and the difference in their reception time has a significant impact on the overall system performance. Therefore, accurate testing of the reception time of the two transmission methods is the key to optimizing device transmission configuration.
[0004] Currently, for testing the transmission of soft bus protocol messages, existing technologies mostly obtain transmission time by simply timing message sending and receiving. There is a lack of systematic testing solutions specifically for different transmission methods (direct transmission, relay transmission). For example, in multi-device linkage scenarios, message transmission testing is usually based on a single transmission method, or although two transmission methods can be tested simultaneously, no association with specific device linkage nodes is established, making it difficult to accurately correspond to the transmission time data of different devices.
[0005] Therefore, there is an urgent need to provide a method and system for identifying and capturing custom protocol messages on a soft bus that can improve the accuracy of testing corresponding transmission time data. Summary of the Invention
[0006] In view of the above problems, the present invention is proposed to provide a method and system for identifying and capturing custom protocol messages on a soft bus that overcomes or at least partially solves the above problems.
[0007] According to one aspect of the present invention, a method for identifying and capturing custom protocol messages on a soft bus is provided, comprising the following steps: Generate the first linkage node corresponding to the first device based on the linkage test interface; Based on the established test set, different linkage requests corresponding to the first device based on the first protocol message are determined, and the test data included in any linkage request corresponds to multiple second devices based on different second protocol messages, generating a second linkage node corresponding to each second device; The linkage request is sent to the relay terminal corresponding to the relay node located on the linkage test interface. The relay terminal is controlled to send the determined first linkage state of the linkage request to each of the multiple second devices based on the relay protocol message, and the relay reception time of each second device is obtained. The linkage request is sent to each second device based on the second protocol message, and the direct connection reception time of each second device is obtained. The first linkage node is time-marked based on the relay reception time and the direct connection reception time, and the linkage test interface is sent to the management terminal for display, so that the management terminal can select the relay transmission mode corresponding to the relay reception time or the direct connection transmission mode corresponding to the direct connection reception time to configure the transmission of the first device and the second device.
[0008] Optionally, in the method according to the present invention, determining different linkage requests corresponding to a first device based on a first protocol message based on an established test set, and responding to test data included in any linkage request corresponding to multiple second devices based on different second protocol messages, generating a second linkage node corresponding to each second device, includes: Determine the monitoring thresholds for different monitoring dimensions for the first device, and generate test data for each monitoring dimension that corresponds to a test value greater than or equal to the monitoring threshold. The test set is composed of test data based on the test data and the first linkage state corresponding to the first device, and different linkage requests of the first device based on the first protocol message generated by the first linkage state based on test data based on different monitoring dimensions. The monitoring dimension corresponding to the test data in response to any linkage request has a device interconnection relationship with multiple second devices based on different second protocol messages, and generates a second linkage node corresponding to each second device.
[0009] Optionally, in the method according to the present invention, determining the first linkage state corresponding to the first device based on the test data includes: Obtain the first active area corresponding to the first device, and perform array processing on the first active area to obtain each array sub-area that makes up the first active area; The first device is placed at the center point of each corresponding array sub-region, and the first device is monitored and collected in the corresponding monitoring dimension to obtain the regional monitoring value. If any monitoring value in any region is greater than or equal to the monitoring threshold for the same monitoring dimension, the array sub-region corresponding to the monitoring value in that region will be identified as an abnormal sub-region. If the regional monitoring value of any abnormal sub-region is equal to the test value of the test data of the same monitoring dimension, the regional center point corresponding to the abnormal sub-region is determined as the abnormal collection point of the corresponding test value. If the regional monitoring value corresponding to all abnormal sub-regions is not equal to the test value of the test data corresponding to the same monitoring dimension, the absolute difference between the regional monitoring value and the test value is calculated to obtain the monitoring difference of each region. The monitoring value of the region corresponding to the minimum regional monitoring difference is determined as the target monitoring value, and the abnormal collection point corresponding to the test value is determined based on the abnormal sub-region corresponding to the target monitoring value. Based on the abnormal acquisition points, images are acquired from the first device, and the first linkage state of the corresponding first device is determined based on the obtained abnormal acquisition images.
[0010] Optionally, in the method according to the present invention, determining the abnormal collection point corresponding to the test value based on the abnormal sub-region corresponding to the target monitoring value includes: Taking the center point of the abnormal sub-region corresponding to the target monitoring value as the center, generate an upward dividing line, a downward dividing line, a left dividing line and a right dividing line that pass through the center point of the region respectively; The first device is controlled to move along the upward dividing line, the downward dividing line, the left dividing line and the right dividing line from the center point of the area, and the first device is monitored and collected according to the movement of the device to obtain the change monitoring value corresponding to different movement distances; If any dividing line simultaneously has a first trend segment and a second trend segment where the corresponding change monitoring value shows an upward trend and a downward trend, the dividing line is determined as the target dividing line, and the change monitoring value that is simultaneously located in the first trend segment and the second trend segment is determined as the target monitoring value; Based on the moving distance of the corresponding target monitoring value, the target point existing in the target dividing line is determined, and a target dividing circle is generated with the center point of the area as the circle, passing through the target point. Based on the target division circle, the abnormal collection points corresponding to the test value are determined.
[0011] Optionally, in the method according to the present invention, determining the abnormal collection points corresponding to the test value based on the target division circle includes: Two dividing lines that are adjacent to the target dividing line are identified as cooperative dividing lines, and cooperative points located on the cooperative dividing lines are determined based on the target dividing circle. The first device is placed at each collaborative point, and the first device is monitored and collected to obtain collaborative monitoring values; The absolute difference between each collaborative monitoring value and the test value is calculated, and the collaborative point with the smallest collaborative monitoring difference is determined as the search point. Based on the target division circle, a search curve segment composed of the target point and the search point is determined. The first device is controlled to move towards the target point along the search curve segment, starting from the search point. The first device is monitored and collected in accordance with the movement of the device until an abnormal collection point corresponding to the test value is obtained.
[0012] Optionally, in the method according to the present invention, the monitoring dimension corresponding to the test data included in responding to any linkage request has a device interconnection relationship with multiple second devices based on different second protocol messages, generating a second linkage node corresponding to each second device, including: Retrieve historical operational data and identify any second device as the target device; Based on the historical operating data, when the target device is in a closed state and the first device is in an open state, the first monitoring value of the first device corresponds to different monitoring dimensions. Based on the historical operating data, it is determined that the target device is in the on state. When the first device is in the on state, the second monitoring value of the first device corresponds to different monitoring dimensions. If the second monitoring value is less than the first monitoring value, the target device is determined to have a device interconnection relationship with the first device. The monitoring dimension corresponding to the test data in response to any linkage request has a device interconnection relationship with multiple second devices based on different second protocol messages, and generates a second linkage node corresponding to each second device.
[0013] Optionally, in the method according to the present invention, the control relay terminal sends the determined first linkage state of the linkage request, corresponding to different second linkage states of multiple second devices, to each second device based on the relay protocol message, including: In response to the monitoring dimension being a temperature dimension and any of the second devices being a cooling device, the second active area of the second device that has a device interconnection relationship with the temperature dimension is obtained; Create device placement points with the same point spacing along the regional extension direction of the second activity area, and control the second device to be placed sequentially at each device placement point to perform a cooling operation on the first device; The first device is monitored and collected at the corresponding abnormal collection points, and the device placement point with the minimum temperature drop monitoring value is determined as the linkage placement point. Based on the linkage placement point, the second device is image acquired, and based on the acquired linkage image, the second linkage state of the corresponding second device is determined; The control relay terminal sends the determined linkage request, which includes the first linkage state, to each of the multiple second devices based on the relay protocol message, along with the different second linkage states corresponding to the first linkage state.
[0014] Optionally, in the method according to the present invention, the control relay terminal sends the determined first linkage state of the linkage request, corresponding to different second linkage states of multiple second devices, to each second device based on the relay protocol message, including: In response to the monitoring dimension being the unloading dimension and any of the second devices being the grabbing devices, the elevation of the first device is collected based on the abnormal collection points, and the second elevation value of the corresponding second device is determined based on the obtained first elevation value. Based on the second elevation value, a second active area corresponding to the second device is determined, and based on the second active area, a linkage placement point that has a horizontal overlap with the abnormal collection point is determined; Based on the linkage placement point, the second device is image acquired, and based on the acquired linkage image, the second linkage state of the corresponding second device is determined; The control relay terminal sends the determined linkage request, which includes the first linkage state, to each of the multiple second devices based on the relay protocol message, along with the different second linkage states corresponding to the first linkage state.
[0015] Optionally, in the method according to the present invention, the first linkage node is time-identified based on the relay reception time and the direct connection reception time, and the linkage test interface is sent to the management terminal for display, so that the management terminal can select the relay transmission mode corresponding to the relay reception time or the direct connection transmission mode corresponding to the direct connection reception time to configure the transmission of the first device and the second device, including: Based on the linkage test interface, a node bounding box is generated to surround the second linkage node, and a direct connection marker connecting the first linkage node and the node bounding box is established, as well as a relay marker connecting line that sequentially connects the first linkage node, the relay node, and the node bounding box. Based on the direct connection identification line and the relay identification line, establish direct connection identification slots and relay identification slots, and fill the direct connection reception time and relay reception time into the direct connection identification slots and relay identification slots; The linkage test interface is displayed on the management terminal. When the management terminal selects any identification slot, the identification slot is enlarged by a corresponding preset multiple, and an identification determination line parallel to the identification connection line corresponding to the identification slot is generated. The transmission configuration is performed on the first device and the second device based on the transmission mode determined by the reception time corresponding to the identifier line.
[0016] According to another aspect of the present invention, a system for identifying and capturing custom protocol messages on a soft bus is provided, comprising: The first generation module is configured to generate the first linkage node corresponding to the first device based on the linkage test interface; The second generation module is configured to determine different linkage requests corresponding to the first device based on the established test set, and respond to the test data included in any linkage request corresponding to multiple second devices based on different second protocol messages, and generate a second linkage node corresponding to each second device. The relay linkage module is configured to send the linkage request to the relay terminal corresponding to the relay node located on the linkage test interface, control the relay terminal to send the determined first linkage state of the linkage request to each of the multiple second devices based on the relay protocol message, and obtain the relay reception time corresponding to each second device. The receiving and determining module is configured to send the linkage request to each second device based on the second protocol message, and to obtain the direct connection receiving time of each second device. The transmission configuration module is configured to time-identify the first linkage node based on the relay reception time and the direct connection reception time, and send the linkage test interface to the management terminal for display, so that the management terminal can select the relay transmission mode corresponding to the relay reception time or the direct connection transmission mode corresponding to the direct connection reception time to configure the transmission of the first device and the second device.
[0017] According to the present invention, by constructing a linkage test interface and generating linkage nodes for corresponding devices, the present invention achieves accurate testing of the reception time of different transmission methods in multi-device linkage scenarios, effectively solving the problems of lack of systematic solutions and insufficient data accuracy in transmission time testing in the prior art. Specifically, the present invention can generate corresponding linkage nodes for the first device and multiple second devices respectively, and obtain the relay reception time and direct connection reception time for relay transmission and direct connection transmission respectively, establishing a precise correlation between transmission time and specific device nodes, ensuring the relevance and accuracy of time data under different device combinations and different protocol message scenarios; at the same time, the linkage test interface based on time identifiers provides the management end with an intuitive time comparison basis, enabling it to select the optimal transmission method for configuration based on actual test results, significantly improving the scientificity and rationality of soft bus transmission configuration, not only improving the testing accuracy of transmission time data, but also enhancing the adaptability to complex multi-device linkage scenarios through systematic node management and protocol adaptation, providing reliable technical support for optimizing the transmission efficiency of custom protocol messages of the soft bus and improving the stability and response speed of multi-device linkage systems. Attached Figure Description
[0018] Figure 1 A flowchart of a method for identifying and capturing custom protocol messages on a soft bus according to an embodiment of the present invention is shown; Figure 2 A schematic diagram of the linkage test interface in this embodiment is shown; Figure 3 A structural block diagram of a soft bus custom protocol message identification and packet capture system according to another embodiment of the present invention is shown. Detailed Implementation
[0019] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0020] To address the problems existing in the prior art, the inventors proposed the solution of this invention. One embodiment of this invention provides a method for identifying and capturing custom protocol messages on a soft bus. This method can be executed in a computing device, wherein the computing device can be understood as a terminal with data processing capabilities, such as a mobile phone or a computer.
[0021] Figure 1 A flowchart illustrating a method for identifying and capturing custom protocol messages on a soft bus according to an embodiment of the present invention is shown, such as... Figure 1 As shown, the method proposed in this embodiment begins with step S1, which includes the following: The first linkage node corresponding to the first device is generated based on the linkage test interface.
[0022] For example, in this embodiment, by generating a first linkage node corresponding to the first device in the linkage test interface, the core position of the first device in the test system can be clearly defined, laying the foundation for accurate testing of subsequent reception time. It can be explained that the linkage test interface, as a visual operation platform for the entire test process, can intuitively present the linkage relationships of each device. The generation of the first linkage node clearly identifies the first device in the interface as a node, making its role as the initiator of the linkage request clearly identifiable. This avoids confusion or misassociation of the first device during the test, ensuring that all subsequent linkage requests based on the first device can accurately correspond to this node, providing a prerequisite for accurate association of test data. Simultaneously, the generation of the first linkage node also provides a clear starting point for establishing connections with the second linkage node and relay nodes. In subsequent tests, all direct transmissions between the first and second devices, and relay transmissions through relay terminals, will use the first linkage node as a benchmark for data interaction and time recording. This ensures that tests of direct reception time and relay reception time can be accurately associated with the first device, giving the test results clear correspondence and reliability. This provides a clear and accurate reference for the management end to select the appropriate transmission method based on reception time.
[0023] Step S2 includes the following: Based on the established test set, different linkage requests corresponding to the first device based on the first protocol message are determined, and the test data included in any linkage request corresponds to multiple second devices based on different second protocol messages, generating a second linkage node corresponding to each second device.
[0024] For example, in this embodiment, by establishing a test set to generate linkage requests and generating second linkage nodes based on the correspondence between linkage requests and second devices, the relevance and accuracy of reception time testing can be ensured. Specifically, firstly, the server can determine different linkage requests corresponding to the first device based on the established test set. Here, the test set provides a unified generation standard for the linkage requests of the first device. These linkage requests are constructed based on the first protocol messages, ensuring the standardization and consistency of the requests. This ensures that subsequent direct connection and relay reception time tests have clear and unified initiating objects and content, avoiding test deviations caused by non-standard requests. Next, the test data included in responding to any linkage request corresponds to multiple second devices based on different second protocol messages. The server can generate a second linkage node corresponding to each second device. It should be noted that... The key feature is that when the test data in the linkage request is associated with multiple second devices (i.e., these second devices can respond to the test data based on different second protocol messages), an independent second linkage node is generated for each second device. This clearly distinguishes different second devices and their corresponding protocol messages in the test scenario, ensuring that each linkage request of the first device can accurately correspond to the corresponding second linkage node. This ensures that when testing the direct connection reception time and relay reception time in subsequent tests, the reception time of each second device can be accurately associated with the corresponding linkage request and second linkage node, avoiding data confusion. Furthermore, the generation of the second linkage node clearly identifies the second device corresponding to different second protocol messages, allowing the management end to clearly understand the reception time under different protocols when viewing the test results, providing an accurate and reliable basis for selecting the appropriate transmission method.
[0025] It should be noted that the first protocol message, the second protocol message, and the relay protocol message mentioned later can all be different communication protocol methods, such as 5G communication protocol, wireless communication protocol, Bluetooth communication protocol, etc.
[0026] Furthermore, in this embodiment, the aforementioned "determining different linkage requests corresponding to the first device based on the established test set, and responding to the test data included in any linkage request corresponding to multiple second devices based on different second protocol messages, and generating a second linkage node corresponding to each second device" may further include the following steps: Determine the monitoring thresholds for different monitoring dimensions for the first device, and generate test data for each monitoring dimension that corresponds to a test value greater than or equal to the monitoring threshold. The test set is composed of test data based on the test data and the first linkage state corresponding to the first device, and different linkage requests of the first device based on the first protocol message generated by the first linkage state based on test data based on different monitoring dimensions. The monitoring dimension corresponding to the test data in response to any linkage request has a device interconnection relationship with multiple second devices based on different second protocol messages, and generates a second linkage node corresponding to each second device.
[0027] For example, in this embodiment, when accurately testing the reception time of direct connection reception and relay reception, if the test data lacks a clear generation standard and the association between the linkage request of the first device and the second device is unclear, the testing process will be chaotic, and the reception time data cannot be accurately mapped to specific devices and scenarios, thus affecting the management end's selection of transmission methods. For example, if the generation of test data does not combine the monitoring dimensions and thresholds of the first device, the linkage request may become disconnected from the actual operating status of the device. Furthermore, if the interconnection relationship between the monitoring dimensions corresponding to the test data and the second device cannot be determined, the generation of linkage nodes of the second device may be chaotic, making the reception time test untargeted. Therefore, to solve the above problems, this embodiment may further include the following technical contents: First, the server can determine the monitoring thresholds for different monitoring dimensions of the first device, and generate test data with test values greater than or equal to the monitoring thresholds for each monitoring dimension. It should be noted that the monitoring thresholds are key reference values for the first device under different dimensions (such as temperature, pressure, etc.). The test data generated based on this (test value ≥ monitoring threshold) can accurately reflect the state of the first device that may require linkage with other devices, ensuring that the test data is closely related to the actual operating scenario of the device, providing realistic basic data for the generation of subsequent linkage requests, and avoiding test deviations caused by the arbitrariness of the test data. Next, based on the test data server, the first linkage state of the corresponding first device can be determined, and the test data based on different monitoring dimensions and the different linkage requests of the first device based on the first protocol message generated by the first linkage state are combined into a test set. Here, the first linkage state is the specific state of the first device under the monitoring dimension corresponding to the test data (such as the warning state when the temperature exceeds the limit). Combining the test data and the linkage requests generated by the first linkage state can fully express the specific requirements of the first device for the cooperation of the second device. Furthermore, by combining these linkage requests into a test set, all test requests can form a systematic set, providing a comprehensive and standardized basis for initiating subsequent reception time tests, and ensuring that the test process is carried out in an orderly manner. Finally, the monitoring dimension corresponding to the test data in response to any linkage request has a device interconnection relationship with multiple second devices based on different second protocol messages. The server can generate a second linkage node corresponding to each second device. It should be noted that the device interconnection relationship reflects the collaborative association between a certain monitoring dimension of the first device and a specific second device (such as the temperature dimension of the first device being interconnected with a cooling-type second device). Based on this, an independent second linkage node is generated for each second device, which can clearly distinguish different second devices and their corresponding second protocol messages in the linkage test interface. This ensures that each second device can accurately respond to the corresponding linkage request, so that the generation of test data, the construction of linkage requests, and the generation of second linkage nodes form a complete association chain. This ensures that the test of direct connection reception time and relay reception time can accurately correspond to the specific monitoring dimension, linkage request, and second device, so that the reception time data has a clear association background. This provides a clear and targeted reference for the management end to select the appropriate transmission method by comparing reception time.
[0028] Furthermore, in this embodiment, the aforementioned "determining the first linkage state corresponding to the first device based on the test data" may further include the following steps: Obtain the first active area corresponding to the first device, and perform array processing on the first active area to obtain each array sub-area that makes up the first active area; The first device is placed at the center point of each corresponding array sub-region, and the first device is monitored and collected in the corresponding monitoring dimension to obtain the regional monitoring value. If any monitoring value in any region is greater than or equal to the monitoring threshold for the same monitoring dimension, the array sub-region corresponding to the monitoring value in that region will be identified as an abnormal sub-region. If the regional monitoring value of any abnormal sub-region is equal to the test value of the test data of the same monitoring dimension, the regional center point corresponding to the abnormal sub-region is determined as the abnormal collection point of the corresponding test value. If the regional monitoring value corresponding to all abnormal sub-regions is not equal to the test value of the test data corresponding to the same monitoring dimension, the absolute difference between the regional monitoring value and the test value is calculated to obtain the monitoring difference of each region. The monitoring value of the region corresponding to the minimum regional monitoring difference is determined as the target monitoring value, and the abnormal collection point corresponding to the test value is determined based on the abnormal sub-region corresponding to the target monitoring value. Based on the abnormal acquisition points, images are acquired from the first device, and the first linkage state of the corresponding first device is determined based on the obtained abnormal acquisition images.
[0029] For example, in this embodiment, the determination of the first linkage state of the first device can be specifically based on the following technical content: First, the server can obtain the first active area of the corresponding first device and perform array processing on the first active area to obtain the array sub-areas that make up the first active area. It can be noted that the first active area mentioned in this embodiment is the spatial range in which the first device is allowed to operate during actual operation. By dividing the area into multiple regular array sub-areas through array processing, the monitoring of the first device can cover the entire active area, avoiding misjudgment of the status due to incomplete monitoring range, and providing a systematic spatial division basis for subsequent monitoring and collection at different locations. Next, the server can place the first device at the center point of each corresponding array sub-region and collect monitoring data on the first device in the corresponding monitoring dimension to obtain the regional monitoring value. It should be noted that placing the first device at the center point of each array sub-region and collecting monitoring values can ensure the representativeness and consistency of the monitoring data, make the monitoring results of different sub-regions comparable, and provide uniformly distributed basic data for subsequent judgment of abnormal states. Then, in response to any area monitoring value being greater than or equal to the monitoring threshold corresponding to the same monitoring dimension, the server can identify the array sub-area corresponding to the monitoring value of that area as an abnormal sub-area. Here, the monitoring threshold is the standard for judging whether the first device is in a state that requires linkage. It can be stored in the server in advance. When the area monitoring value reaches or exceeds the threshold, it indicates that the corresponding sub-area is an abnormal sub-area. This can accurately lock the area where the first device may generate linkage requirements, narrowing the scope for the determination of subsequent abnormal collection points. Subsequently, if the monitoring value of any abnormal sub-region is equal to the test value of the test data of the same monitoring dimension, the server can determine the center point of the region corresponding to the abnormal sub-region as the abnormal collection point of the corresponding test value. It should be noted that, in one case, when the monitoring value of the abnormal sub-region is completely matched with the test value of the test data, the center point of the region can be determined as the abnormal collection point, ensuring the accurate correspondence between the collection point and the test data, and providing accurate location basis for subsequent image acquisition. Meanwhile, if the regional monitoring values for all corresponding abnormal sub-regions are not equal to the test values for the test data corresponding to the same monitoring dimension, the server needs to perform absolute difference calculations on the monitoring values and test values for each region to obtain the monitoring difference for each region. At the same time, the monitoring value of the region with the smallest regional monitoring difference is determined as the target monitoring value, and the abnormal collection point for the corresponding test value is determined based on the abnormal sub-regions corresponding to the target monitoring value. That is, in another case, when there is no completely matching monitoring value, the server needs to find the target monitoring value that is closest to the test value by calculating the absolute value of the difference, and then determine the abnormal collection point. This ensures that the collection point that best matches the test data can still be found when the data is not completely matched, improving the flexibility and accuracy of the abnormal collection point determination. In addition, absolute difference calculation can be understood as performing absolute value processing on the difference result after the difference calculation. Finally, after obtaining the corresponding abnormal collection points based on the two different situations mentioned above, the server can perform image acquisition on the first device based on the abnormal collection points, and determine the first linkage state of the first device based on the obtained abnormal collection images. In this embodiment, image acquisition based on the accurately determined abnormal collection points can capture the real state of the first device at that location and in that monitoring dimension. The first linkage state obtained through the analysis of the abnormal collection images can accurately reflect the specific state of the first device that needs to link with other devices, providing a real and reliable state basis for the subsequent generation of linkage requests. This ensures that the tests of direct connection reception time and relay reception time can be carried out based on the actual linkage state of the first device, making the test results more valuable and providing accurate data support for the management end to select the appropriate transmission method.
[0030] It can be explained that the first linkage state can be understood as the real-time state of the first device. For example, when the first device is a transport trolley, the corresponding first linkage state can represent the position, orientation, etc. of the transport trolley.
[0031] Furthermore, in this embodiment, the aforementioned "determining the abnormal collection point corresponding to the test value based on the abnormal sub-region of the corresponding target monitoring value" may further include the following steps: Taking the center point of the abnormal sub-region corresponding to the target monitoring value as the center, generate an upward dividing line, a downward dividing line, a left dividing line and a right dividing line that pass through the center point of the region respectively; The first device is controlled to move along the upward dividing line, the downward dividing line, the left dividing line and the right dividing line from the center point of the area, and the first device is monitored and collected according to the movement of the device to obtain the change monitoring value corresponding to different movement distances; If any dividing line simultaneously has a first trend segment and a second trend segment where the corresponding change monitoring value shows an upward trend and a downward trend, the dividing line is determined as the target dividing line, and the change monitoring value that is simultaneously located in the first trend segment and the second trend segment is determined as the target monitoring value; Based on the moving distance of the corresponding target monitoring value, the target point existing in the target dividing line is determined, and a target dividing circle is generated with the center point of the area as the circle, passing through the target point. Based on the target division circle, the abnormal collection points corresponding to the test value are determined.
[0032] For example, in this embodiment, when the regional monitoring value corresponding to all abnormal sub-regions is not equal to the test value of the test data corresponding to the same monitoring dimension, the abnormal collection point of the corresponding test value can be determined by the abnormal sub-regions corresponding to the target monitoring value based on the following technical content: First, the server can generate up, down, left, and right dividing lines passing through the center point of the abnormal sub-region corresponding to the target monitoring value. It can be explained that the four dividing lines corresponding to different directions can cover the abnormal sub-region from four directions, thereby providing a standardized path for the subsequent movement monitoring of the first device, ensuring that the changes in monitoring values in different directions within the abnormal sub-region can be fully detected, and avoiding the one-sidedness of the position judgment caused by the single monitoring direction. Next, the server can control the first device to move along the upward, downward, leftward, and rightward dividing lines from the center point of the area, and monitor and collect the corresponding movement data of the first device to obtain the change monitoring values for different movement distances. That is, by moving the first device along the four dividing lines and collecting the change monitoring values, monitoring data at different locations within the abnormal sub-region can be obtained, reflecting the pattern of monitoring value changes with location, and providing rich reference data for finding the location that matches the test value in the future. Then, if any dividing line simultaneously contains a first trend segment and a second trend segment where the corresponding change monitoring value shows an upward trend and a downward trend, respectively, the server can determine the dividing line as the target dividing line and determine the change monitoring value that is simultaneously located in the first trend segment and the second trend segment as the target monitoring value. Here, since the turning point of the upward and downward trend of the change monitoring value usually corresponds to the extreme point of the monitoring value, the monitoring value at this point is more likely to be close to the test value. By determining the dividing line containing this trend change as the target dividing line and using the change monitoring value at the turning point as the target monitoring value, the representative position of the monitoring value in the abnormal sub-region can be accurately located, improving the matching degree between the target monitoring value and the test value. Afterwards, the server can determine the target point on the target dividing line based on the moving distance of the corresponding target monitoring value, and generate a target dividing circle with the center point of the area as the center and passing through the target point. It can be explained that the target point is the specific location on the target dividing line corresponding to the target monitoring value, and the target dividing circle with the center point of the area as the center and passing through the target point can define the range of monitoring values that may exist in the abnormal sub-region that match the test value, thus providing a precise area boundary for further determining the abnormal collection point. Finally, the server can determine the abnormal collection points corresponding to the test values based on the target division circle. It should be noted that the target division circle limits the area where there is a high probability of monitoring values matching the test values. Abnormal collection points determined within this range can more accurately correspond to the test values, ensuring that the first linkage state determined by the first device image collected based on this point is more consistent with the test data. This provides a more reliable state basis for testing direct connection reception time and relay reception time, making the test results more accurate and providing a more effective reference for the management to select the appropriate transmission method.
[0033] Furthermore, in this embodiment, the aforementioned "determining the abnormal collection points corresponding to the test value based on the target division circle" may further include the following steps: Two dividing lines that are adjacent to the target dividing line are identified as cooperative dividing lines, and cooperative points located on the cooperative dividing lines are determined based on the target dividing circle. The first device is placed at each collaborative point, and the first device is monitored and collected to obtain collaborative monitoring values; The absolute difference between each collaborative monitoring value and the test value is calculated, and the collaborative point with the smallest collaborative monitoring difference is determined as the search point. Based on the target division circle, a search curve segment composed of the target point and the search point is determined. The first device is controlled to move towards the target point along the search curve segment, starting from the search point. The first device is monitored and collected in accordance with the movement of the device until an abnormal collection point corresponding to the test value is obtained.
[0034] For example, in this embodiment, after determining the target segmentation circle, the determination of abnormal collection points can be further achieved based on the following technical content: First, the server can identify two dividing lines that are adjacent to the target dividing line as cooperative dividing lines, and determine cooperative points located on the cooperative dividing lines based on the target dividing circle. Here, the cooperative dividing line is adjacent to the target dividing line and can supplement the monitoring range of the target dividing circle from the surrounding direction. The cooperative points are the intersections of the target dividing circle and the cooperative dividing line. The monitoring values of these points can reflect the characteristics of the target dividing circle in the adjacent direction, providing surrounding references for subsequent searches and avoiding the limitations of position judgment caused by relying on a single dividing line. Next, the server can place the first device at each collaborative point in sequence and monitor and collect data on the first device to obtain the corresponding collaborative monitoring value. That is, by collecting monitoring values at the collaborative points, the server can obtain monitoring data of key locations around the target division circle, providing multi-directional reference for finding points that match the test value and ensuring a more comprehensive search range. Then, after acquiring the corresponding collaborative monitoring values, the server can perform absolute difference calculation on each collaborative monitoring value and the test value, and determine the collaborative point with the smallest collaborative monitoring difference as the search point. It can be explained that by calculating the absolute difference, the search point corresponding to the collaborative monitoring value that is closest to the test value is found. This point is the location around the target division circle that is most likely to be close to the test value, providing a reliable starting point for subsequent accurate search and improving the targeting of the search. In addition, the absolute difference calculation can be understood as performing absolute value processing on the difference result after the difference calculation. Finally, the server can determine a search curve segment composed of the target point and the search point based on the target division circle. It then controls the first device to move along the search curve segment towards the target point, starting from the search point, and monitors and collects data on the first device's movement until an abnormal collection point corresponding to the test value is obtained. In this embodiment, the search curve segment connects the target point (the key point on the target division line) and the search point (the point closest to the test value in the surrounding area), and is located within the target division circle. This ensures that the search path covers areas with a high probability of test values. Based on the first device moving along this curve segment and continuously collecting monitoring values, it can gradually approach a position that perfectly matches the test value, ultimately accurately finding the abnormal collection point. That is, through multi-directional collaborative monitoring and precise curve segment search, it ensures that the abnormal collection point completely corresponds to the test value, making the first linkage state determined based on this point more accurate. This provides a high-precision state basis for testing direct connection reception time and relay reception time, making the test results more consistent with the actual scenario and providing more accurate and reliable data support for the management end to select the appropriate transmission method.
[0035] Furthermore, in this embodiment, the aforementioned "responding to any linkage request, the monitoring dimension corresponding to the test data has a device interconnection relationship with multiple second devices based on different second protocol messages, and generating a second linkage node corresponding to each second device" may also include the following steps: Retrieve historical operational data and identify any second device as the target device; Based on the historical operating data, when the target device is in a closed state and the first device is in an open state, the first monitoring value of the first device corresponds to different monitoring dimensions. Based on the historical operating data, it is determined that the target device is in the on state. When the first device is in the on state, the second monitoring value of the first device corresponds to different monitoring dimensions. If the second monitoring value is less than the first monitoring value, the target device is determined to have a device interconnection relationship with the first device. The monitoring dimension corresponding to the test data in response to any linkage request has a device interconnection relationship with multiple second devices based on different second protocol messages, and generates a second linkage node corresponding to each second device.
[0036] For example, in this embodiment, the determination of the second device that has a device interconnection relationship with the first device, and the generation of the second linkage node corresponding to each second device, can be specifically implemented based on the following technical content: First, the server can retrieve historical operating data and identify any second device as the target device. It can be noted that, in this embodiment, the historical operating data can be pre-stored in the server, and the historical operating data records the status and monitoring information of the first and second devices in past operation, thus providing a real historical basis for determining whether there is an interconnection relationship between the two. Analyzing each second device as a target device one by one can ensure that the judgment of each second device is accurate and independent, avoiding errors caused by batch judgment. Next, the server can determine the first monitoring value of the first device in different monitoring dimensions based on historical operating data when the target device is in a closed state and the first device is in a closed state. It should be noted that the first monitoring value reflects the operating status of the first device in each monitoring dimension when the target device is not involved. It is the benchmark data for judging whether the target device has an impact and provides a reference standard for subsequent comparative analysis. Then, the server can further determine the target device is in the on state and the first device is in the on state based on historical operating data. The second monitoring value of the first device corresponds to different monitoring dimensions. Similarly, the second monitoring value reflects the operating status of the first device in each monitoring dimension after the target device is turned on. By comparing with the first monitoring value, it can be intuitively judged whether the target device has an impact on the first device. Subsequently, if the second monitoring value is lower than the first monitoring value, the server can determine that the target device has a device interconnection relationship with the first device. That is, when the target device is turned on, the monitoring value of the first device decreases, indicating that the target device can have a positive impact on the operating status of the first device (such as assisting in adjustment, optimization, etc.). Therefore, there is an actual collaborative relationship between the two. This judgment method based on data changes is objective and accurate, ensuring the authenticity of the device interconnection relationship. Finally, if the monitoring dimension corresponding to the test data included in any linkage request has a device interconnection relationship with multiple second devices based on different second protocol messages, the server can generate a second linkage node corresponding to each second device. That is, in this embodiment, a second linkage node is generated only for second devices with interconnection relationships, so that each node can form an effective association with the test data in the linkage request. This ensures that subsequent tests of direct connection reception time and relay reception time are only carried out for the relevant devices, avoiding invalid tests that consume resources. At the same time, the second devices based on different second protocol messages are distinguished by independent nodes, so that when the management end views the reception time data, it can clearly correspond to the specific device and protocol, providing a clear and targeted reference for selecting the appropriate transmission method.
[0037] Step S3 includes the following: The linkage request is sent to the relay terminal corresponding to the relay node located on the linkage test interface. The relay terminal is controlled to send the determined first linkage state of the linkage request to each of the multiple second devices based on the relay protocol message, and the relay reception time of each second device is obtained.
[0038] For example, in this embodiment, the relay terminal transmits the linkage status based on the second protocol message and obtains the relay reception time, providing accurate data for the performance testing of the relay transmission method. This ensures that the management end can comprehensively compare and select the transmission method. Specifically, firstly, the server can send the linkage request to the relay terminal corresponding to the relay node located in the linkage test interface. It can be noted that the relay node clearly identifies the location and role of the relay terminal in the linkage test interface, making the transmission path of the linkage request clearly identifiable and ensuring that the request is accurately sent to the corresponding relay terminal, avoiding test deviations caused by unclear transmission objects. Next, the server can control the relay terminal to transmit the determined first linkage status of the linkage request, which corresponds to the different second linkage statuses of multiple second devices, based on the relay protocol message. The relay protocol message is sent to each second device. Here, the relay protocol message is a unified protocol message. When transmitting based on this protocol, the relay terminal and all second devices use the same communication standard, which can ensure the consistency of the first linkage state and the corresponding second linkage state during transmission, avoid information distortion caused by protocol differences, and make the information received by each second device have a unified benchmark. At the same time, the server can obtain the relay reception time of each second device. The relay reception time accurately records the moment when the second device receives the linkage state information transmitted by the relay terminal. This time data can directly reflect the time consumption performance of the relay transmission method, providing accurate data support for the management end to compare the efficiency of relay transmission and direct connection transmission, enabling the management end to select a more suitable transmission method based on real time data.
[0039] Furthermore, in one application scenario of this embodiment, the aforementioned "control relay terminal sends the determined second linkage state corresponding to the first linkage state of the linkage request to each of the multiple second devices based on the relay protocol message" may further include the following steps: In response to the monitoring dimension being a temperature dimension and any of the second devices being a cooling device, the second active area of the second device that has a device interconnection relationship with the temperature dimension is obtained; Create device placement points with the same point spacing along the regional extension direction of the second activity area, and control the second device to be placed sequentially at each device placement point to perform a cooling operation on the first device; The first device is monitored and collected at the corresponding abnormal collection points, and the device placement point with the minimum temperature drop monitoring value is determined as the linkage placement point. Based on the linkage placement point, the second device is image acquired, and based on the acquired linkage image, the second linkage state of the corresponding second device is determined; The control relay terminal sends the determined linkage request, which includes the first linkage state, to each of the multiple second devices based on the relay protocol message, along with the different second linkage states corresponding to the first linkage state.
[0040] For example, in this embodiment, when the monitoring dimension is temperature and the second device is a cooling device, the determination of the second linkage state and the control relay terminal to send the second linkage state to the corresponding second device can be specifically implemented based on the following technical content: First, the response monitoring dimension is the temperature dimension, and any second device is a cooling device. The server can obtain the second activity area of the second device that has a device interconnection relationship with the temperature dimension. It can be explained that the second activity area is the spatial range in which the cooling device can perform cooling operations. That is, the second activity area mentioned in this embodiment is the spatial range in which the second device is allowed to move during actual operation. Obtaining this area can provide a boundary basis for subsequently determining the device placement point, ensuring that the cooling device is placed within a reasonable range and avoiding invalid tests due to exceeding the activity range. Next, the server can create device placement points with the same spacing along the extension direction of the second active area, and control the second device to be placed in each device placement point in sequence to perform cooling operation on the first device. Here, the device placement points with the same spacing can ensure that the cooling devices are evenly distributed in the second active area. By performing cooling operation at each point, the cooling effect at different locations can be comprehensively tested, providing sufficient data support for finding the best placement point and avoiding misjudgment of the effect due to sparse test points. Then, the server synchronously monitors and collects data at the corresponding abnormal collection points of the first device, and determines the device placement point with the minimum cooling monitoring value as the linkage placement point. It can be noted that the abnormal collection point is the key location of the first device's temperature abnormality, and the cooling effect of monitoring this point can directly reflect the function of the cooling device. The device placement point corresponding to the minimum cooling monitoring value indicates that the cooling effect at this location is the best. Determining it as the linkage placement point ensures that the cooling device can cooperate with the first device in the best state, providing an effective state basis for determining the subsequent second linkage state. Afterwards, the server can acquire images of the second device based on the linkage placement point, and determine the second linkage state of the corresponding second device based on the acquired linkage images. The images acquired at the optimal linkage placement point can truly reflect the specific form of the cooling device in its optimal working state (such as fan speed, heat sink status, etc.). The second linkage state determined by image analysis can accurately reflect the actual operating state of the cooling device, making the state information representative and reliable. Finally, the server can control the relay terminal to send the determined second linkage status of the first linkage status, which corresponds to multiple second devices, to each second device based on the relay protocol message. It can be explained that the transmission based on the relay protocol message ensures that the status information can be accurately received by each second device based on the same protocol message. The accurate second linkage status enables the second device to accurately respond to the temperature linkage requirements of the first device. The relay reception time obtained on this basis can truly reflect the time consumption of the relay transmission method in this collaborative scenario, providing accurate and effective data reference for the management end to compare the efficiency of direct connection and relay transmission, which helps to select a more suitable transmission method.
[0041] In another application scenario of this embodiment, the above-mentioned "control relay terminal sends the determined first linkage state of the linkage request corresponding to the different second linkage states of multiple second devices to each second device based on the relay protocol message" may also include the following steps: In response to the monitoring dimension being the unloading dimension and any of the second devices being the grabbing devices, the elevation of the first device is collected based on the abnormal collection points, and the second elevation value of the corresponding second device is determined based on the obtained first elevation value. Based on the second elevation value, a second active area corresponding to the second device is determined, and based on the second active area, a linkage placement point that has a horizontal overlap with the abnormal collection point is determined; Based on the linkage placement point, the second device is image acquired, and based on the acquired linkage image, the second linkage state of the corresponding second device is determined; The control relay terminal sends the determined linkage request, which includes the first linkage state, to each of the multiple second devices based on the relay protocol message, along with the different second linkage states corresponding to the first linkage state.
[0042] For example, in this embodiment, when the monitoring dimension is the unloading dimension and the second device is a grabbing device, the determination of the second linkage state and the control relay terminal to send the second linkage state to the corresponding second device can be specifically implemented based on the following technical content: First, the response monitoring dimension is the unloading dimension, and any second device is a grabbing device. The server can collect the elevation of the first device based on the abnormal collection point, and determine the second elevation value of the corresponding second device based on the obtained first elevation value. It can be explained that the abnormal collection point is a key location where the first device needs to cooperate in the unloading dimension. The first elevation value obtained by collecting the elevation of the point can reflect the height information of the unloading position of the first device. At the same time, the second elevation value determined based on this ensures that the height of the grabbing device matches the unloading requirements of the first device, providing a basis for effective cooperation between the two in the vertical direction and avoiding grabbing failure due to elevation mismatch. Here, the second elevation value can be determined by summing the first elevation value and the safe grabbing value of the corresponding unloading dimension. The safe grabbing value can be preset and stored in the server. Determining the second elevation value based on the safe grabbing value can ensure that when the second device performs unloading operation on the first device, the device interference between the second device and the first device can be avoided. Next, the server can determine the second active area of the corresponding second device based on the second elevation value, and determine the linkage placement point that has a horizontal overlap with the abnormal collection point based on the second active area. Here, the second active area is the horizontal range in which the grabbing device can operate under the corresponding second elevation value. Determining the linkage placement point that is horizontally overlapped with the abnormal collection point within this area can ensure that the grabbing device is directly facing the unloading position of the first device in the horizontal direction, so that the grabbing device can accurately meet the unloading needs, improve the effectiveness of the collaboration, and provide a reasonable positional basis for the subsequent determination of the second linkage state. Then, the server can acquire images of the second device based on the linkage placement point, and determine the second linkage state of the corresponding second device based on the acquired linkage images. That is, the images acquired at the linkage placement point that matches the elevation and overlaps with the abnormal acquisition point can truly reflect the specific state of the grasping device in the optimal cooperative position (such as the robotic arm angle, grasping force, etc.). The second linkage state determined by image analysis can accurately reflect the actual operating state of the grasping device, making the state information targeted and reliable. Finally, the server can control the relay terminal to send the determined linkage request, including the first linkage state, corresponding to the different second linkage states of multiple second devices to each second device based on the relay protocol message. It can be explained that the transmission based on the relay protocol message ensures that the status information can be received accurately and uniformly by each second device. The accurate second linkage state enables the second device to accurately respond to the unloading linkage requirements of the first device. The relay reception time obtained on this basis can truly reflect the time consumption of the relay transmission method in this collaborative scenario, providing accurate and effective data reference for the management end to compare the efficiency of direct connection and relay transmission, which helps to select a more suitable transmission method.
[0043] Step S4 includes the following: The linkage request is sent to each second device based on the second protocol message, and the direct connection reception time of each second device is obtained.
[0044] For example, in this embodiment, by sending a linkage request to the second device based on the second protocol message and obtaining the direct connection reception time, accurate data is provided for the performance testing of the direct connection transmission method, ensuring that the management end can comprehensively compare and select the transmission method. Specifically, the server can send the linkage request to each second device based on the corresponding second protocol message. It can be noted that the second protocol message is the standard protocol for direct communication between the first and second devices. Different second devices correspond to different second protocol messages. Sending the linkage request based on this protocol can ensure that the request information is not misread or lost during transmission, enabling each second device to perform direct connection transmission based on the corresponding protocol message, providing a reliable prerequisite for subsequent recording of the reception time. At the same time, the server can further obtain the direct connection reception time of each second device. Here, the direct connection reception time accurately records the moment when each second device receives the linkage request for direct transmission. Since the corresponding second protocol message is used for transmission and the time is recorded separately for each second device, the direct connection reception time of different second devices is ensured to be comparable and accurate.
[0045] Step S5 includes the following: The first linkage node is time-marked based on the relay reception time and the direct connection reception time, and the linkage test interface is sent to the management terminal for display, so that the management terminal can select the relay transmission mode corresponding to the relay reception time or the direct connection transmission mode corresponding to the direct connection reception time to configure the transmission of the first device and the second device.
[0046] For example, this embodiment can associate and display the relay reception time and direct connection reception time with the first linkage node, providing the management end with an intuitive time comparison basis and ensuring the accuracy of transmission mode selection. The specific implementation process includes: First, the server can time-identify the first linkage node based on the relay reception time and direct connection reception time. Here, the first linkage node is the core node corresponding to the first device and is the origin of the linkage request. Associating the two reception times with this node clearly reflects the time consumption of the first device interacting with the second device through different transmission methods, ensuring a clear correspondence between time data and device nodes, avoiding confusion or misassociation of time data, and providing a clear association framework for the management end's comparative analysis. Next, the server can send the linkage test interface to the management end for display. Since the linkage test interface serves as a visualization platform, it can display the time-identified first linkage node, second linkage node, and... The centralized display of elements such as relay nodes allows the management end to intuitively view the relay reception time and direct connection reception time corresponding to the first linkage node, clearly understanding the time difference between the two transmission methods. This eliminates the need to manually match related information from scattered data, improving the efficiency of information acquisition. Simultaneously, this display also allows the management end to select either the relay transmission method corresponding to the relay reception time or the direct connection transmission method corresponding to the direct connection reception time for the first and second devices. In other words, the management end can make a choice based on actual needs (such as transmission speed requirements) based on the intuitively presented time data on the interface—if the relay reception time is shorter, the relay transmission method is selected; if the direct connection reception time is better, the direct connection transmission method is selected. This configuration method based on clear time comparison ensures that the choice of transmission method is directly linked to the test results, making the transmission configuration of the first and second devices more aligned with actual performance requirements, thus improving the rationality and effectiveness of the transmission configuration.
[0047] It should be noted that, in this embodiment, the management terminal can be understood as a terminal used by the administrator, such as a mobile phone or computer.
[0048] Furthermore, in this embodiment, the aforementioned "time-marking of the first linkage node based on the relay reception time and direct connection reception time, and sending the linkage test interface to the management terminal for display, so that the management terminal can select the relay transmission method corresponding to the relay reception time or the direct connection transmission method corresponding to the direct connection reception time to configure the transmission of the first device and the second device" may also include the following steps: Based on the linkage test interface, a node bounding box is generated to surround the second linkage node, and a direct connection marker connecting the first linkage node and the node bounding box is established, as well as a relay marker connecting line that sequentially connects the first linkage node, the relay node, and the node bounding box. Based on the direct connection identification line and the relay identification line, establish direct connection identification slots and relay identification slots, and fill the direct connection reception time and relay reception time into the direct connection identification slots and relay identification slots; The linkage test interface is displayed on the management terminal. When the management terminal selects any identification slot, the identification slot is enlarged by a corresponding preset multiple, and an identification determination line parallel to the identification connection line corresponding to the identification slot is generated. The transmission configuration is performed on the first device and the second device based on the transmission mode determined by the reception time corresponding to the identifier line.
[0049] For example, in this embodiment, time stamping based on reception time can be implemented using the following technical methods: First, the server can generate a node bounding box that surrounds the second linked node based on the linkage test interface, and establish a direct connection marker connecting the first linked node to the node bounding box, as well as a relay marker connecting the first linked node, the relay node, and the node bounding box in sequence. It can be explained that the node bounding box can clearly define the overall range of the second linked node, the direct connection marker intuitively presents the direct transmission path between the first and second linked nodes, and the relay marker clearly shows the indirect transmission path through the relay node. The two types of connection lines visually distinguish different transmission methods, enabling the management end to quickly identify the composition of the transmission path and providing a clear spatial reference for understanding the background of the reception time. Next, the server can establish direct connection identifier slots and relay identifier slots based on the direct connection identifier connection line and the relay identifier connection line, and fill the direct connection reception time and relay reception time into the direct connection identifier slots and relay identifier slots. Here, the identifier slots can be, for example, slots that can be filled with content. Each identifier slot is associated with the corresponding transmission path connection line, which can ensure that the reception time and the transmission method correspond one-to-one and avoid misalignment of time data. Furthermore, after filling the reception time into the slots, the management terminal can directly view the specific time consumption next to the corresponding transmission path without the need for additional matching relationships, making the time comparison more intuitive and providing clear data basis for selecting a better transmission method. Then, the server can send the linkage test interface to the management terminal for display, and respond to the management terminal's selection of any identifier slot by enlarging the identifier slot by a corresponding preset multiple. Furthermore, it generates an identifier determination line parallel to the identifier connection line corresponding to the identifier slot. In this embodiment, enlarging the selected identifier slot highlights the transmission method and its reception time that the management terminal is concerned with, avoiding misreading due to numerous interface elements. The identifier determination line parallel to the connection line visually strengthens the association between the selected transmission method and its corresponding path, clarifying the direction of the selection operation, ensuring that the management terminal's selection intent is accurately identified, and improving the accuracy of the interaction. Finally, the server will configure the transmission of the first and second devices based on the transmission mode determined by the reception time corresponding to the identifier line. It can be noted that the reception time corresponding to the identifier line is directly related to the selected transmission mode (direct connection or relay). This configuration ensures that the transmission mode of the first device is consistent with the selection made by the management end based on the test results. This makes the transmission configuration strictly based on the actual test data of the direct connection reception time or the relay reception time, improving the rationality and reliability of the configuration and ensuring that the transmission mode adopted by the first device meets the expected efficiency requirements.
[0050] For example, Figure 2 A schematic diagram of the linkage test interface in this embodiment is shown, wherein, based on Figure 2 As can be seen from the content, there are three second linkage nodes, namely second linkage node A, second linkage node B and second linkage node C. Therefore, the three second linkage nodes are uniformly surrounded by node bounding boxes. In addition, since there are relay identification lines between the relay node and the first linkage node and the second linkage node, it can be determined that the management end has configured the first device and the second device with the corresponding relay transmission mode.
[0051] In summary, this embodiment, by constructing a linkage test interface and generating linkage nodes for corresponding devices, achieves accurate testing of reception time for different transmission methods in multi-device linkage scenarios. This effectively solves the problems of insufficient systematic solutions and inadequate data accuracy in existing technologies for transmission time testing. Specifically, this embodiment generates corresponding linkage nodes for the first device and multiple second devices, and obtains the relay reception time and direct connection reception time for both relay and direct connection transmission methods, establishing a precise correlation between transmission time and specific device nodes. This ensures the relevance and accuracy of time data under different device combinations and different protocol message scenarios. Simultaneously, the linkage test interface based on time identifiers provides the management end with an intuitive time comparison basis, enabling it to select the optimal transmission method for configuration based on actual test results. This significantly improves the scientific and rational nature of soft bus transmission configuration, not only enhancing the accuracy of transmission time data testing but also strengthening adaptability to complex multi-device linkage scenarios through systematic node management and protocol adaptation. This provides reliable technical support for optimizing the transmission efficiency of custom protocol messages on the soft bus and improving the stability and response speed of multi-device linkage systems.
[0052] Another embodiment of the present invention provides a software bus custom protocol message identification and packet capture system. Figure 3 Its corresponding system block diagram includes: The first generation module is configured to generate the first linkage node corresponding to the first device based on the linkage test interface; The second generation module is configured to determine different linkage requests corresponding to the first device based on the established test set, and respond to the test data included in any linkage request corresponding to multiple second devices based on different second protocol messages, and generate a second linkage node corresponding to each second device. The relay linkage module is configured to send the linkage request to the relay terminal corresponding to the relay node located on the linkage test interface, control the relay terminal to send the determined first linkage state of the linkage request to each of the multiple second devices based on the relay protocol message, and obtain the relay reception time corresponding to each second device. The receiving and determining module is configured to send the linkage request to each second device based on the second protocol message, and to obtain the direct connection receiving time of each second device. The transmission configuration module is configured to time-identify the first linkage node based on the relay reception time and the direct connection reception time, and send the linkage test interface to the management terminal for display, so that the management terminal can select the relay transmission mode corresponding to the relay reception time or the direct connection transmission mode corresponding to the direct connection reception time to configure the transmission of the first device and the second device.
[0053] In the specification provided herein, the algorithms and displays are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with the examples of this invention. The required structure for constructing such systems is apparent from the above description. Furthermore, this invention is not directed to any particular programming language. It should be understood that the contents of the invention described herein can be implemented using various programming languages, and the above description of specific languages is for the purpose of disclosing preferred embodiments of the invention.
[0054] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0055] Similarly, it should be understood that, in order to streamline this disclosure and aid in understanding one or more of the various aspects of the invention, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof.
[0056] Those skilled in the art will understand that modules, units, or components of the devices disclosed in the examples herein can be arranged in the devices described in this embodiment, or alternatively, can be located in one or more devices different from the devices in this example. The modules in the foregoing examples can be combined into a single module or, in addition, can be divided into multiple sub-modules.
[0057] Those skilled in the art will understand that the modules in the device of the embodiment can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiment can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components.
[0058] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention and form different embodiments.
[0059] Furthermore, some of the embodiments described herein are methods or combinations of method elements that can be implemented by a processor of a computer system or by other means of performing the functions. Therefore, a processor having the necessary instructions for implementing the methods or method elements forms means for implementing the methods or method elements. Furthermore, the elements described herein in the apparatus embodiments are examples of means for implementing the functions performed by elements for the purposes of carrying out the invention.
[0060] As used herein, unless otherwise specified, the use of ordinal numbers such as “first,” “second,” “third,” etc., to describe ordinary objects merely indicates different instances of similar objects and is not intended to imply that the objects being described must have a given order in time, space, ordering, or any other manner.
[0061] Although the invention has been described with respect to a limited number of embodiments, those skilled in the art will understand from the foregoing description that other embodiments are conceivable within the scope of the invention described herein. Furthermore, it should be noted that the language used in this specification has been chosen primarily for readability and edibility purposes, and not for the purpose of explaining or limiting the subject matter of the invention.
Claims
1. A method for identifying and capturing custom protocol messages on a soft bus, characterized in that, include: Generate the first linkage node corresponding to the first device based on the linkage test interface; Based on the established test set, different linkage requests corresponding to the first device based on the first protocol message are determined, and the test data included in any linkage request corresponds to multiple second devices based on different second protocol messages, generating a second linkage node corresponding to each second device; The linkage request is sent to the relay terminal corresponding to the relay node located on the linkage test interface. The relay terminal is controlled to send the determined first linkage state of the linkage request to each of the multiple second devices based on the relay protocol message, and the relay reception time of each second device is obtained. The linkage request is sent to each second device based on the second protocol message, and the direct connection reception time of each second device is obtained. The first linkage node is time-marked based on the relay reception time and the direct connection reception time, and the linkage test interface is sent to the management terminal for display, so that the management terminal can select the relay transmission mode corresponding to the relay reception time or the direct connection transmission mode corresponding to the direct connection reception time to configure the transmission of the first device and the second device.
2. The method for identifying and capturing custom protocol messages on a soft bus according to claim 1, characterized in that, Based on the established test set, different linkage requests corresponding to the first device based on the first protocol message are determined, and the test data included in responding to any linkage request corresponds to multiple second devices based on different second protocol messages, generating a second linkage node corresponding to each second device, including: Determine the monitoring thresholds for different monitoring dimensions for the first device, and generate test data for each monitoring dimension that corresponds to a test value greater than or equal to the monitoring threshold. The test set is composed of test data based on the test data and the first linkage state corresponding to the first device, and different linkage requests of the first device based on the first protocol message generated by the first linkage state based on test data based on different monitoring dimensions. The monitoring dimension corresponding to the test data in response to any linkage request has a device interconnection relationship with multiple second devices based on different second protocol messages, and generates a second linkage node corresponding to each second device.
3. The method for identifying and capturing custom protocol messages on a soft bus according to claim 2, characterized in that, Determining the first linkage state corresponding to the first device based on the test data includes: Obtain the first active area corresponding to the first device, and perform array processing on the first active area to obtain each array sub-area that makes up the first active area; The first device is placed at the center point of each corresponding array sub-region, and the first device is monitored and collected in the corresponding monitoring dimension to obtain the regional monitoring value. If any monitoring value in any region is greater than or equal to the monitoring threshold for the same monitoring dimension, the array sub-region corresponding to the monitoring value in that region will be identified as an abnormal sub-region. If the regional monitoring value of any abnormal sub-region is equal to the test value of the test data of the same monitoring dimension, the regional center point corresponding to the abnormal sub-region is determined as the abnormal collection point of the corresponding test value. If the regional monitoring value corresponding to all abnormal sub-regions is not equal to the test value of the test data corresponding to the same monitoring dimension, the absolute difference between the regional monitoring value and the test value is calculated to obtain the monitoring difference of each region. The monitoring value of the region corresponding to the minimum regional monitoring difference is determined as the target monitoring value, and the abnormal collection point corresponding to the test value is determined based on the abnormal sub-region corresponding to the target monitoring value. Based on the abnormal acquisition points, images are acquired from the first device, and the first linkage state of the corresponding first device is determined based on the obtained abnormal acquisition images.
4. The method for identifying and capturing custom protocol messages on a soft bus according to claim 3, characterized in that, Determining abnormal collection points corresponding to the test value based on abnormal sub-regions corresponding to the target monitoring value includes: Taking the center point of the abnormal sub-region corresponding to the target monitoring value as the center, generate an upward dividing line, a downward dividing line, a left dividing line and a right dividing line that pass through the center point of the region respectively; The first device is controlled to move along the upward dividing line, the downward dividing line, the left dividing line and the right dividing line from the center point of the area, and the first device is monitored and collected according to the movement of the device to obtain the change monitoring value corresponding to different movement distances; If any dividing line simultaneously has a first trend segment and a second trend segment where the corresponding change monitoring value shows an upward trend and a downward trend, the dividing line is determined as the target dividing line, and the change monitoring value that is simultaneously located in the first trend segment and the second trend segment is determined as the target monitoring value; Based on the moving distance of the corresponding target monitoring value, the target point existing in the target dividing line is determined, and a target dividing circle is generated with the center point of the area as the circle, passing through the target point. Based on the target division circle, the abnormal collection points corresponding to the test value are determined.
5. The method for identifying and capturing custom protocol messages on a soft bus according to claim 4, characterized in that, Based on the target segmentation circle, the abnormal collection points corresponding to the test value are determined, including: Two dividing lines that are adjacent to the target dividing line are identified as cooperative dividing lines, and cooperative points located on the cooperative dividing lines are determined based on the target dividing circle. The first device is placed at each collaborative point, and the first device is monitored and collected to obtain collaborative monitoring values; The absolute difference between each collaborative monitoring value and the test value is calculated, and the collaborative point with the smallest collaborative monitoring difference is determined as the search point. Based on the target division circle, a search curve segment composed of the target point and the search point is determined. The first device is controlled to move towards the target point along the search curve segment, starting from the search point. The first device is monitored and collected in accordance with the movement of the device until an abnormal collection point corresponding to the test value is obtained.
6. The method for identifying and capturing custom protocol messages on a soft bus according to claim 2, characterized in that, The response to any linkage request includes monitoring dimensions corresponding to the test data that have interconnection relationships with multiple second devices based on different second protocol messages, generating a second linkage node corresponding to each second device, including: Retrieve historical operational data and identify any second device as the target device; Based on the historical operating data, when the target device is in a closed state and the first device is in an open state, the first monitoring value of the first device corresponds to different monitoring dimensions. Based on the historical operating data, it is determined that the target device is in the on state. When the first device is in the on state, the second monitoring value of the first device corresponds to different monitoring dimensions. If the second monitoring value is less than the first monitoring value, the target device is determined to have a device interconnection relationship with the first device. The monitoring dimension corresponding to the test data in response to any linkage request has a device interconnection relationship with multiple second devices based on different second protocol messages, and generates a second linkage node corresponding to each second device.
7. The method for identifying and capturing custom protocol messages on a soft bus according to claim 3, characterized in that, The control relay terminal sends the determined linkage request, including the first linkage state, corresponding to multiple second devices, different second linkage states to each second device based on the relay protocol message, including: In response to the monitoring dimension being a temperature dimension and any of the second devices being a cooling device, the second active area of the second device that has a device interconnection relationship with the temperature dimension is obtained; Create device placement points with the same point spacing along the regional extension direction of the second activity area, and control the second device to be placed sequentially at each device placement point to perform a cooling operation on the first device; The first device is monitored and collected at the corresponding abnormal collection points, and the device placement point with the minimum temperature drop monitoring value is determined as the linkage placement point. Based on the linkage placement point, the second device is image acquired, and based on the acquired linkage image, the second linkage state of the corresponding second device is determined; The control relay terminal sends the determined linkage request, which includes the first linkage state, to each of the multiple second devices based on the relay protocol message, along with the different second linkage states corresponding to the first linkage state.
8. The method for identifying and capturing custom protocol messages on a soft bus according to claim 3, characterized in that, The control relay terminal sends the determined linkage request, including the first linkage state, corresponding to multiple second devices, different second linkage states to each second device based on the relay protocol message, including: In response to the monitoring dimension being the unloading dimension and any of the second devices being the grabbing devices, the elevation of the first device is collected based on the abnormal collection points, and the second elevation value of the corresponding second device is determined based on the obtained first elevation value. Based on the second elevation value, a second active area corresponding to the second device is determined, and based on the second active area, a linkage placement point that has a horizontal overlap with the abnormal collection point is determined; Based on the linkage placement point, the second device is image acquired, and based on the acquired linkage image, the second linkage state of the corresponding second device is determined; The control relay terminal sends the determined linkage request, which includes the first linkage state, to each of the multiple second devices based on the relay protocol message, along with the different second linkage states corresponding to the first linkage state.
9. The method for identifying and capturing custom protocol messages on a soft bus according to claim 1, characterized in that, The first linkage node is time-identified based on the relay reception time and the direct connection reception time, and the linkage test interface is sent to the management terminal for display, so that the management terminal can select the relay transmission mode corresponding to the relay reception time or the direct connection transmission mode corresponding to the direct connection reception time to configure the transmission of the first device and the second device, including: Based on the linkage test interface, a node bounding box is generated to surround the second linkage node, and a direct connection marker connecting the first linkage node and the node bounding box is established, as well as a relay marker connecting line that sequentially connects the first linkage node, the relay node, and the node bounding box. Based on the direct connection identification line and the relay identification line, establish direct connection identification slots and relay identification slots, and fill the direct connection reception time and relay reception time into the direct connection identification slots and relay identification slots; The linkage test interface is displayed on the management terminal. When the management terminal selects any identification slot, the identification slot is enlarged by a corresponding preset multiple, and an identification determination line parallel to the identification connection line corresponding to the identification slot is generated. The transmission configuration is performed on the first device and the second device based on the transmission mode determined by the reception time corresponding to the identifier line.
10. A software bus custom protocol message identification and packet capture system, characterized in that, include: The first generation module is configured to generate the first linkage node corresponding to the first device based on the linkage test interface; The second generation module is configured to determine different linkage requests corresponding to the first device based on the established test set, and respond to the test data included in any linkage request corresponding to multiple second devices based on different second protocol messages, and generate a second linkage node corresponding to each second device. The relay linkage module is configured to send the linkage request to the relay terminal corresponding to the relay node located on the linkage test interface, control the relay terminal to send the determined first linkage state of the linkage request to each of the multiple second devices based on the relay protocol message, and obtain the relay reception time corresponding to each second device. The receiving and determining module is configured to send the linkage request to each second device based on the second protocol message, and to obtain the direct connection receiving time of each second device. The transmission configuration module is configured to time-identify the first linkage node based on the relay reception time and the direct connection reception time, and send the linkage test interface to the management terminal for display, so that the management terminal can select the relay transmission mode corresponding to the relay reception time or the direct connection transmission mode corresponding to the direct connection reception time to configure the transmission of the first device and the second device.