Communication Authentication Method, Device, Electronic Device and Storage Medium for Road-Side Equipment
By obtaining the identification and feature information of roadside equipment for multi-dimensional authentication, the problem that vehicles cannot authenticate roadside equipment is solved, communication security is ensured, and safety hazards caused by unauthenticated equipment are avoided.
Patent Information
- Application Number
- CN202311282754.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2043-09-28
AI Technical Summary
Vehicles are unable to authenticate roadside equipment, which leads to safety hazards, especially when receiving tampering information from camouflaged roadside equipment, which may lead to traffic accidents.
By analyzing roadside information, obtaining the identification information of the device and the device feature information, and using sensors on the vehicle for multi-dimensional identity authentication, ensuring that only roadside equipment that passes identity authentication can establish communication connections with the vehicle.
Accurate identity authentication of roadside equipment is realized, safety hazards caused by single-dimensional authentication are avoided, and the vehicle communicates with roadside equipment that has passed the certification is improved, which is a better traffic safety.
Smart Images

Figure CN117336719B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data transmission, and in particular to a communication authentication method, device, electronic device and storage medium for roadside equipment. Background Art
[0002] At present, the concept of Internet of Vehicles is gradually being recognized by people. The concept of Internet of Vehicles comes from the Internet of Things, that is, the Internet of Vehicles. It takes the moving vehicles as the information perception object, and uses the new generation of information and communication technology to realize the network connection between the vehicle and X (that is, the vehicle and the vehicle, the person, the road, and the service platform), improve the overall intelligent driving level of the vehicle, and provide users with safe, comfortable, intelligent, and efficient driving experience and traffic services. At the same time, it improves the efficiency of traffic operation and the intelligence level of social transportation services. Furthermore, to realize the future of unmanned driving, Internet of Vehicles technology is the key.
[0003] In related technologies, the vehicle is equipped with a V2X (vehicle to everything, i.e., information exchange between the vehicle and the outside world) function to achieve network connection between the vehicle and X. The V2X function is equipped with advanced on-board sensors, controllers, actuators and other devices, and integrates modern communication and network technologies. It has complex environmental perception, intelligent decision-making, collaborative control and execution functions to achieve safe, comfortable, energy-saving and efficient driving. It is a key technology for realizing communication between the vehicle and the outside world in the Internet of Vehicles.
[0004] When a vehicle is connected to a roadside device via V2X, the roadside device can transmit information about the status of traffic lights, weather, and road congestion through V2X communication, helping the vehicle to obtain information about traffic lights, weather, and road congestion, thereby reducing traffic jams and accidents. However, in related technologies, before a vehicle conducts V2X communication with a roadside device, the vehicle cannot authenticate the roadside device. If a disguised roadside device appears and sends tampered roadside information to the vehicle, the vehicle may drive according to the tampered information, which may result in a traffic accident and pose a safety hazard. Summary of the invention
[0005] In view of this, the embodiments of the present application provide a communication authentication method, device, electronic device and storage medium for roadside equipment to solve the problem in the prior art that vehicles are unable to authenticate roadside equipment, resulting in safety hazards.
[0006] In the first aspect of the embodiments of the present application, a communication authentication method for roadside devices is provided. The method includes: if roadside information sent by an unauthenticated roadside device is received, parsing the roadside information to obtain the identification information corresponding to the roadside device; parsing the roadside device based on the sensors on the vehicle to obtain the device feature information corresponding to the roadside device; performing identity authentication on the roadside device according to the identification information and the device feature information; if the identity authentication result of the roadside device is that the identity authentication is passed, enabling the communication permission between the roadside device and the vehicle.
[0007] In the second aspect of the embodiments of the present application, a communication authentication device for roadside devices is provided. The device includes: an identification module, configured to parse the roadside information to obtain the identification information corresponding to the roadside device if the roadside information sent by an unauthenticated roadside device is received; a feature module, configured to parse the roadside device based on the sensors on the vehicle to obtain the device feature information corresponding to the roadside device; an authentication module, configured to perform identity authentication on the roadside device according to the identification information and the device feature information; a communication module, configured to enable the communication permission between the roadside device and the vehicle if the identity authentication result of the roadside device is that the identity authentication is passed.
[0008] In the third aspect of the embodiments of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above method are implemented.
[0009] In the fourth aspect of the embodiments of the present application, a storage medium is provided. The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0010] The beneficial effects of the embodiments of the present application compared with the prior art are as follows: In the examples of the present application, if the roadside information sent by an unauthenticated roadside device is received, the roadside information is parsed to obtain the identification information corresponding to the roadside device; the roadside device is parsed based on the sensors on the vehicle to obtain the device feature information corresponding to the roadside device; identity authentication is performed on the roadside device according to the identification information and the device feature information; if the identity authentication result of the roadside device is that the identity authentication is passed, the communication permission between the roadside device and the vehicle is enabled. Among them, identity authentication is performed on the roadside device through the identification information and the device feature information, realizing identity authentication of the roadside device based on multi-dimensional information, avoiding the problem that the vehicle performs identity authentication on the roadside device only through the identification information or the device feature information, resulting in inaccurate identity authentication and potential safety hazards. After the identity authentication result of the roadside device is that the identity authentication is passed, the communication permission between the roadside device and the vehicle is enabled, so that the roadside devices communicating with the vehicle are all devices that have passed identity authentication, avoiding the problem in the related art that the vehicle cannot authenticate the roadside device and directly communicates with the roadside device, resulting in potential safety hazards. Brief Description of the Drawings
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0012] Figure 1 It is a schematic flowchart of a communication authentication method for a roadside device provided by an embodiment of the present application;
[0013] Figure 2 It is a schematic flowchart of another communication authentication method for a roadside device provided by an embodiment of the present application;
[0014] Figure 3 It is a schematic flowchart of yet another communication authentication method for a roadside device provided by an embodiment of the present application;
[0015] Figure 4 It is a schematic flowchart of still another communication authentication method for a roadside device provided by an embodiment of the present application;
[0016] Figure 5 It is a schematic flowchart of still another optional communication authentication method for a roadside device provided by an embodiment of the present application;
[0017] Figure 6 It is a schematic flowchart of another optional communication authentication method for a roadside device provided by an embodiment of the present application;
[0018] Figure 7 It is a schematic flowchart of still another optional communication authentication method for a roadside device provided by an embodiment of the present application;
[0019] Figure 8 It is a schematic structural diagram of a communication authentication device for a roadside device provided by an embodiment of the present application;
[0020] Figure 9 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed Embodiments
[0021] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present application.
[0022] The following will describe in detail a communication authentication method and device for a roadside device according to an embodiment of the present application in conjunction with the accompanying drawings.
[0023] Figure 1 This is a communication authentication method for a roadside device provided by an embodiment of the present application. As Figure 1 shown, the method includes:
[0024] S101: If roadside information sent by an unauthenticated roadside device is received, parse the roadside information to obtain the identification information corresponding to the roadside device;
[0025] S102: Based on the sensors on the vehicle, parse the roadside device to obtain the device feature information corresponding to the roadside device;
[0026] S103: According to the identification information and the device feature information, perform identity authentication on the roadside device;
[0027] S104: If the identity authentication result of the roadside device is that the identity authentication is passed, open the communication permission between the roadside device and the vehicle.
[0028] Specifically, the communication authentication method for the roadside device provided in this example is applied to a vehicle. The above vehicle includes vehicles with autonomous driving or intelligent driving functions (including manned vehicles (such as sedans, buses, large buses, minibuses, etc.), cargo vehicles (such as ordinary trucks, van trucks, trailer trucks, enclosed trucks, tank trucks, flatbed trucks, container trucks, dump trucks, special structure trucks), special vehicles (such as logistics distribution vehicles, automatic guided vehicles AGV, patrol vehicles, cranes, hoists, excavators, bulldozers, forklifts, rollers, loaders, off-road engineering vehicles, armored engineering vehicles, sewage treatment vehicles, sanitation vehicles, vacuum cleaners, floor scrubbers, sprinkler trucks, floor sweeping robots, food delivery robots, shopping guide robots, lawn mowers, golf carts, etc.), vehicles with entertainment functions (such as entertainment vehicles, amusement park autonomous driving devices, segways, etc.), rescue vehicles (such as fire trucks, ambulances, power repair vehicles, engineering rescue vehicles, etc.)), etc. It can be understood that the above vehicles are provided with V2X functions. The on-vehicle sensors, controllers, actuators and other devices specifically carrying the V2X functions can be flexibly selected by relevant personnel according to actual needs. This embodiment does not limit this.
[0029] In some examples, when the vehicle receives roadside information, it first determines whether the roadside device that sent the roadside information is authenticated. If the roadside device that sent the roadside information is not authenticated, it parses the roadside information to obtain the identification information corresponding to the roadside device. This embodiment does not limit the step of determining whether the roadside device that sent the roadside information is authenticated. In some examples, the vehicle determines whether the roadside device is authenticated by determining whether the authentication result is included in the roadside information sent by the roadside device. If the authentication result is included in the roadside information, the roadside device that sent the roadside information is authenticated; if the authentication result is not included in the roadside information, the roadside device that sent the roadside information is not authenticated. In some examples, a roadside device authentication table is set in the vehicle. When the vehicle receives the roadside information sent by any roadside device, it directly parses the roadside information of the roadside device to obtain the identification information corresponding to the roadside device, and then compares the identification information of the roadside device with the identification information stored in the roadside device authentication table. If the identification information of the roadside device is not stored in the roadside device authentication table, the vehicle determines that the roadside device is an unauthenticated roadside device. It can be understood that this embodiment does not limit the method of determining whether the roadside device is authenticated.
[0030] In some examples, if the vehicle receives the roadside information sent by an unauthenticated roadside device, it parses the roadside information to obtain the identification information corresponding to the roadside device. Among them, the above identification information includes, but is not limited to: one of unique identification information, digital certificate, digital signature, MAC address, IMEI number, device serial number, MEID number, etc.; it can be understood that different roadside devices and application scenarios may adopt different identification information, and the main function of the identification information is to ensure that the identity of the roadside device is trustworthy in communication. Therefore, relevant personnel can select the identification information according to actual needs.
[0031] It can be understood that if the identification information corresponding to the roadside device cannot be obtained by parsing the roadside information, the subsequent process is directly exited; if the identification information corresponding to the roadside device is obtained by parsing the roadside information, steps S102 to S104 are executed.
[0032] In some examples, in step S102, the vehicle parses the roadside device based on the sensors set on the vehicle to obtain the device feature information corresponding to the roadside device. The above sensors include, but are not limited to: communication sensors and shooting sensors. Among them, each sensor is used to obtain information in different dimensions, so that the device feature information obtained by the vehicle includes at least two different dimensions of information, making the device feature information obtained by the vehicle more comprehensive.
[0033] In step S103, after the vehicle obtains the identification information and the device feature information, based on the identification information and the device feature information, the vehicle performs identity authentication on the roadside device, realizing identity authentication of the roadside device based on multi-dimensional information, and avoiding the problem that the vehicle performs identity authentication on the roadside device through the identification information or the device feature information, resulting in inaccurate identity authentication and potential safety hazards.
[0034] It can be understood that the specific method of performing identity authentication on the roadside device based on the identification information and the device feature information will be described in detail in the following embodiments of this example, and will not be elaborated here.
[0035] Among them, if the identity authentication result of the roadside device is that the identity authentication fails, it means that the roadside device may be a disguised device. At this time, the roadside information sent by the roadside device is ignored, and the location information of the roadside device is reported to the server. When the server obtains the reported information, it notifies the relevant personnel to process the roadside device (such as investigation, removal, etc.), further avoiding potential safety hazards.
[0036] In some examples, if the identity authentication result of the roadside device is that the identity authentication passes, the vehicle enables the communication permission between the roadside device and the vehicle. At this time, the vehicle can establish a communication connection with the roadside device and receive the roadside information sent by the roadside device for communication connection.
[0037] According to the technical solution provided by the embodiment of the present application, if the roadside information sent by an unauthenticated roadside device is received, the identification information corresponding to the roadside device is parsed from the roadside information; the device feature information corresponding to the roadside device is obtained by parsing the roadside device based on the sensors on the vehicle; the roadside device is authenticated based on the identification information and the device feature information; if the identity authentication result of the roadside device is that the identity authentication passes, the communication permission between the roadside device and the vehicle is enabled. Among them, by using the identification information and the device feature information to authenticate the roadside device, identity authentication of the roadside device based on multi-dimensional information is realized, avoiding the problem that the vehicle authenticates the roadside device only through the identification information or the device feature information, resulting in inaccurate identity authentication and potential safety hazards. After the identity authentication result of the roadside device is that the identity authentication passes, the communication permission between the roadside device and the vehicle is enabled, so that the roadside devices communicating with the vehicle are all devices that have passed the identity authentication, avoiding the problem in the related art that the vehicle cannot authenticate the roadside device and directly establishes a communication connection with the roadside device, resulting in potential safety hazards.
[0038] In some embodiments, as Figure 2 shown, obtaining the device feature information corresponding to the roadside device by parsing the roadside device based on the sensors on the vehicle includes:
[0039] S201. Based on the communication sensors on the vehicle, obtain the behavior pattern of the roadside device sending roadside information;
[0040] S202. Based on the shooting sensors on the vehicle, shoot the roadside device to obtain the physical characteristics of the roadside device;
[0041] S203. According to the physical characteristics and the behavior pattern, determine the device characteristic information corresponding to the roadside device.
[0042] Specifically, communication sensors are provided on the vehicle. Through these communication sensors, the vehicle can monitor the roadside device, thereby obtaining the behavior pattern of the roadside device sending roadside information, and further obtaining the data characteristics of the roadside device in the data sending dimension.
[0043] It can be understood that this embodiment does not limit the specific types and / or models of the above-mentioned communication sensors, which can be flexibly set by relevant personnel; in addition, this embodiment does not limit the specific manner of obtaining the behavior pattern of the roadside device sending roadside information, which can be flexibly set by relevant personnel according to actual usage requirements.
[0044] In some examples, based on the shooting sensors on the vehicle, shoot the roadside device to obtain the physical characteristics of the roadside device. The above physical characteristics include but are not limited to: the type of the roadside device, the actual shape of the roadside device, the actual position of the roadside device, and the size of the roadside device, etc.; specifically, through the shooting sensors set on the vehicle itself, the vehicle can take pictures and videos of the roadside device, thereby collecting information such as the type of the roadside device, the actual shape of the roadside device, the actual position of the roadside device, and the size of the roadside device.
[0045] In some examples, after the vehicle obtains the physical characteristics and the behavior pattern, according to the physical characteristics and the behavior pattern, determine the device characteristic information corresponding to the roadside device; in some examples, the physical characteristics and the behavior pattern can be directly combined, and the combined result can be used as the characteristic information corresponding to the roadside device; in some examples, a unique verification value can also be generated based on the physical characteristics and the behavior pattern, and this unique verification value can be used as the device characteristic information; in some examples, an encryption key and a file to be encrypted can also be determined from the physical characteristics and the behavior pattern (for example, using the physical characteristics as the encryption key and the behavior pattern as the file to be encrypted; or using the behavior pattern as the encryption key and the physical characteristics as the file to be encrypted), and the file to be encrypted can be encrypted with the encryption key to obtain the device characteristic information. It can be understood that this embodiment does not limit the specific manner of determining the device characteristic information corresponding to the roadside device according to the physical characteristics and the behavior pattern, and the above specific manner can be flexibly set by relevant personnel.
[0046] According to the technical solution provided by the embodiment of the present application, based on the communication sensor on the vehicle, obtain the behavior pattern of the roadside device sending roadside information; based on the shooting sensor on the vehicle, shoot the roadside device to obtain the physical characteristics of the roadside device; according to the physical characteristics and the behavior pattern, determine the device characteristic information corresponding to the roadside device, so that at least two dimensions of information, namely the physical characteristics and the behavior pattern of the roadside device, are included in the above device characteristic information, and thus the obtained device characteristic information is more comprehensive and accurate.
[0047] In some embodiments, as Figure 3 shown, obtaining the behavior pattern of the roadside device sending roadside information includes:
[0048] S301. Obtain the single transmission duration of the roadside device sending roadside information;
[0049] S302. Continuously monitor within a preset duration the transmission frequency and the roadside information transmission method of the roadside device sending roadside information;
[0050] S303. Determine the behavior pattern of the roadside device sending roadside information according to the single transmission duration, the transmission frequency and the roadside information transmission method.
[0051] Specifically, a communication sensor is provided on the vehicle, and the vehicle can obtain the single transmission duration of the roadside device sending roadside information through this communication sensor; in some examples, after the vehicle monitors through the communication sensor that the roadside device sends roadside information, it directly takes the duration of the roadside device sending this roadside information as the single transmission duration of the roadside device sending roadside information; in some examples, in order to obtain the single transmission duration of the roadside device sending roadside information more accurately, the vehicle will obtain the single transmission durations of multiple roadside information, then add up the single transmission durations of the multiple roadside information to get the total duration, and then divide the total duration by the number of roadside information sent, so as to obtain the single transmission duration of the roadside device sending roadside information. For example, the vehicle monitors three roadside information A, B, and C sent by the roadside device through the communication sensor, and the transmission duration corresponding to the roadside information A is X, the transmission duration corresponding to the roadside information B is Y, and the transmission duration corresponding to the roadside information C is Z, then the single transmission duration = (X + Y + Z) / 3.
[0052] In some examples, the vehicle continuously monitors, via a communication sensor, the transmission frequency and the transmission mode of roadside information sent by a roadside device within a preset time period. The above-mentioned preset time period can be flexibly set by relevant personnel according to actual needs. Optionally, the range of the above-mentioned preset time period includes but is not limited to 1S to 5S. Preferably, the above-mentioned preset time period is 3S. The above-mentioned transmission frequency is the number of times the roadside device sends roadside information per unit time. For example, if the roadside device sends two pieces of roadside information per second, and the vehicle monitors the roadside information via a communication module within the preset time period, the vehicle can obtain a transmission frequency of "sending two pieces of roadside information per second".
[0053] Similarly, the vehicle can obtain the transmission mode of the roadside information sent by the roadside device via a communication sensor. Among them, the above-mentioned transmission mode of the roadside information includes but is not limited to at least one of a transmission protocol and a transmission port.
[0054] In some examples, after determining the single transmission duration, the transmission frequency, and the transmission mode of the roadside information, based on the single transmission duration, the transmission frequency, and the transmission mode of the roadside information, determine the behavior pattern of the roadside device for sending roadside information. Specifically, encapsulate the single transmission duration, the transmission frequency, and the transmission mode of the roadside information together, and then obtain the behavior pattern of the roadside device for sending roadside information.
[0055] According to the technical solution provided by the embodiments of the present application, obtain the single transmission duration of the roadside device for sending roadside information; continuously monitor the transmission frequency and the transmission mode of the roadside information sent by the roadside device within a preset time period; determine the behavior pattern of the roadside device for sending roadside information according to the single transmission duration, the transmission frequency, and the transmission mode of the roadside information, which realizes accurately determining the behavior pattern of the roadside device for sending roadside information and avoids the problem in the related art that the behavior pattern cannot be accurately determined.
[0056] In some embodiments, as Figure 4 shown, perform identity authentication on the roadside device according to the identification information and the device feature information, including:
[0057] S401. Obtain the location information of the roadside device, generate an authentication request according to the location information, and send the authentication request to the server. The server is used to respond to the authentication request and return the target identification information and the target feature information corresponding to the location information to the vehicle according to the location information carried in the authentication request;
[0058] S402. Compare the target identification information with the identification information to obtain a first comparison result, and compare the target feature information with the device feature information to obtain a second comparison result;
[0059] S403. Determine the identity authentication result of the roadside device according to the first comparison result and the second comparison result.
[0060] Specifically, through the combined action of a shooting sensor, a position sensor, etc., the vehicle can accurately obtain the position information of the roadside device, and generate an authentication request based on this position information. The authentication request is used to request the target identification information and target feature information corresponding to this position information.
[0061] In some examples, after the server obtains the authentication request, it extracts the position information based on this authentication request. If the position information corresponds to a roadside device, the server obtains the target identification information and target feature information corresponding to this roadside device in the server; if there is no roadside device at this position information, the server directly returns a message that there is no roadside device at this position to the vehicle. When the vehicle receives this message, it determines that the authentication of the roadside device fails. Subsequently, when receiving the roadside information transmitted by this roadside device, it directly discards the roadside information transmitted by this roadside device, avoiding safety accident problems caused by vehicle control based on the roadside information transmitted by an unauthenticated roadside device.
[0062] Continuing with the above example, if the vehicle obtains the target identification information and target feature information returned by the server, it authenticates the roadside device based on this target identification information and target feature information. Specifically, it compares the target identification information with the identification information to obtain a first comparison result, realizing the authentication of the identification information of the roadside device; it compares the target feature information with the device feature information to obtain a second comparison result, realizing the authentication of the device feature information of the roadside device.
[0063] Finally, the vehicle determines the identity authentication result of the roadside device according to the first comparison result and the second comparison result, realizing the accurate authentication of the roadside device.
[0064] According to the technical solution provided by the embodiment of the present application, the position information of the roadside device is obtained, an authentication request is generated according to the position information, and the authentication request is sent to the server. The server is used to respond to the authentication request and return the target identification information and target feature information corresponding to the position information to the vehicle according to the position information carried in the authentication request; the target identification information is compared with the identification information to obtain a first comparison result, and the target feature information is compared with the device feature information to obtain a second comparison result; according to the first comparison result and the second comparison result, the identity authentication result of the roadside device is determined, realizing the identity authentication of the roadside device, and avoiding the problem of potential safety hazards in the related art that the vehicle cannot authenticate the roadside device and directly uses the information transmitted by the roadside device.
[0065] In some embodiments, as Figure 5 shown, determining the identity authentication result of the roadside device according to the first comparison result and the second comparison result includes:
[0066] S501. If the first comparison result is that the identification information authentication is passed, determine the second comparison result;
[0067] S502. If the second comparison result is that the device feature information authentication is passed, determine that the identity authentication result of the roadside device is identity authentication passed.
[0068] Specifically, the vehicle compares the target identification information with the identification information. If the target identification information is the same as the identification information, the first comparison result is that the identification information authentication is passed; otherwise, if the target identification information is different from the identification information, the first comparison result is that the identification information authentication is not passed.
[0069] In some examples, the vehicle compares the target feature information with the device feature information. If the target feature information is the same as the device feature information, the second comparison result is that the device feature information authentication is passed; otherwise, if the target feature information is different from the device feature information, the second comparison result is that the device feature information authentication is not passed.
[0070] In some examples, the vehicle first determines the first comparison result. If the first comparison result is that the identification information authentication is passed, determine the second comparison result. And if the second comparison result is that the device feature information authentication is passed, determine that the identity authentication result of the roadside device is identity authentication passed. If the first comparison result is that the identification information authentication is not passed, directly determine that the roadside device identity authentication is not passed. If the second comparison result is that the device feature information authentication is not passed, determine that the roadside device identity authentication is not passed.
[0071] It can be understood that in some examples, the second comparison result can also be determined first, and then the first comparison result can be determined; in some examples, the first comparison result and the second comparison result can also be determined synchronously. This embodiment does not limit this.
[0072] According to the technical solution provided by the embodiment of the present application, if the first comparison result is that the identification information authentication is passed, determine the second comparison result; if the second comparison result is that the device feature information authentication is passed, determine that the identity authentication result of the roadside device is identity authentication passed, which realizes accurate identity authentication of the roadside device and avoids the problem in the related art that the vehicle cannot authenticate the roadside device and directly uses the information transmitted by the roadside device, resulting in potential safety hazards.
[0073] In some examples, as Figure 6 shown, after the communication permission between the roadside device and the vehicle is enabled, the method further includes:
[0074] S601. Analyze the roadside information sent by the roadside device to obtain the traffic signal state and the road condition information;
[0075] S602. Generate a vehicle control prompt based on the traffic signal status and road condition information, and send the vehicle control prompt to the target object.
[0076] Specifically, after the current vehicle enables the communication permission between the roadside device and the vehicle, it can parse the roadside information sent by the roadside device to obtain the traffic signal status and road condition information included in the roadside information (the roadside information may also include information such as weather and congestion), generate a vehicle control prompt based on the traffic signal status and road condition information, and send the vehicle control prompt to the target object. As a result, the target object can control the vehicle according to the vehicle control prompt, thereby improving the safety of the target object driving the vehicle. The vehicle control prompt includes, but is not limited to, acceleration, deceleration, and the waiting time for traffic lights.
[0077] In some examples, if the vehicle is currently in an assisted driving state (automatic driving), after the vehicle parses the roadside information sent by the roadside device to obtain the traffic signal status and road condition information, it can also directly perform assisted driving control on the vehicle based on the above traffic signal status, road condition information, and driving information collected by the vehicle sensors, thereby improving the safety of the vehicle's assisted driving.
[0078] According to the technical solution provided by the embodiment of the present application, parse the roadside information sent by the roadside device to obtain the traffic signal status and road condition information; generate a vehicle control prompt based on the traffic signal status and road condition information, and send the vehicle control prompt to the target object, thereby improving the safety of the target object driving the vehicle.
[0079] In some examples, as Figure 7 shown, after enabling the communication permission between the roadside device and the vehicle, the method further includes:
[0080] S701. Determine the distance between the vehicle and the roadside device;
[0081] S702. If the distance between the roadside device and the vehicle exceeds the target distance, and the vehicle does not receive the data sent by the roadside device within the preset waiting duration, then close the communication permission between the roadside device and the vehicle.
[0082] Specifically, the vehicle determines the distance between itself and the roadside device. If the distance between the roadside device and the vehicle exceeds the target distance, and the vehicle does not receive the data sent by the roadside device within the preset waiting duration, then close the communication permission between the roadside device and the vehicle, avoiding the problem of potential safety hazards caused by the continuous existence of the communication permission between the roadside device and the vehicle.
[0083] It can be understood that relevant personnel can also flexibly set the steps for closing the communication permission between the roadside device and the vehicle according to actual needs, and this embodiment does not limit this.
[0084] According to the technical solution provided by the embodiment of the present application, by determining the distance between the vehicle and the roadside device; if the distance between the roadside device and the vehicle exceeds the target distance, and the vehicle does not receive the data sent by the roadside device within the preset duration, the communication permission between the roadside device and the vehicle is closed, realizing the deletion of the communication permission, and avoiding the potential safety hazard problem existing in continuously retaining the communication permission between the roadside device and the vehicle.
[0085] Any combination of the above all optional technical solutions can form an optional embodiment of the present application, which will not be elaborated one by one here.
[0086] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For the details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0087] This embodiment also provides a communication authentication device for a roadside device, as Figure 8 shown, the device includes:
[0088] An identification module 801, configured to parse the roadside information to obtain the identification information corresponding to the roadside device if the roadside information sent by an unauthenticated roadside device is received;
[0089] A feature module 802, configured to parse the roadside device based on the sensors on the vehicle to obtain the device feature information corresponding to the roadside device;
[0090] An authentication module 803, configured to perform identity authentication on the roadside device according to the identification information and the device feature information;
[0091] A communication module 804, configured to open the communication permission between the roadside device and the vehicle if the identity authentication result of the roadside device is that the identity authentication is passed.
[0092] In some examples, the feature module 802 is further configured to obtain the behavior pattern of the roadside device sending the roadside information based on the communication sensors on the vehicle; photograph the roadside device based on the photographing sensors on the vehicle to obtain the physical features of the roadside device; and determine the device feature information corresponding to the roadside device according to the physical features and the behavior pattern.
[0093] In some examples, the feature module 802 is further configured to obtain the single transmission duration of the roadside device sending the roadside information; continuously monitor the transmission frequency and the roadside information transmission mode of the roadside device sending the roadside information within the preset duration; and determine the behavior pattern of the roadside device sending the roadside information according to the single transmission duration, the transmission frequency, and the roadside information transmission mode.
[0094] In some examples, the authentication module 803 is further configured to obtain the location information of the roadside device, generate an authentication request based on the location information, and send the authentication request to the server. The server is configured to respond to the authentication request and return the target identification information and target feature information corresponding to the location information to the vehicle according to the location information carried in the authentication request; compare the target identification information with the identification information to obtain a first comparison result, and compare the target feature information with the device feature information to obtain a second comparison result; determine the identity authentication result of the roadside device according to the first comparison result and the second comparison result.
[0095] In some examples, if the first comparison result indicates that the identification information authentication is passed, the authentication module 803 is further configured to determine the second comparison result; if the second comparison result indicates that the device feature information authentication is passed, it is determined that the identity authentication result of the roadside device is identity authentication passed.
[0096] In some examples, the communication module 804 is further configured to parse the roadside information sent by the roadside device to obtain the traffic signal status and road condition information; generate a vehicle control prompt according to the traffic signal status and road condition information, and send the vehicle control prompt to the target object.
[0097] In some examples, the communication module 804 is further configured to determine the distance between the vehicle and the roadside device; if the distance between the roadside device and the vehicle exceeds the target distance, and the vehicle does not receive the data sent by the roadside device within the preset waiting duration, the communication permission between the roadside device and the vehicle is closed.
[0098] According to the technical solution provided by the embodiments of the present application, if the above device of the embodiments of the present application receives the roadside information sent by an unauthenticated roadside device, it parses the roadside information to obtain the identification information corresponding to the roadside device; based on the sensors on the vehicle, it parses the roadside device to obtain the device feature information corresponding to the roadside device; performs identity authentication on the roadside device according to the identification information and the device feature information; if the identity authentication result of the roadside device is identity authentication passed, the communication permission between the roadside device and the vehicle is enabled. Among them, performing identity authentication on the roadside device through the identification information and the device feature information realizes identity authentication of the roadside device based on multi-dimensional information, avoiding the problem that the vehicle performs identity authentication on the roadside device only through the identification information or the device feature information, resulting in inaccurate identity authentication and potential safety hazards. After the identity authentication result of the roadside device is identity authentication passed, the communication permission between the roadside device and the vehicle is enabled, so that the roadside devices communicating with the vehicle are all devices that have passed identity authentication, avoiding the problem of potential safety hazards caused by the vehicle being unable to authenticate the roadside device and directly communicating with the roadside device in the related art.
[0099] Figure 9 is a schematic diagram of the electronic device 9 provided by the embodiments of the present application. AsFigure 9 As shown, the electronic device 9 of this embodiment includes: a processor 901, a memory 902, and a computer program 903 stored in the memory 902 and executable on the processor 901. When the processor 901 executes the computer program 903, the steps in the above method embodiments are implemented. Alternatively, when the processor 901 executes the computer program 903, the functions of the various modules / units in the above device embodiments are implemented.
[0100] The electronic device 9 can be a desktop computer, a notebook, a palm computer, a cloud server, or other electronic devices. The electronic device 9 may include, but is not limited to, the processor 901 and the memory 902. Those skilled in the art can understand that Figure 9 merely examples of the electronic device 9, which do not constitute a limitation on the electronic device 9, may include more or fewer components than shown in the figure, or different components.
[0101] The processor 901 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0102] The memory 902 can be an internal storage unit of the electronic device 9, for example, the hard disk or memory of the electronic device 9. The memory 902 can also be an external storage device of the electronic device 9, for example, a plug-in hard disk equipped on the electronic device 9, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. The memory 902 can also include both the internal storage unit and the external storage device of the electronic device 9. The memory 902 is used to store computer programs and other programs and data required by the electronic device.
[0103] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be assigned to different functional units and modules according to needs, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiments can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0104] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, to implement all or part of the processes in the above method embodiments of this application, it can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in the readable storage medium. When the computer program is executed by a processor, the steps of the above method embodiments can be implemented. The computer program can include computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can include: any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased according to regional requirements and patent practice requirements. For example, in some regions, according to regional requirements and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0105] The above embodiments are only used to illustrate the technical solutions of this application, rather than to limit it; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included in the protection scope of this application.
Claims
1. A communication authentication method for roadside equipment, characterized in that The method includes: If roadside information sent by an unauthenticated roadside device is received, parse the roadside information to obtain the identification information corresponding to the roadside device; Based on the communication sensor on the vehicle, obtain the behavior pattern of the roadside device for sending roadside information; based on the shooting sensor on the vehicle, take a picture of the roadside device to obtain the physical characteristics of the roadside device; according to the physical characteristics and the behavior pattern, determine the device characteristic information corresponding to the roadside device; Authenticate the identity of the roadside device according to the identification information and the device characteristic information; If the identity authentication result of the roadside device is that the identity authentication is passed, open the communication permission between the roadside device and the vehicle.
2. The method according to claim 1, wherein Obtaining the behavior pattern of the roadside device for sending roadside information includes: Obtain the single sending duration of the roadside device for sending roadside information; Continuously monitor within a preset duration the sending frequency and the roadside information sending method of the roadside device for sending roadside information; According to the single sending duration, the sending frequency and the roadside information sending method, determine the behavior pattern of the roadside device for sending roadside information.
3. The method according to claim 1, characterized in that, Authenticating the identity of the roadside device according to the identification information and the device characteristic information includes: Obtain the location information of the roadside device, generate an authentication request according to the location information, and send the authentication request to the server, where the server is used to respond to the authentication request and return the target identification information and the target characteristic information corresponding to the location information to the vehicle according to the location information carried in the authentication request; Compare the target identification information with the identification information to obtain a first comparison result, and compare the target characteristic information with the device characteristic information to obtain a second comparison result; Determine the identity authentication result of the roadside device according to the first comparison result and the second comparison result.
4. The method according to claim 3, wherein Determining the identity authentication result of the roadside device according to the first comparison result and the second comparison result includes: If the first comparison result is that the identification information authentication is passed, determine the second comparison result; If the second comparison result is that the device characteristic information authentication is passed, determine that the identity authentication result of the roadside device is that the identity authentication is passed.
5. The method according to claim 1, wherein After opening the communication permission between the roadside device and the vehicle, the method further includes: Parse the roadside information sent by the roadside device to obtain the traffic signal state and the road condition information; Generate a vehicle control prompt according to the traffic signal state and the road condition information, and send the vehicle control prompt to the target object.
6. The method according to claim 1, characterized in that, After opening the communication permission between the roadside device and the vehicle, the method further includes: Determine the distance between the vehicle and the roadside device; If the distance between the roadside device and the vehicle exceeds the target distance, and the vehicle does not receive the data sent by the roadside device within the preset waiting duration, close the communication permission between the roadside device and the vehicle.
7. A communication authentication device for roadside equipment, characterized in that, The device includes: An identification module, configured to, if receiving roadside information sent by an unauthenticated roadside device, parse the roadside information to obtain the identification information corresponding to the roadside device; A feature module, configured to obtain a behavior pattern of the roadside device for sending roadside information based on communication sensors on the vehicle; capture the roadside device based on the imaging sensors on the vehicle to obtain physical features of the roadside device; and determine device feature information corresponding to the roadside device according to the physical features and the behavior pattern. An authentication module, configured to authenticate the identity of the roadside device according to the identification information and the device feature information. A communication module, configured to, if the identity authentication result of the roadside device is that the identity authentication is passed, enable the communication permission between the roadside device and the vehicle.
8. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Authentication method, device and equipment of roadside equipment and computer storage medium
CN114449513A
Access verification network device and method
US10681547B1