Prerequisites:

Remote control local query:

  • MDVR host, remote control, display screen.

Platform remote query:

  • Log in to the client, the device is online, and there are log events in the storage medium

Description:

  • MDVR supports recording various business logs during the operation of the device, which are saved in the second partition of the machine disk. Some are recorded in the lightweight Sqlite database file, and some are recorded in the text file;
  • MDVR db database log only records the device startup, shutdown, upgrade, SOS, device factory reset and other key alarm log records;
  • MDVR text log only records the core operation log, and the required specific business module operation log can be opened by configuring the specified parameters, such as: Tongtianxing platform library operation log, GPS raw data log, AT command operation log, GB28181 interaction log;
  • The default text log files of MDVR device operation are named as follows: log_20240606_154903, log_ At the beginning, 20240606 represents the year, month, and day, 154903 represents the hour, minute, and second. The time is the local time of the machine when the file is created. Each time the machine restarts, a new file will be created. Each time the machine restarts, the total number of files of this type will be detected. If it exceeds 32, the oldest log file of this type will be deleted. If the number of lines in a single log file exceeds 200,000, the file log record will be re-established;
  • MDVR has separate alarm and GPS single data files in the second partition of the disk, one directory per day, and the directory can store up to 2 months of the latest data. Each time the device restarts and loads the disk, it will detect and delete the directory that exceeds the time limit; alm: record alarm records

alm: record alarm records gpx: record GPS records. For detailed file formats, please consult relevant professional technicians.

Operation steps

Use remote control to query locally

  1. Power on and enter the menu>>Tools>>Log Management>>Log Menu Use remote control to query locally Use remote control to query locally

  2. Select the time range and storage path in this interface, and confirm to enter the query of specific log information. Use remote control to query locally

CMSV7 platform remote query

  1. After logging in to the client, click >> Video playback >> Fill in the device ID >> Time range >> Storage location (device) >> File type (video), click Search CMSV7 platform remote query

  2. Right-click the log and select Download. After downloading, there will be progress to view. After completion, right-click and select Open folder to view the downloaded log file. CMSV7 platform remote query CMSV7 platform remote query

CMSV7 platform remote query

Device-specific business log recording function

MDVR supports opening additional business logs, such as GPS, AT, GB28181 interaction logs, etc., which can be opened by remotely issuing commands.

Command format description

  1. Copy command Command content format:
<VariCfgSec Action="DEVICE_SET"><stBaseInfo usFD_Customize="0" /></VariCfgSec>

Description: usFD_Customize: The value is the value of the relevant business log that needs to be opened. If multiple business module logs are opened at the same time, the following corresponding values ​​are added together. Refer to the following table:

Business module Value Description
GPS 32768 After opening, each module data of GPS will be counted into the text log content, which can be used to analyze some GPS unpositioned and signal poor situations;
AT 16384 After opening, all AT commands and responses of 4G/5G module dialing will be recorded in the text log, which is convenient for analyzing dialing related matters;
GB28181 SIP interaction 65536 After opening, it will be created in the second partition of the disk The text log starting with hp will record all SIP contents interacting with the server.

For example, to open AT and GPS logs at the same time, usFD_Customize: 49152 is the sum of 32768+6384. The command is as follows:

<VariCfgSec Action="DEVICE_SET"><stBaseInfo usFD_Customize="49152" /></VariCfgSec>
  1. Copy the command and send it to the client plug-in. For specific operation methods, refer to Tongtianxing Client Plug-in Online Configuration Tool ps: AT and GPS logs take effect immediately after the command is sent, and the configuration will be saved. The log will be opened as usual the next time the device is turned on. GB28181 SIP interaction logs need to be restarted to take effect. At the same time, after debugging is completed, it is recommended to turn off the log of the business module configuration that is issued separately, otherwise there will be too much information.

  2. To turn off the specific log reset, just issue the following command:

<VariCfgSec Action="DEVICE_SET"><stBaseInfo usFD_Customize="0" /></VariCfgSec>

Note: If the control logic mechanism of the device's 4G module data transmission and reception change detection and platform online detection is turned on, special attention should be paid to resetting and closing the log. The usFD_Customize value cannot be 0. Please consult professional technicians for assistance.