Audio and image data compression transmission method, device and medium based on single Beidou
By compressed the transmission method based on single Beidou -based audio and image data, data analysis and sharing were used to use the single Beidou multi -network fusion system to solve the problems that cannot be compatible with different network communication devices and cannot be shared by data. Improve transmission stability and resource utilization.
Patent Information
- Application Number
- CN202411516297.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2044-10-29
AI Technical Summary
In the prior art, various network communication devices are not compatible, resulting in the problem that data cannot be shared.
Adopt a single Beidou -based audio and image data compression transmission method, obtain monitoring data through the Beidou subsystem and classify and compress, use the single Beidou multi -network fusion system to perform data analysis, format conversion, and sharing Data interaction and transmission.
The data fusion and sharing of different network communication devices have been realized, and the problems of independent use and data in the existing technologies are solved, and the stability and resource utilization rate of data transmission cannot be shared.
Smart Images

Figure CN119030595B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to data transmission, and in particular to a method, device and medium for audio and image data compression transmission based on a single Beidou. Background Art
[0002] There are many communication methods at present. For example, they can be divided into broadband communication and narrowband communication based on communication bandwidth. Broadband communication includes 4G / 5G, Mesh ad hoc network, LTE ad hoc network, KU / KA wideband satellite, etc., and narrowband communication includes DMR, PDT, TETRA, LoRa, S / L band narrowband satellite, etc. Different communication methods have corresponding communication equipment terminals. These communication equipment terminals can be used in various industries such as emergency communication, forest fire fighting, and traffic monitoring. However, due to the different communication protocols or communication methods of each communication equipment terminal, each network communication device can only be used independently, resulting in the need to open multiple platforms to manage different devices in actual application. Data between different types of devices cannot communicate with each other. When performing tasks, different tasks are difficult to be effectively scheduled and data cannot be shared. Summary of the invention
[0003] In order to overcome the shortcomings of the prior art, one of the objects of the present invention is to provide an audio and image data compression and transmission method based on a single Beidou, which can solve the problem in the prior art that various network communication devices are incompatible and cannot be used, resulting in data being unable to be shared.
[0004] The second purpose of the present invention is to provide an audio and image data compression and transmission device based on a single Beidou, which can solve the problem in the prior art that various network communication devices are incompatible and cannot be used, resulting in the inability to share data.
[0005] The third object of the present invention is to provide a computer-readable storage medium, which can solve the problem in the prior art that various network communication devices are not compatible with each other, resulting in the inability to share data.
[0006] One of the purposes of the present invention is achieved by the following technical solution:
[0007] An audio and image data compression and transmission method based on a single Beidou, the audio and image data compression and transmission method comprising:
[0008] Beidou data transmission step: obtaining Beidou monitoring data of a second field-end device of the Beidou subsystem through the Beidou subsystem, classifying the Beidou monitoring data to obtain first Beidou monitoring data and second Beidou monitoring data, and compressing the second Beidou monitoring data according to a corresponding preset compression algorithm, and forwarding the first Beidou monitoring data and the compressed second Beidou monitoring data to a single Beidou multi-network fusion system at a command center end; the first Beidou monitoring data includes audio data and / or image data;
[0009] Beidou data fusion step: the single Beidou multi-network fusion system at the command center side analyzes the received first Beidou monitoring data and the second Beidou monitoring data, converts the data into corresponding formats, and then shares the data with the corresponding field-end devices of the broadband subsystem and / or the intercom subsystem;
[0010] Tiantong data transmission step: obtaining voice data of the first field-end device of the Tiantong subsystem through the Tiantong subsystem and transmitting the voice data to the single Beidou multi-network fusion system at the command center end through the serial port, so that the single Beidou multi-network fusion system at the command center end converts the voice data into an RTP audio stream and forwards the RTP audio stream to the intercom subsystem through the network port, and then forwards it to the fifth field-end device of the intercom subsystem;
[0011] Intercom data transmission step: obtaining the intercom data of the fifth field-end device of the intercom subsystem through the intercom subsystem, and converting the intercom data into corresponding voice data according to the SIP protocol and forwarding it to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end forwards the corresponding voice data to the single Beidou multi-network fusion system at the command bureau end, compresses the corresponding voice data according to a preset compression algorithm and then forwards it to the second field-end device of the Beidou subsystem through the Beidou subsystem, and forwards the corresponding voice data to the first field-end device of the Tiantong subsystem through the Tiantong subsystem;
[0012] Broadband data transmission steps: obtain the control signal of the single Beidou multi-network fusion system at the command station end through the broadband subsystem and forward the control signal to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end can send corresponding data or instructions to the field equipment of the corresponding subsystem.
[0013] Furthermore, when the second Beidou monitoring data also includes video data, the video data is first converted into corresponding image data and / or audio data according to a preset rule, and then the corresponding image data and / or audio data are compressed using a preset compression algorithm; wherein the conversion of the video data into corresponding image data and / or audio data according to the preset rule specifically includes: a judgment step: obtaining the video data and judging whether the video data has audio and video, if so, executing the audio separation step; if not, executing the image conversion step;
[0014] Audio separation step: separating the audio stream in the video data to obtain corresponding audio data, and compressing the corresponding audio data according to a corresponding preset compression algorithm;
[0015] Image conversion step: converting the video data into a plurality of image data according to a preset rule, and then compressing the plurality of image data according to a corresponding preset compression algorithm;
[0016] The method of converting video data into a plurality of image data according to preset rules specifically includes: first, sequentially extracting a frame of image from the video data according to a preset interval time as the current frame image; then performing similarity matching between the current frame image and the previous frame image and judging whether the current frame image is consistent with the previous frame image according to the matching result; if so, recording the current frame image as a key frame image and sequentially numbering it, and then continuing to take the next frame image; if not, discarding the current frame image and continuing to take the next frame image; until all key frame images corresponding to the video data are obtained after the video data is processed, that is, multiple image data corresponding to the video image.
[0017] Further, forwarding the first Beidou monitoring data and the compressed second Beidou monitoring data to the single Beidou multi-network fusion system at the command center end specifically includes: generating a Beidou short message according to the first Beidou monitoring data and the compressed second Beidou monitoring data, and forwarding it to the Beidou data transmission terminal of the Beidou subsystem through the Beidou satellite of the Beidou subsystem, and then forwarding it to the single Beidou multi-network fusion system at the command center end through the Beidou data transmission terminal;
[0018] The method of parsing the received first Beidou monitoring data and second Beidou monitoring data by the single Beidou multi-network fusion system at the command center end specifically includes: firstly, parsing the Beidou short message forwarded by the Beidou subsystem at the command center end to obtain the first Beidou monitoring data and the compressed second Beidou monitoring data; then decompressing the compressed second Beidou monitoring data according to a preset decompression algorithm;
[0019] When the format of the audio data obtained by decompression is PCM format, the audio data in PCM format is converted into audio data in MP3 format by the single Beidou multi-network fusion system at the command center end, and then shared with the corresponding field-end device through the corresponding subsystem; when the format of the image data obtained by decompression is BMP format, the image data in BMP format is converted into image data in JPG format by the single Beidou multi-network fusion system at the command center end, and then shared with the corresponding field-end device through the corresponding subsystem; the broadband subsystem includes a KU / KA subsystem, a public network subsystem and an ad hoc network subsystem;
[0020] When the type of image data and / or audio data obtained by decompression is a preset type, the image data and / or audio data belonging to the same video data, the numbers of several image data and the duration of the audio data are obtained through the single Beidou multi-network fusion system at the command center to generate corresponding video data, perform corresponding format conversion, and then share it with the corresponding on-site device through the corresponding subsystem; wherein, the preset type means that the corresponding image data and / or audio data are converted based on the video data.
[0021] Further, the preset compression algorithm includes a preset audio compression algorithm and a preset image compression algorithm; wherein, compressing the second Beidou monitoring data according to the corresponding preset compression algorithm specifically includes: compressing the audio data according to the preset audio compression algorithm and compressing the image data according to the preset image compression algorithm;
[0022] The preset audio compression algorithm includes: first initializing the encoder to obtain a compression bit rate, then obtaining an original audio file and decomposing and filtering the original audio file into multiple frames to obtain multiple frame audio streams, then performing discrete Fourier transform and MDCT transform on each frame audio stream, and quantizing each converted frame audio stream and then using Huffman coding compression and side information coding to obtain compressed audio data;
[0023] The preset image compression algorithm includes: firstly obtaining the file format of the original image data and determining whether the file format of the original image data is JPG; if not, converting the file format of the original image data into JPG format; then performing color conversion on the image data file in JPG format, performing discrete cosine transform on the image data file after color conversion, and quantizing the transformed image data file according to a brightness quantization value table and a chromaticity quantization value table, and finally performing entropy encoding on the quantized image data file using Huffman coding to obtain compressed image data.
[0024] Furthermore, in the intercom data transmission step, when the single Beidou multi-network fusion system at the command center end receives the corresponding voice data, it also performs voice recognition on the corresponding voice data to obtain text information of the corresponding voice data, and generates multiple versions of voice data of the language type according to the text information and the preset language type, and then forwards the multiple versions of the voice data of the language type to the single Beidou multi-network fusion system at the command station end, compresses the data according to a preset compression algorithm, and then forwards it to the second field end device of the Beidou subsystem through the Beidou subsystem and forwards it to the first field end device of the Tiantong subsystem through the Tiantong subsystem.
[0025] Further, the broadband data transmission step specifically includes: obtaining the control signal of the single Beidou multi-network fusion system at the command bureau end through the KU / KA subsystem and forwarding the control signal to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end sends corresponding data or instructions to the fourth field-end device of the public network subsystem through the public network subsystem, and sends corresponding data or instructions to the third field-end device of the self-organizing network subsystem through the self-organizing network subsystem;
[0026] Obtain the mobile network monitoring data of the third field-end device through the public network subsystem and forward it to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end shares the mobile network monitoring data with the corresponding field-end device through the corresponding subsystem;
[0027] In addition, the self-organizing network monitoring data of the fourth field-end device is obtained through the self-organizing network subsystem and the self-organizing network monitoring data is forwarded to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end is shared with the corresponding field-end device through the corresponding subsystem; the self-organizing network monitoring data includes SIP video stream, location data and / or voice data.
[0028] Further, the Beidou subsystem includes a second field end device, a Beidou satellite and a Beidou data transmission terminal, the second field end device is connected to the Beidou data transmission terminal through the Beidou satellite, and the Beidou data transmission terminal is connected to the single Beidou multi-network fusion system of the command center; wherein the second field end device includes a Beidou walkie-talkie, a Beidou fire helmet, a Beidou vehicle terminal, a Beidou tracking box, a Beidou Bluetooth box and a Beidou handheld device;
[0029] The Tiantong subsystem includes a first field terminal device, a Tiantong satellite and a Tiantong landline, wherein the first field terminal device is connected to the Tiantong landline through the Tiantong satellite, and the Tiantong landline is connected to the single Beidou multi-network fusion system of the command center through a serial port; wherein the first field terminal device includes a Tiantong satellite phone and a Tiantong satellite mobile phone;
[0030] The public network subsystem includes a third-party on-site device, a public network gateway and a public network base station; the third-party on-site device is connected to the public network base station through the public network gateway, and the public network base station is connected to the single Beidou multi-network fusion system of the command center; the third-party on-site device includes a law enforcement recorder, a three-network mobile phone, a smart bracelet and a three-proof tablet;
[0031] The self-organizing network subsystem includes a fourth field-end device, a center-end self-organizing network device and a field-end self-organizing network device. The fourth field-end device is connected to the center-end self-organizing network device through the field-end self-organizing network device, and the center-end self-organizing network communication device is connected to the single Beidou multi-network fusion system of the command center end; wherein the fourth field-end device includes a control ball and a video helmet;
[0032] The intercom subsystem includes a fifth field terminal device and a fusion intercom gateway, and the fifth field terminal device is connected to the single Beidou multi-network fusion system of the command end through the fusion intercom gateway; wherein the fifth field terminal device includes a PDT / DMR intercom;
[0033] The KU / KA subsystem includes a KU satellite tablet terminal and a broadband satellite. The single Beidou multi-network fusion system at the command center is connected to the broadband satellite communication through the KU satellite tablet terminal, and then connected to the single Beidou multi-network fusion system at the command station.
[0034] The second object of the present invention is achieved by adopting the following technical solution:
[0035] The audio and image data compression and transmission device based on single Beidou includes:
[0036] A Beidou data transmission module is used to obtain Beidou monitoring data of the second field-end device through the Beidou subsystem, classify the Beidou monitoring data to obtain first Beidou monitoring data and second Beidou monitoring data, compress the second Beidou monitoring data according to a corresponding preset compression algorithm, and forward the first Beidou monitoring data and the compressed second Beidou monitoring data to the single Beidou multi-network fusion system at the command center end; the first Beidou monitoring data includes audio data and / or image data;
[0037] A Beidou data fusion module is used to parse the received first Beidou monitoring data and the second Beidou monitoring data through the single Beidou multi-network fusion system of the command center, convert the received data into corresponding formats, and then share the data with the corresponding field devices of the broadband subsystem and / or the intercom subsystem;
[0038] Tiantong data transmission module, used for acquiring voice data of the first field-end device through the Tiantong subsystem and transmitting the voice data to the single Beidou multi-network fusion system at the command center end through the serial port, so that the single Beidou multi-network fusion system at the command center end converts the voice data into an RTP audio stream and forwards the RTP audio stream to the intercom subsystem through the network port, and then forwards it to the fifth field-end device of the intercom subsystem;
[0039] An intercom data transmission module is used to obtain the intercom data of the fifth field-end device through the intercom subsystem, and convert the intercom data into corresponding voice data according to the SIP protocol and forward it to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end forwards the corresponding voice data to the single Beidou multi-network fusion system at the command bureau end, compresses the corresponding voice data according to a preset compression algorithm and then forwards it to the second field-end device through the Beidou subsystem, and forwards the corresponding voice data to the first field-end device through the Tiantong subsystem;
[0040] The broadband data transmission module is used to obtain the control signal of the single Beidou multi-network fusion system at the command station end through the broadband subsystem and forward the control signal to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end can send corresponding data or instructions to the field-end equipment of the corresponding subsystem.
[0041] Furthermore, when the second Beidou monitoring data also includes video data, the Beidou data transmission module is further used to convert the video data into corresponding image data and / or audio data according to a preset rule, and then compress the corresponding image data and / or audio data using a preset compression algorithm; wherein, the conversion of the video data into corresponding image data and / or audio data according to the preset rule specifically includes: a judgment step: obtaining the video data and judging whether the video data has audio and video, if so, executing the audio separation step; if not, executing the image conversion step;
[0042] Audio separation step: separating the audio stream in the video data to obtain corresponding audio data, and compressing the corresponding audio data according to a corresponding preset compression algorithm;
[0043] Image conversion step: converting the video data into a plurality of image data according to a preset rule, and then compressing the plurality of image data according to a corresponding preset compression algorithm;
[0044] The method of converting video data into a plurality of image data according to preset rules specifically includes: first, sequentially extracting a frame of image from the video data according to a preset interval time as the current frame image; then performing similarity matching between the current frame image and the previous frame image and judging whether the current frame image is consistent with the previous frame image according to the matching result; if so, recording the current frame image as a key frame image and sequentially numbering it, and then continuing to take the next frame image; if not, discarding the current frame image and continuing to take the next frame image; until all key frame images corresponding to the video data are obtained after the video data is processed, that is, multiple image data corresponding to the video image.
[0045] The third object of the present invention is achieved by adopting the following technical solution:
[0046] A computer-readable storage medium stores an audio and image data compression and transmission program, which is a computer program. When the audio and image data compression and transmission program is executed by a processor, the steps of the audio and image data compression and transmission method based on a single Beidou as one of the purposes of the present invention are implemented.
[0047] Compared with the prior art, the present invention has the following beneficial effects:
[0048] The present invention adopts a single Beidou multi-network fusion system as the intermediary for data transmission between the broadband network and the narrowband network to realize data interaction and data transmission among the Beidou subsystem, Tiantong subsystem, intercom subsystem and broadband subsystem, thereby integrating and sharing the device data of the broadband network and the device data of the narrowband network, solving the problem in the prior art that different network communication devices can only be used independently and data cannot be shared. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A flow chart of the audio and image data compression and transmission method based on single Beidou provided by the present invention;
[0050] Figure 2 One of the module diagrams of the audio and image data compression and transmission system based on single Beidou provided by the present invention;
[0051] Figure 3 for Figure 2 Figure 2 of the module diagram of the audio and image data compression transmission system based on single Beidou;
[0052] Figure 4 This is a flow chart of the method for extracting video data from image data provided by the present invention. DETAILED DESCRIPTION
[0053] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.
[0054] Embodiment 1
[0055] The present invention provides a single Beidou-based audio and image data compression and transmission method, which can realize data collection through a Beidou terminal device with a Beidou communication module, and access to Tiantong satellites, intercom equipment, broadband networks, etc. to realize unified management and data fusion of different network communication devices. At the same time, by compressing and encapsulating the collected audio and image data, data sharing between different network communication devices is realized, and each port is effectively scheduled through a multi-node matching strategy. At the same time, the original independent systems are not damaged, the structure of the original independent system is not changed, and the security of the original system is not affected.
[0056] Specifically, Figure 1 As shown, the present invention provides a preferred embodiment, based on a single Beidou multi-network fusion audio and image compression transmission method, comprising:
[0057] Step S1: Acquire Beidou monitoring data of a second field terminal device of the Beidou subsystem through the Beidou subsystem, and classify the Beidou monitoring data to obtain first Beidou monitoring data and second Beidou monitoring data.
[0058] The first Beidou monitoring data is text data, and the second Beidou monitoring data is non-text data, generally including audio data and / or image data. In this embodiment, the Beidou monitoring data is distinguished between text data and non-text data, so as to reduce the resource consumption of data transmission after compressing the non-text data, and at the same time improve the stability of data transmission.
[0059] Step S2: compress the second Beidou monitoring data according to a preset compression algorithm through the Beidou subsystem, and forward the first Beidou monitoring data and the compressed second Beidou monitoring data to the single Beidou multi-network fusion system at the command center.
[0060] The single Beidou-based audio and image data compression and transmission method disclosed in this embodiment is applied to a single Beidou-based audio and image data compression and transmission system, such as Figure 2As shown, the system includes a single Beidou multi-network fusion system at the command center end as the main control center and six subsystems. Specifically, the six subsystems are: Beidou subsystem, Tiantong subsystem, intercom subsystem, KU / KA subsystem, public network subsystem and self-organizing network subsystem. Among them, the KU / KA subsystem, the public network subsystem, and the self-organizing network subsystem all adopt broadband satellite communication, and the field-end devices connected thereto are all network communication devices of broadband satellites; the Beidou subsystem, the Tiantong subsystem, and the intercom subsystem are narrowband satellite communications, which are Beidou satellites, Tiantong satellites, and intercom fusion gateways, respectively, and the field-end devices connected thereto are all network communication devices of narrowband satellites. The present invention realizes data transmission and data fusion of the terminal equipment of broadband satellites and the terminal equipment of narrowband satellites by setting a single Beidou multi-network fusion system at the command center end, so as to solve the problem of incompatibility and sharing of data between terminal equipment of different network communications in the prior art.
[0061] Furthermore, the Beidou subsystem includes a second field terminal device, a Beidou satellite and a Beidou data transmission terminal. Among them, the second field terminal device is connected to the single Beidou multi-network fusion system at the command center end through the Beidou satellite and the Beidou data transmission terminal to realize data transmission between the second field terminal device and the single Beidou multi-network fusion system at the command center end. Specifically, the second field terminal device is a Beidou terminal device with a Beidou communication module, which can realize the collection and processing of field monitoring data, and then upload the Beidou monitoring data to the Beidou satellite through the Beidou communication module, and then forward it to the single Beidou multi-network fusion system at the command center end through the Beidou data transmission terminal. Specifically, the second field terminal device may include: Beidou walkie-talkie, Beidou fire helmet, Beidou vehicle-mounted terminal, Beidou tracking box, Beidou Bluetooth box and Beidou handheld terminal and other terminal devices. That is, the present invention can be applied to the monitoring of personnel and vehicles in the wild, as well as the monitoring of the wild environment, etc. These Beidou terminal devices can realize the collection of monitoring data such as positioning, video monitoring, voice monitoring, audio monitoring and image monitoring, and then forward them to the single Beidou multi-network fusion system at the command center end through the Beidou satellite and Beidou data transmission terminal of the Beidou subsystem, and then the single Beidou multi-network fusion system will process, fuse and share the data with other subsystems.
[0062] Furthermore, since the monitoring data acquired by the second field terminal device may include audio data, video data, image data and text data, for different types of data, when it is transmitted through the Beidou satellite, this embodiment also adopts different transmission modes to adapt to different network environments and bandwidth limitations to avoid waste of resources.
[0063] Specifically, for text data, since its data volume is small, this embodiment does not perform any processing, and directly transmits the text data to the single Beidou multi-network fusion system at the command center end. On the contrary, for non-text data, since its data volume is large, it is easy to cause data loss or waste of resources during the transmission process. Therefore, this embodiment uses a preset compression algorithm to compress non-text data to package the compressed data to adapt to the different network environments and bandwidth limitations of the multi-network fusion system. At the same time, it can also save data transmission resources, reduce transmission delay and energy consumption, and has good practicality and promotion value. Specifically, the first Beidou monitoring data in this embodiment is text data, such as positioning data, etc., and the second Beidou monitoring data is non-text data, such as image data captured by a camera, audio data recorded by a recording device or a microphone, etc. When the second Beidou monitoring data is audio data, the audio data is compressed using a preset audio compression algorithm; similarly, when the Beidou monitoring data is image data, the image data is compressed using a preset image compression algorithm.
[0064] In addition, Beidou monitoring data may also include video data. Therefore, when Beidou monitoring data is video data, the video data is first converted into image data and / or audio data, and then the image data and audio data are compressed and processed respectively. Specifically, for video data, first determine whether the video data is audio video data. If so, first separate the audio data from the video data, and then convert the image data for the separated video data, and finally use the corresponding compression algorithm to compress the audio data and / or image data respectively. At the same time, in order to distinguish whether the image data and / or audio data is original data or separated from video data, corresponding identifiers can also be set during compression to distinguish the data types of image data and audio data.
[0065] Further, the preset compression algorithm specifically includes a preset audio compression algorithm and a preset image compression algorithm. Among them, the preset audio compression algorithm specifically includes: firstly initializing the encoder to obtain the compression bit rate. For example, by initializing the encoder, the compression bit rate can be: 250bps, 450bps, 700bps, 1200bps, 2400bps. Specifically, by obtaining the original audio file PCM, and passing it in frame by frame at 320B / frame.
[0066] Then, the original audio file is obtained and the original audio file is decomposed into multiple frames and filtered to obtain a multiple frame audio stream. The original audio file PCM is decomposed into multiple frames and then filtered.
[0067] Then, MDCT conversion is performed on each frame audio stream, and each converted frame audio stream is quantized and then compressed using Huffman coding and side information coding to obtain compressed audio data. Among them, MDCT is converted to modified discrete cosine transform, which is a linear orthogonal overlapped transform. It uses a time domain aliasing cancellation technology (TDAC) containing a 50% time domain overlap window to effectively overcome the edge effect in the windowing (DCT) block processing operation without reducing the coding performance, thereby effectively removing the periodic noise generated by the edge effect. Under the same coding rate, MDCT performs better than DCT and is widely used in transform coding of speech, broadband audio and image signals. MDCT itself has a huge amount of calculation. For real-time coding and decoding systems, the direct calculation complexity is difficult to accept. Its fast algorithms are based on FFT and DCT.
[0068] Similarly, the preset image compression algorithm is used to compress image data. Specifically, it includes: first obtaining the file format of the original image data and determining whether the file format of the original image data is JPG; if not, converting the file format of the original image data to JPG format. That is, for image data whose file format is not JPG, convert it to JPG format first, and then proceed to the next step of processing.
[0069] Then, the image data file in JPG format is color converted, and the image data file after color conversion is discrete cosine transformed, and the transformed image data file is quantized according to the brightness quantization value table and the chromaticity quantization value table, and finally the quantized image data file is entropy encoded using Huffman coding to obtain compressed image data. Among them, color conversion refers to converting the relationship in the RGB color data used for screen display into the YCbCr data used in JPG, where Y is the brightness of the color and CbCr is the hue. Specifically, the color conversion formula can be as follows:
[0070] Y=0.2999R+0.5870G+0.1140B;
[0071] Cb=-0.1687R-0.3313G+0.500B+128;
[0072] Cr=0.5000R-0.4187G-0.0813B+128.
[0073] In addition, in the sampling part, it is also necessary to consider that the human eye is sensitive to changes in image brightness but insensitive to changes in color. Therefore, only part of the data reflecting the hue information of color changes is taken for processing.
[0074] Specifically, the discrete cosine transform (DCT) realizes the conversion of a set of light intensities into frequency data. During compression, the source image data is divided into a set of image blocks consisting of 8*8 pixels. Each sample value is converted from 0~255 to -128~+127 after zero bias, and then DCT processing is performed. DCT converts the value of each data unit into 64 DCT coefficients Svn, of which S00 is called the DC coefficient and the remaining 63 coefficients are called AC coefficients. Decompression is the reverse process of the forward conversion. Specifically, DCT is implemented by the following two formulas:
[0075] ;
[0076] .
[0077] Among them, when hour, ;when hour, .
[0078] After the above discrete cosine transform, the more important information in the image can be placed in the upper left corner of the F matrix, and the elements in the lower right corner can be as close to 0 as possible. This makes it easier to get more 0s in the F matrix in subsequent operations, thereby achieving the purpose of significant compression.
[0079] Image quantization is an important process to choose between image file quality and compression ratio, and this is also the lossy compression method of JPG. After the quantized data is entropy encoded using Huffman with the highest average compression ratio, the compressed image data can be obtained. In addition, the color conversion, image quantization, Huffman, discrete cosine transform and other technical means mentioned above are well-known technologies in the field and will not be introduced in detail in this article.
[0080] More preferably, when the Beidou monitoring data is video data, the video data is first converted into corresponding image data and / or audio data according to a preset rule, and then the corresponding image data and / or audio data are compressed using a preset compression algorithm. Wherein, converting the video data into image data and / or audio data according to the preset rule specifically includes: first determining whether the video data is a video with sound, and if so, separating the audio stream in the video data to obtain the corresponding audio data; if not, converting the video data into a plurality of image data according to the preset rule.
[0081] Furthermore, when the video data is converted into image data according to a preset rule, specifically as follows Figure 3 As shown, including:
[0082] Step S21, sequentially extract a frame of image from the video data according to a preset interval time as the current frame image. Specifically, for example, a frame of image is extracted every N seconds as the current frame image. Since this embodiment is often used for monitoring of outdoor personnel, animals, etc., under normal circumstances, for the acquired video monitoring data, in many cases the picture in the video data is in an unchanged state, for example, when a person or animal is monitored, a dynamic picture will appear, etc. Therefore, this embodiment proposes a new image conversion method, that is, each frame of image is sequentially extracted according to a preset interval time, and then the current frame image is judged to be a key frame image according to the similarity between the adjacent frame images, so as to judge whether to retain it.
[0083] Step S22, perform similarity matching between the current frame image and the previous frame image and determine whether the current frame image is consistent with the previous frame image based on the matching result. If so, execute step S23; if not, execute step S24.
[0084] Step S23, record the current frame image as a key frame image and number it sequentially, then continue to take the next frame image, and then execute step S22. By sequentially numbering the key frame images, multiple key frame images can be synthesized into video data after subsequent decompression.
[0085] Step S24: discard the current frame image, continue to take the next frame image, and then execute step S22.
[0086] After the video data is processed, all key frame images corresponding to the video data are obtained, that is, image data corresponding to the video data.
[0087] When all key frame images of the video data are obtained, the video data can be further compressed according to the preset image compression algorithm to obtain a compressed image. In addition, in order to distinguish whether the compressed image belongs to the original image or the key frame image of the video data, an identifier is added during compression to distinguish.
[0088] Through the image compression algorithm provided by the present invention, the original image data can be compressed into a smaller picture. For example, an image with an original size of 1.09M can be compressed into a 31.6kB picture, which greatly reduces the size of the image data, effectively compresses voice and image data, and reduces the transmission bandwidth requirement.
[0089] Step S3: The single Beidou multi-network fusion system at the command center converts the received Beidou monitoring data into the corresponding format and shares it with the broadband subsystem and the intercom subsystem through the broadband network, and then forwards it to the corresponding field-end device of the broadband subsystem and to the fifth field-end device of the intercom subsystem.
[0090] That is, when the single Beidou multi-network fusion system at the command center receives the monitoring data, it also forwards the data to the corresponding subsystem according to the configuration of each subsystem. For example, after format conversion, the data is shared with the broadband subsystem and the intercom subsystem, and then shared with the corresponding on-site equipment. Among them, the broadband subsystem includes the public network subsystem and the self-organizing network subsystem.
[0091] The public network subsystem includes the third-party field equipment, which is connected to the single Beidou multi-network fusion system of the command center. The command center will synchronously share data with the third-party field equipment of the public network subsystem.
[0092] The self-organizing network subsystem includes a fourth field terminal device, which is connected to the single Beidou multi-network fusion system of the command center. The command center will synchronously share data with the fourth field terminal device of the self-organizing network subsystem.
[0093] In addition, when the second field-end device of the Beidou subsystem uploads the compressed second Beidou monitoring data and the first Beidou monitoring data to the Beidou satellite, it also generates a Beidou short message and sends it to the Beidou satellite, and then sends it to the single Beidou multi-network fusion system through the Beidou data transmission terminal. In this way, when the single Beidou multi-network fusion system at the command center receives the Beidou short message, the Beidou short message is first parsed to obtain the compressed second Beidou monitoring data and the first Beidou monitoring data, and then the compressed second Beidou monitoring data is decompressed using a preset decompression algorithm to obtain the original second Beidou monitoring data. Specifically, when the second Beidou monitoring data is audio data, a preset audio decompression algorithm is used. When the second Beidou monitoring data is image data, a preset image decompression algorithm is used. When the second Beidou monitoring data is video data, the image data and / or audio data are first decompressed to obtain the video data, and then the image data and / or audio data are synthesized to obtain the video data.
[0094] Specifically, the decompression process is a process of restoring the compression process in one direction. Similarly, based on the implementation process of the preset audio compression algorithm, the corresponding audio decompression algorithm includes: first, initialize the decoder to select the bit rate. The bit rate selected here needs to be consistent with the compression bit rate, otherwise the sound content will be incorrect. Then, the compressed audio data obtained through channel transmission is subjected to multi-channel frame decomposition filtering, and then the side information is decoded and then Huffman decoded. Finally, after inverse quantization and inverse MDCT conversion, the multi-channel frames are synthesized and filtered to obtain the original audio file.
[0095] Similarly, based on the preset image compression algorithm, the preset image decompression algorithm can be obtained as follows: first decode the coefficients of the compressed file JP2, then dequantize it, and then perform IDCT conversion on the obtained data, and then re-stitch and output the JPG format image after conversion. When the required image format is BMP, convert the JPG image to BMP.
[0096] Furthermore, when the single Beidou multi-network fusion system at the command center decompresses the second Beidou monitoring data, it also performs appropriate format conversion according to the configuration of the subsystem that needs to be shared. For example, the single Beidou multi-network fusion system at the command center also converts the audio data in PCM format into audio data in MP3 format and shares it to the corresponding field-end device through the broadband subsystem; and converts the image data in BMP format into image data in JPG format and shares it with the corresponding field-end device.
[0097] Preferably, the broadband subsystem also includes a KU / KA subsystem. Specifically, the KU / KA subsystem is communicatively connected with the single Beidou multi-network fusion system at the command center end and the single Beidou multi-network fusion system at the command bureau end, and data interaction between the command center end and the command bureau end can be realized through the KU / KA subsystem. The single Beidou multi-network fusion system at the command bureau end refers to a local control end located at the field end. In actual use, it is often necessary to set up a temporary control and command center at the field end for on-site scheduling. The single Beidou multi-network fusion system at the central end refers to a central control end located at a remote data control center to realize unified scheduling of all systems of the entire system. That is, this embodiment realizes data interaction between the central end and the command bureau end through the KU / KA subsystem, thereby realizing data sharing.
[0098] Step S4: Acquire the voice data of the first field-end device of the Tiantong subsystem through the Tiantong subsystem and transmit the voice data to the single Beidou multi-network fusion system at the command center end through the serial port, so that the single Beidou multi-network fusion system at the command center end converts the voice data into an RTP audio stream, and forwards the RTP audio stream to the intercom subsystem through the network port, and then forwards it to the fifth field-end device of the intercom subsystem.
[0099] The Tiantong subsystem includes the first field terminal equipment, Tiantong satellite and Tiantong landline. The first field terminal equipment is connected to the Tiantong landline through the Tiantong satellite, and the Tiantong landline is connected to the single Beidou multi-network fusion system at the command center through the serial port. Specifically, the first field terminal equipment includes the Tiantong satellite phone and the Tiantong satellite mobile phone.
[0100] The intercom subsystem includes a fifth field terminal device and an intercom fusion gateway. The fifth field terminal device is an intercom device, such as a PDT / DMR intercom and other intercoms.
[0101] That is, the voice data of the satellite phone is received by the Tiantong subsystem, and after format conversion, it is forwarded to the intercom subsystem, and then forwarded to the intercom, realizing intercom from the satellite phone to the intercom, and solving the data communication between the satellite phone and the intercom belonging to different network devices.
[0102] Step S5, obtain the intercom data of the fifth field-end device of the intercom subsystem through the intercom subsystem, and convert the intercom data into voice data according to the SIP protocol and forward it to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end forwards the voice data to the single Beidou multi-network fusion system at the command bureau end, compresses the voice data according to a preset compression algorithm and forwards it to the second field-end device of the Beidou subsystem through the Beidou subsystem, and forwards the voice data to the first field-end device of the Tiantong subsystem through the Tiantong subsystem.
[0103] Similarly, through the intercom subsystem, the voice data of the intercom can be converted and sent to the Tiantong subsystem, and then forwarded to the first on-site terminal device, that is, a satellite phone or satellite mobile phone, to realize the intercom or call function.
[0104] The single Beidou multi-network fusion system at the command center can also compress the voice data through a preset voice compression algorithm and forward it to the second field-end device of the Beidou subsystem to realize the intercom function of the intercom to the Beidou terminal device. For example, when it is necessary to shout at the scene, the staff in the background speaks through the intercom, the intercom subsystem will obtain the voice data, and the single Beidou multi-network fusion system will compress the voice data and forward it to the second field-end device of the Beidou subsystem for playback to realize the on-site shouting. On the contrary, when someone needs help, the audio data can be sent through the second field-end device, and the single Beidou multi-network fusion system will convert the audio data into the corresponding audio stream and forward it to the corresponding intercom through the intercom subsystem to realize the intercom help function. The communication equipment as the Beidou terminal equipment and the communication equipment as the intercom function do not need to use other additional equipment, and only need to realize data communication and data sharing through the single Beidou multi-network fusion system.
[0105] Furthermore, when the single Beidou multi-network fusion system at the command center receives the corresponding voice data: the single Beidou multi-network fusion system at the command center performs voice recognition on the corresponding voice data to obtain text information of the corresponding voice data, and generates multiple versions of voice data of the language type according to the text information and the preset language type, and then forwards the multiple versions of the voice data of the language type to the single Beidou multi-network fusion system at the command station, compresses according to the preset compression algorithm, and then forwards it to the second field end device of the Beidou subsystem and to the first field end device of the Tiantong subsystem. This embodiment also sets the language version of the voice data to cope with intercoms in different languages, such as English, local dialects, and Mandarin. By setting multiple different language versions, restrictions on the personnel and regions using the field end devices can be avoided, and barrier-free intercoms can be achieved.
[0106] Preferably, the single Beidou multi-network fusion system at the command center end can also forward the acquired voice data to the single Beidou multi-network fusion system at the command bureau end, realize data communication from the center end to the command bureau end, and realize the issuance of data, instructions, etc.
[0107] Step S6: obtain the control instructions of the single Beidou multi-network fusion system at the command bureau end through the broadband subsystem and forward it to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end sends corresponding data to the corresponding field-end equipment.
[0108] More specifically, step S6 also includes: obtaining the control signal of the single Beidou multi-network fusion system at the command bureau end through the KU / KA subsystem and forwarding the control signal to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end sends corresponding data or instructions to the fourth field-end device of the public network subsystem and sends corresponding data or instructions to the third field-end device of the self-organizing network subsystem.
[0109] Among them, the KU / KA subsystem includes the KU satellite tablet terminal and the broadband satellite. The single Beidou multi-network fusion system at the command center is connected to the broadband satellite communication through the KU satellite tablet terminal, and then communicated with the single Beidou multi-network fusion system at the command bureau.
[0110] Step S6 also includes: obtaining the mobile network monitoring data of the third field-end device of the public network subsystem through the public network subsystem and forwarding it to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end shares the mobile network monitoring data with the corresponding field-end device through the corresponding subsystem.
[0111] The public network subsystem includes the third-party field equipment, the public network gateway and the public network base station. The third-party field equipment is connected to the public network base station through the public network gateway, and the public network base station is connected to the single Beidou multi-network fusion system at the command center. The third-party field equipment includes law enforcement recorders, three-network mobile phones, smart bracelets and three-proof tablets.
[0112] And, step S5 also includes: obtaining the self-organizing network monitoring data of the fourth field-end device of the self-organizing network subsystem through the self-organizing network subsystem and forwarding the self-organizing network monitoring data to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end is shared with the corresponding field-end device through the corresponding subsystem. Wherein, the self-organizing network monitoring data includes SIP video stream, location data and / or voice data.
[0113] The self-organizing network subsystem includes the fourth field-end device, the center-end self-organizing network device and the field-end self-organizing network device. The fourth field-end device is connected to the center-end self-organizing network device through the field-end self-organizing network device, and the center-end self-organizing network communication device is connected to the single Beidou multi-network fusion system of the command center. Among them, the fourth field-end device includes a control ball and a video helmet.
[0114] The present invention can realize the network integration from broadband network to narrowband network, and the secure communication between cluster network and other networks through the single Beidou multi-network fusion system. For example, in the actual application process, it can be applied to the monitoring of field personnel, animals, etc., and the real-time monitoring of the location of field equipment and real-time monitoring equipment can be realized according to the system to realize the location, historical trajectory, punch-in information and other management of field personnel. At the same time, the command center can also be set up through the electronic fence function to predict and analyze the location safety of field personnel or animals, give early warning and command in advance, and ensure the safety of field personnel and animals. At the same time, the system also integrates GIS maps, remote sensing information and field environmental data, such as wind speed, wind direction, flammable material information and other fire prevention factor information, real-time analysis of the field environment, dynamic trend analysis during fire prevention, fire fighting and disaster relief, and data early warning, which can be transmitted to the field end through voice and image, to realize instant command and dispatch, and quickly prevent the spread of fire and ensure the safety of field personnel.
[0115] Preferably, the present invention realizes the transmission, fusion and sharing of data between different network types through a single Beidou multi-network fusion system, and at the same time, uses a voice compression algorithm and a voice decompression algorithm to compress and decompress audio data during data transmission to realize voice fusion from broadband communication to narrowband communication; and uses an image compression algorithm and an image decompression algorithm to compress and decompress image data to realize image fusion from broadband communication to narrowband communication, breaking the barrier of the original voice and image communication that cannot directly transmit voice and images from broadband to narrowband network due to different networks, different encodings, and large data volumes. The present invention realizes efficient communication in a resource-limited environment by effectively compressing and optimizing transmission of voice and image data, and has good technical application prospects and market promotion value.
[0116] Embodiment 2
[0117] Based on the first embodiment, the present invention also provides another embodiment, an audio and image data compression and transmission device based on a single Beidou, comprising:
[0118] A Beidou data transmission module is used to obtain Beidou monitoring data of the second field-end device through the Beidou subsystem, classify the Beidou monitoring data to obtain first Beidou monitoring data and second Beidou monitoring data, compress the second Beidou monitoring data according to a corresponding preset compression algorithm, and forward the first Beidou monitoring data and the compressed second Beidou monitoring data to the single Beidou multi-network fusion system at the command center end; the first Beidou monitoring data includes audio data and / or image data;
[0119] A Beidou data fusion module is used to parse the received first Beidou monitoring data and the second Beidou monitoring data through the single Beidou multi-network fusion system of the command center, convert the received data into corresponding formats, and then share the data with the corresponding field devices of the broadband subsystem and / or the intercom subsystem;
[0120] Tiantong data transmission module, used for obtaining voice data of the first field-end device through the Tiantong subsystem and transmitting the voice data to the single Beidou multi-network fusion system at the command center end through the serial port, so that the single Beidou multi-network fusion system at the command center end converts the voice data into an RTP audio stream and forwards the RTP audio stream to the intercom subsystem through the network port, and then forwards it to the fifth field-end device of the intercom subsystem;
[0121] An intercom data transmission module is used to obtain the intercom data of the fifth field terminal device through the intercom subsystem, and convert the intercom data into corresponding voice data according to the SIP protocol and forward it to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end forwards the corresponding voice data to the single Beidou multi-network fusion system at the command bureau end, compresses the corresponding voice data according to a preset compression algorithm and then forwards it to the second field terminal device through the Beidou subsystem, and forwards the corresponding voice data to the first field terminal device through the Tiantong subsystem;
[0122] The broadband data transmission module is used to obtain the control signal of the single Beidou multi-network fusion system at the command station end through the broadband subsystem and forward the control signal to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end can send corresponding data or instructions to the field equipment of the corresponding subsystem.
[0123] Furthermore, when the second Beidou monitoring data also includes video data, the Beidou data transmission module is also used to convert the video data into corresponding image data and / or audio data according to a preset rule, and then use a preset compression algorithm to compress the corresponding image data and / or audio data; wherein, converting the video data into corresponding image data and / or audio data according to the preset rule specifically includes: a judgment step: obtaining the video data and judging whether the video data has audio and video, if so, executing the audio separation step; if not, executing the image conversion step;
[0124] Audio separation step: separating the audio stream in the video data to obtain corresponding audio data, and compressing the corresponding audio data according to a corresponding preset compression algorithm;
[0125] Image conversion step: converting the video data into a plurality of image data according to a preset rule, and then compressing the plurality of image data according to a corresponding preset compression algorithm;
[0126] Converting video data into a number of image data according to preset rules specifically includes: first, sequentially extracting a frame of image from the video data according to a preset interval time as the current frame image; then performing similarity matching between the current frame image and the previous frame image and judging whether the current frame image is consistent with the previous frame image according to the matching result; if so, recording the current frame image as a key frame image and giving it a sequential number, and then continuing to take the next frame image; if not, discarding the current frame image and continuing to take the next frame image; until all key frame images corresponding to the video data are obtained after the video data is processed, that is, multiple image data corresponding to the video image.
[0127] Embodiment 3
[0128] A computer-readable storage medium stores an audio and image data compression and transmission program, which is a computer program. When the audio and image data compression and transmission program is executed by a processor, the steps of the audio and image data compression and transmission method based on a single Beidou as one of the purposes of the present invention are implemented.
[0129] The above-mentioned embodiments are only preferred embodiments of the present invention and cannot be used to limit the scope of protection of the present invention. Any non-substantial changes and substitutions made by technicians in this field on the basis of the present invention shall fall within the scope of protection required by the present invention.
Claims
1. A method for compressing and transmitting audio and image data based on a single Beidou, characterized in that: The audio and image data compression and transmission method comprises: Beidou data transmission step: obtaining Beidou monitoring data of a second field-end device of the Beidou subsystem through the Beidou subsystem, classifying the Beidou monitoring data to obtain first Beidou monitoring data and second Beidou monitoring data, and compressing the second Beidou monitoring data according to a corresponding preset compression algorithm, and forwarding the first Beidou monitoring data and the compressed second Beidou monitoring data to a single Beidou multi-network fusion system at a command center end; the first Beidou monitoring data includes audio data and / or image data; Beidou data fusion step: the single Beidou multi-network fusion system at the command center side analyzes the received first Beidou monitoring data and the second Beidou monitoring data, converts the data into corresponding formats, and then shares the data with the corresponding field-end devices of the broadband subsystem and / or the intercom subsystem; Tiantong data transmission step: obtaining voice data of the first field-end device of the Tiantong subsystem through the Tiantong subsystem and transmitting the voice data to the single Beidou multi-network fusion system at the command center end through the serial port, so that the single Beidou multi-network fusion system at the command center end converts the voice data into an RTP audio stream and forwards the RTP audio stream to the intercom subsystem through the network port, and then forwards it to the fifth field-end device of the intercom subsystem; Intercom data transmission step: obtaining the intercom data of the fifth field-end device of the intercom subsystem through the intercom subsystem, and converting the intercom data into corresponding voice data according to the SIP protocol and forwarding it to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end forwards the corresponding voice data to the single Beidou multi-network fusion system at the command bureau end, compresses the corresponding voice data according to a preset compression algorithm and then forwards it to the second field-end device of the Beidou subsystem through the Beidou subsystem, and forwards the corresponding voice data to the first field-end device of the Tiantong subsystem through the Tiantong subsystem; Broadband data transmission steps: obtain the control signal of the single Beidou multi-network fusion system at the command station end through the broadband subsystem and forward the control signal to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end can send corresponding data or instructions to the field equipment of the corresponding subsystem.
2. The method for compressing and transmitting audio and image data based on a single Beidou according to claim 1, characterized in that: When the second Beidou monitoring data also includes video data, first convert the video data into corresponding image data and / or audio data according to a preset rule, and then use a preset compression algorithm to compress the corresponding image data and / or audio data; wherein, the converting of the video data into corresponding image data and / or audio data according to the preset rule specifically includes: a judgment step: obtaining the video data and judging whether the video data has audio and video, if so, executing the audio separation step; if not, executing the image conversion step; Audio separation step: separating the audio stream from the video data to obtain corresponding audio data; Image conversion step: converting video data into a number of image data according to preset rules; The method of converting video data into a plurality of image data according to a preset rule specifically includes: first, sequentially extracting a frame of image from the video data according to a preset interval time as the current frame of image; then performing similarity matching between the current frame of image and the previous frame of image and judging whether the current frame of image and the previous frame of image are consistent according to the matching result; if so, recording the current frame of image as a key frame of image and giving it a sequential number, and then continuing to take the next frame of image; if not, discarding the current frame of image and continuing to take the next frame of image; until all the key frame images corresponding to the video data are obtained after the video data is processed, that is, multiple image data corresponding to the video data.
3. The method for compressing and transmitting audio and image data based on single Beidou according to claim 2, characterized in that: Forwarding the first Beidou monitoring data and the compressed second Beidou monitoring data to the single Beidou multi-network fusion system at the command center end specifically includes: generating a Beidou short message according to the first Beidou monitoring data and the compressed second Beidou monitoring data, and forwarding it to the Beidou data transmission terminal of the Beidou subsystem through the Beidou satellite of the Beidou subsystem, and then forwarding it to the single Beidou multi-network fusion system at the command center end through the Beidou data transmission terminal; The method of parsing the received first Beidou monitoring data and second Beidou monitoring data by the single Beidou multi-network fusion system at the command center end specifically includes: firstly, parsing the Beidou short message forwarded by the Beidou subsystem at the command center end to obtain the first Beidou monitoring data and the compressed second Beidou monitoring data; then decompressing the compressed second Beidou monitoring data according to a preset decompression algorithm; When the format of the audio data obtained by decompression is PCM format, the audio data in PCM format is converted into audio data in MP3 format by the single Beidou multi-network fusion system at the command center end, and then shared with the corresponding field-end device through the corresponding subsystem; when the format of the image data obtained by decompression is BMP format, the image data in BMP format is converted into image data in JPG format by the single Beidou multi-network fusion system at the command center end, and then shared with the corresponding field-end device through the corresponding subsystem; the broadband subsystem includes a KU / KA subsystem, a public network subsystem and an ad hoc network subsystem; When the type of image data and / or audio data obtained by decompression is a preset type, the image data and / or audio data belonging to the same video data, the numbers of several image data and the duration of the audio data are obtained through the single Beidou multi-network fusion system at the command center to generate corresponding video data, perform corresponding format conversion, and then share it with the corresponding on-site device through the corresponding subsystem; wherein, the preset type means that the corresponding image data and / or audio data are converted based on the video data.
4. The method for compressing and transmitting audio and image data based on single Beidou according to claim 2, characterized in that: The preset compression algorithm includes a preset audio compression algorithm and a preset image compression algorithm; wherein compressing the second Beidou monitoring data according to the corresponding preset compression algorithm specifically includes: compressing the audio data according to the preset audio compression algorithm and compressing the image data according to the preset image compression algorithm; The preset audio compression algorithm includes: first initializing the encoder to obtain a compression bit rate, then obtaining an original audio file and decomposing and filtering the original audio file into multiple frames to obtain multiple frame audio streams, then performing discrete Fourier transform and MDCT transform on each frame audio stream, and quantizing each converted frame audio stream and then using Huffman coding compression and side information coding to obtain compressed audio data; The preset image compression algorithm includes: firstly obtaining the file format of the original image data and determining whether the file format of the original image data is JPG; if not, converting the file format of the original image data into JPG format; then performing color conversion on the image data file in JPG format, performing discrete cosine transform on the image data file after color conversion, and quantizing the transformed image data file according to a brightness quantization value table and a chromaticity quantization value table, and finally performing entropy encoding on the quantized image data file using Huffman coding to obtain compressed image data.
5. The method for compressing and transmitting audio and image data based on single Beidou according to claim 1, characterized in that: In the intercom data transmission step, when the single Beidou multi-network fusion system at the command center end receives the corresponding voice data, it also performs voice recognition on the corresponding voice data to obtain text information of the corresponding voice data, and generates multiple versions of voice data of the language type according to the text information and the preset language type, and then forwards the multiple versions of the voice data of the language type to the single Beidou multi-network fusion system at the command station end, compresses the data according to the preset compression algorithm, and then forwards it to the second field end device of the Beidou subsystem through the Beidou subsystem, and forwards it to the first field end device of the Tiantong subsystem through the Tiantong subsystem.
6. The method for compressing and transmitting audio and image data based on single Beidou according to claim 1, characterized in that: The broadband data transmission step specifically includes: obtaining the control signal of the single Beidou multi-network fusion system at the command bureau end through the KU / KA subsystem and forwarding the control signal to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end sends corresponding data or instructions to the fourth field-end device of the public network subsystem through the public network subsystem, and sends corresponding data or instructions to the third field-end device of the self-organizing network subsystem through the self-organizing network subsystem; Obtain the mobile network monitoring data of the third field-end device through the public network subsystem and forward it to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end shares the mobile network monitoring data with the corresponding field-end device through the corresponding subsystem; In addition, the self-organizing network monitoring data of the fourth field-end device is obtained through the self-organizing network subsystem and the self-organizing network monitoring data is forwarded to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end is shared with the corresponding field-end device through the corresponding subsystem; the self-organizing network monitoring data includes SIP video stream, location data and / or voice data.
7. The method for compressing and transmitting audio and image data based on single Beidou according to claim 6, characterized in that: The Beidou subsystem includes a second field end device, a Beidou satellite and a Beidou data transmission terminal. The second field end device is connected to the Beidou data transmission terminal through the Beidou satellite, and the Beidou data transmission terminal is connected to the single Beidou multi-network fusion system of the command center. The second field end device includes a Beidou walkie-talkie, a Beidou fire helmet, a Beidou vehicle terminal, a Beidou tracking box, a Beidou Bluetooth box and a Beidou handheld device. The Tiantong subsystem includes a first field terminal device, a Tiantong satellite and a Tiantong landline, wherein the first field terminal device is connected to the Tiantong landline through the Tiantong satellite, and the Tiantong landline is connected to the single Beidou multi-network fusion system of the command center through a serial port; wherein the first field terminal device includes a Tiantong satellite phone and a Tiantong satellite mobile phone; The public network subsystem includes a third-party on-site device, a public network gateway and a public network base station; the third-party on-site device is connected to the public network base station through the public network gateway, and the public network base station is connected to the single Beidou multi-network fusion system of the command center; the third-party on-site device includes a law enforcement recorder, a three-network mobile phone, a smart bracelet and a three-proof tablet; The self-organizing network subsystem includes a fourth field-end device, a center-end self-organizing network device and a field-end self-organizing network device. The fourth field-end device is connected to the center-end self-organizing network device through the field-end self-organizing network device, and the center-end self-organizing network device is connected to the single Beidou multi-network fusion system of the command center. The fourth field-end device includes a control ball and a video helmet. The intercom subsystem includes a fifth field terminal device and a fusion intercom gateway, and the fifth field terminal device is connected to the single Beidou multi-network fusion system of the command end through the fusion intercom gateway; wherein the fifth field terminal device includes a PDT / DMR intercom; The KU / KA subsystem includes a KU satellite tablet terminal and a broadband satellite. The single Beidou multi-network fusion system at the command center is connected to the broadband satellite communication through the KU satellite tablet terminal, and then connected to the single Beidou multi-network fusion system at the command station.
8. An audio and image data compression and transmission device based on a single Beidou, characterized in that: include: A Beidou data transmission module is used to obtain Beidou monitoring data of the second field-end device through the Beidou subsystem, classify the Beidou monitoring data to obtain first Beidou monitoring data and second Beidou monitoring data, compress the second Beidou monitoring data according to a corresponding preset compression algorithm, and forward the first Beidou monitoring data and the compressed second Beidou monitoring data to the single Beidou multi-network fusion system at the command center end; the first Beidou monitoring data includes audio data and / or image data; A Beidou data fusion module is used to parse the received first Beidou monitoring data and the second Beidou monitoring data through the single Beidou multi-network fusion system of the command center, convert the received data into corresponding formats, and then share the data with the corresponding field devices of the broadband subsystem and / or the intercom subsystem; Tiantong data transmission module, used for acquiring voice data of the first field-end device through the Tiantong subsystem and transmitting the voice data to the single Beidou multi-network fusion system at the command center end through the serial port, so that the single Beidou multi-network fusion system at the command center end converts the voice data into an RTP audio stream and forwards the RTP audio stream to the intercom subsystem through the network port, and then forwards it to the fifth field-end device of the intercom subsystem; An intercom data transmission module is used to obtain the intercom data of the fifth field-end device through the intercom subsystem, and convert the intercom data into corresponding voice data according to the SIP protocol and forward it to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end forwards the corresponding voice data to the single Beidou multi-network fusion system at the command bureau end, compresses the corresponding voice data according to a preset compression algorithm and then forwards it to the second field-end device through the Beidou subsystem, and forwards the corresponding voice data to the first field-end device through the Tiantong subsystem; The broadband data transmission module is used to obtain the control signal of the single Beidou multi-network fusion system at the command station end through the broadband subsystem and forward the control signal to the single Beidou multi-network fusion system at the command center end, so that the single Beidou multi-network fusion system at the command center end can send corresponding data or instructions to the field-end equipment of the corresponding subsystem.
9. The audio and image data compression and transmission device based on single Beidou according to claim 8 is characterized in that: When the second Beidou monitoring data also includes video data, the Beidou data transmission module is further used to convert the video data into corresponding image data and / or audio data according to a preset rule, and then compress the corresponding image data and / or audio data using a preset compression algorithm; wherein, the converting of the video data into corresponding image data and / or audio data according to the preset rule specifically includes: a judgment step: obtaining the video data and judging whether the video data has audio and video, if so, executing the audio separation step; if not, executing the image conversion step; Audio separation step: separating the audio stream in the video data to obtain corresponding audio data, and compressing the corresponding audio data according to a corresponding preset compression algorithm; Image conversion step: converting the video data into a plurality of image data according to a preset rule, and then compressing the plurality of image data according to a corresponding preset compression algorithm; The method of converting video data into a plurality of image data according to preset rules specifically includes: first, sequentially extracting a frame of image from the video data according to a preset interval time as the current frame image; then performing similarity matching between the current frame image and the previous frame image and judging whether the current frame image is consistent with the previous frame image according to the matching result; if so, recording the current frame image as a key frame image and sequentially numbering it, and then continuing to take the next frame image; if not, discarding the current frame image and continuing to take the next frame image; until all key frame images corresponding to the video data are obtained after the video data is processed, that is, multiple image data corresponding to the video image.
10. A computer-readable storage medium having stored thereon a program for compressing and transmitting audio and image data, characterized in that: The audio and image data compression and transmission program is a computer program. When the audio and image data compression and transmission program is executed by a processor, the steps of the audio and image data compression and transmission method based on a single Beidou are implemented as described in any one of claims 1-7.
Citation Information
Patent Citations
Method for realizing cross-network communication between Beidou satellite and Tiantong satellite
CN113271138A
Image transmission method and system based on Beidou network
CN116389772A