CN115442172B - Test message sending method, device, medium, equipment and test system - Google Patents
Test message sending method, device, medium, equipment and test system Download PDFInfo
- Publication number
- CN115442172B CN115442172B CN202110970492.7A CN202110970492A CN115442172B CN 115442172 B CN115442172 B CN 115442172B CN 202110970492 A CN202110970492 A CN 202110970492A CN 115442172 B CN115442172 B CN 115442172B
- Authority
- CN
- China
- Prior art keywords
- test
- message
- value
- test message
- frame format
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 649
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000002159 abnormal effect Effects 0.000 claims description 63
- 239000011159 matrix material Substances 0.000 claims description 17
- 230000005540 biological transmission Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 9
- 238000004422 calculation algorithm Methods 0.000 claims description 6
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 5
- 238000011161 development Methods 0.000 claims description 4
- 239000000110 cooling liquid Substances 0.000 description 35
- 239000002826 coolant Substances 0.000 description 30
- 238000004891 communication Methods 0.000 description 10
- 239000007788 liquid Substances 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 101100127185 Culex quinquefasciatus ken2 gene Proteins 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012512 characterization method Methods 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Small-Scale Networks (AREA)
Abstract
The disclosure relates to a test message sending method, a device, a medium, equipment and a test system, and relates to the technical field of automobile controller local area network bus test, wherein the method comprises the following steps: invoking a preset signal value rule aiming at the acquired test content to generate a test value of the test content and a text description corresponding to the test value; determining a test message address according to the test value and the corresponding text description; based on a pre-configured frame format, generating a test message in the frame format according to the test message address, and sending the test message to a controller local area network bus. By generating the test value and the corresponding text description according to the preset signal value rule aiming at the test content, the need of filling the signal value aiming at each test content is avoided, and the test convenience is improved.
Description
Technical Field
The disclosure relates to the technical field of vehicle CAN bus testing, in particular to a method, a device, a medium, equipment and a testing system for sending a testing message.
Background
Automobile CAN (Controller Area Network ) bus is one of the most widely used field buses, and is widely applied to the industrial control and automobile fields. In the process of the automobile CAN bus alarm test, the content to be tested and the address of the corresponding test message are required to be built into a test CAN message based on the protocol, so that various CAN signals on the automobile are simulated, and each controller is tested.
In the related scene, the test text description of the corresponding controller is manually input through the software page, a corresponding test message address is generated according to the test text description, then a test message is obtained according to the test message address, then the test message is transmitted through the corresponding transmitting equipment, and if a plurality of test messages are required to be generated, the test text description is required to be manually input for many times. According to the scheme, test text description needs to be manually input to each test content, and the test convenience is low.
Disclosure of Invention
The purpose of the present disclosure is to provide a method, an apparatus, a medium, a device and a test system for sending a test message, which avoid filling signal values for each test content by generating test values and corresponding text descriptions according to a preset signal value rule for the test content, thereby improving test convenience.
To achieve the above object, in a first aspect, the present disclosure provides a test message sending method, the method including:
invoking a preset signal value rule aiming at the acquired test content to generate a test value of the test content and a text description corresponding to the test value;
determining a test message address according to the test value and the corresponding text description;
based on a pre-configured frame format, generating a test message under the frame format according to the test message address, and sending the test message to a CAN bus.
Optionally, the determining the test message address according to the test value and the corresponding text description includes:
combining the test value with the corresponding text description to obtain a test key value pair;
based on a pre-configured message matrix, matching the test message address of the test key value pair from the message matrix.
Optionally, the test value is a plurality; and combining the test value with the corresponding text description to obtain a test key value pair, wherein the test key value pair comprises:
according to a data structure of a preset key value pair, each word description is used as a keyword, and keyword positions of the data structure are filled in, wherein the keyword positions are spaces for storing the keywords in the data structure; and is combined with the other components of the water treatment device,
And filling the test value corresponding to each text description as a data value into the data bit corresponding to the keyword to obtain a plurality of test key value pairs, wherein the data bit is a space for storing the data value in the data structure.
Optionally, the plurality of test values are generated according to the test content and the preset number by adopting a random algorithm, or the given value is used as a starting value, and the test values are obtained by calculating with a preset step length in each calculation until the number of the test values reaches the preset number.
Optionally, the method further comprises:
obtaining a plurality of test message addresses aiming at the same test content according to a plurality of test key value pairs corresponding to the same test content;
the method for generating the test message under the frame format and sending the test message to the CAN bus based on the pre-configured frame format according to the test message address comprises the following steps:
based on a pre-configured frame format, respectively generating a plurality of test messages aiming at the same test content under the frame format aiming at a plurality of test message addresses corresponding to the same test content, wherein one test message address corresponds to one test message;
And sequentially transmitting the plurality of test messages corresponding to the same test content to the CAN bus according to a preset transmission rule.
Optionally, the plurality of test values include a normal test value and a plurality of abnormal test values;
the step of sequentially sending a plurality of test messages corresponding to the same test content to the CAN bus according to a preset sending rule comprises the following steps:
selecting any message from the test messages corresponding to the abnormal test values as an abnormal test message, and sending the abnormal test message to the CAN bus;
under the condition that the abnormal test message is successfully sent, sending a test message corresponding to the normal test value to the CAN bus;
and under the condition that the test messages corresponding to the normal test values are successfully sent, sending a next abnormal test message to the CAN bus until all the test messages corresponding to the abnormal test values are sent to the CAN bus, wherein the next abnormal test message is an abnormal test message which is not sent in the test messages of the abnormal test values.
Optionally, the number of the test contents is multiple, and one test content corresponds to one test message address;
The generating the test message under the frame format based on the pre-configured frame format according to the test message address comprises the following steps:
determining a target frame structure of a test message address corresponding to each test content in a data frame of the frame format based on a pre-configured frame format, wherein the data frame of the frame format comprises a plurality of frame structures for carrying the test message addresses;
and filling each test message address into the frame format according to the target frame structure, and generating the test message under the frame format.
In a second aspect, the present disclosure provides a test message sending apparatus, the apparatus including:
the generation module is configured to call a pre-configured signal value rule for the acquired test content to generate a test value of the test content and a text description corresponding to the test value;
the determining module is configured to determine a test message address according to the test value and the corresponding text description;
and the sending module is configured to generate a test message under the frame format according to the test message address based on a pre-configured frame format and send the test message to the CAN bus.
Optionally, the determining module is configured to: combining the test value with the corresponding text description to obtain a test key value pair;
based on a pre-configured message matrix, matching the test message address of the test key value pair from the message matrix.
Optionally, the determining module is configured to: under the condition that the test values are multiple, according to a data structure of a preset key value pair, each word description is used as a keyword, and keyword sites of the data structure are filled in, wherein the keyword sites are spaces for storing the keywords in the data structure; and is combined with the other components of the water treatment device,
and filling the test value corresponding to each text description as a data value into the data bit corresponding to the keyword to obtain a plurality of test key value pairs, wherein the data bit is a space for storing the data value in the data structure.
Optionally, the determining module is configured to: and adopting a random algorithm, and calculating with a preset step length in each calculation according to the test content and the plurality of test values generated by the preset quantity or by taking a given value as a starting value until the quantity of the test values reaches the plurality of test values obtained by the preset quantity.
Optionally, the determining module is configured to obtain a plurality of test message addresses for the same test content according to a plurality of test key value pairs corresponding to the same test content;
the sending module is configured to generate a plurality of test messages for the same test content in the frame format respectively according to a plurality of test message addresses corresponding to the same test content based on a pre-configured frame format, wherein one test message address corresponds to one test message;
and sequentially transmitting the plurality of test messages corresponding to the same test content to the CAN bus according to a preset transmission rule.
Optionally, the plurality of test values include a normal test value and a plurality of abnormal test values;
the determination module is configured to: selecting any message from the test messages corresponding to the abnormal test values as an abnormal test message, and sending the abnormal test message to the CAN bus;
under the condition that the abnormal test message is successfully sent, sending a test message corresponding to the normal test value to the CAN bus;
and under the condition that the test messages corresponding to the normal test values are successfully sent, sending a next abnormal test message to the CAN bus until all the test messages corresponding to the abnormal test values are sent to the CAN bus, wherein the next abnormal test message is an abnormal test message which is not sent in the test messages of the abnormal test values.
Optionally, the sending module is configured to: under the condition that a plurality of test contents are provided, determining a target frame structure of a test message address corresponding to each test content in a data frame of the frame format based on a pre-configured frame format, wherein the data frame of the frame format comprises a plurality of frame structures for carrying the test message addresses, and one test content corresponds to one test message address;
and filling each test message address into the frame format according to the target frame structure, and generating the test message under the frame format.
In a third aspect, the present disclosure provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of any of the first aspects.
In a fourth aspect, the present disclosure provides an electronic device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method of any of the first aspects when the computer program is executed.
In a fifth aspect, the present disclosure provides a test system, including the electronic device of the fourth aspect, an in-vehicle central control system, a CAN bus for communicatively connecting the electronic device with the in-vehicle central control system, a computing device communicatively connected with the in-vehicle central control system, and a user device communicatively connected with the computing device;
The electronic equipment is used for driving CANoe (CAN open environment, CAN bus development environment), calling a gateway and sending the test message generated by the method in any one of the first aspect to the CAN bus;
the vehicle-mounted central control system is used for acquiring the test message sent to the CAN bus by the electronic equipment and reporting the test message to the computing equipment;
the computing device is used for determining whether the received test message meets a preset alarm rule or not, and pushing the test value represented by the test message and the text description corresponding to the test value to the user device under the condition that the test message meets the preset alarm rule.
According to the technical scheme, a preset signal value rule is called for the acquired test content, and a test value of the test content and a text description corresponding to the test value are generated; determining a test message ID according to the test value and the corresponding text description; based on a pre-configured frame format, generating a test message under the frame format according to the test message ID, and sending the test message to the CAN bus. By generating the test value and the corresponding text description according to the preset signal value rule aiming at the test content, the need of filling the signal value aiming at each test content is avoided, and the test convenience is improved. The test cost is reduced.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification, illustrate the disclosure and together with the description serve to explain, but do not limit the disclosure. In the drawings:
FIG. 1 is a flow chart illustrating a method of test messaging according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating one implementation of step S12 of FIG. 1, according to one exemplary embodiment;
FIG. 3 is a flowchart illustrating one implementation of step S13 of FIG. 1, according to one exemplary embodiment;
FIG. 4 is a block diagram of a test message transmitting device, according to an example embodiment;
FIG. 5 is a block diagram of a test system according to an exemplary embodiment;
FIG. 6 is a flow chart illustrating a CAN bus simulation test in accordance with an exemplary embodiment;
fig. 7 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Also, it should be noted that, for simplicity of description, the method embodiments provided by the present disclosure are all described as a series of acts, but one skilled in the art should appreciate that the present disclosure is not limited by the order of acts described. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments and that the acts referred to are not necessarily required by the present disclosure.
Fig. 1 is a flow chart illustrating a method of transmitting test messages according to an exemplary embodiment, and referring to fig. 1, the method includes the steps of:
in step S11, a preset signal value rule is invoked for the acquired test content, so as to generate a test value of the test content and a text description corresponding to the test value.
Specifically, the test content corresponds to the alarm content, and the preconfigured signal value rule may be to establish a plurality of signal values corresponding to the CAN message for the CAN message of each test content. It is readily understood that the range of signal values preconfigured for different test contents is different. Illustratively, the pre-configured signal range for the test content "coolant temperature" may be 90-100; whereas the pre-configured signal value range for the test content "coolant liquid level" may be 0-20.
In the implementation, keywords of test contents input by a user can be obtained by configuring a front-end page, the keywords are further used as the test contents, a pre-configured signal value rule is called, and a test value corresponding to the test contents and a text description corresponding to the test value are generated. For example, the keyword "coolant temperature" input by the user on the front-end page is acquired, the corresponding test value "96" and the text description of the corresponding test value are generated as "coolant temperature", or the corresponding test value "20" and the text description of the corresponding test value "coolant liquid level" are generated.
In step S12, a test message address is determined according to the test value and the corresponding text description.
In one embodiment, referring to fig. 2, in step S12, the determining the address of the test message according to the test value and the corresponding text description includes the following steps.
In step S121, the test value is combined with the corresponding text description to obtain a test key value pair.
And determining mathematical symbols of the key value pairs according to the magnitude relation between the normal value and the test value, and respectively filling text description and the test value at two ends of the mathematical symbols to construct the key value pairs. According to the description of the embodiment, the temperature of the cooling liquid is described, according to the magnitude relation between the normal value of the cooling liquid temperature and the test value, the test value is determined to be 96 ℃ higher than the normal value of the cooling liquid temperature, the mathematical sign of the key value pair is determined to be 'greater than', and the two sides of the key value pair which are greater than are respectively filled with the cooling liquid temperature and the cooling liquid temperature 96, so that the key value pair is constructed to be greater than 96.
For another example, for the text description as the liquid level of the cooling liquid, according to the magnitude relation between the normal value of the liquid level of the cooling liquid and the test value, determining that the test value 20 is lower than the normal value of the liquid level, determining that the mathematical sign of the key value pair is ' less than ', filling ' liquid level of the cooling liquid ' and ' 20 ' at two sides of ' less than ', respectively, and constructing the key value pair that ' liquid level of the cooling liquid ' is less than 20 '.
On the basis of the above embodiment, the test value is plural; in step S121, the step of combining the test value with the corresponding text description to obtain a test key value pair includes the following steps.
According to the data structure of the preset key value pair, each text description is used as a keyword, and the keyword is filled in the keyword position of the data structure, wherein the keyword position is a space for storing keywords in the data structure.
Determining the type of the data structure calling the preset key value pair according to the magnitude relation between the normal value and the test value, for example, in the case that the test value of the cooling liquid temperature is 96, determining that the type of the data structure calling the preset key value pair is 'key 1 > value 1' because the test value 96 exceeds the normal value of the cooling liquid temperature; for another example, in the case where the test value of the coolant temperature is 75, since the test value 75 is a normal value of the coolant temperature, it is determined that the type of the data structure calling the preset key value pair is "ken2=valude2"; for another example, in the case where the test value of the coolant liquid level is 20, since the test value 20 is lower than the normal value of the coolant liquid level, it is determined that the type of the data structure calling the preset key value pair is "key3 < value 3".
Further, a data structure of the preset key value pair of the type is called, a calling function is written in advance, keywords are searched in the text description, and the text description is filled into the keyword position of the data structure under the condition that the searched keywords are matched with preset target keywords. For example, the keyword "coolant temperature" is filled into the keyword position "key1" of the data structure.
And taking the test value corresponding to each text description as a data value, filling the data bit corresponding to the keyword, and obtaining a plurality of key value pairs, wherein the data bit is a space for storing the data value in the data structure.
The test value 96 is filled into the data bit "value 1" corresponding to the keyword "coolant temperature" by calling a function, and a measured key value pair is obtained. And similarly, filling other test values into data bits corresponding to the keywords to obtain a plurality of key value pairs.
In step S122, based on the pre-configured message matrix, the test message address of the test key value pair is matched from the message matrix.
The pre-configured message matrix establishes a corresponding relation between the text description represented by the key value pair and the test message address, and a corresponding relation between the test value and the test message address. The unique test message address of the key value pair can be determined through the corresponding relation of every two.
By adopting the technical scheme, based on the pre-configured message matrix, the corresponding test message address is matched with the key value pair, so that the message matrix can be expanded, the expandability and convenience of testing are improved, and the testing cost is reduced.
In step S13, based on the pre-configured frame format, a test message under the frame format is generated according to the test message address, and the test message is sent to the CAN bus.
Alternatively, the frame format may be a standard frame and an extended frame.
Specifically, the data position of the test message address in the test message is determined according to the text description in the test content. And filling the test message address into the data position to generate the test message under the frame format.
And sending the test message to the CAN bus by driving the CANoe and calling the corresponding gateway. So that a controller connected to the CAN bus, for example, a car networking controller (T-Box), an in-car central control system, CAN acquire test messages from the CAN bus.
According to the technical scheme, the text description and the test value are generated according to the preset signal value rule aiming at the test content, so that the signal value is prevented from being filled in aiming at each text description, and the test convenience is improved. The test cost is reduced.
For the same alarm content, different signal values usually exist, so that in the process of generating the test message, a plurality of different test values can be generated to simulate different signal values of the vehicle for the same alarm content.
On the basis of the above embodiment, the plurality of test signal values and the plurality of test values are generated according to the test content and the preset number by adopting a random algorithm, or the given value is used as a starting value, and the test values are obtained by performing operation with a preset step length in each operation until the number of the test values reaches the preset number.
Specifically, the preset step length is used for representing the difference value between the plurality of test values, for example, the preset step length is used for taking any value as an initial value, and the value corresponding to the step length is subtracted or added circularly to obtain a plurality of test values which change continuously until the number of the test values reaches the preset number.
In one embodiment, the test value is rejected if the test value is not within a preset test threshold range. Taking the temperature of the cooling liquid as an example for explanation, the temperature of the cooling liquid is only 0-100 ℃ in a water cooling mode, so that whether the test value corresponding to the temperature of the cooling liquid is in the range of 0-100 or not is determined according to a plurality of test values obtained by adopting a random algorithm, and test values which are not in the range of 0-100 are removed, so that an effective test value is obtained.
And stopping generating the test value when the test value exceeds the preset test threshold value. For example, with the cooling liquid temperature 92 degrees celsius as an initial value and the preset cooling liquid step size 2 as an increasing step size, the cooling liquid temperature test value is circularly increased until the test value is equal to 100, and the test values are 92, 94, 96, 98 and 100 respectively.
It will be appreciated that the preset step size may be different for different test contents, for example, the preset step size may be 10 for vehicle speed and 2 for coolant temperature. Also, for increasing the test value and decreasing the test value, different steps may be employed, for example, the preset step may be 2 for an increase in the coolant temperature and 10 for a decrease in the coolant temperature.
Referring to fig. 3, the method further includes: and obtaining a plurality of test message addresses aiming at the same test content according to a plurality of test key value pairs corresponding to the same test content.
Taking the above-mentioned coolant temperature as an example, the coolant temperature is taken as a test content, and the test values are 92, 94, 96, 98 and 100, respectively, and the generated key value pairs are: the temperature of the cooling liquid is higher than 92 ℃, the temperature of the cooling liquid is higher than 94 ℃, the temperature of the cooling liquid is higher than 96 ℃, the temperature of the cooling liquid is higher than 98 ℃, and the temperature of the cooling liquid is higher than 100 ℃. And further obtaining a plurality of test message addresses aiming at the temperature of the cooling liquid.
In step S13, based on a pre-configured frame format, a test message in the frame format is generated according to the test message address, and the test message is sent to a CAN bus, which includes the following steps.
In step S131, based on a pre-configured frame format, a plurality of test messages for the same test content in the frame format are generated for a plurality of test message addresses corresponding to the same test content, where one test message address corresponds to one test message.
Along the description of the above embodiments, for a plurality of test message addresses of the coolant temperature, a test message corresponding to the coolant temperature greater than 92 degrees celsius, a test message corresponding to the coolant temperature greater than 94 degrees celsius, a test message corresponding to the coolant temperature greater than 96 degrees celsius, a test message corresponding to the coolant temperature greater than 98 degrees celsius, and a test message corresponding to the coolant temperature greater than 100 degrees celsius are generated based on a pre-configured frame format, respectively.
In step S132, the plurality of test messages corresponding to the same test content are sequentially sent to the CAN bus according to a preset sending rule.
Optionally, the sending sequence of the test message may be determined according to the timestamp generated by the test message, and then the test message is sent sequentially according to the sending sequence. For example, the earlier the time of generation of the timestamp characterization, the earlier the transmission order, and the earlier the transmission order. The priority can also be determined according to the magnitude of the test value, for example, the higher the alarm degree represented by the larger the test value is, the higher the transmission priority is, and the transmission sequence of the test message is further determined according to the priority. For example, the higher the priority, the earlier the transmission. Therefore, the test message can be sent first with high alarm priority.
Taking the above-mentioned plurality of test values of the coolant temperature as an example, the alarm degree of the coolant temperature being greater than 92 ℃ is smaller than the alarm degree of the coolant temperature being greater than 94 ℃, so that the transmission priority of the test message corresponding to the coolant temperature being greater than 94 ℃ is higher than the transmission priority of the coolant temperature being greater than 92 ℃.
By adopting the scheme, a plurality of test values can be generated in a random mode or a step size mode aiming at the same test content, so that a plurality of test messages are generated, and the test messages are sent at one time, so that the generation of the plurality of test messages can be automatically completed, and the convenience of testing is improved.
For the same test content, it is generally necessary to send the test message again after the normal state is restored. Thus, on the basis of the above embodiment, the plurality of test values includes one normal test value and a plurality of abnormal test values;
in specific implementation, according to a normal value range preset by test content, any test value in the normal value range is used as a normal test value, and all test values which are not in the normal value range are used as abnormal test values.
The normal value ranges preset for the test contents are different.
In step S132, according to a preset sending rule, the plurality of test messages corresponding to the same test content are sequentially sent to the CAN bus, including:
selecting any message from the test messages corresponding to the abnormal test values as an abnormal test message, and sending the abnormal test message to the CAN bus.
In the description of the embodiment described as the cooling liquid temperature, the target abnormal test message is selected from the test messages corresponding to the cooling liquid temperature being greater than 92 ℃, the cooling liquid temperature being greater than 94 ℃, the cooling liquid temperature being greater than 96 ℃, the cooling liquid temperature being greater than 98 ℃, and the cooling liquid temperature being greater than 100 ℃.
In one embodiment, the abnormal test message is selected according to the transmission priority of the test message.
And under the condition that the abnormal test message is successfully sent, sending a test message corresponding to the normal test value to the CAN bus.
The normal test message may be used to place the abnormal test message in an invalid state.
Optionally, under the condition that the message that the abnormal test message is displayed on the user equipment is received, determining that the abnormal test message is successfully transmitted, and transmitting the normal test message to the CAN bus, so that the information of alarm release is displayed on the user equipment.
And under the condition that the test messages corresponding to the normal test values are successfully sent, sending the next abnormal test message to the CAN bus until all the test messages corresponding to the abnormal test values are sent to the CAN bus.
The next abnormal test message is an abnormal test message which is not sent in the test messages of the abnormal test values.
And under the condition that the normal test message is successfully sent, for example, under the condition that the message displayed by the user equipment is received, determining that the normal test message is successfully sent, and selecting the next abnormal test message from the abnormal test message which is not sent.
Similarly, after the next abnormal test message is successfully sent, the normal test message is continuously sent until the abnormal test message is completely sent, so that the abnormal test message can be sent in a traversing way.
In general, the message ID of the CAN message may include the message IDs of a plurality of alarm contents, so that the test message may carry a test message of a plurality of test contents in the test message, so as to simulate the situation that a plurality of alarm contents are reported at the same time.
On the basis of the above embodiment, the number of test contents is plural, one test content corresponds to one test message address, and in step S13, the generating, based on a pre-configured frame format, a test message in the frame format according to the test message address includes:
And determining a target frame structure of a test message address corresponding to each test content in a data frame of the frame format based on a pre-configured frame format, wherein the data frame of the frame format comprises a plurality of frame structures for carrying the test message addresses.
Specifically, the pre-configured frame format may pre-configure the message addresses corresponding to the corresponding alarm content in different frame structures of the data frame, so as to carry the test message addresses corresponding to the different alarm content in the frame structures.
Illustratively, the frame structure of the 3 rd to 5 th data bits in the data frame of the frame format is a vehicle speed alarm, and the frame structure of the 6 th to 8 th data bits in the data frame of the frame format is a cooling liquid temperature alarm. Aiming at the vehicle speed alarm test in the test content, determining that the target frame structure of the data frame of the frame format of the vehicle speed test message address corresponding to the vehicle speed is the frame structure of the 3 rd to 5 th data bits, and aiming at the cooling liquid temperature alarm test in the test content, determining that the target frame structure of the data frame of the frame format of the data frame of the cooling liquid temperature test message address corresponding to the cooling liquid temperature is the frame structure of the 6 th to 8 th data bits.
And filling each test message address into the frame format according to the target frame structure, and generating the test message under the frame format.
According to the embodiment, the frame structure with the 3 rd to 5 th data bits is used as a target frame structure, the vehicle speed test message address is added into the frame format, the frame structure with the 6 th to 8 th data bits is used as a target frame structure, the cooling liquid temperature test message address is added into the frame format, and the test message comprising the vehicle speed alarm and the cooling liquid temperature alarm under the frame format is generated. It can be seen that the test message includes both a vehicle speed test message address and a coolant temperature test message address.
By adopting the technical scheme, the test message address corresponding to the plurality of test contents can be included in the same test message, the test message can be sent to the plurality of test contents at the same time, and the test efficiency of the test message is improved.
It should be noted that, if the test values corresponding to the test contents are randomly generated, or the test values continuously changed, although the key value pair corresponding to each signal value can be traversed, the data size of the test message is larger, and more test values in the test message with larger data size may not be generated in the real state, so that more invalid test data exists.
On the basis of the above embodiment, in step S11, the step of calling a pre-configured signal value rule for the acquired test content to generate a text description and a test value corresponding to the test content includes:
And acquiring current test environment information. Specifically, the test environment is used for representing the current environment temperature, environment humidity and vehicle state, so that the test content is alarm content generated by simulating the actual vehicle under different environment conditions.
And calling a preset signal value rule aiming at the acquired test content to generate a text description and a test value corresponding to the test environment information.
For the test content, the test value of the test content is only performed for the alarm content meeting the current test environment, but not for the alarm content not meeting the current test environment.
For example, in the case where the ambient temperature is 40 degrees celsius or more, the test value is performed only for the coolant temperature being higher than the high temperature alarm threshold value, and the test value is not performed for the coolant temperature being lower than the low temperature alarm threshold value.
Thus, the test content is alarm content which can actually appear under different environmental conditions of the simulated vehicle, and further the process of generating an alarm message by the simulated alarm content is simulated. Invalid test data in the test message can be reduced, so that the data volume is reduced, and the accuracy of test message generation is improved.
Based on the same inventive concept, the present disclosure also provides a test message sending device, which may implement all or part of the steps of the test message sending method in a manner of software, hardware or a combination of both. Fig. 4 is a block diagram of a test message transmitting apparatus 1000 according to an exemplary embodiment, and as shown in fig. 4, the apparatus 1000 includes: a generation module 1100, a determination module 1200 and a transmission module 1300.
The generating module 1100 is configured to call a preset signal value rule for the acquired test content, and generate a test value of the test content and a text description corresponding to the test value;
a determining module 1200 configured to determine a test message address according to the test value and the corresponding text description;
the sending module 1300 is configured to generate a test message in the frame format according to the test message address based on a pre-configured frame format, and send the test message to the CAN bus.
Optionally, the determining module 1200 is configured to: combining the test value with the corresponding text description to obtain a test key value pair;
Based on a pre-configured message matrix, matching the test message address of the test key value pair from the message matrix.
Optionally, the determining module 1200 is configured to: under the condition that the test values are multiple, according to a data structure of a preset key value pair, each word description is used as a keyword, and keyword sites of the data structure are filled in, wherein the keyword sites are spaces for storing the keywords in the data structure; and is combined with the other components of the water treatment device,
and filling the test value corresponding to each text description as a data value into the data bit corresponding to the keyword to obtain a plurality of test key value pairs, wherein the data bit is a space for storing the data value in the data structure.
Optionally, the determining module 1200 is configured to: and adopting a random algorithm, and calculating with a preset step length in each calculation according to the test content and the plurality of test values generated by the preset quantity or by taking a given value as a starting value until the quantity of the test values reaches the plurality of test values obtained by the preset quantity.
Optionally, the determining module 1200 is configured to obtain a plurality of test message addresses for the same test content according to a plurality of test key value pairs corresponding to the same test content;
The sending module 1300 is configured to generate, for a plurality of test packet addresses corresponding to the same test content, a plurality of test packets corresponding to the same test content in the frame format, based on a pre-configured frame format, where one test packet address corresponds to one test packet;
and sequentially transmitting the plurality of test messages corresponding to the same test content to the CAN bus according to a preset transmission rule.
Optionally, the plurality of test values include a normal test value and a plurality of abnormal test values;
the determining module 1200 is configured to: selecting any message from the test messages corresponding to the abnormal test values as an abnormal test message, and sending the abnormal test message to the CAN bus;
under the condition that the abnormal test message is successfully sent, sending a test message corresponding to the normal test value to the CAN bus;
and under the condition that the test messages corresponding to the normal test values are successfully sent, sending a next abnormal test message to the CAN bus until all the test messages corresponding to the abnormal test values are sent to the CAN bus, wherein the next abnormal test message is an abnormal test message which is not sent in the test messages of the abnormal test values.
Optionally, the sending module 1300 is configured to: under the condition that a plurality of test contents are provided, determining a target frame structure of a test message address corresponding to each test content in a data frame of the frame format based on a pre-configured frame format, wherein the data frame of the frame format comprises a plurality of frame structures for carrying the test message addresses, and one test content corresponds to one test message address;
and filling each test message address into the frame format according to the target frame structure, and generating the test message under the frame format.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
It should be noted that, in the foregoing embodiments, the modules may be implemented independently or in the same device, for example, the determining module 1200 and the transmitting module 1300 may be the same module or two modules, which is not limited in this disclosure.
The present disclosure also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any of the methods described in the preceding claims.
The present disclosure also provides an electronic device comprising a memory and a processor, the memory having stored therein a computer program, which when executed by the processor, implements the steps of any of the methods described in the foregoing.
Based on the same inventive concept, the present disclosure further provides a test system, and fig. 5 is a block diagram of a test system 10 according to an exemplary embodiment, where, as shown in fig. 5, the test system 10 includes an electronic device 700, an in-vehicle central control system 100, a CAN bus 200 for communicatively connecting the electronic device 700 and the in-vehicle central control system 100, a computing device 300 communicatively connected to the in-vehicle central control system 100, and a user device 400 communicatively connected to the computing device 300;
the electronic device 700 is configured to drive a CANoe and call a gateway, and send a test message generated by any one of the foregoing methods to the CAN bus 200;
the vehicle-mounted central control system 100 is configured to obtain the test message sent by the electronic device 700 to the CAN bus 200, and report the test message to the computing device 300;
the computing device 300 is configured to determine whether the received test message meets a preset alarm rule, and push, to the user device 400, a test value represented by the test message and a text description corresponding to the test value if the test message meets the preset alarm rule.
CANoe (CAN open environment) is a CAN bus development environment and is used for development of automobile buses. The CANoe CAN model, simulate, test and develop CAN communication networks, and CAN join in LIN (Local Interconnect Network, local area networking), ethernet, etc. The method is used for realizing data transmission and reception on the CAN bus. Wherein, CANoe can be installed on a host computer.
The CAN bus comprises a plurality of types of CAN buses such as Ican and Ecan, and the types of CAN lines sent by the corresponding test messages of each text description CAN be different, so that corresponding gateways are required to be called for different test messages, and the different types of CAN lines are connected to send the test messages.
In one embodiment, the computing device 300 may be an internet of things cloud server (Internet of Things device shadow, IOT Device Shadow for short), and the on-board central control system obtains the test message from the CAN bus and sends the test message to the internet of things cloud server through the communication network.
In another embodiment, the computing device 300 may be an edge computing device with an application installed, and the in-vehicle central control system obtains the test messages from the CAN bus and broadcasts the test messages to the edge computing devices that subscribe to the test messages through the application.
After receiving the test message, the computing device 300 compares the test message with a preset alarm rule to determine whether the key value pair in the test message meets the preset alarm rule. And pushing the key value pair represented by the test message to the user equipment 400 under the condition that the preset alarm rule is met, and displaying the key value pair represented by the test message on the user interface by the user equipment 400.
Illustratively, in the case that the plurality of test values includes one normal test value and a plurality of abnormal test values, the computing device 300 sends the key value pair represented by the abnormal test message to the user device 400 for presenting the alarm information to the user, and when the normal test message is received, sends the key value pair represented by the normal test message to the user device 400 for presenting the alarm release information to the user.
Therefore, based on automatic generation of the test message, the reporting process of the alarm signal on the vehicle can be truly simulated, the purpose of automatic test is achieved, and the test cost is reduced.
The entire test procedure is described below by way of a detailed embodiment, and fig. 4 is a flow chart illustrating a CAN bus simulation test according to an exemplary embodiment. It may be noted that, the electronic device 700 includes a front-end page, a rule parsing service, a matrix parsing service and an information sending service, where the front-end page receives a test content input or selected by a user, the rule parsing service generates a text description and a test value corresponding to the test content, constructs a key value pair, matches a test message ID corresponding to the key value with the matrix parsing service to generate a test message, and the information sending service drives a CANoe, invokes a gateway and sends the test message.
Further, the CANoe sends a test message to the CAN bus through an API (Application Programming Interface ), the CAN bus receives the test message sent by the CANoe, the vehicle-mounted central control system acquires the test message from the CAN bus and reports the test message to computing equipment such as edge computing equipment or cloud servers, the computing equipment determines whether the test message meets preset alarm rules or not, and pushes alarm information represented by a key value of the test message to the user equipment under the condition that the test message meets the preset alarm rules, and the user equipment receives and displays the alarm information.
Fig. 6 is a block diagram of an electronic device 700, according to an example embodiment. As shown in fig. 6, the electronic device 700 may include: a processor 701, a memory 702. The electronic device 700 may also include one or more of a multimedia component 703, an input/output interface 704, and a communication component 705.
The processor 701 is configured to control the overall operation of the electronic device 700 to complete all or part of the steps in the test messaging method described above.
The memory 702 is used to store various types of data to support operation at the electronic device 700, which may include, for example, instructions for any application or method operating on the electronic device 700, as well as application-related data, such as pre-configured message matrices, pre-configured signal value valued rules, and the like. The Memory 702 may be implemented by any type or combination of volatile or non-volatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk.
The multimedia component 703 can include a screen and an audio component. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in the memory 702 or transmitted through the communication component 705. The audio assembly further comprises at least one speaker for outputting audio signals.
The I/O interface 704 provides an interface between the processor 701 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons.
The communication component 705 is for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, bluetooth, near field communication (Near Field Communication, NFC for short), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or one or a combination of more of them, is not limited herein. The corresponding communication component 705 may thus comprise: wi-Fi module, bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic device 700 may be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated ASIC), digital signal processor (Digital Signal Processor, abbreviated DSP), digital signal processing device (Digital Signal Processing Device, abbreviated DSPD), programmable logic device (Programmable Logic Device, abbreviated PLD), field programmable gate array (Field Programmable Gate Array, abbreviated FPGA), controller, microcontroller, microprocessor, or other electronic components for performing the test messaging method described above.
In another exemplary embodiment, a computer readable storage medium is also provided, which includes program instructions that, when executed by a processor, implement the steps of the test message transmission method described above. For example, the computer readable storage medium may be the memory 702 including program instructions described above, which are executable by the processor 701 of the electronic device 700 to perform the test messaging method described above.
The preferred embodiments of the present disclosure have been described in detail above with reference to the accompanying drawings, but the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solutions of the present disclosure within the scope of the technical concept of the present disclosure, and all the simple modifications belong to the protection scope of the present disclosure.
In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. The various possible combinations are not described further in this disclosure in order to avoid unnecessary repetition.
Moreover, any combination between the various embodiments of the present disclosure is possible as long as it does not depart from the spirit of the present disclosure, which should also be construed as the disclosure of the present disclosure.
Claims (10)
1. The method for sending the test message is characterized by comprising the following steps:
invoking a preset signal value rule aiming at the acquired test content to generate a test value of the test content and a text description corresponding to the test value;
determining a test message address according to the test value and the corresponding text description;
based on a pre-configured frame format, generating a test message in the frame format according to the test message address, and sending the test message to a controller local area network bus;
the determining the test message address according to the test value and the corresponding text description comprises the following steps:
combining the test value with the corresponding text description to obtain a test key value pair;
based on a pre-configured message matrix, matching the test message address of the test key value pair from the message matrix.
2. The method of claim 1, wherein the test value is a plurality of; and combining the test value with the corresponding text description to obtain a test key value pair, wherein the test key value pair comprises:
according to a data structure of a preset key value pair, each word description is used as a keyword, and keyword positions of the data structure are filled in, wherein the keyword positions are spaces for storing the keywords in the data structure; and is combined with the other components of the water treatment device,
And filling the test value corresponding to each text description as a data value into the data bit corresponding to the keyword to obtain a plurality of test key value pairs, wherein the data bit is a space for storing the data value in the data structure.
3. The method according to claim 2, wherein the plurality of test values are generated according to the test content and the preset number by using a random algorithm, or are obtained by performing an operation with a preset step length in each operation with a given value as a starting value until the number of test values reaches the preset number.
4. The method according to claim 2, wherein the method further comprises:
obtaining a plurality of test message addresses aiming at the same test content according to a plurality of test key value pairs corresponding to the same test content;
the method for generating the test message under the frame format based on the pre-configured frame format according to the test message address and sending the test message to the controller area network bus comprises the following steps:
based on a pre-configured frame format, respectively generating a plurality of test messages aiming at the same test content under the frame format aiming at a plurality of test message addresses corresponding to the same test content, wherein one test message address corresponds to one test message;
And sequentially transmitting the plurality of test messages corresponding to the same test content to the controller area network bus according to a preset transmission rule.
5. The method of claim 4, wherein the plurality of test values includes a normal test value and a plurality of abnormal test values;
the step of sequentially sending a plurality of test messages corresponding to the same test content to the controller area network bus according to a preset sending rule comprises the following steps:
selecting any message from the test messages corresponding to the abnormal test values as an abnormal test message, and sending the abnormal test message to the controller local area network bus;
under the condition that the abnormal test message is successfully sent, sending a test message corresponding to the normal test value to the controller local area network bus;
and under the condition that the test messages corresponding to the normal test values are successfully sent, sending a next abnormal test message to the controller area network bus until all the test messages corresponding to the abnormal test values are sent to the controller area network bus, wherein the next abnormal test message is an abnormal test message which is not sent in the test messages of the abnormal test values.
6. The method of claim 1, wherein the number of test contents is plural, one of the test contents corresponding to one of the test message addresses;
the generating the test message under the frame format based on the pre-configured frame format according to the test message address comprises the following steps:
determining a target frame structure of a test message address corresponding to each test content in a data frame of the frame format based on a pre-configured frame format, wherein the data frame of the frame format comprises a plurality of frame structures for carrying the test message addresses;
and filling each test message address into the frame format according to the target frame structure, and generating the test message under the frame format.
7. A test message transmitting apparatus, the apparatus comprising:
the generation module is configured to call a pre-configured signal value rule for the acquired test content to generate a test value of the test content and a text description corresponding to the test value;
the determining module is configured to determine a test message address according to the test value and the corresponding text description;
The sending module is configured to generate a test message under the frame format according to the test message address based on a pre-configured frame format, and send the test message to the controller area network bus;
the determination module is configured to:
combining the test value with the corresponding text description to obtain a test key value pair;
based on a pre-configured message matrix, matching the test message address of the test key value pair from the message matrix.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1-6.
9. An electronic device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, carries out the steps of the method according to any of claims 1-6.
10. A test system comprising the electronic device of claim 9, an in-vehicle central control system, a controller area network bus for communicatively connecting the electronic device with the in-vehicle central control system, a computing device communicatively connected with the in-vehicle central control system, and a user device communicatively connected with the computing device;
The electronic device is used for driving a controller area network bus development environment, calling a gateway and sending the test message generated by the method of any one of claims 1-6 to the controller area network bus;
the vehicle-mounted central control system is used for acquiring the test message sent to the controller local area network bus by the electronic equipment and reporting the test message to the computing equipment;
the computing device is used for determining whether the received test message meets a preset alarm rule or not, and pushing the test value represented by the test message and the text description corresponding to the test value to the user device under the condition that the test message meets the preset alarm rule.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110970492.7A CN115442172B (en) | 2021-08-23 | 2021-08-23 | Test message sending method, device, medium, equipment and test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110970492.7A CN115442172B (en) | 2021-08-23 | 2021-08-23 | Test message sending method, device, medium, equipment and test system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115442172A CN115442172A (en) | 2022-12-06 |
CN115442172B true CN115442172B (en) | 2024-04-12 |
Family
ID=84240132
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110970492.7A Active CN115442172B (en) | 2021-08-23 | 2021-08-23 | Test message sending method, device, medium, equipment and test system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115442172B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101330329A (en) * | 2008-07-29 | 2008-12-24 | 中兴通讯股份有限公司 | Self-adapting testing method and system |
CN104320320A (en) * | 2014-11-18 | 2015-01-28 | 哈尔滨工业大学 | Automatic configuration method for CAN bus slave node identifiers in automatic testing device |
CN107612780A (en) * | 2017-10-11 | 2018-01-19 | 杭州安恒信息技术有限公司 | Modbus protocol analysis systems method of testing and device |
CN109361569A (en) * | 2018-11-26 | 2019-02-19 | 中汽研(天津)汽车工程研究院有限公司 | CAN bus based communication diagnostic trouble code automatization test system and test method |
CN109828551A (en) * | 2019-02-18 | 2019-05-31 | 深圳高新兴物联科技有限公司 | Automated testing method, device and computer readable storage medium |
CN110943894A (en) * | 2019-12-31 | 2020-03-31 | 潍柴动力股份有限公司 | Message testing method and device |
CN111796578A (en) * | 2020-06-29 | 2020-10-20 | 中国第一汽车股份有限公司 | Vehicle controller testing method, device and system and storage medium |
CN112052157A (en) * | 2020-07-24 | 2020-12-08 | 北京旷视科技有限公司 | Test message construction method, device and system |
CN112683552A (en) * | 2020-12-31 | 2021-04-20 | 江铃汽车股份有限公司 | Automobile test method, system, readable storage medium and automobile test equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7296197B2 (en) * | 2005-02-04 | 2007-11-13 | Microsoft Corporation | Metadata-facilitated software testing |
WO2020018151A1 (en) * | 2018-07-19 | 2020-01-23 | Electronic Controls Company | Control of vehicle-carried warning system through controller area network (can) communications of global variables processed as operands of behavioral equations |
-
2021
- 2021-08-23 CN CN202110970492.7A patent/CN115442172B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101330329A (en) * | 2008-07-29 | 2008-12-24 | 中兴通讯股份有限公司 | Self-adapting testing method and system |
CN104320320A (en) * | 2014-11-18 | 2015-01-28 | 哈尔滨工业大学 | Automatic configuration method for CAN bus slave node identifiers in automatic testing device |
CN107612780A (en) * | 2017-10-11 | 2018-01-19 | 杭州安恒信息技术有限公司 | Modbus protocol analysis systems method of testing and device |
CN109361569A (en) * | 2018-11-26 | 2019-02-19 | 中汽研(天津)汽车工程研究院有限公司 | CAN bus based communication diagnostic trouble code automatization test system and test method |
CN109828551A (en) * | 2019-02-18 | 2019-05-31 | 深圳高新兴物联科技有限公司 | Automated testing method, device and computer readable storage medium |
CN110943894A (en) * | 2019-12-31 | 2020-03-31 | 潍柴动力股份有限公司 | Message testing method and device |
CN111796578A (en) * | 2020-06-29 | 2020-10-20 | 中国第一汽车股份有限公司 | Vehicle controller testing method, device and system and storage medium |
CN112052157A (en) * | 2020-07-24 | 2020-12-08 | 北京旷视科技有限公司 | Test message construction method, device and system |
CN112683552A (en) * | 2020-12-31 | 2021-04-20 | 江铃汽车股份有限公司 | Automobile test method, system, readable storage medium and automobile test equipment |
Also Published As
Publication number | Publication date |
---|---|
CN115442172A (en) | 2022-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112929241B (en) | Network testing method and device | |
CN112514351A (en) | Abnormality detection method and apparatus | |
CN110445719B (en) | Routing table management method, device, equipment and storage medium | |
CN108429739B (en) | Method, system and terminal equipment for identifying honeypots | |
CN111314181A (en) | Network connectivity diagnosis method, device, terminal and storage medium | |
CN112910793B (en) | Method for connection multiplexing in seven-layer load balancing and load balancer | |
CN109729189B (en) | Method and device for configuring domain name | |
CN111694757A (en) | Application program testing method and device, electronic equipment and computer readable storage medium | |
CN107370685A (en) | A kind of internet-of-things terminal cut-in method and device | |
CN114071544B (en) | Network testing method and device and electronic equipment | |
CN112422485B (en) | Communication method and device of transmission control protocol | |
CN110913270B (en) | Live broadcasting method and device | |
CN113485920B (en) | Method and device for realizing DoIP entity, readable storage medium and electronic equipment | |
CN115442172B (en) | Test message sending method, device, medium, equipment and test system | |
CN111339547B (en) | Method for generating data tag, electronic device and computer storage medium | |
CN110445658B (en) | Message processing method and system | |
CN109995603B (en) | Method and device for measuring packet loss under Tag model and electronic equipment | |
CN115174245A (en) | Test method and system based on DoIP protocol detection | |
CN114185804A (en) | Interface testing method and device and terminal equipment | |
US20230198954A1 (en) | Method for analyzing services of nodes of a network | |
CN114553834B (en) | Interaction method and device of 5G core network and IMS network | |
CN110913027B (en) | Domain name resolution method and device | |
CN111935221B (en) | File transmission method, device, storage medium and terminal | |
CN114430364B (en) | Information display method, information display device, electronic equipment and computer readable medium | |
CN111447213B (en) | Verification code determination method and device for discovery service and equipment discovery system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |