[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114594751B - Method, device and equipment for testing vehicle functions and computer readable storage medium - Google Patents

Method, device and equipment for testing vehicle functions and computer readable storage medium Download PDF

Info

Publication number
CN114594751B
CN114594751B CN202210191647.1A CN202210191647A CN114594751B CN 114594751 B CN114594751 B CN 114594751B CN 202210191647 A CN202210191647 A CN 202210191647A CN 114594751 B CN114594751 B CN 114594751B
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.)
Active
Application number
CN202210191647.1A
Other languages
Chinese (zh)
Other versions
CN114594751A (en
Inventor
单学斌
王超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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/CN114594751B/en
Publication of CN114594751A publication Critical patent/CN114594751A/en
Application granted granted Critical
Publication of CN114594751B publication Critical patent/CN114594751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 vehicle function testing method, device and equipment and a computer readable storage medium, and belongs to the technical field of Internet of vehicles. 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 CAN signal under a controller area network CAN protocol used by the vehicle; the first CAN signal is sent to a controller corresponding to a target function in the vehicle, and the first CAN signal is used for indicating the controller to perform corresponding actions; the receiving controller converts the second CAN signal into a second analog signal based on the second CAN signal fed back after the first CAN signal executes corresponding actions, and the second analog signal is used for determining a result of testing the target function. In this way, when vehicles using different CAN protocols are tested, the test of the vehicle functions and the determination of the test results CAN be completed according to the analog signals, and the efficiency of the vehicle functions is improved.

Description

Method, device and equipment for testing vehicle functions and computer readable storage medium
Technical Field
The embodiment of the application relates to the technical field of Internet of vehicles, in particular to a vehicle function testing method, device and equipment and a computer readable storage medium.
Background
Along with the development of the internet of vehicles technology, the vehicle function testing becomes more convenient, and the vehicle function can be tested from the condition that a real vehicle is required to be directly used for testing the vehicle function to the condition that the real vehicle is not available.
Wherein the functions integrated in the vehicle are typically implemented by a corresponding controller in the vehicle. In the related art, when testing a vehicle function, first, a first CAN signal for testing the vehicle function is simulated by using a device for simulating a controller area network (Controller Area Network, CAN) signal, and then the first CAN signal is sent to a corresponding vehicle machine of the vehicle. After the vehicle machine receives the first CAN signal, the first CAN signal is sent to a corresponding controller in the vehicle. And after receiving the first CAN signal, the controller executes the action indicated by the first CAN signal and feeds back a second CAN signal carrying an execution result to the vehicle. And then, determining whether the corresponding function of the vehicle is normal according to the second CAN signal received by the vehicle.
However, the CAN protocols used by the 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 vehicle function testing method, device and equipment 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 CAN signal under a controller area network CAN protocol used by the vehicle;
the first CAN signal is sent 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 actions;
and receiving a second CAN signal fed back by the controller after the controller executes corresponding actions 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 the 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 the 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; and determining the target CAN protocol as the CAN protocol used by the vehicle in response to the matching result indicating that the at least one CAN signal is contained in the CAN signal under the target CAN protocol.
In one possible implementation, the acquiring the first analog signal for testing the target function of the vehicle includes: and receiving the first analog signal sent by the cloud.
In one possible implementation manner, after the converting the second CAN signal into the 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 determining a result of testing the target function by the cloud end.
In one possible implementation manner, after the converting the second CAN signal into the second analog signal, the method further includes: transmitting 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; the target application program provides corresponding services based on the current state of the vehicle, and integrates the function of identifying analog signals.
In another aspect, there is provided a test device for vehicle functions, the device comprising:
the acquisition module is used for acquiring a first analog signal for testing a target function of the 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 actions;
the transmission module is further used for receiving a second CAN signal fed back by the controller after the controller executes corresponding actions 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 one possible implementation manner, the conversion module is further configured to determine a CAN protocol used by the vehicle according to a configuration result.
In one possible implementation, 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 determining the target CAN protocol as the CAN protocol used by the vehicle in response to the matching result indicating that the at least one CAN signal is contained in the CAN signal under the target CAN protocol.
In one possible implementation manner, the acquiring module is configured to receive the first analog signal sent by the cloud.
In one possible implementation manner, the transmission module is further configured to send the second analog signal to a cloud end, where the second analog signal is used by the cloud end to determine a result of the testing of the target function.
In one 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; the target application program provides corresponding services based on the current state of the vehicle, and integrates the function of identifying analog signals.
In another aspect, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to cause the computer device to implement a method of testing a vehicle function as described in any of the above.
In another aspect, there is provided a computer readable storage medium having stored therein at least one computer program loaded and executed by a processor to cause the computer to implement a method for testing a vehicle function as described in any of the above.
In another aspect, there is provided a computer program product comprising a computer program or computer instructions loaded and executed by a processor to cause a computer to implement a method of testing a vehicle function as described in any of the above.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
according to the technical scheme provided by the embodiment of the application, the CAN signals which CAN be identified by the vehicle are converted with the analog signals, so that when the vehicle using different CAN protocols is tested, the vehicle functions CAN be tested only according to the analog signals, and the test results are determined, and the CAN signals under different CAN protocols are not required to be concerned, so that the efficiency of testing the vehicle functions is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a test vehicle according to an embodiment of the present application;
FIG. 2 is a schematic illustration 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 provided by an embodiment of the present application;
FIG. 4 is a schematic flow chart of another method for testing vehicle functions according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a vehicle function test apparatus according to an embodiment of the present application;
Fig. 6 is a schematic structural diagram of a server according to 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
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and in the claims, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
It should be noted that, the 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 related to the present application are all authorized by the user or are fully authorized by the parties, and the collection, use, and processing of the related data is required to comply with the relevant laws and regulations and standards of the relevant countries and regions. For example, the CAN signals involved in the application are all acquired under the condition of full authorization.
Along with the development of the Internet of vehicles, the function of the vehicle is tested more conveniently, and the function of the vehicle can be tested remotely from the need of testing the real vehicle directly at a short distance to finish the test of the function of the vehicle.
As shown in fig. 1, in the related art, when testing the functions of a vehicle, a tester first needs to determine a CAN protocol used by the vehicle under test, then simulate a test CAN signal for testing the functions of the vehicle corresponding to the CAN protocol using a corresponding simulation device 11, and then send the test CAN signal to a terminal 12 corresponding to the vehicle under test using the simulation device 11. When the terminal 12 receives the test CAN signal, the test CAN signal is sent to a 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 a feedback CAN signal carrying the execution result to the terminal 12. After receiving the feedback CAN signal, the terminal 12 sends the feedback CAN signal to the simulation device 11, and a tester CAN determine whether the corresponding function in the vehicle is normal or not according to the feedback CAN signal received by the simulation device.
However, the CAN protocols used by the 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.
In addition, when the CAN protocol-oriented product is applied, products of different versions are required to be correspondingly developed because CAN protocols used by different vehicles are different, and the development cost of the products is increased.
In this regard, the embodiment of the application provides a method for testing a vehicle function, which solves the problem that in the related art, when testing the function of a vehicle using different CAN protocols, the different CAN protocols need to be compared by converting CAN signals representing the same information under different CAN protocols with the same analog signals. In order to realize the conversion from CAN signals to analog signals subsequently, the terminal CAN store the corresponding relation between the CAN signals and the analog signals under different CAN protocols in advance.
For example, under a 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 a controller to open a vehicle door is A0001; under the third CAN protocol, the CAN signal for instructing the controller to open the door is 0001A. The three CAN signals belong to CAN signals representing the same information under different CAN protocols, and all the three CAN signals are converted with MN0001. At this time, when the door opening function of the vehicle using the first to third CAN protocols is tested, it is possible to convert into the analog signal MN0001.
Referring to fig. 2, a schematic diagram of an implementation environment provided by an embodiment of the present application is shown. The implementation environment may include: a terminal 21 and a server 22. The server 22 may generate an analog signal, and may also receive the 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 also autonomously generate an analog signal. The terminal 21 CAN convert the analog signal into a CAN signal under the CAN protocol used by the vehicle under test, and CAN convert the CAN signal sent by the vehicle under test into an analog signal, and the terminal 21 CAN send the CAN signal to the controller, and CAN also receive the CAN signal fed back by the controller.
In one possible implementation, the server 22 has the function of the terminal 21 described above, and is capable of performing conversion between CAN signals and analog signals.
Alternatively, the terminal 21 may be any electronic product that can perform man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, a voice interaction or handwriting device, such as a PC (Personal Computer ), a mobile phone, a smart phone, a PDA (Personal DIGITAL ASSISTANT, a Personal digital assistant), a wearable device, a PPC (Pocket PC), a tablet computer, a smart car machine, a car-mounted terminal, etc. The server 22 may be a server, a server cluster comprising 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 will be appreciated by those skilled in the art that the above described terminal 21 and server 22 are by way of example only, and that other terminals or servers, now known or hereafter developed, may be adapted for use with the present application and are intended to be within the scope of the present application and are incorporated herein 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 a vehicle function according to 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 tied to the vehicle under test and the terminal is configured in the vehicle under test such that the terminal CAN send and receive CAN signals to and from a controller in the vehicle. In some embodiments, when remotely testing the function of the vehicle, a first analog signal for testing the target function of the vehicle is generated by a device other than the terminal, and then the first analog signal is transmitted to the terminal by the device generating the first analog signal. In some embodiments, the first analog signal is generated by the cloud. At this time, acquiring a first analog signal for testing a target function of the vehicle includes: and receiving the first analog signal sent by the cloud.
The embodiment of the application is not limited as to how the cloud generates the first analog signal. The cloud terminal is provided with an input box, and when the cloud terminal detects that the content for instructing the cloud terminal to generate the first analog signal is input in the input box, the first analog signal is correspondingly generated. Alternatively, 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 generates a corresponding first analog signal after detecting the text by the cloud. For another example, the input mode corresponding to the input box is text input, the vehicle function tester inputs a text for indicating to generate the first analog signal into the input box, the cloud detects the text, determines the intention of the text expression based on the intention recognition model, and then generates the corresponding first analog signal based on the intention of the text expression. The first analog signal can be generated by directly inputting text content by the vehicle function tester through adding the intention recognition model, so that the situation that the vehicle function tester needs to memorize the content of the first analog signal is avoided, and the efficiency is improved.
In an exemplary embodiment, when the input mode corresponding to the input box is voice input, voice is first converted into corresponding text content based on a voice recognition model, and then a corresponding first analog signal is generated based on the text. In this case, the method of generating the first analog signal based on the text converted from speech is identical to the method of generating the first analog signal when the text is directly input into the input box. The voice input mode is convenient for the vehicle function tester to input the first analog signal.
In some embodiments, the content input to the input box is the same text content as the first analog signal, at which time the first analog signal is generated based on the text content, comprising: matching the text content with each analog signal stored in the analog signal library of the cloud 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 for indicating generation of the first analog signal, at which time the generation of the first analog signal based on the text content includes: determining intent of the text expression based on the intent recognition model; and acquiring corresponding virtual signals from the virtual signal library based on the intention.
In another exemplary embodiment, the input box provided by the cloud terminal corresponds to a plurality of test options, each test option corresponds to a first analog signal, and when the cloud terminal detects that any one test option is selected, the first analog signal corresponding to the any one test option is generated. Optionally, the selecting modes corresponding to the test options include: at least one of voice selection and click selection. The voice selection is to detect the voice content of the serial number corresponding to any one test option in the cloud, and determine that any one test option is selected. And the clicking selection is that the cloud detects that the display content corresponding to any one test option is clicked, and the any one test option is determined to be 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 first analog signal for testing the target function of the vehicle is correspondingly obtained. Optionally, the identity of the terminal is the VIN (Vehicle Identification Number ) of the terminal.
In some embodiments, the first analog signal is directly generated 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, that is, 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 indicating 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 is capable of converting CAN signals representing the same information under different CAN protocols into the same analog signal based on the correspondence of the CAN signals and the analog signal. For example, the vehicle uses a CAN protocol of a first vehicle factory, a CAN signal for opening a vehicle door is 0001, and after receiving the CAN signal, the terminal outputs an analog signal as MN0001 based on a correspondence between the CAN signal and the analog signal; or the CAN protocol used by the vehicle is a CAN protocol of a second vehicle factory, the CAN signal used for opening the vehicle door is A0001, and after the terminal receives the CAN signal, the analog signal output based on the corresponding relation between the CAN signal and the analog signal is MN0001; or the vehicle uses a CAN protocol of a third vehicle factory, the CAN signal used for opening the vehicle door is 0001A, and after the terminal receives the CAN signal, the analog signals output based on the corresponding relation between the CAN signal and the analog signals are all MN0001.
In an exemplary embodiment, the terminal is further capable of converting the analog signal into a CAN signal identifiable by the vehicle under test based on a correspondence of the CAN signal and the analog signal. Still further to the above example, when the protocol used by the vehicle to be tested is the protocol corresponding to the second vehicle factory and the door opening test is performed on the vehicle, the first analog signal received by the terminal is MN0001, and then the MN0001 is converted into the CAN signal that CAN be identified by the tested vehicle: A0001.
The embodiment of the application is not limited with respect to the coding mode of the analog signals, and CAN convert all CAN signals corresponding to the CAN protocols of each vehicle factory into only corresponding analog signals. 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 generalized 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, respectively CAN11-CAN17, and the second CAN protocol corresponds to 5 CAN signals, respectively CAN21-CAN25, wherein CAN11 is identical to CAN21 in terms of information and CAN12 is identical to CAN22 in terms of information. Thus, 10 CAN signals representing different messages CAN be generalized from the first CAN protocol and the second CAN protocol. 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 CAN signals representing different information is 900, the minimum number of bits required for encoding the analog signal is 3, i.e., 000-999, so as to ensure that the CAN signals representing different information correspond to the analog signals one by one.
For example, according to the CAN signals corresponding to the CAN protocols used by the respective factories, the number of CAN signals representing different information is summarized to be 2000, and the encoding mode of the analog signals is MN0001-MN2000.
In some embodiments, the function of the terminal to mutually convert the analog signal and the CAN signal is implemented based on an 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. Wherein, the correspondence of analog signal and CAN signal is stored in the terminal. For example, CAN signals representing information about the opening of a vehicle door are: CAN signal 0001 under CAN protocol used by the first plant; CAN signal a0001 under CAN protocol used by the second factory; CAN signal 0001A under CAN protocol used by the third driver. These three CAN signals all correspond to analog signal MN0001. The conversion application may use the correspondence to convert MN0001 to 0001, either a0001, or 0001A. And the conversion application may 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 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 is correspondingly configured, 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 mutually converting the analog signal and the CAN signal is implemented based on the conversion application, the configuring the terminal includes: the conversion application is configured to convert the analog signal to a CAN signal under a CAN protocol. At this time, after detecting the configuration result, the terminal determines that the CAN protocol corresponding to the CAN signal converted from the analog signal is 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 after receiving the analog signals, the terminal converts the received analog signals into CAN signals corresponding to the CAN protocol.
In another exemplary embodiment, after the terminal receives at least one CAN signal sent by the vehicle, the terminal matches the received at least one CAN signal with CAN signals under each CAN protocol, and determines a CAN protocol successfully matched with the received at least one CAN signal as a 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 signal under the target CAN protocol.
Step 303, a first CAN signal is sent to a controller corresponding to a target function in the vehicle, where the first CAN signal is used to instruct the controller to perform a 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 identified by a controller in the vehicle, that is, the CAN signal that CAN be identified 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 the in-vehicle air conditioner is started, after the in-vehicle air conditioner starting key is pressed, the terminal detects a signal generated by pressing the air conditioner starting key, then the signal is converted into a CAN signal which CAN be recognized by the vehicle, and the CAN signal for starting the air conditioner is sent to a corresponding controller so as to instruct the controller to perform the action of starting the air conditioner.
The CAN signal is likewise sent to the corresponding controller when testing the function of the vehicle. For example, the first CAN signal is a signal for opening a sunroof, and the terminal transmits the first CAN signal to a controller for controlling the sunroof opening to test the sunroof opening function of the vehicle.
Step 304, the receiving controller converts the second CAN signal into a second analog signal based on the second CAN signal fed back after the first CAN signal performs the corresponding action, where the second analog signal is used to determine a result of testing the target function.
In general, a controller in a vehicle generates a CAN signal for feeding back a result of the execution of the action after the execution of the action, and the controller transmits the CAN signal to a terminal bound to the vehicle through a CAN bus in the vehicle. In the embodiment of the application, after the controller corresponding to the tested vehicle function receives the first CAN signal, corresponding action is performed based on the first CAN signal, a second CAN signal is generated after the action indicated by the first CAN signal is performed, and the second CAN signal is sent to the terminal through the CAN bus in the vehicle. And after receiving the 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 the second analog signal includes: and converting the second CAN signal 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 a vehicle, in a CAN protocol of a first vehicle factory, a second CAN signal fed back by a controller after the controller successfully opens a door is 10001, and a second CAN signal fed back by the controller after the controller does not successfully open the door is 00001; in the CAN protocol of a second vehicle factory, the second CAN signal fed back by the controller after the vehicle door is successfully opened is A10001, and the second CAN signal fed back by the controller after the vehicle door is not successfully opened is A00001; in the CAN protocol of the third vehicle factory, the second CAN signal fed back by the controller after the vehicle door is successfully opened is 10001A, and the second CAN signal fed back by the controller after the vehicle door is not successfully opened is 00001A. And when the terminal receives the second CAN signals fed back after any one of the three automobile doors is successfully opened, the second analog signals output according to the corresponding relation between the analog signals and the CAN signals are all MN10001, and when the terminal receives the second CAN signals fed back after any one of the three automobile doors is not successfully opened, the second analog signals output according to the corresponding relation between the analog signals and the CAN signals are all MN00001.
In some embodiments, in order for a vehicle function tester that tests a function of a vehicle to obtain a 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, further comprising: and sending a 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.
Because one analog signal corresponds to a CAN signal representing the same information under different CAN protocols, each analog signal represents one information. Still further to the above example, the second analog signal MN10001 corresponds to a second CAN signal representing information of successful opening of the door under a different CAN protocol, and thus, the information represented by the second analog signal MN10001 is that the door is successfully opened. The second analog signal MN00001 corresponds to a second CAN signal representing information of unsuccessful opening of the door under a different CAN protocol, and thus, the information represented by the second analog signal MN00001 is unsuccessful opening of the door. Therefore, when the second analog signal received by the cloud is MN10001, the vehicle function tester can determine that the opening function of the door of the tested vehicle is normal according to the MN 10001; when the second analog signal received by the cloud is MN00001, the vehicle function tester can determine that the opening function of the door of the tested vehicle is abnormal according to the MN 00001.
In some embodiments, a target application program, for example, a vehicle setting application program, which needs to provide corresponding services according to the current state of the vehicle is installed in the terminal, and in order to facilitate the user to set the vehicle, the vehicle setting application program typically displays the current state of the vehicle through a display device of the terminal.
Such target applications, which need to provide corresponding services according to the current state of the vehicle, generally update the identification of the vehicle state according to 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 program updates the determination of the sunroof from closed to open according to the CAN signal generated after the sunroof is opened.
However, since the CAN protocols used by the vehicles produced by different factories are different, if the same target application program is to be used in the terminal corresponding to the vehicle using the different CAN protocols, multiple versions need to be developed correspondingly, so that the target application programs of different versions CAN identify the CAN signals under the different CAN protocols, and the development cost required 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 further, the identification of the vehicle state CAN be updated based on the analog signal, thereby avoiding the need of developing multiple versions adapting to different CAN protocols of the target application program.
Thus, in an exemplary embodiment, after converting the second CAN signal to the second analog signal, further comprising: the second analog signal is sent 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; the target application program provides corresponding services based on the current state of the vehicle, and integrates the function of identifying the analog signals.
In an exemplary embodiment, a test method for implementing a vehicle function by interaction between a cloud terminal and a terminal is described as an example based on the test method for a vehicle function shown in fig. 3. As shown in FIG. 4, the process of testing vehicle functionality includes, but is not limited to, the following steps 401-408.
401: The cloud generates a first analog signal;
402: the cloud sends a first analog signal to the terminal;
403: the terminal converts the first analog signal into a first CAN signal;
404: the terminal sends a 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: and 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 vehicle function CAN be tested according to the analog signals only when the vehicle using different CAN protocols is tested, and the test result is determined without paying attention to the CAN signals under different CAN protocols, thereby improving the efficiency when the vehicle function is tested.
In another exemplary embodiment, the conversion between the analog signal and the CAN signal is completed in the cloud, the cloud transmits the converted CAN signal to a terminal bound to the vehicle of the tested function, and the cloud receives the CAN signal transmitted by the terminal and CAN convert the received CAN signal into the analog signal. When the conversion between the analog signal and the CAN signal is completed in the cloud, the terminal bound with the vehicle is not required to have the function of converting between the analog signal and the CAN signal, and only the cloud is required to have the function of converting between the analog signal and the CAN signal, so that the efficiency is further improved.
Referring to fig. 5, an embodiment of the present application provides a device for testing a vehicle function, including:
an acquisition module 501 for acquiring a first analog signal for testing a target function of a vehicle;
the conversion module 502 is configured to convert the first analog signal into a first CAN signal under a controller area network CAN protocol used by the vehicle;
A transmission module 503, configured to send a first CAN signal to a controller corresponding to a target function in the 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 performing 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 one possible implementation, 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 signal under one target CAN protocol.
In one possible implementation, the obtaining module 501 is configured to receive a first analog signal sent from the cloud.
In one possible implementation, the transmission module 503 is further configured to send a second analog signal to the cloud end, where the second analog signal is used by the cloud end to determine a result of testing 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 the test result corresponding to the second analog signal; the target application program provides corresponding services based on the current state of the vehicle, and integrates the function of identifying the analog signals.
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 according to the analog signals only when the vehicle using different CAN protocols is tested, and the test result is determined without paying attention to the CAN signals under different CAN protocols, thereby improving the efficiency when the vehicle function is tested.
It should be noted that, when the apparatus provided in the foregoing embodiment performs the functions thereof, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to perform all or part of the functions described above. In addition, the apparatus and the method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the apparatus and the method embodiments are detailed in the method embodiments and are not repeated herein.
Fig. 6 is a schematic structural diagram of a server according to an embodiment of the present application, where the server may have 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 that the server implements the method for testing vehicle functions provided by the foregoing method embodiments. The processor 601 is illustratively a central processing unit (Central Processing Units, CPU). Of course, the server may also have a wired or wireless network interface, a keyboard, an input/output interface, and other components for implementing the functions of the device, which are not described herein.
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 picture expert compression standard audio plane 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. Terminals may also be referred to by other names as user equipment, portable terminals, laptop terminals, desktop terminals, etc.
Generally, the terminal includes: a processor 701 and a memory 702.
Processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 701 may be implemented in at least one hardware form of DSP (DIGITAL SIGNAL Processing), FPGA (Field-Programmable gate array), PLA (Programmable Logic Array ). The processor 701 may also include a main processor and a coprocessor, wherein the main processor is a processor for processing data in an awake state, and is also called a CPU (Central Processing Unit ); 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, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 701 may also 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. The 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 memory 702 is used to store at least one instruction for execution by processor 701 to cause the terminal to implement the method of testing a vehicle function provided by a method embodiment of the present application.
In some embodiments, the terminal may further optionally 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 a bus or signal lines. The individual peripheral devices may be connected to the peripheral device interface 703 via buses, signal lines or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 704, a display 705, a camera assembly 706, audio circuitry 707, a positioning assembly 708, and a power supply 709.
A peripheral interface 703 may be used to connect I/O (Input/Output) related at least one peripheral device to the processor 701 and memory 702. In some embodiments, the processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 704 is configured to receive and transmit RF (Radio Frequency) signals, also referred to as electromagnetic signals. The radio frequency circuitry 704 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 704 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of 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 further include NFC (NEAR FIELD Communication) related circuits, which is not limited by the present 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 705 is a touch display, the display 705 also has the ability to collect touch signals at or above the surface of the display 705. The touch signal may be input to the processor 701 as a control signal for processing. At this time, the display 705 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. 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 folded 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 other materials.
The camera assembly 706 is used to capture images or video. Optionally, the camera assembly 706 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuit 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, 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 for voice communication. For the purpose of stereo acquisition or noise reduction, a plurality of microphones can be respectively arranged at different parts of the terminal. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuit 707 may also include a headphone jack.
The location component 708 is operative to locate a current geographic location of the terminal for navigation or LBS (Location Based Service, location-based services). The positioning component 708 may be a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, the Granati system of Russia, or the Galileo system of the European Union.
The power supply 709 is used to power the various components in the terminal. The power supply 709 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the 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 further includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyroscope sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitudes of accelerations on three coordinate axes of a coordinate system established with the terminal. For example, the acceleration sensor 711 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 701 may control the display screen 705 to display a user interface in a landscape view or a portrait view based on the gravitational acceleration signal acquired by the acceleration sensor 711. The acceleration sensor 711 may also be used for the 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 collect a 3D motion of the user to the terminal in cooperation with the acceleration sensor 711. The processor 701 may implement the following functions based on the data collected by the gyro sensor 712: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 713 may be disposed at a side frame of the terminal and/or at a lower layer of the display screen 705. When the pressure sensor 713 is disposed at a side frame of the terminal, a grip signal of the terminal by a user may be detected, and the processor 701 performs left-right hand recognition or quick operation according to the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at the 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 controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 714 is used to collect a fingerprint of the user, and the processor 701 identifies the identity of the user based on the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user based on the collected fingerprint. Upon recognizing 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 for and changing settings, etc. The fingerprint sensor 714 may be provided on the front, back or side of the terminal. When a physical key or vendor Logo (trademark) is provided on the terminal, the fingerprint sensor 714 may be integrated with the physical key or 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 intensity of the ambient light is high, the display brightness of the display screen 705 is turned up; when the ambient light intensity is low, the display brightness of the display screen 705 is turned down. In another embodiment, the processor 701 may also dynamically adjust the shooting parameters of the camera assembly 706 based on the ambient light intensity collected by the optical sensor 715.
A proximity sensor 716, also referred to 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 face of the terminal gradually decreases, the processor 701 controls the display 705 to switch from the bright screen state to the off screen state; when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal gradually increases, the processor 701 controls the display screen 705 to switch from the off-screen state to the on-screen state.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
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 a method of testing any of the vehicle functions described above.
In an exemplary embodiment, there is also provided a computer-readable storage medium having stored therein at least one computer program loaded and executed by a processor of a computer device to cause the computer to implement a method of testing any one of the vehicle functions described above.
In one possible implementation, the computer readable storage medium may be a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, and so on.
In an exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program or computer instructions that are loaded and executed by a processor to cause the computer to implement a method of testing any of the vehicle functions described above.
It should be understood that references herein to "a plurality" are to two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The above embodiments are merely exemplary embodiments of the present application and are not intended to limit the present application, any modifications, equivalent substitutions, improvements, etc. that fall within the principles of the present application should be included in the scope of the present application.

Claims (8)

1. A method of testing vehicle functionality, the method comprising:
acquiring a first analog signal for testing a target function of a vehicle;
based on the corresponding relation between the CAN signal and the analog signal, converting the first analog signal into a first CAN signal under a Controller Area Network (CAN) protocol used by the vehicle;
the first CAN signal is sent 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 actions;
Receiving a second CAN signal fed back by the controller after the controller executes corresponding actions 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;
Transmitting 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;
The target application program provides corresponding service based on the current state of the vehicle and integrates a function of identifying analog signals;
Before the converting the first analog signal into the first CAN signal under the 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; and determining the target CAN protocol as the CAN protocol used by the vehicle in response to the matching result indicating that the at least one CAN signal is contained in the CAN signal under the target CAN protocol.
2. The method of claim 1, wherein prior to converting the first analog signal to a first CAN signal under a controller area network 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 according to claim 1 or 2, wherein the acquiring a first analog signal for testing a target function of the vehicle comprises:
And receiving the first analog signal sent by the cloud.
4. The method of claim 1 or 2, 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 determining a result of testing the target function by the cloud end.
5. A test device for vehicle functions, the device comprising:
the acquisition module is used for acquiring a first analog signal for testing a target function of the 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 based on the corresponding relation between the CAN signal and the analog signal;
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 actions;
the transmission module is further used for receiving a second CAN signal fed back by the controller after the controller executes corresponding actions 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;
The transmission module is further configured to send the second analog signal to a target application program, so that the target application program updates a state of the vehicle based on a test result corresponding to the second analog signal; the target application program provides corresponding service based on the current state of the vehicle and integrates a function of identifying analog signals;
the conversion module is further used for 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 determining the target CAN protocol as the CAN protocol used by the vehicle in response to the matching result indicating that the at least one CAN signal is contained in the CAN signal under the target CAN protocol.
6. 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, in order to carry out the method for testing the function of a vehicle according to any one of claims 1 to 4.
7. A computer-readable storage medium, in which at least one computer program is stored, which is loaded and executed by a processor, to cause the computer to implement the method for testing the vehicle function according to any one of claims 1 to 4.
8. A computer program product, characterized in that it comprises a computer program or computer instructions that are loaded and executed by a processor to cause the computer to carry out the method of testing the function of a vehicle according to any one of claims 1 to 4.
CN202210191647.1A 2022-02-28 2022-02-28 Method, device and equipment for testing vehicle functions and computer readable storage medium Active CN114594751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210191647.1A CN114594751B (en) 2022-02-28 2022-02-28 Method, device and equipment for testing vehicle functions and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210191647.1A CN114594751B (en) 2022-02-28 2022-02-28 Method, device and equipment for testing vehicle functions and computer readable storage medium

Publications (2)

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

Family

ID=81815673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210191647.1A Active CN114594751B (en) 2022-02-28 2022-02-28 Method, device and equipment for testing vehicle functions and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114594751B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115629599B (en) * 2022-12-06 2023-06-23 蔚来汽车科技(安徽)有限公司 CAN bus simulation test method and system
CN118487971A (en) * 2024-07-15 2024-08-13 中国第一汽车股份有限公司 Vehicle communication test method, system, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108303969A (en) * 2018-01-31 2018-07-20 广州汽车集团股份有限公司 The automatic test device of vehicle-mounted ECU
CN113259210A (en) * 2021-07-16 2021-08-13 南斗六星系统集成有限公司 Intelligent testing system for car networking terminal

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006329787A (en) * 2005-05-25 2006-12-07 Nissan Motor Co Ltd Testing system for on-vehicle electrical component, and and testing method
JP2006352201A (en) * 2005-06-13 2006-12-28 Fujitsu Ten Ltd Communication conversion control device
CN104199445B (en) * 2014-09-17 2017-07-04 北京汽车股份有限公司 Car body controller test system and method
CN206557600U (en) * 2017-03-01 2017-10-13 福建冠龙新能源汽车科技有限公司 A kind of novel CAN changes Board Test System
CN108667679B (en) * 2017-03-30 2023-05-26 长城汽车股份有限公司 Conversion method and device
CN109491371A (en) * 2018-12-07 2019-03-19 天津津航计算技术研究所 A kind of device for On-board ATC system testing
CN110244693B (en) * 2019-06-20 2020-10-16 广州小鹏汽车科技有限公司 Test system and method for vehicle equipment, vehicle and machine readable medium
CN210691107U (en) * 2019-12-04 2020-06-05 北京铁路信号有限公司 Test equipment of LKJ host unit
CN111240969B (en) * 2020-01-06 2023-10-13 中车株洲电力机车有限公司 Test method and test system for network control system of unmanned railway vehicle
CN112181752B (en) * 2020-12-01 2021-04-30 上海小慧智能科技有限公司 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
CN113835410A (en) * 2021-09-03 2021-12-24 三一汽车制造有限公司 Finished automobile testing method and system based on signal simulation device
CN113778055B (en) * 2021-09-13 2023-05-16 宁波均联智行科技股份有限公司 TBOX detection method and detection system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108303969A (en) * 2018-01-31 2018-07-20 广州汽车集团股份有限公司 The automatic test device of vehicle-mounted ECU
CN113259210A (en) * 2021-07-16 2021-08-13 南斗六星系统集成有限公司 Intelligent testing system for car networking terminal

Also Published As

Publication number Publication date
CN114594751A (en) 2022-06-07

Similar Documents

Publication Publication Date Title
CN111177013B (en) Log data acquisition method, device, computer equipment and storage medium
CN113204298B (en) Method and device for displaying release progress, electronic equipment and storage medium
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
CN110341627B (en) Method and device for controlling behavior in vehicle
CN114594751B (en) Method, device and equipment for testing vehicle functions and computer readable storage medium
CN113076051A (en) Slave control terminal synchronization method, device, terminal and storage medium
CN111858382A (en) Application program testing method, device, server, system and storage medium
CN112667290B (en) Instruction management method, device, equipment and computer readable storage medium
CN110705614A (en) Model training method and device, electronic equipment and storage medium
CN111613213B (en) Audio classification method, device, equipment and storage medium
CN111128115B (en) Information verification method and device, electronic equipment and storage medium
CN109977570B (en) Vehicle body noise determination method, device and storage medium
CN112052167A (en) Method and device for generating test script code
CN111881423B (en) Method, device and system for authorizing restricted function use
CN111061369B (en) Interaction method, device, equipment and storage medium
CN113408989A (en) Automobile data comparison method and device and computer storage medium
CN110992954A (en) Method, device, equipment and storage medium for voice recognition
CN114475520B (en) Control method and device for automobile and computer storage medium
CN114143280B (en) Session display method and device, electronic equipment and storage medium
CN114595019A (en) Theme setting method, device and equipment of application program and storage medium
CN112764824B (en) Method, device, equipment and storage medium for triggering identity verification in application program
CN114594885A (en) Application icon management method, device and equipment and computer readable storage medium
CN113408809A (en) Automobile design scheme evaluation method and device and computer storage medium
CN113438127A (en) Electric vehicle direct current charging communication intelligent test method, device, terminal and storage medium

Legal Events

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