Information transmission method and system and readable storage medium

The vehicle status information is transmitted through the on-off state of the matrix LED lights, which solves the problem of information transmission being susceptible to interference in high-density traffic, realizes safe and efficient information transmission between vehicles, and enhances the collaborative driving ability of vehicle formations.

CN118570693APending Publication Date: 2024-08-30TSINGHUA UNIVERSITY
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410618751.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In a high-density traffic environment, information transmission between vehicles is susceptible to interference, and information security is difficult to ensure, affecting the coordinated driving efficiency and safety of vehicle formations.

Method used

The vehicle status information is transmitted through the on and off states of the matrix LED lights. The preset encoding and decoding method is used to encode the initial information and adjust the on and off states of the lamp beads to achieve visual information transmission and avoid the use of communication networks and electromagnetic interference. interference.

Benefits of technology

It improves the safety and accuracy of information transmission, enhances the cooperative driving ability between vehicles, and reduces interference and bit error rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570693A
    Figure CN118570693A
Patent Text Reader

Abstract

The invention relates to an information transmission method and system and a readable storage medium. The method comprises the following steps: acquiring initial information to be coded, wherein the initial information comprises state information acquired by each sensor on a current vehicle; encoding the initial information according to a preset encoding and decoding mode to obtain encoded information; the information bit of the coding information is used for representing the on-off state of a matched lamp bead in a coding area of the matrix type LED vehicle lamp; and adjusting the on-off state of each lamp bead in the coding area according to the coding information. According to the embodiment, the initial information of the vehicle is transmitted through the on-off state of the lamp beads in the matrix type LED vehicle lamp, the initial information can be conveniently obtained in a visual mode, a communication network is not needed, surrounding electromagnetic interference is avoided, and the transmission safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of information transmission, and in particular to an information transmission method, system and readable storage medium. Background Art

[0002] Platooning is a very promising application in intelligent transportation systems. It can significantly improve driving safety, driving efficiency and reduce energy consumption through interconnection and coordinated driving between vehicles.

[0003] In related technologies, vehicle-to-vehicle (V2V) technology can achieve instant and reliable vehicle-to-vehicle communication in a fleet. For example, a specific transmitter and receiver are installed on each vehicle, and the transmitter transmits information while the receiver receives information, so as to achieve information synchronization among the vehicles in the fleet and achieve a highly coordinated effect.

[0004] However, in the related art, the scheme in which the transmitter transmits information and the receiver receives information is prone to mutual interference under high-density traffic, and information security is not easy to ensure. Summary of the invention

[0005] The present disclosure provides an information transmission method, system and readable storage medium to address the deficiencies of related technologies.

[0006] According to a first aspect of an embodiment of the present disclosure, there is provided an information transmission method, the method comprising:

[0007] Acquire initial information to be encoded, the initial information including status information collected by various sensors on the current vehicle;

[0008] The initial information is encoded according to a preset encoding and decoding method to obtain encoded information; the information bits of the encoded information are used to characterize the on and off states of matching lamp beads in the encoding area of ​​the matrix LED lamp;

[0009] The on / off state of each lamp bead in the coding area is adjusted according to the coding information.

[0010] Optionally, the method further comprises:

[0011] Performing recognition processing on the video frames of the video stream to obtain candidate video frames containing the matrix LED headlights;

[0012] Performing cropping processing on the candidate video frame to obtain a target image including the matrix LED headlight;

[0013] Extract the outline of each lamp bead in the target image to obtain the coordinate data of the center point of each lamp bead;

[0014] Divide the matrix LED headlight into a grid, and determine the position of each light bead in the matrix LED headlight;

[0015] A set of binary data according to the arrangement of the matrix LED headlights is obtained as coding information.

[0016] Optionally, extracting the contour of each lamp bead in the target image includes:

[0017] Performing format conversion on the target image to obtain an intermediate image in HSV format;

[0018] Performing binarization processing on the intermediate image to obtain a binarized image;

[0019] Obtaining the contours of all white areas in the binary image to obtain candidate white contours;

[0020] In response to the candidate white contour being within the vehicle light contour, obtaining a zero-order moment and a first-order moment of a region where the candidate white contour is located;

[0021] Obtain a zero-order moment difference value between a zero-order moment of the region where the candidate white contour is located and a median of the zero-order moment, and obtain a first-order moment difference value between a first-order moment of the region where the candidate white contour is located and a median of the first-order moment;

[0022] In response to the zero-order moment difference being less than a first preset threshold and the first-order moment difference being less than a second preset threshold, the center point coordinate data of the region where the candidate white contour is located is determined as the coordinate data of the center point of each lamp bead.

[0023] Optionally, the method further comprises:

[0024] Read information bits from various positions in the coded information according to the preset coding and decoding method to obtain initial information; the initial information includes verification information and multiple values ​​of various status information;

[0025] For each state information of the initial information, determining candidate information corresponding to the initial information from multiple values ​​of the state information;

[0026] In response to the candidate information passing the verification of the verification information, determining that the candidate information is decoding information; in response to the candidate information failing to pass the verification of the verification information, determining that this decoding is an error.

[0027] Optionally, determining candidate information corresponding to the initial information from multiple values ​​of the state information includes:

[0028] Obtaining the statistical number of occurrences of each value of the same state information in the initial information;

[0029] A value corresponding to the maximum number of statistics is determined as candidate information for the state information.

[0030] Optionally, the method further comprises:

[0031] Control the lamp beads in the constant-light area of ​​the matrix LED vehicle lamp to remain lit.

[0032] According to a second aspect of an embodiment of the present disclosure, there is provided an information transmission method, the method comprising:

[0033] Recognize and process the video frames of the video stream to obtain candidate video frames containing matrix LED headlights;

[0034] Performing cropping processing on the candidate video frame to obtain a target image including the matrix LED headlight;

[0035] Extract the outline of each lamp bead in the target image to obtain the coordinate data of the center point of each lamp bead;

[0036] Divide the matrix LED headlight into a grid, and determine the position of each light bead in the matrix LED headlight;

[0037] A set of binary data according to the arrangement of the matrix LED headlights is obtained as coding information.

[0038] According to a third aspect of an embodiment of the present disclosure, there is provided an information transmission device, the device comprising:

[0039] An initial information acquisition module is used to acquire initial information to be encoded, wherein the initial information includes status information collected by various sensors on the current vehicle;

[0040] A coding information acquisition module is used to encode the initial information according to a preset coding and decoding method to obtain coding information; the information bits of the coding information are used to characterize the on and off states of the matching lamp beads in the coding area of ​​the matrix LED lamp;

[0041] The on / off state adjustment module is used to adjust the on / off state of each lamp bead in the coding area according to the coding information.

[0042] Optionally, the on-off state adjustment module is also used to control the lamp beads in the constant-on area of ​​the matrix LED car light to remain in the lit state.

[0043] Optionally, the device further comprises:

[0044] A candidate frame acquisition module, used for identifying and processing the video frames of the video stream to obtain candidate video frames containing the matrix LED headlights;

[0045] A target image acquisition module, used for cropping the candidate video frame to obtain a target image including the matrix LED headlight;

[0046] A coordinate data acquisition module is used to extract the outline of each lamp bead in the target image and obtain the coordinate data of the center point of each lamp bead;

[0047] A lamp bead position determination module, used to divide the matrix LED headlight into grids and determine the position of each lamp bead in a lit state in the matrix LED headlight;

[0048] The coding information acquisition module is used to acquire a set of binary data according to the arrangement of the matrix LED headlights as coding information.

[0049] Optionally, the coordinate data acquisition module includes:

[0050] An intermediate image acquisition unit, used for performing format conversion on the target image to obtain an intermediate image in HSV format;

[0051] A binary image acquisition unit, used for performing a binary process on the intermediate image to obtain a binary image;

[0052] A white area contour acquisition unit, used to acquire contours of all white areas in the binary image to obtain candidate white contours;

[0053] A contour moment acquisition unit, configured to acquire a zero-order moment and a first-order moment of a region where the candidate white contour is located in response to the candidate white contour being located within the contour of the vehicle light;

[0054] a moment difference value obtaining unit, used to obtain a zero-order moment difference value between a zero-order moment of the region where the candidate white contour is located and a median of the zero-order moment, and to obtain a first-order moment difference value between a first-order moment of the region where the candidate white contour is located and a median of the first-order moment;

[0055] The lamp bead coordinate acquisition unit is used to determine the center point coordinate data of the area where the candidate white contour is located as the coordinate data of the center point of each lamp bead in response to the zero-order moment difference value being less than the first preset threshold and the first-order moment difference value being less than the second preset threshold.

[0056] Optionally, the device further comprises:

[0057] An initial information acquisition module, used to read information bits from various positions in the coded information according to the preset coding and decoding method to obtain initial information; the initial information includes multiple values ​​of verification information and various state information;

[0058] A candidate information acquisition module, configured to determine, for each state information of the initial information, candidate information corresponding to the initial information from multiple values ​​of the state information;

[0059] The candidate information verification module is used to determine that the candidate information is decoding information in response to the candidate information passing the verification information verification; and determine that the current decoding is wrong in response to the candidate information failing the verification information verification.

[0060] Optionally, the candidate information acquisition module includes:

[0061] A statistical number acquisition unit, used to acquire the statistical number of occurrences of each value of the same state information in the initial information;

[0062] The candidate information acquisition unit is used to determine the value corresponding to the maximum statistical number as the candidate information of the state information.

[0063] According to a fourth aspect of an embodiment of the present disclosure, there is provided an information transmission system, the system comprising a matrix LED headlight, a memory, a processor and at least one sensor; the processor is electrically connected to each sensor, the memory and the matrix LED headlight respectively; the memory is used to store a computer program executable by the processor; the matrix LED headlight comprises a coding area in which the on and off state of the lamp beads can be adjusted;

[0064] Each sensor is used to collect status information of the current vehicle to obtain initial information of the current vehicle, wherein the initial information includes status information collected by each sensor on the current vehicle;

[0065] The processor is used to execute the computer program in the memory to implement the method according to the first aspect according to the initial information.

[0066] Optionally, the matrix LED headlight also includes a constantly lit area where the lamp beads remain in a constantly lit state; the constantly lit area is used to provide lighting function for the current vehicle and indicate the outline of the matrix LED headlight.

[0067] Optionally, the system further comprises an image acquisition device, wherein the image acquisition device is electrically connected to the processor;

[0068] The image acquisition device is used to acquire a video stream around the current vehicle;

[0069] The processor is used to implement the method as described in any one of the first aspects according to the video stream.

[0070] According to a fifth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, and when an executable computer program in the storage medium is executed by a processor, the method described in any one of the first aspects can be implemented. The technical solution provided by the embodiment of the present disclosure may include the following beneficial effects:

[0071] It can be seen from the above embodiments that the scheme provided by the embodiments of the present disclosure can obtain the initial information to be encoded, the initial information includes the status information collected by each sensor on the current vehicle; the initial information is encoded and processed according to the preset encoding and decoding method to obtain the encoded information; the information bits of the encoded information are used to characterize the on and off status of the matching lamp beads in the encoding area of ​​the matrix LED headlights; the on and off status of each lamp bead in the encoding area is adjusted according to the encoded information. In this way, in this embodiment, the initial information of the vehicle is transmitted through the on and off status of the lamp beads in the matrix LED headlights, which is convenient for obtaining the above initial information in a visual manner, without the need for a communication network and without being subject to surrounding electromagnetic interference, thereby improving transmission security.

[0072] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0074] Figure 1 It is a schematic diagram of an information transmission system according to an exemplary embodiment.

[0075] Figure 2 The figure is a schematic diagram showing the area division of a matrix LED vehicle light according to an exemplary embodiment.

[0076] Figure 3 The figure is a flow chart of an information transmission method according to an exemplary embodiment.

[0077] Figure 4 The figure is a flow chart of an information transmission method according to an exemplary embodiment.

[0078] Figure 5 The figure is a flowchart of a decoding stage in an information transmission process according to an exemplary embodiment.

[0079] Figure 6 The invention is a flowchart showing an encoding stage in an information transmission process according to an exemplary embodiment.

[0080] Figure 7 The present invention is a flowchart showing a detection phase in an information transmission process according to an exemplary embodiment.

[0081] Figure 8 The figure is a flowchart of a decoding stage in an information transmission process according to an exemplary embodiment.

[0082] Fig. 9 The invention is a block diagram of an information transmission device according to an exemplary embodiment. DETAILED DESCRIPTION

[0083] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described below by way of example do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.

[0084] To solve the above technical problems, the embodiments of the present disclosure provide an information transmission method, system and readable storage medium. The information transmission method can be applied to the information transmission system. Figure 1 The information transmission system provided in this embodiment includes: a matrix LED headlight 11, a memory 14, a processor 12 and at least one sensor 13. The processor 12 is electrically connected to each sensor 13, the memory 14 and the matrix LED headlight 11 respectively; the memory 14 is used to store a computer program executable by the processor; the matrix LED headlight 11 includes a coding area with adjustable light-on and light-off states of the lamp beads.

[0085] In this embodiment, the matrix LED lamp 11 includes a constant light area and a coding area. Figure 2 The always-on area 21 is arranged at the periphery of the matrix LED headlight, which can assume the lighting function of the headlight and facilitate the detection of the outer contour of the headlight in the target detection link. The coding area (21-28) is located inside the always-on area 21, and the on and off state of the lamp beads in the coding area can be used to transmit the initial information of the current vehicle.

[0086] Considering that the initial information includes the status information collected by at least one sensor, the coding area can be divided into multiple sub-areas according to the preset coding and decoding method, and the on and off state of the lamp beads in each sub-area can be used to transmit a kind of status information of the current vehicle. For example, vehicle speed data, vehicle command information, vehicle ID data, vehicle distance, vehicle position, and corresponding verification information when transmitting vehicle data, etc., can be set according to the specific scenario and are not limited here.

[0087] Continue to see Figure 2The matrix LED headlight 11 may include but is not limited to a vehicle speed area 21 (transmitting the speed data of the current vehicle), an instruction area 23 (transmitting the current vehicle steering, braking, warning lights and / or hazard lights and other states), a vehicle ID area 24 (transmitting the vehicle ID identification code, vehicle model and / or vehicle brand and other information), a distance area 25 (transmitting the distance to surrounding vehicles or the distance to surrounding obstacles, etc.), a time calibration area 26 (transmitting the time information of the current vehicle), a GPS information area 27 (transmitting the physical location of the current vehicle) and an error correction code area 28 (verification information of the current vehicle's coded data, such as the number of odd numbers during parity check (i.e., the number of 1s in binary data)).

[0088] It should be noted that Figure 2 Each square in the diagram represents the position of a lamp bead, and its value is 1 or 0. The numbers in each square refer to the area or sub-division number, which makes it easier to understand the division of the zoning.

[0089] Considering that the transmission process may cause deviations or recognition errors, in this embodiment, the same state information can be divided into multiple sub-areas, and the multiple sub-areas transmit the same value of the state information; the same state information is transmitted in a redundant manner. In the subsequent recognition process, the number of occurrences of each value of the same state information can be counted; then, the value corresponding to the maximum number of statistical times can be used as candidate information for the state information.

[0090] Taking speed data as an example, assuming that the coding area allocates 4 sub-areas for speed data, and the speed data of the above 4 sub-areas are 60, 60, 60 and 30 respectively, then the first value 60 of the speed data has a statistical number of 3, and the second value 30 has a statistical number of 1, and the value 60 with a maximum statistical number of 3 is used as candidate information for speed data. In this way, by transmitting the state information in a redundant manner, the accuracy of the transmitted information can be improved.

[0091] In one embodiment, the processor 12 may be implemented using one or more application specific integrated circuits (ASICs), digital information processors (DSPs), digital information processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components. On the basis of having computing capabilities or logic processing capabilities, the corresponding solutions fall within the protection scope of the present disclosure.

[0092] In one embodiment, at least one sensor 13 of the current vehicle may include but is not limited to a speedometer, a positioning device, a clock, and other information detection devices, and the corresponding sensor can be selected according to the specific scenario. The speedometer is used to detect the current speed of the vehicle, the positioning device is used to detect the real-time position of the vehicle, the clock is used to provide the time information of the vehicle, and other information detection devices can detect the status of the vehicle pedals or buttons, as well as the vehicle model and ID information. It is understandable that based on the scheme concept of the present disclosure, those skilled in the art can select the type of vehicle information according to the specific scenario, for example, they can also select the current remaining fuel or power, driving time, whether the driver is tired, whether the vehicle has an alarm, and other information, and the corresponding scheme falls within the protection scope of the present disclosure.

[0093] In one embodiment, the memory 14 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0094] In one embodiment, see Figure 1 , the information transmission system provided in this embodiment may also include: an image acquisition device 15. The image acquisition device 15 is electrically connected to the processor 12. The image acquisition device 15 can be implemented by a camera or a camera. In one example, the image acquisition device 15 can be implemented by a monocular camera. It is understandable that the image acquisition device 15 can be set in front of and / or behind the current vehicle, or even on the side of the current vehicle. The image acquisition device 15 can capture a video stream within the field of view at a preset frame rate; and transmit the video stream to the processor through the data bus, or store it in the memory through the data bus, and the processor reads the video stream from the memory. Afterwards, the processor can execute the information transmission method provided by the present disclosure, and extract the initial state of the vehicle in front of or behind the current vehicle from the video stream, that is, the state information collected by at least one sensor of the vehicle.

[0095] It should be noted that the information transmission system provided in this embodiment can adjust the layout according to the specific scenario. For example, the vehicle can be installed with some components of the information transmission system, such as the current vehicle can be configured with matrix LED lights, memory, processor and at least one sensor, but not with image acquisition equipment, that is, the vehicle only synchronizes its own vehicle information to the surrounding vehicles, such as the vehicle at the head of the team. For another example, the vehicle can be installed with some components of the information transmission system, such as the current vehicle can be configured with memory, processor and image acquisition equipment, but not with matrix LED lights, that is, the vehicle only receives the surrounding vehicle information and does not synchronize its own information to the surrounding vehicles, such as the vehicle at the end of the team. For another example, the vehicle can be installed with all components of the information transmission system, such as the current vehicle can be configured with memory, processor, image acquisition equipment and matrix LED lights, that is, the vehicle can synchronize its own vehicle information to the surrounding vehicles and can also receive vehicle information synchronized by other surrounding vehicles, such as the vehicle in the middle of the team. On the basis of being able to implement the scheme of the present disclosure, the corresponding improved scheme falls within the protection scope of the present disclosure.

[0096] The information transmission method provided by the embodiment of the present disclosure can be applied to the scenario where the current vehicle synchronizes its own vehicle information with other surrounding vehicles. Figure 3 , including steps 31 to 33.

[0097] In step 31, initial information to be encoded is obtained, wherein the initial information includes status information collected by various sensors on the current vehicle.

[0098] In this embodiment, the processor can obtain the initial information to be encoded. The processor can communicate with each sensor to receive the state information collected by each sensor; or each sensor can store the collected state information in a memory, and the processor reads the above state information from the memory. In each acquisition cycle, the processor can obtain the state information transmitted by all sensors to constitute the initial information to be encoded.

[0099] In step 32, the initial information is encoded according to a preset encoding and decoding method to obtain encoded information; the information bits of the encoded information are used to characterize the on and off states of the matching lamp beads in the encoding area of ​​the matrix LED headlight.

[0100] In this embodiment, the information transmission system can store a preset codec mode, which can be associated with the initial information to be encoded, such as setting the number and position of the sub-areas of the matrix LED headlight according to the length of each state information in the initial information, that is, the preset codec mode can match the layout of the sub-areas of the matrix LED headlight. In other words, the sub-areas of the matrix LED headlight can adjust the layout of the number and position of the sub-areas according to the shape of the matrix LED headlight, so the preset codec modes corresponding to the matrix LED headlights of different models can be stored, so as to improve the applicability of the solution and maximize the transmission of vehicle information.

[0101] Continue to see Figure 2 , when describing the sub-partitions of the matrix LED headlights, the preset encoding and decoding method is actually also described. The initial information is first encoded, and then converted into binary data to obtain the encoded data corresponding to the initial information. In other words, the initial information can be directly converted into binary data to obtain the encoded data corresponding to the initial information. In this way, the value of each information bit of the encoded data can represent the on and off state of the matching lamp beads in the coding area of ​​the matrix LED headlights. For example, when the information bit value is 1, it can indicate that the lamp beads need to be switched to the lit state; when the information bit value is 0, it can indicate that the lamp beads need to be switched to the off state. In other words, each information bit of the encoded data can be used to characterize the on and off state of the matching lamp beads in the coding area of ​​the matrix LED headlights.

[0102] In this embodiment, when the initial information of the current vehicle is acquired, the processor may encode the initial information according to the above-mentioned preset encoding and decoding method to obtain the encoded information.

[0103] In step 33, the on / off state of each lamp bead in the coding area is adjusted according to the coding information.

[0104] In this embodiment, the processor can obtain the value of each information bit of the coding information. When the value of the information bit is 1, the lamp bead is controlled to switch to the lighting state; when the value of the information bit is 0, the lamp bead is controlled to switch to the off state, thereby achieving the effect of adjusting the lighting state of each lamp bead in the coding area.

[0105] In one example, the processor can control the lamp beads in the constant-light area of ​​the matrix LED headlights to remain lit, thereby achieving the effect of providing lighting and indicating the outline of the headlights.

[0106] At this point, in this embodiment, the initial information of the vehicle is transmitted by the on and off status of the lamp beads in the matrix LED lamp, which is convenient for obtaining the above initial information in a visual manner, does not require a communication network and is not subject to surrounding electromagnetic interference, thereby improving transmission security.

[0107] In one embodiment, an information transmission method provided by the embodiment of the present disclosure can be applied to a scenario where a current vehicle obtains vehicle information of other surrounding vehicles. Figure 4 , an information transmission method includes steps 41 to 43.

[0108] In step 41, the video frames of the video stream are identified and processed to obtain candidate video frames containing the matrix LED headlights.

[0109] In this embodiment, the image acquisition device of the current vehicle can capture the video within the field of view angle range, and send the video stream to the processor or store it in the memory. The processor can directly obtain the above video stream or obtain it from the memory. Then, the processor can recognize and process the video frames of the video stream.

[0110] Taking the taillights as an example, considering that the taillights are usually red, the outer contour of the color area in the video frame can be extracted, and then the shape and size of the outer contour can be used to determine whether it is a matrix LED headlight. Alternatively, the processor can call a pre-trained target detection network (such as a YOLO network) and use the target detection network to identify the area occupied by the matrix LED headlights in the video frame. Then, the processor can discard the video frame that does not contain the matrix LED headlights and obtain the candidate video frame that contains the matrix LED headlights.

[0111] In step 42, the candidate video frame is cropped to obtain a target image including the matrix LED headlight.

[0112] In this embodiment, the processor may perform cropping processing on the candidate video frame to remove the area outside the matrix LED headlights in the candidate video frame to obtain a target image including the matrix LED headlights.

[0113] It should be noted that the area occupied by the matrix LED headlights in the candidate video frame may be small, such as the ratio of the area of ​​the matrix LED headlights to the area of ​​the candidate video frame is less than or equal to the set ratio, and the set ratio is, for example, 1% to 15%. In this case, the processor can use the transmission transformation method to enlarge the area occupied by the matrix LED headlights, and then perform a cropping process to obtain a target image of a reasonable size.

[0114] In step 43, the contour of each lamp bead in the target image is extracted to obtain the coordinate data of the center point of each lamp bead.

[0115] Considering the usage of vehicle lights, the lamp beads in the always-on area of ​​the matrix LED headlights are displayed in red, the brightness of the center of the lamp beads in the video frame is higher and displayed in white, and the surrounding area is red. Based on the display characteristics of the always-on lamp beads in the video frame, the inventive concept of this embodiment is to first determine the always-on lamp beads in the video frame to determine the outline of the matrix LED headlight or the outline of the coding area. Based on the outline of the coding area, the on and off status of each lamp bead in the coding area is identified to achieve the decoding effect.

[0116] In this embodiment, the processor can extract the outline of each lamp bead in the target image. The processor converts the target image in RGB format into an intermediate image in HSV format. The HSV format includes three components: hue H, saturation S, and brightness V, and the three components are different for different colors. In this embodiment, the red and white areas in the intermediate image are extracted. Among them, the H component of the red area is a red hue, and the S component and the V component have larger values; the H component of the white area is a white hue, the S component is smaller and the V component is larger. In this way, in this embodiment, the component thresholds of the H component, S component, and V component of the red area and the white area can be pre-set to achieve binarization; if the values ​​of the H, S, and V components of a pixel point are within the threshold range, the pixel point is set to white, otherwise it is set to black, thereby forming a frame of binary image to extract the outline of the lamp bead.

[0117] In this embodiment, when there are noise points in the binary image, the processor may use a dilation and corrosion operation to remove the noise points that may exist in the binary image. The dilation and corrosion operation can be referred to in the related art and will not be described in detail here.

[0118] In this embodiment, the processor can find the contours of all red areas, for example, by comparing the colors of the pixels, or by using the cv2.findContours function in the OpenCV library; then, the processor can calculate the zero-order moment of all red areas, that is, the area of ​​each red area, and find the red area with the largest area as the headlight contour, and take the convex hull of the headlight contour as the updated headlight contour, thereby identifying the lamp beads located in the corners.

[0119] In this embodiment, the processor can obtain the outlines of all white areas in the binary image to obtain candidate white outlines. It is understandable that the candidate white outlines may be noise, and not all of them are lamp beads. Then, the processor can determine whether each white area (or the outline of the white area) is within the outline of the headlight. When the white area is within the outline of the headlight, the zero-order moment (i.e., area) and first-order moment (used to determine the extent of its extension in the x-axis and y-axis directions) of the white area are calculated. The processor can obtain the median of the zero-order moment of all white areas within the outline of the headlight, and obtain the median of the first-order moment of all white areas within the outline of the headlight. Finally, the processor can compare the zero-order moment difference of the zero-order moment of each white area within the outline of the headlight with the median of the zero-order moment, and eliminate the white area if the zero-order moment difference (the absolute value) is greater than or equal to a first preset threshold (such as the median * the first coefficient, the value range of the first coefficient is 0.2 to 2.5); and, the processor can compare the first-order moment difference of the first-order moment of each white area within the outline of the headlight with the median of the first-order moment, and eliminate the white area if the first-order moment difference (the absolute value) is greater than or equal to a second preset threshold (such as the median * the second coefficient, the value range of the second coefficient is 0.2 to 2.5), and finally use the remaining white areas as lamp beads.

[0120] It should be noted that, in this embodiment, the first-order moment can be used to identify the shape of the lamp bead to ensure that the lamp bead is round, avoid the long white area of ​​the same area from being mistakenly identified as a lamp bead, and improve the recognition accuracy.

[0121] It should be noted that the purpose of using the median as the reference object in this embodiment is that most of the white contours in the binary image are lamp beads that we want to identify, and a small part is interference noise caused by lights and other reasons. Therefore, the median of the zero-order moment can be used to screen out white areas with matching areas from the area perspective, and the median of the first-order moment can be used to screen out white areas with suitable shape matching from the shape perspective, thereby accurately screening out white areas that can be used as reference objects, and the white areas are most likely lamp beads.

[0122] In this embodiment, after determining the position of each white area, the processor can determine the coordinates of the lamp beads located on the edge contour of the binary image and the center point of each lamp bead, that is, determine the always-on area; accordingly, the coding area located inside the always-on area can be synchronously determined.

[0123] It should be noted that when the coded area is not completely within the always-on area, the lamp beads in the always-on area can be set with a preset mark. For example, the brightness of the lamp beads at the corners of the always-on area exceeds the preset brightness threshold, or the shape of the lamp beads at the corners is set to an irregular shape (such as a square), or the five lamp beads centered on the lamp beads at the corners of the always-on area are always on, etc., or some of the lamp beads in the always-on area are set at the corners of the matrix LED car lights, and the vertex of the always-on area is determined by the brightness, shape or on and off of the surrounding lamp beads, and then the outline of the always-on area and / or the matrix LED car lights is determined. It is understandable that in the case where the outline of the always-on area and / or the matrix LED car lights can be identified, the corresponding scheme falls within the protection scope of the present disclosure.

[0124] In step 44, the matrix LED headlight is divided into grids to determine the position of each light bead in the matrix LED headlight.

[0125] In this embodiment, after determining the center point coordinates of each lamp bead, the processor can divide the matrix LED car light into a grid, divide the lamp beads into rows or columns according to the layout of the lamp beads, and determine the position of each lamp bead in the lit state in the matrix LED car light.

[0126] In step 45, a set of binary data according to the arrangement of the matrix LED headlights is obtained as coding information.

[0127] In this embodiment, the processor forms an initial matrix according to the arrangement of the lamp beads in the matrix LED headlight, sets the area where the lamp beads in the initial matrix are lit to 1 and sets the area where the lamp beads in the extinguished state are 0, and obtains a target matrix containing binary data. Then, verification information is added to the target matrix as encoding information.

[0128] In one embodiment, after obtaining the encoded information, the processor may decode the encoded information to obtain decoded information, see Figure 5 , including steps 51 to 53.

[0129] In step 51, information bits are read from various positions in the coded information according to the preset coding and decoding method to obtain initial information; the initial information includes verification information and multiple values ​​of various status information.

[0130] In step 52, for each state information of the initial information, candidate information corresponding to the initial information is determined from multiple values ​​of the state information.

[0131] In this embodiment, the processor can read the status information of each sub-partition of the coded information according to the preset coding and decoding method. Taking into account the redundant design of each state information, the processor can obtain multiple values ​​of each state information, for example, the speed data are 60, 60, 60 and 30 respectively. Then, the processor can count the number of times each value of the same state information appears, and determine the value corresponding to the maximum number of statistics as the candidate information of the state information. For example, the first value 60 of the speed data has a statistical number of 3, and the second value 30 has a statistical number of 1, then the value 60 with a maximum statistical number of 3 is used as the candidate information of the speed data. In this way, by transmitting the state information in a redundant manner, the accuracy of the transmitted information can be improved.

[0132] In step 53, in response to the candidate information passing the verification of the verification information, it is determined that the candidate information is decoding information; in response to the candidate information failing to pass the verification of the verification information, it is determined that the current decoding is erroneous.

[0133] In this embodiment, the processor verifies the candidate information using the verification information. When the candidate information passes the verification, it is determined that the candidate information is the decoded information, that is, the initial information around the current vehicle; when the candidate information fails the verification, it is determined that the decoding is wrong.

[0134] At this point, in this embodiment, a video stream of the on and off status of the lamp beads in the matrix LED headlights is obtained in a visual manner, and the initial information transmitted by the surrounding vehicles is finally obtained. No communication network is required and it is not affected by surrounding electromagnetic interference, thereby improving transmission security.

[0135] The following describes an information transmission method provided by the present disclosure in conjunction with a flow chart, including:

[0136] 1. Coding stage

[0137] In the encoding stage, the status information obtained by various sensors, that is, the vehicle information of the vehicle, is presented in the encoding area by controlling the on and off status of each LED lamp bead in the matrix LED headlight.

[0138] See also Figure 6 and Figure 2 , the encoding process includes:

[0139] 61. The vehicle's processor obtains the vehicle's status information from various sensors. Multiple status information constitute the vehicle's initial information, that is, the vehicle's initial information is obtained.

[0140] 62. Perform binary encoding on the initial information according to a preset encoding and decoding method (corresponding to the preset encoding and decoding method of the above embodiment).

[0141] 63. Arrange the encoded data into the arrangement data of the lamp bead array specification in the encoding area. Figure 2 Taking a 16*16 LED light strip as an example, the outermost circle of lamp beads constitutes the always-on area, and the number of lamp beads in the coding area is 14*14. In this way, the encoded data needs to be arranged into a two-dimensional list of 14 rows and 14 columns.

[0142] 64. Control the matrix LED car lights and determine the on and off state of each lamp bead according to the arrangement data. The lamp beads in the constant light area always remain on; the coding area determines the on or off state of each lamp bead according to the above arrangement data.

[0143] The solution of this embodiment can use visible light for communication. This communication scenario has high security, is not subject to electromagnetic interference, and is not easily attacked by malicious users.

[0144] 2. Detection Phase

[0145] The detection phase refers to the process of collecting images and identifying the transmitted binary data by visual means when the matrix LED lights of the vehicles around the current vehicle emit visible light. Figure 7 ,include:

[0146] 71. Get the video stream captured by the camera.

[0147] 72. When the video frames of the video stream are distorted (such as twisting, tilting or rotating, etc.), the video frames can be subjected to distortion correction processing.

[0148] 73. Detecting whether there are matrix LED headlights in the video frame is to perform target detection on the matrix LED headlights. In one example, considering that the color of the vehicle is usually red, the outer contour of the headlight color area in the video frame can be extracted first. For example, the taillights are usually set to be generally red. When detecting the taillights, the outer contours of all red areas can be extracted, and then the shape, size and other properties of the above contours can be used to determine whether it is a headlight. In another example, a pre-trained target detection network can be called, and the video frame can be input into the target detection network to obtain a video frame containing matrix LED headlights. That is, the candidate video frame of the above embodiment.

[0149] 74. In some examples, it is determined whether the vehicle headlight area in the candidate video frame is too small.

[0150] 75. When the area occupied by the detected matrix LED headlights is less than or equal to a preset area threshold, the matrix LED headlights are magnified using transmission transformation to obtain candidate video frames.

[0151] 76. Extract the outline of each lamp bead in the matrix LED headlight. Since the color of the center of the lamp bead in the candidate video frame is different from the color of the edge of the light strip, taking the red LED lamp bead as an example, the center of the lamp bead is close to white and the edge area is red, so all the lamp beads can be found by extracting the outer contour of the center color of the lamp bead. Find the lamp beads located in the always-on area of ​​the matrix LED headlight, and determine the coordinates of the center point of each lamp bead in the always-on area;

[0152] 77. Divide the matrix LED car lights into grids and determine the position of each lamp bead in the matrix LED car lights.

[0153] 78. Output a set of binary data arranged according to the lamp bead array specifications of the coding area of ​​the matrix LED lamp as the detection result.

[0154] The solution of this embodiment facilitates the use of vision to realize vehicle information transmission without the need for a communication network, which can increase the scope of application, especially in remote areas and in extreme special situations (such as natural disasters, etc.) where there is no communication environment.

[0155] 3. Decoding stage

[0156] The decoding stage uses the output data of the above detection stage as input data, that is, binary data or a binary matrix, and then decodes the above detection results according to the preset encoding and decoding method. Figure 8 ,include:

[0157] 81. Decode the transmitted status information from each position of the coding area according to the binary coding rule, that is, the above-mentioned preset coding and decoding method; each status information includes multiple values.

[0158] 82. Determine whether the decoded information is correct based on the redundant information and give the decoding result. Taking speed information as an example, assuming that there are 4 regions expressing speed information, the actual speed value is 60, and the speed values ​​decoded from the 4 regions are 60, 60, 60 and 30 respectively, then the value 60 corresponding to the maximum number of statistics is taken as the speed data.

[0159] 83. Determine whether the decoding result is correct based on the error correction code.

[0160] 84. If it is incorrect, an error will be reported.

[0161] 85. If correct, it is determined that the initial information of the vehicles around the current vehicle is received.

[0162] For example, the actual speed is represented by binary as 100100, and the headlight transmits 6 actual speeds at the same time; after the above scheme is used for identification and detection, 6 speed detection results are obtained, which are represented by binary as follows: 100100, 100100, 110100, 110100, 110100, 110100 and 110100. It can be understood that the difference in the above 6 speed detection results is usually caused by the error of the lamp bead detection, and the probability of occurrence in practical applications is small. With the maximum number of statistical times being 4, the speed detection result determined is 110100. Then, the error correction code is used for parity check to determine that the number of "1" in the actual speed should be an even number, while the number of "1" in the above decoding result is an odd number, that is, the above decoding result 110100 is wrong, and the second largest value of the statistical times is taken from the remaining data to obtain the correct result 100100. This embodiment is conducive to reducing the bit error rate of information transmission by setting redundant information and error correction functions.

[0163] Based on an information transmission method provided in an embodiment of the present disclosure, an information transmission device is also provided in an embodiment of the present disclosure. Fig. 9 , the device comprises: an initial information acquisition module 91, used to acquire initial information to be encoded, the initial information comprising status information collected by various sensors on the current vehicle;

[0164] The coding information acquisition module 92 is used to encode the initial information according to a preset coding and decoding method to obtain coding information; the information bits of the coding information are used to characterize the on and off states of the matching lamp beads in the coding area of ​​the matrix LED lamp;

[0165] The on / off state adjustment module 93 is used to adjust the on / off state of each lamp bead in the coding area according to the coding information.

[0166] In one embodiment, the device further comprises:

[0167] A candidate frame acquisition module, used for identifying and processing the video frames of the video stream to obtain candidate video frames containing the matrix LED headlights;

[0168] A target image acquisition module, used for cropping the candidate video frame to obtain a target image including the matrix LED headlight;

[0169] A coordinate data acquisition module is used to extract the outline of each lamp bead in the target image and obtain the coordinate data of the center point of each lamp bead;

[0170] A lamp bead position determination module, used to divide the matrix LED headlight into grids and determine the position of each lamp bead in a lit state in the matrix LED headlight;

[0171] The coding information acquisition module is used to acquire a set of binary data according to the arrangement of the matrix LED headlights as coding information.

[0172] In one embodiment, the coordinate data acquisition module includes:

[0173] An intermediate image acquisition unit, used for performing format conversion on the target image to obtain an intermediate image in HSV format;

[0174] A binary image acquisition unit, used for performing a binary process on the intermediate image to obtain a binary image;

[0175] A white area contour acquisition unit, used to acquire contours of all white areas in the binary image to obtain candidate white contours;

[0176] A contour moment acquisition unit, configured to acquire a zero-order moment and a first-order moment of a region where the candidate white contour is located in response to the candidate white contour being located within the contour of the vehicle light;

[0177] a moment difference value obtaining unit, used to obtain a zero-order moment difference value between a zero-order moment of the region where the candidate white contour is located and a median of the zero-order moment, and to obtain a first-order moment difference value between a first-order moment of the region where the candidate white contour is located and a median of the first-order moment;

[0178] The lamp bead coordinate acquisition unit is used to determine the center point coordinate data of the area where the candidate white contour is located as the coordinate data of the center point of each lamp bead in response to the zero-order moment difference value being less than the first preset threshold and the first-order moment difference value being less than the second preset threshold.

[0179] In one embodiment, the device further comprises:

[0180] An initial information acquisition module, used to read information bits from various positions in the coded information according to the preset coding and decoding method to obtain initial information; the initial information includes multiple values ​​of verification information and various state information;

[0181] A candidate information acquisition module, configured to determine, for each state information of the initial information, candidate information corresponding to the initial information from multiple values ​​of the state information;

[0182] The candidate information verification module is used to determine that the candidate information is decoding information in response to the candidate information passing the verification information verification; and determine that the current decoding is wrong in response to the candidate information failing the verification information verification.

[0183] In one embodiment, the candidate information acquisition module includes:

[0184] A statistical number acquisition unit, used to acquire the statistical number of occurrences of each value of the same state information in the initial information;

[0185] The candidate information acquisition unit is used to determine the value corresponding to the maximum statistical number as the candidate information of the state information.

[0186] In one embodiment, the on-off state adjustment module is further used to control the lamp beads in the constant-on area of ​​the matrix LED vehicle light to remain in the on state.

[0187] It should be noted that the system embodiment shown in this embodiment matches the content of the above-mentioned method embodiment. You can refer to the content of the above-mentioned method embodiment, which will not be repeated here.

[0188] The embodiment of the present disclosure further provides a computer-readable storage medium, and when an executable computer program in the storage medium is executed by a processor, the above method can be implemented.

[0189] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. An information transmission method, characterized in that: The method comprises: Acquire initial information to be encoded, the initial information including status information collected by various sensors on the current vehicle; The initial information is encoded according to a preset encoding and decoding method to obtain encoded information; the information bits of the encoded information are used to characterize the on and off states of matching lamp beads in the encoding area of ​​the matrix LED lamp; The on / off state of each lamp bead in the coding area is adjusted according to the coding information.

2. The method according to claim 1, characterized in that The method further comprises: Performing recognition processing on the video frames of the video stream to obtain candidate video frames containing the matrix LED headlights; Performing cropping processing on the candidate video frame to obtain a target image including the matrix LED headlight; Extract the outline of each lamp bead in the target image to obtain the coordinate data of the center point of each lamp bead; Divide the matrix LED headlight into a grid, and determine the position of each light bead in the matrix LED headlight; A set of binary data according to the arrangement of the matrix LED headlights is obtained as coding information.

3. The method according to claim 2, characterized in that Extract the outline of each lamp bead in the target image to obtain the coordinate data of the center point of each lamp bead, including: Performing format conversion on the target image to obtain an intermediate image in HSV format; Performing binarization processing on the intermediate image to obtain a binarized image; Obtaining the contours of all white areas in the binary image to obtain candidate white contours; In response to the candidate white contour being within the vehicle light contour, obtaining a zero-order moment and a first-order moment of a region where the candidate white contour is located; Obtain a zero-order moment difference value between a zero-order moment of the region where the candidate white contour is located and a median of the zero-order moment, and obtain a first-order moment difference value between a first-order moment of the region where the candidate white contour is located and a median of the first-order moment; In response to the zero-order moment difference being less than a first preset threshold and the first-order moment difference being less than a second preset threshold, the center point coordinate data of the region where the candidate white contour is located is determined as the coordinate data of the center point of each lamp bead.

4. The method according to claim 2, characterized in that: The method further comprises: Read information bits from various positions in the coded information according to the preset coding and decoding method to obtain initial information; the initial information includes verification information and multiple values ​​of various status information; For each state information of the initial information, determining candidate information corresponding to the initial information from multiple values ​​of the state information; In response to the candidate information passing the verification of the verification information, determining that the candidate information is decoding information; in response to the candidate information failing to pass the verification of the verification information, determining that this decoding is an error.

5. The method according to claim 4, characterized in that Determining candidate information corresponding to the initial information from multiple values ​​of the state information includes: Obtaining the statistical number of occurrences of each value of the same state information in the initial information; A value corresponding to the maximum number of statistics is determined as candidate information for the state information.

6. The method according to claim 1, characterized in that The method further comprises: Control the lamp beads in the constant-light area of ​​the matrix LED vehicle lamp to remain lit.

7. An information transmission method, characterized in that: The method comprises: Recognize and process the video frames of the video stream to obtain candidate video frames containing matrix LED headlights; Performing cropping processing on the candidate video frame to obtain a target image including the matrix LED headlight; Extract the outline of each lamp bead in the target image to obtain the coordinate data of the center point of each lamp bead; Divide the matrix LED headlight into a grid, and determine the position of each light bead in the matrix LED headlight; A set of binary data according to the arrangement of the matrix LED headlights is obtained as coding information.

8. An information transmission system, characterized in that: The system comprises a matrix LED headlight, a memory, a processor and at least one sensor; the processor is electrically connected to each sensor, the memory and the matrix LED headlight respectively; the memory is used to store a computer program executable by the processor; the matrix LED headlight comprises a coding area in which the on and off state of the lamp beads can be adjusted; Each sensor is used to collect status information of the current vehicle to obtain initial information of the current vehicle, wherein the initial information includes status information collected by each sensor on the current vehicle; The processor is configured to execute the computer program in the memory to implement the method according to claim 1 according to the initial information.

9. The system according to claim 8, characterized in that The matrix LED headlight also includes a constantly lit area where the lamp beads remain in a constantly lit state; the constantly lit area is used to provide lighting functions for the current vehicle and indicate the outline of the matrix LED headlight.

10. The system according to claim 8, characterized in that The system further comprises an image acquisition device, wherein the image acquisition device is electrically connected to the processor; The image acquisition device is used to acquire a video stream around the current vehicle; The processor is used to implement the method according to any one of claims 2 to 6 according to the video stream.

11. A computer-readable storage medium, characterized in that: When the executable computer program in the storage medium is executed by a processor, the method according to any one of claims 1 to 6 can be implemented.

Citation Information

Cited By

  • Distributed matrix car lamp intelligent control system

    CN121822285A

  • A matrix car lamp intelligent control system based on distribution

    CN121822285B