Train video compression device, train video processing method and system

By having the main control board, CPU, and encoding chip of the train video compression device work together, the problem of low compression efficiency of train video data is solved, achieving efficient video data compression and transmission, and improving the user experience.

CN120343258BActive Publication Date: 2026-02-27RUISIKE (QINGDAO) TECHNOLOGY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing technologies have poor compression efficiency and effect for train video data, which affects user experience when transmitting video data over wireless networks.

Method used

The train video compression device includes a main control board, a video compression card, a CPU, and an encoding chip. The main control board processes onboard data, the CPU decodes and processes video data according to preset parameters, the encoding chip compresses the video data, and the memory is used for data identification and caching, thereby achieving efficient compression of video data.

Benefits of technology

This improves the compression efficiency and effectiveness of train video data, ensures the quality of video data during wireless network transmission, and reduces the impact on user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120343258B_ABST
    Figure CN120343258B_ABST
Patent Text Reader

Abstract

The application is suitable for the field of video processing technology, and provides a train video compression device, a train video processing method and a system. The device comprises a main control board and a video compression card, the video compression card comprises a CPU and an encoding chip; the main control board is used for receiving vehicle-mounted data sent by a vehicle-mounted device and original video data sent by a video acquisition device, 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 encoding chip is used for compressing the video data processed by the CPU; the CPU is further used for sending the video data compressed by the encoding chip to the main control board; and the main control board is further 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 application can improve the compression efficiency and compression effect of train video data.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of video processing, in particular to a train video compression device, a train video processing method and system. BACKGROUND

[0002] On a train, on-board equipment and a video recorder are usually arranged to obtain on-board data and video data of the train, and when a ground platform needs, the on-board data and the video data are transmitted to the ground platform through a wireless network. When the video data is transmitted from the train to the ground platform through the wireless network, since the video data is generally large and the bandwidth of the wireless network is relatively narrow, in order to transmit the video data in the limited wireless network and not affect the user experience, the video data needs to be compressed before transmission.

[0003] The present application inventors found in research that in the related art, the video data is usually compressed by a software algorithm, and then the compressed video data is transmitted to the ground platform through the wireless network, and at the same time of compressing the data, a large amount of business needs to be processed, such as processing and forwarding of video recording data and alarm information of the train, which results in poor compression efficiency and compression effect of the video data. SUMMARY

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

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

[0006] In a first aspect, the embodiments of the present application provide a train video compression device, which comprises a main control board and a video compression card, the video compression card comprises a CPU and an encoding chip, the main control board is connected with on-board equipment and video acquisition equipment arranged on a train through an on-board network, the main control board is connected with the video compression card through a board-mounted network, and the main control board is further connected with a ground platform through a train-ground backbone network.

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

[0008] The CPU is configured to decode the raw video data, process the decoded video data according to a preset parameter, and the preset parameter comprises a video resolution, a video encoding format and a video frame rate.

[0009] The encoding chip is configured to compress the video data processed by the CPU.

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

[0011] The main control board is further configured 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] In some embodiments based on the first aspect, the main control board is specifically configured to:

[0013] detect whether the vehicle data is abnormal;

[0014] if the vehicle data is abnormal, mark the vehicle data that is abnormal;

[0015] send the marked vehicle data to the ground platform, so that the ground platform determines specific abnormal information and a location of an abnormal device on the train according to the marked vehicle data.

[0016] In some embodiments based on the first aspect, the video compression card further comprises a memory connected to the CPU and the encoding chip respectively, the memory being configured 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 a data transmission channel between the CPU and the memory, and stores the video data in a 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 a data transmission channel between the encoding chip and the memory, and stores the video data in a 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 as described in any one of the first aspect, and the train video processing method comprises:

[0023] The main control board acquires vehicle data sent by the vehicle-mounted device and raw video data sent by the video acquisition device, and sends the vehicle data to the ground platform after processing the vehicle data according to a preset rule;

[0024] The CPU decodes the raw video data and processes the decoded video data according to a preset parameter; wherein the preset parameter includes 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 sends the video data compressed by the compression chip to the ground platform in response to a request from the ground platform.

[0027] In some embodiments based on the second aspect, the sending of the vehicle data to the ground platform after processing the vehicle data according to a preset rule comprises:

[0028] detecting whether the vehicle data is abnormal;

[0029] If the vehicle data is abnormal, marking the abnormal vehicle data, and sending the marked vehicle data to the ground platform in real time, so that the ground platform determines specific abnormal information and a location of an abnormal device on the train according to the marked vehicle data.

[0030] In some embodiments based on the second aspect, the sending of the video data compressed by the compression chip to the ground platform in response to a request from the ground platform comprises:

[0031] acquiring a real-time video request sent by the ground platform, the real-time video request representing a request for acquiring real-time video at a location of an abnormal device in a train carriage;

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

[0033] In some embodiments based on the second aspect, the decoding of the raw video data by the CPU and the processing of the decoded video data according to a preset parameter comprises: decoding the raw video data and processing the decoded video data according to a preset parameter; adding a first identifier to the processed video data according to a data transmission channel between the CPU and the memory, and storing the processed video data in a 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 the video data in the cache space of the memory.

[0035] The master 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 master control board receives a video file request of the ground platform, and the video file request contains a car number of the train;

[0038] The master control board sends the compressed video data corresponding to the car number to the ground platform in response to the video file request, so that the ground platform plays the video 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] The video data processed by the CPU is encoded to comply with the H264 standard or the H265 standard.

[0041] In a third aspect, the embodiments of the present application provide a train video processing system, including a vehicle-mounted device and a video acquisition device arranged on a train, and a ground platform and a train video compression device as described in any one of the first aspect;

[0042] The train video compression device is connected with the vehicle-mounted device and the video acquisition device through a vehicle-mounted network, and the train video compression device is connected with the ground platform through a train-ground backbone network.

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

[0044] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0045] In the embodiment of the present application, the main control board receives the vehicle-mounted data sent by the vehicle-mounted device and the original video data sent by the video acquisition device, processes the vehicle-mounted data according to a preset rule, sends the processed vehicle-mounted data to the ground platform, and sends the original video data to the CPU; the CPU decodes the original video data, processes the decoded video data according to preset video resolution, video coding format and video frame rate parameters; the coding 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 the request of the ground platform.

[0046] In the embodiment 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 coding chip compresses the video data processed by the CPU to obtain video data meeting the preset standard. As can be seen, the main control board, the CPU and the coding 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 coding chip is responsible for compressing the video data, the processing of the video data by the CPU and the coding chip is relatively balanced, and the processing of the video data is not biased to one side, so the compression efficiency and compression effect of the video data by the coding chip are good, and the compression efficiency and compression effect of the train video data can be improved. BRIEF DESCRIPTION OF DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

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

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

[0050] Figure 3 is a schematic diagram of information interaction between the CPU, the coding chip and the memory provided by the embodiment of the present application;

[0051] Figure 4 is a flow schematic diagram of a train video processing method provided by the embodiment of the present application. DETAILED DESCRIPTION

[0052] The application will be described in a clear and concise manner through specific embodiments. The following examples will help those skilled in the art to further understand the effects of the application, but do not limit the application in any form. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the application. These are within the scope of protection of the application.

[0053] In order to make the purpose, technical solutions and advantages of the application clearer, specific embodiments will be described below with reference to the accompanying drawings.

[0054] Referring to Figure 1 The train video processing system provided by the embodiments of the application comprises a vehicle-mounted device, a video acquisition device and a train video compression device arranged on a train, and further comprises a ground platform arranged on the ground. Specifically, the train video compression device is connected with the vehicle-mounted device and the video acquisition device through a vehicle-mounted network, and the train video compression device is connected with the ground platform through a train-ground backbone network.

[0055] The vehicle-mounted device is configured to acquire vehicle-mounted data in the running of the train, and the video acquisition device is configured to acquire video data in the carriage.

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

[0057] After receiving the vehicle-mounted data, the ground platform can send a request to the train video compression device for video data, 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] For example, the train video compression device processes the vehicle-mounted data sent by the vehicle-mounted device according to a preset rule, which can specifically be: detecting whether the vehicle-mounted data is abnormal; if the vehicle-mounted data is abnormal, marking the vehicle-mounted data with an abnormality; and sending the marked vehicle-mounted data to the ground platform, so that the ground platform determines the specific abnormal information and position of the abnormal device on the train according to the marked vehicle-mounted data.

[0059] For example, the vehicle data can include train operation status data, train control and signal data, vehicle equipment monitoring data, and safety and fault diagnosis data. The train operation status data can include working parameters of traction motors and braking systems, working parameters of bogies and suspension systems, train speed and position, and the like. The train control and signal data can include parameters of a train automatic control system and communication network data, and the like. The vehicle equipment monitoring data can include power supply system data, door status data, and air conditioning and lighting data, and the like. The safety and fault diagnosis data can include fault alarm and log data, and fire and smoke detection data, and the like.

[0060] For example, the train video compression device determines whether the vehicle data is abnormal by comparing the vehicle data with a corresponding data threshold to determine whether the vehicle data is abnormal. Specifically, the data threshold can be set in advance according to the data of various vehicle data in a normal state. If the vehicle data is greater than or less than the data threshold, it indicates that the vehicle data is abnormal.

[0061] In addition, the train video compression device can also return the processed vehicle data to the vehicle equipment. The ground platform can also return the vehicle data to the train video compression device, and the train video compression device returns the vehicle data to the vehicle equipment.

[0062] Referring to Figure 2 The embodiments of the present application also provide a train video compression device, which is arranged on a train and can 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 with vehicle equipment and video acquisition equipment arranged on the train through a vehicle network, and is connected with the video compression card through a board network. The main control board is also connected with a ground platform through a vehicle-ground backbone network.

[0063] The main control board is configured to receive vehicle data sent by the vehicle equipment and raw video data sent by the video acquisition equipment, process the vehicle data according to a preset rule, and send the raw video data to the CPU.

[0064] The CPU is configured to decode the raw video data, and process the decoded video data according to a preset parameter. The preset parameter can include video resolution, video encoding format, and video frame rate.

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

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

[0067] The main control board is further configured 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.

[0068] In the embodiment of the application, the vehicle-mounted data is processed by the main control board, the original video data is decoded by the CPU, and then the video data is processed according to the preset video resolution, video encoding format and video frame rate, and then the video data processed by the CPU is compressed and encoded by the encoding chip to obtain video data meeting the preset standard. As can be seen, 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 of the video data by the CPU and the encoding chip is relatively balanced, and the processing of the video data is not biased to one side, therefore, the compression efficiency and compression effect of the video data by the encoding chip 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 vehicle-mounted data that is abnormal; and sending the marked vehicle-mounted data to the ground platform, so that the ground platform determines specific abnormal information and a position of the device that is abnormal on the train according to the marked vehicle-mounted data.

[0070] Reference Figure 1 According to related contents of the corresponding embodiments, the vehicle-mounted data can include train operation state data, train control and signal data, vehicle-mounted device monitoring data, safety and fault diagnosis data and the like. The main control board can determine whether the vehicle-mounted data is abnormal by comparing the vehicle-mounted data with a corresponding data threshold to determine whether the vehicle-mounted data is abnormal. Specifically, the main control board can pre-set the data threshold according to the data of various vehicle-mounted data in normal times, and if the vehicle-mounted data is greater than or less than the data threshold, it means that the vehicle-mounted data is abnormal.

[0071] In the embodiment of the application, the vehicle-mounted data can carry identification information related to the position or related to the vehicle-mounted device, and the position of the vehicle-mounted device generating the vehicle-mounted data in the train can be determined according to the identification information. If a certain vehicle-mounted data is abnormal, the identification information related to the position or related to the vehicle-mounted device in the vehicle-mounted data can be extracted to determine the position of the related vehicle-mounted device in the train.

[0072] In addition, the specific abnormal information can 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.

[0073] For example, after receiving the vehicle data, the main control board processes the vehicle data in real time, marks the vehicle data with an abnormality after detecting the abnormality, and sends the vehicle data with the mark to the ground platform at a preset time interval. The preset time interval can be 1 second, 10 seconds, or 1 minute, and can be determined according to actual conditions.

[0074] In some embodiments, the video compression card can further include a memory connected to the CPU and the encoding chip respectively, and the memory is configured 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 the video data in the cache space. 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. 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 the video data in the cache space. 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.

[0076] The CPU and the memory, and the encoding chip and the memory, have different data transmission channels respectively, so that the video data stored in the cache space of the memory can be distinguished as the video data processed by the CPU or the video data compressed by the encoding chip through the data transmission channel. 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 channel, and the video data stored in the cache space can be determined as the video data processed by the CPU or the video data compressed by the encoding chip according to the identifier.

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

[0078] Referring to Figure 3 After receiving the original video data, the CPU decodes the original video data into YUV video data, and processes the YUV video data according to the preset parameters, such as rotating, scaling, or cropping the YUV data according to the video resolution, video encoding format, and video frame rate, to obtain the processed video data. Then, the CPU sends the processed video data to the memory, and the memory sets a first identifier to the processed video data and stores the video data 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 to obtain compressed video data. Then, the encoding chip sends the compressed video data to the memory, and the memory stores the compressed video data in the cache space after setting a second identifier for the compressed video data.

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

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

[0082] Referring to Figure 4 The embodiments of the present application also provide a train video processing method, which is implemented based on the train video compression device, and can include the following steps:

[0083] In step 101, the main control board obtains the on-board data sent by the on-board device and the original video data sent by the video acquisition device, and sends the on-board data processed according to a preset rule to the ground platform.

[0084] For example, the on-board data processed according to the preset rule and sent to the ground platform includes: detecting whether the on-board data is abnormal; if the on-board data is abnormal, marking the abnormal on-board data, and sending the marked on-board data to the ground platform in real time, so that the ground platform determines the specific abnormal information and position of the abnormal device on the train according to the marked on-board data.

[0085] For example, the on-board data can include train running state data, train control and signal data, on-board device monitoring data, and safety and fault diagnosis data. The main control board can determine whether the on-board data is abnormal by comparing the on-board data with a corresponding data threshold. Specifically, the data threshold can be set in advance according to the data of various on-board data in a normal state. If the on-board data is greater than or less than the data threshold, it means that the on-board data is abnormal.

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

[0087] In the embodiment of the present application, the vehicle-mounted data can carry identification information related to the position or the vehicle-mounted device, and the identification information can be used to determine the position of the vehicle-mounted device in the train that generates the vehicle-mounted data. If there is an abnormality in a certain vehicle-mounted data, the identification information related to the position or the vehicle-mounted device in the vehicle-mounted data can be extracted to determine the position of the related vehicle-mounted device in the train.

[0088] In addition, the specific abnormal information can 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.

[0089] For example, after the main control board receives the vehicle-mounted data, it processes the vehicle-mounted data in real time, marks the vehicle-mounted data with an abnormality, and sends the vehicle-mounted data with the mark to the ground platform every preset time. The preset time can be 1 second, 10 seconds, or 1 minute, which can be determined according to the actual situation.

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

[0091] The preset parameters can include video resolution, video encoding format, and video frame rate.

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

[0093] In some embodiments, the CPU decodes the original video data and processes the decoded video data according to the preset parameters, including: decoding the original video data and processing the decoded video data according to the 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 the preset parameters such as video resolution, video encoding format, and video frame rate, it sends the processed 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 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] The CPU and the memory, and the encoding chip and the memory, have different data transmission channels respectively, so that the video data stored in the cache space of the memory can be distinguished as 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 a corresponding identifier according to the data transmission channel, and the video data stored in the cache space can be determined as the video data processed by the CPU or the video data compressed by the encoding chip according to the identifier.

[0096] In step 103, the encoding chip compresses the video data processed by the CPU.

[0097] For example, the encoding chip compresses the video data processed by the CPU, which can 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 encoding chip compresses the video data processed by the CPU, which can include reading the video data carrying the first identifier from the cache space of the memory, and compressing the video data; adding the second identifier to the compressed video data according to the data transmission channel between the encoding chip and the memory, and storing the video data in the cache space of the memory.

[0099] Specifically, the encoding chip reads the video data to be compressed, i.e. 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 the second identifier to the compressed video data according to the data transmission channel between the encoding chip and the memory, and stores the video data 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 correspondingly obtain the compressed video data from the cache space of the memory based on the second identifier and send the video data to the ground platform according to the request of the ground platform.

[0100] In step 104, the main control board sends the video data compressed by the encoding chip to the ground platform in response to the request of the ground platform.

[0101] The request of the ground platform can include a request for real-time video data or a request for video data within a certain time range.

[0102] Exemplarily, the sending, by the compression chip, of the compressed video data to the ground platform includes: obtaining a real-time video request sent by the ground platform, the real-time video request representing a request for obtaining real-time video at a position of a train carriage where abnormal train data exists; and sending the compressed video data corresponding to the abnormal train data to the ground platform; wherein the train equipment and the video collection equipment are both multiple, and a position association relationship is set between each train equipment and each video collection equipment, and the compressed video data corresponding to the abnormal train data is determined based on the position association relationship.

[0103] For example, the ground platform can request the main control board for video data at a position corresponding to abnormal train data, the main control board extracts identification information related to the train equipment from the request, determines the train equipment according to the identification information, determines a target video collection equipment according to the position association relationship between the train equipment and the video collection equipment, determines the compressed video data to be sent according to the target video collection equipment, and sends the compressed video data to the ground platform. After receiving the compressed video data, the ground platform decodes and plays the video in real time, so that the user can understand the video screen at the position corresponding to the abnormal train data.

[0104] In some embodiments, the sending, by the main control board, of the compressed video data to the ground platform in response to the request of the ground platform includes: reading video data carrying a second identification from a cache space of the memory in response to the request of the ground platform, and sending the video data carrying the second identification to the ground platform.

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

[0106] In some embodiments, the train video processing method can further include: receiving, by the main control board, a video file request of the ground platform, the video file request containing a carriage number of the train; and sending, by the main control board, compressed video data corresponding to the carriage number to the ground platform in response to the video file request, so that the ground platform plays a video recording corresponding to the carriage number.

[0107] In some scenarios, the ground platform can request historical video data of a certain location (for example, a certain carriage) from the main control board. The main control board extracts the location information from the request, determines the video acquisition device corresponding to the location information according to the location information, and then sends the historical video data corresponding to the video acquisition device to the ground platform. After the ground platform receives the historical video data, the historical video data is decoded and played in response to a user's playing instruction, so that the user can understand the video picture of the location.

[0108] The train video processing method described above processes the on-board data through the main control board, decodes the original video data through the CPU, and then processes the video data according to the preset video resolution, video encoding format and video frame rate. The video data processed by the CPU is compressed and encoded by the encoding chip to obtain video data meeting the preset standard. As can be seen, the main control board, the CPU and the encoding chip are independent of each other. The main control board is responsible for processing the on-board data, the CPU is responsible for preprocessing the video data, and the encoding chip is responsible for compressing the preprocessed video data. The CPU and the encoding chip relatively balance the processing work of the video data, and the processing work of the video data is not biased to one side. Therefore, the compression efficiency and effect of the encoding chip on the video data are good, and the compression efficiency and effect of the video data can be improved.

[0109] It should be understood that the size of the serial number of each step in the above embodiments does not mean the order of execution. The execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0110] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for some 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 application, and should be included in the protection scope of the present application.

Claims

1. A train video compression device, installed on a train, 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 the onboard equipment and video acquisition equipment installed on the train through an onboard network. The main control board is connected to the video compression card through an onboard network. The main control board is also connected to the ground platform through the vehicle-to-ground backbone network. The main control board is used to receive vehicle data sent by the vehicle-mounted device and raw video data sent by the video acquisition device, process the vehicle data according to preset rules, and send the raw video data to the CPU. The CPU is used to decode the original video data and process the decoded video data according to preset parameters, including video resolution, video encoding format and video frame rate. The encoding chip is used to compress the video data processed by the CPU; The CPU is also used to send the video data compressed by the encoding chip to the main control board; The main control board is also used to send the processed vehicle data to the ground platform, and to send the compressed video data to the ground platform in response to the request of the ground platform. The main control board is specifically used to: detect whether there are any abnormalities in the vehicle data; If the onboard data is abnormal, the abnormal onboard data is marked; the marked onboard data is sent to the ground platform so that the ground platform can determine the specific abnormal information and location of the abnormal equipment on the train based on the marked onboard data. Sending the compressed video data to the ground platform includes: obtaining a real-time video request sent by the ground platform, wherein the real-time video request represents a request to obtain real-time video of the location of the abnormal equipment in the train carriage; sending the compressed video data corresponding to the abnormal onboard data to the ground platform; wherein there are multiple onboard devices and video acquisition devices, and each onboard device and each video acquisition device is associated with a location relationship, and the compressed video data corresponding to the abnormal onboard data is determined based on the location relationship.

2. The train video compression device according to claim 1, characterized in that, The video compression card also includes a memory, which is connected to the CPU and the encoding chip respectively. The memory is used 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 video data carrying a 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 video data carrying a second identifier from the cache space of the memory and sends the video data to the main control board.

3. A train video processing method, characterized in that, Based on the train video compression device as described in any one of claims 1 to 2, the train video processing method includes: The main control board acquires vehicle data sent by the vehicle-mounted equipment and raw video data sent by the video acquisition equipment, processes the vehicle-mounted data according to preset rules, and then sends it to the ground platform. 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 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 from the ground platform and sends the video data compressed by the compression chip to the ground platform.

4. The train video processing method according to claim 3, characterized in that, The step of processing the vehicle-mounted data according to preset rules and then sending it to the ground platform includes: Detect whether there are any abnormalities in the vehicle data; If the onboard data is abnormal, the abnormal onboard data is marked and sent to the ground platform in real time, so that the ground platform can determine the specific abnormal information and location of the abnormal equipment on the train based on the marked onboard data.

5. The train video processing method according to claim 4, characterized in that, The main control board responds to the request from the ground platform by sending the video data compressed by the compression chip to the ground platform, including: Obtain a real-time video request sent by the ground platform, wherein the real-time video request represents a request to obtain real-time video of the location of the abnormal equipment in the train carriage; The compressed video data corresponding to the abnormal vehicle-mounted data is sent to the ground platform. There are multiple vehicle-mounted devices and video acquisition devices. Each vehicle-mounted device and each video acquisition device has a location association relationship. Based on the location association relationship, the compressed video data corresponding to the abnormal vehicle-mounted data is determined.

6. The train video processing method according to claim 3, characterized in that, 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 and storing it in the cache space of the memory according to the data transmission channel between the CPU and the memory; The compression chip compresses the video data processed by the CPU, including: reading video data carrying a 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 by sending compressed video data to the ground platform, including: responding to the request of the ground platform by reading video data carrying a second identifier from the cache space of the memory and sending the video data carrying the second identifier to the ground platform.

7. The train video processing method according to claim 3, characterized in that, The train video processing method also includes: The main control board receives a video recording file request from the ground platform, which contains the train's carriage number; The main control board responds to the video file request by sending 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.

8. The train video processing method according to claim 3, characterized in that, The compression chip compresses the video data processed by the CPU, including: The video data processed by the CPU is encoded into video data that conforms to the H.264 or H.265 standard.

9. A train video processing system, characterized in that, It includes onboard equipment and video acquisition equipment installed on the train, as well as a ground platform and a train video compression device as described in any one of claims 1 to 2; The train video compression device is connected to the on-board equipment and the video acquisition device through the on-board network, and the train video compression device is connected to the ground platform through the vehicle-to-ground backbone network; The train video compression device is used to process the onboard data sent by the onboard equipment according to preset rules, compress the video data sent by the video acquisition device, send the processed onboard 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

  • On -vehicle communication integrated system and vehicle

    CN208768306U