Access control method, device, electronic device and autonomous driving vehicle
By detecting the on-board sensors and obtaining their data packets, determining the sensor model and automatically configuring the autonomous driving computing platform, the problem of low manual configuration efficiency in the existing technology is solved, and fast network communication between the on-board sensors and the autonomous driving computing platform is realized.
Patent Information
- Application Number
- CN202210858398.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-20
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2042-07-20
AI Technical Summary
Among existing autonomous driving vehicles, network communication between the on-board sensor and the autonomous driving computing platform requires manual configuration and is less efficient.
When the on-board sensor is detected to be inserted into the network interface of the autonomous driving computing platform, the data packet sent by the on-board sensor is obtained, the sensor model is determined, and the autonomous driving computing platform is configured according to the model to realize network communication between the on-board sensor and the autonomous driving computing platform.
Fast network communication between on-board sensors and autonomous driving computing platforms can be achieved without manual configuration, improving efficiency and reducing implementation costs.
Smart Images

Figure CN115071734B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of intelligent transportation technology, specifically to the field of autonomous driving, and more particularly to access control methods, devices, electronic devices and autonomous driving vehicles. Background Art
[0002] Autonomous vehicles are intelligent vehicles that use high-performance computers to replace human driving. They involve a lot of computing and processing, and have high requirements for the real-time performance of data calculation and transmission. Therefore, current autonomous vehicles are equipped with high-performance autonomous driving computing platforms.
[0003] At present, in order to meet the high real-time requirements of autonomous driving vehicles for data transmission, in some scenarios, it is necessary to establish network communication between the on-board sensors in the autonomous driving vehicles and the autonomous driving computing platform, so that data can be transmitted between the on-board sensors and the autonomous driving vehicle computing platform through network communication. Summary of the invention
[0004] The present disclosure provides a method, device, electronic device and autonomous driving vehicle for access control.
[0005] According to one aspect of the present disclosure, there is provided an access control method, which is applied in an autonomous driving computing platform of a vehicle, and the method comprises: upon detecting that an on-board sensor is inserted into a network interface of the autonomous driving computing platform, obtaining a data packet sent by the on-board sensor; determining a sensor model of the on-board sensor based on the data packet; and configuring the autonomous driving computing platform based on the sensor model so that network communication can be performed between the on-board sensor and the autonomous driving computing platform.
[0006] According to another aspect of the present disclosure, there is provided an access control device, which is configured in an autonomous driving computing platform of a vehicle, and includes: an acquisition module, for acquiring a data packet sent by the vehicle-mounted sensor when it is detected that the vehicle-mounted sensor is inserted into the network interface of the autonomous driving computing platform; a first determination module, for determining a sensor model of the vehicle-mounted sensor based on the data packet; and a configuration module, for configuring the autonomous driving computing platform based on the sensor model so that network communication can be performed between the vehicle-mounted sensor and the autonomous driving computing platform.
[0007] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the access control method of the present disclosure.
[0008] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the access control method disclosed in the embodiment of the present disclosure.
[0009] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the access control method of the present disclosure is implemented.
[0010] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0012] Figure 1 is a schematic diagram according to a first embodiment of the present disclosure;
[0013] Figure 2 is a schematic diagram according to a second embodiment of the present disclosure;
[0014] Figure 3 is a schematic diagram according to a third embodiment of the present disclosure;
[0015] Figure 4 is a schematic diagram according to a fourth embodiment of the present disclosure;
[0016] Figure 5 is a schematic diagram according to a fifth embodiment of the present disclosure;
[0017] Figure 6 is a schematic diagram according to a sixth embodiment of the present disclosure;
[0018] Figure 7 is a schematic diagram according to a seventh embodiment of the present disclosure;
[0019] Figure 8 It is a block diagram of an electronic device used to implement the access control method of the embodiment of the present disclosure. DETAILED DESCRIPTION
[0020] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0021] In the related art, the method of establishing network communication between vehicle-mounted sensors and autonomous driving computing platforms is usually to insert the vehicle-mounted sensors into the network interface of the autonomous driving computing platform, and then use manual configuration to enable network communication between the vehicle-mounted sensors and the autonomous driving computing platform. However, the manual configuration method is inefficient.
[0022] To this end, the present disclosure proposes an access control method, which, when detecting that the vehicle-mounted sensor is inserted into the network interface of the autonomous driving computing platform, obtains the data packet sent by the vehicle-mounted sensor; determines the sensor model of the vehicle-mounted sensor according to the data packet; and configures the autonomous driving computing platform according to the sensor model so that the vehicle-mounted sensor and the autonomous driving computing platform can communicate with each other over the network. Thus, after the vehicle-mounted sensor is inserted into the network interface of the autonomous driving computing platform, network communication can be quickly achieved between the vehicle-mounted sensor and the autonomous driving computing platform without manual configuration.
[0023] The following describes the access control method, device, electronic device and autonomous driving vehicle of the embodiments of the present disclosure with reference to the accompanying drawings.
[0024] Figure 1 is a schematic diagram according to a first embodiment of the present disclosure, which provides an access control method.
[0025] like Figure 1 As shown, the access control method may include:
[0026] Step 101, when it is detected that the vehicle-mounted sensor is plugged into the network interface of the autonomous driving computing platform, a data packet sent by the vehicle-mounted sensor is obtained.
[0027] Among them, the executor of the access control method implemented in this embodiment is an access control device, which can be implemented by software and / or hardware. The access control device can be an electronic device, or can be configured in an electronic device, and the electronic device can be configured in the vehicle's autonomous driving computing platform.
[0028] It should be noted that the vehicle-mounted sensors in this example embodiment can be any sensors suitable for vehicle use, such as pressure sensors, temperature sensors, position sensors, gas concentration sensors, speed sensors, inertial sensors and radar sensors, etc., and this embodiment does not specifically limit this.
[0029] Step 102: Determine the sensor model of the vehicle-mounted sensor according to the data packet.
[0030] It is understandable that in different application scenarios, according to the data packet, determining the sensor model of the vehicle-mounted sensor can be achieved in a variety of ways, and examples are as follows:
[0031] As an example, when the data packet is a broadcast data packet, the sensor model of the vehicle-mounted sensor is extracted from the data packet, thereby conveniently and accurately determining the sensor model of the vehicle-mounted sensor.
[0032] That is to say, in some examples, when the on-board sensor has a broadcast function, after the on-board sensor is inserted into the network interface of the autonomous driving computing platform, the on-board sensor can broadcast a broadcast data packet containing the sensor model of the on-board sensor to the surrounding area in the form of a broadcast.
[0033] Correspondingly, after the access control device receives the broadcast data packet, the sensor model of the vehicle-mounted sensor can be extracted from the broadcast data packet.
[0034] The broadcast data packet in this example refers to a data packet sent in a broadcast form.
[0035] As another example, when the data packet is an Internet Protocol (IP) data packet, the network data features of the vehicle-mounted sensor in the data packet may be extracted, and the sensor model of the vehicle-mounted sensor may be determined based on the network data features.
[0036] The network data characteristics may include the Internet Protocol (IP) address, transport layer protocol and port number of the vehicle-mounted sensor.
[0037] In some examples of the present disclosure, a sensor model matching the network data feature can be obtained based on a pre-saved correspondence between the network data feature and the sensor model, and the matched sensor model can be used as the sensor model of the vehicle-mounted sensor.
[0038] Step 103, configure the autonomous driving computing platform according to the sensor model so that network communication can be performed between the vehicle-mounted sensor and the autonomous driving computing platform.
[0039] Among them, it is understandable that, unlike traditional Ethernet, after the on-board sensor is inserted into the network interface of the autonomous driving computing platform, the on-board sensor and the autonomous driving computing platform may not be able to directly communicate over the network. It is necessary to combine the sensor model of the on-board sensor and configure the autonomous driving computing platform accordingly before the on-board sensor and the autonomous driving computing platform can communicate over the network.
[0040] Among them, it is necessary to understand that in order to enable the on-board sensors and the autonomous driving computing platform to communicate over the network, the content that needs to be configured on the autonomous driving computing platform may be different for different models of on-board sensors.
[0041] In one embodiment of the present disclosure, after determining the sensor model of the vehicle-mounted sensor, the access requirement information corresponding to the sensor model can be determined, and based on the access requirement information, the autonomous driving computing platform is automatically configured so that the vehicle-mounted sensor and the autonomous driving computing platform can communicate over the network. Thus, based on the access requirement information, the configuration of the autonomous driving computing platform is quickly realized.
[0042] The access demand information refers to information such as requirements and demands that the on-board sensors have for the autonomous driving computing platform when communicating with the autonomous driving vehicle over the network. For example, when communicating with the on-board sensors over the network, the autonomous driving computing platform must serve as the main node for network communication, the data transmission rate of the network interface of the autonomous driving computing platform must not exceed the preset specified rate, the autonomous driving computing platform must synchronize the time of the on-board sensors, the autonomous driving computing platform must monitor whether the on-board sensors are abnormal, and the autonomous driving computing platform must isolate the network used for communication, etc.
[0043] In another example of the present disclosure, after determining the sensor model of the vehicle-mounted sensor, the corresponding configuration information when network communication between the vehicle-mounted sensor and the autonomous driving computing platform can be determined according to the sensor model, and the autonomous driving computing platform can be automatically configured according to the configuration information.
[0044] The access control method of the disclosed embodiment, when detecting that the vehicle-mounted sensor is inserted into the network interface of the autonomous driving computing platform, obtains the data packet sent by the vehicle-mounted sensor; determines the sensor model of the vehicle-mounted sensor according to the data packet; and configures the autonomous driving computing platform according to the sensor model so that the vehicle-mounted sensor and the autonomous driving computing platform can communicate with each other over the network. Thus, after the vehicle-mounted sensor is inserted into the network interface of the autonomous driving computing platform, network communication can be quickly achieved between the vehicle-mounted sensor and the autonomous driving computing platform without manual configuration.
[0045] Figure 2 is a schematic diagram according to the second embodiment of the present disclosure. This exemplary embodiment further refines the access control method. It should be noted that in this exemplary embodiment, the data packet sent by the vehicle-mounted sensor is an example of a broadcast data packet. Figure 2 As shown, the method may include:
[0046] Step 201, when it is detected that the vehicle-mounted sensor is plugged into the network interface of the autonomous driving computing platform, obtain the data packet sent by the vehicle-mounted sensor.
[0047] Step 202: Determine the sensor model of the vehicle-mounted sensor according to the data packet.
[0048] For the specific implementation of step 201 and step 202, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0049] Step 203: Acquire first access requirement information corresponding to the vehicle-mounted sensor according to the sensor model.
[0050] In one embodiment of the present disclosure, access requirement information corresponding to the sensor model can be obtained based on the correspondence between the pre-saved sensor model and the access requirement information, and the obtained access requirement information can be used as the first access requirement information corresponding to the vehicle-mounted sensor.
[0051] Step 204: extract the second access requirement information of the vehicle-mounted sensor from the data packet.
[0052] Step 205: When the first access requirement information and the second access requirement information are inconsistent, the autonomous driving computing platform is configured according to the second access requirement information so that network communication can be performed between the vehicle-mounted sensor and the autonomous driving computing platform.
[0053] In one embodiment of the present disclosure, after obtaining the first access requirement information and the second access requirement information, the first access requirement information and the second access requirement information may be compared to determine whether the two are consistent. If the two are consistent, the autonomous driving computing platform may be configured according to any one of the first access requirement information and the second access requirement information, so that network communication can be performed between the vehicle-mounted sensor and the autonomous driving computing platform.
[0054] In this example embodiment, after determining the corresponding first access requirement information in combination with the sensor model and extracting the second access requirement information of the vehicle-mounted sensor from the data packet, the first access requirement information and the second access requirement information are compared, and if the two are different, the autonomous driving computing platform is configured based on the second access requirement information, so that the autonomous driving computing platform can be accurately configured to avoid using non-latest access requirement information to configure the autonomous driving computing platform, which may cause unstable interaction between the vehicle-mounted sensor and the autonomous driving computing platform.
[0055] In one embodiment of the present disclosure, when an on-board sensor sends data in the form of broadcast, that is, when the data is a broadcast data packet, in order to enable the on-board sensor to enter normal operation, after configuring the autonomous driving computing platform according to the sensor model so that network communication can be performed between the on-board sensor and the autonomous driving computing platform, a confirmation data packet can also be sent to the on-board sensor via network communication, wherein the confirmation data packet is used to indicate that network communication can be performed.
[0056] Correspondingly, after receiving the confirmation data packet, the on-board sensor learns that the on-board sensor can communicate with the autonomous driving computing platform over the network. The on-board sensor stops broadcasting data packets and starts collecting data to form sensor data, and sends the sensor data to the autonomous driving computing platform through network communication.
[0057] Figure 3 is a schematic diagram according to the third embodiment of the present disclosure. This exemplary embodiment further refines the access control method. It should be noted that in this exemplary embodiment, the data packet sent by the vehicle-mounted sensor is an IP data packet as an example for exemplary description. Figure 3 As shown, the access control method may include:
[0058] Step 301, when it is detected that the vehicle-mounted sensor is plugged into the network interface of the autonomous driving computing platform, obtain the data packet sent by the vehicle-mounted sensor.
[0059] Step 302: When the data packet is an Internet Protocol (IP) data packet, extract network data features of the vehicle-mounted sensor in the data packet.
[0060] Among them, network data features include the IP address, transport layer protocol and port number of the vehicle-mounted sensor.
[0061] Step 303: Acquire candidate sensor models that match the network data features.
[0062] In one embodiment of the present disclosure, the correspondence between the network data features and the sensor models may be pre-saved to obtain candidate sensor models that match the network data features.
[0063] Step 304: decode the sensor data in the data packet according to the driver corresponding to the candidate sensor model.
[0064] Specifically, the sensor data may be extracted from the data packet, and the extracted sensor data may be decoded according to a driver corresponding to the candidate sensor model.
[0065] Step 305: When the sensor data is decoded successfully, the candidate sensor model is used as the sensor model of the vehicle-mounted sensor.
[0066] Step 306, configure the autonomous driving computing platform according to the sensor model so that network communication can be performed between the vehicle-mounted sensor and the autonomous driving computing platform.
[0067] In one embodiment of the present disclosure, when the decoding of sensor data fails, a prompt message may be output so that the user can input the sensor model of the vehicle-mounted sensor based on the prompt message.
[0068] It should be noted that the specific implementation of step 306 can be found in the relevant description of the above embodiment, which will not be repeated here.
[0069] In this example embodiment, network data features and sensor data of the vehicle-mounted sensor are extracted from the data packet sent by the vehicle-mounted sensor, and a candidate sensor model matching the network data features is determined, and based on a driver corresponding to the candidate sensor model, the sensor data in the data packet is decoded, and the candidate sensor model is verified based on the decoding result, and if the decoding is successful, the candidate sensor model is used as the sensor model of the vehicle-mounted sensor, thereby improving the accuracy of the determined sensor model.
[0070] In another embodiment of the present disclosure, when the data packet is a network protocol IP data packet, after extracting the network data features of the on-board sensor in the data packet, if there is no sensor model matching the network data features in the pre-saved correspondence between the network data features and the sensor models, then each sensor model in the correspondence is traversed, and for the current sensor model traversed, the sensor data in the data packet can be decoded according to the driver corresponding to the current sensor model; when the sensor data is decoded successfully, the current sensor model is used as the sensor model of the on-board sensor, and then, according to the sensor model, the autonomous driving computing platform is configured to enable network communication between the on-board sensor and the autonomous driving computing platform.
[0071] In addition, in some exemplary embodiments, in order to enable the user to promptly understand the relevant information of the abnormally connected vehicle-mounted sensor, a warning prompt information may also be output, wherein the warning prompt information is used to prompt the relevant information of the abnormally connected vehicle-mounted sensor.
[0072] The abnormally connected vehicle-mounted sensor refers to the vehicle-mounted sensor corresponding to the target sensor model.
[0073] Among them, the target sensor model does not match the network data characteristics of the vehicle-mounted sensor, while the driver corresponding to the target sensor model can successfully decode the sensor data of the vehicle-mounted sensor.
[0074] The relevant information may include network data characteristics of the vehicle-mounted sensor and attribute information of the target driver.
[0075] As an example, the network data characteristics of the vehicle-mounted sensor may include, but are not limited to, the IP address, transport layer protocol, and port number of the vehicle-mounted sensor.
[0076] The target driver is the driver corresponding to the target sensor model.
[0077] The attribute information of the target driver may include but is not limited to the name and version of the driver.
[0078] Based on any of the above embodiments, before configuring the autonomous driving computing platform according to the sensor model so that the vehicle-mounted sensor and the autonomous driving computing platform can communicate over the network, the sensor model can also be matched with the certified sensor model in the certification list; when the sensor model matches any of the certified sensor models in the certification list, it is determined that the sensor model has passed the certification. In this way, the legitimacy of the vehicle-mounted sensors is authenticated, ensuring that all sensors that communicate with the autonomous driving computing platform have passed the certification, and preventing the unauthenticated vehicle-mounted sensors from being connected to the autonomous driving computing platform, thereby improving the stability of the vehicle.
[0079] Based on any of the above embodiments, after configuring the autonomous driving computing platform according to the sensor model so that the vehicle-mounted sensor and the autonomous driving computing platform can communicate over the network, the network protocol IP address of the vehicle-mounted sensor is determined; and the correspondence between the vehicle-mounted sensor and the IP address is sent to the driver corresponding to the sensor model. Thus, the driver can save the correspondence between the vehicle-mounted sensor and the IP address to facilitate the subsequent reading of sensor data based on the IP address in the correspondence.
[0080] It is understandable that in different application scenarios, the methods for determining the network protocol IP address of the vehicle-mounted sensor are different, and an exemplary description is as follows:
[0081] As an example, when the data packet sent by the vehicle-mounted sensor is a broadcast data packet, that is, when the vehicle-mounted sensor can interact with the access control device in the form of broadcast, the access control device can allocate an IP address to the vehicle-mounted sensor based on the Dynamic Host Configuration Protocol (DHCP) service.
[0082] As an exemplary implementation, any unoccupied IP address in the optional IP address range corresponding to the vehicle Ethernet can be selected and assigned to the vehicle sensor, and the IP address assigned to the vehicle sensor can be sent to the vehicle sensor through the network interface.
[0083] As another example, when the data packet sent by the vehicle-mounted sensor is an IP data packet, the IP address of the vehicle-mounted sensor can be extracted from the data packet.
[0084] In order to clearly understand the present disclosure, Figure 4 The access control method of this embodiment is exemplarily described, wherein in this example, the vehicle-mounted sensor supports interaction with the access control device in the autonomous driving computing platform as an example, that is, the vehicle-mounted sensor can interact with the access control device in the form of broadcasting as an example.
[0085] like Figure 4 As shown, it may include:
[0086] Step 401, when it is detected that the vehicle-mounted sensor is plugged into the network interface of the autonomous driving computing platform, an IP address is allocated to the vehicle-mounted sensor according to the DHCP service.
[0087] Correspondingly, according to the DHCP service, an unoccupied IP address is selected from the optional IP address range corresponding to the vehicle Ethernet as the IP address assigned to the vehicle sensor. Correspondingly, the IP address is sent to the vehicle sensor through the network interface.
[0088] It should be noted that it is possible to detect whether there is an on-board sensor plugged into the network interface of the autonomous driving computing platform. If it is detected that there is an on-board sensor plugged into the network interface of the autonomous driving computing platform, an IP address can be allocated to the on-board sensor according to the DHCP service. If it is not detected, it continues to detect whether there is an on-board sensor plugged into the network interface of the autonomous driving computing platform.
[0089] Step 402: Receive a broadcast data packet sent by a vehicle-mounted sensor.
[0090] Correspondingly, the vehicle-mounted sensor sends a broadcast data packet in the form of broadcast, wherein the broadcast data packet includes the sensor model and access requirement information.
[0091] Step 403: Perform legitimacy authentication according to the sensor model in the broadcast data packet.
[0092] Step 404, if the authentication is successful, the vehicle-mounted sensor is registered with the network, and based on the access requirement information in the broadcast data packet, the autonomous driving computing platform is configured so that network communication can be performed between the vehicle-mounted sensor and the autonomous driving computing platform.
[0093] In one embodiment of the present disclosure, when authentication is successful, the virtual local area network (VLAN) corresponding to the on-board sensor can be determined according to the sensor model, and the autonomous driving computing platform can be configured based on the access requirement information in the broadcast data packet to enable network communication between the on-board sensor and the autonomous driving computing platform through the virtual local area network.
[0094] Step 405: Send the correspondence between the sensor information of the vehicle-mounted sensor and the IP address to a driver corresponding to the sensor model.
[0095] Step 406 , sending a confirmation data packet to the vehicle-mounted sensor through network communication, so that the vehicle-mounted sensor stops broadcasting the data packet and starts normal data collection.
[0096] In this example embodiment, after the on-board sensor is connected to the network interface of the autonomous driving computing platform, an IP address is automatically assigned to the on-board sensor, and the sensor model and access requirement information of the on-board sensor are determined based on the broadcast data packet sent by the on-board sensor. When the sensor model passes the legality authentication, the autonomous driving computing platform is automatically and completely configured based on the access requirement information. Without manual configuration, network communication between the on-board sensor and the autonomous driving computing platform can be achieved, thereby reducing the cost of achieving network communication between the on-board sensor and the autonomous driving computing platform.
[0097] In the scenario of assembling on-board sensors for autonomous driving vehicles, the method provided in this embodiment can be used to quickly achieve network communication between the on-board sensors and the autonomous driving computing platform, thereby improving assembly efficiency.
[0098] In order to clearly understand the present disclosure, the following Figure 5 The access control method of this embodiment is described exemplarily, wherein in this example, a case where the vehicle-mounted sensor does not support interaction with the access control device in the autonomous driving computing platform is described as an example.
[0099] like Figure 5 As shown, it may include:
[0100] Step 501, detect the status of the network interface of the autonomous driving computing platform.
[0101] The status of the network interface includes a closed state and an open state.
[0102] Correspondingly, after an on-board sensor is inserted into the network interface of the autonomous driving computing platform, the state of the network interface will change from a closed state to an open state.
[0103] Step 502, when the network interface is in an open state, it can be determined that a vehicle-mounted sensor is plugged into the network interface, and the IP data packet received by the network interface is captured.
[0104] Step 503: extracting the network data features and sensor data of the vehicle-mounted sensor inserted into the network interface from the IP data packet.
[0105] Among them, network data features include IP address, transport layer protocol and port number.
[0106] Step 504: Acquire a candidate sensor model that matches the network data feature, and decode the sensor data based on a driver program corresponding to the candidate sensor model.
[0107] Step 505: If the decoding is successful, the candidate sensor model is used as the sensor model of the vehicle-mounted sensor.
[0108] Step 506: Configure the autonomous driving computing platform according to the sensor model so that network communication can be performed between the vehicle-mounted sensor and the autonomous driving computing platform.
[0109] Among them, regarding the specific implementation method of configuring the autonomous driving computing platform according to the sensor model so that network communication can be carried out between the on-board sensor and the autonomous driving computing platform, please refer to the relevant description in this disclosure and will not be repeated here.
[0110] In order to implement the above embodiment, the embodiment of the present disclosure also provides an access control device.
[0111] Figure 6 It is a schematic diagram according to the sixth embodiment of the present disclosure, which provides an access control device, wherein it should be noted that the access control device is configured in the vehicle's automatic driving computing platform.
[0112] like Figure 6 As shown, the access control device 60 may include an acquisition module 601, a first determination module 602 and a configuration module 603, wherein:
[0113] The acquisition module 601 is used to acquire the data packet sent by the vehicle-mounted sensor when it is detected that the vehicle-mounted sensor is plugged into the network interface of the autonomous driving computing platform.
[0114] The first determination module 602 is used to determine the sensor model of the vehicle-mounted sensor according to the data packet.
[0115] Configuration module 603 is used to configure the autonomous driving computing platform according to the sensor model so that network communication can be carried out between the vehicle-mounted sensor and the autonomous driving computing platform.
[0116] The access control device of the disclosed embodiment, when detecting that the vehicle-mounted sensor is inserted into the network interface of the autonomous driving computing platform, obtains the data packet sent by the vehicle-mounted sensor; determines the sensor model of the vehicle-mounted sensor according to the data packet; and configures the autonomous driving computing platform according to the sensor model so that the vehicle-mounted sensor and the autonomous driving computing platform can communicate with each other over the network. Thus, after the vehicle-mounted sensor is inserted into the network interface of the autonomous driving computing platform, network communication can be quickly achieved between the vehicle-mounted sensor and the autonomous driving computing platform without manual configuration.
[0117] In one embodiment of the present disclosure, Figure 7 As shown, the access control device 70 may include: an acquisition module 701 , a first determination module 702 , a configuration module 703 , a first sending module 704 , a matching module 705 , a second determination module 706 , a third determination module 707 and a second sending module 708 .
[0118] It should be noted that the detailed description of the acquisition module 701 can be found in the above Figure 6 The description of the acquisition module 601 in will not be described again here.
[0119] In one embodiment of the present disclosure, the first determination module 702 is specifically configured to: when the data packet is a broadcast data packet, extract the sensor model of the vehicle-mounted sensor from the data packet.
[0120] In one embodiment of the present disclosure, the configuration module 703 is specifically used to: obtain first access requirement information corresponding to the vehicle-mounted sensor according to the sensor model; extract second access requirement information of the vehicle-mounted sensor from the data packet; and when the first access requirement information and the second access requirement information are inconsistent, configure the autonomous driving computing platform according to the second access requirement information so that network communication can be carried out between the vehicle-mounted sensor and the autonomous driving computing platform.
[0121] In one embodiment of the present disclosure, the first sending module 704 is used to send a confirmation data packet to the vehicle-mounted sensor via network communication, wherein the confirmation data packet is used to indicate that network communication is possible.
[0122] In one embodiment of the present disclosure, the first determination module 702 is specifically used to: when the data packet is a network protocol IP data packet, extract the network data features of the vehicle-mounted sensor in the data packet; obtain a candidate sensor model that matches the network data features; decode the sensor data in the data packet according to the driver corresponding to the candidate sensor model; and when the sensor data is successfully decoded, use the candidate sensor model as the sensor model of the vehicle-mounted sensor.
[0123] In one embodiment of the present disclosure, the configuration module 703 is specifically used to: determine the access requirement information of the vehicle-mounted sensor according to the sensor model; and perform access requirement configuration according to the access requirement information so that network communication can be performed between the vehicle-mounted sensor and the autonomous driving computing platform.
[0124] In one embodiment of the present disclosure, the matching module 705 is used to match the sensor model with the authenticated sensor models in the authentication list.
[0125] The second determination module 706 is configured to determine that the sensor model is authenticated if the sensor model matches any authenticated sensor model in the authentication list.
[0126] In one embodiment of the present disclosure, the third determination module 707 is used to determine the network protocol IP address of the vehicle-mounted sensor.
[0127] The second sending module 708 is used to send the correspondence between the vehicle-mounted sensor and the IP address to a driver corresponding to the sensor model.
[0128] It should be noted that the above explanation of the access control method is also applicable to the access control device in this embodiment, and this embodiment will not elaborate on it.
[0129] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0130] According to an embodiment of the present disclosure, the present disclosure also provides an autonomous driving vehicle, which includes the electronic device disclosed in this embodiment.
[0131] Figure 8 A schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure is shown. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit implementations of the present disclosure described and / or claimed herein.
[0132] like Figure 8 As shown, the electronic device 800 may include a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0133] Multiple components in the electronic device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0134] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as the access control method. For example, in some embodiments, the access control method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the access control method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the access control method in any other appropriate manner (e.g., by means of firmware).
[0135] Various implementations of the devices and techniques described above herein can be implemented in digital electronic circuit devices, integrated circuit devices, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), devices on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable device including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage device, at least one input device, and at least one output device, and transmit data and instructions to the storage device, the at least one input device, and the at least one output device.
[0136] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0137] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution device, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor devices, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0138] To provide interaction with a user, the devices and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0139] The apparatus and techniques described herein may be implemented in a computing device including backend components (e.g., as a data server), or a computing device including middleware components (e.g., an application server), or a computing device including frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the apparatus and techniques described herein), or a computing device including any combination of such backend components, middleware components, or frontend components. The components of the apparatus may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.
[0140] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0141] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. An access control method, the method being applied in an autonomous driving computing platform of a vehicle, the method comprising: When detecting that an on-board sensor is plugged into the network interface of the autonomous driving computing platform, obtaining a data packet sent by the on-board sensor; Determining a sensor model of the vehicle-mounted sensor according to the data packet; According to the sensor model, the autonomous driving computing platform is configured so that network communication can be performed between the vehicle-mounted sensor and the autonomous driving computing platform; The configuring the autonomous driving computing platform according to the sensor model so that the vehicle-mounted sensor and the autonomous driving computing platform can perform network communication includes: According to the sensor model, obtaining first access requirement information corresponding to the vehicle-mounted sensor; Extracting second access requirement information of the vehicle-mounted sensor from the data packet; When the first access requirement information and the second access requirement information are inconsistent, the autonomous driving computing platform is configured according to the second access requirement information so that network communication can be performed between the vehicle-mounted sensor and the autonomous driving computing platform.
2. The method according to claim 1, wherein: The step of determining the sensor model of the vehicle-mounted sensor according to the data packet includes: In the case that the data packet is a broadcast data packet, the sensor model of the vehicle-mounted sensor is extracted from the data packet.
3. The method according to claim 2, wherein: The method further comprises: A confirmation data packet is sent to the vehicle-mounted sensor via network communication, wherein the confirmation data packet is used to indicate that network communication is possible.
4. The method according to claim 1, wherein: The step of determining the sensor model of the vehicle-mounted sensor according to the data packet includes: In the case where the data packet is an Internet Protocol (IP) data packet, extracting network data features of the vehicle-mounted sensor in the data packet; Acquire candidate sensor models that match the network data features; Decoding the sensor data in the data packet according to the driver corresponding to the candidate sensor model; When the sensor data is decoded successfully, the candidate sensor model is used as the sensor model of the vehicle-mounted sensor.
5. The method according to claim 1, wherein: Before configuring the autonomous driving computing platform according to the sensor model so that network communication can be performed between the vehicle-mounted sensor and the autonomous driving computing platform, the method further includes: Matching the sensor model with the authenticated sensor models in the authentication list; When the sensor model matches any authenticated sensor model in the authentication list, it is determined that the sensor model passes the authentication.
6. The method according to claim 1, wherein: The method further comprises: Determine the network protocol IP address of the vehicle-mounted sensor; The correspondence between the vehicle-mounted sensor and the IP address is sent to a driver corresponding to the sensor model.
7. An access control device, the device being configured in an autonomous driving computing platform of a vehicle, the device comprising: An acquisition module, configured to acquire a data packet sent by the vehicle-mounted sensor when detecting that the vehicle-mounted sensor is plugged into the network interface of the autonomous driving computing platform; A first determination module, used to determine the sensor model of the vehicle-mounted sensor according to the data packet; A configuration module, configured to configure the autonomous driving computing platform according to the sensor model, so that network communication can be performed between the vehicle-mounted sensor and the autonomous driving computing platform; Wherein, the configuration module is specifically used for: According to the sensor model, obtaining first access requirement information corresponding to the vehicle-mounted sensor; Extracting second access requirement information of the vehicle-mounted sensor from the data packet; When the first access requirement information and the second access requirement information are inconsistent, the autonomous driving computing platform is configured according to the second access requirement information so that network communication can be performed between the vehicle-mounted sensor and the autonomous driving computing platform.
8. The device according to claim 7, wherein: The first determining module is specifically configured to: In the case that the data packet is a broadcast data packet, the sensor model of the vehicle-mounted sensor is extracted from the data packet.
9. The device according to claim 8, wherein: The device also includes: The first sending module is used to send a confirmation data packet to the vehicle-mounted sensor through network communication, wherein the confirmation data packet is used to indicate that network communication is possible.
10. The device according to claim 7, wherein: The first determining module is specifically configured to: In the case where the data packet is an Internet Protocol (IP) data packet, extracting network data features of the vehicle-mounted sensor in the data packet; Acquire candidate sensor models that match the network data features; Decoding the sensor data in the data packet according to the driver corresponding to the candidate sensor model; When the sensor data is decoded successfully, the candidate sensor model is used as the sensor model of the vehicle-mounted sensor.
11. The device according to claim 7, wherein: The device also includes: A matching module, used for matching the sensor model with the authenticated sensor models in the authentication list; The second determination module is used to determine that the sensor model has passed the authentication if the sensor model matches any authenticated sensor model in the authentication list.
12. The device according to claim 7, wherein: The device also includes: A third determination module is used to determine the network protocol IP address of the vehicle-mounted sensor; The second sending module is used to send the corresponding relationship between the vehicle-mounted sensor and the IP address to a driver corresponding to the sensor model.
13. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.
14. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-6.
15. A computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 6.
16. An autonomous driving vehicle comprising the electronic device as claimed in claim 13.
Citation Information
Patent Citations
Sensor configuration method and device, computer equipment and storage medium
CN113259888A