CN114594751A - Vehicle function testing method, device, equipment and computer readable storage medium - Google Patents

Vehicle function testing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN114594751A
CN114594751A CN202210191647.1A CN202210191647A CN114594751A CN 114594751 A CN114594751 A CN 114594751A CN 202210191647 A CN202210191647 A CN 202210191647A CN 114594751 A CN114594751 A CN 114594751A
Authority
CN
China
Prior art keywords
signal
vehicle
analog signal
testing
controller
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
CN202210191647.1A
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.)
Beijing Wutong Chelian Technology Co Ltd
Original Assignee
Beijing Wutong Chelian 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 Beijing Wutong Chelian Technology Co Ltd filed Critical Beijing Wutong Chelian Technology Co Ltd
Priority to CN202210191647.1A priority Critical patent/CN114594751A/en
Publication of CN114594751A publication Critical patent/CN114594751A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application discloses a method, a device and equipment for testing vehicle functions and a computer readable storage medium, and belongs to the technical field of vehicle networking. The method comprises the following steps: acquiring a first analog signal for testing a target function of a vehicle; converting the first analog signal into a first Controller Area Network (CAN) signal under a CAN protocol used by the vehicle; sending a first CAN signal to a controller corresponding to a target function in a vehicle, wherein the first CAN signal is used for indicating the controller to perform corresponding action; and the receiving controller is used for converting a second CAN signal fed back after executing a corresponding action based on the first CAN signal into a second analog signal, and the second analog signal is used for determining a result of testing the target function. By the method, when the vehicles using different CAN protocols are tested, the test of the vehicle functions and the determination of the test result CAN be completed according to the analog signals, and the efficiency of testing the vehicle functions is improved.

Description

Vehicle function testing method, device, equipment and computer readable storage medium
Technical Field
The embodiment of the application relates to the technical field of vehicle networking, in particular to a method, a device and equipment for testing vehicle functions and a computer readable storage medium.
Background
With the development of the car networking technology, the testing of the vehicle functions becomes more convenient, and the vehicle functions can be tested from the condition that a real car needs to be directly utilized to test the vehicle functions to the condition that the real car does not exist.
The functions integrated in the vehicle are usually implemented by a corresponding control unit in the vehicle. In the related art, when testing the vehicle function, a first Controller Area Network (CAN) signal is simulated by using a device for simulating a CAN signal, and then the first CAN signal is sent to a vehicle machine corresponding to the vehicle. And after the vehicle machine receives the first CAN signal, the first CAN signal is sent to a corresponding controller in the vehicle. And the controller executes the action indicated by the first CAN signal after receiving the first CAN signal and feeds back a second CAN signal carrying an execution result to the vehicle machine. And then, determining whether the corresponding function of the vehicle is normal or not according to the second CAN signal received by the vehicle machine.
However, the different CAN protocols used by vehicles produced by different factories are different, so that when the CAN signals are simulated and whether the corresponding functions are normal or not is determined based on the CAN signals fed back by the controller, the CAN protocols used by the vehicles need to be compared in detail, and the efficiency of testing the functions of the vehicles produced by different factories is reduced.
Disclosure of Invention
The embodiment of the application provides a method, a device and equipment for testing vehicle functions and a computer readable storage medium, which can be used for solving the problems in the related art. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a method for testing a vehicle function, where the method includes:
acquiring a first analog signal for testing a target function of a vehicle;
converting the first analog signal into a first Controller Area Network (CAN) signal under a CAN protocol used by the vehicle;
sending the first CAN signal to a controller corresponding to the target function in the vehicle, wherein the first CAN signal is used for indicating the controller to perform corresponding action;
and receiving a second CAN signal fed back after the controller executes a corresponding action based on the first CAN signal, and converting the second CAN signal into a second analog signal, wherein the second analog signal is used for determining a result of testing the target function.
In one possible implementation manner, before converting the first analog signal into a first CAN signal under a controller area network CAN protocol used by the vehicle, the method further includes: and determining the CAN protocol used by the vehicle according to the configuration result.
In one possible implementation manner, before converting the first analog signal into a first CAN signal under a controller area network CAN protocol used by the vehicle, the method further includes: acquiring at least one CAN signal generated by the vehicle; matching at least one CAN signal generated by the vehicle with CAN signals under each CAN protocol to obtain a matching result; in response to the match result indicating that the at least one CAN signal is included in CAN signals under a target CAN protocol, determining the target CAN protocol as the CAN protocol used by the vehicle.
In one possible implementation, the obtaining a first analog signal for testing a target function of a vehicle includes: receiving the first analog signal sent by a cloud terminal.
In a possible implementation manner, after the converting the second CAN signal into a second analog signal, the method further includes: and sending the second analog signal to a cloud end, wherein the second analog signal is used for the cloud end to determine a result of testing the target function.
In a possible implementation manner, after converting the second CAN signal into a second analog signal, the method further includes: sending the second analog signal to a target application program, so that the target application program updates the state of the vehicle based on a test result corresponding to the second analog signal; wherein the target application provides a corresponding service based on the current state of the vehicle, the target application being integrated with a function of recognizing an analog signal.
In another aspect, there is provided a vehicle function testing apparatus, the apparatus comprising:
the system comprises an acquisition module, a detection module and a control module, wherein the acquisition module is used for acquiring a first analog signal for testing a target function of a vehicle;
the conversion module is used for converting the first analog signal into a first CAN signal under a controller area network CAN protocol used by the vehicle;
the transmission module is used for transmitting the first CAN signal to a controller corresponding to the target function in the vehicle, and the first CAN signal is used for indicating the controller to perform corresponding action;
the transmission module is further used for receiving a second CAN signal fed back by the controller after the controller executes a corresponding action based on the first CAN signal;
the conversion module is further configured to convert the second CAN signal into a second analog signal, where the second analog signal is used to determine a result of testing the target function.
In a possible implementation manner, the conversion module is further configured to determine a CAN protocol used by the vehicle according to a configuration result.
In a possible implementation manner, the conversion module is further configured to acquire at least one CAN signal generated by the vehicle; matching at least one CAN signal generated by the vehicle with CAN signals under each CAN protocol to obtain a matching result; and in response to the matching result indicating that the at least one CAN signal is contained in CAN signals under a target CAN protocol, determining the target CAN protocol as the CAN protocol used by the vehicle.
In a possible implementation manner, the obtaining module is configured to receive the first analog signal sent by a cloud.
In a possible implementation manner, the transmission module is further configured to send the second analog signal to a cloud, where the second analog signal is used by the cloud to determine a result of testing the target function.
In a possible implementation manner, the transmission module is further configured to send the second analog signal to a target application program, so that the target application program updates the state of the vehicle based on a test result corresponding to the second analog signal; wherein the target application provides a corresponding service based on the current state of the vehicle, the target application being integrated with a function of recognizing an analog signal.
In another aspect, a computer device is provided, which includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded by the processor and executed to enable the computer device to implement any one of the above-mentioned vehicle function testing methods.
In another aspect, a computer-readable storage medium is provided, in which at least one computer program is stored, and the at least one computer program is loaded and executed by a processor, so as to make a computer implement any one of the above-mentioned vehicle function testing methods.
In another aspect, a computer program product is provided, which includes a computer program or computer instructions, which is loaded and executed by a processor, so as to make a computer implement any of the above-mentioned vehicle function testing methods.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
according to the technical scheme, the CAN signals and the analog signals which CAN be identified by the vehicle are converted, so that the vehicle function CAN be tested only according to the analog signals when the vehicle using different CAN protocols is tested, the test result is determined, the CAN signals under different CAN protocols do not need to be concerned, and the efficiency of testing the vehicle function is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating a method for testing vehicle functions according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of an implementation environment provided by an embodiment of the present application;
FIG. 3 is a flow chart of a method for testing vehicle functions according to an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart illustrating another method for testing vehicle functions provided by embodiments of the present application;
FIG. 5 is a schematic view of a vehicle function testing device provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a server provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It is noted that the terms "first," "second," and the like (if any) in the description and claims of this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data for analysis, stored data, presented data, etc.), and signals referred to in this application are authorized by the user or sufficiently authorized by various parties, and the collection, use, and processing of the relevant data is required to comply with relevant laws and regulations and standards in relevant countries and regions. For example, the CAN signals referred to in this application are all acquired under full authorization.
With the development of the internet of vehicles, the function of the vehicle is more conveniently tested, and the function of the vehicle can be remotely tested by directly testing the real vehicle in a short distance from the requirement.
As shown in fig. 1, in the related art, when testing the functions of a vehicle, a tester needs to determine a CAN protocol used by the vehicle to be tested, then use a corresponding simulation device 11 to simulate a test CAN signal corresponding to the CAN protocol for testing the functions of the vehicle, and then use the simulation device 11 to send the test CAN signal to a terminal 12 corresponding to the vehicle to be tested. When the terminal 12 receives the test CAN signal, the test CAN signal is sent to the corresponding controller 13 in the vehicle, and the controller 13 executes the action indicated by the test CAN signal after receiving the test CAN signal and feeds back the action to the terminal 12, wherein the feedback CAN signal carries the execution result. The terminal 12 receives the feedback CAN signal and then sends the feedback CAN signal to the simulation device 11, and the tester CAN determine whether the corresponding function in the vehicle is normal according to the feedback CAN signal received by the simulation device.
However, the different CAN protocols used by vehicles produced by different factories are different, so that when the CAN signals are simulated and whether the corresponding functions are normal or not is determined based on the CAN signals fed back by the controller, the CAN protocols used by the tested vehicles need to be compared in detail, and the efficiency of testing the functions of the vehicles produced by different factories is reduced.
Moreover, when some products developed aiming at the CAN protocol are applied, products of different versions need to be correspondingly developed because of different CAN protocols used by different vehicles, and the development cost of the products is increased.
In view of the above, the embodiment of the present application provides a method for testing a vehicle function, which converts a CAN signal representing the same information under different CAN protocols into the same analog signal, so that when testing the vehicle function, the problem that different CAN protocols need to be compared when testing the function of a vehicle using different CAN protocols in the related art is solved. In order to realize the conversion from the CAN signal to the analog signal subsequently, the terminal CAN store the corresponding relation between the CAN signal and the analog signal under different CAN protocols in advance.
For example, under the first CAN protocol, the CAN signal for instructing the controller to open the door is 0001; under a second CAN protocol, a CAN signal for indicating the controller to open the vehicle door is A0001; under the third CAN protocol, a CAN signal for indicating the controller to open the vehicle door is 0001A. The three CAN signals belong to CAN signals representing the same information under different CAN protocols, and are all converted with MN 0001. At this time, when the door opening functions of the vehicles using the first to third CAN protocols are tested, the signals CAN be converted into analog signals MN 0001.
Please refer to fig. 2, which illustrates a schematic diagram of an implementation environment provided by an embodiment of the present application. The implementation environment may include: a terminal 21 and a server 22. The server 22 may generate an analog signal, and may receive an analog signal transmitted from the terminal 21. The terminal 21 can receive the analog signal transmitted from the server 22. Alternatively, the terminal 21 may autonomously generate an analog signal. The terminal 21 CAN convert the analog signal into a CAN signal under a CAN protocol used by the vehicle under test, and CAN convert the CAN signal sent by the vehicle under test into the analog signal, and the terminal 21 CAN send the CAN signal to the controller and also CAN receive the CAN signal fed back by the controller.
In a possible implementation, the server 22 has the functions of the terminal 21 described above, and is capable of converting between a CAN signal and an analog signal.
Alternatively, the terminal 21 may be any electronic product capable of performing man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, voice interaction or handwriting equipment, for example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet Computer, a smart car, a vehicle-mounted terminal, and the like. The server 22 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. The terminal 21 establishes a communication connection with the server 22 through a wired or wireless network.
It should be understood by those skilled in the art that the terminal 21 and the server 22 are only examples, and other existing or future terminals or servers may be suitable for the present application, and are included within the scope of the present application and are herein incorporated by reference.
Based on the implementation environment shown in fig. 2, the embodiment of the present application provides a method for testing a vehicle function, which is applied to the terminal 21 as an example. As shown in fig. 3, the method for testing vehicle functions provided by the embodiment of the present application may include the following steps 301 to 304.
Step 301, a first analog signal for testing a target function of a vehicle is acquired.
In an exemplary embodiment, the terminal is bound to a vehicle under test, and the terminal is configured in the vehicle under test so that the terminal CAN send and receive CAN signals fed back by the controller to the controller in the vehicle. In some embodiments, in remotely testing the functionality of the vehicle, a first analog signal for testing a target functionality of the vehicle is generated by a device other than the terminal, after which the first analog signal is sent to the terminal by the device generating the first analog signal. In some embodiments, the first analog signal is generated by a cloud. At this time, acquiring a first analog signal for testing a target function of the vehicle includes: receiving a first analog signal sent by a cloud terminal.
How the cloud generates the first analog signal is not limited in the embodiments of the present application. The cloud end is provided with an input box, and when the cloud end detects that the content used for instructing the cloud end to generate the first analog signal is input into the input box, the first analog signal is correspondingly generated. Optionally, the input mode corresponding to the input box may be at least one of text input and voice input.
For example, when the input mode corresponding to the input box is text input, the vehicle function tester directly inputs a text with the same content as the first analog signal into the input box, and the cloud end generates a corresponding first analog signal after detecting the text. For another example, the input mode corresponding to the input box is text input, the vehicle function tester inputs a text for indicating generation of the first analog signal into the input box, the cloud determines an intention of the text expression based on the intention recognition model after detecting the text, and then generates a corresponding first analog signal based on the intention of the text expression. The intention recognition model is added, so that a vehicle function tester can directly input text content to generate the first analog signal, the condition that the vehicle function tester needs to memorize the content of the first analog signal is avoided, and the efficiency is improved.
For example, when the input mode corresponding to the input box is voice input, firstly, the voice is converted into corresponding text content based on the voice recognition model, and then, a corresponding first analog signal is generated based on the text. In this case, the mode of generating the first analog signal based on the text converted by the speech is the same as the mode of generating the first analog signal when the text is directly input to the input box. The voice input mode makes the vehicle function tester more convenient when inputting the first analog signal.
In some embodiments, the content input to the input box is the same text content as the first analog signal, and generating the first analog signal based on the text content includes: matching the text content with each analog signal stored in an analog signal library at the cloud end to obtain a matching result; and acquiring an analog signal which is indicated by the matching result and is consistent with the text content.
In some embodiments, the content input to the input box is text indicating generation of the first analog signal, at which time the first analog signal is generated based on the text content, including: determining an intent of the textual expression based on an intent recognition model; a corresponding virtual signal is retrieved from a library of virtual signals based on the intent.
In another exemplary embodiment, the input box provided by the cloud end corresponds to a plurality of test options, each test option corresponds to one first analog signal, and when the cloud end detects that any one test option is selected, the cloud end generates the first analog signal corresponding to the any one test option. Optionally, the selection mode corresponding to the test option includes: at least one of a voice selection and a click selection. The voice selection is to detect the voice content of the serial number corresponding to any one test option by the cloud and determine that the any one test option is selected. And clicking selection is to detect that the display content corresponding to any test option is clicked by the cloud, and determine that any test option is selected.
After the cloud generates the first analog signal, the first analog signal is sent to the terminal based on the identification of the terminal, and after the terminal receives the first analog signal sent by the cloud, the acquisition of the first analog signal for testing the target function of the vehicle is correspondingly completed. Optionally, the identifier of the terminal is a VIN (Vehicle Identification Number) of the terminal.
In some embodiments, the first analog signal is generated directly by the terminal, and the manner of generating the first analog signal is consistent with the manner of generating the first analog signal by the cloud, i.e., the terminal is provided with an input box. At this time, acquiring a first analog signal for testing a target function of the vehicle includes: content instructing generation of the first analog signal is acquired based on the input box, and a corresponding first analog signal is generated based on the content.
Step 302, converting the first analog signal into a first CAN signal under a CAN protocol used by the vehicle.
In an exemplary embodiment, the terminal CAN convert CAN signals representing the same information under different CAN protocols into the same analog signal based on the correspondence between the CAN signals and the analog signal. For example, the vehicle uses a CAN protocol of a first factory, a CAN signal for opening a door is 0001, and after receiving the CAN signal, the terminal outputs an analog signal of MN0001 based on a correspondence between the CAN signal and the analog signal; or the vehicle uses a CAN protocol of a second factory, the CAN signal for opening the door is A0001, and the analog signal output based on the corresponding relation between the CAN signal and the analog signal is MN0001 after the terminal receives the CAN signal; or the vehicle uses a CAN protocol of a third vehicle factory, the CAN signal for opening the door is 0001A, and after the terminal receives the CAN signal, the analog signals output based on the correspondence between the CAN signal and the analog signals are all MN 0001.
In an exemplary embodiment, the terminal is further capable of converting the analog signal into a CAN signal recognizable by the vehicle to be tested based on a correspondence relationship between the CAN signal and the analog signal. Still by way of example, the protocol used by the vehicle to be tested is a protocol corresponding to the second factory, when the vehicle is subjected to the door opening test, the first analog signal received by the terminal is MN0001, and then MN0001 is converted into a CAN signal that CAN be recognized by the vehicle to be tested: A0001.
the embodiment of the present application is not limited to the encoding method of the analog signal, and all the CAN signals corresponding to the CAN protocols of each vehicle factory CAN be converted into the unique corresponding analog signal. For example, since the number of CAN signals corresponding to each CAN protocol is determined and the information represented by each CAN signal is determined, the number of CAN signals representing different information CAN be summarized according to the CAN signals corresponding to the CAN protocols used by the respective factories. For example, the first CAN protocol corresponds to 7 CAN signals, CAN11-CAN17 respectively, and the second CAN protocol corresponds to 5 CAN signals, CAN21-CAN25 respectively, wherein the information represented by CAN11 and CAN21 is the same, and the information represented by CAN12 and CAN22 is the same. Thus, 10 CAN signals representing different information CAN be summarized according to the first and second CAN protocols. After the number of CAN signals representing different information is obtained, the minimum number of bits required for encoding of the analog signal CAN be determined. For example, if the number of the CAN signals representing different information is 900, the minimum number of bits required for encoding the analog signal is 3, i.e., 000-999, thereby ensuring that the CAN signals representing different information correspond to the analog signal one-to-one.
For example, if the number of the CAN signals representing different information is 2000 according to the CAN signals corresponding to the CAN protocol used by each car manufacturer, the encoding mode of the analog signal is MN0001-MN 2000.
In some embodiments, the terminal is capable of performing a function of converting the analog signal and the CAN signal to each other based on the application conversion program. The conversion application program CAN complete the mutual conversion between the analog signal and the CAN signal based on the corresponding relation between the CAN signal and the analog signal. And the corresponding relation between the analog signal and the CAN signal is stored in the terminal. For example, CAN signals representing information to open a vehicle door include: CAN signal 0001 under CAN protocol used by the first vehicle factory; a CAN signal a0001 under a CAN protocol used by the second plant; CAN signal 0001A under the CAN protocol used by the third vehicle factory. The three CAN signals all correspond to the analog signal MN 0001. The conversion application can convert MN0001 into 0001, or a0001, or 0001A using the correspondence. And the conversion application can also convert any one of 0001, a0001, 0001A into MN0001 using the correspondence.
In some embodiments, it is desirable to determine which CAN protocol is used by the vehicle before converting the first analog signal to a first CAN signal under the CAN protocol used by the vehicle. The embodiments of the present application are not limited with respect to how the CAN protocol used by the vehicle is determined.
Optionally, after the CAN protocol used by the vehicle is manually determined, the terminal may be configured accordingly, and after the terminal detects the configuration result, the CAN protocol used by the vehicle is determined based on the configuration result. In an exemplary embodiment, when the function of converting the analog signal and the CAN signal to each other is implemented based on a conversion application, the terminal is configured accordingly, including: the conversion application is configured to convert the analog signal to a CAN signal under a CAN protocol. At this time, after the terminal detects the configuration result, the CAN protocol corresponding to the CAN signal converted from the analog signal is determined to be the CAN protocol used by the vehicle. In this case, before converting the first analog signal into the first CAN signal under the CAN protocol used by the vehicle, the method further includes: and determining the CAN protocol used by the vehicle according to the configuration result.
It should be noted that, a corresponding CAN protocol is selected in the conversion application program, and the terminal CAN determine the CAN protocol used by the vehicle after detecting that the CAN protocol is selected. And then, after the terminal receives the analog signal, the received analog signal is converted into a CAN signal corresponding to the CAN protocol.
In another exemplary embodiment, after receiving at least one CAN signal sent by the vehicle, the terminal matches the received at least one CAN signal with CAN signals under various CAN protocols, and determines the CAN protocol successfully matched with the received at least one CAN signal as the CAN protocol used by the vehicle. At this time, before converting the first analog signal into the first CAN signal under the CAN protocol used by the vehicle, the method further includes: acquiring at least one CAN signal generated by a vehicle; matching at least one CAN signal generated by the vehicle with CAN signals under each CAN protocol to obtain a matching result; and determining the target CAN protocol as the CAN protocol used by the vehicle in response to the matching result indicating that at least one CAN signal is contained in the CAN signals under the target CAN protocol.
And 303, sending a first CAN signal to a controller corresponding to the target function in the vehicle, wherein the first CAN signal is used for indicating the controller to perform corresponding action.
In some embodiments, when the vehicle is controlled, the corresponding analog signal needs to be converted into a CAN signal that CAN be recognized by a controller in the vehicle, that is, the CAN signal that CAN be recognized by the vehicle, and then the CAN signal is sent to the controller to instruct the controller to perform a corresponding action. For example, when an air conditioner in a vehicle is started, after an air conditioner start key in the vehicle is pressed, a terminal detects a signal generated by pressing the air conditioner start key, converts the signal into a CAN signal which CAN be recognized by the vehicle, and sends the CAN signal for starting the air conditioner to a corresponding controller so as to instruct the controller to start the air conditioner.
In the case of testing the function of the vehicle, CAN signals are likewise sent to the respective controllers. For example, the first CAN signal is a signal for opening a sunroof, and the terminal sends the first CAN signal to a controller for controlling opening of the sunroof, so as to test a sunroof opening function of the vehicle.
And 304, receiving a second CAN signal fed back after the controller executes a corresponding action based on the first CAN signal, and converting the second CAN signal into a second analog signal, wherein the second analog signal is used for determining a result of testing the target function.
Generally, a controller in a vehicle generates a CAN signal for feeding back an action execution result after executing the action, and the controller transmits the CAN signal to a terminal bound with the vehicle through a CAN bus in the vehicle. In the embodiment of the application, after receiving the first CAN signal, the controller corresponding to the tested vehicle function performs a corresponding action based on the first CAN signal, and generates a second CAN signal after executing the action indicated by the first CAN signal, and sends the second CAN signal to the terminal through the CAN bus in the vehicle. And after receiving a second CAN signal fed back by the controller, the terminal converts the second CAN signal into a second analog signal. Illustratively, converting the second CAN signal to a second analog signal includes: the second CAN signal is converted into a second analog signal based on a correspondence between the analog signal and the CAN signal, wherein the correspondence between the analog signal and the CAN signal is stored in the terminal.
For example, the target function is a door opening function of the vehicle, in a CAN protocol of a first vehicle factory, a second CAN signal fed back by the controller after the controller successfully opens the door is 10001, and a second CAN signal fed back by the controller after the controller fails to successfully open the door is 00001; in a CAN protocol of a second vehicle factory, a second CAN signal fed back by the controller after the controller successfully opens the vehicle door is A10001, and a second CAN signal fed back by the controller after the controller fails to open the vehicle door is A00001; in the CAN protocol of the third car factory, the second CAN signal fed back by the controller after the controller successfully opens the car door is 10001A, and the second CAN signal fed back by the controller after the controller fails to successfully open the car door is 00001A. After the terminal receives any one of the three second CAN signals fed back after the door of the vehicle is opened successfully, the second analog signals output according to the corresponding relation between the analog signals and the CAN signals are all MN10001, and after the terminal receives any one of the three second CAN signals fed back after the door of the vehicle is not opened successfully, the second analog signals output according to the corresponding relation between the analog signals and the CAN signals are all MN 00001.
In some embodiments, in order for a vehicle function tester testing the functions of the vehicle to obtain the test result, the terminal needs to send a second analog signal to the cloud. Thus, after converting the second CAN signal into the second analog signal, the method further includes: and sending the second analog signal to the cloud end, wherein the second analog signal is used for determining a result of testing the target function by the cloud end.
Since one analog signal corresponds to CAN signals representing the same information under different CAN protocols, each analog signal represents one information. Still referring to the above example, the second analog signal MN10001 corresponds to a second CAN signal under a different CAN protocol indicating that the door is successfully opened, and thus the second analog signal MN10001 indicates that the door is successfully opened. The second analog signal MN00001 corresponds to a second CAN signal representing information that the door was not successfully opened under a different CAN protocol, and thus the information represented by the second analog signal MN00001 represents that the door was not successfully opened. Therefore, when the second analog signal received by the cloud is MN10001, the vehicle function tester can determine that the door opening function of the vehicle to be tested is normal according to MN 10001; when the second analog signal received by the cloud end is MN00001, the vehicle function tester can determine that the opening function of the vehicle door of the tested vehicle is abnormal according to MN 00001.
In some embodiments, a target application that needs to provide a corresponding service according to the current state of the vehicle is installed in the terminal, for example, a vehicle setting application, and in order to facilitate a user to set the vehicle, the vehicle setting application will generally display the current state of the vehicle through a display device of the terminal.
Such target applications that need to provide corresponding services according to the current state of the vehicle usually update the vehicle state determination by the CAN signal fed back to the terminal after the vehicle state changes. For example, after the door of the vehicle is opened, the target application updates the identification of the sunroof from closed to open according to the CAN signal generated after the sunroof is opened.
However, because the CAN protocols used by vehicles produced by different vehicle factories are different, if the same target application program is used in terminals corresponding to vehicles using different CAN protocols, multiple versions need to be developed correspondingly, so that the target application programs of different versions CAN recognize CAN signals under different CAN protocols, and the development cost for developing the target application programs of multiple versions is high. For the problem, the function of identifying the analog signal CAN be directly integrated in the target application program, so that the target application program CAN identify the analog signal, and then the identification of the vehicle state CAN be updated based on the analog signal, thereby avoiding the target application program from needing to develop various versions which are suitable for different CAN protocols.
Thus, in an exemplary embodiment, after converting the second CAN signal to the second analog signal, the method further includes: sending the second analog signal to the target application program so that the target application program updates the state of the vehicle based on the test result corresponding to the second analog signal; wherein the target application provides a corresponding service based on the current state of the vehicle, and the target application is integrated with a function of recognizing the analog signal.
In an exemplary embodiment, based on the vehicle function testing method shown in fig. 3, a testing method in which a cloud terminal and a terminal interact to realize a vehicle function is taken as an example for description. As shown in FIG. 4, the process of testing the vehicle function includes, but is not limited to, the following steps 401-408.
401: the cloud end generates a first analog signal;
402: the cloud sends the first analog signal to the terminal;
403: the terminal converts the first analog signal into a first CAN signal;
404: the terminal sends the first CAN signal to the controller;
405: the controller executes corresponding actions according to the first CAN signal and then generates a second CAN signal;
406: the controller feeds back a second CAN signal to the terminal;
407: the terminal converts the second CAN signal into a second analog signal;
408: the terminal sends the second analog signal to the cloud end, and the terminal sends the second analog signal to the target application program.
In the embodiment of the application, the CAN signals which CAN be identified by the vehicle are converted with the analog signals, so that the testing of the vehicle functions CAN be completed only according to the analog signals when the vehicle using different CAN protocols is tested, and the testing result is determined without paying attention to the CAN signals under the different CAN protocols, and the efficiency of testing the vehicle functions is improved.
In another exemplary embodiment, the conversion between the analog signal and the CAN signal is completed in a cloud, the cloud sends the converted CAN signal to a terminal bound with a vehicle with a tested function, and the cloud receives the CAN signal sent by the terminal and CAN convert the received CAN signal into the analog signal. When conversion between analog signal and the CAN signal is accomplished in the high in the clouds, the terminal that CAN not bind with the vehicle possesses the function of conversion between analog signal and the CAN signal, only need the high in the clouds possess with the function of conversion between analog signal and the CAN signal CAN, further raise the efficiency.
Referring to fig. 5, an embodiment of the present application provides a vehicle function testing apparatus, including:
an obtaining module 501, configured to obtain a first analog signal for testing a target function of a vehicle;
a conversion module 502, configured to convert the first analog signal into a first CAN signal under a controller area network CAN protocol used by the vehicle;
the transmission module 503 is configured to send a first CAN signal to a controller corresponding to a target function in a vehicle, where the first CAN signal is used to instruct the controller to perform a corresponding action;
the transmission module 503 is further configured to receive a second CAN signal fed back by the controller after executing a corresponding action based on the first CAN signal;
the conversion module 502 is further configured to convert the second CAN signal into a second analog signal, where the second analog signal is used to determine a result of testing the target function.
In a possible implementation manner, the conversion module 502 is further configured to determine a CAN protocol used by the vehicle according to the configuration result.
In one possible implementation, the conversion module 502 is further configured to obtain at least one CAN signal generated by the vehicle; matching at least one CAN signal generated by the vehicle with CAN signals under each CAN protocol to obtain a matching result; and determining the target CAN protocol as the CAN protocol used by the vehicle in response to the matching result indicating that at least one CAN signal is contained in the CAN signals under one target CAN protocol.
In one possible implementation manner, the obtaining module 501 is configured to receive a first analog signal sent from a cloud.
In a possible implementation manner, the transmission module 503 is further configured to send a second analog signal to the cloud, where the second analog signal is used for the cloud to determine a result of the test performed on the target function.
In a possible implementation manner, the transmission module 503 is further configured to send the second analog signal to the target application program, so that the target application program updates the state of the vehicle based on a test result corresponding to the second analog signal; wherein the target application provides a corresponding service based on the current state of the vehicle, and the target application is integrated with a function of recognizing the analog signal.
In the embodiment of the application, the CAN signals which CAN be identified by the vehicle are converted with the analog signals, so that the vehicle function CAN be tested only according to the analog signals when the vehicle using different CAN protocols is tested, and the test result is determined without paying attention to the CAN signals under the different CAN protocols, thereby improving the efficiency of testing the vehicle function.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 6 is a schematic structural diagram of a server according to an embodiment of the present application, where the server may generate a relatively large difference due to different configurations or performances, and may include one or more processors 601 and one or more memories 602, where the one or more memories 602 store at least one computer program, and the at least one computer program is loaded and executed by the one or more processors 601, so as to enable the server to implement the method for testing the vehicle functions provided by the various method embodiments. Illustratively, the processor 601 is a Central Processing Unit (CPU). Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application. The terminal may be: a smart phone, a tablet computer, an MP3(Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4) player, a notebook computer or a desktop computer. A terminal may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
Generally, a terminal includes: a processor 701 and a memory 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 702 may include one or more computer-readable storage media, which may be non-transitory. Memory 702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 702 is configured to store at least one instruction for execution by the processor 701 to cause the terminal to implement the method for testing vehicle functions provided by the method embodiments of the present application.
In some embodiments, the terminal may further include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707, a positioning component 708, and a power source 709.
The peripheral interface 703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 704 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or above the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, disposed on the front panel of the terminal; in other embodiments, the display 705 may be at least two, respectively disposed on different surfaces of the terminal or in a foldable design; in other embodiments, the display 705 may be a flexible display, disposed on a curved surface or a folded surface of the terminal. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, camera assembly 706 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones can be arranged at different parts of the terminal respectively. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 can also include a headphone jack.
The positioning component 708 is used to locate the current geographic Location of the terminal to implement navigation or LBS (Location Based Service). The Positioning component 708 can be a Positioning component based on the GPS (Global Positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
The power supply 709 is used to supply power to various components in the terminal. The power source 709 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When power supply 709 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal also includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the terminal. For example, the acceleration sensor 711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 701 may control the display screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 712 may detect a body direction and a rotation angle of the terminal, and the gyro sensor 712 may cooperate with the acceleration sensor 711 to acquire a 3D motion of the terminal by the user. The processor 701 may implement the following functions according to the data collected by the gyro sensor 712: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 713 may be disposed on the side frames of the terminal and/or underneath the display 705. When the pressure sensor 713 is arranged on the side frame of the terminal, a holding signal of a user to the terminal can be detected, and the processor 701 performs left-right hand identification or shortcut operation according to the holding signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at a lower layer of the display screen 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 714 is used for collecting a fingerprint of a user, and the processor 701 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 714 may be disposed on the front, back, or side of the terminal. When a physical key or a vendor Logo (trademark) is provided on the terminal, the fingerprint sensor 714 may be integrated with the physical key or the vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the display screen 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is adjusted down. In another embodiment, processor 701 may also dynamically adjust the shooting parameters of camera assembly 706 based on the ambient light intensity collected by optical sensor 715.
A proximity sensor 716, also known as a distance sensor, is typically provided on the front panel of the terminal. The proximity sensor 716 is used to collect the distance between the user and the front face of the terminal. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal gradually decreases, the processor 701 controls the display screen 705 to switch from the bright screen state to the dark screen state; when the proximity sensor 716 detects that the distance between the user and the front face of the terminal is gradually increased, the processor 701 controls the display 705 to switch from the rest state to the bright state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, a computer device is also provided, the computer device comprising a processor and a memory, the memory having at least one computer program stored therein. The at least one computer program is loaded and executed by one or more processors to cause the computer apparatus to implement any of the above-described vehicle function testing methods.
In an exemplary embodiment, a computer-readable storage medium is also provided, in which at least one computer program is stored, the at least one computer program being loaded and executed by a processor of a computer device to make the computer implement any of the above-mentioned vehicle function testing methods.
In one possible implementation, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product comprising a computer program or computer instructions, which is loaded and executed by a processor, to cause a computer to carry out any of the above-mentioned methods for testing vehicle functions.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method of testing vehicle functionality, the method comprising:
acquiring a first analog signal for testing a target function of a vehicle;
converting the first analog signal into a first Controller Area Network (CAN) signal under a CAN protocol used by the vehicle;
sending the first CAN signal to a controller corresponding to the target function in the vehicle, wherein the first CAN signal is used for indicating the controller to perform corresponding action;
and receiving a second CAN signal fed back after the controller executes a corresponding action based on the first CAN signal, and converting the second CAN signal into a second analog signal, wherein the second analog signal is used for determining a result of testing the target function.
2. The method of claim 1, wherein prior to converting the first analog signal to a first Controller Area Network (CAN) signal under a CAN protocol used by the vehicle, further comprising:
and determining the CAN protocol used by the vehicle according to the configuration result.
3. The method of claim 1, wherein prior to converting the first analog signal to a first Controller Area Network (CAN) signal under a CAN protocol used by the vehicle, further comprising:
acquiring at least one CAN signal generated by the vehicle;
matching at least one CAN signal generated by the vehicle with CAN signals under each CAN protocol to obtain a matching result;
and in response to the matching result indicating that the at least one CAN signal is contained in CAN signals under a target CAN protocol, determining the target CAN protocol as the CAN protocol used by the vehicle.
4. The method of any of claims 1-3, wherein said obtaining a first analog signal for testing a target function of a vehicle comprises:
receiving the first analog signal sent by a cloud terminal.
5. The method of any of claims 1-3, wherein after converting the second CAN signal to a second analog signal, further comprising:
and sending the second analog signal to a cloud end, wherein the second analog signal is used for the cloud end to determine a result of testing the target function.
6. The method of any of claims 1-3, wherein after converting the second CAN signal to a second analog signal, further comprising:
sending the second analog signal to a target application program, so that the target application program updates the state of the vehicle based on a test result corresponding to the second analog signal;
wherein the target application provides a corresponding service based on the current state of the vehicle, the target application being integrated with a function of recognizing an analog signal.
7. A vehicle function testing apparatus, the apparatus comprising:
the system comprises an acquisition module, a detection module and a control module, wherein the acquisition module is used for acquiring a first analog signal for testing a target function of a vehicle;
the conversion module is used for converting the first analog signal into a first CAN signal under a controller area network CAN protocol used by the vehicle;
the transmission module is used for transmitting the first CAN signal to a controller corresponding to the target function in the vehicle, and the first CAN signal is used for indicating the controller to perform corresponding action;
the transmission module is further used for receiving a second CAN signal fed back by the controller after the controller executes a corresponding action based on the first CAN signal;
the conversion module is further configured to convert the second CAN signal into a second analog signal, where the second analog signal is used to determine a result of testing the target function.
8. A computer device, characterized in that it comprises a processor and a memory, in which at least one computer program is stored, which is loaded and executed by the processor, so as to cause the computer device to implement a method for testing vehicle functions according to any one of claims 1 to 6.
9. A computer-readable storage medium, in which at least one computer program is stored, which is loaded and executed by a processor, to cause a computer to implement the method for testing vehicle functions according to any one of claims 1 to 6.
10. A computer program product, characterized in that it comprises a computer program or computer instructions which are loaded and executed by a processor to cause a computer to carry out a method of testing a vehicle function according to any one of claims 1 to 6.
CN202210191647.1A 2022-02-28 2022-02-28 Vehicle function testing method, device, equipment and computer readable storage medium Pending CN114594751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210191647.1A CN114594751A (en) 2022-02-28 2022-02-28 Vehicle function testing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210191647.1A CN114594751A (en) 2022-02-28 2022-02-28 Vehicle function testing method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114594751A true CN114594751A (en) 2022-06-07

Family

ID=81815673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210191647.1A Pending CN114594751A (en) 2022-02-28 2022-02-28 Vehicle function testing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114594751A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115629599A (en) * 2022-12-06 2023-01-20 蔚来汽车科技(安徽)有限公司 CAN bus simulation test method and system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006352201A (en) * 2005-06-13 2006-12-28 Fujitsu Ten Ltd Communication conversion control device
CN108303969A (en) * 2018-01-31 2018-07-20 广州汽车集团股份有限公司 The automatic test device of vehicle-mounted ECU
CN108667679A (en) * 2017-03-30 2018-10-16 长城汽车股份有限公司 A kind of conversion method and device
CN109491371A (en) * 2018-12-07 2019-03-19 天津津航计算技术研究所 A kind of device for On-board ATC system testing
CN110244693A (en) * 2019-06-20 2019-09-17 广州小鹏汽车科技有限公司 Test macro, method, vehicle and the machine readable media of vehicle arrangement
CN111240969A (en) * 2020-01-06 2020-06-05 中车株洲电力机车有限公司 Test method and test system for network control system of unmanned railway vehicle
CN112181752A (en) * 2020-12-01 2021-01-05 上海小慧智能科技有限公司 Vehicle bus test method and device, electronic equipment and readable storage medium
CN112631847A (en) * 2020-12-28 2021-04-09 深圳市路畅科技股份有限公司 Intelligent vehicle machine automatic test system, method and application thereof
CN113259210A (en) * 2021-07-16 2021-08-13 南斗六星系统集成有限公司 Intelligent testing system for car networking terminal
CN113778055A (en) * 2021-09-13 2021-12-10 宁波均联智行科技股份有限公司 TBOX detection method and detection system
CN113835410A (en) * 2021-09-03 2021-12-24 三一汽车制造有限公司 Finished automobile testing method and system based on signal simulation device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006352201A (en) * 2005-06-13 2006-12-28 Fujitsu Ten Ltd Communication conversion control device
CN108667679A (en) * 2017-03-30 2018-10-16 长城汽车股份有限公司 A kind of conversion method and device
CN108303969A (en) * 2018-01-31 2018-07-20 广州汽车集团股份有限公司 The automatic test device of vehicle-mounted ECU
CN109491371A (en) * 2018-12-07 2019-03-19 天津津航计算技术研究所 A kind of device for On-board ATC system testing
CN110244693A (en) * 2019-06-20 2019-09-17 广州小鹏汽车科技有限公司 Test macro, method, vehicle and the machine readable media of vehicle arrangement
CN111240969A (en) * 2020-01-06 2020-06-05 中车株洲电力机车有限公司 Test method and test system for network control system of unmanned railway vehicle
CN112181752A (en) * 2020-12-01 2021-01-05 上海小慧智能科技有限公司 Vehicle bus test method and device, electronic equipment and readable storage medium
CN112631847A (en) * 2020-12-28 2021-04-09 深圳市路畅科技股份有限公司 Intelligent vehicle machine automatic test system, method and application thereof
CN113259210A (en) * 2021-07-16 2021-08-13 南斗六星系统集成有限公司 Intelligent testing system for car networking terminal
CN113835410A (en) * 2021-09-03 2021-12-24 三一汽车制造有限公司 Finished automobile testing method and system based on signal simulation device
CN113778055A (en) * 2021-09-13 2021-12-10 宁波均联智行科技股份有限公司 TBOX detection method and detection system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115629599A (en) * 2022-12-06 2023-01-20 蔚来汽车科技(安徽)有限公司 CAN bus simulation test method and system

Similar Documents

Publication Publication Date Title
CN113064823B (en) Method and device for testing functions of parts of automobile and computer storage medium
CN108897659B (en) Method, device and storage medium for modifying log level
CN110784370B (en) Method and device for testing equipment, electronic equipment and medium
CN111370025A (en) Audio recognition method and device and computer storage medium
CN110705614A (en) Model training method and device, electronic equipment and storage medium
CN113076051A (en) Slave control terminal synchronization method, device, terminal and storage medium
CN111613213A (en) Method, device, equipment and storage medium for audio classification
CN111753606A (en) Intelligent model upgrading method and device
CN111061369B (en) Interaction method, device, equipment and storage medium
CN114594751A (en) Vehicle function testing method, device, equipment and computer readable storage medium
CN112667290A (en) Instruction management method, device, equipment and computer readable storage medium
CN112052167A (en) Method and device for generating test script code
CN114595019A (en) Theme setting method, device and equipment of application program and storage medium
CN114594885A (en) Application icon management method, device and equipment and computer readable storage medium
CN114475520A (en) Automobile control method and device and computer storage medium
CN113843814A (en) Control system, method, device and storage medium for mechanical arm equipment
CN109078331B (en) Analog key detection method and device, computer equipment and storage medium
CN113408989A (en) Automobile data comparison method and device and computer storage medium
CN112132472A (en) Resource management method and device, electronic equipment and computer readable storage medium
CN113076452A (en) Application classification method, device, equipment and computer readable storage medium
CN110992954A (en) Method, device, equipment and storage medium for voice recognition
CN112163677A (en) Method, device and equipment for applying machine learning model
CN111158791A (en) Configuration file updating method, device and system and storage medium
CN111916105A (en) Voice signal processing method and device, electronic equipment and storage medium
CN111367492A (en) Webpage display method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination