CN109857085B - Method and system for generating driving data in simulation mode, simulation terminal and test system - Google Patents

Method and system for generating driving data in simulation mode, simulation terminal and test system Download PDF

Info

Publication number
CN109857085B
CN109857085B CN201910073787.7A CN201910073787A CN109857085B CN 109857085 B CN109857085 B CN 109857085B CN 201910073787 A CN201910073787 A CN 201910073787A CN 109857085 B CN109857085 B CN 109857085B
Authority
CN
China
Prior art keywords
simulation
parameter
vehicle
data
value range
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
Application number
CN201910073787.7A
Other languages
Chinese (zh)
Other versions
CN109857085A (en
Inventor
刘新
赵涛
张秋菊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201910073787.7A priority Critical patent/CN109857085B/en
Publication of CN109857085A publication Critical patent/CN109857085A/en
Application granted granted Critical
Publication of CN109857085B publication Critical patent/CN109857085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application is suitable for the technical field of automobiles, and provides a method, a system, a simulation terminal and a test system for generating driving data in a simulation mode, wherein the method for generating driving data in the simulation mode comprises the steps of receiving a simulation request of a user, the simulation request comprises a simulation time period, a parameter type to be simulated and a value range of each parameter, the change rule of each parameter in the corresponding value range is obtained respectively, and the simulation data of each parameter in the simulation time period are correspondingly generated according to the obtained change rule. This application is through under the prerequisite that does not rely on any CAN instrument and mobile unit, CAN obtain the simulation driving data that is close with actual driving data, is favorable to reducing the possibility that artificial intervention acquireed driving data to improve the efficiency and the degree of accuracy of test.

Description

Method and system for generating driving data in simulation mode, simulation terminal and test system
Technical Field
The present application relates to the field of automobiles, and in particular, to a method, a system, a simulation terminal, and a test system for generating driving data in a simulation manner.
Background
In order to ensure the normal running of the vehicle, the vehicle needs to be tested and analyzed regularly.
However, before the test analysis of the vehicle is performed, the driving data to be tested is often acquired. The more common way is to obtain actual driving data through the CAN tool and the vehicle-mounted terminal, but the obtaining way usually needs to manually participate in sending and debugging of control data in the whole process, is easily influenced by testers, and is not beneficial to improving the efficiency and accuracy of the test.
Therefore, a new technical solution is needed to solve the above technical problems.
Disclosure of Invention
In view of this, the embodiment of the present application provides a method, a system, a simulation terminal, and a test system for generating driving data in a simulation manner, which CAN obtain simulated driving data close to actual driving data on the premise of not depending on a CAN tool and any vehicle-mounted device, and are beneficial to reducing the possibility of obtaining driving data through manual intervention, thereby improving the efficiency and accuracy of the test.
A first aspect of an embodiment of the present application provides a method for generating driving data in a simulation manner, including:
receiving a simulation request of a user, wherein the simulation request comprises a simulation time period, a parameter type to be simulated and a value range of each parameter;
respectively acquiring the change rule of each parameter in the corresponding value range;
and correspondingly generating simulation data of each parameter in the simulation time period according to the acquired change rule.
In one embodiment, the respectively obtaining the variation rule of each parameter in the corresponding value range includes:
acquiring attribute information of a vehicle-mounted terminal to be simulated;
searching vehicle type information matched with the vehicle-mounted terminal from a preset database according to the obtained attribute information of the vehicle-mounted terminal;
and searching the change rule of each parameter of the vehicle type in the corresponding value range from a preset database according to the vehicle type information, the type of the parameter to be simulated and the value range of each parameter.
In one embodiment, generating simulation data of each parameter in the simulation time period according to the obtained change rule includes:
if the type of the parameter is speed, obtaining the speed at each moment in the simulation time period according to the obtained speed change rule, and correspondingly generating simulation data of the speed according to the speed at each moment.
In one embodiment, the method further comprises:
establishing communication connection with a server through a preset IP and a port;
and sending the generated simulation data to a server through the established communication connection so as to instruct the server to perform test analysis according to the simulation data.
In one embodiment, the method further comprises:
and receiving a message containing the test result returned by the server.
In one embodiment, after receiving the simulation request of the user, the method further includes:
judging whether the simulation request contains a request for triggering alarm or not;
if the request of triggering the alarm is included, searching a triggering alarm condition corresponding to each parameter from a preset database;
judging whether the generated analog data meet corresponding triggering alarm conditions;
and if the corresponding triggering alarm condition is met, generating a corresponding alarm event.
A second aspect of the embodiments of the present application provides a system for generating driving data in a simulation manner, including:
the simulation system comprises a receiving module, a simulation module and a simulation module, wherein the receiving module is used for receiving a simulation request of a user, and the simulation request comprises a simulation time period, a parameter type to be simulated and a value range of each parameter;
the first acquisition module is used for respectively acquiring the change rule of each parameter in the corresponding value range;
and the generating module is used for correspondingly generating simulation data of each parameter in the simulation time period according to the acquired change rule.
In one embodiment, the first obtaining module is specifically configured to:
acquiring attribute information of a vehicle-mounted terminal to be simulated;
searching vehicle type information matched with the vehicle-mounted terminal from a preset database according to the acquired attribute information of the vehicle-mounted terminal;
and searching the change rule of each parameter of the vehicle type in the corresponding value range from a preset database according to the vehicle type information, the parameter to be simulated and the value range of each parameter.
In one embodiment, the generating module is specifically configured to:
if the type of the parameter is speed, obtaining the speed at each moment in the simulation time period according to the obtained speed change rule, and correspondingly generating simulation data of the speed according to the speed at each moment.
In one embodiment, the simulation system further comprises:
and the sending module is used for establishing communication connection with the server through a preset IP and a port, and sending the generated simulation data to the server through the established communication connection so as to instruct the server to perform test analysis according to the simulation data.
In one embodiment, the simulation system further comprises:
and the second receiving module is used for receiving the message which contains the test result and is returned by the server.
In one embodiment, the simulation system further comprises:
and the alarm module is used for judging whether the simulation request contains a request for triggering alarm, searching a trigger alarm condition corresponding to each parameter from a preset database if the simulation request contains the request for triggering alarm, judging whether the generated simulation data meets the corresponding trigger alarm condition, and generating a corresponding alarm event if the generated simulation data meets the corresponding trigger alarm condition.
A third aspect of the embodiments of the present application provides an analog terminal, which is characterized by comprising an input device, an output device, a processor, and a memory, wherein the memory is used for storing a computer program, and the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method mentioned in the first aspect.
A fourth aspect of the embodiments of the present application provides a test system, which includes the analog terminal mentioned in the third aspect, a server connected to the analog terminal, and/or a client connected to the server.
A fifth aspect of embodiments of the present application provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method mentioned in the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that: in this embodiment, a simulation request of a user is first received, where the simulation request includes a simulation time period, a parameter type to be simulated, and a value range of each parameter, then a change rule of each parameter in the corresponding value range is respectively obtained, and finally, simulation data of each parameter in the simulation time period is correspondingly generated according to the obtained change rule. Compared with the prior art, through the embodiment of the application, the simulation driving data close to the actual driving data CAN be obtained on the premise of not depending on any CAN tool and vehicle-mounted equipment, the possibility of obtaining the driving data through manual intervention is reduced, the efficiency and the accuracy of testing are improved, and the CAN vehicle-mounted data testing method has high usability and practicability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a method for generating driving data in a simulation manner according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a method for generating driving data in a simulation manner according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of a system for generating driving data in a simulation manner according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of an analog terminal according to a fourth embodiment of the present application;
fig. 5 is a schematic structural diagram of a test system according to a fifth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, analog systems, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiment of the present application.
It should be noted that, the descriptions of "first" and "second" in this embodiment are used to distinguish different regions, modules, and the like, and do not represent a sequential order, and the descriptions of "first" and "second" are not limited to be of different types.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
The application provides a method for generating driving data in a simulation mode, which is mainly used for a simulation terminal, wherein the simulation terminal at least comprises a simulation control processor, and driving data meeting requirements can be generated in a simulation mode according to simulation generation conditions set on an operation interface by a user and a change rule acquired from a background system.
Example one
Fig. 1 is a schematic flowchart of a method for generating driving data through simulation according to an embodiment of the present application, where an execution subject of the method may be a simulation terminal, and the method includes the following steps:
s101: a simulation request of a user is received.
The driving data refers to data actually generated by the vehicle in the driving process, and includes but is not limited to state data and fault data of the vehicle; the simulation request includes, but is not limited to, a simulation time period, a type of parameter to be simulated, and a value range of each parameter.
It should be noted that the above-mentioned parameter types to be simulated include, but are not limited to, vehicle speed, remaining oil amount, water temperature, air flow, rotation speed of wheels, state of safety belt, state of door and window; the value ranges include the minimum value and the maximum value of each parameter.
In addition, the simulation time periods and the value ranges can be multiple, for example, the whole process from ignition starting to flameout parking of the vehicle can be divided into multiple simulation time periods.
S102: and respectively obtaining the change rule of each parameter in the corresponding value range.
It should be noted that, for a certain vehicle, the value of each parameter is not constant from ignition start to ignition off. Therefore, in order to ensure that the driving data generated by simulation is close to the actual driving data to the maximum extent, the variation rule of each parameter in the corresponding value range is acquired in advance before the corresponding driving data is generated according to the simulation request of the user.
In one embodiment, the change rule may be obtained through a big data platform.
It should be understood that, when the simulation request includes a plurality of simulation time periods and corresponding value ranges, the change rules that are satisfied when the parameter changes from the minimum value in the value range to the maximum value in the value range in each simulation time period may be obtained, and then the change rules are combined accordingly, so as to obtain the change rule in a longer simulation time period (for example, from ignition start to flameout process).
S103: and correspondingly generating simulation data of each parameter in the simulation time period according to the acquired change rule.
Since the driving data usually includes the variation values of various parameters of the vehicle during driving. Therefore, after the simulation data of each parameter is generated in the simulation time period, the driving data in the application is generated accordingly.
Therefore, in the embodiment of the application, the simulated driving data close to the actual driving data CAN be obtained on the premise of not depending on any CAN tool and vehicle-mounted equipment, so that the possibility of obtaining the driving data through manual intervention is reduced, and the testing efficiency and accuracy are improved; in addition, because the CAN tool and the vehicle-mounted terminal do not need to be familiar in advance, the requirements on testing personnel are reduced, and the method has strong usability and practicability.
Example two
Fig. 2 is a schematic flow chart of a method for generating driving data through simulation provided in an embodiment two of the present application, which is a further detailed and explanatory view of step S102 in the embodiment one, where an execution subject of the method may be a simulation terminal, and the method includes the following steps:
s201: a simulation request of a user is received.
The step S201 is the same as the step S101 in the first embodiment, and the specific implementation process of the step S201 can be referred to the description of the step S101, which is not repeated herein.
S202: the method comprises the steps of obtaining attribute information of a vehicle-mounted terminal to be simulated, searching vehicle type information matched with the vehicle-mounted terminal from a preset database according to the obtained attribute information of the vehicle-mounted terminal, and searching a change rule of each parameter of the vehicle type in a corresponding value range from the preset database according to the vehicle type information, the type of the parameter to be simulated and the value range of each parameter.
Wherein the attribute information includes but is not limited to a serial number of the in-vehicle terminal to be simulated.
Because the parameter change rules of each vehicle are not completely the same, before the change rule of each parameter in the corresponding value range is searched, the vehicle type information to be simulated needs to be determined, so that the driving data generated by simulation has higher authenticity.
It should be noted that, after being used for the first time, the vehicle-mounted terminal is usually bound with a certain vehicle, so as to implement a function dedicated for a special vehicle. Therefore, the type of the vehicle to be simulated can be obtained by searching the vehicle type information matched with the vehicle-mounted terminal.
In one embodiment, the vehicle types include, but are not limited to, cars, MPVs, vans, and passenger cars.
In one embodiment, after receiving the simulation request of the user, the method further comprises:
judging whether the simulation request contains a request for triggering alarm or not;
if the request of triggering the alarm is included, searching a triggering alarm condition corresponding to each parameter from a preset database;
judging whether the generated analog data meet corresponding triggering alarm conditions;
and if the corresponding triggering alarm condition is met, generating a corresponding alarm event.
S203: and correspondingly generating simulation data of each parameter in the simulation time period according to the acquired change rule.
In one embodiment, if the type of the parameter is a speed, obtaining a speed at each moment in the simulation time period according to an obtained speed change rule, and correspondingly generating speed simulation data according to the speed at each moment.
S204: and establishing communication connection with a server through a preset IP and a port, and sending the generated simulation data to the server through the established communication connection so as to instruct the server to perform test analysis according to the simulation data.
In one embodiment, a communication connection may be established with the server according to a preset domain name and port.
In one embodiment, the communication connection includes, but is not limited to, a wired connection including, but not limited to, a broadband connection, and a wireless connection including, but not limited to, a WiFi wireless communication connection and a data network wireless communication connection of a mobile communication operator, such as: and 3G/4G data network connection.
In one embodiment, the server may be an application server of some kind.
In one embodiment, the server may establish a communication connection with a client in advance so as to send the received simulation data to the client to instruct the client to perform test analysis of the vehicle according to the simulation data.
In one embodiment, the communication connection between the server and the client can be established by referring to the way the server establishes the communication connection with the preset simulation system.
In one embodiment, the server may parse and process the received simulation data into a format of a chart or a graph, and then send the processed simulation data to the client, so that the client may directly display the simulation data on the display interface after receiving the simulation data.
In one embodiment, to prevent information leakage, the server may encrypt the received analog data and then send the encrypted analog data to the client after receiving the analog data.
In one embodiment, the analog terminal may process the analog data generated in step S202 into data suitable for transmission in advance according to the type of transmission protocol supported by the established communication connection, so as to facilitate the server to receive and analyze the data.
In one embodiment, the server may parse the received analog data according to a predetermined protocol, such as: the analysis is performed according to the private protocol or the ministerial protocol of the communication department JT/T905.
In one embodiment, the server may perform corresponding storage after parsing the received simulation data.
S205: and receiving a message containing the test result returned by the server.
Wherein the test result comprises test success and test failure.
It should be understood that when the client is selected to perform the test analysis, the test result returned by the server is actually the test result returned by the client.
In one embodiment, the simulation terminal can adjust driving data generated by simulation in time when receiving a test failure message returned by the server, so as to ensure smooth test operation.
For convenience of explanation, the above steps will be explained only by taking the vehicle speed data in the simulation of the driving data as an example. When the vehicle speed at each moment in a time period of 0-t1 generated by simulation is less than 40km/h and the vehicle speed at each moment in a time period of t1-t2 is kept between 40km/h and 110km/h, and after a request of gradually decelerating and stopping the vehicle after the time period of t2 is received, whether a request of triggering an alarm is received or not is detected, if the user request is detected to generate a rapid acceleration alarm event and an overspeed alarm event in the time period of t1-t2, attribute information of a vehicle-mounted terminal to be simulated is obtained, corresponding adaptive vehicle type information is searched through the obtained attribute information, the vehicle speed change rule of the vehicle in the historical driving process and the conditions of the rapid acceleration alarm event and the overspeed alarm event in the time period of t1-t2 are searched through a large data platform, and if the vehicle speed change rule of the vehicle is inquired to be linearly increased in the time period of 0-t1, randomly changing within the time period t1-t2 and reaching 100km/h within a short time of the vehicle speed can trigger a rapid acceleration alarm event and keeping between 100km/h-110km/h within a long time of the vehicle speed can trigger a overspeed alarm event, linearly decreasing after the time t2, obtaining the speed of each moment in the simulation time period according to the obtained change rule, correspondingly generating simulation data of the speed of each moment according to the speed of each moment, generating a rapid acceleration alarm event when the rapid change of the data is detected to be 100km/h, and finally, sending the group of data to a server which establishes communication connection in advance for corresponding test analysis, and receiving a message which contains a test result and is returned by the server.
Therefore, compared with the first embodiment, the second embodiment of the application provides a specific implementation mode for obtaining the change rule of each parameter in the corresponding value range, so that the driving data generated by simulation can be closer to the real driving data, and the method has strong usability and practicability.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a system for simulation generation of driving data according to a third embodiment of the present application, and only a part related to the third embodiment of the present application is shown for convenience of description.
The simulation system can be a software unit, a hardware unit or a combination unit which is arranged in the simulation terminal, and can also be integrated into the simulation terminal as an independent pendant.
The system for generating the driving data in a simulation mode comprises:
a receiving module 31, configured to receive a simulation request of a user, where the simulation request includes a simulation time period, a type of a parameter to be simulated, and a value range of each parameter;
the first obtaining module 32 is configured to obtain a change rule of each parameter in a corresponding value range;
and the generating module 33 is configured to correspondingly generate simulation data of each parameter in the simulation time period according to the obtained change rule.
In an embodiment, the first obtaining module 32 is specifically configured to:
acquiring attribute information of a vehicle-mounted terminal to be simulated;
searching vehicle type information matched with the vehicle-mounted terminal from a preset database according to the acquired attribute information of the vehicle-mounted terminal;
and searching the change rule of each parameter of the vehicle type in the corresponding value range from a preset database according to the vehicle type information, the parameter to be simulated and the value range of each parameter.
In an embodiment, the generating module 33 is specifically configured to:
if the type of the parameter is speed, obtaining the speed at each moment in the simulation time period according to the obtained speed change rule, and correspondingly generating simulation data of the speed according to the speed at each moment.
In one embodiment, the simulation system further comprises:
and the sending module is used for establishing communication connection with the server through a preset IP and a port, and sending the generated simulation data to the server through the established communication connection so as to instruct the server to perform test analysis according to the simulation data.
In one embodiment, the simulation system further comprises:
and the second receiving module is used for receiving the message which contains the test result and is returned by the server.
In one embodiment, the simulation system further comprises:
and the alarm module is used for judging whether the simulation request contains a request for triggering alarm, searching a trigger alarm condition corresponding to each parameter from a preset database if the simulation request contains the request for triggering alarm, judging whether the generated simulation data meets the corresponding trigger alarm condition, and generating a corresponding alarm event if the generated simulation data meets the corresponding trigger alarm condition.
Example four
Fig. 4 is a schematic structural diagram of an analog terminal according to a fourth embodiment of the present application. As shown in fig. 4, the analog terminal 4 of this embodiment may include: one or more processors 40 (only one shown in fig. 4), a memory 41, a computer program 42 stored in the memory 41 and executable on the processor 40, one or more input devices 43 (only one shown in fig. 4), and one or more output devices 44 (only one shown in fig. 4). Wherein the processor 40, the memory 41, the input device 43 and the output device 44 are connected via the bus 45, and the steps in the first embodiment of the method, such as the steps S101 to S103 shown in fig. 1, are implemented when the processor 40 executes the computer program 42. Alternatively, the steps in the second embodiment of the method described above, for example, steps S201 to S205 shown in fig. 2, are implemented. The processor 40, when executing the computer program 42, implements the functions of the modules/units in the above-described device embodiments, such as the functions of the modules 31 to 33 shown in fig. 3.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the analog terminal 4. For example, the computer program 42 may be divided into a receiving module, a first obtaining module and a generating module, and each module specifically functions as follows:
the simulation system comprises a receiving module, a simulation module and a simulation module, wherein the receiving module is used for receiving a simulation request of a user, and the simulation request comprises a simulation time period, a parameter type to be simulated and a value range of each parameter;
the first acquisition module is used for respectively acquiring the change rule of each parameter in the corresponding value range;
and the generating module is used for correspondingly generating simulation data of each parameter in the simulation time period according to the acquired change rule.
The analog terminal may include, but is not limited to, a processor 40, a memory 41. It will be appreciated by those skilled in the art that fig. 4 is merely an example of an analog terminal 4 and is not intended to limit analog terminal 4 and may include more or less components than those shown, or some components in combination, or different components, for example, the analog terminal may also include input-output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the analog terminal 4, such as a hard disk or a memory of the analog terminal 4. The memory 41 may also be an external storage device of the analog terminal 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the analog terminal 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the analog terminal 4. The memory 41 is used for storing the computer program and other programs and data required by the analog terminal. The memory 41 may also be used to temporarily store data that has been output or is to be output.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a test system provided in the fifth embodiment of the present application. As shown in fig. 5, the test system 5 of this embodiment includes: an analog terminal 50, a server 51 connected to the analog terminal, and a client 52 connected to the server. The simulation terminal, the server, and the client may refer to the related descriptions in the above embodiments, and are not repeated herein.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the simulation system and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art would appreciate that the modules, elements, and/or method steps of the various embodiments described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed system, simulation system and method may be implemented in other ways. For example, the above-described simulation system embodiments are merely illustrative, and for example, the division of the units is only one logical function division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some interfaces, indirect coupling or communication connection of analog systems or units, and may be in electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any physical or analog system capable of carrying the computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunications signal, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (9)

1. A method for generating driving data in a simulation mode is characterized by comprising the following steps:
receiving a simulation request of a user, wherein the simulation request comprises a simulation time period, a parameter type to be simulated and a value range of each parameter;
respectively acquiring the change rule of each parameter in the corresponding value range; when the simulation request comprises a plurality of simulation time periods and corresponding value ranges, respectively obtaining a change rule which is met when the parameter in each simulation time period changes from the minimum value in the value range to the maximum value in the value range;
correspondingly generating simulation data of each parameter in the simulation time period according to the acquired change rule, and taking the simulation data as the driving data;
the respectively obtaining the change rule of each parameter in the corresponding value range comprises:
acquiring attribute information of the vehicle-mounted terminal to be simulated by searching vehicle binding information of the vehicle-mounted terminal to be simulated;
searching vehicle type information matched with the vehicle-mounted terminal from a preset database according to the acquired attribute information of the vehicle-mounted terminal;
and searching the change rule of each parameter of the vehicle type in the corresponding value range from a preset database according to the vehicle type information, the type of the parameter to be simulated and the value range of each parameter.
2. The method of claim 1, wherein generating simulation data of each parameter in the simulation time period according to the obtained variation rule comprises:
if the type of the parameter is speed, obtaining the speed at each moment in the simulation time period according to the obtained speed change rule, and correspondingly generating simulation data of the speed according to the speed at each moment.
3. The method of claim 1, further comprising:
establishing communication connection with a server through a preset IP and a port;
and sending the generated simulation data to a server through the established communication connection so as to instruct the server to perform test analysis according to the simulation data.
4. The method of claim 3, further comprising:
and receiving a message containing the test result returned by the server.
5. The method of any of claims 1 to 4, further comprising, after receiving the user's simulation request:
judging whether the simulation request contains a request for triggering alarm or not;
if the request of triggering the alarm is included, searching a triggering alarm condition corresponding to each parameter from a preset database;
judging whether the generated analog data meet corresponding triggering alarm conditions;
and if the corresponding triggering alarm condition is met, generating a corresponding alarm event.
6. A system for simulation of vehicle movement data generation, comprising:
the simulation system comprises a receiving module, a simulation module and a simulation module, wherein the receiving module is used for receiving a simulation request of a user, and the simulation request comprises a simulation time period, a parameter type to be simulated and a value range of each parameter;
the first acquisition module is used for respectively acquiring the change rule of each parameter in the corresponding value range; when the simulation request comprises a plurality of simulation time periods and corresponding value ranges, respectively obtaining a change rule which is met when the parameter in each simulation time period changes from the minimum value in the value range to the maximum value in the value range;
the generating module is used for correspondingly generating simulation data of each parameter in the simulation time period according to the acquired change rule, and taking the simulation data as the driving data;
the first obtaining module is specifically configured to:
acquiring attribute information of the vehicle-mounted terminal to be simulated by searching vehicle binding information of the vehicle-mounted terminal to be simulated;
searching vehicle type information matched with the vehicle-mounted terminal from a preset database according to the acquired attribute information of the vehicle-mounted terminal;
and searching the change rule of each parameter of the vehicle type in the corresponding value range from a preset database according to the vehicle type information, the type of the parameter to be simulated and the value range of each parameter.
7. An analogue terminal comprising input means, output means, a processor and a memory, wherein the memory is for storing a computer program comprising program instructions, and the processor is configured to invoke the program instructions to perform the method of any of claims 1 to 5.
8. A test system comprising the simulation terminal of claim 7, a server connected to the simulation terminal, and/or a client connected to the server.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201910073787.7A 2019-01-25 2019-01-25 Method and system for generating driving data in simulation mode, simulation terminal and test system Active CN109857085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910073787.7A CN109857085B (en) 2019-01-25 2019-01-25 Method and system for generating driving data in simulation mode, simulation terminal and test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910073787.7A CN109857085B (en) 2019-01-25 2019-01-25 Method and system for generating driving data in simulation mode, simulation terminal and test system

Publications (2)

Publication Number Publication Date
CN109857085A CN109857085A (en) 2019-06-07
CN109857085B true CN109857085B (en) 2021-01-15

Family

ID=66896249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910073787.7A Active CN109857085B (en) 2019-01-25 2019-01-25 Method and system for generating driving data in simulation mode, simulation terminal and test system

Country Status (1)

Country Link
CN (1) CN109857085B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113946145A (en) * 2020-07-17 2022-01-18 北京车和家信息技术有限公司 Detection method and device for vehicle control unit
CN112198861A (en) * 2020-09-15 2021-01-08 湖北亿咖通科技有限公司 Application program testing method of vehicle-mounted terminal
CN112182891A (en) * 2020-09-30 2021-01-05 深圳市智物联网络有限公司 Industrial object simulation method, device and equipment
CN112600700A (en) * 2020-12-08 2021-04-02 航天科技控股集团股份有限公司 Performance verification system based on Tbox new energy automobile platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102095448A (en) * 2010-12-08 2011-06-15 江苏天泽信息产业股份有限公司 Automatic testing system of production line of vehicle information terminal and testing method of system
CN103900631A (en) * 2012-12-26 2014-07-02 上海移为通信技术有限公司 Detection system and detection method of vehicle-mounted tracker
CN104980470A (en) * 2014-04-10 2015-10-14 标致雪铁龙(中国)汽车贸易有限公司 Automobile simulation system and portable terminal implementing same
CN105491155A (en) * 2015-12-30 2016-04-13 惠州市德赛西威汽车电子股份有限公司 Vehicle-mounted terminal development simulation system
CN107024926A (en) * 2017-06-13 2017-08-08 安徽省爱夫卡电子科技有限公司 The simulation system and its analogy method of a kind of automobile ECU

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010244378A (en) * 2009-04-08 2010-10-28 Fujitsu Ten Ltd Distributed simulation system
CN103197667B (en) * 2013-03-28 2015-06-03 湖南大学 Device and method of simulation and testing of finished car controller of hybrid power car
CN104598295A (en) * 2015-01-12 2015-05-06 北京中交兴路车联网科技有限公司 Generation system and method for vehicle running simulation script
CN106097480A (en) * 2016-06-08 2016-11-09 南京航空航天大学 Vehicle operation data record system
CN108259253A (en) * 2016-12-28 2018-07-06 深圳市蓝希领地科技有限公司 A kind of test method, simulation car-mounted terminal and test system
JP6802354B2 (en) * 2017-03-03 2020-12-16 三菱電機株式会社 Communication test equipment, communication test methods and programs
CN108881267A (en) * 2018-06-29 2018-11-23 百度在线网络技术(北京)有限公司 Vehicle abnormality detection method, car-mounted terminal, server and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102095448A (en) * 2010-12-08 2011-06-15 江苏天泽信息产业股份有限公司 Automatic testing system of production line of vehicle information terminal and testing method of system
CN103900631A (en) * 2012-12-26 2014-07-02 上海移为通信技术有限公司 Detection system and detection method of vehicle-mounted tracker
CN104980470A (en) * 2014-04-10 2015-10-14 标致雪铁龙(中国)汽车贸易有限公司 Automobile simulation system and portable terminal implementing same
CN105491155A (en) * 2015-12-30 2016-04-13 惠州市德赛西威汽车电子股份有限公司 Vehicle-mounted terminal development simulation system
CN107024926A (en) * 2017-06-13 2017-08-08 安徽省爱夫卡电子科技有限公司 The simulation system and its analogy method of a kind of automobile ECU

Also Published As

Publication number Publication date
CN109857085A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN109857085B (en) Method and system for generating driving data in simulation mode, simulation terminal and test system
CN108701229B (en) Driving behavior analysis method and driving behavior analysis device
US8798843B2 (en) Vehicle diagnosing apparatus
Buquerin et al. A generalized approach to automotive forensics
CN113778557B (en) Vehicle diagnosis software configuration method, device, server and storage medium
CN108255152B (en) vehicle diagnosis method, diagnosis box and computer readable storage medium
US11514731B2 (en) Method and system for remote vehicle diagnostics
CN108081916A (en) The startup method and device of vehicular air purifier
CN112558584B (en) Diagnostic data acquisition method and device and diagnostic equipment
CN110545220A (en) Automobile diagnosis protocol detection method and related product
CN108390863B (en) Data processing method and device
CN112019512B (en) Automobile network safety test system
CN111459568A (en) Vehicle data processing method and device
CN115384536A (en) Evaluation method, device, equipment and medium for driving assistance system controller
CN112381966A (en) Method for acquiring driving data signal and related device thereof
CN113934198A (en) Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium
CN114879630A (en) Vehicle fault diagnosis method, device, equipment and readable storage medium
CN114461526A (en) System, method and device for testing data consistency and storage medium
CN112346441A (en) Automobile online diagnosis method and system and automobile diagnosis equipment
CN112632702A (en) Vehicle protocol diagnostic tool detection method and device
CN112255999B (en) Bus data acquisition method and device
CN109597813B (en) Vehicle data processing method and device
CN111740888B (en) Ignition signal synchronization method and related equipment
CN116088486B (en) Diagnostic method and device for vehicle electric control system and vehicle diagnostic equipment
CN112319495B (en) Method, device and equipment for determining automobile system model and storage medium

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