Train video compression device and train video processing method and system

Through the coordinated working of the main control board, CPU and encoding chip of the train video compression device, the problem of poor compression efficiency and effect of train video data is solved, and more efficient video data transmission is achieved.

CN120343258AActive Publication Date: 2025-07-18QINGDAO URBAN RAIL TRANSIT TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510632752.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2025-07-18
Estimated Expiration
2045-05-16

AI Technical Summary

Technical Problem

In the prior art, the compression efficiency and compression effect of train video data are poor, especially when transmitting wireless networks.

Method used

The train video compression device is adopted, including the main control board, CPU and encoding chip. The on-board data is processed through the main control board, the CPU decodes and processes the video data according to preset parameters. The encoding chip compresses the video data. The memory is used for data identification and cache, and data diversion and marking are realized.

Benefits of technology

It improves the compression efficiency and compression effect of train video data, balances the processing workload, and improves the transmission quality of video data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120343258A_ABST
    Figure CN120343258A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of video processing, and provides a train video compression device and a train video processing method and system. The device comprises a main control board and a video compression card, wherein the video compression card comprises a CPU (Central Processing Unit) and a coding chip; the main control board is used for receiving vehicle-mounted data sent by the vehicle-mounted equipment and original video data sent by the video acquisition equipment, processing the vehicle-mounted data according to a preset rule, and sending the original video data to the CPU; the CPU is used for decoding the original video data and processing the decoded video data according to preset parameters; the coding chip is used for compressing the video data processed by the CPU; the CPU is also used for sending the video data compressed by the coding chip to the main control board; and the main control board is also used for sending the processed vehicle-mounted data to a ground platform and sending the compressed video data to the ground platform in response to a request of the ground platform. The compression efficiency and the compression effect of the train video data can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of video processing technologies, and in particular, to a train video compression device, a train video processing method, and a system. Background Art

[0002] On trains, on-vehicle devices and video recorders are usually installed to obtain on-vehicle data and video data of the train. When needed on the ground platform, the on-vehicle data and video data are sent to the ground platform through a wireless network. When the video data is uploaded from the train to the ground platform through the wireless network, since the video data is generally large while the wireless network bandwidth is relatively narrow, in order to transmit the video data in the limited wireless network without affecting the user experience, the video data needs to be compressed before transmission.

[0003] The inventors of this application found in their research that: in the related art, video data is usually compressed through software algorithms and then the compressed video data is sent to the ground platform through a wireless network. Moreover, a large amount of services may need to be processed while compressing the data, such as processing and forwarding the video recording data and alarm information of the train, resulting in poor compression efficiency and compression effect of the video data. Summary of the Invention

[0004] In view of this, the embodiments of this application provide a train video compression device, a train video processing method, and a system, which can improve the compression efficiency and compression effect of train video data.

[0005] To achieve the above object, this application adopts the following technical solutions:

[0006] In a first aspect, the embodiments of this application provide a train video compression device, including a main control board and a video compression card. The video compression card includes a CPU and an encoding chip. The main control board is connected to on-vehicle devices and video acquisition devices installed on the train through an on-vehicle network, the main control board is connected to the video compression card through an on-board network, and the main control board is also connected to the ground platform through a vehicle-ground backbone network;

[0007] The main control board is configured to receive on-vehicle data sent by the on-vehicle devices and original video data sent by the video acquisition devices, process the on-vehicle data according to a preset rule, and send the original video data to the CPU;

[0008] The CPU is configured to decode the original video data and process the decoded video data according to preset parameters, where the preset parameters include video resolution, video encoding format, and video frame rate;

[0009] The encoding chip is used to compress the video data processed by the CPU;

[0010] The CPU is further used to send the video data compressed by the encoding chip to the main control board;

[0011] The main control board is further used to send the processed vehicle data to the ground platform, and send the compressed video data to the ground platform in response to a request from the ground platform.

[0012] Based on the first aspect, in some embodiments, the main control board is specifically configured to:

[0013] Detect whether there is an abnormality in the vehicle data;

[0014] If there is an abnormality in the vehicle data, mark the abnormal vehicle data;

[0015] Send the marked vehicle data to the ground platform, so that the ground platform can determine the specific abnormality information and location of the abnormal equipment on the train based on the marked vehicle data.

[0016] Based on the first aspect, in some embodiments, the video compression card further includes a memory, the memory is respectively connected to the CPU and the encoding chip, and the memory is used to store the video data processed by the CPU and the video data compressed by the encoding chip;

[0017] The CPU sends the processed video data to the memory;

[0018] The memory adds a first identifier to the processed video data according to the data transmission channel between the CPU and the memory and stores it in the cache space;

[0019] The encoding chip reads the video data carrying the first identifier from the cache space of the memory, compresses the video data, and sends the compressed video data to the memory;

[0020] The memory adds a second identifier to the compressed video data according to the data transmission channel between the encoding chip and the memory and stores it in the cache space;

[0021] The CPU reads the video data carrying the second identifier from the cache space of the memory and sends the video data to the main control board.

[0022] In a first aspect, an embodiment of the present application provides a train video processing method, which is implemented based on the train video compression device described in any item of the first aspect. The train video processing method includes:

[0023] The main control board obtains the vehicle data sent by the vehicle-mounted device and the original video data sent by the video acquisition device, and processes the vehicle data according to a preset rule and then sends it to the ground platform;

[0024] The CPU decodes the original video data and processes the decoded video data according to preset parameters; wherein, the preset parameters include video resolution, video coding format, and video frame rate;

[0025] The compression chip compresses the video data processed by the CPU;

[0026] The main control board responds to the request of the ground platform and sends the video data compressed by the compression chip to the ground platform.

[0027] Based on the second aspect, in some embodiments, the processing the vehicle data according to a preset rule and then sending it to the ground platform includes:

[0028] Detect whether there is an abnormality in the vehicle data;

[0029] If there is an abnormality in the vehicle data, mark the abnormal vehicle data and send the marked vehicle data to the ground platform in real time, so that the ground platform can determine the specific abnormality information and location of the abnormal device on the train according to the marked vehicle data.

[0030] Based on the second aspect, in some embodiments, the responding to the request of the ground platform and sending the compressed video data to the ground platform includes:

[0031] Obtain the real-time video request sent by the ground platform, where the real-time video request represents a request to obtain the real-time video at the location of the device with an abnormality in the train carriage;

[0032] Send the compressed video data corresponding to the abnormal vehicle data to the ground platform; wherein, there are multiple vehicle-mounted devices and video acquisition devices, and a location association relationship is set between each vehicle-mounted device and each video acquisition device, and the compressed video data corresponding to the abnormal vehicle data is determined based on this location association relationship.

[0033] Based on the second aspect, in some embodiments, the CPU decodes the original video data and processes the decoded video data according to preset parameters, including: decoding the original video data and processing the decoded video data according to preset parameters; adding a first identifier to the processed video data according to the data transmission channel between the CPU and the memory and storing it in the cache space of the memory;

[0034] The compression chip compresses the video data processed by the CPU, including: reading the video data carrying the first identifier from the cache space of the memory and compressing the video data; adding a second identifier to the compressed video data according to the data transmission channel between the encoding chip and the memory and storing it in the cache space of the memory;

[0035] The main control board sends the compressed video data to the ground platform in response to the request of the ground platform, including: in response to the request of the ground platform, reading the video data carrying the second identifier from the cache space of the memory and sending the video data carrying the second identifier to the ground platform.

[0036] Based on the second aspect, in some embodiments, the train video processing method further includes:

[0037] The main control board receives a video recording file request from the ground platform, and the video recording request file includes the car number of the train;

[0038] The main control board responds to the video recording file request and sends the compressed video data corresponding to the car number to the ground platform so that the ground platform can play the video recording corresponding to the car number.

[0039] Based on the second aspect, in some embodiments, the compression chip compresses the video data processed by the CPU, including:

[0040] Encoding the video data processed by the CPU into video data conforming to the H264 standard or the H265 standard.

[0041] In a third aspect, an embodiment of the present application provides a train video processing system, including on-vehicle devices and video acquisition devices provided on the train, and further including a ground platform and the train video compression device according to any one of the first aspect;

[0042] The train video compression device is connected to the on-vehicle devices and the video acquisition devices through an on-vehicle network, and the train video compression device is connected to the ground platform through a vehicle-ground backbone network;

[0043] The train video compression device is used to process the on-vehicle data sent by the on-vehicle devices according to a preset rule, compress the video data sent by the video acquisition devices, and send the processed on-vehicle data and the compressed video data to the ground platform.

[0044] The beneficial effects of the embodiments of the present application compared with the prior art include:

[0045] In the embodiments of the present application, the main control board receives vehicle-mounted data sent by a vehicle-mounted device and original video data sent by a video acquisition device, processes the vehicle-mounted data according to a preset rule, sends the processed vehicle-mounted data to a ground platform, and sends the original video data to a CPU; the CPU decodes the original video data and processes the decoded video data according to preset video resolution, video coding format, and video frame rate parameters; an encoding chip compresses the video data processed by the CPU; and the main control board sends the processed vehicle-mounted data to the ground platform in response to a request from the ground platform.

[0046] In the embodiments of the present application, the main control board processes the vehicle-mounted data, the CPU decodes the original video data and then processes the video data according to preset video resolution, video coding format, and video frame rate, and then the encoding chip compresses and encodes the video data processed by the CPU to obtain video data that meets the preset standard. It can be seen that the main control board, the CPU, and the encoding chip are independent of each other. The main control board is responsible for processing the vehicle-mounted data, the CPU is responsible for preprocessing the video data, and the encoding chip is responsible for compressing the video data. The processing work of the CPU and the encoding chip for the video data is relatively balanced, and the processing work of the video data is not biased towards one of them. Therefore, the compression efficiency and compression effect of the encoding chip for the video data are good, and the compression efficiency and compression effect of the train video data can be improved. Description of the Drawings

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0048] Figure 1 It is a schematic diagram of a train video processing system provided by the embodiments of the present application;

[0049] Figure 2 It is a schematic diagram of the structure of a train video compression device provided by the embodiments of the present application;

[0050] Figure 3 It is a schematic diagram of information interaction among a CPU, an encoding chip, and a memory provided by the embodiments of the present application;

[0051] Figure 4 It is a schematic diagram of the process of a train video processing method provided by the embodiments of the present application. Detailed Embodiments

[0052] The present application will be described more clearly with reference to specific embodiments below. The following embodiments will help those skilled in the art to further understand the function of the present application, but do not limit the present application in any form. It should be noted that those of ordinary skill in the art can make several modifications and improvements without departing from the concept of the present application. These all fall within the protection scope of the present application.

[0053] To make the purpose, technical solutions and advantages of the present application clearer, the following will be described through specific embodiments with reference to the accompanying drawings.

[0054] See Figure 1 , the train video processing system provided by the embodiment of the present application includes on-vehicle devices, video acquisition devices and a train video compression device arranged on the train, and also includes a ground platform arranged on the ground. Specifically, the train video compression device is connected to the on-vehicle devices and the video acquisition devices through an on-vehicle network, and the train video compression device is connected to the ground platform through a vehicle-ground backbone network.

[0055] The on-vehicle devices are used to collect on-vehicle data during train operation, and the video acquisition devices are used to collect video data inside the carriage.

[0056] The train video compression device processes the on-vehicle data sent by the on-vehicle devices according to a preset rule, and compresses the video data sent by the video acquisition devices, and sends the processed on-vehicle data to the ground platform in real time, and sends the compressed video data to the ground platform in response to the request of the ground platform.

[0057] After receiving the on-vehicle data, the ground platform can request video data from the train video compression device, and the train video compression device sends the compressed video data to the ground platform in response to the request of the ground platform.

[0058] Exemplarily, the train video compression device processes the on-vehicle data sent by the on-vehicle devices according to a preset rule, which can specifically be: detecting whether the on-vehicle data is abnormal; if the on-vehicle data is abnormal, marking the abnormal on-vehicle data; sending the marked on-vehicle data to the ground platform so that the ground platform can determine the specific abnormal information and location of the abnormal device on the train according to the marked on-vehicle data.

[0059] For example, on-vehicle data may include train operation status data, train control and signal data, on-vehicle equipment monitoring data, safety and fault diagnosis data, etc. Train operation status data may include operating parameters of traction motors and braking systems, operating parameters of bogies and suspension systems, train speed and position, etc. Train control and signal data may include parameters of the train automatic control system and communication network data, etc. On-vehicle equipment monitoring data may include power supply system data, door status data, and air conditioning and lighting data, etc. Safety and fault diagnosis data may include fault alarms and logs, and fire and smoke detection data, etc.

[0060] Exemplarily, the train video compression device determines whether there is an abnormality in the on-vehicle data by comparing the on-vehicle data with corresponding data thresholds to determine whether there is an abnormality in the on-vehicle data. Specifically, the data thresholds can be preset according to the data of various on-vehicle data under normal conditions. If the on-vehicle data is greater than or less than the data threshold, it indicates that there is an abnormality in the on-vehicle data.

[0061] In addition, the train video compression device can also send the processed on-vehicle data back to the on-vehicle equipment. The ground platform can also send the on-vehicle data back to the train video compression device, and the train video compression device then sends the on-vehicle data back to the on-vehicle equipment.

[0062] See Figure 2 In the embodiment of the present application, a train video compression device is further provided. The train video compression device is arranged on the train and may include a main control board and a video compression card. The video compression card includes a CPU and an encoding chip. The main control board is connected to on-vehicle equipment and video acquisition equipment arranged on the train through an on-vehicle network, the main control board is connected to the video compression card through an on-board network, and the main control board is also connected to the ground platform through a vehicle-ground backbone network.

[0063] The main control board is used to receive on-vehicle data sent by the on-vehicle equipment and raw video data sent by the video acquisition equipment, process the on-vehicle data according to preset rules, and send the raw video data to the CPU.

[0064] The CPU is used to decode the raw video data and process the decoded video data according to preset parameters, and the preset parameters may include video resolution, video coding format, and video frame rate.

[0065] The encoding chip is used to compress the video data processed by the CPU.

[0066] The CPU is also used to send the video data compressed by the encoding chip to the main control board.

[0067] The main control board is also used to send the processed on-vehicle data to the ground platform and send the compressed video data to the ground platform in response to a request from the ground platform.

[0068] In the embodiments of the present application, the vehicle-mounted data is processed by the main control board. After the original video data is decoded by the CPU, the video data is further processed according to the preset video resolution, video coding format, and video frame rate. Then, the encoded chip compresses and encodes the video data processed by the CPU to obtain video data that meets the preset standard. It can be seen that the main control board, the CPU, and the encoded chip are independent of each other. The main control board is responsible for processing the vehicle-mounted data, the CPU is responsible for preprocessing the video data, and the encoded chip is responsible for compressing the video data. The processing work of the CPU and the encoded chip for the video data is relatively balanced, and the processing work of the video data is not biased towards one of them. Therefore, the compression efficiency and compression effect of the encoded chip for the video data are good, and the compression efficiency and compression effect of the video data can be improved.

[0069] In some embodiments, the main control board can be specifically used for: detecting whether the vehicle-mounted data is abnormal; if the vehicle-mounted data is abnormal, marking the abnormal vehicle-mounted data; and sending the marked vehicle-mounted data to the ground platform, so that the ground platform can determine the specific abnormal information and location of the abnormal equipment on the train according to the marked vehicle-mounted data.

[0070] Reference Figure 1 Referring to the relevant content of the corresponding embodiments, the vehicle-mounted data may include train operation status data, train control and signal data, vehicle-mounted equipment monitoring data, safety and fault diagnosis data, etc. The main control board determines whether the vehicle-mounted data is abnormal by comparing the vehicle-mounted data with the corresponding data threshold. Specifically, the main control board can preset the data threshold according to the data of various vehicle-mounted data in the normal state. If the vehicle-mounted data is greater than or less than the data threshold, it indicates that the vehicle-mounted data is abnormal.

[0071] In the embodiments of the present application, the vehicle-mounted data may carry identification information related to the position or the vehicle-mounted equipment. According to this identification information, the position of the vehicle-mounted equipment that generates this vehicle-mounted data in the train can be determined. If a certain vehicle-mounted data is abnormal, the identification information related to the position or the vehicle-mounted equipment in the vehicle-mounted data can be extracted, so as to determine the position of the relevant vehicle-mounted equipment in the train.

[0072] In addition, the above specific abnormal information may be the vehicle-mounted data itself, or the abnormal information determined by the main control board according to the vehicle-mounted data and the data threshold, which is not limited herein.

[0073] For example, after receiving in-vehicle data, the main control board processes the in-vehicle data in real time. After detecting that there is an abnormality in the in-vehicle data, it marks the in-vehicle data with the abnormality, and sends the in-vehicle data with the mark to the ground platform every preset time. This preset time can be 1 second, 10 seconds, 1 minute or other times, and can be specifically determined according to the actual situation.

[0074] In some embodiments, the video compression card may further include a memory, which is respectively connected to the CPU and the encoding chip. The memory is used to store the video data processed by the CPU and the video data compressed by the encoding chip.

[0075] Specifically, the CPU sends the processed video data to the memory. The memory adds a first identifier to the processed video data according to the data transmission channel between the CPU and the memory and stores it in the cache space. The encoding chip reads the video data with the first identifier from the cache space of the memory, compresses the video data, and sends the compressed video data to the memory. The memory adds a second identifier to the compressed video data according to the data transmission channel between the encoding chip and the memory and stores it in the cache space. The CPU reads the video data with the second identifier from the cache space of the memory and sends the video data to the main control board.

[0076] There are different data transmission channels between the CPU and the memory, and between the encoding chip and the memory respectively. Therefore, it is possible to distinguish whether the video data stored in the cache space of the memory is the video data processed by the CPU or the video data compressed by the encoding chip through the data transmission channel. Based on this, corresponding identifiers can be set for the video data stored in the cache space of the memory according to the data transmission channel, and according to this identifier, it can be determined whether the video data stored in the cache space is the video data processed by the CPU or the video data compressed by the encoding chip.

[0077] Exemplarily, the memory can be a DDR (Double Data Rate Synchronous Dynamic Random Access Memory).

[0078] See Figure 3 , after the CPU receives the original video data, it decodes the original video data into YUV video data, and then processes the YUV video data according to preset parameters, such as rotating, scaling or cropping the YUV data according to the video resolution, video encoding format and video frame rate, etc., thereby obtaining the processed video data. Then, the CPU sends the processed video data to the memory, and the memory sets a first identifier for the processed video data and stores it in the cache space.

[0079] The encoding chip obtains the processed video data carrying the first identifier from the cache space of the memory, compresses the processed video data into video data conforming to the H264 standard or the H265 standard, and obtains the compressed video data. After that, the encoding chip sends the compressed video data to the memory, and after the memory sets the second identifier for the compressed video data, it stores it in the cache space.

[0080] The CPU responds to the request of the ground platform, obtains the compressed video data carrying the second identifier from the cache space of the memory, and sends the compressed video data to the ground platform.

[0081] The following Figures 1 to 3 illustrates the train video processing method in the embodiments of the present application.

[0082] See Figure 4 , the embodiments of the present application further provide a train video processing method, which is implemented based on the above train video compression device. The above train video processing method may include:

[0083] Step 101, the main control board obtains the on-vehicle data sent by the on-vehicle device and the original video data sent by the video acquisition device, and processes the on-vehicle data according to a preset rule and then sends it to the ground platform.

[0084] Exemplarily, the above processing the on-vehicle data according to a preset rule and then sending it to the ground platform includes: detecting whether the on-vehicle data is abnormal; if the on-vehicle data is abnormal, marking the abnormal on-vehicle data, and sending the marked on-vehicle data to the ground platform in real time, so that the ground platform can determine the specific abnormal information and location of the abnormal device on the train according to the marked on-vehicle data.

[0085] For example, the on-vehicle data may include train operation status data, train control and signal data, on-vehicle device monitoring data, safety and fault diagnosis data, etc. The main control board determines whether the on-vehicle data is abnormal by comparing the on-vehicle data with the corresponding data threshold to determine whether the on-vehicle data is abnormal. Specifically, the data threshold can be preset according to the data of various on-vehicle data when they are normal. If the on-vehicle data is greater than or less than the data threshold, it means that the on-vehicle data is abnormal.

[0086] For example, the on-vehicle data abnormality may be: the power supply voltage is greater than or less than the voltage threshold, the power supply current is greater than or less than the current threshold, the door state indicates that the door is abnormally opened or closed, the working time and power of the air conditioner do not meet the preset requirements, the smoke detection data indicates that the smoke concentration in the carriage is greater than the threshold, there is an abnormality in the communication network, there is an abnormality in the traction motor or the braking system, etc.

[0087] In the embodiments of the present application, the in-vehicle data may carry identification information related to the location or the in-vehicle device. According to this identification information, the location of the in-vehicle device that generates this in-vehicle data in the train can be determined. If a certain in-vehicle data is abnormal, the identification information related to the location or the in-vehicle device in this in-vehicle data can be extracted, so as to determine the location of the relevant in-vehicle device in the train.

[0088] In addition, the above specific abnormal information may be the in-vehicle data itself, or the abnormal information determined by the main control board according to the in-vehicle data and the data threshold, and this is not limited thereto.

[0089] For example, after receiving the in-vehicle data, the main control board processes the in-vehicle data in real time. After detecting that the in-vehicle data is abnormal, the abnormal in-vehicle data is marked, and the in-vehicle data with the mark is sent to the ground platform every preset time. The preset time may be 1 second, 10 seconds, 1 minute or other times, and can be specifically determined according to the actual situation.

[0090] Step 102, the CPU decodes the original video data and processes the decoded video data according to preset parameters.

[0091] Among them, the above preset parameters may include video resolution, video coding format and video frame rate.

[0092] For example, after receiving the original video data, the CPU decodes and converts the original video data into a YUV image; then, according to parameters such as the preset video resolution, video coding format and video frame rate, the YUV image is processed to achieve processing effects such as rotation, scaling and cropping of the YUV image.

[0093] In some embodiments, the above CPU decodes the original video data and processes the decoded video data according to preset parameters, including: decoding the original video data and processing the decoded video data according to preset parameters; adding a first identifier to the processed video data according to the data transmission channel between the CPU and the memory and storing it in the cache space of the memory.

[0094] Specifically, after the CPU processes the YUV image according to parameters such as the preset video resolution, video coding format and video frame rate, the processed data is sent to the memory. The memory adds a first identifier to the processed video data according to the data transmission channel between the CPU and the memory and stores it in the cache space of the memory. The video data with the first identifier in the cache space of the memory is the video data that needs to be compressed. Then, the encoding chip can obtain the processed video data from the cache space of the memory based on the first identifier for compression.

[0095] Between the CPU and the memory, and between the encoding chip and the memory, there are different data transmission channels respectively. Therefore, it is possible to distinguish whether the video data stored in the cache space of the memory is the video data processed by the CPU or the video data compressed by the encoding chip through the data transmission channels. Based on this, the video data stored in the cache space of the memory can be set with corresponding identifiers according to the data transmission channels, and based on these identifiers, it can be determined whether the video data stored in the cache space is the video data processed by the CPU or the video data compressed by the encoding chip.

[0096] Step 103: The compression chip compresses the video data processed by the CPU.

[0097] Exemplarily, the compression of the video data processed by the CPU by the above-mentioned compression chip may include: encoding the video data processed by the CPU into video data conforming to the H264 standard or the H265 standard.

[0098] In some embodiments, the compression of the video data processed by the CPU by the above-mentioned compression chip may include: reading the video data carrying the first identifier from the cache space of the memory and compressing the video data; adding a second identifier to the compressed video data according to the data transmission channel between the encoding chip and the memory and storing it in the cache space of the memory.

[0099] Specifically, the compression chip reads the video data that needs to be compressed, that is, the video data carrying the first identifier, from the cache space of the memory, and then encodes the video data into video data conforming to the H264 standard or the H265 standard; then, the compressed video data is sent to the memory; the memory adds a second identifier to the compressed video data according to the data transmission channel between the encoding chip and the memory and stores it in the cache space of the memory. The video data carrying the second identifier in the cache space of the memory is the video data that has been compressed. Then, the main control board can respond to the request of the ground platform, obtain the compressed video data from the cache space of the memory based on the second identifier and send it to the ground platform.

[0100] Step 104: The main control board responds to the request of the ground platform and sends the video data compressed by the compression chip to the ground platform.

[0101] Among them, the request of the ground platform may include a request for real-time video data or a request for video data within a certain time range.

[0102] Exemplarily, sending the video data compressed by the compression chip to the ground platform includes: obtaining a real-time video request sent by the ground platform, where the real-time video request represents a request to obtain the real-time video at the position of the device with an abnormality in the train carriage; sending the compressed video data corresponding to the on-vehicle data with an abnormality to the ground platform; where there are multiple on-vehicle devices and video acquisition devices, and a position association relationship is set between each on-vehicle device and each video acquisition device, and based on this position association relationship, the compressed video data corresponding to the on-vehicle data with an abnormality is determined.

[0103] For example, the ground platform can request the video data at the position corresponding to the on-vehicle data with an abnormality from the main control board. The main control board extracts the identification information related to the on-vehicle device from this request, determines the on-vehicle device according to this identification information, then determines the target video acquisition device according to the position association relationship between the on-vehicle device and the video acquisition device, determines the compressed video data to be sent according to the target video acquisition device, and then sends these compressed video data to the ground platform. After receiving these compressed video data, the ground platform decodes and plays the video in real time so that the user can understand the video picture at the position corresponding to the on-vehicle data with an abnormality.

[0104] In some embodiments, the main control board responding to the request of the ground platform to send the compressed video data to the ground platform includes: responding to the request of the ground platform, reading the video data carrying the second identifier from the cache space of the memory, and sending the video data carrying the second identifier to the ground platform.

[0105] Exemplarily, the video data compressed by the encoding chip can be stored in the memory, and the memory sets a second identifier for the compressed video data. After the ground platform requests the main control board to obtain the video data, the main control board responds to the request of the ground platform, reads the video data carrying the second identifier from the cache space of the memory, and sends the video data carrying the second identifier to the ground platform.

[0106] In some embodiments, the above train video processing method may further include: the main control board receives a video recording file request from the ground platform, and the video recording request file includes the carriage number of the train; the main control board responds to the video recording file request and sends the compressed video data corresponding to the carriage number to the ground platform so that the ground platform can play the video recording corresponding to the carriage number.

[0107] In some scenarios, the ground platform can request the historical video data of a certain location (such as a certain carriage) from the main control board. The main control board extracts the location information from this request, determines the video acquisition devices corresponding to this location information based on this location information, and then sends the historical video data corresponding to these video acquisition devices to the ground platform. After receiving this historical video data, the ground platform decodes and plays the historical video data in response to the user's play instruction, so that the user can understand the video picture of this location.

[0108] For the above train video processing method, the in-vehicle data is processed by the main control board, the original video data is decoded by the CPU and then processed according to the preset video resolution, video encoding format and video frame rate. Then, the encoded chip compresses and encodes the video data processed by the CPU to obtain video data that meets the preset standard. It can be seen that the main control board, the CPU and the encoded chip are independent of each other. The main control board is responsible for processing the in-vehicle data, the CPU is responsible for the preprocessing of the video data, and the encoded chip is responsible for compressing the preprocessed video data. The processing work of the CPU and the encoded chip on the video data is relatively balanced, and the processing work of the video data is not biased towards one of them. Therefore, the compression efficiency and compression effect of the encoded chip on the video data are good, and the compression efficiency and compression effect of the video data can be improved.

[0109] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0110] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications 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 all be included in the protection scope of the present invention.

Claims

1. A train video compression device is provided on a train, and is characterized in that, The train video compression device includes a main control board and a video compression card. The video compression card includes a CPU and an encoding chip. The main control board is connected to on-vehicle devices and video acquisition devices arranged on the train through an on-vehicle network, the main control board is connected to the video compression card through an on-board network, and the main control board is further connected to a ground platform through a vehicle-ground backbone network; The main control board is configured to receive on-vehicle data sent by the on-vehicle devices and original video data sent by the video acquisition devices, process the on-vehicle data according to a preset rule, and send the original video data to the CPU; The CPU is configured to decode the original video data and process the decoded video data according to preset parameters, where the preset parameters include video resolution, video encoding format, and video frame rate; The encoding chip is configured to compress the video data processed by the CPU; The CPU is further configured to send the video data compressed by the encoding chip to the main control board; The main control board is further configured to send the processed on-vehicle data to the ground platform, and send the compressed video data to the ground platform in response to a request from the ground platform.

2. The train video compression device according to claim 1, wherein Specifically, the main control board is configured to: Detect whether the on-vehicle data is abnormal; If the on-vehicle data is abnormal, mark the abnormal on-vehicle data; Send the marked on-vehicle data to the ground platform, so that the ground platform determines specific abnormal information and locations of abnormal devices on the train based on the marked on-vehicle data.

3. The train video compression device according to claim 1, wherein, The video compression card further includes a memory, the memory is respectively connected to the CPU and the encoding chip, and the memory is configured to store the video data processed by the CPU and the video data compressed by the encoding chip; The CPU sends the processed video data to the memory; The memory adds a first identifier to the processed video data according to the data transmission channel between the CPU and the memory and stores it in the cache space; The encoding chip reads the video data with the first identifier from the cache space of the memory, compresses the video data, and sends the compressed video data to the memory; The memory adds a second identifier to the compressed video data according to the data transmission channel between the encoding chip and the memory and stores it in the cache space; The CPU reads the video data with the second identifier from the cache space of the memory and sends the video data to the main control board.

4. A train video processing method, characterized in that, Implemented based on the train video compression device according to any one of claims 1 to 3, the train video processing method includes: The main control board obtains on-vehicle data sent by on-vehicle devices and original video data sent by video acquisition devices, and sends the processed on-vehicle data to the ground platform according to a preset rule; The CPU decodes the original video data and processes the decoded video data according to preset parameters; where the preset parameters include video resolution, video encoding format, and video frame rate; The compression chip compresses the video data processed by the CPU; The main control board responds to the request of the ground platform and sends the video data compressed by the compression chip to the ground platform.

5. The train video processing method according to claim 4, wherein The processing of the vehicle-mounted data according to the preset rules and then sending it to the ground platform includes: Detecting whether there is an abnormality in the vehicle-mounted data; If there is an abnormality in the vehicle-mounted data, the vehicle-mounted data with the abnormality is marked, and the marked vehicle-mounted data is sent to the ground platform in real time, so that the ground platform can determine the specific abnormality information and location of the abnormal equipment on the train according to the marked vehicle-mounted data.

6. The train video processing method according to claim 5, wherein The sending the compressed video data to the ground platform in response to the request of the ground platform includes: Obtaining the real-time video request sent by the ground platform, where the real-time video request represents a request to obtain the real-time video at the location of the abnormal equipment in the train carriage; Sending the compressed video data corresponding to the vehicle-mounted data with the abnormality to the ground platform; where there are multiple vehicle-mounted devices and video acquisition devices, and a position association relationship is set between each vehicle-mounted device and each video acquisition device, and the compressed video data corresponding to the vehicle-mounted data with the abnormality is determined based on this position association relationship.

7. The train video processing method according to claim 4, wherein The CPU decodes the original video data and processes the decoded video data according to preset parameters, including: decoding the original video data and processing the decoded video data according to preset parameters; adding a first identifier to the processed video data according to the data transmission channel between the CPU and the memory and storing it in the cache space of the memory; The compression chip compresses the video data processed by the CPU, including: reading the video data with the first identifier from the cache space of the memory and compressing the video data; adding a second identifier to the compressed video data according to the data transmission channel between the encoding chip and the memory and storing it in the cache space of the memory; The main control board responds to the request of the ground platform and sends the compressed video data to the ground platform, including: responding to the request of the ground platform, reading the video data with the second identifier from the cache space of the memory, and sending the video data with the second identifier to the ground platform.

8. The train video processing method according to claim 4, wherein The train video processing method further includes: The main control board receives the video recording file request of the ground platform, and the video recording request file includes the carriage number of the train; The main control board responds to the video recording file request and sends the compressed video data corresponding to the carriage number to the ground platform, so that the ground platform can play the video recording corresponding to the carriage number.

9. The train video processing method according to claim 4, wherein The compression chip compresses the video data processed by the CPU, including: Encoding the video data processed by the CPU into video data conforming to the H264 standard or the H265 standard.

10. A train video processing system, characterized in that, Including vehicle-mounted devices and video acquisition devices arranged on the train, and also including a ground platform and the train video compression device according to any one of claims 1 to 3; The train video compression device is connected to the vehicle-mounted devices and the video acquisition devices through a vehicle-mounted network, and the train video compression device is connected to the ground platform through a vehicle-ground backbone network; The train video compression device is used to process the on-vehicle data sent by the on-vehicle device according to a preset rule, compress the video data sent by the video acquisition device, and send the processed on-vehicle data to the ground platform in real time, and send the compressed video data to the ground platform in response to the request of the ground platform.

Citation Information

Patent Citations

  • Method for realizing H.264 parallel encoder based on CUDA

    CN107231558A

  • Detection system and method for rail transit vehicle-ground communication system

    CN107623592A

  • Train streaming media transmission device and video monitoring system

    CN112019816A

  • Subway train alarm system

    CN204904499U

  • On -vehicle communication integrated system and vehicle

    CN208768306U