CN109857085A - Simulation generates method, system, simulation terminal and the test macro of travelling data - Google Patents
Simulation generates method, system, simulation terminal and the test macro of travelling data Download PDFInfo
- Publication number
- CN109857085A CN109857085A CN201910073787.7A CN201910073787A CN109857085A CN 109857085 A CN109857085 A CN 109857085A CN 201910073787 A CN201910073787 A CN 201910073787A CN 109857085 A CN109857085 A CN 109857085A
- Authority
- CN
- China
- Prior art keywords
- simulation
- parameter
- simulated
- data
- server
- 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.)
- Granted
Links
Abstract
The application is suitable for automobile technical field, provide method, system, simulation terminal and the test macro of a kind of simulation generation travelling data, wherein, the method that the simulation generates travelling data includes receiving the simulation request of user, the simulation request includes the value range of simulated time section, parameter type to be simulated and every kind of parameter, changing rule of the every kind of parameter in corresponding value range is obtained respectively, according to the changing rule of acquisition, the corresponding analogue data for generating every kind of parameter in the simulated time section.The application by under the premise of not depending on any CAN tool and mobile unit, can obtain with the close simulated driving data of practical travelling data, advantageously reduce manual intervention acquisition travelling data a possibility that, to improve the efficiency and accuracy of test.
Description
Technical field
This application involves automotive field more particularly to a kind of simulation generate the method for travelling data, system, simulation terminal and
Test macro.
Background technique
In order to guarantee the normally travel of vehicle, need periodically to carry out test analysis to vehicle.
However before the test analysis for carrying out vehicle, generally require first to obtain travelling data to be tested.Relatively conventional
Way is actual travelling data to be obtained by CAN tool and car-mounted terminal, but this acquisition way is needed toward contact
The whole artificial transmission and debugging for participating in control data, is easy the influence of tested person personnel, be unfavorable for improving the efficiency of test and
Accuracy.
Therefore it's necessary to propose a new technical scheme, to solve the above technical problems.
Summary of the invention
In consideration of it, the embodiment of the present application provides method, system, simulation terminal and the survey of a kind of simulation generation travelling data
Test system can obtain and the close simulation of practical travelling data under the premise of not depending on CAN tool and any mobile unit
Travelling data advantageously reduces a possibility that manual intervention obtains travelling data, to improve the efficiency and accuracy of test.
The first aspect of the embodiment of the present application provides a kind of method that simulation generates travelling data, comprising:
Receive the simulation request of user, simulation request includes simulated time section, parameter type to be simulated and often
The value range of kind parameter;
Changing rule of the every kind of parameter in corresponding value range is obtained respectively;
According to the changing rule of acquisition, the corresponding analogue data for generating every kind of parameter in the simulated time section.
In one embodiment, obtaining changing rule of the every kind of parameter in corresponding value range respectively includes:
Obtain the attribute information of car-mounted terminal to be simulated;
According to the attribute information of the car-mounted terminal of acquisition, searches from presetting database and be adapted to the car-mounted terminal
Vehicle model information;
According to the value range of the vehicle model information, parameter type to be simulated and every kind of parameter, from preset data
Changing rule of the every kind of parameter of the vehicle in corresponding value range is searched in library.
In one embodiment, corresponding to generate every kind of parameter in the simulated time section according to the changing rule of acquisition
Analogue data include:
If the type of the parameter is speed, according to the velocity variations of acquisition rule, obtain in the simulated time section
The speed at interior each moment, and correspond to according to the speed at each moment the analogue data of formation speed.
In one embodiment, the method also includes:
By preset IP and port, establishes and communicate to connect with server;
By the communication connection of foundation, the analogue data of generation is sent to server, with indicate the server according to
The analogue data carries out test analysis.
In one embodiment, the method also includes:
Receive the message comprising test result that the server returns.
In one embodiment, after the simulation request for receiving user, further includes:
Judge the request whether alarmed comprising triggering in the simulation request;
If the request comprising triggering alarm, searches the corresponding triggering alert if of every kind of parameter from presetting database;
Judge whether the analogue data generated meets corresponding triggering alert if;
If meeting corresponding triggering alert if, corresponding alert event is generated.
The second aspect of the embodiment of the present application provides a kind of system that simulation generates travelling data, comprising:
Receiving module, the simulation for receiving user are requested, and the simulation request includes simulated time section, ginseng to be simulated
The value range of several classes of types and every kind of parameter;
First obtains module, for obtaining changing rule of the every kind of parameter in corresponding value range respectively;
Generation module, it is corresponding to generate every kind of parameter in the simulated time section for the changing rule according to acquisition
Analogue data.
In one embodiment, the first acquisition module is specifically used for:
Obtain the attribute information of car-mounted terminal to be simulated;
According to the attribute information of the car-mounted terminal of acquisition, searches from presetting database and be adapted to the car-mounted terminal
Vehicle model information;
According to the value range of the vehicle model information, parameter to be simulated and every kind of parameter, looked into from presetting database
Look for changing rule of the every kind of parameter of the vehicle in corresponding value range.
In one embodiment, the generation module is specifically used for:
If the type of the parameter is speed, according to the velocity variations of acquisition rule, obtain in the simulated time section
The speed at interior each moment, and correspond to according to the speed at each moment the analogue data of formation speed.
In one embodiment, the simulation system further include:
Sending module, for establishing and communicating to connect with server, pass through the communication link of foundation by preset IP and port
It connects, the analogue data of generation is sent to server, to indicate that the server carries out test analysis according to the analogue data.
In one embodiment, the simulation system further include:
Second receiving module, the message comprising test result returned for receiving the server.
In one embodiment, the simulation system further include:
Alarm module, the request for judging whether to alarm comprising triggering in the simulation request, if alarming comprising triggering
Request, then the corresponding triggering alert if of every kind of parameter is searched from presetting database, judge generate analogue data whether
Meet corresponding triggering alert if, if meeting corresponding triggering alert if, generates corresponding alert event.
The embodiment of the present application third aspect provides a kind of simulation terminal, which is characterized in that including input unit, output dress
It sets, processor and memory, wherein the memory is for storing computer program, the computer program includes that program refers to
It enables, the processor is configured for calling described program instruction, executes method mentioned in the first aspect.
The fourth aspect of the embodiment of the present application provides a kind of test macro, the simulation terminal that is referred to including the third aspect,
The server being connect with the simulation terminal, and/or the client being connect with the server.
5th aspect of the embodiment of the present application provides a kind of computer readable storage medium, the computer-readable storage medium
Computer program is stored in matter, above-mentioned computer program realizes method mentioned in the first aspect when being executed by processor.
Existing beneficial effect is the embodiment of the present application compared with prior art: in the present embodiment, receiving user first
Simulation request, it is described simulation request include simulated time section, parameter type to be simulated and every kind of parameter value range,
Then changing rule of the every kind of parameter in corresponding value range is obtained respectively, finally according to the changing rule of acquisition, corresponding life
At analogue data of the every kind of parameter in the simulated time section.It compared with prior art, can be by the embodiment of the present application
Under the premise of not depending on any CAN tool and mobile unit, acquisition and the close simulated driving data of practical travelling data, favorably
In reducing a possibility that manual intervention obtains travelling data, to improve the efficiency and accuracy of test, have stronger easy-to-use
Property and practicability.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the flow diagram for the method that the simulation that the embodiment of the present application one provides generates travelling data;
Fig. 2 is the flow diagram for the method that the simulation that the embodiment of the present application two provides generates travelling data;
Fig. 3 is the structural schematic diagram for the system that the simulation that the embodiment of the present application three provides generates travelling data;
Fig. 4 is the structural schematic diagram for the simulation terminal that the embodiment of the present application four provides;
Fig. 5 is the structural schematic diagram for the test macro that the embodiment of the present application five provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific
The application also may be implemented in the other embodiments of details.In other situations, it omits and is to well-known system, simulation
The detailed description of system, circuit and method, so as not to obscure the description of the present application with unnecessary details.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment
And be not intended to limit the application.As present specification and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in the present embodiment, each process
Execution sequence should be determined by its function and internal logic, and the implementation process without coping with the embodiment of the present application constitutes any restriction.
It should be noted that " first ", " second " etc. in the present embodiment describe, it is for distinguishing different regions, mould
Block etc. does not represent sequencing, does not also limit " first " and " second " as different types.
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
This application provides a kind of methods that simulation generates travelling data, are mainly used for simulating terminal, in the simulation terminal
Simulation control processor is contained at least one, it can be according to the simulation formation condition that user is arranged in operation interface and from rear
The changing rule that platform system obtains generates satisfactory travelling data to simulate.
Embodiment one
Fig. 1 is the flow diagram for the method that the simulation that the embodiment of the present application one provides generates travelling data, the method
Executing subject can for simulation terminal, method includes the following steps:
S101: the simulation request of user is received.
The travelling data refers to the data that vehicle really generates in the process of moving, the including but not limited to state of vehicle
Data and fault data;The simulation request includes but is not limited to simulated time section, parameter type to be simulated and every seed ginseng
Several value ranges.
It should be noted that above-mentioned parameter type to be simulated includes but is not limited to speed, Fuel Oil Remaining, water temperature, air
Flow, the revolving speed of wheel, the state of safety belt, the state of car door and vehicle window;Above-mentioned value range include every kind of parameter most
Small value and maximum value.
In addition, above-mentioned simulated time section and value range can have it is multiple, such as can be by vehicle from igniting starting to putting out
Fire parking whole process is divided into multiple simulated time sections.
S102: changing rule of the every kind of parameter in corresponding value range is obtained respectively.
It should be noted that being started to from igniting during stopping working, the value of every kind of parameter is not for Mr. Yu's trolley
It is invariable.Therefore, the travelling data in order to farthest guarantee that simulation generates connects with actual travelling data
Closely, the application obtains every kind of parameter in advance and takes in correspondence before generating corresponding travelling data according to the simulation of user request
The changing rule being worth in range.
In one embodiment, the changing rule can be obtained by big data platform.
It should be understood that when including multiple simulated time sections and corresponding value range in simulation request, Ke Yifen
Each simulated time section intrinsic parameter is not obtained to change from the minimum value in value range as the maximum value Shi Suoman in value range
The changing rule of foot, then correspondingly combined, thus obtain in one section of longer simulated time section (such as start from igniting
To flame-out process) changing rule.
S103: according to the changing rule of acquisition, the corresponding analogue data for generating every kind of parameter in the simulated time section.
Since usual travelling data will include the changing value of vehicle many kinds of parameters in the process of moving.Therefore, in simulation
Between the analogue data of every kind of parameter is generated in section after, also just correspondingly generated the travelling data in the application.
Therefore in the embodiment of the present application, it can be obtained under the premise of not depending on any CAN tool and mobile unit
The simulated driving data close with practical travelling data are obtained, a possibility that manual intervention obtains travelling data is advantageously reduced, from
And improve the efficiency and accuracy of test;In addition, due to the use without being familiar with CAN tool and car-mounted terminal in advance, it is also advantageous
In reducing the requirement to tester, there is stronger usability and practicality.
Embodiment two
Fig. 2 is the flow diagram for the method that the simulation that the embodiment of the present application two provides generates travelling data, is to above-mentioned
The executing subject of the further refinement and explanation of step S102 in embodiment one, this method can be simulation terminal, the side
Method the following steps are included:
S201: the simulation request of user is received.
Wherein, above-mentioned steps S201 is identical as the step S101 in embodiment one, and specific implementation process can be found in step
The description of S101, so here is no more repetition.
S202: obtaining the attribute information of car-mounted terminal to be simulated, according to the attribute information of the car-mounted terminal of acquisition,
The vehicle model information being adapted to the car-mounted terminal is searched from presetting database, according to the vehicle model information, parameter to be simulated
The value range of type and every kind of parameter searches every kind of parameter of the vehicle in corresponding value range from presetting database
Interior changing rule.
Wherein, the attribute information includes but is not limited to the sequence number of the car-mounted terminal to be simulated.
Since the Parameter Variation of every kind of vehicle is not fully identical, every kind of parameter is being searched in corresponding value model
Before changing rule in enclosing, it is also necessary to vehicle model information to be simulated is determined, so that the travelling data for guaranteeing that simulation generates has
Higher authenticity.
It should be noted that car-mounted terminal is after the first use, usually can all be bound with certain trolley, to realize
The dedicated function of special train.Therefore, by searching for the vehicle model information being adapted to the car-mounted terminal, vehicle to be simulated can just be obtained
Type.
In one embodiment, the vehicle includes but is not limited to car, MPV, lorry and car.
In one embodiment, after the simulation request for receiving user, further includes:
Judge the request whether alarmed comprising triggering in the simulation request;
If the request comprising triggering alarm, searches the corresponding triggering alert if of every kind of parameter from presetting database;
Judge whether the analogue data generated meets corresponding triggering alert if;
If meeting corresponding triggering alert if, corresponding alert event is generated.
S203: according to the changing rule of acquisition, the corresponding analogue data for generating every kind of parameter in the simulated time section.
In one embodiment, it if the type of the parameter is speed, according to the velocity variations of acquisition rule, obtains
The speed at each moment in the simulated time section, and correspond to according to the speed at each moment the simulation number of formation speed
According to.
S204: it by preset IP and port, establishes and communicates to connect with server, by the communication connection of foundation, will give birth to
At analogue data be sent to server, with indicate the server according to the analogue data carry out test analysis.
In one embodiment, it can establish and communicate to connect with server according to preset domain name and port.
In one embodiment, the communication connection includes but is not limited to wired connection and wireless connection, wherein You Xianlian
Including but not limited to broadband connection is connect, being wirelessly connected includes but is not limited to the connection of WiFi wireless communication and mobile communication operator
Data network wirelessly communicate connection, such as: 3G/4G data network connection.
In one embodiment, the server can be certain application server.
In one embodiment, the server can be established in advance with client and be communicated to connect, in order to by received institute
It states analogue data and is sent to the client, the test point of vehicle is carried out to indicate the client according to the analogue data
Analysis.
In one embodiment, it is referred to the server and establishes the mode of communication connection with predetermined analog system to build
Stand the communication connection between the server and client.
In one embodiment, received analogue data dissection process can be chart or figure by the server
Client is sent to after format, in order to which client can directly be shown in the display interface upon receipt.
In one embodiment, the leakage of information in order to prevent, the server can receive the analogue data
Afterwards, encrypted analogue data is sent to client again after first the analogue data received being encrypted.
In one embodiment, the transport protocol class that above-mentioned simulation terminal can be supported according to the communication connection of foundation
The step S202 analogue data generated is processed into the data of suitable for transmission by type in advance, consequently facilitating server receives and parsing.
In one embodiment, the server can carry out the received analogue data according to set agreement
Parsing, such as: agreement is marked according to the portion of proprietary protocol or Ministry of Communications JT/T905 and is parsed.
In one embodiment, the server can carry out corresponding after parsing to the analogue data received
Storage.
S205: the message comprising test result that the server returns is received.
Wherein, the test result includes being successfully tested and test crash.
It should be understood that the practical test result that the server returns is visitor when selection is when client carries out test analysis
The test result that family end returns.
In one embodiment, it is described simulation terminal can receive server return test crash message when, and
When adjustment simulation generate travelling data, to guarantee going on smoothly for test job.
For ease of description, phase only is carried out to above-mentioned steps for simulating the vehicle speed data generated in travelling data below
The explanation answered.It is respectively less than 40km/h when receiving each moment speed in the simulation generation 0-t1 period, and in the t1-t2 period
The speed at interior each moment is maintained between 40km/h-110km/h, and after the t2 moment gradually after the request of ramp to stop,
Start to detect whether to receive the request that triggering is alarmed, suddenly accelerates to report if detecting that user's request generates within the t1-t2 period
Alert event and overspeed alarming event, then obtain the attribute information of car-mounted terminal to be simulated, and passes through the attribute information lookup pair of acquisition
The adaptation vehicle model information answered, then search by big data platform the speed changing rule in history driving process of this kind of vehicle
And the anxious condition for accelerating alert event and overspeed alarming event is generated within the t1-t2 period, if inquiring this kind of vehicle
Speed changing rule is the linear increase within the 0-t1 period, changes at random in the t1-t2 period and reaches within the speed short time
Can trigger anxious acceleration alert event to 100km/h and be maintained between 100km/h-110km/h in speed long-time can trigger
Overspeed alarming event, t2 linearly reduce after the moment, then according to the changing rule of acquisition, obtain each in above-mentioned simulated time section
The speed at moment, and according to the analogue data of the corresponding speed for generating each moment of the speed at each moment, then detecting
Generated when quickly changing to above-mentioned data as 100km/h one it is anxious accelerate alert event, concentrate on above-mentioned data are more
An overspeed alarming event is generated when between 100km/h-110km/h, and finally this group of data are sent to and pre-establish communication link
The server connect carries out corresponding test analysis, and receives the message comprising test result of server return.
Therefore the embodiment of the present application two gives compared to embodiment one and obtains every kind of parameter in corresponding value model
The specific implementation of interior changing rule is enclosed, the travelling data that simulation can be made to generate is more close to true travelling data, tool
There is stronger usability and practicality.
Embodiment three
Fig. 3 is the structural schematic diagram for the system that the simulation that the embodiment of the present application three provides generates travelling data, for the ease of
Illustrate, illustrates only part relevant to the embodiment of the present application.
The simulation system can be software unit, hardware cell or the list of soft or hard combination being built in simulation terminal
Member can also be used as independent pendant and be integrated into the simulation terminal.
The system that the simulation generates travelling data, comprising:
Receiving module 31, the simulation for receiving user are requested, and it includes simulated time section that the simulation, which is requested, to be simulated
The value range of parameter type and every kind of parameter;
First obtains module 32, for obtaining changing rule of the every kind of parameter in corresponding value range respectively;
Generation module 33, it is corresponding to generate every kind of parameter in the simulated time section for the changing rule according to acquisition
Analogue data.
In one embodiment, the first acquisition module 32 is specifically used for:
Obtain the attribute information of car-mounted terminal to be simulated;
According to the attribute information of the car-mounted terminal of acquisition, searches from presetting database and be adapted to the car-mounted terminal
Vehicle model information;
According to the value range of the vehicle model information, parameter to be simulated and every kind of parameter, looked into from presetting database
Look for changing rule of the every kind of parameter of the vehicle in corresponding value range.
In one embodiment, the generation module 33 is specifically used for:
If the type of the parameter is speed, according to the velocity variations of acquisition rule, obtain in the simulated time section
The speed at interior each moment, and correspond to according to the speed at each moment the analogue data of formation speed.
In one embodiment, the simulation system further include:
Sending module, for establishing and communicating to connect with server, pass through the communication link of foundation by preset IP and port
It connects, the analogue data of generation is sent to server, to indicate that the server carries out test analysis according to the analogue data.
In one embodiment, the simulation system further include:
Second receiving module, the message comprising test result returned for receiving the server.
In one embodiment, the simulation system further include:
Alarm module, the request for judging whether to alarm comprising triggering in the simulation request, if alarming comprising triggering
Request, then the corresponding triggering alert if of every kind of parameter is searched from presetting database, judge generate analogue data whether
Meet corresponding triggering alert if, if meeting corresponding triggering alert if, generates corresponding alert event.
Example IV
Fig. 4 is the structural schematic diagram for the simulation terminal that the embodiment of the present application four provides.As shown in figure 4, the mould of the embodiment
Quasi- terminal 4 may include: one or more processors 40 (only showing one in Fig. 4), memory 41, be stored in the memory
In 41 and computer program 42, the one or more input equipment 43 that can run on the processor 40 (only show one in Fig. 4
It is a) and one or more output equipments 44 (one is only shown in Fig. 4).Wherein, processor 40, memory 41, input equipment
43 and output equipment 44 connected by bus 45, the processor 40 realizes that the above method is real when executing the computer program 42
Apply the step in example one, such as step S101 to S103 shown in FIG. 1.Alternatively, realize the step in above method embodiment two,
Such as step S201 to S205 shown in Fig. 2.The processor 40 realizes above-mentioned each device when executing the computer program 42
The function of each module/unit in embodiment, such as the function of module 31 to 33 shown in Fig. 3.
Illustratively, the computer program 42 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 42 in the simulation terminal 4 is described.For example, the computer program 42 can be divided
It is as follows to be cut into receiving module, the first acquisition module and generation module, each module concrete function:
Receiving module, the simulation for receiving user are requested, and the simulation request includes simulated time section, ginseng to be simulated
The value range of several classes of types and every kind of parameter;
First obtains module, for obtaining changing rule of the every kind of parameter in corresponding value range respectively;
Generation module, it is corresponding to generate every kind of parameter in the simulated time section for the changing rule according to acquisition
Analogue data.
The simulation terminal may include, but be not limited only to, processor 40, memory 41.Those skilled in the art can manage
Solution, Fig. 4 are only the example for simulating terminal 4, do not constitute the restriction to simulation terminal 4, may include more or more than illustrating
Few component perhaps combines certain components or different components, such as the simulation terminal can also be set including input and output
Standby, network access equipment, bus etc..
The processor 40 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 41 can be the internal storage unit of the simulation terminal 4, such as the hard disk or interior of simulation terminal 4
It deposits.The memory 41 is also possible to be equipped on the External memory equipment of the simulation terminal 4, such as the simulation terminal 4
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 41 can also both include the storage inside list of the simulation terminal 4
Member also includes External memory equipment.The memory 41 is for storing needed for the computer program and the simulation terminal
Other programs and data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
Embodiment five
Fig. 5 is the structural schematic diagram for the test macro that the embodiment of the present application five provides.As shown in figure 5, the survey of the embodiment
Test system 5 includes: the server 51 simulating terminal 50, connecting with the simulation terminal, and the client connecting with the server
End 52.Wherein, simulation terminal, server and the client can refer to the associated description in above-described embodiment, not make herein
Repetition repeats.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of simulation system and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that each embodiment described in conjunction with the examples disclosed in this document
Module, unit and/or method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond scope of the present application.
In several embodiments provided herein, it should be understood that disclosed system, simulation system and method,
It may be implemented in other ways.For example, simulation system embodiment described above is only schematical, for example, institute
The division of unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple lists
Member or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point,
Shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, simulation system or
The indirect coupling or communication connection of unit can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the application realizes above-described embodiment side
All or part of the process in method can also instruct relevant hardware to complete, the computer by computer program
Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each
The step of a embodiment of the method.Wherein, the computer program includes computer program code, and the computer program code can
Think source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can be with
It include: any entity or simulation system, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before
Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of method that simulation generates travelling data characterized by comprising
The simulation request of user is received, the simulation request includes simulated time section, parameter type to be simulated and every seed ginseng
Several value ranges;
Changing rule of the every kind of parameter in corresponding value range is obtained respectively;
According to the changing rule of acquisition, the corresponding analogue data for generating every kind of parameter in the simulated time section.
2. the method according to claim 1, wherein obtaining change of the every kind of parameter in corresponding value range respectively
Law includes:
Obtain the attribute information of car-mounted terminal to be simulated;
According to the attribute information of the car-mounted terminal of acquisition, the vehicle being adapted to the car-mounted terminal is searched from presetting database
Type information;
According to the value range of the vehicle model information, clock rate to be simulated and every kind of parameter, looked into from presetting database
Look for changing rule of the every kind of parameter of the vehicle in corresponding value range.
3. the method according to claim 1, wherein corresponding to according to the changing rule of acquisition and generating every kind of parameter
Analogue data in the simulated time section includes:
If the type of the parameter is speed, according to the velocity variations of acquisition rule, obtain every in the simulated time section
The speed at one moment, and correspond to according to the speed at each moment the analogue data of formation speed.
4. the method according to claim 1, wherein the method also includes:
By preset IP and port, establishes and communicate to connect with server;
By the communication connection of foundation, the analogue data of generation is sent to server, to indicate the server according to
Analogue data carries out test analysis.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Receive the message comprising test result that the server returns.
6. method according to any one of claims 1 to 5, which is characterized in that request it in the simulation for receiving user
Afterwards, further includes:
Judge the request whether alarmed comprising triggering in the simulation request;
If the request comprising triggering alarm, searches the corresponding triggering alert if of every kind of parameter from presetting database;
Judge whether the analogue data generated meets corresponding triggering alert if;
If meeting corresponding triggering alert if, corresponding alert event is generated.
7. a kind of system that simulation generates travelling data characterized by comprising
Receiving module, the simulation for receiving user are requested, and the simulation request includes simulated time section, parameter class to be simulated
The value range of type and every kind of parameter;
First obtains module, for obtaining changing rule of the every kind of parameter in corresponding value range respectively;
Generation module, for the changing rule according to acquisition, the corresponding simulation for generating every kind of parameter in the simulated time section
Data.
8. a kind of simulation terminal, which is characterized in that including input unit, output device, processor and memory, wherein described deposit
For reservoir for storing computer program, the computer program includes program instruction, and the processor is configured for calling institute
Program instruction is stated, such as method as claimed in any one of claims 1 to 6 is executed.
9. a kind of test macro, including the server simulating terminal as claimed in claim 8, being connect with the simulation terminal,
And/or the client being connect with the server.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realization is such as the step of any one of claims 1 to 6 the method when the computer program is executed by processor.
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 true CN109857085A (en) | 2019-06-07 |
CN109857085B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112182891A (en) * | 2020-09-30 | 2021-01-05 | 深圳市智物联网络有限公司 | Industrial object simulation method, device and equipment |
CN112198861A (en) * | 2020-09-15 | 2021-01-08 | 湖北亿咖通科技有限公司 | Application program testing method of vehicle-mounted terminal |
CN112600700A (en) * | 2020-12-08 | 2021-04-02 | 航天科技控股集团股份有限公司 | Performance verification system based on Tbox new energy automobile platform |
CN113946145A (en) * | 2020-07-17 | 2022-01-18 | 北京车和家信息技术有限公司 | Detection method and device for vehicle control unit |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010244378A (en) * | 2009-04-08 | 2010-10-28 | Fujitsu Ten Ltd | Distributed simulation system |
CN102095448A (en) * | 2010-12-08 | 2011-06-15 | 江苏天泽信息产业股份有限公司 | Automatic testing system of production line of vehicle information terminal and testing method of system |
CN103197667A (en) * | 2013-03-28 | 2013-07-10 | 湖南大学 | Device and method of simulation and testing of finished car controller of hybrid power car |
CN103900631A (en) * | 2012-12-26 | 2014-07-02 | 上海移为通信技术有限公司 | Detection system and detection method of vehicle-mounted tracker |
CN104598295A (en) * | 2015-01-12 | 2015-05-06 | 北京中交兴路车联网科技有限公司 | Generation system and method for vehicle running simulation script |
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 |
CN107195024A (en) * | 2016-06-08 | 2017-09-22 | 南京航空航天大学 | Universal vehicle operation data record system and processing method |
CN108259253A (en) * | 2016-12-28 | 2018-07-06 | 深圳市蓝希领地科技有限公司 | A kind of test method, simulation car-mounted terminal and test system |
WO2018158939A1 (en) * | 2017-03-03 | 2018-09-07 | 三菱電機株式会社 | Communication test device, communication test method, and program |
CN108881267A (en) * | 2018-06-29 | 2018-11-23 | 百度在线网络技术(北京)有限公司 | Vehicle abnormality detection method, car-mounted terminal, server and storage medium |
-
2019
- 2019-01-25 CN CN201910073787.7A patent/CN109857085B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010244378A (en) * | 2009-04-08 | 2010-10-28 | Fujitsu Ten Ltd | Distributed simulation system |
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 |
CN103197667A (en) * | 2013-03-28 | 2013-07-10 | 湖南大学 | Device and method of simulation and testing of finished car controller of hybrid power car |
CN104980470A (en) * | 2014-04-10 | 2015-10-14 | 标致雪铁龙(中国)汽车贸易有限公司 | Automobile simulation system and portable terminal implementing same |
CN104598295A (en) * | 2015-01-12 | 2015-05-06 | 北京中交兴路车联网科技有限公司 | Generation system and method for vehicle running simulation script |
CN105491155A (en) * | 2015-12-30 | 2016-04-13 | 惠州市德赛西威汽车电子股份有限公司 | Vehicle-mounted terminal development simulation system |
CN107195024A (en) * | 2016-06-08 | 2017-09-22 | 南京航空航天大学 | Universal vehicle operation data record system and processing method |
CN108259253A (en) * | 2016-12-28 | 2018-07-06 | 深圳市蓝希领地科技有限公司 | A kind of test method, simulation car-mounted terminal and test system |
WO2018158939A1 (en) * | 2017-03-03 | 2018-09-07 | 三菱電機株式会社 | Communication test device, communication test method, and program |
CN107024926A (en) * | 2017-06-13 | 2017-08-08 | 安徽省爱夫卡电子科技有限公司 | The simulation system and its analogy method of a kind of automobile ECU |
CN108881267A (en) * | 2018-06-29 | 2018-11-23 | 百度在线网络技术(北京)有限公司 | Vehicle abnormality detection method, car-mounted terminal, server and storage medium |
Cited By (4)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN109857085B (en) | 2021-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109857085A (en) | Simulation generates method, system, simulation terminal and the test macro of travelling data | |
CN109270565B (en) | Processing device for vehicle-mounted GPS big data | |
EP3559625A1 (en) | System and method for managing a fleet of vehicles including electric vehicles | |
US10158716B2 (en) | Simulation of vehicle telematics events | |
CN104184801A (en) | Integrated intelligent driving service system | |
US11295560B2 (en) | Cloud-managed validation and execution for diagnostic requests | |
CN110971567A (en) | Vehicle, cloud server, vehicle equipment, media device and data integration method | |
CN110415543A (en) | Exchange method, device, equipment and the storage medium of information of vehicles | |
CN109934362A (en) | A kind of method, apparatus and terminal device of vehicle detection | |
CN107253447A (en) | A kind of electric automobile whole integrated management and control system and electric automobile | |
CN114043994A (en) | Vehicle fault processing method, device, equipment and storage medium | |
CN113033860A (en) | Automobile fault prediction method and device, electronic equipment and storage medium | |
CN106710027A (en) | Configuration method and device of on-board equipment | |
WO2019227597A1 (en) | Chatting robot-based navigation method and system | |
CN113505056A (en) | Vehicle diagnosis method, system, device and storage medium | |
CN110493294A (en) | Update method, system, readable storage medium storing program for executing and the terminal of vehicle electronic circuit module | |
CN105225507A (en) | A kind of vehicle monitoring method and device | |
CN109116830A (en) | Predict the method and system of failure | |
CN114248781B (en) | Vehicle working condition prediction method and device and vehicle | |
CN116048055A (en) | Vehicle fault detection method, device and storage medium | |
CN116127152A (en) | Vehicle condition information query method and device, vehicle-mounted terminal and storage medium | |
CN115384536A (en) | Evaluation method, device, equipment and medium for driving assistance system controller | |
CN107991925A (en) | Vehicle mounted failure communication device based on Bluetooth transmission | |
CN105911939A (en) | Automobile work mode determination realization method and system | |
CN112381966A (en) | Method for acquiring driving data signal and related device thereof |
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 |