A method and system for remotely sending radar data to a web
By generating scan scene images and using run-length encoding to compress radar data and segment it into small data packets, the problem of radar data being unable to be transmitted remotely was solved, enabling remote transmission and real-time viewing of radar data.
Patent Information
- Application Number
- CN202211485950.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-24
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2042-11-24
AI Technical Summary
Existing radar data acquisition has a high frequency and large volume, and can only be used within a local area network, resulting in high maintenance costs and the inability to remotely transmit data to the web.
By generating a scanned scene image and using obstacle coordinates as markers, the data is compressed using a run-length encoding algorithm, segmented into small data packets, and sent to the web client using multi-threading.
It enables remote transmission of radar data, reduces data volume and network resource requirements, lowers maintenance costs, and supports real-time remote viewing.
Smart Images

Figure CN115834563B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of network data transmission, and particularly relates to a method and system for remotely sending radar data to a web end. BACKGROUND
[0002] With the development of the Internet of Things and the improvement of AI technology, more and more sensor devices appear, among which the types of radars are more and more various, and the data collection and presentation modes of radars are more and more various
[0003] However, there are currently various radar manufacturers, and each manufacturer needs to install its own software for presenting the data collected by the radar, and the radar data collection frequency is very high, the data volume is huge, and the network requirement is very high, and many presentation software can only be used in a local area network. Since only the local area network is supported, the maintenance cost for maintaining and checking the operation of the hardware is increased. SUMMARY
[0004] In view of the deficiencies in the prior art, the present application provides a method and system for remotely sending radar data to a web end, to solve the problem of remote transmission of radar data.
[0005] The technical scheme of the present application is as follows: a method for remotely sending radar data to a web end, comprising the following steps:
[0006] S1), generating plane data of a surrounding environment by scanning the surrounding environment by a radar, and saving the data;
[0007] S2), generating a scanning scene image according to distance information between the collected radar and the obstacles scanned by the radar, and identifying the positions of the obstacles in the image using actual coordinates of the obstacles, so as to cut the image into specified pixel points using the coordinates of the image as a standard; and then compressing the data using a run-length encoding algorithm;
[0008] S3), dividing the compressed radar data in step S2) into several small data packets according to a certain size, numbering each small data packet, and simultaneously sending the data packets to the web end using multiple threads.
[0009] Preferably, in step S1), the moving distance of the radar within a specific time and the scanning range of the radar are calculated according to the moving speed of the radar carrier, the saving condition of the radar data is determined, and the repeatedly saved data is deleted.
[0010] Preferably, in step S2), the actual coordinates of the obstacles are measured with the starting position of the radar as the coordinate origin.
[0011] As preferred, in step S2), the cutting of the picture into designated pixels means that the pixels of the obstacles in the image are marked as 1, and the pixels without obstacles are marked as 0.
[0012] As preferred, in step S3), the web end feeds back the data acceptance information after accepting the data.
[0013] The application also provides a system for remotely sending radar data to a web end, comprising a data acquisition module, a data compression module, a data segmentation module, and a sending module.
[0014] The data acquisition module is used for acquiring the planar radar data of the surrounding environment generated by the radar scanning the surrounding environment.
[0015] The data compression module is used for compressing the acquired radar data.
[0016] The segmentation module is used for segmenting the compressed radar data into small data packets of a certain size.
[0017] The sending module is used for transmitting the compressed small radar data packets to the web end.
[0018] As preferred, the data compression module generates a scanning scene image according to the distance information between the acquired radar and the obstacles scanned by the radar, and uses the actual coordinates of the obstacles to mark the positions of the obstacles in the image, so as to cut the picture into designated pixels; then the data is compressed by using a run-length encoding algorithm.
[0019] As preferred, the cutting of the picture into designated pixels by the data compression module means that the pixels of the obstacles in the image are marked as 1, and the pixels without obstacles are marked as 0.
[0020] As preferred, the segmentation module numbers each radar data packet after the compressed data is divided into small data packets of a certain size; then the radar data packets are sent to the web end by using multi-threading through the sending module.
[0021] The application has the following advantages:
[0022] 1. The application compresses the original data of the radar, so that the radar can be remotely transmitted through the network, unlike most software which can only be used in a local area network.
[0023] 2. The application saves useful data by increment in the acquisition stage, and discards repeated data, so as to reduce the data volume; then the complex structure data is compressed into simple data with only 0 and 1, so as to further compress the data volume of the radar, thereby ensuring that the real-time radar data can be remotely watched under the condition of less network resources. BRIEF DESCRIPTION OF DRAWINGS
[0024] Figure 1 a schematic diagram of radar scanning of the present application;
[0025] Figure 2 a schematic diagram of the structural framework of the system of the present application; DETAILED DESCRIPTION
[0026] The specific embodiments of the present application are further described below in conjunction with the accompanying drawings:
[0027] Embodiment 1
[0028] As shown in the figure, the present embodiment provides a method for remotely sending radar data to a web end, comprising the following steps: Figure 1
[0029] S1), generating plane data of the surrounding environment by scanning the surrounding environment with a radar, and saving the data;
[0030] S2), generating a scanning scene image according to the distance information between the collected radar and the obstacles scanned by the radar, and identifying the positions of the obstacles in the image using the actual coordinates of the obstacles, cutting the picture into specified pixel points using the coordinates of the image as the standard, and then compressing the data using a run-length encoding algorithm;
[0031] S3), dividing the compressed radar data in step S2) into several small data packets according to a certain size, and numbering each small data packet; using multiple threads to simultaneously send the data packets to the web end.
[0032] As preferred in the present embodiment, in step S1), the distance moved by the radar in a specific time and the scanning range of the radar are calculated according to the moving speed of the radar carrier to determine the saving of the radar data, and the repeatedly saved data is deleted.
[0033] As preferred in the present embodiment, in step S2), the actual coordinates of the obstacles are measured with the starting position of the radar as the coordinate origin.
[0034] As preferred in the present embodiment, in step S2), cutting the picture into specified pixel points means marking the pixels of the obstacles in the image as 1 and marking the pixels without obstacles as 0.
[0035] As preferred in the present embodiment, in step S3), the web end feeds back information on the acceptance of the data after receiving the data.
[0036] Embodiment 2
[0037] As shown in the figure, the present embodiment provides a method for remotely sending radar data to a web end, comprising the following steps: Figure 2 As shown, the embodiment provides a system capable of remotely sending radar data to the web end, comprising a data acquisition module, a data compression module, a data segmentation module, and a sending module.
[0038] The data acquisition module is used to acquire the planar radar data of the surrounding environment generated by the radar scanning the surrounding environment.
[0039] The data compression module is used to compress the acquired radar data.
[0040] The segmentation module is used to segment the compressed radar data into small data packets of a certain size.
[0041] The sending module is used to transmit the compressed small radar data packets to the web end.
[0042] As a preferred embodiment of the present embodiment, the data acquisition module calculates the distance moved by the radar within a certain time according to the moving speed of the radar carrier, and determines the saving condition of the radar data according to the scanning range of the radar, and deletes the repeatedly saved data.
[0043] As a preferred embodiment of the present embodiment, the data compression module generates a scanning scene image according to the distance information between the acquired radar and the obstacles scanned by the radar, and uses the actual coordinates of the obstacles to identify the positions of the obstacles in the image, and uses the coordinates of the image as the standard to cut the picture into specified pixel points, and then uses the run-length encoding algorithm to compress the data.
[0044] As a preferred embodiment of the present embodiment, the data compression module cutting the picture into specified pixel points refers to marking the pixels of the obstacles in the image as 1 and marking the pixels without obstacles as 0.
[0045] As a preferred embodiment of the present embodiment, the segmentation module numbers each radar data packet after dividing the compressed data into several small data packets according to a certain size, and then uses the sending module to send the radar data packets to the web end simultaneously using multiple threads.
[0046] As a preferred embodiment of the present embodiment, the web end will feedback the data receiving condition to the sending module after receiving the radar data packet. If there is a missing data, the missing number will be fed back to the sending module.
[0047] The above embodiments and descriptions in the specification are only to illustrate the principles and best embodiments of the present application, and various changes and improvements can be made without departing from the spirit and scope of the present application, and these changes and improvements all fall within the scope of the claimed present application.
Claims
1. A method for remotely sending radar data to a web terminal, characterized in that, Includes the following steps: S1) Generate planar data of the surrounding environment by scanning the surrounding environment with radar, and save the collected radar data; calculate the distance the radar moves in a specific time period based on the moving speed of the radar carrier, and determine the saving status of the radar data based on the radar scanning range, and delete duplicate data. S2) Generate a scanning scene image based on the distance information between the collected radar and the obstacles scanned by the radar, and mark the positions of the obstacles in the image using the actual coordinates of the obstacles. Using the image coordinates as the standard, the image is divided into specified pixel points; then, the data is compressed using a run-length encoding algorithm; the actual coordinates of the obstacles are measured with the starting position of the radar as the origin; dividing the image into specified pixel points means marking the pixels of obstacles in the image as 1 and the pixels without obstacles as 0. S3) Divide the compressed radar data from step S2) into several small data packets of a certain size and assign a number to each small data packet; use multiple threads to send data packets to the web client simultaneously; the web client provides feedback on the data reception status after receiving the data.
2. A system capable of remotely transmitting radar data to a web interface, characterized in that, The system described herein is used in the method described in claim 1, and includes a data acquisition module, a data compression module, a data segmentation module, and a transmission module; the data acquisition module is used to acquire planar radar data of the surrounding environment generated by radar scanning of the surrounding environment; The data compression module is used to compress the acquired radar data; the data acquisition module calculates the distance the radar moves within a specific time period based on the radar carrier's moving speed, and determines the data storage status based on the radar's scanning range, deleting duplicate data; the data compression module generates a scanning scene image based on the distance information between the acquired radar and the obstacles scanned by the radar, and uses the actual coordinates of the obstacles to mark the positions of the obstacles in the image, using the image coordinates as a standard to segment the image into specified pixels; then, a run-length encoding algorithm is used to compress the data. The segmentation module is used to divide the compressed radar data into small data packets of a certain size. The segmentation module divides the compressed data into several small data packets of a certain size, and then numbers each radar data packet. Then, the sending module uses multiple threads to send the radar data packets to the web terminal simultaneously. The sending module is used to transmit compressed small radar data packets to the web client; after receiving the radar data packets, the web client will report the data reception status to the sending module, and if there are missing data, it will report the missing number to the sending module.
3. The system for remotely transmitting radar data to a web terminal according to claim 2, characterized in that: The data compression module divides the image into specified pixels by marking pixels containing obstacles as 1 and pixels without obstacles as 0.
Citation Information
Patent Citations
Optimization system and method for uploading files based on Linux system
CN110505298A
Target identification method based on vision and 77GHz radar in garage environment
CN111427038A