Message short frame monitoring method and device, electronic equipment and storage medium
By generating basic waveform diagrams in the signal drawing interface and sending out sound signals, the problem of low message short frame monitoring efficiency in the prior art is solved, and efficient monitoring is achieved under high rolling frequency and large data volume.
Patent Information
- Application Number
- CN202410919932.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-05
AI Technical Summary
In the prior art, monitoring of short frames of packets mainly relies on human observation, which makes it difficult to accurately capture message information under high scroll frequency and large data volume, resulting in long test time and low working efficiency.
By adding target signals to the signal drawing interface, a basic waveform diagram is generated, and the sound signal is sent out to the vehicle according to preset conditions to obtain the first waveform diagram of waveform changes, monitoring of short frames of messages is achieved, and testing time is saved , improve work efficiency.
When the data volume of packets is large, monitoring of short frames of packets is achieved by observing the waveform diagram, which significantly saves test time and improves work efficiency.
Smart Images

Figure CN118900241A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, device, electronic device and storage medium for monitoring short message frames. Background Art
[0002] With the continuous development of the communication field, short message frames are usually used in data communication and network transmission as a basic unit of data transmission. In the application of short message frames, it is often involved to monitor the short message frames when the messages are sent out.
[0003] Currently, the reception of short message frames is mainly checked by manually observing message data, thereby realizing the monitoring of short message frames.
[0004] However, due to the high frequency of message scrolling, it is difficult for humans to accurately capture the required message information, and it is even more difficult to find the required message information when the message data volume is huge, resulting in longer testing time and lower work efficiency. Summary of the invention
[0005] In view of this, the purpose of the present application is to provide a message short frame monitoring method, device, electronic device and storage medium, by adding the selected target signal to the signal drawing interface to determine the corresponding basic waveform diagram, and sending the sound signal to the vehicle computer to obtain the first waveform diagram where the waveform change occurs based on the basic waveform diagram. When the amount of message data is huge, the short frames of the message can be monitored by observing the waveform diagram of the message, thereby saving testing time and improving work efficiency.
[0006] In a first aspect, an embodiment of the present application provides a method for monitoring short message frames, the method comprising:
[0007] In response to a target signal node input by a user in a signal drawing interface in a preset monitoring tool, a corresponding signal list is generated;
[0008] In response to a selection instruction from the user in the signal list, determining a target signal corresponding to the target signal node, and adding the target signal to the signal drawing interface to determine a corresponding basic waveform diagram; wherein the target signal includes a sound signal and a vehicle speed signal;
[0009] The external transmission condition of the target signal is determined based on preset requirements, and in response to the vehicle speed signal satisfying the external transmission condition, the sound signal is transmitted to the vehicle computer based on a preset transmission method, so as to obtain a first waveform diagram with waveform changes based on the basic waveform diagram.
[0010] In a possible implementation manner, the message short frame monitoring method further includes:
[0011] In response to the waveform in the basic waveform diagram having no peak value change and moving in a straight line, determining that the sound signal is not sent out to the vehicle computer;
[0012] In response to a user's setting instruction for the vehicle speed signal, the set vehicle speed signal satisfies the external condition, thereby acquiring a first waveform diagram with a waveform change based on the basic waveform diagram.
[0013] In a possible implementation manner, the sending the sound signal to the vehicle computer based on a preset sending mode includes:
[0014] Acquire the corresponding switching cycle and interval time based on the sound signal;
[0015] The sound signal is sent to the vehicle computer based on the switching cycle and the interval time.
[0016] In a possible implementation manner, the message short frame monitoring method further includes:
[0017] When there is no signal in the signal drawing interface, in response to a user's selection instruction for a signal in a database, the signal is determined as a target signal; wherein the database is loaded by the user after clicking on a message editor on the signal drawing interface;
[0018] In response to a user's copy instruction for the target signal, the target signal is added to the signal drawing interface.
[0019] In a possible implementation manner, the message short frame monitoring method further includes:
[0020] In response to the user's pause instruction, a second waveform is obtained based on the vehicle speed signal and the sound signal; wherein the second waveform includes two Y axes of different colors, and each color of the Y axis corresponds to a signal;
[0021] In response to the user's selection instruction for the coordinate axis parameter in the coordinate axis parameter function drop-down box, an updated second waveform graph is obtained.
[0022] In a possible implementation manner, the message short frame monitoring method further includes:
[0023] In response to the user determining that the sound signal is sent to the vehicle computer according to the updated second waveform, measuring a first peak time and a second peak time of the second waveform;
[0024] Based on the first peak time and the second peak time, it is determined whether the sound signal is sent to the vehicle computer according to a preset sending method.
[0025] In a possible implementation manner, the user determines, according to the updated second waveform diagram, that the sound signal is sent to the vehicle computer, including:
[0026] Get the target peak and valley value range;
[0027] When the peak-to-valley values in the updated second waveform diagram meet the target peak-to-valley value range, it is determined that the sound signal is sent to the vehicle computer.
[0028] In a second aspect, an embodiment of the present application further provides a message short frame monitoring device, the device comprising:
[0029] A generating module, for generating a corresponding signal list in response to a target signal node input by a user in a signal drawing interface in a preset monitoring tool;
[0030] A first adding module, configured to determine a target signal corresponding to the target signal node in response to a selection instruction of a user in the signal list, and add the target signal to the signal drawing interface to determine a corresponding basic waveform diagram; wherein the target signal includes a sound signal and a vehicle speed signal;
[0031] The first acquisition module is used to determine the external transmission condition of the target signal based on preset requirements, and in response to the vehicle speed signal satisfying the external transmission condition, the sound signal is transmitted to the vehicle computer based on a preset transmission method, so as to obtain a first waveform diagram with waveform changes based on the basic waveform diagram.
[0032] In a possible implementation manner, the message short frame monitoring device further includes:
[0033] A first determination module, configured to determine that the sound signal is not sent to the vehicle computer in response to the waveform in the basic waveform diagram having no peak value change and moving in a straight line;
[0034] The second acquisition module is used to respond to the user's setting instruction for the vehicle speed signal so that the set vehicle speed signal meets the external condition, thereby acquiring the first waveform diagram with waveform change based on the basic waveform diagram.
[0035] In a possible implementation manner, the acquisition module is specifically configured to:
[0036] Acquire the corresponding switching cycle and interval time based on the sound signal;
[0037] The sound signal is sent to the vehicle computer based on the switching cycle and the interval time.
[0038] In a possible implementation manner, the message short frame monitoring device further includes:
[0039] A second determination module is used to determine the signal as a target signal in response to a user's selection instruction for a signal in a database when there is no signal in the signal drawing interface; wherein the database is loaded by the user after clicking on a message editor on the signal drawing interface;
[0040] The second adding module is used to add the target signal to the signal drawing interface in response to a user's copy instruction for the target signal.
[0041] In a possible implementation manner, the message short frame monitoring device further includes:
[0042] A third acquisition module is used to obtain a second waveform graph based on the vehicle speed signal and the sound signal in response to the user's pause instruction; wherein the second waveform graph includes two Y axes of different colors, and each Y axis of different colors corresponds to a signal;
[0043] The fourth acquisition module is used to obtain an updated second waveform graph in response to the user's selection instruction for the coordinate axis parameter in the coordinate axis parameter function drop-down box.
[0044] In a possible implementation manner, the message short frame monitoring device further includes:
[0045] A measuring module, configured to measure a first peak time and a second peak time of the second waveform graph in response to the user determining that the sound signal is sent to the vehicle computer according to the updated second waveform graph;
[0046] A judgment module is used to judge whether the sound signal is sent to the vehicle computer according to a preset sending method based on the first peak time and the second peak time.
[0047] In a possible implementation manner, the measurement module is specifically used to:
[0048] Get the target peak and valley value range;
[0049] When the peak-to-valley values in the updated second waveform diagram meet the target peak-to-valley value range, it is determined that the sound signal is sent to the vehicle computer.
[0050] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the message short frame monitoring method as described in any one of the first aspects.
[0051] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the message short frame monitoring method described in any one of the first aspects are executed.
[0052] The embodiments of the present application provide a message short frame monitoring method, device, electronic device and storage medium, which generates a corresponding signal list in response to a target signal node input by a user in a signal drawing interface in a preset monitoring tool, determines a target signal corresponding to the target signal node in response to a selection instruction of the user in the signal list, and adds the target signal to the signal drawing interface to determine the corresponding basic waveform diagram, determines the external transmission condition of the target signal based on preset requirements, and in response to the vehicle speed signal meeting the external transmission condition, sends the sound signal to the vehicle computer based on a preset sending method to obtain a first waveform diagram with a waveform change based on the basic waveform diagram. In the present application, by adding the selected target signal to the signal drawing interface to determine the corresponding basic waveform diagram, and sending the sound signal to the vehicle computer to obtain a first waveform diagram with a waveform change based on the basic waveform diagram, when the amount of message data is huge, the short frames of the message can be monitored by observing the waveform diagram of the message, which saves test time and improves work efficiency.
[0053] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0055] Figure 1 is a flow chart of a method for monitoring short message frames according to an embodiment of the present application;
[0056] Figure 2 This is the schematic diagram of SPY 3;
[0057] Figure 3 is a flow chart of a message short frame monitoring method according to another embodiment of the present application;
[0058] Figure 4 is a flow chart of a message short frame monitoring method according to another embodiment of the present application;
[0059] Figure 5 is a flow chart of a message short frame monitoring method according to another embodiment of the present application;
[0060] Figure 6 is a schematic diagram of a second waveform diagram;
[0061] Figure 7 This is a schematic diagram of the updated second waveform. Figure 1 ;
[0062] Figure 8 is a flow chart of a message short frame monitoring method according to another embodiment of the present application;
[0063] Fig. 9 This is a schematic diagram of the updated second waveform. Figure 2 ;
[0064] Fig.10 It is a structural schematic diagram of a message short frame monitoring device according to an embodiment of the present application;
[0065] Fig.11 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0066] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0067] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0068] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0069] Considering the continuous development of the communication field, short message frames are usually used in data communication and network transmission as a basic unit of data transmission. In the application of short message frames, it is often involved to monitor the short message frames when the messages are sent out. At present, the reception of short message frames is mainly checked by manually observing the message data, so as to realize the monitoring of short message frames.
[0070] However, due to the high frequency of message scrolling, it is difficult for humans to accurately capture the required message information, and it is even more difficult to find the required message information when the message data volume is huge, resulting in longer testing time and lower work efficiency.
[0071] To address this problem, the present application provides a method, device, electronic device and storage medium for monitoring short frames of messages. The method adds the selected target signal to the signal drawing interface to determine the corresponding basic waveform diagram, and sends the sound signal to the vehicle computer to obtain the first waveform diagram where the waveform change occurs based on the basic waveform diagram. When the amount of message data is huge, the short frames of the message can be monitored by observing the waveform diagram of the message, thereby saving testing time and improving work efficiency.
[0072] Figure 1 is a flow chart of a method for monitoring short message frames according to an embodiment of the present application. Figure 1 As shown, the message short frame monitoring method of the embodiment of the present application may specifically include:
[0073] S101 , in response to a target signal node input by a user in a signal drawing interface of a preset automobile monitoring tool, generating a corresponding signal list.
[0074] It should be noted that this application describes SPY 3 software as a message monitoring tool, but it does not constitute a limitation on the monitoring tool, and specific settings can be made according to actual conditions.
[0075] In the embodiment of the present application, the monitoring tool is a pre-set tool for monitoring short message frames, namely SPY 3, the signal drawing interface is the interface corresponding to Signal Plot in SPY 3, the target signal node is the signal node corresponding to the message signal to be monitored, for example, 640, 187, and the signal list is a list collection of signals obtained according to the target signal node. In response to the target signal node input by the user in the signal drawing interface in the preset automobile monitoring tool, a corresponding signal list is generated.
[0076] For example, this application takes B561 as an example. Find Measurement in the upper left corner of the monitoring tool SPY 3 interface, click Signal Plot in the drop-down box to open the signal drawing interface, namely the Signal Plot interface, and continue to Select Signals in the upper right corner, click the message receiving interface Rx Messages, and when there is a signal in Rx Messages, enter the target signal nodes 640 and 187 to get the corresponding signal list. It should be noted that, taking B561 as an example, since the instrument does not have a buzzer, the alarm sound is sent from the instrument to the car computer, and then the car computer generates the alarm sound. For example, the door opening alarm and automatic parking alarm are not long beeps, but the sound signal is only sent out for three frames. The message scrolling frequency in the Message is high, and it is difficult for the naked eye to capture whether the sound signal is sent out. Using Signal Plot can solve this problem.
[0077] S102, in response to a selection instruction from a user in a signal list, determining a target signal corresponding to a target signal node, and adding the target signal to a signal drawing interface to determine a corresponding basic waveform diagram.
[0078] In the embodiment of the present application, the target signal includes a sound signal and a vehicle speed signal. The selection instruction is an instruction for the user to select a signal in the signal list. The basic waveform is a waveform generated when the target signal is added to the signal drawing interface. When the user selects in the signal list, the target signal corresponding to the target signal node in step S101 is determined, and the target signal is added to the signal drawing interface to determine the corresponding basic waveform. For example, Figure 2 As shown, after entering the two target signal nodes 640 and 187, pull down in the signal list to find the corresponding sound signal IP_HUBuzzerWarning and vehicle speed signal ESP_VehicleSpeed, double-click these two signals, and click OK in the upper right corner to complete the addition. At this point, the outgoing signal can be displayed through a waveform graph.
[0079] S103, determining the external transmission condition of the target signal based on the preset requirements, and in response to the vehicle speed signal satisfying the external transmission condition, transmitting the sound signal to the vehicle computer based on the preset transmission method, so as to obtain the first waveform diagram with waveform changes based on the basic waveform diagram.
[0080] In the embodiment of the present application, the preset demand is the demand of B561, the external condition is the condition that needs to be met to externally send the target signal, the external condition may include vehicle speed condition and driver's seat belt condition, the sending mode is the way of sending the signal, for example, first send three frames of 0x19 and then three frames of 1A to the vehicle computer, 1000ms ON, 1000ms OFF, and then stop for 9s, a total of 20 cycles, based on the B561 demand definition of the external condition: turn on the driver's seat belt and the vehicle speed is greater than 7KM / H, that is, when the driver's seat belt is turned on and the vehicle speed is greater than 7KM / H, the target signal can be externally sent. When the external condition is met, the sound signal IP_HUBuzzerWarning is externally sent by first sending three frames of 0x19 and then three frames of 1A to the vehicle computer, 1000ms ON, 1000ms OFF, and then stop for 9s, a total of 20 cycles, and is sent to the vehicle computer based on this sending mode, so that the waveform of the basic waveform diagram changes to obtain the first waveform diagram.
[0081] Optionally, the corresponding switching cycle and interval time are obtained based on the sound signal; the sound signal is sent to the vehicle computer based on the switching cycle and interval time. The sending method includes the switching cycle and interval time. For example, the switching cycle is 1000ms ON and 1000ms OFF, and the interval time is 9S. Based on this, when the sound signal IP_HUBuzzerWarning is sent out, three frames of 0x19 and then three frames of 1A are sent to the vehicle computer, 1000ms ON, 1000ms OFF, and then stop for 9s, for a total of 20 cycles.
[0082] It can be understood that when the waveform of the basic waveform diagram changes, it means that the sound signal has been sent to the vehicle computer.
[0083] The message short frame monitoring method provided in the embodiment of the present application generates a corresponding signal list in response to the target signal node input by the user in the signal drawing interface in the preset monitoring tool, determines the target signal corresponding to the target signal node in response to the user's selection instruction in the signal list, and adds the target signal to the signal drawing interface to determine the corresponding basic waveform diagram, determines the external transmission condition of the target signal based on the preset requirements, and in response to the vehicle speed signal meeting the external transmission condition, sends the sound signal to the vehicle computer based on the preset sending method to obtain the first waveform diagram with waveform changes based on the basic waveform diagram. The message short frame monitoring method of the present application adds the selected target signal to the signal drawing interface to determine the corresponding basic waveform diagram, and sends the sound signal to the vehicle computer to obtain the first waveform diagram with waveform changes based on the basic waveform diagram. When the amount of message data is huge, the short frames of the message can be monitored by observing the waveform diagram of the message, which saves test time and improves work efficiency.
[0084] Further, such as Figure 3As shown, the message short frame monitoring method of the embodiment of the present application may further include the following steps:
[0085] S301, in response to the waveform in the basic waveform diagram having no peak value change and moving in a straight line, determining that the sound signal is not sent to the vehicle computer.
[0086] S302, responding to a setting instruction of a vehicle speed signal by a user so that the set vehicle speed signal satisfies the external condition, thereby acquiring a first waveform diagram with a waveform change based on the basic waveform diagram.
[0087] In the embodiment of the present application, the setting instruction is the instruction for setting the vehicle speed. When the waveform in the basic waveform diagram has no peak change and moves in a straight line, it means that the sound signal is not sent out, that is, the 640 and 187 signals are not sent out. At this time, the vehicle speed is set to 100KM / H. At the same time, the main driver's seat belt is turned on. At this time, the set vehicle speed signal meets the external condition "turn on the main driver's seat belt and the vehicle speed is greater than 7KM / H", so that the first waveform diagram in which the basic waveform diagram undergoes waveform changes can be obtained. Specifically, it can be seen that the waveform diagram has obvious peak changes, which proves that the signal has been sent out.
[0088] Further, such as Figure 4 As shown, the message short frame monitoring method of the embodiment of the present application may further include the following steps:
[0089] S401, when there is no signal in the signal drawing interface, in response to a user's selection instruction for a signal in a database, determining a signal as a target signal.
[0090] S402 : In response to a user's copy instruction for a target signal, add the target signal to a signal drawing interface.
[0091] In the embodiment of the present application, the database is loaded by the user after clicking on the message editor on the signal plotting interface, for example, Database, and the copy instruction is to copy the target signal in the Database to the signal plotting interface, i.e., Signal Plot. Figure 2 As shown, when there is no signal in Rx Messages, click Messages Editor in Spy Networks, and find the sound signal IP_HUBuzzerWarning (640) in the database. This signal is the target signal. Then right-click Copy To-Receive, and click Receive. You will find that the target signal, i.e. signal 640, has been added.
[0092] Further, such as Figure 5As shown, the message short frame monitoring method of the embodiment of the present application may further include the following steps:
[0093] S501 , in response to a user's pause instruction, obtaining a second waveform based on a vehicle speed signal and a sound signal.
[0094] S502, in response to a user's selection instruction for a coordinate axis parameter in a coordinate axis parameter function drop-down box, obtaining an updated second waveform graph.
[0095] In the embodiment of the present application, the second waveform graph includes two Y axes of different colors, each color of the Y axis corresponds to a signal, that is, one color of the Y axis corresponds to the sound signal, and the other color of the Y axis corresponds to the vehicle speed signal. The second waveform graph is the waveform graph determined after the user clicks the pause button, such as Figure 6 As shown, you will find Figure 6 There are two Y axes of different colors (colors not shown in the figure), each Y axis corresponds to a signal, blue (inner Y axis) represents the vehicle speed signal (you can see that the distance between the y-axis point of the blue line and the coordinate origin is 100), and red (outer Y axis) represents the sound signal. Click the X-axis and Y-axis to zoom in and out the coordinate axis, which makes it easy to view the entire set of data; the coordinate axis parameter function drop-down box is the drop-down box for selecting the coordinate axis parameter function in the signal drawing interface of the monitoring tool SPY3, for example, Figure 2 The drop-down box on the right side of the task bar of the signal drawing interface of SPY3 shown in the figure includes coordinate axis parameters such as Delta X, Delta Y, Value X, Value Y, and Value XY, which respectively represent the difference between the X value, Y value, XY value, and XY value. Select Delta X here to get the updated second waveform graph, for example, Figure 7 As shown, it can be seen that Figure 7 The peak and valley values of the waveform graph confirm that the instrument sent out three frames.
[0096] Further, such as Figure 8 As shown, the message short frame monitoring method of the embodiment of the present application may further include the following steps:
[0097] S801, in response to the user determining that the sound signal is sent to the vehicle computer according to the updated second waveform graph, measuring the first peak time and the second peak time of the second waveform graph.
[0098] In the embodiment of the present application, the first peak time is the time difference between any two peaks in the first three frames, for example, Figure 7 As shown in FIG. 1 , the 1.7s displayed by the cursor box is the first peak time, and the second peak time is the time difference between the end frame of the first three frames, i.e., the third frame, and the start frame of the next three frames, i.e., the fourth frame. For example, Fig. 9As shown, the 10.9s displayed by the cursor box is the second peak time. When the user determines that the sound signal is sent to the vehicle computer according to the updated second waveform obtained in the above embodiment, the first peak time and the second peak time of the updated second waveform are measured.
[0099] Optionally, a target peak-to-valley value range is obtained; when the peak-to-valley value in the updated second waveform meets the target peak-to-valley value range, it is determined that the sound signal is sent to the vehicle computer. The target peak-to-valley value range is the peak value range of the waveform of the sound signal, and the peak-to-valley value is the peak value of the waveform of the sound signal. For example, Figure 7 As shown, the first three frames are analyzed. The horizontal line near the peak indicates that the target peak-to-valley value range is 100value, and the peak-to-valley value of the sound signal is higher than the horizontal line, which meets the target peak-to-valley value range. It is determined that the sound signal has been sent out for three frames to the vehicle computer.
[0100] S802: Determine whether the sound signal is sent to the vehicle computer according to a preset sending method based on the first peak time and the second peak time.
[0101] In the embodiment of the present application, it is determined whether the sound signal is sent to the vehicle computer according to the preset sending method based on the first peak time and the second peak time obtained in step S801. Figure 7 and Fig. 9 As shown, the time between two peaks is measured, the cursor box shows 1.7s, and after the first three frames 0x 19 are sent, wait for 9s to send the next three frames 1A. Fig. 9 The cursor box shows 10.9s, which can confirm that it meets the requirements of 1000ms ON, 1000ms OFF, and then pause for 9s, that is, the sound signal is sent to the vehicle computer according to the preset sending method.
[0102] Fig.10 is a flow chart of a message short frame monitoring device according to an embodiment of the present application, such as Fig.10 As shown, the message short frame monitoring device 1000 of the embodiment of the present application may specifically include:
[0103] The generating module 1001 is used to generate a corresponding signal list in response to a target signal node input by a user in a signal drawing interface in a preset monitoring tool.
[0104] The first adding module 1002 is used to determine the target signal corresponding to the target signal node in response to the user's selection instruction in the signal list, and add the target signal to the signal drawing interface to determine the corresponding basic waveform diagram; wherein the target signal includes a sound signal and a vehicle speed signal.
[0105] The first acquisition module 1003 is used to determine the external transmission conditions of the target signal based on preset requirements, and in response to the vehicle speed signal meeting the external transmission conditions, send the sound signal to the vehicle computer based on a preset sending method, so as to obtain the first waveform diagram with waveform changes based on the basic waveform diagram.
[0106] In a possible implementation manner, the message short frame monitoring device further includes:
[0107] A first determination module, configured to determine that the sound signal is not sent to the vehicle computer in response to the waveform in the basic waveform diagram having no peak value change and moving in a straight line;
[0108] The second acquisition module is used to respond to the user's setting instruction for the vehicle speed signal so that the set vehicle speed signal meets the external condition, thereby acquiring the first waveform diagram with waveform change based on the basic waveform diagram.
[0109] In a possible implementation, the acquisition module is specifically configured to:
[0110] Obtaining corresponding switching cycles and interval times based on sound signals;
[0111] The sound signal is sent to the vehicle computer based on the switching cycle and interval time.
[0112] In a possible implementation manner, the message short frame monitoring device further includes:
[0113] A second determination module is used to determine the signal as a target signal in response to a user's selection instruction for a signal in a database when there is no signal in the signal drawing interface; wherein the database is loaded by the user after clicking on a message editor on the signal drawing interface;
[0114] The second adding module is used to add the target signal to the signal drawing interface in response to a user's copy instruction for the target signal.
[0115] In a possible implementation manner, the message short frame monitoring device further includes:
[0116] A third acquisition module is used to obtain a second waveform graph based on the vehicle speed signal and the sound signal in response to a user's pause instruction; wherein the second waveform graph includes two Y axes of different colors, and each Y axis of different colors corresponds to a signal;
[0117] The fourth acquisition module is used to obtain an updated second waveform graph in response to a user's selection instruction for a coordinate axis parameter in a coordinate axis parameter function drop-down box.
[0118] In a possible implementation manner, the message short frame monitoring device further includes:
[0119] A measuring module, configured to measure a first peak time and a second peak time of the second waveform graph in response to the user determining that the sound signal is sent to the vehicle computer according to the updated second waveform graph;
[0120] The judgment module is used to judge whether the sound signal is sent to the vehicle computer according to a preset sending method based on the first peak time and the second peak time.
[0121] In a possible implementation manner, the measuring module is specifically configured to:
[0122] Get the target peak and valley value range;
[0123] When the peak-to-valley values in the updated second waveform diagram meet the target peak-to-valley value range, it is determined that the sound signal is sent to the vehicle computer.
[0124] The message short frame monitoring device provided in the embodiment of the present application generates a corresponding signal list in response to the target signal node input by the user in the signal drawing interface in the preset monitoring tool, determines the target signal corresponding to the target signal node in response to the user's selection instruction in the signal list, and adds the target signal to the signal drawing interface to determine the corresponding basic waveform diagram, determines the external transmission condition of the target signal based on the preset requirements, and in response to the vehicle speed signal meeting the external transmission condition, sends the sound signal to the vehicle computer based on the preset sending method to obtain the first waveform diagram with waveform changes based on the basic waveform diagram. The message short frame monitoring device of the present application adds the selected target signal to the signal drawing interface to determine the corresponding basic waveform diagram, and sends the sound signal to the vehicle computer to obtain the first waveform diagram with waveform changes based on the basic waveform diagram. When the amount of message data is huge, the short frames of the message can be monitored by observing the waveform diagram of the message, which saves test time and improves work efficiency.
[0125] like Fig.11 As shown, an electronic device 1100 provided in an embodiment of the present application includes: a processor 1101, a memory 1102 and a bus, the memory 1102 stores machine-readable instructions executable by the processor 1101, when the electronic device is running, the processor 1101 communicates with the memory 1102 through the bus, and the processor 1101 executes the machine-readable instructions to perform the steps of the above-mentioned message short frame monitoring method.
[0126] Specifically, the memory 1102 and the processor 1101 can be general-purpose memories and processors, which are not specifically limited here. When the processor 1101 runs the computer program stored in the memory 1102, the short frame monitoring method of the message can be executed.
[0127] Corresponding to the above-mentioned message short frame monitoring method, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned message short frame monitoring method are executed.
[0128] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0129] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0130] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0131] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the deployment method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0132] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for monitoring short message frames, It is characterized in that The method comprises: In response to a target signal node input by a user in a signal drawing interface in a preset monitoring tool, a corresponding signal list is generated; In response to a selection instruction from the user in the signal list, determining a target signal corresponding to the target signal node, and adding the target signal to the signal drawing interface to determine a corresponding basic waveform diagram; wherein the target signal includes a sound signal and a vehicle speed signal; The external transmission condition of the target signal is determined based on preset requirements, and in response to the vehicle speed signal satisfying the external transmission condition, the sound signal is transmitted to the vehicle computer based on a preset transmission method, so as to obtain a first waveform diagram with waveform changes based on the basic waveform diagram.
2. The method according to claim 1, It is characterized in that The method further comprises: In response to the waveform in the basic waveform diagram having no peak value change and moving in a straight line, determining that the sound signal is not sent out to the vehicle computer; In response to a user's setting instruction for the vehicle speed signal, the set vehicle speed signal satisfies the external condition, thereby acquiring a first waveform diagram with a waveform change based on the basic waveform diagram.
3. The method according to claim 1, It is characterized in that The sending of the sound signal to the vehicle computer based on a preset sending method includes: Acquire the corresponding switching cycle and interval time based on the sound signal; The sound signal is sent to the vehicle computer based on the switching cycle and the interval time.
4. The method according to claim 1, It is characterized in that The method further comprises: When there is no signal in the signal drawing interface, in response to a user's selection instruction for a signal in a database, the signal is determined as a target signal; wherein the database is loaded by the user after clicking on a message editor on the signal drawing interface; In response to a user's copy instruction for the target signal, the target signal is added to the signal drawing interface.
5. The method according to claim 1, It is characterized in that The method further comprises: In response to the user's pause instruction, a second waveform is obtained based on the vehicle speed signal and the sound signal; wherein the second waveform includes two Y axes of different colors, and each color of the Y axis corresponds to a signal; In response to the user's selection instruction for the coordinate axis parameter in the coordinate axis parameter function drop-down box, an updated second waveform graph is obtained.
6. The method according to claim 5, It is characterized in that The method further comprises: In response to the user determining that the sound signal is sent to the vehicle computer according to the updated second waveform, measuring a first peak time and a second peak time of the second waveform; Based on the first peak time and the second peak time, it is determined whether the sound signal is sent to the vehicle computer according to a preset sending method.
7. The method according to claim 6, It is characterized in that The user determines, according to the updated second waveform, that the sound signal is sent to the vehicle computer, including: Get the target peak-to-valley value range; When the peak-to-valley values in the updated second waveform diagram meet the target peak-to-valley value range, it is determined that the sound signal is sent to the vehicle computer.
8. A message short frame monitoring device, It is characterized in that The device comprises: A generating module, for generating a corresponding signal list in response to a target signal node input by a user in a signal drawing interface in a preset monitoring tool; A first adding module, configured to determine a target signal corresponding to the target signal node in response to a selection instruction of a user in the signal list, and add the target signal to the signal drawing interface to determine a corresponding basic waveform diagram; wherein the target signal includes a sound signal and a vehicle speed signal; The first acquisition module is used to determine the external transmission condition of the target signal based on preset requirements, and in response to the vehicle speed signal satisfying the external transmission condition, the sound signal is transmitted to the vehicle computer based on a preset transmission method, so as to obtain a first waveform diagram with waveform changes based on the basic waveform diagram.
9. An electronic device, It is characterized in that include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the message short frame monitoring method as described in any one of claims 1 to 7 are performed.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the message short frame monitoring method as described in any one of claims 1 to 7 are executed.
