WO2022126714A1 - Vehicle-mounted video device online system and remote debugging method - Google Patents

Vehicle-mounted video device online system and remote debugging method Download PDF

Info

Publication number
WO2022126714A1
WO2022126714A1 PCT/CN2020/139707 CN2020139707W WO2022126714A1 WO 2022126714 A1 WO2022126714 A1 WO 2022126714A1 CN 2020139707 W CN2020139707 W CN 2020139707W WO 2022126714 A1 WO2022126714 A1 WO 2022126714A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
chip
platform
online
dvr
Prior art date
Application number
PCT/CN2020/139707
Other languages
French (fr)
Chinese (zh)
Inventor
周小强
朱群
谭晓勇
胡景邦
黄训良
Original Assignee
惠州市博实结科技有限公司
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 惠州市博实结科技有限公司 filed Critical 惠州市博实结科技有限公司
Publication of WO2022126714A1 publication Critical patent/WO2022126714A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2294Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by remote test
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Definitions

  • the invention relates to the technical field of video equipment, and in particular to an on-line system and a remote debugging method for vehicle-mounted video equipment.
  • the core of the car video equipment is the DVR (DVR is the English abbreviation of Digital Video Recorder, Chinese is digital video recorder or digital hard disk recorder) chip, this chip supports 4G network online function, under normal circumstances, it can be performed through tools, remote and device video programs.
  • the DVR chip program runs abnormally due to some business functions (such as continuous crash and restart), so it is impossible to use the remote serial port debugging technology to analyze the abnormal cause of the device, and it is impossible to remotely restore the device to normal. state.
  • the purpose of the invention is to solve the problem that when the video program of the video equipment cannot work normally due to the service function, the abnormal cause of the vehicle-mounted video equipment cannot be remotely analyzed, and the equipment cannot be restored to the normal state remotely.
  • the specific solutions are as follows:
  • An on-line system for in-vehicle video equipment including video equipment, a 4G network wirelessly connected to the video equipment, and a platform wirelessly connected to the 4G network, the video equipment includes a control chip, a positioning module and a 4G module that are electrically connected to the control chip respectively.
  • Video unit the video equipment goes online on the platform through the 4G network, interacts with the platform, and realizes the functions of 4G dialing, triggering services, video preview, video playback, intercom, and remote serial port debugging.
  • control chip includes an MCU chip and a DVR chip, both of which can be online, wherein the DVR chip is online prior to the MCU chip being online.
  • the positioning module is a GPS/Beidou dual-mode positioning module, and the GPS/Beidou dual-mode positioning module is electrically connected to the MCU chip.
  • the video unit includes a video capture chip and a camera electrically connected thereto, and the video capture chip is electrically connected to the DVR chip.
  • Step 1 Both the MCU chip and the DVR chip of the video equipment support going online, and the DVR chip is preferred to go online;
  • Step 2 the video device sends a 0x0100 registration request to the platform through the 4G network;
  • Step 3 the platform determines whether the video device is in the database, and the registration in the database is successful, otherwise it fails;
  • Step 4 the platform sends a 0x8100 registration result response to the video device through the 4G network;
  • Step 5 the video device obtains the registration success, sends the authentication information, and ends the online if the registration fails;
  • Step 6 the video device sends 0x0102 authentication to the platform through the 4G network;
  • Step 7 the platform judges whether the video equipment authentication is legal, and responds to the equipment result
  • Step 8 the platform sends a 0x8001 general response to the video device through the 4G network;
  • Step 9 after the video device is successfully authenticated, it continuously reports the 0x0001 network heartbeat and 0x0200 location data sent to the platform through the 4G network;
  • Step 10 When the platform terminal determines that the device is online, it sends a 0x8300 text command to the video device through the 4G network to interact.
  • the position data includes three-dimensional position information, which is provided by a GPS/Beidou dual-mode positioning module.
  • the MCU chip model is GD32F205ZET6
  • the DVR chip model is T707 or Hisilicon 3520DV300
  • the GPS/Beidou dual-mode positioning module model is B1612-M1
  • the 4G module model is EC20-CE
  • the video capture chip model is NVP6158 or NVP6124
  • the platform is a server or a remote controller.
  • the remote debugging method of in-vehicle video equipment using the above-mentioned online system of in-vehicle video equipment, is carried out according to the following steps:
  • Step 1 If the DVR chip business has bugs and cannot go online, the MCU chip can be launched on the platform through the 4G network;
  • Step 2 manually issue commands to the MCU chip through the platform and the 4G network;
  • Step 3 the MCU chip judges whether the instruction is a jump safe mode instruction, if so, the next step is performed, if not, the general instruction processing is performed;
  • Step 4 activate the safe mode state, the MCU chip controls the DVR chip to power on again, and informs the DVR chip to enter the safe mode through the serial port;
  • Step 5 the DVR chip startup script reads the information of the serial port, and judges whether to enter the safe mode, if yes, then the next step, if not, it is in a normal working state, and executes complex business logic and comprehensive functions;
  • Step 6 the DVR chip starts a simple applet, dials up, goes online in the background, and supports remote serial port debugging;
  • Step 7 The platform remotely debugs and analyzes the video device, and after solving the service bug, restores the normal state of the video device;
  • Step 8 run restart video device to exit safe mode.
  • step 3 includes parameter modification instructions and trigger service function instructions.
  • step 5 the complex business logic and comprehensive functions described in step 5 include 4G dial-up, online platform, video capture, video analysis, security event reporting, video file upload, support platform video preview, playback video, and intercom.
  • the invention cleverly utilizes the feature that both the MCU chip and the DVR chip can go online.
  • the DVR chip has priority over the MCU chip's right to go online.
  • the MCU chip can go online at this time, and the platform is remote.
  • Send text or short messages to the MCU chip of the video device (a simple single-chip program), the MCU chip notifies the DVR chip through the serial port to enter a special mode (that is, safe mode), in which a simplified version of the program is run.
  • Fig. 1 is the block diagram of the on-line system of the in-vehicle video equipment of the present invention
  • Fig. 2 is the on-line flow chart of the on-line system of the in-vehicle video equipment of the present invention
  • FIG. 3 is a flowchart of the remote debugging method of the in-vehicle video equipment of the present invention.
  • 10-Video equipment 11-MCU chip, 12-DVR chip, 13-GPS/Beidou dual-mode positioning module, 14-4G module, 15-Video capture chip, 16-Camera, 20-4G network, 21-4G base station, 30 - Platform.
  • the on-line system of the in-vehicle video equipment includes a video equipment 10, a 4G network 20 connected to the video equipment 10 via a wireless network, a platform 30 wirelessly connected to the 4G network 20, and the video equipment 10 includes a control chip, The positioning module, the 4G module 14, and the video unit are respectively electrically connected to the control chip.
  • the video equipment goes online on the platform 30 through the 4G network 20 and interacts with the platform 30 to realize 4G dialing, triggering services, video preview, video playback, and intercom. , Remote serial debugging function.
  • control chip includes an MCU (MCU is the English abbreviation of Microcontroller Unit, that is, the meaning of a micro control unit) chip 11 and a DVR chip 12, both of which can be online, wherein the DVR chip 12 is online prior to the online of the MCU chip 11.
  • MCU Microcontroller Unit
  • DVR chip 12 is online prior to the online of the MCU chip 11.
  • the positioning module is a GPS/Beidou dual-mode positioning module 13 , and the GPS/Beidou dual-mode positioning module 13 is electrically connected to the MCU chip 11 .
  • the video unit includes a video capture chip 15 and a camera 16 electrically connected thereto, and the video capture chip 15 is electrically connected to the DVR chip 12 .
  • the model of MCU chip 11 is GD32F205ZET6, the model of DVR chip 12 is T707 or Hisilicon 3520DV300, other replacement models can also be used, the model of GPS/Beidou dual-mode positioning module 13 is B1612-M1, and other replacement models can also be used, 4G module 14
  • the model is EC20-CE, and other replacement models can also be used.
  • the video capture chip 15 model is NVP6158 or NVP6124, and other replacement models can also be used.
  • Platform 30 is a server or remote controller.
  • the 4G network 20 is a 4G base station 21 .
  • the MCU chip 11, the DVR chip 12, the GPS/Beidou dual-mode positioning module 13, the 4G module 14, and the video capture chip 15 in this solution all belong to the prior art, and their specific working principles are not described here.
  • Step S1 both the MCU chip and the DVR chip of the video device support going online, and the DVR chip is given priority to go online;
  • Step S2 the video device sends a 0x0100 registration request to the platform through the 4G network;
  • Step S3 the platform judges whether the video device is in the database, and the registration in the database is successful, otherwise it fails;
  • Step S4 the platform sends a 0x8100 registration result response to the video device through the 4G network;
  • Step S5 the video device obtains the registration success, sends the authentication information, and ends the online if the registration fails;
  • Step S6 the video device sends 0x0102 authentication to the platform through the 4G network;
  • Step S7 the platform judges whether the video equipment authentication is legal, and responds to the equipment result
  • Step S8 the platform sends a 0x8001 general response to the video device through the 4G network;
  • step S9 after the video device is successfully authenticated, it continuously reports and sends 0x0001 network heartbeat and 0x0200 position data to the platform through the 4G network; (The position data includes three-dimensional position information, which is provided by the GPS/Beidou dual-mode positioning module.)
  • step S10 when the platform terminal determines that the device is online, it sends a 0x8300 text command to the video device through the 4G network for interaction.
  • the remote debugging method of the in-vehicle video equipment using the above-mentioned online system of the in-vehicle video equipment, is carried out according to the following steps:
  • Step S1 the DVR chip service cannot be online due to bugs, and the MCU chip can be launched on the platform through the 4G network;
  • Step S2 manually issuing instructions to the MCU chip through the platform and the 4G network;
  • step S3-1 the MCU chip determines whether the instruction is a jump safe mode instruction. If so, the next step is performed. If not, S3-2 performs general instruction processing; (The general instruction includes parameter modification instructions and trigger business function instructions.)
  • Step S4 activate the safe mode state, the MCU chip controls the DVR chip to re-power on, and informs the DVR chip to enter the safe mode through the serial port;
  • Step S5-1 the DVR chip startup script reads the information of the serial port, and judges whether to enter the safe mode, if yes, then the next step, if no, S5-2 is in normal working state, and executes complex business logic and comprehensive functions; (complex business Logical and comprehensive functions include 4G dial-up, online platform, video capture, video analysis, security event reporting, video file upload, support platform video preview, playback video, and intercom.)
  • Step S6 the DVR chip starts a simple applet, dials up, goes online in the background, and supports remote serial port debugging;
  • Step S7 the platform remote serial port debugs and analyzes the video device, and after solving the service bug, restores the normal state of the video device;
  • Step S8 run and restart the video device to exit the safe mode.
  • the video-related function "real-time video preview" supported by the DVR chip is as follows:
  • Step 1 video equipment ⁇ online ⁇ platform
  • Step 2 manually click the preview real-time video menu on the platform PC client, the platform sends the request video stream ⁇ 0x9101 request video ⁇ video device;
  • Step 3 the device end (the device end refers to the video device, the same below) transmits the video to the designated IP port ⁇ video upload ⁇ platform according to the information issued by the platform;
  • Step 4 manually click to preview the real-time video on the platform PC client, close the preview window after watching, and the platform sends a request to close the video stream ⁇ 0x9102 request video ⁇ video device;
  • Step 5 the device side closes the video transmission according to the information sent by the platform.
  • the video function "historical video playback (that is, playback video)" of the video function supported by the DVR chip is as follows:
  • Step 1 video equipment ⁇ online ⁇ platform
  • Step 2 manually click the historical video search menu on the platform PC client, and the platform requests the device to view the historical video segment ⁇ 0x9205 to search for historical video ⁇ video equipment;
  • Step 3 the device sends the stored historical video segment description information to the server ⁇ 0x1205 sends the video segment index ⁇ platform;
  • Step 4 the platform PC client displays the historical video distribution map, and manually clicks on the PC client to play the video at the specified time point ⁇ 0x9201 to request the specified video segment ⁇ video device;
  • Step 5 the device side transmits the specified video segment video to the specified IP port ⁇ video RTP upload ⁇ platform according to the information issued by the platform;
  • Step 6 after the PC client finishes watching the video, close the viewing window, and the platform sends a request to close the video stream ⁇ 0x9202 request to close the video ⁇ video device;
  • Step 7 the device side closes the video transmission according to the information issued by the platform
  • Step 8 if manually on the PC client, according to the searched video information, click the upload specified historical video segment menu, the platform sends a request to upload a video stream ⁇ 0x9206 request to upload a specified video ⁇ video device;
  • Step 9 according to the information issued by the platform, the device package the video into mp4 format and upload it to the designated FTP server ⁇ FTP upload ⁇ FTP server;
  • Step 10 After manually checking and uploading on the PC client, download the video file to the local PC client, play it with a universal player, or share or copy it to the U disk through chat software.
  • the video function "active security event reporting" process supported by the DVR chip online is as follows:
  • Step 1 video equipment ⁇ online ⁇ platform
  • Step 2 the device side analyzes the video images collected by the camera through an intelligent algorithm, and generates active safety events (including smoking, making a phone call, yawning, eyes closed due to fatigue, looking left and right, lane departure, close distance of the preceding vehicle, preceding vehicle collision, etc.), Actively report alarm information to the platform ⁇ 0x0200 report event information ⁇ platform;
  • active safety events including smoking, making a phone call, yawning, eyes closed due to fatigue, looking left and right, lane departure, close distance of the preceding vehicle, preceding vehicle collision, etc.
  • Step 3 the business platform actively requests to upload media data (including pictures and videos) corresponding to the event ⁇ 0x9208 requests to upload media data ⁇ video equipment;
  • Step 4 according to the information issued by the business platform, the device side transmits the video to the designated data platform ⁇ upload media files ⁇ data platform; (the platform includes business platform and data platform)
  • Step 5 After receiving the multimedia file, the data platform synchronizes the alarm and media data to the business platform, and the business platform pushes the PC client for display.
  • the video equipment in this solution goes online to the business platform.
  • This solution solves the problem that when the video program of the video equipment cannot work normally due to the business function, the abnormal cause of the vehicle video equipment cannot be analyzed remotely, and the equipment cannot be restored to the normal state remotely.
  • the invention cleverly utilizes the feature that both the MCU chip and the DVR chip can go online.
  • the DVR chip has priority over the MCU chip's right to go online.
  • the video software encounters a bug (bug is a loophole in the computer field)
  • the DVR chip cannot go online normally.
  • the MCU The chip can go online, the platform remotely sends text or short messages to the MCU chip of the video device (a simple single-chip program), and the MCU chip notifies the DVR chip through the serial port to enter a special mode (that is, safe mode), in this mode , run a simplified version of the program (only supports 4G dialing, remote debugging serial port, uploading and downloading files), and then the platform can remotely debug and analyze the video equipment through the serial port, find the cause of the failure, and after solving the business bug, restore the normal state of the video equipment. In this way, the time and travel expenses that are delayed by the technicians visiting the site are avoided, the speed of troubleshooting is accelerated, the work efficiency is improved, and the equipment maintenance cost is reduced.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A vehicle-mounted video device online system, comprising a video device, a 4G network having a wireless network connection to the video device, and a platform having a wireless network connection to the 4G network, the video device comprising a control chip, a positioning module, a 4G module, and a video unit; by means of the 4G network, the video device goes online on the platform and interacts with the platform to implement functions such as 4G dial-up, triggering services, video preview, video playback, intercom, and remote serial port debugging. The control chip comprises an MCU chip and a DVR chip, both capable of going online, the priority of the DVR chip for going online being higher than that of the MCU chip. When the DVR chip cannot go online, the platform remotely issues a text or short message to the MCU chip to notify the DVR chip to enter a special mode, and the platform can implement remote serial debugging and analysis of the video device and restore the normal state of the video device, avoiding the time delay and travel expenses of a technician visiting the site in person, accelerating the speed of processing faults, increasing working efficiency, and reducing device maintenance costs.

Description

车载视频设备的上线系统及远程调试方法On-line system and remote debugging method of in-vehicle video equipment 技术领域technical field
本发明涉及视频设备技术领域,尤其涉及车载视频设备的上线系统及远程调试方法。The invention relates to the technical field of video equipment, and in particular to an on-line system and a remote debugging method for vehicle-mounted video equipment.
背景技术Background technique
车载视频设备的核心是DVR(DVR是Digital Video Recorder的英文缩写,中文为数字视频录像机或数字硬盘录像机)芯片,该芯片支持4G网络上线功能,正常情况下可以通过工具,远程与设备视频程序进行交互,但是,遇到了一些特定情形下,DVR芯片程序因一些业务功能运行出现异常(比如不断崩溃重启),就无法使用远程串口调试技术来分析设备的异常原因,也无法远程把设备恢复到正常状态。The core of the car video equipment is the DVR (DVR is the English abbreviation of Digital Video Recorder, Chinese is digital video recorder or digital hard disk recorder) chip, this chip supports 4G network online function, under normal circumstances, it can be performed through tools, remote and device video programs. However, in some specific situations, the DVR chip program runs abnormally due to some business functions (such as continuous crash and restart), so it is impossible to use the remote serial port debugging technology to analyze the abnormal cause of the device, and it is impossible to remotely restore the device to normal. state.
为了解决上述问题,我们发明了车载视频设备的上线系统及远程调试方法。In order to solve the above problems, we have invented the on-line system and remote debugging method of in-vehicle video equipment.
发明内容SUMMARY OF THE INVENTION
本发明的发明目的在于解决当视频设备的视频程序因业务功能导致不能正常工作时,不能远程分析车载视频设备的异常原因,无法远程把设备恢复到正常状态的问题。其具体解决方案如下:The purpose of the invention is to solve the problem that when the video program of the video equipment cannot work normally due to the service function, the abnormal cause of the vehicle-mounted video equipment cannot be remotely analyzed, and the equipment cannot be restored to the normal state remotely. The specific solutions are as follows:
车载视频设备的上线系统,包括视频设备,与视频设备无线网络连接的4G网络,与4G网络无线网络连接的平台,所述视频设备包括控制芯片,分别与控制芯片电连接的定位模块、4G模块、视频单元,视频设备通过4G网络,在平台上线,与平台进行交互,实现4G拨号、触发业务、视频预览、视频回放、对讲、远程串口调试功能。An on-line system for in-vehicle video equipment, including video equipment, a 4G network wirelessly connected to the video equipment, and a platform wirelessly connected to the 4G network, the video equipment includes a control chip, a positioning module and a 4G module that are electrically connected to the control chip respectively. , Video unit, the video equipment goes online on the platform through the 4G network, interacts with the platform, and realizes the functions of 4G dialing, triggering services, video preview, video playback, intercom, and remote serial port debugging.
进一步地,所述控制芯片包括MCU芯片和DVR芯片,两者均能上线,其中DVR芯片上线优先于MCU芯片上线。Further, the control chip includes an MCU chip and a DVR chip, both of which can be online, wherein the DVR chip is online prior to the MCU chip being online.
进一步地,所述定位模块为GPS/北斗双模定位模块,GPS/北斗双模定位模块与所述MCU芯片电连接。Further, the positioning module is a GPS/Beidou dual-mode positioning module, and the GPS/Beidou dual-mode positioning module is electrically connected to the MCU chip.
进一步地,所述视频单元包括视频采集芯片和与之电连接的摄像头,视频采集芯片与所述DVR芯片电连接。Further, the video unit includes a video capture chip and a camera electrically connected thereto, and the video capture chip is electrically connected to the DVR chip.
进一步地,所述视频设备的上线系统,按照以下步骤上线:Further, the online system of the video equipment goes online according to the following steps:
步骤1,视频设备的MCU芯片和DVR芯片都支持上线,优先DVR芯片上线;Step 1. Both the MCU chip and the DVR chip of the video equipment support going online, and the DVR chip is preferred to go online;
步骤2,视频设备通过4G网络向平台发送0x0100注册请求;Step 2, the video device sends a 0x0100 registration request to the platform through the 4G network;
步骤3,平台判断视频设备是否在数据库中,在数据库中注册成功,否则失败;Step 3, the platform determines whether the video device is in the database, and the registration in the database is successful, otherwise it fails;
步骤4,平台通过4G网络向视频设备发0x8100注册结果应答;Step 4, the platform sends a 0x8100 registration result response to the video device through the 4G network;
步骤5,视频设备获得注册成功,发送鉴权信息,若注册失败结束上线;Step 5, the video device obtains the registration success, sends the authentication information, and ends the online if the registration fails;
步骤6,视频设备通过4G网络向平台发送0x0102鉴权; Step 6, the video device sends 0x0102 authentication to the platform through the 4G network;
步骤7,平台判断视频设备鉴权是否合法,并回应设备结果; Step 7, the platform judges whether the video equipment authentication is legal, and responds to the equipment result;
步骤8,平台通过4G网络向视频设备发0x8001通用应答;Step 8, the platform sends a 0x8001 general response to the video device through the 4G network;
步骤9,视频设备获得鉴权成功后,不断上报通过4G网络向平台发送0x0001网络心跳和0x0200位置数据;Step 9, after the video device is successfully authenticated, it continuously reports the 0x0001 network heartbeat and 0x0200 location data sent to the platform through the 4G network;
步骤10,平台端判断设备在线时,通过4G网络向视频设备发0x8300文本指令,进行交互。Step 10: When the platform terminal determines that the device is online, it sends a 0x8300 text command to the video device through the 4G network to interact.
进一步地,所述位置数据包括三维位置信息,由GPS/北斗双模定位模块提供。Further, the position data includes three-dimensional position information, which is provided by a GPS/Beidou dual-mode positioning module.
进一步地,所述MCU芯片型号为GD32F205ZET6,DVR芯片型号为T707或者海思3520DV300,GPS/北斗双模定位模块型号为B1612-M1,4G模块型号为EC20-CE,视频采集芯片型号为NVP6158或者NVP6124,所述平台为服务器或远程控制器。Further, the MCU chip model is GD32F205ZET6, the DVR chip model is T707 or Hisilicon 3520DV300, the GPS/Beidou dual-mode positioning module model is B1612-M1, the 4G module model is EC20-CE, and the video capture chip model is NVP6158 or NVP6124 , the platform is a server or a remote controller.
车载视频设备的远程调试方法,使用上述车载视频设备的上线系统,按照以下步骤进行:The remote debugging method of in-vehicle video equipment, using the above-mentioned online system of in-vehicle video equipment, is carried out according to the following steps:
步骤1,DVR芯片业务出现bug无法上线,MCU芯片可通过4G网络于平台上线;Step 1. If the DVR chip business has bugs and cannot go online, the MCU chip can be launched on the platform through the 4G network;
步骤2,人工通过平台、及4G网络下发指令到MCU芯片;Step 2, manually issue commands to the MCU chip through the platform and the 4G network;
步骤3,MCU芯片判断指令是否为跳转安全模式指令,如果是,则下一步,如果否,则进行通用指令处理;Step 3, the MCU chip judges whether the instruction is a jump safe mode instruction, if so, the next step is performed, if not, the general instruction processing is performed;
步骤4,激活安全模式状态,MCU芯片控制DVR芯片重新上电,并通过串口通知DVR芯片进入安全模式;Step 4, activate the safe mode state, the MCU chip controls the DVR chip to power on again, and informs the DVR chip to enter the safe mode through the serial port;
步骤5,DVR芯片启动脚本读出串口的信息,判断是否进入安全模式,如果是,则下一步,如果否,则正常工作状态,执行复杂业务逻辑和全面功能;Step 5, the DVR chip startup script reads the information of the serial port, and judges whether to enter the safe mode, if yes, then the next step, if not, it is in a normal working state, and executes complex business logic and comprehensive functions;
步骤6,DVR芯片启动简易小程序,进行拨号、上线后台、支持远程串口调试; Step 6, the DVR chip starts a simple applet, dials up, goes online in the background, and supports remote serial port debugging;
步骤7,平台远程串口调试分析视频设备,解决业务bug后,恢复视频设备正常状态;Step 7: The platform remotely debugs and analyzes the video device, and after solving the service bug, restores the normal state of the video device;
步骤8,运行重启视频设备即可退出安全模式。Step 8, run restart video device to exit safe mode.
进一步地,步骤3中所述通用指令包括参数修改指令、触发业务功能指令。Further, the general instructions in step 3 include parameter modification instructions and trigger service function instructions.
进一步地,步骤5中所述复杂业务逻辑和全面功能包括4G拨号、上线平台、视频采集、视频分析、安全事件上报、视频文件上传、支持平台视频预览、回放录像、对讲。Further, the complex business logic and comprehensive functions described in step 5 include 4G dial-up, online platform, video capture, video analysis, security event reporting, video file upload, support platform video preview, playback video, and intercom.
综上所述,采用本发明的技术方案具有以下有益效果:To sum up, adopting the technical scheme of the present invention has the following beneficial effects:
本方案解决了当视频设备的视频程序因业务功能导致不能正常工作时,不能远程分析车载视频设备的异常原因,无法远程把设备恢复到正常状态的问题。本发明巧妙地利用了MCU芯片和DVR芯片均能上线的特点,DVR芯片优先于MCU芯片上线权,当视频软件遇到bug导致DVR芯片不能正常上线时,此时MCU芯片却能上线,平台远程下发文本或者短信给到视频设备的MCU芯片(一个简单的单片机程序),MCU芯片通过串口通知DVR芯片,进入一种特殊模式(也就是安全模式),该模式下,运行一个简化版的程序(只支持4G拨号、远程调试串口、上传下载文件),然后平台可远程串口调试分析视频设备,找到故障原因,解决业务bug后,恢复视频设备正常状态。这样避免了技术人员亲临现场所耽搁的时间和路途费用,加快了处理故障的速度,提高了工作效率,降低了设备维护成本。This solution solves the problem that when the video program of the video equipment cannot work normally due to the business function, the abnormal cause of the vehicle video equipment cannot be analyzed remotely, and the equipment cannot be restored to the normal state remotely. The invention cleverly utilizes the feature that both the MCU chip and the DVR chip can go online. The DVR chip has priority over the MCU chip's right to go online. When the video software encounters a bug and the DVR chip cannot go online normally, the MCU chip can go online at this time, and the platform is remote. Send text or short messages to the MCU chip of the video device (a simple single-chip program), the MCU chip notifies the DVR chip through the serial port to enter a special mode (that is, safe mode), in which a simplified version of the program is run. (Only supports 4G dial-up, remote debugging serial port, uploading and downloading files), and then the platform can remotely debug and analyze the video equipment, find the cause of the failure, solve the business bug, and restore the normal state of the video equipment. This avoids the time and travel expenses that the technicians spend on the site in person, speeds up troubleshooting, improves work efficiency, and reduces equipment maintenance costs.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本发明的一部分实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还能够根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that are used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only a part of the embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1为本发明车载视频设备的上线系统的方框图;Fig. 1 is the block diagram of the on-line system of the in-vehicle video equipment of the present invention;
图2为本发明车载视频设备的上线系统上线流程图;Fig. 2 is the on-line flow chart of the on-line system of the in-vehicle video equipment of the present invention;
图3为本发明车载视频设备的远程调试方法流程图。FIG. 3 is a flowchart of the remote debugging method of the in-vehicle video equipment of the present invention.
附图标记说明:Description of reference numbers:
10-视频设备,11-MCU芯片,12-DVR芯片,13-GPS/北斗双模定位模块,14-4G模块,15-视频采集芯片,16-摄像头,20-4G网络,21-4G基站,30-平台。10-Video equipment, 11-MCU chip, 12-DVR chip, 13-GPS/Beidou dual-mode positioning module, 14-4G module, 15-Video capture chip, 16-Camera, 20-4G network, 21-4G base station, 30 - Platform.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
如图1、2所示,车载视频设备的上线系统,包括视频设备10,与视频 设备10无线网络连接的4G网络20,与4G网络20无线网络连接的平台30,视频设备10包括控制芯片,分别与控制芯片电连接的定位模块、4G模块14、视频单元,视频设备通过4G网络20,在平台30上线,与平台30进行交互,实现4G拨号、触发业务、视频预览、视频回放、对讲、远程串口调试功能。As shown in Figures 1 and 2, the on-line system of the in-vehicle video equipment includes a video equipment 10, a 4G network 20 connected to the video equipment 10 via a wireless network, a platform 30 wirelessly connected to the 4G network 20, and the video equipment 10 includes a control chip, The positioning module, the 4G module 14, and the video unit are respectively electrically connected to the control chip. The video equipment goes online on the platform 30 through the 4G network 20 and interacts with the platform 30 to realize 4G dialing, triggering services, video preview, video playback, and intercom. , Remote serial debugging function.
进一步地,控制芯片包括MCU(MCU为Microcontroller Unit英文缩写,即微控制单元的意思)芯片11和DVR芯片12,两者均能上线,其中DVR芯片12上线优先于MCU芯片11上线。Further, the control chip includes an MCU (MCU is the English abbreviation of Microcontroller Unit, that is, the meaning of a micro control unit) chip 11 and a DVR chip 12, both of which can be online, wherein the DVR chip 12 is online prior to the online of the MCU chip 11.
进一步地,定位模块为GPS/北斗双模定位模块13,GPS/北斗双模定位模块13与MCU芯片11电连接。Further, the positioning module is a GPS/Beidou dual-mode positioning module 13 , and the GPS/Beidou dual-mode positioning module 13 is electrically connected to the MCU chip 11 .
进一步地,视频单元包括视频采集芯片15和与之电连接的摄像头16,视频采集芯片15与DVR芯片12电连接。Further, the video unit includes a video capture chip 15 and a camera 16 electrically connected thereto, and the video capture chip 15 is electrically connected to the DVR chip 12 .
进一步地,MCU芯片11型号为GD32F205ZET6,DVR芯片12型号为T707或者海思3520DV300,也可用其他替换型号,GPS/北斗双模定位模块13型号为B1612-M1,也可用其他替换型号,4G模块14型号为EC20-CE,也可用其他替换型号,视频采集芯片15型号为NVP6158或者NVP6124,也可用其他替换型号。平台30为服务器或远程控制器。4G网络20为4G基站21。本方案中的MCU芯片11、DVR芯片12、GPS/北斗双模定位模块13、4G模块14、视频采集芯片 15,均属于现有技术,其具体工作原理,在此不作祥述。Further, the model of MCU chip 11 is GD32F205ZET6, the model of DVR chip 12 is T707 or Hisilicon 3520DV300, other replacement models can also be used, the model of GPS/Beidou dual-mode positioning module 13 is B1612-M1, and other replacement models can also be used, 4G module 14 The model is EC20-CE, and other replacement models can also be used. The video capture chip 15 model is NVP6158 or NVP6124, and other replacement models can also be used. Platform 30 is a server or remote controller. The 4G network 20 is a 4G base station 21 . The MCU chip 11, the DVR chip 12, the GPS/Beidou dual-mode positioning module 13, the 4G module 14, and the video capture chip 15 in this solution all belong to the prior art, and their specific working principles are not described here.
进一步地,视频设备10的上线系统,按照以下步骤上线:Further, the online system of the video equipment 10 goes online according to the following steps:
步骤S1,视频设备的MCU芯片和DVR芯片都支持上线,优先DVR芯片上线;Step S1, both the MCU chip and the DVR chip of the video device support going online, and the DVR chip is given priority to go online;
步骤S2,视频设备通过4G网络向平台发送0x0100注册请求;Step S2, the video device sends a 0x0100 registration request to the platform through the 4G network;
步骤S3,平台判断视频设备是否在数据库中,在数据库中注册成功,否则失败;Step S3, the platform judges whether the video device is in the database, and the registration in the database is successful, otherwise it fails;
步骤S4,平台通过4G网络向视频设备发0x8100注册结果应答;Step S4, the platform sends a 0x8100 registration result response to the video device through the 4G network;
步骤S5,视频设备获得注册成功,发送鉴权信息,若注册失败结束上线;Step S5, the video device obtains the registration success, sends the authentication information, and ends the online if the registration fails;
步骤S6,视频设备通过4G网络向平台发送0x0102鉴权;Step S6, the video device sends 0x0102 authentication to the platform through the 4G network;
步骤S7,平台判断视频设备鉴权是否合法,并回应设备结果;Step S7, the platform judges whether the video equipment authentication is legal, and responds to the equipment result;
步骤S8,平台通过4G网络向视频设备发0x8001通用应答;Step S8, the platform sends a 0x8001 general response to the video device through the 4G network;
步骤S9,视频设备获得鉴权成功后,不断上报通过4G网络向平台发送0x0001网络心跳和0x0200位置数据;(位置数据包括三维位置信息,由GPS/北斗双模定位模块提供。)In step S9, after the video device is successfully authenticated, it continuously reports and sends 0x0001 network heartbeat and 0x0200 position data to the platform through the 4G network; (The position data includes three-dimensional position information, which is provided by the GPS/Beidou dual-mode positioning module.)
步骤S10,平台端判断设备在线时,通过4G网络向视频设备发0x8300文 本指令,进行交互。In step S10, when the platform terminal determines that the device is online, it sends a 0x8300 text command to the video device through the 4G network for interaction.
如图3所示,车载视频设备的远程调试方法,使用上述车载视频设备的上线系统,按照以下步骤进行:As shown in Figure 3, the remote debugging method of the in-vehicle video equipment, using the above-mentioned online system of the in-vehicle video equipment, is carried out according to the following steps:
步骤S1,DVR芯片业务出现bug无法上线,MCU芯片可通过4G网络于平台上线;Step S1, the DVR chip service cannot be online due to bugs, and the MCU chip can be launched on the platform through the 4G network;
步骤S2,人工通过平台、及4G网络下发指令到MCU芯片;Step S2, manually issuing instructions to the MCU chip through the platform and the 4G network;
步骤S3-1,MCU芯片判断指令是否为跳转安全模式指令,如果是,则下一步,如果否,S3-2则进行通用指令处理;(通用指令包括参数修改指令、触发业务功能指令。)In step S3-1, the MCU chip determines whether the instruction is a jump safe mode instruction. If so, the next step is performed. If not, S3-2 performs general instruction processing; (The general instruction includes parameter modification instructions and trigger business function instructions.)
步骤S4,激活安全模式状态,MCU芯片控制DVR芯片重新上电,并通过串口通知DVR芯片进入安全模式;Step S4, activate the safe mode state, the MCU chip controls the DVR chip to re-power on, and informs the DVR chip to enter the safe mode through the serial port;
步骤S5-1,DVR芯片启动脚本读出串口的信息,判断是否进入安全模式,如果是,则下一步,如果否,S5-2则正常工作状态,执行复杂业务逻辑和全面功能;(复杂业务逻辑和全面功能包括4G拨号、上线平台、视频采集、视频分析、安全事件上报、视频文件上传、支持平台视频预览、回放录像、对讲。)Step S5-1, the DVR chip startup script reads the information of the serial port, and judges whether to enter the safe mode, if yes, then the next step, if no, S5-2 is in normal working state, and executes complex business logic and comprehensive functions; (complex business Logical and comprehensive functions include 4G dial-up, online platform, video capture, video analysis, security event reporting, video file upload, support platform video preview, playback video, and intercom.)
步骤S6,DVR芯片启动简易小程序,进行拨号、上线后台、支持远程串口调试;Step S6, the DVR chip starts a simple applet, dials up, goes online in the background, and supports remote serial port debugging;
步骤S7,平台远程串口调试分析视频设备,解决业务bug后,恢复视频设备正常状态;Step S7, the platform remote serial port debugs and analyzes the video device, and after solving the service bug, restores the normal state of the video device;
步骤S8,运行重启视频设备即可退出安全模式。Step S8, run and restart the video device to exit the safe mode.
DVR芯片上线支持的视频相关功能“实时视频预览”流程如下:The video-related function "real-time video preview" supported by the DVR chip is as follows:
步骤1,视频设备→上线→平台;Step 1, video equipment → online → platform;
步骤2,人工在平台PC客户端点击预览实时视频菜单,平台下发请求视频流→0x9101请求视频→视频设备;Step 2, manually click the preview real-time video menu on the platform PC client, the platform sends the request video stream → 0x9101 request video → video device;
步骤3,设备端(设备端指视频设备,以下同)根据平台下发的信息,把视频传到指定IP端口→视频上传→平台;Step 3, the device end (the device end refers to the video device, the same below) transmits the video to the designated IP port → video upload → platform according to the information issued by the platform;
步骤4,人工在平台PC客户端点击预览实时视频,看完后关闭预览窗口,平台下发请求关闭视频流→0x9102请求视频→视频设备;Step 4, manually click to preview the real-time video on the platform PC client, close the preview window after watching, and the platform sends a request to close the video stream → 0x9102 request video → video device;
步骤5,设备端根据平台下发的信息,把视频传输关闭。Step 5, the device side closes the video transmission according to the information sent by the platform.
DVR芯片上线支持的视频功能“历史视频回放(也就是回放录像)”流程如下:The video function "historical video playback (that is, playback video)" of the video function supported by the DVR chip is as follows:
步骤1,视频设备→上线→平台;Step 1, video equipment → online → platform;
步骤2,人工在平台PC客户端点击历史视频搜索菜单,平台向设备端请 求查看历史录像段→0x9205搜索历史视频→视频设备;Step 2, manually click the historical video search menu on the platform PC client, and the platform requests the device to view the historical video segment → 0x9205 to search for historical video → video equipment;
步骤3,设备端把存储的历史视频段描述信息发给服务器→0x1205发送录像段索引→平台;Step 3, the device sends the stored historical video segment description information to the server → 0x1205 sends the video segment index → platform;
步骤4,平台PC客户端展示出历史录像分布图,人工在PC客户端点击播放录像指定时间点→0x9201请求指定视频段→视频设备;Step 4, the platform PC client displays the historical video distribution map, and manually clicks on the PC client to play the video at the specified time point → 0x9201 to request the specified video segment → video device;
步骤5,设备端根据平台下发的信息,把指定视频段视频传到指定IP端口→视频RTP上传→平台;Step 5, the device side transmits the specified video segment video to the specified IP port → video RTP upload → platform according to the information issued by the platform;
步骤6,PC客户端观看完视频后,关闭观看窗口,平台下发请求关闭视频流→0x9202请求关闭视频→视频设备; Step 6, after the PC client finishes watching the video, close the viewing window, and the platform sends a request to close the video stream → 0x9202 request to close the video → video device;
步骤7,设备端根据平台下发的信息,把视频传输关闭; Step 7, the device side closes the video transmission according to the information issued by the platform;
步骤8,若人工在PC客户端,根据搜索到的录像信息,点击上传指定历史视频段菜单,平台下发请求上传视频流→0x9206请求上传指定视频→视频设备;Step 8, if manually on the PC client, according to the searched video information, click the upload specified historical video segment menu, the platform sends a request to upload a video stream → 0x9206 request to upload a specified video → video device;
步骤9,设备端根据平台下发的信息,把视频打包成mp4格式上传传到指定FTP服务器→FTP上传→FTP服务器;Step 9, according to the information issued by the platform, the device package the video into mp4 format and upload it to the designated FTP server → FTP upload → FTP server;
步骤10,人工在PC客户端查看上传完成后,下载视频文件到PC客户端本地,使用通用播放器播放,也可以通过聊天软件分享或复制到U盘中。Step 10: After manually checking and uploading on the PC client, download the video file to the local PC client, play it with a universal player, or share or copy it to the U disk through chat software.
DVR芯片上线支持的视频功能“主动安全事件上报”流程如下:The video function "active security event reporting" process supported by the DVR chip online is as follows:
步骤1,视频设备→上线→平台;Step 1, video equipment → online → platform;
步骤2,设备端通过智能算法分析摄像头采集的视频图像,产生主动安全事件(包括抽烟、打电话、打哈欠、疲劳闭眼、左顾右盼、车道偏离、前车近距、前车碰撞等事件),主动上报报警信息到平台→0x0200上报报事件信息→平台;Step 2, the device side analyzes the video images collected by the camera through an intelligent algorithm, and generates active safety events (including smoking, making a phone call, yawning, eyes closed due to fatigue, looking left and right, lane departure, close distance of the preceding vehicle, preceding vehicle collision, etc.), Actively report alarm information to the platform → 0x0200 report event information → platform;
步骤3,业务平台主动请求上传对应事件的媒体数据(包括图片和视频)→0x9208请求上传媒体数据→视频设备;Step 3, the business platform actively requests to upload media data (including pictures and videos) corresponding to the event → 0x9208 requests to upload media data → video equipment;
步骤4,设备端根据业务平台下发的信息,把视频传到指定数据平台→上传媒体文件→数据平台;(平台包括业务平台和数据平台)Step 4, according to the information issued by the business platform, the device side transmits the video to the designated data platform → upload media files → data platform; (the platform includes business platform and data platform)
步骤5,数据平台在收到多媒体文件后,同步报警和媒体数据到业务平台,业务平台推送PC客户端展示。Step 5: After receiving the multimedia file, the data platform synchronizes the alarm and media data to the business platform, and the business platform pushes the PC client for display.
特别说明,本方案中的视频设备上线至业务平台。In particular, the video equipment in this solution goes online to the business platform.
综上所述,采用本发明的技术方案具有以下有益效果:To sum up, adopting the technical scheme of the present invention has the following beneficial effects:
本方案解决了当视频设备的视频程序因业务功能导致不能正常工作时,不能远程分析车载视频设备的异常原因,无法远程把设备恢复到正常状态的问题。本发明巧妙地利用了MCU芯片和DVR芯片均能上线的特点,DVR芯片优先 于MCU芯片上线权,当视频软件遇到bug(bug为计算机领域漏洞)导致DVR芯片不能正常上线时,此时MCU芯片却能上线,平台远程下发文本或者短信给到视频设备的MCU芯片(一个简单的单片机程序),MCU芯片通过串口通知DVR芯片,进入一种特殊模式(也就是安全模式),该模式下,运行一个简化版的程序(只支持4G拨号、远程调试串口、上传下载文件),然后平台可远程串口调试分析视频设备,找到故障原因,解决业务bug后,恢复视频设备正常状态。这样避免了技术人员亲临现场所耽搁的时间和路途费用,加快了处理故障的速度,提高了工作效率,降低了设备维护成本。This solution solves the problem that when the video program of the video equipment cannot work normally due to the business function, the abnormal cause of the vehicle video equipment cannot be analyzed remotely, and the equipment cannot be restored to the normal state remotely. The invention cleverly utilizes the feature that both the MCU chip and the DVR chip can go online. The DVR chip has priority over the MCU chip's right to go online. When the video software encounters a bug (bug is a loophole in the computer field), the DVR chip cannot go online normally. At this time, the MCU The chip can go online, the platform remotely sends text or short messages to the MCU chip of the video device (a simple single-chip program), and the MCU chip notifies the DVR chip through the serial port to enter a special mode (that is, safe mode), in this mode , run a simplified version of the program (only supports 4G dialing, remote debugging serial port, uploading and downloading files), and then the platform can remotely debug and analyze the video equipment through the serial port, find the cause of the failure, and after solving the business bug, restore the normal state of the video equipment. In this way, the time and travel expenses that are delayed by the technicians visiting the site are avoided, the speed of troubleshooting is accelerated, the work efficiency is improved, and the equipment maintenance cost is reduced.
以上所述的实施方式,并不构成对该技术方案保护范围的限定。任何在上述实施方式的精神和原则之内所作的修改、等同替换和改进等,均应包含在该技术方案的保护范围之内。The above-mentioned embodiments do not constitute a limitation on the protection scope of the technical solution. Any modifications, equivalent replacements and improvements made within the spirit and principles of the above-mentioned embodiments shall be included within the protection scope of this technical solution.

Claims (10)

  1. 车载视频设备的上线系统,其特征在于:包括视频设备,与视频设备无线网络连接的4G网络,与4G网络无线网络连接的平台,所述视频设备包括控制芯片,分别与控制芯片电连接的定位模块、4G模块、视频单元,视频设备通过4G网络,在平台上线,与平台进行交互,实现4G拨号、触发业务、视频预览、视频回放、对讲、远程串口调试功能。The on-line system for in-vehicle video equipment is characterized in that it includes video equipment, a 4G network wirelessly connected to the video equipment, and a platform wirelessly connected to the 4G network, and the video equipment includes a control chip, which is respectively electrically connected to the control chip for positioning Modules, 4G modules, video units, and video equipment go online on the platform through the 4G network and interact with the platform to achieve 4G dial-up, trigger services, video preview, video playback, intercom, and remote serial debugging functions.
  2. 根据权利要求1所述车载视频设备的上线系统,其特征在于:所述控制芯片包括MCU芯片和DVR芯片,两者均能上线,其中DVR芯片上线优先于MCU芯片上线。The online system for in-vehicle video equipment according to claim 1, wherein the control chip includes an MCU chip and a DVR chip, both of which can be online, wherein the DVR chip is online prior to the MCU chip.
  3. 根据权利要求2所述车载视频设备的上线系统,其特征在于:所述定位模块为GPS/北斗双模定位模块,GPS/北斗双模定位模块与所述MCU芯片电连接。The online system of the in-vehicle video equipment according to claim 2, wherein the positioning module is a GPS/Beidou dual-mode positioning module, and the GPS/Beidou dual-mode positioning module is electrically connected to the MCU chip.
  4. 根据权利要求3所述车载视频设备的上线系统,其特征在于:所述视频单元包括视频采集芯片和与之电连接的摄像头,视频采集芯片与所述DVR芯片电连接。The online system of the in-vehicle video equipment according to claim 3, wherein the video unit comprises a video capture chip and a camera electrically connected thereto, and the video capture chip is electrically connected to the DVR chip.
  5. 根据权利要求4所述车载视频设备的上线系统,其特征在于:所述视频设备的上线系统,按照以下步骤上线:The on-line system of the in-vehicle video equipment according to claim 4, wherein the on-line system of the video equipment is on-line according to the following steps:
    步骤1,视频设备的MCU芯片和DVR芯片都支持上线,优先DVR芯片上线;Step 1. Both the MCU chip and the DVR chip of the video device support going online, and the DVR chip is the priority to go online;
    步骤2,视频设备通过4G网络向平台发送0x0100注册请求;Step 2, the video device sends a 0x0100 registration request to the platform through the 4G network;
    步骤3,平台判断视频设备是否在数据库中,在数据库中注册成功,否则失败;Step 3, the platform determines whether the video device is in the database, and the registration in the database is successful, otherwise it fails;
    步骤4,平台通过4G网络向视频设备发0x8100注册结果应答;Step 4, the platform sends a 0x8100 registration result response to the video device through the 4G network;
    步骤5,视频设备获得注册成功,发送鉴权信息,若注册失败结束上线;Step 5, the video device obtains the registration success, sends the authentication information, and ends the online if the registration fails;
    步骤6,视频设备通过4G网络向平台发送0x0102鉴权;Step 6, the video device sends 0x0102 authentication to the platform through the 4G network;
    步骤7,平台判断视频设备鉴权是否合法,并回应设备结果;Step 7, the platform judges whether the video equipment authentication is legal, and responds to the equipment result;
    步骤8,平台通过4G网络向视频设备发0x8001通用应答;Step 8, the platform sends a 0x8001 general response to the video device through the 4G network;
    步骤9,视频设备获得鉴权成功后,不断上报通过4G网络向平台发送0x0001网络心跳和0x0200位置数据;Step 9, after the video device is successfully authenticated, it continuously reports the 0x0001 network heartbeat and 0x0200 location data sent to the platform through the 4G network;
    步骤10,平台端判断设备在线时,通过4G网络向视频设备发0x8300文本指令,进行交互。Step 10: When the platform terminal determines that the device is online, it sends a 0x8300 text command to the video device through the 4G network to interact.
  6. 根据权利要求5所述车载视频设备的上线系统,其特征在于:所述位置数据包括三维位置信息,由GPS/北斗双模定位模块提供。The on-line system of the in-vehicle video equipment according to claim 5, wherein the position data includes three-dimensional position information, which is provided by a GPS/Beidou dual-mode positioning module.
  7. 根据权利要求6所述车载视频设备的上线系统,其特征在于:所述MCU芯 片型号为GD32F205ZET6,DVR芯片型号为T707或者海思3520DV300,GPS/北斗双模定位模块型号为B1612-M1,4G模块型号为EC20-CE,视频采集芯片型号为NVP6158或者NVP6124,所述平台为服务器或远程控制器。The online system of the in-vehicle video equipment according to claim 6, wherein the MCU chip model is GD32F205ZET6, the DVR chip model is T707 or Hisilicon 3520DV300, the GPS/Beidou dual-mode positioning module model is B1612-M1, and the 4G module The model is EC20-CE, the video capture chip model is NVP6158 or NVP6124, and the platform is a server or a remote controller.
  8. 车载视频设备的远程调试方法,使用权利要求1至7中任一项所述车载视频设备的上线系统,其特征在于,按照以下步骤进行:The remote debugging method of in-vehicle video equipment, using the on-line system of the in-vehicle video equipment described in any one of claims 1 to 7, is characterized in that, carry out according to the following steps:
    步骤1,DVR芯片业务出现bug无法上线,MCU芯片可通过4G网络于平台上线;Step 1. If the DVR chip business has bugs and cannot go online, the MCU chip can be launched on the platform through the 4G network;
    步骤2,人工通过平台、及4G网络下发指令到MCU芯片;Step 2, manually issue commands to the MCU chip through the platform and the 4G network;
    步骤3,MCU芯片判断指令是否为跳转安全模式指令,如果是,则下一步,如果否,则进行通用指令处理;Step 3, the MCU chip judges whether the instruction is a jump safe mode instruction, if so, the next step is performed, if not, the general instruction processing is performed;
    步骤4,激活安全模式状态,MCU芯片控制DVR芯片重新上电,并通过串口通知DVR芯片进入安全模式;Step 4, activate the safe mode state, the MCU chip controls the DVR chip to power on again, and informs the DVR chip to enter the safe mode through the serial port;
    步骤5,DVR芯片启动脚本读出串口的信息,判断是否进入安全模式,如果是,则下一步,如果否,则正常工作状态,执行复杂业务逻辑和全面功能;Step 5, the DVR chip startup script reads the information of the serial port, and judges whether to enter the safe mode, if yes, then the next step, if not, it is in a normal working state, and executes complex business logic and comprehensive functions;
    步骤6,DVR芯片启动简易小程序,进行拨号、上线后台、支持远程串口调试;Step 6, the DVR chip starts a simple applet, dials up, goes online in the background, and supports remote serial port debugging;
    步骤7,平台远程串口调试分析视频设备,解决业务bug后,恢复视频设备正常状态;Step 7: The platform remotely debugs and analyzes the video device, and after solving the service bug, restores the normal state of the video device;
    步骤8,运行重启视频设备即可退出安全模式。Step 8, run restart video device to exit safe mode.
  9. 根据权利要求8所述车载视频设备的远程调试方法,其特征在于:步骤3中所述通用指令包括参数修改指令、触发业务功能指令。The remote debugging method for in-vehicle video equipment according to claim 8, wherein the general instructions in step 3 include parameter modification instructions and trigger service function instructions.
  10. 根据权利要求8所述车载视频设备的远程调试方法,其特征在于:步骤5中所述复杂业务逻辑和全面功能包括4G拨号、上线平台、视频采集、视频分析、安全事件上报、视频文件上传、支持平台视频预览、回放录像、对讲。The remote debugging method of vehicle-mounted video equipment according to claim 8, characterized in that: the complex business logic and comprehensive functions described in step 5 include 4G dial-up, online platform, video collection, video analysis, security event reporting, video file upload, Support platform video preview, playback video, intercom.
PCT/CN2020/139707 2020-12-14 2020-12-25 Vehicle-mounted video device online system and remote debugging method WO2022126714A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011467911.7 2020-12-14
CN202011467911.7A CN112799886B (en) 2020-12-14 2020-12-14 Online system and remote debugging method of vehicle-mounted video equipment

Publications (1)

Publication Number Publication Date
WO2022126714A1 true WO2022126714A1 (en) 2022-06-23

Family

ID=75806711

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/139707 WO2022126714A1 (en) 2020-12-14 2020-12-25 Vehicle-mounted video device online system and remote debugging method

Country Status (2)

Country Link
CN (1) CN112799886B (en)
WO (1) WO2022126714A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834662A (en) * 2022-11-18 2023-03-21 湖南黑鲸数据科技有限公司 Multifunctional module sharing 4G network communication system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102651173A (en) * 2012-05-23 2012-08-29 成都亿盟恒信科技有限公司 Beidou satellite monitoring safe driving system based on 3G network
CN103595973A (en) * 2013-11-28 2014-02-19 惠州华阳通用电子有限公司 Real-time vehicle audio/video monitoring system and method
US8718440B2 (en) * 2010-03-22 2014-05-06 Streaming Networks, Inc. Decentralized symmetric network of autonomous digital video recorders and its method of use
CN108347348A (en) * 2018-01-18 2018-07-31 江西派路特科技有限公司 A kind of wireless vehicle-mounted video monitor management system
CN109714562A (en) * 2017-10-25 2019-05-03 北京蓝信汇智科技有限公司 A kind of high-speed rail mobile video platform and its method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508468B (en) * 2011-10-24 2013-09-25 天泽信息产业股份有限公司 Debugging method of comprehensive debugging instrument for vehicle-mounted information terminal
CN106952650B (en) * 2017-02-28 2019-10-11 大连理工大学 A kind of train voice amplifying unit based on ARM+FPGA framework
CN109541987B (en) * 2018-10-17 2021-09-03 同济大学 Plug-and-play intelligent automobile domain controller with redundancy structure and method
CN109379588B (en) * 2018-12-29 2020-11-03 广州敏视数码科技有限公司 Automatic testing method and system for high-definition DVR
CN111459744A (en) * 2020-03-20 2020-07-28 江苏集萃智能集成电路设计技术研究所有限公司 Firmware burning method and firmware debugging method of video processing chip
CN111459736A (en) * 2020-03-20 2020-07-28 江苏集萃智能集成电路设计技术研究所有限公司 Plate electrode debugging method of video processing chip

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8718440B2 (en) * 2010-03-22 2014-05-06 Streaming Networks, Inc. Decentralized symmetric network of autonomous digital video recorders and its method of use
CN102651173A (en) * 2012-05-23 2012-08-29 成都亿盟恒信科技有限公司 Beidou satellite monitoring safe driving system based on 3G network
CN103595973A (en) * 2013-11-28 2014-02-19 惠州华阳通用电子有限公司 Real-time vehicle audio/video monitoring system and method
CN109714562A (en) * 2017-10-25 2019-05-03 北京蓝信汇智科技有限公司 A kind of high-speed rail mobile video platform and its method
CN108347348A (en) * 2018-01-18 2018-07-31 江西派路特科技有限公司 A kind of wireless vehicle-mounted video monitor management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834662A (en) * 2022-11-18 2023-03-21 湖南黑鲸数据科技有限公司 Multifunctional module sharing 4G network communication system

Also Published As

Publication number Publication date
CN112799886B (en) 2023-04-04
CN112799886A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
WO2018086573A1 (en) Method and system for monitoring rail vehicle
CN104137154B (en) Systems and methods for managing video data
WO2016058526A1 (en) Internal video monitoring system and method for gis device
CN102930702B (en) Zero false alarm networking video security method and system thereof
CN104035404A (en) Development method for operation order real-time state monitoring
CN106488336B (en) A kind of engine video frequency transmission method and system based on event corner
CN107800783B (en) Method and device for remotely monitoring server
CN103595973A (en) Real-time vehicle audio/video monitoring system and method
CN112087523B (en) Intelligent building management system and device based on cloud service and computer readable storage medium
CN111626707A (en) Intelligent remote operation safety control method and device
WO2022126714A1 (en) Vehicle-mounted video device online system and remote debugging method
CN112598368A (en) Sewage treatment online supervision platform
CN103581622A (en) Method and system for remote video monitoring of intelligent terminal
CN112714169A (en) Intra-scenic-area interconnection control system and control method
CN114357040A (en) High-availability rail transit security integrated platform based on micro-service architecture
CN110930516A (en) Safety experience control system based on VR all-in-one
CN110866017A (en) Tax handling operation mark leaving system for visual retrieval and implementation method thereof
CN115984481A (en) Visual industrial digital simulation management system
CN110807184A (en) Method for intelligently recording screen and acquiring behavior data of computer and mobile terminal user
CN113961955A (en) Power transformation intelligent switching operation ticket management system based on mobile internet application
CN104038731A (en) Mobile-internet real-time video monitoring system
CN113783305A (en) AR-based power station integrated management method, system and server
CN113919796A (en) Smart community heterogeneous system integration method
CN112052164A (en) Remote debugging method of Android device, storage medium and debugging terminal
CN113489939A (en) Intelligent monitoring method and system for power transmission line construction site

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20965727

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20965727

Country of ref document: EP

Kind code of ref document: A1