CN114257470A - Vehicle Bluetooth function test system and test method - Google Patents

Vehicle Bluetooth function test system and test method Download PDF

Info

Publication number
CN114257470A
CN114257470A CN202210105330.1A CN202210105330A CN114257470A CN 114257470 A CN114257470 A CN 114257470A CN 202210105330 A CN202210105330 A CN 202210105330A CN 114257470 A CN114257470 A CN 114257470A
Authority
CN
China
Prior art keywords
test
signal
vehicle
personal computer
industrial personal
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
CN202210105330.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.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202210105330.1A priority Critical patent/CN114257470A/en
Publication of CN114257470A publication Critical patent/CN114257470A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements
    • 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

Abstract

The embodiment of the invention discloses a test system and a test method for a vehicle Bluetooth function, wherein the system comprises: the system comprises an industrial personal computer, a terminal and a test bench, wherein a vehicle-mounted Bluetooth module and a gateway are integrated on the test bench; the industrial personal computer is connected with the CAN bus between the vehicle-mounted Bluetooth module and the gateway; the industrial personal computer control terminal sends a test task to the vehicle-mounted Bluetooth module through Bluetooth; the vehicle-mounted Bluetooth module and the gateway transmit the test task sent by the terminal to the industrial personal computer, and send reply information of the industrial personal computer to the test task to the terminal; the industrial personal computer is also used for monitoring transmission signals in a transmission path of the test task and a reply path of the test task, and determining a test result based on the monitored transmission signals. According to the technical scheme of the embodiment of the invention, the automatic test of the vehicle Bluetooth function can be realized, so that the vehicle Bluetooth function can be more comprehensively evaluated.

Description

Vehicle Bluetooth function test system and test method
Technical Field
The embodiment of the invention relates to the technical field of automatic testing, in particular to a system and a method for testing a vehicle Bluetooth function.
Background
With the development of intellectualization of automobiles, the use of automobiles is becoming more convenient. Bluetooth digital key is a kind of intelligent key that possesses car remote control key function to the function is more powerful. The Bluetooth digital key is usually installed on a terminal device, is connected with a vehicle through Bluetooth and sends an instruction to the vehicle, so that the effect of controlling the vehicle is achieved.
Generally, the bluetooth digital key needs to be functionally tested before it is applied. At present, a manual testing method under a real vehicle environment is generally adopted for testing the functionality of the bluetooth digital key, and in the testing process, the problems that the testing efficiency is low, whether abnormal signals exist in a plurality of testing signals cannot be monitored, and the testing cannot be carried out on various fault conditions often occur.
Disclosure of Invention
The embodiment of the invention provides a vehicle Bluetooth function test system and a vehicle Bluetooth function test method, which are used for realizing automatic test of a vehicle Bluetooth function and achieving the effect of saving the labor cost and the time cost required by the test.
In a first aspect, an embodiment of the present invention provides a vehicle bluetooth function testing system, where the system includes: an industrial personal computer, a terminal and a test bench,
the test bench is integrated with a vehicle-mounted Bluetooth module and a gateway; the vehicle-mounted Bluetooth module is connected with the gateway through a CAN bus, the gateway is connected with the industrial personal computer through the CAN bus, and the industrial personal computer is connected with the CAN bus between the vehicle-mounted Bluetooth module and the gateway;
the industrial personal computer control terminal sends a test task to the vehicle-mounted Bluetooth module through Bluetooth;
the vehicle-mounted Bluetooth module and the gateway transmit the test task sent by the terminal to the industrial personal computer and send a reply signal of the industrial personal computer to the test task to the terminal;
the industrial personal computer is also used for monitoring the transmission path of the test task and the transmission signal in the reply path of the test task, and determining a test result based on the monitored transmission signal.
In a second aspect, an embodiment of the present invention further provides a method for testing a bluetooth function of a vehicle, where the method includes:
sending a test trigger signal to the terminal so that the terminal sends a test task to the test bench, wherein the test task is transmitted through a vehicle-mounted Bluetooth module and a gateway on the test bench;
receiving the test task transmitted by the test bench, generating reply information, and sending the reply information to the test bench so that the gateway and the vehicle-mounted Bluetooth module on the test bench send the reply information to the terminal;
and in the transmission process of the test signal and the reply information, monitoring a transmission path of the test task and a transmission signal in a reply path of the test task, and determining a test result based on the monitored transmission signal.
In a third aspect, the embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for testing the bluetooth function of a vehicle provided in any embodiment of the present invention.
The embodiment of the invention provides a test system for a vehicle Bluetooth function, which comprises: the system comprises an industrial personal computer, a terminal and a test bench, wherein a vehicle-mounted Bluetooth module and a gateway are integrated on the test bench; the industrial personal computer is connected with the CAN bus between the vehicle-mounted Bluetooth module and the gateway; the industrial personal computer can control the terminal to send a test task to the vehicle-mounted Bluetooth module through Bluetooth, the vehicle-mounted Bluetooth module and the gateway transmit the test task sent by the terminal to the industrial personal computer, reply information of the industrial personal computer to the test task is sent to the terminal, the industrial personal computer can also be used for monitoring a transmission path of the test task and a transmission signal in the reply path of the test task, and determining a test result based on the monitored transmission signal, so that the problems that the manual test efficiency is low and whether an abnormal signal exists is difficult to judge are solved, in addition, the test of various fault conditions can not be realized under the real vehicle test environment, the simulation of the real scene of vehicle running can be realized under the condition of not depending on real vehicles, real sites and background environments, the test can be automatically performed, the vehicle Bluetooth function can be more comprehensively evaluated, the test coverage is improved, Accuracy and test efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1 is a schematic structural diagram of a vehicle bluetooth function testing system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for testing a bluetooth function of a vehicle according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for testing a bluetooth function of a vehicle according to a second embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a schematic structural diagram of a vehicle bluetooth function testing system according to an embodiment of the present invention, which is applicable to a situation of performing an automated test on various performances of a vehicle, and referring to fig. 1, the vehicle bluetooth function testing system according to the embodiment includes: industrial computer 1, terminal 2 and test bench 3. The following describes the structural composition of the vehicle bluetooth function test system of this embodiment in detail.
The test bench 3 is integrated with a vehicle-mounted bluetooth module 31 and a gateway 32. The vehicle-mounted bluetooth module 31 is connected to the gateway 32 through a CAN (Controller Area Network) bus, the gateway 32 is connected to the industrial personal computer 1 through a CAN bus, and the industrial personal computer 1 is connected to the vehicle-mounted bluetooth module 31 and the gateway 32 through the CAN bus.
The CAN bus CAN be understood as a serial communication network which effectively supports distributed control or real-time control, and compared with other field buses, the CAN bus has the characteristics of high communication speed, easiness in implementation, high cost performance and the like. Alternatively, the CAN bus may be a multi-master bus, and the communication medium may be twisted pair, coaxial cable, or optical fiber, which is not limited in this embodiment.
And the industrial personal computer 1 is used for sending a test task to the vehicle-mounted Bluetooth module 31 through Bluetooth by the control terminal 2. The industrial personal computer 1 may be an intelligent device that directly sends and receives instruction information, and is used to manage various tests in the development process of the entire vehicle platform, and may be a computer, for example. Alternatively, the terminal 2 may be a remote control terminal such as a mobile terminal, for example, a smart phone, a tablet computer, or a fixed terminal such as a computer. For example, the terminal 2 may be a mobile phone and is installed with an application program for transmitting instruction information through bluetooth. The test tasks may include, but are not limited to, opening windows, closing a sunroof, adjusting air conditioner temperature, opening music, etc., and may be determined according to the control function of the terminal 2 for the vehicle. It should be noted that the terminal 2 and the vehicle-mounted bluetooth module 31 establish a bluetooth connection in advance to simulate the bluetooth connection between the terminal and the vehicle, and the test task is sent from the terminal 2 to the vehicle-mounted bluetooth module 31 in the form of a radio frequency signal.
In this embodiment, the industrial personal computer 1 optionally comprises a control module 11 and a test bridge tool 12. The control module 11 calls the test bridge tool 12 to send a trigger instruction of the test task to the terminal 2. The test bridge tool 12 may be understood as a call interface, and is configured to call instruction information in the control module 11 and send the instruction information to the terminal 2, so as to implement automatic operation on the terminal 2. In some embodiments, the test bridge tool 12 may be an adb (android Debug bridge) module. The triggering instructions of the test task may be pre-written program code that may execute the instructions that trigger the test task.
After receiving the test task sent by the terminal 2, the vehicle-mounted bluetooth module 31 converts the test task from a radio frequency signal to a CAN test signal, and sends the CAN test signal to the gateway 32. The gateway 32 may be a computer system or device that provides data conversion services among multiple networks, and may be configured to repackage the received data information to meet the needs of the destination system, and to perform filtering and security functions.
The gateway 32 sends the CAN test signal to the industrial personal computer 1, receives a reply signal of the industrial personal computer 1, and sends the reply signal to the vehicle-mounted Bluetooth module 31; the vehicle-mounted bluetooth module 31 converts the reply signal into a radio frequency signal, and transmits the radio frequency signal to the terminal 2. The reply signal may be a feedback signal of the industrial personal computer 1 after executing a related task, and optionally, the industrial personal computer 1 may be a reply signal simulating a CAN test signal to simulate a process of a vehicle actuator responding to the CAN test signal, wherein each CAN test signal may be preset with at least one reply signal, and the industrial personal computer 1 calls the reply signal corresponding to the CAN test signal after receiving the CAN test signal; optionally, the industrial personal computer 1 may also be connected to a plurality of controllers of the vehicle, and after receiving the CAN test signal, sends the CAN test signal to the corresponding actuator, and receives a reply signal corresponding to the actuator. The actuator CAN include but is not limited to a window controller, an air conditioner controller, a skylight controller and the like, and the industrial personal computer 1 sends the CAN test signal to the window controller under the condition that the CAN test signal is a window control signal.
Optionally, the reply signal includes a normal reply signal and an abnormal reply signal. Specifically, when the industrial personal computer 1 can simulate the normal execution process of the test task, a normal reply signal is fed back; when the simulation test task of the industrial personal computer 1 encounters a problem and the situation that the execution cannot be performed or the execution is wrong occurs, an abnormal reply signal is fed back, and optionally, a signal value in the abnormal reply signal can be an invalid value, a super-boundary value or an execution failure identifier and the like. It should be noted that, the terminal 2 may display the received radio frequency signal to the tester through the display interface of the test management software, or may generate and store a test report, and the like.
In the specific implementation, after the industrial personal computer 1 obtains the test request, the control module 11 generates a trigger instruction of the test task according to the test request, and sends the trigger instruction to the terminal 2 through the test bridge tool 12, so that the terminal 2 sends the test task corresponding to the test request to the vehicle-mounted bluetooth module 31 located on the test bench 3 through bluetooth, because the vehicle-mounted bluetooth module 31 is connected with the gateway 32 through the CAN bus, after receiving the test task sent by the terminal 2, the vehicle-mounted bluetooth module 31 converts the test task from a radio frequency signal into a CAN test signal, and sends the CAN test signal to the gateway 32, after receiving the CAN test signal, the gateway 32 sends the CAN test signal to the industrial personal computer 1, after receiving the CAN test signal, the industrial personal computer 1 executes the test task corresponding to the CAN test signal, generates a reply signal, and feeds the reply signal back to the gateway 32, and after receiving the reply signal by the gateway 32, will send it to on-vehicle bluetooth module 31, in order to return to terminal 2 again, on-vehicle bluetooth module 31 needs convert the reply signal into radio frequency signal to send radio frequency signal to terminal 2, so that can carry out validity judgement with the test task feedback result that receives according to terminal 2 to whole test flow.
On the basis of the above embodiment, optionally, the industrial personal computer 1 is further configured to monitor transmission signals in a transmission path of the test task and a reply path of the test task, and determine a test result based on the monitored transmission signals. The signals that industrial personal computer 1 CAN monitor include the CAN test signal and the reply signal transmitted between vehicle-mounted Bluetooth module 31 and gateway 32, and the CAN test signal and the reply signal transmitted between gateway 32 and industrial personal computer 1.
The transmission path can be any path in the process of sending the test task from the terminal 2 to the industrial personal computer 1. Similarly, the reply path may refer to any path in the process of sending the reply signal to the terminal 2 after the industrial personal computer 2 executes the test task. In the present embodiment, the transmission signal may include, but is not limited to, a radio frequency signal, a CAN test signal, a reply signal, and the like.
It should be noted that the determination of the test result by the industrial personal computer 1 based on the monitored transmission signal may include a determination of a test success or a determination of a test failure.
Optionally, the determining, by the industrial personal computer 1, the test failure based on the monitored transmission signal may include: the industrial personal computer 1 determines that the test fails under the condition that at least one transmission signal is not monitored, and determines an abnormal component based on the transmission signal which is not monitored, or the industrial personal computer 1 compares the signal content of each transmission signal with the standard signal content under the condition that each transmission signal is monitored, if any signal content fails to be compared, the test fails, and determines the abnormal component based on the signal content which fails to be compared. For example, in the process of transmitting the test task from the terminal 2 to the industrial personal computer 1, the industrial personal computer 1 does not monitor the transmission signal between the vehicle-mounted bluetooth module 31 and the gateway 32, but monitors the transmission signal between the gateway 32 and the industrial personal computer 1, and thus it may be determined that the test has failed, and it may be further determined that the abnormal component is the vehicle-mounted bluetooth module 31.
Correspondingly, the industrial personal computer 1 determines that the test is successful based on the monitored transmission signals, and the industrial personal computer 1 compares the signal content of each transmission signal with the standard signal content under the condition that each transmission signal is monitored, and determines that the test is successful if any signal content is successfully compared.
The standard signal content may be understood as signal information that is preset and used for determining whether the test is successful.
In specific implementation, in the testing process, the industrial personal computer 1 can also determine whether the testing task is successfully sent to the industrial personal computer 1 from the terminal 2 by monitoring a transmission signal on a transmission path of the testing task, and determine whether a reply signal is successfully fed back to the terminal 2 from the industrial personal computer 1 after the testing task is executed by monitoring a transmission signal on a reply path of the testing task. Further, if the industrial personal computer 1 does not monitor any one of the transmission signals or the condition that the signal content of the transmission signal is not matched with the preset standard signal content, it may be determined that the current test process fails, and an abnormal component causing the test failure may be determined according to the transmission signal whose transmission signal content is not matched, so that the tester may process the abnormal component in time and restart a new round of test process.
On the basis of the above embodiments, the test system further comprises a data transceiver. Wherein, data transceiver CAN include a plurality of ports, respectively with the CAN bus between on-vehicle bluetooth module 31 and the gateway 32, the CAN bus between gateway 32 and the industrial computer 1 to and industrial computer 1 is connected. The data transceiver CAN be located between industrial personal computer 1 and test bench 3 for transmit signal on the CAN bus between monitoring vehicle-mounted Bluetooth module 31 and gateway 32, and transmit signal on the CAN bus between gateway 32 and industrial personal computer 1, and send to industrial personal computer 1. The transmission signals on the CAN bus monitored by the data transceiver comprise CAN test signals on a transmission path of a test task and reply signals on a reply path of the test task. Specifically, the transmission signal includes a CAN test signal of a CAN bus between the vehicle-mounted bluetooth module 31 and the gateway 32, a CAN test signal on the CAN bus between the gateway 32 and the industrial personal computer 1, a reply signal of the CAN bus between the vehicle-mounted bluetooth module 31 and the gateway 32, and a reply signal on the CAN bus between the gateway 32 and the industrial personal computer 1. And if any transmission signal is not monitored and/or the signal value of any monitored transmission signal is incorrect, determining that the test bench fails to test.
On the basis of the above embodiments, the control module 11 in the industrial personal computer 1 is further configured to obtain a reply interface image displayed on the terminal 2 through the test bridge tool 12, and determine whether the reply interface image matches with a reply signal of the control module 11.
In specific implementation, the industrial personal computer 1 generates a reply signal to be fed back to the terminal 2 after executing a test task, in order to determine whether the reply signal received by the terminal 2 is consistent with the reply signal sent by the industrial personal computer 1, the control module 11 in the industrial personal computer 1 can obtain a reply interface image displayed after the terminal 2 receives the reply signal by calling the test bridge tool 12, and compare the obtained reply interface image with the reply signal generated by the control module 11 to determine whether the reply interface image is matched with the reply signal so as to determine whether the test is successful or failed again according to a comparison result.
It should be noted that the test task may be a test task of at least one bluetooth key. The industrial personal computer 1 can sequentially send a trigger instruction of a test task to the terminal based on a preset test sequence of a plurality of test tasks; accordingly, the test result is determined based on the transmission information detected during the test for each test task.
The embodiment of the invention provides a test system for a vehicle Bluetooth function, which comprises: the system comprises an industrial personal computer, a terminal and a test bench, wherein a vehicle-mounted Bluetooth module and a gateway are integrated on the test bench; the industrial personal computer is connected with the CAN bus between the vehicle-mounted Bluetooth module and the gateway; the industrial personal computer can control the terminal to send a test task to the vehicle-mounted Bluetooth module through Bluetooth, the vehicle-mounted Bluetooth module and the gateway transmit the test task sent by the terminal to the industrial personal computer, reply information of the industrial personal computer to the test task is sent to the terminal, the industrial personal computer can also be used for monitoring a transmission path of the test task and a transmission signal in the reply path of the test task, and determining a test result based on the monitored transmission signal, so that the problems that the manual test efficiency is low and whether an abnormal signal exists is difficult to judge are solved, in addition, the test of various fault conditions can not be realized under the real vehicle test environment, the simulation of the real scene of vehicle running can be realized under the condition of not depending on real vehicles, real sites and background environments, the test can be automatically performed, the vehicle Bluetooth function can be more comprehensively evaluated, the test coverage is improved, Accuracy and test efficiency.
Example two
Fig. 2 is a schematic flow chart of a method for testing a vehicle bluetooth function according to a second embodiment of the present invention, where the method can be applied to the system for testing a vehicle bluetooth function according to the second embodiment, and referring to fig. 2, the method can include the following steps:
s210, sending a test trigger signal to the terminal so that the terminal sends a test task to the test bench, and the test task is transmitted through the vehicle-mounted Bluetooth module and the gateway on the test bench.
S220, receiving the test task transmitted by the test bench, generating reply information, and sending the reply information to the test bench, so that the gateway and the vehicle-mounted Bluetooth module on the test bench send the reply information to the terminal.
And S230, in the transmission process of the test signal and the reply message, monitoring a transmission path of the test task and a transmission signal in the reply path of the test task, and determining a test result based on the monitored transmission signal.
To describe the embodiment of the present embodiment more clearly, the description may be given by using a specific example, taking the terminal as a mobile phone and the test task as an example for testing the function of the bluetooth digital key APP, referring to fig. 3, where the specific embodiment may include the following steps:
1. deploying a test environment, and registering a Bluetooth digital key APP;
2. the mobile phone is connected with the vehicle-mounted Bluetooth module through Bluetooth;
3. the industrial personal computer sends a test trigger signal to the mobile phone through the test bridge tool, automatically clicks a vehicle control button on the Bluetooth digital key APP, and sends a test task to the test bench;
4. monitoring whether instruction transmission corresponding to the test task exists between the vehicle-mounted Bluetooth module and the gateway or not, and determining whether abnormal signals exist in all transmission signals or not;
5. whether an instruction corresponding to the test task is transmitted between the monitoring gateway and the industrial personal computer or not is monitored, and whether abnormal signals exist in all CAN test signals or not is determined;
6. a control module in the industrial personal computer executes a test task through simulation, generates a reply signal, and traverses forward reply and reverse reply;
7. monitoring whether a corresponding reply signal exists between the gateway and the vehicle-mounted Bluetooth module, and determining whether the signal content of the reply signal is completely consistent with that of the control module;
8. and acquiring a reply interface image displayed on the mobile phone through the test bridge tool, and determining whether the reply interface image is completely consistent with a reply signal of the control module.
The embodiment of the invention provides a test system for a vehicle Bluetooth function, which comprises: the system comprises an industrial personal computer, a terminal and a test bench, wherein a vehicle-mounted Bluetooth module and a gateway are integrated on the test bench; the industrial personal computer is connected with the CAN bus between the vehicle-mounted Bluetooth module and the gateway; the industrial personal computer can control the terminal to send a test task to the vehicle-mounted Bluetooth module through Bluetooth, the vehicle-mounted Bluetooth module and the gateway transmit the test task sent by the terminal to the industrial personal computer, reply information of the industrial personal computer to the test task is sent to the terminal, the industrial personal computer can also be used for monitoring a transmission path of the test task and a transmission signal in the reply path of the test task, and determining a test result based on the monitored transmission signal, so that the problems that the manual test efficiency is low and whether an abnormal signal exists is difficult to judge are solved, in addition, the test of various fault conditions can not be realized under the real vehicle test environment, the simulation of the real scene of vehicle running can be realized under the condition of not depending on real vehicles, real sites and background environments, the test can be automatically performed, the vehicle Bluetooth function can be more comprehensively evaluated, the test coverage is improved, Accuracy and test efficiency.
EXAMPLE III
A third embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for testing bluetooth functionality of a vehicle, the method comprising:
sending a test trigger signal to the terminal so that the terminal sends a test task to the test bench, and the test task is transmitted through the vehicle-mounted Bluetooth module and the gateway on the test bench;
receiving a test task transmitted by the test bench, generating reply information, and sending the reply information to the test bench so that the gateway and the vehicle-mounted Bluetooth module on the test bench send the reply information to the terminal;
in the transmission process of the test signal and the reply information, a transmission path of the test task and a transmission signal in the reply path of the test task are monitored, and a test result is determined based on the monitored transmission signal.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A vehicle Bluetooth function test system, comprising: the system comprises an industrial personal computer, a terminal and a test bench, wherein a vehicle-mounted Bluetooth module and a gateway are integrated on the test bench; the vehicle-mounted Bluetooth module is connected with the gateway through a CAN bus, the gateway is connected with the industrial personal computer through the CAN bus, and the industrial personal computer is connected with the CAN bus between the vehicle-mounted Bluetooth module and the gateway;
the industrial personal computer control terminal sends a test task to the vehicle-mounted Bluetooth module through Bluetooth;
the vehicle-mounted Bluetooth module and the gateway transmit the test task sent by the terminal to the industrial personal computer and send a reply signal of the industrial personal computer to the test task to the terminal;
the industrial personal computer is also used for monitoring the transmission path of the test task and the transmission signal in the reply path of the test task, and determining a test result based on the monitored transmission signal.
2. The test system of claim 1, wherein the vehicle-mounted bluetooth module receives a test task sent by the terminal, converts the test task into a CAN test signal, and sends the CAN test signal to a gateway;
the gateway sends the CAN test signal to the industrial personal computer, receives a reply signal of the industrial personal computer, and sends the reply signal to the vehicle-mounted Bluetooth module;
the vehicle-mounted Bluetooth module converts the reply signal into a radio frequency signal and sends the radio frequency signal to the terminal.
3. The test system according to claim 1 or 2, further comprising a data transceiver, wherein the data transceiver comprises a plurality of ports, and the ports are respectively connected with the CAN bus between the vehicle-mounted Bluetooth module and the gateway, the CAN bus between the gateway and the industrial personal computer, and are used for monitoring transmission signals on the CAN bus and sending the transmission signals to the industrial personal computer.
4. The test system of claim 2, wherein the transmission signal monitored by the industrial personal computer comprises: the CAN test signal and the reply signal transmitted between the vehicle-mounted Bluetooth module and the network, and the CAN test signal and the reply signal transmitted between the gateway and the industrial personal computer.
5. The test system of claim 2, wherein the reply signal comprises a normal reply signal and an abnormal reply signal.
6. The test system of claim 1, wherein the industrial personal computer determines that the test failed in the case where at least one transmission signal is not monitored, and determines an abnormal part based on the transmission signal that is not monitored;
and the industrial personal computer compares the signal content of each transmission signal with the standard signal content under the condition that each transmission signal is monitored, determines that the test fails if any signal content fails to be compared, and determines an abnormal component based on the signal content failed to be compared.
7. The test system of claim 1, wherein the industrial personal computer comprises a control module and a test bridge tool;
and the control module calls the test bridge tool and sends a trigger instruction of a test task to the terminal.
8. The test system of claim 7, wherein the control module is further configured to obtain, through the test bridge tool, a reply interface image displayed on the terminal, and determine whether the reply interface image matches a reply signal of the control module.
9. A method for testing the Bluetooth function of a vehicle is characterized by comprising the following steps:
sending a test trigger signal to the terminal so that the terminal sends a test task to the test bench, wherein the test task is transmitted through a vehicle-mounted Bluetooth module and a gateway on the test bench;
receiving the test task transmitted by the test bench, generating reply information, and sending the reply information to the test bench so that the gateway and the vehicle-mounted Bluetooth module on the test bench send the reply information to the terminal;
and in the transmission process of the test signal and the reply information, monitoring a transmission path of the test task and a transmission signal in a reply path of the test task, and determining a test result based on the monitored transmission signal.
10. A storage medium containing computer executable instructions for performing the method of testing vehicle bluetooth functionality of claim 9 when executed by a computer processor.
CN202210105330.1A 2022-01-28 2022-01-28 Vehicle Bluetooth function test system and test method Pending CN114257470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210105330.1A CN114257470A (en) 2022-01-28 2022-01-28 Vehicle Bluetooth function test system and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210105330.1A CN114257470A (en) 2022-01-28 2022-01-28 Vehicle Bluetooth function test system and test method

Publications (1)

Publication Number Publication Date
CN114257470A true CN114257470A (en) 2022-03-29

Family

ID=80796941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210105330.1A Pending CN114257470A (en) 2022-01-28 2022-01-28 Vehicle Bluetooth function test system and test method

Country Status (1)

Country Link
CN (1) CN114257470A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114938343A (en) * 2022-04-24 2022-08-23 福州昇宇门控智能科技有限公司 Intelligent lock cluster test architecture and data transmission method
CN115334485A (en) * 2022-09-15 2022-11-11 北京华创互联科技股份有限公司 Bluetooth device testing device and Bluetooth testing system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2778928A2 (en) * 2013-03-14 2014-09-17 Accenture Global Services Limited D-bus communicaiton testing for bluetooth profiles
CN104637125A (en) * 2013-11-11 2015-05-20 比亚迪股份有限公司 System and method for controlling vehicle through mobile terminal
CN104734911A (en) * 2015-02-10 2015-06-24 重庆邮电大学 CAN bus network management test system and method
CN104875716A (en) * 2015-05-08 2015-09-02 深圳天珑无线科技有限公司 Method for automatically controlling safety lock and smart terminal
CN105322985A (en) * 2014-05-29 2016-02-10 深圳市赛格导航科技股份有限公司 System and method for testing Bluetooth connection of vehicle-borne multimedia equipment
CN106325235A (en) * 2015-07-03 2017-01-11 深圳市赛格导航科技股份有限公司 Automotive electronic product production test system and method based on CAN bus
CN108426604A (en) * 2018-02-07 2018-08-21 深圳市恒晨电器有限公司 A kind of automatization test system and method for car-mounted terminal
CN110853332A (en) * 2019-10-22 2020-02-28 奇瑞汽车股份有限公司 Vehicle offline detection system and method for detecting Bluetooth key function
CN210294434U (en) * 2019-06-19 2020-04-10 湖北亿咖通科技有限公司 Multifunctional automatic test system of vehicle-mounted multimedia system
CN111143215A (en) * 2019-12-27 2020-05-12 南京英莫特信息科技有限公司 Automatic testing method for vehicle-mounted software
CN112763229A (en) * 2020-12-24 2021-05-07 中通客车控股股份有限公司 Bluetooth-based vehicle data monitoring method and device and vehicle
CN113613250A (en) * 2021-07-22 2021-11-05 上汽通用五菱汽车股份有限公司 Bluetooth vehicle control method, system and computer readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2778928A2 (en) * 2013-03-14 2014-09-17 Accenture Global Services Limited D-bus communicaiton testing for bluetooth profiles
CN104637125A (en) * 2013-11-11 2015-05-20 比亚迪股份有限公司 System and method for controlling vehicle through mobile terminal
CN105322985A (en) * 2014-05-29 2016-02-10 深圳市赛格导航科技股份有限公司 System and method for testing Bluetooth connection of vehicle-borne multimedia equipment
CN104734911A (en) * 2015-02-10 2015-06-24 重庆邮电大学 CAN bus network management test system and method
CN104875716A (en) * 2015-05-08 2015-09-02 深圳天珑无线科技有限公司 Method for automatically controlling safety lock and smart terminal
CN106325235A (en) * 2015-07-03 2017-01-11 深圳市赛格导航科技股份有限公司 Automotive electronic product production test system and method based on CAN bus
CN108426604A (en) * 2018-02-07 2018-08-21 深圳市恒晨电器有限公司 A kind of automatization test system and method for car-mounted terminal
CN210294434U (en) * 2019-06-19 2020-04-10 湖北亿咖通科技有限公司 Multifunctional automatic test system of vehicle-mounted multimedia system
CN110853332A (en) * 2019-10-22 2020-02-28 奇瑞汽车股份有限公司 Vehicle offline detection system and method for detecting Bluetooth key function
CN111143215A (en) * 2019-12-27 2020-05-12 南京英莫特信息科技有限公司 Automatic testing method for vehicle-mounted software
CN112763229A (en) * 2020-12-24 2021-05-07 中通客车控股股份有限公司 Bluetooth-based vehicle data monitoring method and device and vehicle
CN113613250A (en) * 2021-07-22 2021-11-05 上汽通用五菱汽车股份有限公司 Bluetooth vehicle control method, system and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114938343A (en) * 2022-04-24 2022-08-23 福州昇宇门控智能科技有限公司 Intelligent lock cluster test architecture and data transmission method
CN114938343B (en) * 2022-04-24 2023-10-13 福州昇宇门控智能科技有限公司 Intelligent lock cluster test architecture and data transmission method
CN115334485A (en) * 2022-09-15 2022-11-11 北京华创互联科技股份有限公司 Bluetooth device testing device and Bluetooth testing system
CN115334485B (en) * 2022-09-15 2024-01-30 北京华创互联科技股份有限公司 Bluetooth device testing device and Bluetooth testing system

Similar Documents

Publication Publication Date Title
EP3048759B1 (en) Fault diagnosis method, device and system
Zaldivar et al. Providing accident detection in vehicular networks through OBD-II devices and Android-based smartphones
CN114257470A (en) Vehicle Bluetooth function test system and test method
CN102023922B (en) System and method for testing automotive electronic diagnostic software
US9762470B2 (en) Determining performance criteria of a vehicle communication network connection
CN109740222B (en) Testing device and system for automobile networking scene
CN111158718A (en) Local communication server, OTA (over the air) upgrading method thereof and cloud server
CN112202639B (en) Performance test method for realizing Internet of vehicles remote control service through LoadRunner tool
CN111506047B (en) Vehicle diagnosis method, device and storage medium
CN111443691A (en) Intelligent online diagnosis method and device for automobile
CN115437338A (en) Remote diagnosis method and device, electronic equipment and storage medium
US20090036115A1 (en) System and method for testing gsm modules
CN114465940A (en) Vehicle-mounted test system, method and storage medium
CN112492052A (en) Remote debugging method and device for intelligent networked vehicle data
CN113485918A (en) Test method, test device, electronic equipment and storage medium
CN111338951A (en) Wireless intelligent household appliance detection method and system
KR100794130B1 (en) Automatic Function Testing Equipment for Application Software and Additional Service of Mobile Communication Terminal
CN104301405A (en) Vehicle diagnostic method, module and system
US20040087303A1 (en) System and method for collecting debugging and system crash information from a mobile phone
CN111917692A (en) Fuzzy test method, device, equipment and computer readable storage medium
CN107205241B (en) Wireless communication detection method and equipment thereof
CN114328229A (en) Over-the-air technology test system
CN112559289A (en) Monitoring system
CN117240738B (en) Method, device, equipment and storage medium for testing vehicle-mounted Ethernet
CN111008144B (en) Software performance detection method, terminal equipment and computer readable 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