MDVR test method and system, MDVR equipment and test device

By using the USB disk configuration file to automatically execute test items in MDVR devices, the existing MDVR test efficiency and high cost of automation testing are solved, and an efficient and accurate test process is achieved, which is suitable for the needs of small and medium-sized enterprises.

CN119088692APending Publication Date: 2024-12-06HANGZHOU JIEFENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411181854.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The testing process of existing MDVR equipment relies on manual operations, is inefficient and prone to errors, and the cost of automated testing equipment is high, which is difficult for small and medium-sized enterprises to afford. Traditional testing methods are difficult to flexibly respond to different test needs, and lack automation and accuracy.

Method used

By introducing USB interface and pre-stored internal test item files into MDVR devices, the configuration files in the USB disk are automatically detected and executed, and the test items are automatically tested based on the preset test sequence, a test report is generated, and the device and alarm are displayed. The equipment feedbacks the test results to achieve automated and flexible testing processes.

Benefits of technology

It improves the efficiency and accuracy of MDVR testing, reduces manual intervention, provides cost-controllable automated testing solutions, adapts to different test needs, and improves the flexibility and automation level of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088692A_ABST
    Figure CN119088692A_ABST
Patent Text Reader

Abstract

The invention provides an MDVR testing method and system, MDVR equipment and a testing device.The testing method comprises the steps that when it is detected that a USB flash disk is connected, a configuration file in the USB flash disk is obtained; the configuration file comprises an external test item list; judging whether test items in the internal test item file are in an external test item list or not; if the test item is in the external test item list, determining that the test item is a target to-be-tested item; and on the basis of a preset test sequence, executing each target to-be-tested item in sequence until each target to-be-tested item is tested. In the mode, the MDVR test method which is controllable in cost and can automatically execute a plurality of test items can be provided, so that the test efficiency and accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of MDVR technology, and in particular to a MDVR testing method, system, MDVR equipment and testing device. Background Art

[0002] MDVR devices (Mobile Digital Video Recorders) can be applied to various mobile platforms, including public transportation vehicles, freight trucks, school buses, taxis, etc. It can not only record videos, but also help fleet management or security monitoring through GPS tracking, remote monitoring and other functions.

[0003] In the actual production test process of existing MDVR equipment, function verification usually relies on manual operation, which is inefficient and prone to errors. Although some large companies have introduced automated testing equipment, the investment cost of such equipment is high and small and medium-sized enterprises cannot afford it. In addition, traditional testing methods are difficult to flexibly respond to different testing needs and lack automation and accuracy. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide an MDVR testing method, system, MDVR device and testing apparatus, which can provide a cost-controlled MDVR testing method that can automatically execute multiple test items to improve testing efficiency and accuracy.

[0005] In the first aspect, an embodiment of the present invention provides a MDVR testing method, which is applied to an MDVR device, wherein the MDVR device is configured with a USB interface, and an internal test item file is pre-stored in the MDVR device; the testing method comprises: when a USB flash drive is detected to be connected, obtaining a configuration file in the USB flash drive; the configuration file comprises an external test item list; determining whether a test item in the internal test item file is in the external test item list; if the test item is in the external test item list, determining that the test item is a target item to be tested; and executing each target item to be tested in turn based on a preset test order until the test of each target item to be tested is completed.

[0006] Furthermore, based on a preset test sequence, each target item to be tested is executed in sequence until the test of each target item to be tested is completed. The method also includes: obtaining test data corresponding to each target item to be tested; determining whether the test data meets the preset test standard; if the test data meets the test standard, determining that the test result corresponding to the target item to be tested is a passed test; if the test data does not meet the test standard, determining that the test result corresponding to the target item to be tested is a failed test; obtaining the test result corresponding to each target item to be tested; and generating a test report based on each test result.

[0007] Furthermore, the MDVR device is communicatively connected with a display device of an external device; after the step of obtaining the test result corresponding to each target test item, the method further includes: sending the test result to the display device so that a user can view the test result through the display device; identifying feedback information sent by the user through the display device; the feedback information is correct test result information or error test result information; the error test result information includes the test item to be modified and the test result to be modified corresponding to the test item to be modified; if the feedback information is error test result information, modifying the test result corresponding to the test item to be modified based on the test result to be modified.

[0008] Furthermore, the MDVR device is communicatively connected with an alarm device of an external device; if the feedback information is a test result error message, after the step of modifying the test result corresponding to the test item to be modified based on the test result to be modified, the method also includes: if the test result corresponding to a target item to be tested is a test failure, sending an alarm signal to the alarm device.

[0009] Furthermore, after the step of generating a test report based on each test result, the method also includes: saving the test report to a USB flash drive; and / or sending the test report to a server of an external device so that the server saves the test report; the server is communicatively connected to the MDVR device.

[0010] Furthermore, the configuration file also includes test parameters; the test parameters include at least one of video resolution, network SSID, WIFI password and 4G module network priority; based on a preset test sequence, each target item to be tested is executed in sequence until the step of completing the test of each target item to be tested, the method also includes: initializing each target item to be tested based on the test parameters.

[0011] Furthermore, the test items include video output test, video input test, first storage device test, second storage device test, LAN / WAN test, WIFI test, 4G module test and GPS test.

[0012] In a second aspect, an embodiment of the present invention provides an MDVR test system, which is applied to an MDVR device, wherein the MDVR device is configured with a USB interface, and an internal test item file is pre-stored in the MDVR device; the test system comprises: a USB disk detection module, which is used to obtain a configuration file in the USB disk when a USB disk access is detected; the configuration file comprises an external test item list; a target to-be-tested item judgment module, which is used to judge whether a test item in the internal test item file is in the external test item list; the target to-be-tested item judgment module is also used to determine that the test item is a target to-be-tested item if the test item is in the external test item list; a test module, which is used to execute each target to-be-tested item in sequence based on a preset test order until the test of each target to-be-tested item is completed.

[0013] In the third aspect, an embodiment of the present invention provides an MDVR device, including an MDVR device body and a USB interface, a video output interface, a video input interface, a first storage device interface, a second storage device interface, a network module, a WIFI module, a 4G module and a GPS module arranged on the MDVR device body, and also includes the above-mentioned MDVR test system, and the MDVR test system is deployed in the MDVR device body.

[0014] In a fourth aspect, an embodiment of the present invention provides a testing device, including the above-mentioned MDVR device, and also including a USB flash drive, a display device, a server and an alarm device respectively connected to the MDVR device.

[0015] The embodiment of the present invention provides a MDVR test method, system, MDVR device and test apparatus, the test method comprising: when a USB flash drive is detected to be connected, obtaining a configuration file in the USB flash drive; the configuration file includes an external test item list; judging whether the test item in the internal test item file is in the external test item list; if the test item is in the external test item list, determining that the test item is a target item to be tested; based on a preset test sequence, executing each target item to be tested in turn until each target item to be tested is tested. In this way, a cost-controllable MDVR test method capable of automatically executing multiple test items can be provided to improve test efficiency and accuracy.

[0016] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0017] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 A flow chart of a method for testing an MDVR provided in Embodiment 1 of the present invention;

[0020] Figure 2 A flow chart of a test report generation method provided in Embodiment 1 of the present invention;

[0021] Figure 3 A flow chart of a test result modification method provided in Embodiment 1 of the present invention;

[0022] Figure 4 A schematic diagram of a test system for an MDVR provided in Embodiment 2 of the present invention;

[0023] Figure 5 A schematic diagram of an MDVR device provided in Embodiment 3 of the present invention;

[0024] Figure 6 A schematic diagram of a testing device provided for implementation of the fourth embodiment of the present invention.

[0025] Icons: 1-U disk detection module; 2-target test item judgment module; 3-test module; 4-MDVR device body; 5-USB interface; 6-video output interface; 7-video input interface; 8-first storage device interface; 9-second storage device interface; 10-network module; 11-WIFI module; 12-4G module; 13-GPS module; 14-MDVR test system; 15-MDVR device; 16-U disk; 17-display device; 18-server; 19-alarm device. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0027] To facilitate understanding of this embodiment, the embodiment of the present invention is described in detail below.

[0028] Embodiment 1:

[0029] Figure 1 This is a flow chart of the MDVR testing method provided in Example 1 of the present invention.

[0030] Here, it is applied to an MDVR device, the MDVR device is equipped with a USB interface, and an internal test item file is pre-stored in the MDVR device, wherein the internal test file includes test items that the MDVR device can perform and a test program corresponding to each test item.

[0031] Reference Figure 1 , MDVR test methods include:

[0032] Step S101, when a USB flash drive is detected to be connected, a configuration file in the USB flash drive is obtained; the configuration file includes a list of external test items.

[0033] Here, the user inserts the USB disk containing the configuration file into the USB port of the MDVR device.

[0034] After the MDVR device is powered on, it automatically detects whether a USB flash drive is connected to the USB interface. Once the USB flash drive is detected, it enters the automatic test process based on the external test item list in the USB flash drive and the pre-stored internal test item files.

[0035] The configuration file is a text file. The configuration file is pre-set with detailed configurations corresponding to each test item. Each configuration item corresponds to a different test function and specifies specific parameters. The configuration file includes an external test item list, which is used to trigger the test function of the MDVR device. Among them, the external test item list in the U disk is configured with multiple test item names to meet the needs of the U disk for different devices.

[0036] By modifying the configuration file in the USB flash drive, users can flexibly customize test items and parameters. For example, if a test only needs to check the HDMI output and SD card storage functions, other unnecessary tests can be turned off by modifying the configuration file.

[0037] When a new test item needs to be added, the user can add the corresponding test item name in the external test item list of the configuration file without modifying the core code of the MDVR device.

[0038] Step S102: determine whether the test item in the internal test item file is in the external test item list.

[0039] Step S103: If the test item is in the external test item list, determine that the test item is a target item to be tested.

[0040] Furthermore, if the test item is not in the external test list, the test item is skipped and not tested.

[0041] Specifically, the test items in the internal test item file include video output test, video input test, first storage device test, second storage device test, LAN / WAN test, WIFI test, 4G module test and GPS test.

[0042] The external test item list includes the following test item names: video output test, GPS positioning test and communication test.

[0043] It is respectively determined whether the video output test, the video input test, the first storage device test, the second storage device test, the LAN / WAN test, the WIFI test, the 4G module test and the GPS test exist in the external test item list.

[0044] The video output test and the GPS positioning test exist in the external test item list, and the video output test and the GPS positioning test are determined as target items to be tested.

[0045] The video input test, the first storage device test, the second storage device test, the LAN / WAN test, the WIFI test, and the 4G module test do not exist in the external test item list and are not tested.

[0046] Step S104: based on a preset test sequence, execute each target item to be tested in sequence until the test of each target item to be tested is completed.

[0047] Here, the test order is pre-set according to actual conditions, and the test order can be set to 1. video output test, 2. video input test, 3. first storage device test, 4. second storage device test, 5. LAN / WAN test, 6. WIFI test, 7. 4G module test and 8. GPS test.

[0048] In one embodiment, before step S104, the method further includes:

[0049] Initialize each target item to be tested based on the test parameters.

[0050] In one embodiment, the configuration file also includes test parameters; the test parameters include at least one of resolution, SSID (Service Set Identifier), WIFI password and 4G module network priority.

[0051] In one embodiment, the MDVR device is configured with a video output interface (such as an HDMI interface (High Definition Multimedia Interface), a VGA interface (Video Graphics Array) or a CVBS interface (Composite Video Broadcast Signal)), and the MDVR device can be connected to an external display device through the video output interface.

[0052] Video output tests include:

[0053] When the display device is a high-definition display, determine that the video output interface is an HDMI interface. Detect the HDMI interface to identify whether a display device is connected. If a display device is detected, read the EDID (Extended Display Identification Data) of the display device to identify the resolution supported by the display device. According to the resolution information, output the HDMI video signal of the corresponding resolution to the display device, and record the HDMI video signal output to the display device as the test data of the video output test.

[0054] When the display device is a general display or projection device, determine that the video output interface is a VGA interface or a CVBS interface. Detect the VGA interface or the CVBS interface to identify whether a display device is connected. If a display device is detected, output a VGA video signal or a CVBS video signal without reading the EDID of the display device, and record the VGA video signal or the CVBS video signal output to the display device as the test data of the video output test.

[0055] In one embodiment, the MDVR device is configured with a video input interface (such as a BNC interface (Bayonet NutConnector, camera device output wire and camera connection interface), an HDMI interface, a VGA interface or an AV interface (composite video interface)), and the video input interface can be connected to an external camera device.

[0056] Video input tests include:

[0057] Detect the video input interface and identify whether there is a camera device connected. If a camera device is detected, detect whether there is a video signal input, identify and record the basic parameters of the signal, such as resolution, frame rate, signal format (NTSC, PAL, etc.).

[0058] Determine whether the configuration file in the USB flash drive has a preset resolution. The preset resolution is generally set to 1080P or 720P.

[0059] If no preset resolution is set in the configuration file, automatically detect the resolution of the input signal. Common detection steps include detecting one by one from low to high. Ensure that the device can correctly identify and process the resolution of the video input. When processing high-resolution (such as 1080P) video signals, ensure that the image does not have problems such as frame loss and freeze. If a preset resolution is set in the configuration file, automatically detect the video signal that meets the preset resolution.

[0060] Determine the clarity of the video displayed on the monitor, and check whether the image is blurry, distorted, or has inaccurate colors. Detect the frame rate of the video (such as 30fps, 60fps) to ensure smooth video and stable frame rate. Verify whether the colors transmitted by the camera are correctly restored and whether the image has color cast. Determine the stability of the video signal during the video input process within the preset time period to ensure that there is no signal loss, screen freeze, or other abnormalities. The preset time period is pre-set according to the actual situation and can be set to 1 hour.

[0061] After the test is completed, the detected signal parameters and various indicators during the test (such as resolution and frame rate, etc.) are determined as test data corresponding to the video input test.

[0062] In one embodiment, a first storage device interface (such as an SDIO (Secure Digital Input Output) interface) is provided on the MDVR device, and the first storage device interface is used to connect to an SD (Secure Digital Card) card slot of an external device.

[0063] The first storage device test includes:

[0064] When the SD card is inserted into the SD card slot, the MDVR device will detect the access of the SD card in real time through the SDIO interface. The MDVR device needs to confirm whether the SD card is correctly identified and record the basic information of the device (such as capacity, file system format, etc.).

[0065] Use the 'dd' command or other tools to write data to the SD card, record the writing speed and success rate. Read the data just written to the SD card and check the consistency of the data to ensure that the read data is exactly the same as the written data.

[0066] Through multiple read and write operations, record the average read and write speed to test the read and write speed of the SD card.

[0067] Perform long read and write operations on the SD card (e.g., 1 hour or more), and record the read and write data to check for errors or speed drops.

[0068] After the test is completed, the write data, read / write rate, read data, average read / write rate, long-term read / write data and long-term read / write rate are determined as test data corresponding to the first storage device test.

[0069] In one embodiment, a second storage device interface (such as a SATA interface (Serial ATA)) is provided on the MDVR device, and the second storage device interface is used to connect to an external hard disk or SSD (Solid State Disk or Solid State Drive) device.

[0070] Secondary storage device tests include:

[0071] When the SATA interface detects that a hard disk or SSD device is inserted, the MDVR device needs to confirm whether the hard disk or SSD device is correctly identified and record the basic information of the device (such as capacity, model, etc.).

[0072] Use the 'dd' command or other tools to write data to a hard disk or SSD device. Usually, a fixed-size file is written and the writing speed and success rate are recorded. After writing is completed, use the 'dd' command or other tools to read the data just written from the hard disk or SSD device.

[0073] Through multiple read and write operations, record the average read and write speed to test the read and write speed of the SD card.

[0074] Perform long read and write operations on a hard disk or SSD device (e.g., 1 hour or longer), and record the read and write data to check for errors or speed drops.

[0075] After the test is completed, the write data, read / write rate, read data, average read / write rate, long-term read / write data and long-term read / write rate are determined as test data corresponding to the second storage device test.

[0076] In one embodiment, a network module is provided on the MDVR device, and the MDVR device is connected to a router or switch of an external device through the network module. The MDVR device can be connected to a LAN (Local Area Network) or a WAN (Wide Area Network).

[0077] LAN / WAN testing includes:

[0078] LAN detection: Use the MDIO (Management Data Input / Output) command to detect the physical layer status of the network card, confirm whether the Ethernet physical layer connection is normal, check whether the network cable is plugged in, whether the connection status is "connected", etc. By detecting the link status of the network card (such as link rate, duplex mode, etc.), confirm whether it meets the expected configuration.

[0079] WAN Detection: If the device supports WAN connections, it will usually detect the status of the device, such as whether the modem or other connecting equipment is functioning properly.

[0080] Use the IP address assignment test to confirm whether the device can obtain an IP address from the server, or if a static IP address is used, confirm whether the IP configuration is correct. Check whether the gateway, subnet mask, and DNS settings are correct.

[0081] LAN Ping test: Ping test other devices in the LAN (such as routers, switches, and other networking devices) to verify the stability of the network connection and the delay of the round-trip data packets.

[0082] WAN Ping Test: Test the stability, latency, and packet loss of WAN connections by pinging a remote server or Internet address (such as 8.8.8.8 or a specific server IP).

[0083] Data transmission test within the LAN: Use iperf (network performance test tool) to perform data transmission test within the LAN to test the bandwidth and throughput within the LAN. Test the transmission rate of different data packet sizes to detect the network performance of the device under various conditions.

[0084] WAN data transmission test: Test the WAN transmission rate and bandwidth through data transmission between remote servers and devices (such as file upload and download).

[0085] After the test is completed, determine the Ping test delay, packet loss rate, and bandwidth test results as the corresponding test results of the LAN / WAN test.

[0086] In one embodiment, a WIFI module is provided on the MDVR device, and the MDVR device is connected to the server of the peripheral device through the WIFI module.

[0087] WiFi tests include:

[0088] The MDVR device supports automatic switching between STA (Station) and AP (Access Point) modes. During the test, it will try to connect to the WIFI network in STA mode first.

[0089] The preset SSID and password are used for Wi-Fi connection first. If these SSID and password are not available, the default SSID and password built into the test system are used for connection. The SSID can be pre-stored in the internal test item file or in the configuration file of the USB flash drive.

[0090] If the device is able to successfully connect to the specified Wi-Fi network, the test is determined to have passed. If the device cannot connect, the test fails.

[0091] If the STA mode fails, switch to AP mode and provide a Wi-Fi hotspot with a fixed SSID and password. In AP mode, check whether other devices are connected to the provided hotspot. If a device is detected to be successfully connected, the test passes. If no device is detected to be connected after the test is completed, the test fails.

[0092] After the test is completed, it is determined whether the test passes or fails as the test data of the WIFI test.

[0093] In one embodiment, a 4G module is provided on the MDVR device, and the MDVR device is connected to the server of the peripheral device through the 4G module.

[0094] 4G module test:

[0095] By accessing the ' / proc / tty / driver / usbseria' file, obtain and record the model, IMEI (International Mobile Equipment Identity), ICCID (Integratecircuit card identity) and other information of the 4G module.

[0096] Start the 4G dial-up process and establish a 4G connection.

[0097] After successfully establishing a 4G connection, it automatically switches to different network types, including 5G, 4G, 3G and 2G, according to the properties of the 4G module.

[0098] Under each network type, record the actual signal strength (dBm) and determine the signal strength as the test data for the 4G module test.

[0099] In one embodiment, a GPS module is provided on the MDVR device, and the MDVR device is connected to the positioning satellite of the peripheral device through the GPS module.

[0100] GPS module testing includes:

[0101] Get the raw data stream of the GPS module through the serial port address (such as ' / dev / ttyUSB1').

[0102] Extract device identifiers from the acquired data and record the GPS systems supported by the device, including GPS (Global Positioning System), BDS (Beidou Navigation Satellite System), GLONASS (GLOBAL NAVIGATION SATELLITE SYSTEM) and Galileo (Galileo satellite navigation system).

[0103] Specific data fields in the parsed data include:

[0104] GGA field: Get location data, including latitude, longitude, altitude, etc.

[0105] RMC field: Provides recommended minimum data, including UTC time, position, speed, etc.

[0106] GSV field: Provides satellite information, including the number of satellites currently visible and their signal strength.

[0107] GSA field: provides satellite status and mode information, including whether it is in 3D positioning mode.

[0108] Check whether the positioning is valid and whether sufficient satellite signals are obtained.

[0109] The current number of satellites and the number of visible satellites, UTC time (Beijing time) and date, longitude and latitude, altitude, heading and speed are recorded as test data of the GPS module.

[0110] After the test is completed, the system prompts that the test is over and the operator can unplug the USB drive or restart the device.

[0111] In one embodiment, referring to Figure 2 After step S104, the method further includes:

[0112] Step S201, obtaining test data corresponding to each target item to be tested.

[0113] Step S202, determining whether the test data meets the preset test standard.

[0114] Here, the preset test standard is pre-set according to actual conditions, and each target item to be tested corresponds to a test standard.

[0115] Step S203: if the test data meets the test standard, determine the test result corresponding to the target item to be tested as passed; if the test data does not meet the test standard, determine the test result corresponding to the target item to be tested as failed.

[0116] Step S204, obtaining the test result corresponding to each target item to be tested.

[0117] Specifically, the video output test:

[0118] The test data of the video output test is obtained. If the test data is empty, it is determined that the test result corresponding to the video output test is failed; if the test data is not empty, it is determined that the test result corresponding to the video output test is passed.

[0119] Video input test:

[0120] Get the test data of the video input test, and determine whether the detected image has frame loss and freezes, and whether there are problems such as blur, distortion, and inaccurate colors, and whether the frame rate is stable, and whether there is a color cast, and whether the video signal is stable within a preset time period. If the detected image does not have frame loss and freezes, and does not have problems such as blur, distortion, and inaccurate colors, and the frame rate is stable, and there is no color cast, and the video signal is stable within a preset time period, the test result corresponding to the video input test is determined to be passed, otherwise it is determined to be failed.

[0121] First storage device test:

[0122] Obtain test data for the first storage device test. If the write data and the read data are the same, and the read / write rate and the average read / write rate meet the preset read / write rate, and the write data and the read data over a long period of time are the same, and the read / write rate over a long period of time meets the preset read / write rate, determine that the test result corresponding to the first storage device test is passed; otherwise, determine that it is failed.

[0123] Second storage device test:

[0124] Obtain test data for the second storage device test. If the write data and the read data are the same, and the read / write rate and the average read / write rate meet the preset read / write rate, and the write data and the read data over a long period of time are the same, and the read / write rate over a long period of time meets the preset read / write rate, determine that the test result corresponding to the second storage device test is passed; otherwise, it is failed.

[0125] LAN / WAN Test:

[0126] The test data of the LAN / WAN test is obtained. If the delay, packet loss rate, and bandwidth test results of the Ping test are all within a preset standard range, the test result corresponding to the LAN / WAN test is determined to be passed; otherwise, it is determined to be failed.

[0127] WIFI TEST:

[0128] The test data of the WIFI test is obtained. If the test data indicates that the test is passed, it is determined that the test result corresponding to the WIFI test is passed, otherwise it is failed.

[0129] 4G module test:

[0130] Obtain the test data of the 4G module test, and determine whether the signal strength is greater than or equal to the preset signal strength; if the signal strength is greater than or equal to the preset signal strength, determine that the test result corresponding to the 4G module test is passed; if the signal strength is less than the preset signal strength, determine that the test result corresponding to the 4G module test is failed.

[0131] GPS module test:

[0132] Get the test data of the GPS module test. If the longitude and latitude data are valid and meet the expected standards, the test result is passed. If the valid longitude and latitude data cannot be obtained or the positioning data is abnormal, the test result is failed.

[0133] In one embodiment, referring to Figure 3 After step S204, the method further includes:

[0134] Step S301: Send the test result to a display device so that a user can view the test result through the display device.

[0135] Here, the user can view the test data and test results in real time through the interactive interface of the display device. The interactive interface includes interactive buttons. If the user finds that the test result is wrong, the test result can be modified through the interactive buttons.

[0136] Step S302, identifying feedback information sent by the user through the display device; the feedback information is test result correct information or test result error information; the test result error information includes the test item to be modified and the test result to be modified corresponding to the test item to be modified.

[0137] Step S303: if the feedback information is test result error information, modify the test result corresponding to the test item to be modified based on the test result to be modified.

[0138] Here, if the feedback information is correct information of the test result, there is no need to modify the test result.

[0139] In one embodiment, the MDVR device is in communication with the external alarm device. After step S303, the method further includes:

[0140] If the test result corresponding to a target test item is a test failure, an alarm signal is sent to the alarm device.

[0141] Here, if the test result corresponding to a test item of the MDVR device is a test failure, it is determined that the current MDVR device has a fault, and an alarm signal is sent to the alarm device to remind the user.

[0142] Step S205: Generate a test report based on each test result.

[0143] Here, users can view the test report through the display device. If there are any tests that failed, they will be marked in the report for subsequent manual confirmation or further troubleshooting.

[0144] In one embodiment, after step S205, the method further includes:

[0145] Save the test report to a USB flash drive.

[0146] And / or, sending the test report to a server of the peripheral device so that the server saves the test report; the server is connected to the MDVR device for communication.

[0147] Here, the USB configuration file can specify the test report saving method and path. For example, the results can be saved to a USB drive or transferred to a server.

[0148] If the path for saving the test log is specified in the configuration file, the MDVR device will record the test report according to the path for the operator to view and analyze.

[0149] An embodiment of the present invention provides a method for testing MDVR, the method comprising: when a USB flash drive is detected to be connected, obtaining a configuration file in the USB flash drive; the configuration file includes an external test item list; determining whether a test item in an internal test item file is in the external test item list; if the test item is in the external test item list, determining that the test item is a target item to be tested; and executing each target item to be tested in sequence based on a preset test sequence until each target item to be tested is tested. In this manner, the entire automated testing process of the MDVR device is guided by presetting an external test item list in a configuration file in the USB flash drive. The MDVR device executes test items that exist in both the external test item list and the internal test item file, and records and saves the results, thereby greatly improving the flexibility and operability of the MDVR test. At the same time, the entire process does not require manual intervention, which greatly improves the automation and accuracy of the test.

[0150] Embodiment 2:

[0151] Figure 4 A schematic diagram of a test system for an MDVR provided in Embodiment 2 of the present invention.

[0152] The MDVR test system is applied to the MDVR device. The MDVR device is equipped with a USB interface, and an internal test item file is pre-stored in the MDVR device.

[0153] Reference Figure 4 , test system, including:

[0154] The USB disk detection module 1 is used to obtain a configuration file in the USB disk when a USB disk is detected to be connected; the configuration file includes a list of external test items.

[0155] The target to-be-tested item determination module 2 is used to determine whether the test items in the internal test item file are in the external test item list.

[0156] The target to-be-tested item judging module 2 is further configured to determine that the test item is a target to-be-tested item if the test item is in the external test item list.

[0157] The test module 3 is used to execute each target item to be tested in sequence based on a preset test sequence until the test of each target item to be tested is completed.

[0158] The test items include video output test, video input test, first storage device test, second storage device test, LAN / WAN test, WIFI test, 4G module test and GPS test.

[0159] In one embodiment, the testing module 3 is further used for:

[0160] Get the test data corresponding to each target item to be tested.

[0161] Determine whether the test data meets the preset test standards.

[0162] If the test data meets the test standard, the test result corresponding to the target item to be tested is determined to be a passed test; if the test data does not meet the test standard, the test result corresponding to the target item to be tested is determined to be a failed test.

[0163] Get the test results corresponding to each target test item.

[0164] Generate a test report based on each test result.

[0165] In one embodiment, the MDVR device is connected to the display device of the peripheral device. The test module 3 is also used for:

[0166] The test results are sent to a display device so that a user can view the test results through the display device.

[0167] Identify feedback information sent by the user through the display device; the feedback information is correct test result information or error test result information; the error test result information includes the test item to be modified and the test result to be modified corresponding to the test item to be modified.

[0168] If the feedback information is test result error information, the test result corresponding to the test item to be modified is modified based on the test result to be modified.

[0169] In one embodiment, the MDVR device is connected to the external alarm device for communication. The test module 3 is also used for:

[0170] If the test result corresponding to a target test item is a test failure, an alarm signal is sent to the alarm device.

[0171] In one embodiment, the testing module 3 is further used for:

[0172] Save the test report to a USB flash drive.

[0173] And / or, sending the test report to a server of the peripheral device so that the server saves the test report; the server is connected to the MDVR device for communication.

[0174] In one embodiment, the configuration file also includes test parameters; the test parameters include at least one of video resolution, network SSID, WIFI password and 4G module network priority. Test module 3 is also used to:

[0175] Initialize each target item to be tested based on the test parameters.

[0176] The embodiment of the present invention provides a test system for MDVR, in which the entire automated test process of the MDVR device is guided by presetting an external test item list in a configuration file in a USB flash drive. The MDVR device executes the test items that exist in both the external test item list and the internal test item file, and records and saves the results, thereby greatly improving the flexibility and operability of the MDVR test. At the same time, the entire process does not require manual intervention, which greatly improves the automation and accuracy of the test.

[0177] Embodiment three:

[0178] Figure 5 This is a schematic diagram of the MDVR device provided in Example 3 of the present invention.

[0179] Reference Figure 5The MDVR device includes an MDVR device body 4 and a USB interface 5, a video output interface 6, a video input interface 7, a first storage device interface 8, a second storage device interface 9, a network module 10, a WIFI module 11, a 4G module 12 and a GPS module 13 arranged on the MDVR device body 4, and also includes the above-mentioned MDVR test system 14, and the MDVR test system 14 is arranged in the MDVR device body 4.

[0180] An embodiment of the present invention provides an MDVR device. In this method, an internal test item file is pre-stored in the MDVR device. The internal test item file includes multiple test items, and the functions of each module can be automatically tested.

[0181] Embodiment 4:

[0182] Figure 6 A schematic diagram of a testing device provided for implementation of the fourth embodiment of the present invention.

[0183] Reference Figure 6 The testing device includes the above-mentioned MDVR device 15, and also includes a U disk 16, a display device 17, a server 18 and an alarm device 19 respectively connected to the MDVR device 15.

[0184] Here, the MDVR device 15 is connected to the USB disk 16 via the USB interface 5 for video backup or system upgrade or automatic testing. A mouse can be connected for operating system interface.

[0185] The MDVR device 15 is connected to the display device 17 via the video output interface 6 for displaying the real-time video image of the camera.

[0186] The MDVR device 15 is connected to the server 18 via the WIFI module 11 and the 4G module 12, and the MDVR device 15 can be remotely controlled via a PC client or the like.

[0187] The MDVR device 15 is connected to the camera device via the video input interface 7 and is used to monitor the vehicle, such as the rear of the vehicle / inside the vehicle / the blind spot of the vehicle.

[0188] The MDVR device 15 is connected to the SD card of the external device through the first storage device interface 8 for video storage.

[0189] The MDVR device 15 is connected to an external hard disk or SSD device through the second storage device interface 9 for video storage.

[0190] The MDVR device 15 is connected to a router or a switch via a network module 10 for network deployment according to vehicle requirements.

[0191] The MDVR device 15 is connected to the positioning satellite through the GPS module 13 for positioning.

[0192] The embodiment of the present invention provides a testing device, which is based on the existing MDVR hardware, imports target detection items through a USB flash drive, completes automated testing, covers key functions of video input and output, storage devices, network interfaces, 4G modules and GPS modules, greatly improves test efficiency and accuracy, and reduces labor costs.

[0193] The computer program product provided in the embodiment of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment and will not be repeated here.

[0194] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0195] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0196] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0197] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0198] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for testing MDVR, characterized in that: Applied to MDVR device, the MDVR device is equipped with a USB interface, and the MDVR device pre-stores an internal test item file; The testing method comprises: When a USB flash drive is detected to be connected, a configuration file in the USB flash drive is obtained; the configuration file includes a list of external test items; Determine whether the test item in the internal test item file is in the external test item list; If the test item is in the external test item list, determining that the test item is a target item to be tested; Based on a preset test sequence, each of the target items to be tested is executed in sequence until the test of each of the target items to be tested is completed.

2. The MDVR testing method according to claim 1, characterized in that: After the step of sequentially executing each of the target items to be tested based on a preset test order until each of the target items to be tested is completed, the method further includes: Obtaining test data corresponding to each of the target items to be tested; Determining whether the test data meets the preset test standard; If the test data meets the test standard, the test result corresponding to the target item to be tested is determined to be a test pass; if the test data does not meet the test standard, the test result corresponding to the target item to be tested is determined to be a test fail; Obtaining the test result corresponding to each of the target items to be tested; A test report is generated based on each of the test results.

3. The MDVR testing method according to claim 2, characterized in that: The MDVR device is communicatively connected with a peripheral display device; After the step of obtaining the test result corresponding to each of the target items to be tested, the method further includes: Sending the test result to the display device so that a user can view the test result through the display device; Identify feedback information sent by the user through the display device; the feedback information is test result correct information or test result error information; the test result error information includes a test item to be modified and a test result to be modified corresponding to the test item to be modified; If the feedback information is the test result error information, the test result corresponding to the test item to be modified is modified based on the test result to be modified.

4. The MDVR testing method according to claim 3, characterized in that: The MDVR device is connected to the external alarm device for communication; If the feedback information is the test result error information, after the step of modifying the test result corresponding to the test item to be modified based on the test result to be modified, the method further includes: If the test result corresponding to one of the target items to be tested is that the test fails, an alarm signal is sent to the alarm device.

5. The MDVR testing method according to claim 2, characterized in that: After the step of generating a test report based on each of the test results, the method further includes: Saving the test report to the USB flash drive; and / or, The test report is sent to a server of an external device so that the server saves the test report; the server is connected to the MDVR device for communication.

6. The MDVR testing method according to claim 1, characterized in that: The configuration file also includes test parameters; the test parameters include at least one of video resolution, network SSID, WIFI password and 4G module network priority; Before the step of sequentially executing each of the target items to be tested based on a preset test order until each of the target items to be tested is tested, the method further includes: Each of the target items to be tested is initialized based on the test parameters.

7. The MDVR testing method according to claim 1, characterized in that: The test items include video output test, video input test, first storage device test, second storage device test, LAN / WAN test, WIFI test, 4G module test and GPS test.

8. A MDVR testing system, characterized in that: Applied to MDVR equipment; Applied to MDVR equipment, the MDVR equipment is equipped with a USB interface, and the MDVR equipment pre-stores an internal test item file; The testing system comprises: A USB disk detection module, used to obtain a configuration file in the USB disk when a USB disk is detected to be connected; the configuration file includes a list of external test items; A target to-be-tested item determination module, used to determine whether a test item in the internal test item file is in the external test item list; The target to-be-tested item judgment module is further configured to determine that the test item is a target to-be-tested item if the test item is in the external test item list; The testing module is used to execute each of the target items to be tested in sequence based on a preset testing sequence until the testing of each of the target items to be tested is completed.

9. An MDVR device, characterized in that: It includes an MDVR device body and a USB interface, a video output interface, a video input interface, a first storage device interface, a second storage device interface, a network module, a WIFI module, a 4G module and a GPS module arranged on the MDVR device body, and also includes the MDVR test system as described in claim 8, and the MDVR test system is arranged in the MDVR device body.

10. A testing device, characterized in that: It includes the MDVR device as described in claim 9, and also includes a USB flash drive, a display device, a server and an alarm device respectively connected to the MDVR device.