Traffic early warning system and method based on acquisition device
By adopting a traffic warning system based on the acquisition device in the traffic warning system, using the distance collector and the environment acquisition device to collect data in real time, and dynamically process it through the network speed detection device and edge computing equipment, the problem of data processing delay in the existing system is solved, and efficient and real-time traffic warning is achieved.
Patent Information
- Application Number
- CN202510352606.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2045-03-25
AI Technical Summary
Due to the network limitations of data collection equipment and excessive environmental data, the existing traffic warning system has a long warning processing time and a delay in response time.
The traffic warning system based on the acquisition device is adopted to collect the environmental distance in real time through the distance collector. When a hazard is detected, the environmental acquisition device and the data transmission device are activated. The network speed detection device is used to dynamically adjust the data tiling ratio according to the network bandwidth, and the real-time processing is performed through the edge computing device.
The triggered data acquisition on demand is realized, reducing energy consumption and data storage pressure, and the dynamic bandwidth adaptation mechanism ensures real-time transmission of high-priority data, reducing data transmission volume and processing delay.
Smart Images

Figure CN119865500A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of traffic warning, and in particular to a traffic warning system and method based on a collection device. Background Art
[0002] With the rapid development of science and technology, the importance of traffic warning systems has become increasingly prominent. These systems integrate cutting-edge technologies such as advanced sensor technology, big data analysis, artificial intelligence algorithms, and Internet of Things communications to achieve real-time monitoring and accurate prediction of road traffic conditions, effectively reducing the incidence of traffic accidents and protecting the lives and property of the people.
[0003] The existing traffic warning system mainly monitors the changes of road structure, geological environment, meteorological conditions and vehicle driving status in real time by deploying various sensors, such as displacement sensors, stress sensors, meteorological sensors, etc. At the same time, it uses high-definition cameras to monitor the roads, and combines the big data analysis platform to process and analyze the massive data collected, so as to discover potential safety hazards in advance and immediately issue warning information to relevant departments and the public.
[0004] However, due to the network limitations of data collection equipment and the large amount of environmental data generated, the early warning requires a long processing time, resulting in a delay in response time. Summary of the invention
[0005] In view of the above-mentioned deficiencies in the prior art, the present application provides a traffic warning system and method based on a data collection device to solve the problems of network limitations of data collection equipment and a large amount of environmental data generated in the existing solutions, which results in a long processing time for the warning and a delay in response time.
[0006] In a first aspect, the present application provides a traffic warning system based on a collection device, the system comprising: The distance collector is used to collect the real-time distance with the surrounding environment in real time; the local central processor is connected to the distance collector, the environment collection device, and the data transmission device respectively, and is used to obtain the real-time distance. When it is detected that the real-time distance is less than the preset distance, the environment collection device and the data transmission device are started; wherein, the data transmission device is provided with a network speed detection device, and the data transmission device is connected to the network of the current environment; the environment collection device is used to collect environmental data; the network speed detection device is used to obtain the network bandwidth of the data transmission device within the current detection time interval; the local central processor is also used to obtain the network bandwidth, and according to the network bandwidth, determine the block ratio of the environmental data collected in the current detection time interval, and determine the data transmission device corresponding to each block; wherein, the number of blocks is the same as the number of data transmission devices, and the name of the block is the collection time; the data transmission device is also used to determine the position of the same data of the current block corresponding to the data transmission device and the previous block, and then determine the size of the final uploaded block, and upload the block to the edge computing device; the edge computing device is used to obtain the blocks uploaded by each data transmission device, and sort and identify the blocks according to the names of the blocks.
[0007] In one implementation of the present application, the local central processing unit includes a block computing module. Used to calculate the block value of each data transmission device through the formula: block value = (current network bandwidth × RTT) / K; Among them, K is the preset network stability coefficient, and RTT represents the round-trip time of the data packet; The block ratio of the environmental data collected at the current detection time interval is determined according to the ratio between the block values of the data transmission device.
[0008] In one implementation of the present application, the environmental data includes at least video data of a preset detection angle; The data transmission device includes a data comparison module, Used to convert the current block composed of video data into a number of video frames, and convert each video frame into a hash value; Remove duplicate hash values in the current slice, obtain and cache the hash value set of the current slice, and compare it with the hash value set cached in the previous slice to determine whether there are overlapping hash values; When there are no overlapping hash values, the location of the same data is determined to be a null value; When there are overlapping hash values, the position of the video frame corresponding to the overlapping hash value at the current slice is used as the position of the same data.
[0009] In one implementation of the present application, the data transmission device includes a block determination module. When the same data does not exist, the location of the same data is determined to be a null value, and the size of the final uploaded block is determined to be the original block; When the position of the same data is not a null value, when the position of the same data is the starting position of the original block, the block after removing the starting position is determined to be the final uploaded block; when the position of the same data is not the starting position of the original block, the size of the final uploaded block is determined to be the original block.
[0010] In one implementation of the present application, the data transmission device includes a compression processing module. It is used to obtain the network bandwidth of the current data transmission device, determine the compression ratio of the blocks according to the network bandwidth, and then process the blocks according to the compression ratio, and upload the processed blocks to the edge computing device.
[0011] In a second aspect, the present application provides a traffic warning method based on a collection device, the method comprising: The real-time distance to the surrounding environment is collected in real time through the distance collector; when the local central processor detects that the real-time distance is less than the preset distance, the environment collection device and the data transmission device are started; wherein, a network speed detection device is provided in the data transmission device, and the data transmission device is connected to the network of the current environment; environmental data is collected through the environment collection device; the network bandwidth of the data transmission device in the current detection time interval is obtained through the network speed detection device; according to the network bandwidth, the block ratio of the environmental data collected in the current detection time interval is determined, and the data transmission device corresponding to each block is determined; wherein, the number of blocks is the same as the number of data transmission devices, and the name of the block is the collection time; through the built-in data comparison device of the data transmission device, the position of the same data of the current block corresponding to the data transmission device and the previous block is determined, and then the final uploaded block size is determined, and the block is uploaded to the edge computing device; the edge computing device obtains the blocks uploaded by each data transmission device, and sorts and identifies the blocks according to the names of the blocks.
[0012] In one implementation of the present application, determining the block ratio of the environmental data collected at the current detection time interval according to the network bandwidth specifically includes: The block value of each data transmission device is calculated by the formula: block value = (current network bandwidth × RTT) / K; Among them, K is the preset network stability coefficient, and RTT represents the round-trip time of the data packet; The block ratio of the environmental data collected at the current detection time interval is determined according to the ratio between the block values of the data transmission device.
[0013] In one implementation of the present application, the environmental data includes at least video data of a preset detection angle; Determine the position of the same data between the current block and the previous block corresponding to the data transmission device by using the data comparison device built in the data transmission device, specifically including: Convert the current block composed of video data into a number of video frames, and convert each video frame into a hash value; Remove duplicate hash values in the current slice, obtain and cache the hash value set of the current slice, and compare it with the hash value set cached in the previous slice to determine whether there are overlapping hash values; When there are no overlapping hash values, the location of the same data is determined to be a null value; When there are overlapping hash values, the position of the video frame corresponding to the overlapping hash value at the current slice is used as the position of the same data.
[0014] In one implementation of the present application, determining the size of the final uploaded slices specifically includes: When the same data does not exist, the location of the same data is determined to be a null value, and the size of the final uploaded block is determined to be the original block; When the position of the same data is not a null value, when the position of the same data is the starting position of the original block, the block after removing the starting position is determined to be the final uploaded block; when the position of the same data is not the starting position of the original block, the size of the final uploaded block is determined to be the original block.
[0015] In one implementation of the present application, uploading the slices to the edge computing device specifically includes: The network bandwidth of the current data transmission device is obtained, and the compression ratio of the blocks is determined according to the network bandwidth. Then, the blocks are processed according to the compression ratio, and the processed blocks are uploaded to the edge computing device.
[0016] Those skilled in the art can understand that the present application has at least the following beneficial effects: The present application provides a traffic warning system and method based on a collection device, which collects the real-time distance to the surrounding environment through a distance collector; when the local central processor detects that the real-time distance is less than the preset distance, the environment collection device and the data transmission device are started, realizing "triggered on-demand collection", avoiding the redundant data generated by the continuous operation of the environment collection device, and significantly reducing energy consumption and data storage pressure. It solves the problems of "large data space occupation" and "low collection rate" caused by all-weather collection in traditional systems.
[0017] Since the data transmission device is equipped with a network speed detection device and connected to the current environment network, the block ratio of the environment data and the corresponding transmission device can be determined according to the network bandwidth, and the data block strategy can be automatically adjusted when the network fluctuates through the dynamic bandwidth adaptation mechanism, ensuring the real-time transmission of high-priority data. For example, under low bandwidth, only the difference data blocks may be transmitted instead of the full amount of data.
[0018] By determining the data location of the same block as the previous block, the size of the final block to be uploaded is determined. That is, by comparing historical data, only the difference is uploaded, which reduces the amount of data transmission and alleviates the problems of "low transmission rate" and "large data space". In addition, the edge-side timing reorganization algorithm is used to avoid the delay caused by centralized processing in the cloud, solving the problems of "long warning processing time" and "delayed response". BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0020] Figure 1 It is a schematic diagram of the internal structure of a traffic warning system based on a collection device provided in an embodiment of the present application.
[0021] Figure 2 This is a flow chart of a traffic warning method based on a collection device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] It should be understood by those skilled in the art that the embodiments described below are only preferred embodiments of the present disclosure, and do not mean that the present disclosure can only be implemented through the preferred embodiments. The preferred embodiments are only used to explain the technical principles of the present disclosure, and are not used to limit the protection scope of the present disclosure. Based on the preferred embodiments provided by the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work should still fall within the protection scope of the present disclosure.
[0023] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0024] The technical solution proposed in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0025] This application Figure 1 A traffic warning system based on a collection device is provided in an embodiment of the present application. Figure 1 As shown, the system provided in the embodiment of the present application mainly includes: The distance collector 110 is used to collect the real-time distance to the surrounding environment.
[0026] It should be noted that the distance collector 110 may be a time-of-flight laser sensor (such as VL53L0X). The surrounding environment may be an environment corresponding to the vehicle in several preset directions. The preset direction may be a preset angle such as the front, left / right side of the vehicle's driving direction, etc.
[0027] The local central processor 120 is connected to the distance collector 110, the environment collection device 130, and the data transmission device 140 respectively, and is used to obtain the real-time distance. When it is detected that the real-time distance is less than the preset distance, the environment collection device 130 and the data transmission device 140 are started.
[0028] It should be noted that the local central processor 120 can be an existing control chip capable of data processing, etc., the environment acquisition device 130 is a device capable of collecting environment data (for example, the environment acquisition device 130 can be a video acquisition device; therefore, the environment data at least includes video data of a preset detection angle, where the preset detection angle can be any feasible angle, and the present application does not limit this), and the data transmission device 140 can be an existing device capable of data transmission. In addition, in order to achieve effective data transmission, a network speed detection device 141 is provided in the data transmission device 140 (the network speed detection device 141 is used to obtain the network bandwidth of the data transmission device 140 within the current detection time interval), and the data transmission device 140 is connected to the network of the current environment. In addition, in order to split the data and reduce the data transmission volume of a single device, there are several data transmission devices 140 involved in the present application.
[0029] The scheme for the data transmission device 140 to access the network of the current environment may be: the data transmission device 140 directly accesses the local area network (LAN) or wide area network (WAN) through a wired connection such as a network cable or an optical fiber.
[0030] It is understood by those skilled in the art that when the local central processor 120 (such as a high-performance control chip) receives data from the distance collector 110 and detects that the real-time distance is less than the preset distance, it will immediately start the environment collection device 130 (such as a video collection device) and the data transmission device 140. This mechanism ensures that when the vehicle is in a potentially dangerous state, the data of the surrounding environment can be quickly collected and transmitted, providing key information for subsequent analysis and processing.
[0031] Here, when it is detected that the real-time distance is less than the preset distance, it can be: when the distance between the vehicle and the obstacle is less than 30 cm, the environment collection device 130 and the data transmission device 140 are triggered to start.
[0032] In addition, in order to realize data block processing and solve the problem of too much data uploaded at one time, the local central processor 120 involved in the present application can also obtain network bandwidth, and determine the block ratio of the environmental data collected at the current detection time interval based on the network bandwidth (here the present application can flexibly adjust the block ratio within different detection time intervals to avoid a fixed mode upload mechanism) and determine the data transmission device 140 corresponding to each block.
[0033] It should be noted that the number of the cut blocks is the same as the number of the data transmission devices 140 , and the name of the cut block is the acquisition time.
[0034] Here, the block ratio of the environmental data collected at the current detection time interval is determined, which can be specifically: The block calculation module of the local central processor 120 uses the formula: Block value = (current network bandwidth × RTT) / K, calculate the block value of each data transmission device 140. K is a preset network stability coefficient, RTT represents the round trip time of a data packet; the unit of network bandwidth is Mbps, and the unit of RTT is milliseconds.
[0035] According to the ratio between the block values of the data transmission device 140, the block ratio of the environmental data collected at the current detection time interval is determined.
[0036] In order to avoid uploading duplicate data and thus causing the problem of processing a large amount of data, the data transmission device 140 in the present application can determine the position of the same data between the current block corresponding to the data transmission device 140 and the previous block, and then determine the final uploaded block size, and upload the block to the edge computing device 150.
[0037] The location of the same data between the current block and the previous block corresponding to the data transmission device 140 is determined, specifically, as follows: Through the data comparison module in the data transmission device 140, the current block composed of video data is converted into several video frames, and each video frame is converted into a hash value; the repeated hash values in the current block are removed, and the hash value set of the current block is obtained and cached, and compared with the hash value set cached in the previous block; it is determined whether there are overlapping hash values; when there are no overlapping hash values, the position of the same data is determined to be a null value; when there are overlapping hash values, the position of the video frame corresponding to the overlapping hash value in the current block is used as the position of the same data.
[0038] It should be noted that the duplicate hash values in the current slice are removed to retain the hash value corresponding to the first collected video frame, and other duplicates are removed. In addition, the perceptual hashing (pHash) algorithm can be used to generate video frame feature values (hash values), and a similarity threshold (such as Hamming distance ≤ 5) can be set to determine duplication.
[0039] The final uploaded chunk size is determined as follows: By using the block determination module in the data transmission device 140, when the same data does not exist, the position of the same data is determined to be a null value, and the size of the block finally uploaded is determined to be the original block; when the position of the same data is not a null value, when the position of the same data is the starting position of the original block, the block after removing the starting position is determined to be the final uploaded block; when the position of the same data is not the starting position of the original block, the size of the block finally uploaded is determined to be the original block.
[0040] In addition, in order to further reduce the amount of data transmitted and increase the transmission speed, the present application can also perform data compression processing.
[0041] The specific process can be: The compression processing module of the data transmission device 140 is used to obtain the current network bandwidth of the data transmission device 140 , and the compression ratio of the blocks is determined according to the network bandwidth. The blocks are then processed according to the compression ratio, and the processed blocks are uploaded to the edge computing device 150 .
[0042] The edge computing device 150 is used to obtain the blocks uploaded by each data transmission device 140, and sort and identify the blocks according to the names of the blocks.
[0043] In addition, the embodiment provides a traffic warning method based on a collection device, such as Figure 2 As shown, the method provided in the embodiment of the present application mainly includes the following steps: Step 210: collect the real-time distance to the surrounding environment through the distance collector; when the local central processor detects that the real-time distance is less than the preset distance, start the environment collection device and the data transmission device.
[0044] It should be noted that a network speed detection device is provided in the data transmission device, and the data transmission device is connected to the network of the current environment.
[0045] As an example, in an autonomous vehicle, the distance collector monitors the distance between the vehicle and the obstacle ahead in real time. When the distance is less than the safety threshold (such as 30cm), the local central processor immediately starts the camera and other environmental collection devices, and at the same time starts the data transmission device to upload the collected environmental data to the cloud or edge computing device in real time for further analysis and processing.
[0046] Step 220, collect environmental data through the environment collection device; obtain the network bandwidth of the data transmission device in the current detection time interval through the network speed detection device; determine the block ratio of the environmental data collected in the current detection time interval according to the network bandwidth, and determine the data transmission device corresponding to each block.
[0047] It should be noted that the number of blocks is the same as the number of data transmission devices, and the name of the block is the collection time.
[0048] The current network bandwidth of each network speed detection device is evaluated in real time, and the data block size of each data transmission device is dynamically adjusted according to the bandwidth situation.
[0049] The block ratio of the environmental data collected at the current detection time interval is determined according to the network bandwidth, which can be specifically: The block value of each data transmission device is calculated by the formula: block value = (current network bandwidth × RTT) / K; Among them, K is the preset network stability coefficient, and RTT represents the round-trip time of the data packet; The block ratio of the environmental data collected at the current detection time interval is determined according to the ratio between the block values of the data transmission device.
[0050] For example, when the ratio between the block values of three data transmission devices is 3:2:7, the block ratio is 3:2:7.
[0051] It is understood by those skilled in the art that when the local central processor (such as a high-performance control chip) receives data from the distance collector and detects that the real-time distance is less than the preset distance, it will immediately start the environment collection device (such as a video collection device) and the data transmission device. This mechanism ensures that when the vehicle is in a potentially dangerous state, it can quickly collect and transmit data about the surrounding environment, providing key information for subsequent analysis and processing.
[0052] Step 230: Determine the position of the same data between the current block and the previous block corresponding to the data transmission device through the data comparison device built into the data transmission device, and then determine the final uploaded block size, and upload the block to the edge computing device.
[0053] The data comparison device built into the data transmission device is used to determine the position of the same data between the current block and the previous block corresponding to the data transmission device, which may be specifically: Convert the current block composed of video data into a number of video frames, and convert each video frame into a hash value; Remove duplicate hash values in the current slice, obtain and cache the hash value set of the current slice, and compare it with the hash value set cached in the previous slice to determine whether there are overlapping hash values; When there are no overlapping hash values, the location of the same data is determined to be a null value; When there are overlapping hash values, the position of the video frame corresponding to the overlapping hash value at the current slice is used as the position of the same data.
[0054] It should be noted that the environmental data here is video data. The solution of converting each video frame into a hash value can be implemented using an existing solution, and this application does not limit this.
[0055] Specifically, when there is no abnormality in monitoring, most of the content in consecutive video frames may be similar, and data deduplication can significantly reduce the amount of data transmission. At the same time, the compression ratio of video data is dynamically adjusted according to the current network bandwidth to ensure that video data can be uploaded to the edge computing device in real time and smoothly for further analysis.
[0056] The final uploaded chunk size is determined as follows: When the same data does not exist, the location of the same data is determined to be a null value, and the size of the final uploaded block is determined to be the original block; When the position of the same data is not a null value, when the position of the same data is the starting position of the original block, the block after removing the starting position is determined to be the final uploaded block; when the position of the same data is not the starting position of the original block, the size of the final uploaded block is determined to be the original block.
[0057] As an example, a block (block A) has been uploaded, which contains video data for a period of time before the current detection time interval. Now, a new block (block B) is prepared to be uploaded, which contains video data after block A (here, due to the data block, block A and block B are not adjacent in time. However, because the current detection time interval involved in this application is short, such as 15 seconds, the problem of non-adjacent time can be ignored, and the problem of data duplication still exists).
[0058] By converting block B into several video frames and converting each video frame into a hash value, the repeated hash values in block B are removed, and a hash value set of block B is obtained and cached. The hash value set of block B is compared with the hash value set cached by block A to determine whether there are overlapping hash values.
[0059] If the position of the same data is null (that is, there are no overlapping video frames between block B and block A), the size of the final uploaded block is determined to be the size of the original block B. This means that all video frames contained in block B are new and need to be fully uploaded.
[0060] If the position of the same data is not empty, you need to further determine the position of the same data: If the location of the same data is the starting location of the original block B (i.e. the beginning of block B overlaps with the end of block A), the block after removing the starting location is determined to be the final uploaded block. This means that only the new video frames of block B except the overlapped part with block A need to be uploaded.
[0061] If the location of the same data is not the starting location of the original block B (i.e., the overlapping portion of block B and block A is not at the beginning), the size of the final uploaded block is determined to be the size of the original block B. This is because, although there is an overlapping portion, the overlapping portion is not the beginning of block B, so the entire block B needs to be uploaded to ensure data integrity.
[0062] The blocks are uploaded to the edge computing device, which can be specifically: The network bandwidth of the current data transmission device is obtained, and the compression ratio of the blocks is determined according to the network bandwidth. Then, the blocks are processed according to the compression ratio, and the processed blocks are uploaded to the edge computing device.
[0063] As an example, the current network bandwidth is obtained in real time. For example, at a certain moment, the network speed detection module detects that the current network bandwidth is 10Mbps (megabits per second), and the compression ratio of the slices can be: when the network bandwidth is 10Mbps, the compression ratio is 50%, that is, each slice will be compressed to half of its original size before uploading. That is, the original slice size is 100MB (megabytes), and after 50% compression, the slice size becomes 50MB.
[0064] Step 240: The edge computing device obtains the blocks uploaded by each data transmission device, and sorts and identifies the blocks according to their names.
[0065] So far, the technical solutions of the present disclosure have been described in combination with the above multiple embodiments, but it is easy for those skilled in the art to understand that the protection scope of the present disclosure is not limited to these specific embodiments. Without departing from the technical principles of the present disclosure, those skilled in the art can split and combine the technical solutions in the above-mentioned various embodiments, and can also make equivalent changes or replacements to the relevant technical features. Any changes, equivalent replacements, improvements, etc. made within the technical concept and / or technical principle of the present disclosure will fall within the protection scope of the present disclosure.
Claims
1. A traffic warning system based on a data collection device, characterized in that: The system comprises: Distance collector, used to collect the real-time distance to the surrounding environment; The local central processor is connected to the distance collector, the environment collection device, and the data transmission device respectively, and is used to obtain the real-time distance. When it is detected that the real-time distance is less than the preset distance, the environment collection device and the data transmission device are started; wherein the data transmission device is provided with a network speed detection device, and the data transmission device is connected to the network of the current environment; An environmental collection device, used for collecting environmental data; A network speed detection device, used to obtain the network bandwidth of the data transmission device within the current detection time interval; The local central processor is also used to obtain the network bandwidth, determine the block ratio of the environmental data collected at the current detection time interval according to the network bandwidth, and determine the data transmission device corresponding to each block; wherein the number of blocks is the same as the number of data transmission devices, and the name of the block is the collection time; The data transmission device is also used to determine the position of the same data between the current block and the previous block corresponding to the data transmission device, thereby determining the size of the block to be uploaded, and uploading the block to the edge computing device; The edge computing device is used to obtain the blocks uploaded by each data transmission device and sort and identify the blocks according to their names.
2. The traffic warning system based on the collection device according to claim 1 is characterized in that: The local CPU includes a block computing module. Used to calculate the block value of each data transmission device through the formula: block value = (current network bandwidth × RTT) / K; Among them, K is the preset network stability coefficient, and RTT represents the round-trip time of the data packet; The block ratio of the environmental data collected at the current detection time interval is determined according to the ratio between the block values of the data transmission device.
3. The traffic warning system based on the collection device according to claim 1 is characterized in that: The environmental data at least includes video data of a preset detection angle; The data transmission device includes a data comparison module, Used to convert the current block composed of video data into a number of video frames, and convert each video frame into a hash value; Remove duplicate hash values in the current slice, obtain and cache the hash value set of the current slice, and compare it with the hash value set cached in the previous slice; Determine whether there are overlapping hash values; When there are no overlapping hash values, the location of the same data is determined to be a null value; When there are overlapping hash values, the position of the video frame corresponding to the overlapping hash value in the current slice is used as the position of the same data.
4. The traffic warning system based on the collection device according to claim 3 is characterized in that: The data transmission device includes a block determination module, When the same data does not exist, the location of the same data is determined to be a null value, and the size of the final uploaded block is determined to be the original block; When the position of the same data is not a null value, when the position of the same data is the starting position of the original block, the block after removing the starting position is determined to be the final uploaded block; when the position of the same data is not the starting position of the original block, the size of the final uploaded block is determined to be the original block.
5. The traffic warning system based on the collection device according to claim 1 is characterized in that: The data transmission device includes a compression processing module, It is used to obtain the network bandwidth of the current data transmission device, determine the compression ratio of the blocks according to the network bandwidth, and then process the blocks according to the compression ratio, and upload the processed blocks to the edge computing device.
6. A traffic warning method based on a collection device, characterized in that: The method comprises: The real-time distance to the surrounding environment is collected in real time through the distance collector; when the local central processor detects that the real-time distance is less than the preset distance, the environment collection device and the data transmission device are started; wherein the data transmission device is provided with a network speed detection device, and the data transmission device is connected to the network of the current environment; Collect environmental data through the environmental collection device; obtain the network bandwidth of the data transmission device in the current detection time interval through the network speed detection device; determine the block ratio of the environmental data collected in the current detection time interval according to the network bandwidth, and determine the data transmission device corresponding to each block; wherein the number of blocks is the same as the number of data transmission devices, and the name of the block is the collection time; The data comparison device built into the data transmission device is used to determine the position of the same data between the current block and the previous block corresponding to the data transmission device, and then the size of the block to be uploaded is determined, and the block is uploaded to the edge computing device; The edge computing device obtains the blocks uploaded by each data transmission device, and sorts and identifies the blocks according to their names.
7. The traffic warning method based on the data collection device according to claim 6 is characterized in that: According to the network bandwidth, determine the block ratio of the environmental data collected at the current detection time interval, including: The block value of each data transmission device is calculated by the formula: block value = (current network bandwidth × RTT) / K; Among them, K is the preset network stability coefficient, and RTT represents the round-trip time of the data packet; The block ratio of the environmental data collected at the current detection time interval is determined according to the ratio between the block values of the data transmission device.
8. The traffic warning method based on the data collection device according to claim 6 is characterized in that: The environmental data at least includes video data of a preset detection angle; Determine the position of the same data between the current block and the previous block corresponding to the data transmission device by using the data comparison device built in the data transmission device, specifically including: Convert the current block composed of video data into a number of video frames, and convert each video frame into a hash value; Remove duplicate hash values in the current slice, obtain and cache the hash value set of the current slice, and compare it with the hash value set cached in the previous slice to determine whether there are overlapping hash values; When there are no overlapping hash values, the location of the same data is determined to be a null value; When there are overlapping hash values, the position of the video frame corresponding to the overlapping hash value in the current slice is used as the position of the same data.
9. The traffic warning method based on the data collection device according to claim 8 is characterized in that: Determine the final uploaded chunk size, including: When the same data does not exist, the location of the same data is determined to be a null value, and the size of the final uploaded block is determined to be the original block; When the position of the same data is not a null value, when the position of the same data is the starting position of the original block, the block after removing the starting position is determined to be the final uploaded block; when the position of the same data is not the starting position of the original block, the size of the final uploaded block is determined to be the original block.
10. The traffic warning method based on the data collection device according to claim 6, characterized in that: Upload the blocks to the edge computing device, including: The network bandwidth of the current data transmission device is obtained, and the compression ratio of the blocks is determined according to the network bandwidth. Then, the blocks are processed according to the compression ratio, and the processed blocks are uploaded to the edge computing device.
Citation Information
Patent Citations
Traffic big data acquisition and early warning system
CN111341100A
Dynamic data distribution method and system based on hybrid network, and storage medium
CN114401277A
Vehicle braking distance dynamic early warning system based on traffic internet of things
CN115123284A
NR-V2X-based vulnerable traffic participant collision early warning system and method
CN115240470A
QoE-driven panoramic video streaming media distribution robust transmission method
CN118075522A