CN116542047A - Vehicle function simulation method and device, electronic equipment and storage medium - Google Patents

Vehicle function simulation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116542047A
CN116542047A CN202310500384.2A CN202310500384A CN116542047A CN 116542047 A CN116542047 A CN 116542047A CN 202310500384 A CN202310500384 A CN 202310500384A CN 116542047 A CN116542047 A CN 116542047A
Authority
CN
China
Prior art keywords
vehicle
application file
simulate
virtual
vehicle application
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.)
Pending
Application number
CN202310500384.2A
Other languages
Chinese (zh)
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.)
Zero Beam Technology Co ltd
Original Assignee
Zero Beam 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 Zero Beam Technology Co ltd filed Critical Zero Beam Technology Co ltd
Priority to CN202310500384.2A priority Critical patent/CN116542047A/en
Publication of CN116542047A publication Critical patent/CN116542047A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/15Vehicle, aircraft or watercraft design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/02CAD in a network environment, e.g. collaborative CAD or distributed simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Pure & Applied Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Architecture (AREA)
  • Automation & Control Theory (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application provides a vehicle function simulation method, a vehicle function simulation device, electronic equipment and a storage medium. The vehicle function simulation method is applied to a cloud server, the cloud server is carried with a cloud simulator, and the method comprises the following steps: obtaining a vehicle application file, wherein the vehicle application file is used for a vehicle to realize corresponding vehicle functions; loading the vehicle application file into a virtual vehicle model preset in a cloud simulator, so that the virtual vehicle model operates in a simulation mode based on the vehicle application file to simulate corresponding vehicle functions; and obtaining simulation operation data output by the cloud simulator, wherein the simulation operation data are used for indicating the virtual vehicle model to simulate operation based on the vehicle application file so as to simulate the operation state of corresponding vehicle functions. According to the cloud simulation method and the cloud simulation device, cloud simulation of vehicle functions can be achieved, and the cloud simulation is more convenient.

Description

Vehicle function simulation method and device, electronic equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of vehicles, in particular to a vehicle function simulation method, a vehicle function simulation device, electronic equipment and a storage medium.
Background
With the development of vehicle technology, users have higher demands on the use experience with vehicles. In order to ensure the effect of the vehicle in realizing the vehicle function, the vehicle function can be simulated, and the related art generally relies on the vehicle function simulation in a real vehicle, which is quite inconvenient, so a new technical scheme is needed to solve the problem.
Disclosure of Invention
In view of the foregoing, embodiments of the present application provide a vehicle function simulation method, apparatus, electronic device, and storage medium, so as to at least partially solve the foregoing problems.
According to a first aspect of an embodiment of the present application, there is provided a vehicle function simulation method, which is characterized in that the method is applied to a cloud server, the cloud server is equipped with a cloud simulator, and the method includes:
obtaining a vehicle application file, wherein the vehicle application file is used for a vehicle to realize corresponding vehicle functions;
loading the vehicle application file into a virtual vehicle model preset in a cloud simulator, so that the virtual vehicle model operates in a simulation mode based on the vehicle application file to simulate corresponding vehicle functions;
and obtaining simulation operation data output by the cloud simulator, wherein the simulation operation data are used for indicating the virtual vehicle model to simulate operation based on the vehicle application file so as to simulate the operation state of corresponding vehicle functions.
In some optional embodiments, the loading the vehicle application file into a virtual vehicle model preset in a cloud simulator, so that the virtual vehicle model simulates running based on the vehicle application file to simulate corresponding vehicle functions, includes: responding to a starting instruction of a user, starting the cloud simulator, and loading the preset virtual vehicle model; and responding to a running instruction of a user, and enabling the cloud simulator to load the vehicle application file into the preset virtual vehicle model so that the virtual vehicle model can simulate running based on the vehicle application file to simulate corresponding vehicle functions.
In some alternative embodiments, the vehicle application file is edited online by a user in a predetermined vehicle application editor; the obtaining the vehicle application file includes: and after the user finishes online editing of the vehicle application file, receiving the vehicle application file sent by the vehicle application editor.
In some optional embodiments, a plurality of function blocks corresponding to the vehicle functions are preset in the vehicle application editor; the vehicle application file is obtained by selecting at least one functional block from the vehicle application editor by a user and configuring the at least one functional block.
In some alternative embodiments, the vehicle function simulation method further includes: and in the process of simulating and running the vehicle application file by the virtual vehicle model, displaying an animation picture when the virtual vehicle model is simulated and run based on the vehicle application file to simulate corresponding vehicle functions.
In some alternative embodiments, the virtual vehicle model can simulate operation based on vehicle application files corresponding to vehicles of multiple vehicle types.
In some alternative embodiments, the vehicle function simulation method further includes: and outputting a log file describing at least one of simulated operation data, a simulated operation result and a simulated operation error when the virtual vehicle model is simulated to simulate a corresponding vehicle function based on the vehicle application file.
According to a second aspect of the embodiments of the present application, there is provided a vehicle function simulation device, which is characterized in that the device is applied to a cloud server, and the cloud server is equipped with a cloud simulator, and the device includes:
the first obtaining unit is used for obtaining a vehicle application file, wherein the vehicle application file is used for realizing corresponding vehicle functions by a vehicle;
the simulation running unit is used for loading the vehicle application file into a virtual vehicle model preset in the cloud simulator so that the virtual vehicle model can simulate running based on the vehicle application file to simulate corresponding vehicle functions;
the second obtaining unit is used for obtaining the operation data output by the cloud simulator, wherein the operation data are used for indicating the virtual vehicle model to simulate operation based on the vehicle application file so as to simulate the operation state of corresponding vehicle functions.
According to a third aspect of embodiments of the present application, there is provided an electronic device, including: the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; the memory is used for storing a computer program; the processor is configured to execute the method according to the first aspect by executing the computer program stored on the memory.
According to a fourth aspect of embodiments of the present application, there is provided a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to the first aspect.
According to a fifth aspect of embodiments of the present application, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method according to the first aspect.
According to the vehicle function simulation scheme, the cloud server with the cloud simulator is applied to the cloud server, the vehicle application files for realizing the corresponding vehicle functions of the vehicle are obtained, then the vehicle application files are loaded into the virtual vehicle model preset in the cloud simulator, so that the virtual vehicle model is simulated to operate based on the vehicle application files to simulate the corresponding vehicle functions, finally the simulation operation data which are output by the cloud simulator and are used for indicating the operation state of the virtual vehicle model when the virtual vehicle model is simulated to operate based on the vehicle application files to simulate the corresponding vehicle functions are obtained, the cloud simulation of the vehicle functions can be realized, the corresponding data can be obtained, the basis is conveniently provided for debugging the vehicle functions, the simulation of the vehicle functions is not needed in a real vehicle, and the vehicle function simulation scheme is more convenient for users.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description will briefly introduce the drawings that are required to be used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present application, and other drawings may also be obtained according to these drawings for a person having ordinary skill in the art.
FIG. 1 is a flow chart illustrating steps of an exemplary vehicle function simulation method of the present application.
Fig. 2 is a block diagram of an exemplary vehicle function simulation apparatus of the present application.
Fig. 3 is a block diagram of an exemplary electronic device of the present application.
Detailed Description
In order to better understand the technical solutions in the embodiments of the present application, the following descriptions will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the embodiments of the present application shall fall within the scope of protection of the embodiments of the present application. It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below. It should be noted that the terms "first," "second," and the like herein are merely used for distinguishing between different devices, modules, or units and not for limiting the order or interdependence of the functions performed by such devices, modules, or units. It should be noted that references to "one" or "a plurality" in this application are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be interpreted as "one or more" unless the context clearly indicates otherwise.
Embodiments of the present application are further described below with reference to the accompanying drawings of embodiments of the present application.
According to a first aspect of the present application, a vehicle function simulation method is provided. FIG. 1 is a flow chart illustrating steps of an exemplary vehicle function simulation method of the present application. The vehicle function simulation method is applied to a cloud server, and the cloud server is provided with a cloud simulator, and referring to fig. 1, the vehicle function simulation method comprises the following steps of step S102, step S104 and step S106, specifically:
step S102: and obtaining a vehicle application file, wherein the vehicle application file is used for realizing corresponding vehicle functions by the vehicle.
In the application, when the vehicle runs based on the vehicle application file, the vehicle can realize corresponding vehicle functions. In this application, a vehicle application file may correspond to a vehicle application, which may include one or more vehicle functions that may be executed by an actuator (e.g., on-board hardware, etc.) on the vehicle that is controlled by a control unit of the vehicle. In some alternative examples, the vehicle may be caused to present a predetermined vehicle intelligence scene when the vehicle is running based on the vehicle application file.
For example, the vehicle function may be a lamp control function, an air conditioning control function, a music control function, a seat control function, a window control function, a door control function, a steering wheel control function, and the like.
Alternatively, the vehicle application file may be any form of file including an installation package, a compression package, a document file, and the like, without limitation. In some alternative embodiments, the file format of the vehicle application file may include a scene file or json file, or the like.
Alternatively, the vehicle application file may include one or more service information, and the vehicle may be enabled to implement a vehicle function through one service information. For example, after the vehicle obtains the vehicle application file, the control unit of the vehicle may parse the vehicle application file to obtain one or more service information therein, obtain a corresponding control instruction according to the service information, and may control an actuator on the vehicle to execute a corresponding vehicle function based on the control instruction.
Optionally, the vehicle in the application can flexibly combine related SOA Service information of the vehicle function through the vehicle application file based on a Service-oriented SOA (Service-Oriented Architecture) architecture, can be used for realizing the vehicle function in a mode that the vehicle is based on the SOA Service, can realize the quick call of the hardware capability of the vehicle in a software layer, and can customize the vehicle application file through an application program on a terminal outside the vehicle, thereby meeting the requirements of different users, and being more convenient for meeting the vehicle using experience of the users.
According to the cloud simulation method and the cloud simulation device, the cloud simulation is carried out on the vehicle functions by acquiring the vehicle application files, the cloud simulation can be carried out on all the vehicle functions in the whole vehicle application, and the cloud simulation is carried out on the single vehicle function of the vehicle, so that the simulation effect of the vehicle functions can be better ensured, and the use effect of the vehicle application is improved.
The vehicle application file in the application can be edited by a user, and the vehicle application file meeting the vehicle requirements is edited by the user according to the vehicle requirements, so that different vehicle functions are realized when the vehicle runs based on the vehicle application file. In some alternative embodiments, the vehicle application file is edited by the user online in a predetermined vehicle application editor, "get vehicle application file" in step S102, may include: and after the user finishes online editing of the vehicle application file, receiving the vehicle application file sent by the vehicle application editor. The vehicle application file editing method and device can meet different vehicle requirements by allowing the user to edit the vehicle application file on line in the preset vehicle application editor.
Optionally, the vehicle application editor may send the vehicle application file to the cloud server online, so as to adapt to the real-time requirement of the cloud vehicle function simulation.
Alternatively, the user in the present application may be a developer of the vehicle application, and the developer may provide the vehicle application file to other users of the vehicle by editing the vehicle application file. Of course, the present application is not limited thereto, and the user may be a user vehicle of the vehicle.
Optionally, the vehicle application editor can be erected at the cloud, and the user can use the vehicle application editor to edit the vehicle application files on line through the browser without specially downloading editing software, so that the light-weight requirement is met, and the vehicle application editor is more convenient.
Alternatively, in other embodiments, the user may edit the vehicle application file in the vehicle application editor in an offline manner, which is not limiting.
In some optional embodiments, a plurality of function blocks corresponding to the vehicle functions are preset in the vehicle application editor; the vehicle application file is obtained by selecting at least one functional block from the vehicle application editor by a user and configuring the at least one functional block.
Based on the above, compared with the method of editing the vehicle application file by using code programming, the vehicle application editor provided with the function blocks corresponding to the plurality of vehicle functions is preset in the vehicle application editor, a user can select at least one function block in the vehicle application editor and configure the at least one function block to obtain the vehicle application file, the editing method is obviously simpler and more convenient, the low-code programming of the vehicle application file is realized, the threshold of the editing method is lower for the user, the development cost of the vehicle application file can be greatly reduced, and the development efficiency is improved.
Alternatively, a function block library (for example, a list) of function blocks corresponding to a plurality of vehicle functions and a working area for editing a vehicle application file may be provided in the vehicle application editor, and the user may drag the function block corresponding to the desired vehicle function into the working area and edit the function block dragged into the working area as needed. Obviously, the low-code programming mode of dragging is simpler and more convenient, the threshold of the editing mode is lower for a user, the development cost of vehicle application files can be greatly reduced, and the development efficiency is improved.
An example of an exemplary vehicle application file of the present application is described below. For example, the vehicle application file to be edited online may be used to enable the vehicle to realize a light show, the required vehicle functions include three (only as an example and not as a limitation in the application), for example, a headlight is turned on in a running way, a headlight is turned on behind the vehicle, and an atmosphere lamp in the vehicle is turned on in sequence, when the vehicle application editor is edited online, a user may select an application model of the vehicle to which the vehicle application file is applied, then a function block list is obtained, the user drags the function blocks corresponding to the headlight control function, the headlight control function and the atmosphere lamp control function in the vehicle to a working area, and then configures each function block to obtain three function blocks with complete configuration. It should be understood that this example is not intended as any limitation in the present application.
Step S104: and loading the vehicle application file into a virtual vehicle model preset in a cloud simulator, so that the virtual vehicle model is simulated to run based on the vehicle application file to simulate corresponding vehicle functions.
In the present application, after the vehicle application file is obtained in step S102, the vehicle application file may be loaded into a cloud simulator and a virtual vehicle model is preset, so that the virtual vehicle model is simulated to run based on the vehicle application file to simulate the corresponding vehicle function.
The virtual vehicle model in the application can be a 3D vehicle model, a vehicle is displayed in a visual mode, the operation of the vehicle can be simulated, and when the vehicle application file is operated, cloud simulation of corresponding vehicle functions of the vehicle application is realized. Alternatively, the virtual vehicle model may include a car light, a car window, an air conditioner, a sound, a seat, a car window, a car door, a steering wheel, etc., so that the performance of the vehicle function can be simulated and can be visually displayed.
The cloud simulator is mounted on the cloud server, a user does not need to specially download and install the cloud simulator, and the hardware requirement on vehicle function cloud simulation is low.
Optionally, after the vehicle application file is loaded into the virtual vehicle model in step S104, the cloud simulator may set in-vehicle environment parameters, so that the simulation effect is better when the virtual vehicle model is simulated to operate based on the vehicle application file to simulate the corresponding vehicle function.
In some alternative embodiments, the virtual vehicle model in the application can simulate running based on vehicle application files corresponding to vehicles of various vehicle types. That is, the virtual vehicle model in the application may be a virtual vehicle model common to multiple vehicle types, and based on this, through such virtual vehicle model, the application embodiment may be convenient for performing cloud simulation on vehicle functions of vehicles of multiple vehicle types.
In some alternative embodiments, step S104 may include: responding to a starting instruction of a user, starting the cloud simulator, and loading the preset virtual vehicle model; and responding to a running instruction of a user, and enabling the cloud simulator to load the vehicle application file into the preset virtual vehicle model so that the virtual vehicle model can simulate running based on the vehicle application file to simulate corresponding vehicle functions.
Based on the method, the user can send a starting instruction to enable the vehicle application file to be loaded into the virtual vehicle model preset in the cloud simulator, and send an operation instruction to enable the virtual vehicle model to operate in a simulation mode based on the vehicle application file to simulate corresponding vehicle functions, so that the user can reasonably regulate and control the cloud simulation of the vehicle functions.
In some alternative embodiments, the vehicle function simulation method further includes: and in the process of simulating and running the vehicle application file by the virtual vehicle model, displaying an animation picture when the virtual vehicle model is simulated and run based on the vehicle application file to simulate corresponding vehicle functions. Based on the method, the process of vehicle function cloud simulation can be visually seen conveniently.
Optionally, the cloud simulator may provide an animation display interface, and may display an animation screen when the virtual vehicle model is simulated to run based on the vehicle application file to simulate the corresponding vehicle function in the animation display interface.
Step S106: and obtaining simulation operation data output by the cloud simulator, wherein the simulation operation data are used for indicating the virtual vehicle model to simulate operation based on the vehicle application file so as to simulate the operation state of corresponding vehicle functions.
In the method, when the virtual vehicle model is simulated to run based on the vehicle application file so as to simulate the corresponding vehicle function, the simulated running data which is output by the cloud simulator and is used for indicating the running state of the virtual vehicle model when the virtual vehicle model is simulated to run based on the vehicle application file so as to simulate the corresponding vehicle function is obtained, so that the cloud simulation of the vehicle function can be realized.
Therefore, based on the vehicle function simulation method in the steps S102 to S106, since the vehicle function simulation method is applied to the cloud server on which the cloud simulator is mounted, and the vehicle application file for realizing the corresponding vehicle function of the vehicle is obtained, then the vehicle application file is loaded into the virtual vehicle model preset in the cloud simulator, so that the virtual vehicle model is simulated to operate based on the vehicle application file to simulate the corresponding vehicle function, and finally the simulated operation data which is output by the cloud simulator and is used for indicating the virtual vehicle model to simulate the operation state when the virtual vehicle model is simulated to operate based on the vehicle application file to simulate the corresponding vehicle function is obtained, the cloud simulation of the vehicle function can be realized and the corresponding data can be obtained, the basis is conveniently provided for debugging the vehicle function without the need of simulating the vehicle function in a real vehicle, and the vehicle function simulation is more convenient for users.
In some alternative embodiments, the vehicle function simulation method further includes: and outputting a log file describing at least one of simulated operation data, a simulated operation result and a simulated operation error when the virtual vehicle model is simulated to simulate a corresponding vehicle function based on the vehicle application file. Based on the method, the relevant data during cloud simulation of the vehicle function can be conveniently recorded, so that analysis can be conveniently carried out by utilizing the relevant data, a basis is conveniently provided for debugging of the vehicle function, and reasonable adjustment of the vehicle application file is facilitated.
Alternatively, the simulation operation result may include a simulation operation success and a simulation operation failure, and the simulation operation error may include an error occurring when the virtual vehicle model is simulated to operate based on the vehicle application file to simulate the corresponding vehicle function, an error occurring in the cloud simulator, and the like.
It will be appreciated that the foregoing description of the vehicle function simulation method is provided merely as exemplary illustrations of the present application and not as any limitation of the present application.
According to a second aspect of embodiments of the present application, there is provided a vehicle function simulation apparatus. Fig. 2 shows a block diagram of an exemplary vehicle function simulation device 100 of the present application, where the vehicle function simulation device 100 of the present embodiment is applied to a cloud server, and the cloud server is equipped with a cloud simulator, and the vehicle function simulation device 100 includes:
a first obtaining unit 102, configured to obtain a vehicle application file, where the vehicle application file is used for a vehicle to implement a corresponding vehicle function;
the simulation running unit 104 is configured to load the vehicle application file into a virtual vehicle model preset in the cloud simulator, so that the virtual vehicle model is simulated to run based on the vehicle application file to simulate a corresponding vehicle function;
the second obtaining unit 106 is configured to obtain the simulated operation data output by the cloud simulator, where the simulated operation data is used to instruct the virtual vehicle model to simulate operation based on the vehicle application file so as to simulate an operation state when the corresponding vehicle function is simulated.
According to the vehicle function simulation scheme, the cloud server with the cloud simulator is applied to the cloud server, the vehicle application files for realizing the corresponding vehicle functions of the vehicle are obtained, then the vehicle application files are loaded into the virtual vehicle model preset in the cloud simulator, so that the virtual vehicle model is simulated to operate based on the vehicle application files to simulate the corresponding vehicle functions, finally the simulation operation data which are output by the cloud simulator and are used for indicating the operation state of the virtual vehicle model when the virtual vehicle model is simulated to operate based on the vehicle application files to simulate the corresponding vehicle functions are obtained, the cloud simulation of the vehicle functions can be realized, the corresponding data can be obtained, the basis is conveniently provided for debugging the vehicle functions, the simulation of the vehicle functions is not needed in a real vehicle, and the vehicle function simulation scheme is more convenient for users.
In some alternative embodiments, the simulation run unit 104 is specifically configured to: responding to a starting instruction of a user, starting the cloud simulator, and loading the preset virtual vehicle model; and responding to a running instruction of a user, and enabling the cloud simulator to load the vehicle application file into the preset virtual vehicle model so that the virtual vehicle model can simulate running based on the vehicle application file to simulate corresponding vehicle functions.
In some alternative embodiments, the vehicle application file is edited online by a user in a predetermined vehicle application editor; the first obtaining unit 102 is specifically configured to: and after the user finishes online editing of the vehicle application file, receiving the vehicle application file sent by the vehicle application editor.
In some optional embodiments, a plurality of function blocks corresponding to the vehicle functions are preset in the vehicle application editor; the vehicle application file is obtained by selecting at least one functional block from the vehicle application editor by a user and configuring the at least one functional block.
In some alternative embodiments, the vehicle function simulation device 100 is further configured to: and in the process of simulating and running the vehicle application file by the virtual vehicle model, displaying an animation picture when the virtual vehicle model is simulated and run based on the vehicle application file to simulate corresponding vehicle functions.
In some alternative embodiments, the virtual vehicle model can simulate operation based on vehicle application files corresponding to vehicles of multiple vehicle types.
In some alternative embodiments, the vehicle function simulation device 100 is further configured to: and outputting a log file describing at least one of simulated operation data, a simulated operation result and a simulated operation error when the virtual vehicle model is simulated to simulate a corresponding vehicle function based on the vehicle application file.
The vehicle function simulation device 100 of the embodiment of the present application and the vehicle function simulation method provided in the first aspect are based on the same inventive concept, and are used for implementing the corresponding vehicle function simulation method in the foregoing method embodiments, and have the beneficial effects of the corresponding method embodiments, which are not described herein again. In addition, the functional implementation of each module in the vehicle function simulation device 100 of the present embodiment may refer to the description of the corresponding parts in the foregoing method embodiments, and will not be repeated here.
According to a third aspect of embodiments of the present application, there is provided a processing unit comprising: the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; the memory is used for storing a computer program; the processor is configured to execute the vehicle function simulation method according to the foregoing first aspect by executing the computer program stored on the memory.
Fig. 3 shows a block diagram of an alternative electronic device in the present application. The embodiment of the present application is not limited to the specific implementation of the electronic device 300, and as an example, referring to fig. 3, the electronic device 300 provided in the embodiment of the present application includes: a processor (processor) 302, a communication interface (Communications Interface) 304, a memory (memory) 306, and a communication bus 308. Wherein:
processor 302, communication interface 304, and memory 306 perform communication with each other via communication bus 308.
Communication interface 304 for communicating with other electronic devices or servers.
Processor 302 is configured to execute computer program 310 and may specifically perform the relevant steps of any of the vehicle function simulation method embodiments described above.
In particular, the computer program 310 may include program code including computer operating instructions.
The processor 302 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present application. The one or more processors comprised by the smart device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
Memory 306 for storing computer programs 310. Memory 306 may comprise high-speed RAM memory or may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The computer program 310 may be specifically configured to cause the processor 302 to execute the vehicle function simulation method in any of the foregoing embodiments.
The specific implementation of each step in the computer program 310 may refer to corresponding descriptions in the corresponding steps and units in any of the foregoing vehicle function simulation method embodiments, which are not repeated herein. It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus and modules described above may refer to corresponding procedure descriptions in the foregoing method embodiments, which are not repeated herein.
The electronic device 300 in the embodiment of the present application is described in detail in the foregoing embodiment of the vehicle function simulation method, so that the related content and the beneficial effects thereof can be understood by referring to the foregoing embodiment of the method, and will not be described herein again.
According to a fourth aspect of embodiments of the present application, there is provided a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the vehicle function simulation method according to the first aspect.
According to a fifth aspect of embodiments of the present application, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the vehicle function simulation method according to the first aspect.
The embodiments of the electronic device 300/computer storage medium/computer program product in the embodiments of the present application are described in detail in the foregoing embodiments of the vehicle function simulation method, so that the relevant content and the beneficial effects thereof can be understood by referring to the foregoing embodiments of the method, and will not be described in detail herein.
It should be noted that, according to implementation requirements, each component/step described in the embodiments of the present application may be split into more components/steps, and two or more components/steps or part of operations of the components/steps may be combined into new components/steps, so as to achieve the purposes of the embodiments of the present application.
The above-described methods according to embodiments of the present application may be implemented in hardware, firmware, or as software or computer code storable in a recording medium such as a CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium and to be stored in a local recording medium downloaded through a network, so that the methods described herein may be stored on such software processes on a recording medium using a general purpose computer, special purpose processor, or programmable or special purpose hardware such as an ASIC or FPGA. It is understood that a computer, processor, microprocessor controller, or programmable hardware includes a storage component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code that, when accessed and executed by a computer, processor, or hardware, performs the methods described herein. Furthermore, when a general purpose computer accesses code for implementing the methods illustrated herein, execution of the code converts the general purpose computer into a special purpose computer for performing the methods illustrated herein.
Those of ordinary skill in the art will appreciate that the elements and method steps of the examples described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or as a combination 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 solution. 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 embodiments of the present application.
The above embodiments are only for illustrating the embodiments of the present application, but not for limiting the embodiments of the present application, and various changes and modifications can be made by one skilled in the relevant art without departing from the spirit and scope of the embodiments of the present application, so that all equivalent technical solutions also fall within the scope of the embodiments of the present application, and the scope of the embodiments of the present application should be defined by the claims.

Claims (10)

1. The vehicle function simulation method is characterized by being applied to a cloud server, wherein the cloud server is provided with a cloud simulator, and the method comprises the following steps:
obtaining a vehicle application file, wherein the vehicle application file is used for a vehicle to realize corresponding vehicle functions;
loading the vehicle application file into a virtual vehicle model preset in a cloud simulator, so that the virtual vehicle model operates in a simulation mode based on the vehicle application file to simulate corresponding vehicle functions;
and obtaining simulation operation data output by the cloud simulator, wherein the simulation operation data are used for indicating the virtual vehicle model to simulate operation based on the vehicle application file so as to simulate the operation state of corresponding vehicle functions.
2. The method of claim 1, wherein loading the vehicle application file into a virtual vehicle model preset in a cloud simulator to cause the virtual vehicle model to simulate operation based on the vehicle application file to simulate corresponding vehicle functions comprises:
responding to a starting instruction of a user, starting the cloud simulator, and loading the preset virtual vehicle model;
and responding to a running instruction of a user, and enabling the cloud simulator to load the vehicle application file into the preset virtual vehicle model so that the virtual vehicle model can simulate running based on the vehicle application file to simulate corresponding vehicle functions.
3. The method of claim 1, wherein the vehicle application file is edited online by a user in a predetermined vehicle application editor;
the obtaining the vehicle application file includes:
and after the user finishes online editing of the vehicle application file, receiving the vehicle application file sent by the vehicle application editor.
4. A method according to claim 3, wherein a plurality of function blocks corresponding to vehicle functions are preset in the vehicle application editor;
the vehicle application file is obtained by selecting at least one functional block from the vehicle application editor by a user and configuring the at least one functional block.
5. The method according to any one of claims 1-4, further comprising:
and in the process of simulating and running the vehicle application file by the virtual vehicle model, displaying an animation picture when the virtual vehicle model is simulated and run based on the vehicle application file to simulate corresponding vehicle functions.
6. The method of any one of claims 1-4, wherein the virtual vehicle model is capable of simulated operation based on vehicle application files corresponding to vehicles of multiple vehicle types.
7. The method according to any one of claims 1-4, further comprising:
and outputting a log file describing at least one of simulated operation data, a simulated operation result and a simulated operation error when the virtual vehicle model is simulated to simulate a corresponding vehicle function based on the vehicle application file.
8. The utility model provides a vehicle function simulation device, its characterized in that, the device is applied to the high in the clouds server, high in the clouds server carries on high in the clouds simulator, the device includes:
the first obtaining unit is used for obtaining a vehicle application file, wherein the vehicle application file is used for realizing corresponding vehicle functions by a vehicle;
the simulation running unit is used for loading the vehicle application file into a virtual vehicle model preset in the cloud simulator so that the virtual vehicle model can simulate running based on the vehicle application file to simulate corresponding vehicle functions;
the second obtaining unit is used for obtaining the operation data output by the cloud simulator, wherein the operation data are used for indicating the virtual vehicle model to simulate operation based on the vehicle application file so as to simulate the operation state of corresponding vehicle functions.
9. An electronic device, comprising: the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor being adapted to perform the method of any of claims 1-7 by running the computer program stored on the memory.
10. A computer storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, implements the method according to any of claims 1-7.
CN202310500384.2A 2023-05-04 2023-05-04 Vehicle function simulation method and device, electronic equipment and storage medium Pending CN116542047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310500384.2A CN116542047A (en) 2023-05-04 2023-05-04 Vehicle function simulation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310500384.2A CN116542047A (en) 2023-05-04 2023-05-04 Vehicle function simulation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116542047A true CN116542047A (en) 2023-08-04

Family

ID=87457193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310500384.2A Pending CN116542047A (en) 2023-05-04 2023-05-04 Vehicle function simulation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116542047A (en)

Similar Documents

Publication Publication Date Title
CN109740222B (en) Testing device and system for automobile networking scene
CN108733738B (en) Page loading method, system, server and terminal
CN109460232B (en) Method for manufacturing and monitoring configuration page
CN110928567A (en) Vehicle system upgrading method, terminal device and computer-readable storage medium
CN108345265B (en) Programming method of hardware device, visual programming platform, memory and processor
CN111200535A (en) Simulation system and method for equipment
WO2022120717A1 (en) Simulation task scheduling method, execution method, simulation implementation method and device
CN107239309B (en) Patch generation method and device, updating method, electronic device and storage medium
CN110737557A (en) Debugging method and device of electronic control unit, electronic equipment and storage medium
CN111752538B (en) Method and device for generating vehicle end scene, cloud end, vehicle end and storage medium
CN108038241A (en) Integrated WEB visual workflows method, apparatus, readable storage medium storing program for executing and system
CN109783374A (en) Code process method, apparatus, equipment and the computer storage medium in automatic Pilot field
CN110806922B (en) Script execution method, device, equipment and storage medium
CN114020400A (en) NoVNC-based remote virtual simulation method, system, device and medium
CN112148241A (en) Light processing method and device, computing equipment and storage medium
CN113392027A (en) Compatibility testing method and system for mobile terminal application and electronic equipment
CN116542047A (en) Vehicle function simulation method and device, electronic equipment and storage medium
CN115658201A (en) Method, device, equipment and medium for generating vehicle-mounted display picture
CN115203019A (en) Performance test method, device and equipment of GPU (graphics processing Unit) server and storage medium
CN112233208B (en) Robot state processing method, apparatus, computing device and storage medium
CN112328277B (en) Resource updating method and device of application and server
US11662985B2 (en) Vehicle developer systems, methods and devices
CN116389801B (en) Multi-terminal integrated cloud streaming client implementation method
US20230281354A1 (en) System and method for providing autonomous driving simulation architecture with switchable models
CN111803939B (en) Image rendering method and device and electronic equipment

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