AUTBUS bus performance analysis promotion method and device, bus analyzer and storage medium
By acquiring and analyzing AUTBUS bus node parameters, bus performance improvement schemes are generated. Parameters are adjusted automatically or manually, or faults are eliminated, thus solving the problem of degraded bus communication quality, improving efficiency, and reducing costs.
Patent Information
- Application Number
- CN202111420465.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-26
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2041-11-26
AI Technical Summary
In existing AUTBUS bus systems, unreasonable hardware and software configurations or malfunctions of nodes can lead to a decline in communication quality, and manual troubleshooting is inefficient and costly.
By acquiring the current parameters of the bus-mounted nodes, the system analyzes the bus performance, generates improvement plans, and presents them to the user to enhance bus performance. Parameters can be adjusted or faults eliminated in automatic or manual mode.
It reduces reliance on manual screening, improves screening efficiency, reduces labor costs, and achieves automated bus performance enhancement.
Smart Images

Figure CN114090405B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of bus communication, and in particular to an AUTBUS bus performance analysis improvement method and device, a bus analyzer, and a storage medium. BACKGROUND
[0002] With the advent of the era of industrial automation, various devices in a factory are connected to a central control room for centralized control and monitoring. Generally, the central control devices in the central control room are connected to various devices in the field through a bus system, such as an AUTBUS bus system.
[0003] The AUTBUS bus can also be referred to as a two-wire bus, and is also referred to as a field broadband bus or a two-wire industrial control bus. The control nodes in the AUTBUS bus system are configured to generate resource scheduling information and send it to at least one slave node, thereby achieving scheduling of resources of the nodes in the AUTBUS bus system.
[0004] However, if the software and hardware configurations of the nodes are unreasonable or if a fault occurs, the bus communication quality will decrease, and at this time, manual troubleshooting is required to find the problem and improve the bus communication quality. The manual troubleshooting method is low in efficiency and requires troubleshooting personnel to have high troubleshooting ability, which will result in high costs of bus wiring and maintenance. SUMMARY
[0005] Embodiments of the present application provide an AUTBUS bus performance analysis improvement method and device, a bus analyzer, and a storage medium to reduce the dependence of bus performance analysis improvement on manual work.
[0006] In a first aspect, embodiments of the present application provide an AUTBUS bus performance analysis improvement method, which includes:
[0007] obtaining current node parameters of each node mounted on a bus;
[0008] analyzing the bus performance based on the node parameters and determining a bus performance improvement scheme according to an analysis result obtained by the analysis;
[0009] displaying the bus performance improvement scheme so as to improve the performance of the bus according to the displayed bus performance improvement scheme.
[0010] In a second aspect, embodiments of the present application further provide an AUTBUS bus performance analysis improvement device, which includes:
[0011] an obtaining module configured to obtain current node parameters of each node mounted on a bus;
[0012] The analysis module is used to analyze the bus performance based on the node parameters and determine a bus performance improvement plan based on the analysis results.
[0013] The display module is used to showcase the bus performance improvement scheme, so that users can improve the bus performance based on the displayed bus performance improvement scheme.
[0014] Thirdly, embodiments of this application also provide a bus analyzer, the bus analyzer comprising:
[0015] One or more processors;
[0016] Storage device for storing one or more programs;
[0017] An AUTBUS interface circuit, which is connected to the processor, is used to acquire the current node parameters of each node connected to the bus and send the node parameters to the processor.
[0018] The USB power supply and interface circuits are connected to the processor and the host computer respectively, and are used to provide working power to the bus analyzer through the host computer and to send the node parameters and the bus performance improvement scheme obtained by the bus analyzer to the host computer.
[0019] When the one or more programs are executed by the one or more processors, the one or more processors implement the AUTBUS bus performance analysis and improvement method provided in any embodiment of this application.
[0020] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program thereon, characterized in that, when executed by a processor, the program implements the AUTBUS bus performance analysis and improvement method provided in any embodiment of this application.
[0021] The technical solution of this application embodiment obtains the current node parameters of each node connected to the bus, then analyzes the bus performance based on these node parameters, determines a bus performance improvement scheme based on the analysis results, and finally displays the bus performance improvement scheme so that users can improve bus performance according to the displayed scheme. Based on this, by analyzing node parameters and determining corresponding bus performance improvement schemes based on the analysis results, and then displaying these schemes, users can improve bus performance using the displayed schemes. This embodiment's solution directly analyzes node parameters to generate suitable solutions that improve bus performance, avoiding manual troubleshooting, improving troubleshooting efficiency, and lowering the entry barrier for personnel, thus reducing labor costs. Attached Figure Description
[0022] Figure 1a A flowchart illustrating the AUTBUS bus performance analysis and improvement method provided in Embodiment 1 of this application;
[0023] Figure 1b A schematic diagram of a bus topology provided for Embodiment 1 of this application;
[0024] Figure 2 This is a flowchart illustrating a bus performance improvement scheme provided in Embodiment 2 of this application;
[0025] Figure 3 This is a flowchart illustrating a bus performance improvement scheme provided in Embodiment 3 of this application;
[0026] Figure 4 This is a schematic diagram of the structure of an AUTBUS bus performance analysis and improvement device provided in Embodiment 4 of this application;
[0027] Figure 5 This is a schematic diagram of a bus analyzer provided in Embodiment 5 of this application. Detailed Implementation
[0028] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the application and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present application, not the entire structure.
[0029] Example 1
[0030] Figure 1a This is a flowchart illustrating the AUTBUS bus performance analysis and improvement method provided in Embodiment 1 of this application. This embodiment is applicable to scenarios requiring bus performance improvement. It should be noted that reduced bus performance may be due to unreasonable node parameter settings or faults in the bus, such as loose node connections, short circuits on the bus, or internal wiring faults within the nodes. Processes that address these issues to improve bus performance are all included within the scope of this embodiment.
[0031] This method can be executed by an AUTBUS bus performance analysis and enhancement device, which can be implemented in hardware and / or software and is generally integrated into a bus analyzer such as a computer with data processing capabilities. The specific steps include:
[0032] Step 101: Obtain the current node parameters of each node mounted on the bus.
[0033] In this step, multiple nodes can be connected to the bus. These nodes can contain a variety of devices, such as various sensors (transmitters), cameras, actuators, motors, etc. For details, please refer to [reference needed]. Figure 1b , Figure 1b This is a schematic diagram of a bus topology provided for Embodiment 1 of this application.
[0034] like Figure 1b As shown, the bus topology is a loop network structure with matching resistors at both ends of the network. TN represents a node, TN1 is a valve actuator, TN2 is a differential pressure transmitter, TN3 is a temperature transmitter, TN4 is a level transmitter, TN5 is a flow transmitter, TN15 is a flow control valve A, TN16 is a flow control valve B, TN17 is a camera, TN18 is a motor (M), and TN19 is a pressure transmitter.
[0035] Additionally, the analyzer shown in the figure refers to the bus analyzer in the subsequent embodiment, which can be mounted on any location on the bus. Of course, for easy connection to a host computer (PC), the analyzer can be mounted on the bus located in the central control room.
[0036] In addition, the node parameters in this step refer to parameters related to bus performance, such as signal-to-noise ratio, matching value, communication mode, and packet error rate. These parameters directly reflect the bus performance, such as bus status information and signal quality.
[0037] Step 102: Analyze the bus performance based on the node parameters, and determine the bus performance improvement plan based on the analysis results.
[0038] In this step, we can analyze the reasons for various bus performance degradations, and for each reason, there will be corresponding bus performance improvement solutions. For example, if we determine that the reason for the bus performance degradation is due to unreasonable node parameter settings or a fault in the bus, there will be corresponding bus performance improvement solutions.
[0039] It should be noted that the process of determining the cause of bus performance degradation based on node parameters can be as follows: compare the node parameters with standard parameter values to obtain the difference between the node parameters and standard parameter values, pre-set several threshold ranges and mapping relationships with various causes of bus performance degradation, and then determine which threshold range the aforementioned difference falls into, thereby determining the corresponding cause of bus performance degradation.
[0040] In a specific example, the reasons for the degraded bus performance include unreasonable node parameter settings and faults in the bus. The difference between the node parameters and the standard parameter values will be different due to different reasons. For example, unreasonable node parameter settings will often cause the difference to be concentrated in a certain threshold range, while the difference caused by faults in the bus will be concentrated in another threshold range. Generally, different threshold ranges can be determined by multiple field measurements and manual cause judgment.
[0041] Of course, after analyzing the cause in this embodiment, it can be shown to the user, who can then judge whether the analysis result is correct and provide feedback on the corresponding judgment result. This embodiment can update the threshold range based on the feedback judgment result.
[0042] Faced with different causes of bus performance degradation, this step will further determine a bus performance improvement plan based on the cause. This plan is designed to overcome the aforementioned causes of bus performance degradation. For example, if the cause is unreasonable node parameter configuration, then reasonable parameters will be recommended as a bus performance improvement plan, which the user can then adjust according to. If the cause is a bus fault, the approximate location of the fault, i.e., the fault range, and the corresponding preset fault elimination plan can be inferred from the analysis results. This can be used as a bus performance improvement plan, allowing the user to locate the fault range and eliminate the fault using the preset fault elimination plan, thereby improving bus performance.
[0043] Step 103: Showcase the bus performance improvement solutions so that users can improve bus performance based on the showcased solutions.
[0044] In this step, the solution can be presented so that users can improve bus performance based on the presented solution.
[0045] To further reduce manual troubleshooting, this embodiment can set two modes for the bus analyzer: manual mode and automatic mode. In manual mode, the bus performance improvement scheme can be demonstrated by following step 103.
[0046] In automatic mode, in addition to following step 103, bus performance can also be improved directly based on the bus performance enhancement scheme. Specifically, the node to be adjusted and the target node parameter values can be determined according to the bus performance enhancement scheme; the node parameters of the node to be adjusted are then adjusted to the target node parameter values to improve bus performance.
[0047] Of course, automatic mode is only applicable when the bus performance degradation is caused by unreasonable node parameter configuration. For bus faults, manual repair is still required.
[0048] In this embodiment, the current node parameters of each node connected to the bus are obtained, and then the bus performance is analyzed based on these node parameters. A bus performance improvement plan is determined based on the analysis results, and finally, the bus performance improvement plan is displayed so that users can improve bus performance using the displayed plan. Based on this, by analyzing node parameters and determining corresponding bus performance improvement plans, and then displaying these plans, users can improve bus performance using the displayed plans. This embodiment's approach directly analyzes node parameters to generate suitable solutions that improve bus performance, avoiding manual troubleshooting, improving troubleshooting efficiency, lowering the entry barrier for staff, and reducing labor costs.
[0049] Example 2
[0050] For cases where bus performance degradation is caused by improper node parameter configuration, the process for deriving bus performance improvement solutions can be found in [reference needed]. Figure 2 , Figure 2 This is a flowchart illustrating a bus performance improvement scheme provided in Embodiment 2 of this application.
[0051] like Figure 2 As shown in this embodiment, the process of obtaining a bus performance improvement scheme may include:
[0052] Step 201: For any sub-parameter, compare it with the standard parameter value corresponding to the sub-parameter to obtain the comparison result.
[0053] In this step, a sub-parameter is a parameter that is subordinate to the node parameters. For example, if the node parameters include signal-to-noise ratio, matching value, communication mode, and packet error rate, then the signal-to-noise ratio is a sub-parameter. Similarly, the matching value, communication mode, and packet error rate are each a sub-parameter.
[0054] It should be noted that the standard parameter value is the value that the node parameter needs to reach when the bus performance is normal. For example, when the bus performance is normal, the signal-to-noise ratio of the transmitter needs to be higher than value A. Then value A can be set as the standard parameter value of the corresponding signal-to-noise ratio of the transmitter.
[0055] The standard parameter values differ for different types of nodes. For example, transmitters, cameras, or actuators require different communication capabilities. Therefore, different standard parameter values need to be set for different types of nodes. For instance, the standard parameter value for the signal-to-noise ratio of a transmitter is value A1, and the standard parameter value for the signal-to-noise ratio of an actuator is value B1, etc. Please refer to Table 1 below for details.
[0056] Table 1
[0057] Node Type Standard Parameter Value Transmitter Signal-to-noise ratio: value Al; match value: value A2; communication mode: value A3; packet error rate: value A4 Actuator Signal-to-noise ratio: value Bl; match value: value B2; communication mode: value B3; packet error rate: value B4 Camera Signal-to-noise ratio: value Cl; match value: value C2; communication mode: value C3; packet error rate: value C4 Motor Signal-to-noise ratio: value Dl; match value: value D2; communication mode: value D3; packet error rate: value D4
[0058] Based on Table 1 above, for any sub-parameter, first determine the target node type of the corresponding node, and then, according to the preset mapping relationship between node types and parameter values, determine the parameter value corresponding to the target node type as the standard parameter value corresponding to the sub-parameter. For example, if the obtained value is... Figure 1b For the node parameters of the TN1 valve actuator, the sub-parameter of error rate corresponds to the node target node type of actuator. From Table 1, we can see that the standard parameter value is B4.
[0059] The sub-parameter is compared with the standard parameter value, that is, the difference between the two is calculated, and the difference is used as the comparison result of this step.
[0060] Step 202: Determine the comparison results corresponding to each sub-parameter as the analysis results, and determine the target sub-parameter to be adjusted and the corresponding adjustment value based on the analysis results.
[0061] In this step, the comparison result, i.e. the difference obtained above, can be used as the analysis result. Since each sub-parameter will have a corresponding analysis result, this step needs to determine in turn which sub-parameter can be used as the target sub-parameter, i.e. the sub-parameter whose parameter value needs to be adjusted.
[0062] Since the analysis result is the difference between the current value of the sub-parameter and the standard parameter value, and the standard parameter value is the parameter value corresponding to normal bus performance, the sub-parameter with a non-zero difference can be identified as the target sub-parameter, and then the difference can be identified as the corresponding adjustment value.
[0063] Furthermore, in order to improve the tolerance of the solution in this embodiment, a threshold can be set. When the difference reaches the threshold, the corresponding sub-parameter will be determined as the target sub-parameter, and the difference will be determined as the adjustment value.
[0064] Step 203: Determine the target sub-parameters and their corresponding adjustment values as the bus performance improvement scheme.
[0065] In this step, the target sub-parameters and their corresponding adjustment values are directly determined as the bus performance improvement scheme. When the bus analyzer is in manual mode, the target sub-parameters and their corresponding adjustment values are displayed, and then the user adjusts the target sub-parameters according to the displayed content and the adjustment values.
[0066] When the bus analyzer is in automatic mode, it directly sends adjustment commands to the corresponding nodes according to the adjustment values to adjust the target sub-parameters of the nodes to the standard parameter values.
[0067] Example 3
[0068] For cases where bus performance degradation is caused by bus failure, the process of developing a bus performance improvement plan can be found in [reference needed]. Figure 3 , Figure 3 This is a flowchart illustrating a bus performance improvement scheme provided in Embodiment 3 of this application.
[0069] like Figure 3 As shown, the process of obtaining the bus performance improvement scheme provided in this embodiment may include:
[0070] Step 301: Determine the bus direction with the target trend of signal-to-noise ratio change according to the topology of each node in the bus.
[0071] In this step, topology refers to the topological location of each node's connection on the bus. (Refer to...) Figure 1b This refers to the topology in a specific example. Importantly, it's the order of the nodes within the topology; this embodiment can determine the fault location based on the order of the nodes.
[0072] It should be noted that the target change trend can be a gradually decreasing trend. Generally, the higher the signal-to-noise ratio, the better the communication quality. When a fault occurs, the signal-to-noise ratio will gradually increase from the fault point. That is to say, the signal-to-noise ratio at the fault point is the lowest. Since the signal-to-noise ratio is a sub-parameter of the node, the closer the node is to the fault point, the lower the node's signal-to-noise ratio.
[0073] Therefore, in this step, the nodes can first be sorted according to the topology of the nodes in the bus. Then, the target nodes with the target trend in signal-to-noise ratio (SNR) are queried in the sorted list, along with the directional order of the target nodes showing the target trend. Then, the first target node in the directional order is determined as the starting node, and the bus direction with the target trend in SNR is determined based on the directional order and the starting node.
[0074] The sorting can start from the master node in the bus, or from the node closest to the bus analyzer. Figure 1b For example, the sorting order is TN1, TN2, TN3, TN4, TN5, TN15, TN16, TN17, TN18, TN19.
[0075] In a specific example, the signal-to-noise ratios (SNRs) of each node could be 48, 40, 35, 30, 20, 30, 32, 45, 50, and 52, respectively. The target trend is decreasing, and this can occur in two directions. The target nodes for each direction are TN1, TN2, TN3, TN4, TN5 and TN19, TN18, TN17, TN16, TN15, TN5. The order of the directions is the same as the aforementioned SNR from high to low, with the starting nodes being TN1 and TN19, respectively.
[0076] Step 302: Compare the signal-to-noise ratios of each node along the bus direction. If the signal-to-noise ratio of the current node is less than both the signal-to-noise ratio of the previous node and the signal-to-noise ratio of the next node, the area between the previous node and the next node of the current node is determined as the fault zone.
[0077] This step mainly involves identifying nodes whose signal-to-noise ratio (SNR) is simultaneously less than both the SNR of the previous node and the SNR of the next node. This can generally be done by comparing each node one by one, i.e., traversing the network. In a specific example, the SNR of TN5 is simultaneously less than that of TN4 and TN15, which means that a fault has occurred near TN5. To facilitate users in locating the fault on-site, the area between the previous node and the next node can be defined as the fault interval, i.e., the area between TN4 and TN15 is the fault interval.
[0078] Step 303: Determine the fault range and the preset fault elimination scheme as the bus performance improvement scheme.
[0079] In this step, the preset fault elimination plan is a pre-recorded fault inspection and elimination operation manual. Generally, bus faults can include open circuits, short circuits, etc. For each type of fault, the specific operation manual can be recorded separately.
[0080] To help less experienced users eliminate obstacles, the fault ranges obtained in the aforementioned steps, along with pre-stored preset fault elimination schemes, can be recommended to users as bus performance improvement solutions. Users can then use the operation manuals to detect and eliminate faults in the fault ranges.
[0081] Example 4
[0082] Figure 4 This is a schematic diagram of an AUTBUS bus performance analysis and improvement device provided in Embodiment 4 of this application. The AUTBUS bus performance analysis and improvement device provided in this embodiment can execute the AUTBUS bus performance analysis and improvement method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects of the method. This device can be implemented in software and / or hardware, such as... Figure 4 As shown, the AUTBUS bus performance analysis and improvement device specifically includes: acquisition module 401, analysis module 402, and display module 403.
[0083] The acquisition module is used to acquire the current node parameters of each node mounted on the bus.
[0084] The analysis module is used to analyze bus performance based on node parameters and determine bus performance improvement schemes based on the analysis results.
[0085] The demonstration module is used to showcase bus performance improvement solutions, so that users can improve bus performance based on the displayed solutions.
[0086] In this embodiment,
[0087] By acquiring the current node parameters of each node connected to the bus, analyzing the bus performance based on these parameters, determining a bus performance improvement plan based on the analysis results, and finally displaying the bus performance improvement plan, users can improve bus performance using the displayed plan. Based on this, by analyzing node parameters and determining corresponding bus performance improvement plans, and then displaying these plans, users can improve bus performance using the displayed plans. This embodiment of the solution directly analyzes node parameters to generate suitable solutions that improve bus performance, avoiding manual troubleshooting, improving troubleshooting efficiency, lowering the entry barrier for staff, and reducing labor costs.
[0088] Furthermore, node parameters include multiple sub-parameters;
[0089] The analysis module includes:
[0090] The comparison unit is used to compare any sub-parameter with the corresponding standard parameter value to obtain the comparison result.
[0091] The first determining unit is used to determine the comparison results corresponding to each sub-parameter as the analysis results, and to determine the target sub-parameter to be adjusted and the corresponding adjustment value based on the analysis results;
[0092] The second determining unit is used to determine the target sub-parameters and their corresponding adjustment values as a bus performance improvement scheme.
[0093] Furthermore, the analysis module also includes:
[0094] The third determining unit is used to determine the target node type of the corresponding node for any sub-parameter, and to determine the parameter value corresponding to the target node type as the standard parameter value corresponding to the sub-parameter according to the preset mapping relationship between node type and parameter value.
[0095] Furthermore, node parameters include signal-to-noise ratio;
[0096] The analysis module includes:
[0097] The fourth determining unit is used to determine the bus direction with a target trend of signal-to-noise ratio change according to the topology of each node in the bus;
[0098] The fifth determining unit is used to compare the signal-to-noise ratio of each node along the bus direction. If the signal-to-noise ratio of the current node is less than both the signal-to-noise ratio of the previous node and the signal-to-noise ratio of the next node, the area between the previous node and the next node of the current node is determined as the fault interval.
[0099] The sixth determining unit is used to determine the fault range and the preset fault elimination scheme as the bus performance improvement scheme.
[0100] Furthermore, the fourth determining unit includes:
[0101] The sorting subunit is used to sort the nodes according to the topology of the nodes in the bus.
[0102] The query sub-unit is used to query the target nodes whose signal-to-noise ratio shows a target change trend in the sorting process, as well as the directional order of the target nodes that show the target change trend.
[0103] The sub-unit is used to determine the first target node of the direction sequence as the starting node, and to determine the bus direction with the target change trend in signal-to-noise ratio based on the direction sequence and the starting node.
[0104] Furthermore, the device also includes:
[0105] The performance enhancement module is used to improve bus performance according to the bus performance enhancement scheme when the bus analyzer is in automatic mode.
[0106] Furthermore, the performance enhancement modules include:
[0107] The seventh determining unit is used to determine the node to be adjusted and the target node parameter values of the node to be adjusted according to the bus performance improvement scheme.
[0108] The adjustment unit is used to adjust the node parameters of the node to be adjusted to the target node parameter values in order to improve the performance of the bus.
[0109] Example 5
[0110] Figure 5 This is a schematic diagram of the structure of a bus analyzer provided in Embodiment 5 of this application, as shown below. Figure 5 As shown, the bus analyzer includes a processor 510, a memory 520, an AUTBUS interface circuit 530, and a USB power supply and interface circuit 540; the number of processors 510 in the bus analyzer can be one or more. Figure 5 Taking a processor 510 as an example, the AUTBUS interface circuit is connected to the processor and is used to collect the current node parameters of each node connected to the bus and send the node parameters to the processor.
[0111] The USB power supply and interface circuits are connected to the processor and the host computer, respectively, and are used to provide power to the bus analyzer through the host computer and to send the node parameters and the bus performance improvement scheme obtained by the bus analyzer to the host computer. Figure 5 Taking the example of a connection between China and Israel via a bus.
[0112] The memory 520, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the AUTBUS bus performance analysis and improvement method in this embodiment (e.g., the acquisition module 401, analysis module 402, and display module 403 in the AUTBUS bus performance analysis and improvement device). The processor 510 executes various functional applications and data processing of the bus analyzer by running the software programs, instructions, and modules stored in the memory 520, thereby implementing the aforementioned AUTBUS bus performance analysis and improvement method.
[0113] That is,
[0114] Get the current node parameters of each node attached to the bus;
[0115] Bus performance is analyzed based on node parameters, and bus performance improvement schemes are determined based on the analysis results.
[0116] The solution demonstrates bus performance improvement methods so that users can improve bus performance based on the demonstrated solutions.
[0117] The memory 520 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function; the data storage area may store data created based on terminal usage. Furthermore, the memory 520 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory, or other non-volatile solid-state storage device. In some instances, the memory 520 may further include memory remotely located relative to the processor 510, which can be connected to a bus analyzer via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0118] Example 6
[0119] Embodiment 6 of this application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform an AUTBUS bus performance analysis and improvement method, the method comprising:
[0120] Get the current node parameters of each node attached to the bus;
[0121] Bus performance is analyzed based on node parameters, and bus performance improvement schemes are determined based on the analysis results.
[0122] The solution demonstrates bus performance improvement methods so that users can improve bus performance based on the demonstrated solutions.
[0123] Of course, the computer-executable instructions provided in the embodiments of this application are not limited to the above-described method operations, but can also perform related operations in the AUTBUS bus performance analysis and improvement method provided in any embodiment of this application.
[0124] Based on the above description of the implementation methods, those skilled in the art can clearly understand that this application can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0125] It is worth noting that in the embodiments of the search device described above, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the scope of protection of this application.
[0126] Note that the above description is merely a preferred embodiment and the technical principles employed in this application. Those skilled in the art will understand that this application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments. Many other equivalent embodiments may be included without departing from the concept of this application, and the scope of this application is determined by the scope of the appended claims.
Claims
1. A method for improving the performance of the AUTBUS bus, characterized in that, The method is applied to a bus analyzer, and the method includes: Get the current node parameters of each node attached to the bus; The bus performance is analyzed based on the node parameters, and a bus performance improvement plan is determined based on the analysis results. The bus performance improvement scheme is presented to enable users to improve the bus performance based on the presented scheme; wherein, the bus analyzer includes: AUTBUS interface circuit and USB power supply and interface circuit; The bus analyzer is mounted at any point on the bus and uses the AUTBUS interface circuit to achieve data interaction with the bus node device and the USB power supply and interface circuit to achieve connection with the host computer. The reasons for the reduced bus performance include: unreasonable node parameter configuration and bus failure; In cases where node parameters are configured improperly, the node parameters include multiple sub-parameters. The step of analyzing the bus performance based on the node parameters and determining a bus performance improvement plan based on the analysis results includes: For any sub-parameter, compare it with the standard parameter value corresponding to the sub-parameter to obtain the comparison result; The comparison results corresponding to each sub-parameter are determined as the analysis results, and the target sub-parameter to be adjusted and the corresponding adjustment value are determined based on the analysis results. The target sub-parameters and the corresponding adjustment values are determined as the bus performance improvement scheme; In the case of bus failure, the node parameters include the signal-to-noise ratio; The step of analyzing the bus performance based on the node parameters and determining a bus performance improvement plan based on the analysis results includes: Determine the bus direction with the target trend of signal-to-noise ratio change based on the topology of each node in the bus; The signal-to-noise ratios of each node are compared along the bus direction. If the signal-to-noise ratio of the current node is less than both the signal-to-noise ratio of the previous node and the signal-to-noise ratio of the next node, the area between the previous node and the next node of the current node is determined as the fault interval. The fault range and the preset fault elimination scheme are determined as the bus performance improvement scheme; The step of determining the bus direction with a target trend in signal-to-noise ratio according to the topology of each node in the bus includes: The nodes are sorted according to the topology of the nodes in the bus. In the sorting, query the target nodes whose signal-to-noise ratio has a target change trend, and the directional order of the target nodes that present the target change trend; The first target node in the direction sequence is determined as the starting node, and the bus direction with the target change trend of signal-to-noise ratio is determined according to the direction sequence and the starting node.
2. The method according to claim 1, characterized in that, Before comparing any sub-parameter with the corresponding standard parameter value to obtain a comparison result, the step of analyzing the bus performance based on the node parameters and determining a bus performance improvement scheme based on the analysis results further includes: For any sub-parameter, determine the target node type of the corresponding node, and according to the preset mapping relationship between node type and parameter value, determine the parameter value corresponding to the target node type as the standard parameter value corresponding to the sub-parameter.
3. The method according to claim 1, characterized in that, The method further includes: In cases where node parameter configuration is unreasonable, the bus performance is improved according to the bus performance enhancement scheme when the bus analyzer is in automatic mode.
4. The method according to claim 3, characterized in that, When the bus analyzer is in automatic mode, improving the bus performance according to the bus performance enhancement scheme includes: The node to be adjusted and the target node parameter values of the node to be adjusted are determined according to the bus performance improvement scheme. The node parameters of the node to be adjusted are adjusted to the target node parameter values to improve the performance of the bus.
5. An AUTBUS bus performance analysis and improvement device, characterized in that, The device is configured in a bus analyzer, and the device includes: The acquisition module is used to acquire the current node parameters of each node attached to the bus; The analysis module is used to analyze the bus performance based on the node parameters and determine a bus performance improvement plan based on the analysis results. The demonstration module is used to display the bus performance improvement scheme, so that users can improve the bus performance according to the displayed bus performance improvement scheme; wherein, the bus analyzer includes: AUTBUS interface circuit and USB power supply and interface circuit; The bus analyzer is mounted at any point on the bus and interacts with the bus node devices via the AUTBUS interface circuit and connects to the host computer via USB power supply and interface circuit. The reasons for the bus performance degradation include: unreasonable node parameter configuration and bus failure. In particular, for cases where node parameters are configured improperly, node parameters include multiple sub-parameters; The analysis module includes: The comparison unit is used to compare any sub-parameter with the corresponding standard parameter value to obtain the comparison result. The first determining unit is used to determine the comparison results corresponding to each sub-parameter as the analysis results, and to determine the target sub-parameter to be adjusted and the corresponding adjustment value based on the analysis results; The second determining unit is used to determine the target sub-parameters and the corresponding adjustment values as a bus performance improvement scheme. In the case of bus failure, the node parameters include the signal-to-noise ratio; The analysis module includes: The fourth determining unit is used to determine the bus direction with a target trend of signal-to-noise ratio change according to the topology of each node in the bus; The fifth determining unit is used to compare the signal-to-noise ratio of each node along the bus direction. If the signal-to-noise ratio of the current node is less than both the signal-to-noise ratio of the previous node and the signal-to-noise ratio of the next node, the area between the previous node and the next node of the current node is determined as the fault interval. The sixth determining unit is used to determine the fault range and the preset fault elimination scheme as the bus performance improvement scheme; The fourth determining unit includes: The sorting subunit is used to sort the nodes according to the topology of the nodes in the bus. The query sub-unit is used to query the target nodes whose signal-to-noise ratio shows a target change trend in the sorting process, as well as the directional order of the target nodes that show the target change trend. The sub-unit is used to determine the first target node of the direction sequence as the starting node, and to determine the bus direction with the target change trend in signal-to-noise ratio based on the direction sequence and the starting node.
6. A bus analyzer, characterized in that, include: One or more processors; Storage device for storing one or more programs; An AUTBUS interface circuit, which is connected to the processor, is used to collect the current node parameters of each node connected to the bus and send the node parameters to the processor. The USB power supply and interface circuits are connected to the processor and the host computer respectively, and are used to provide working power to the bus analyzer through the host computer and to send the node parameters and the bus performance improvement scheme obtained by the bus analyzer to the host computer. When the one or more programs are executed by the one or more processors, the one or more processors implement the AUTBUS bus performance analysis and improvement method as described in any one of claims 1-4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by the processor, this program implements the AUTBUS bus performance analysis and improvement method as described in any one of claims 1-4.
Citation Information
Patent Citations
Gain adjustment method and device of high-speed bus system
CN112565040A
Fault arc positioning diagnosis method and device and computer readable storage medium
CN113093049A