External attachment detection method and device, equipment and vehicle
By obtaining the current information of the vehicle port when the vehicle is in a parking gear or sleeping state, the problem of detecting external attachments borrowed from the power supply in the vehicle is solved, and effective guarantees for the privacy and security of the vehicle are achieved.
Patent Information
- Application Number
- CN202311287534.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2025-04-04
AI Technical Summary
The prior art is difficult to effectively detect external attachments borrowed from the vehicle and powered by the vehicle, which affects the security and privacy environment inside the vehicle.
By acquiring the status information of the target vehicle, when the vehicle is in a parking gear or a dormant state, the current information of at least one port is obtained, and the current information is used to determine whether the port is connected to an external attachment.
It realizes effective detection of external attachments that borrow power from the car in the car, ensuring privacy and security in the car.
Smart Images

Figure CN119749429A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle intelligent technology, and in particular to a method and device for detecting external attachments, equipment, and a vehicle. Background Art
[0002] In recent years, with the rapid development of electronic technology, various electronic products with recording functions have emerged one after another. As people's awareness of security and privacy gradually increases, in the closed private environment of the car, people in the car expect a safe and private environment to exist to ensure that private conversations are not recorded by third parties. However, external attachments connected to the car hinder the construction of a safe and private environment.
[0003] There are three main types of external attachments connected to the vehicle: mechanically powered external attachments, external self-powered external attachments, and external attachments that use power from inside the vehicle. Figure 1 A specific example diagram of an external attachment that uses power from inside the vehicle, such as Figure 1 As shown, the external attachment that uses power supplied from within the vehicle can be connected to functional devices such as seat control, intelligent cockpit domain controller (CDC) or air supply, or can be connected to driving-related devices such as rear-drive motor, oil pump, suspension frame or headlights, or can be connected to the vehicle's external power supply port.
[0004] How to detect external attachments that use power from within the vehicle is a technical problem that needs to be solved urgently. Summary of the invention
[0005] The embodiments of the present application provide a method and device, equipment, and vehicle for detecting external attachments, which solve the current problem that it is impossible to effectively detect external attachments in a vehicle that use power from within the vehicle.
[0006] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0007] In a first aspect, a method for detecting an external attachment is provided, the method comprising: obtaining state information of a target vehicle, and then obtaining current information of at least one port of the target vehicle when the target vehicle is in a first state. The first state includes a parking gear state and a dormant state. If the current information satisfies a preset condition, it indicates that the port is connected to an external attachment.
[0008] The external attachment detection method provided by the present application obtains the state information of the target vehicle, and then obtains the current information of at least one port of the target vehicle when the target vehicle is in the parking gear state or the dormant state. In this state, the current of the target vehicle is relatively stable, which can avoid the situation where the port current is unstable due to the floating vehicle voltage, and ensure that the result of the port connecting to the external attachment under the preset conditions indicated by the current information is more accurate, and can effectively detect the existence of external attachments in the vehicle that use the power supply in the vehicle.
[0009] In a possible implementation, when the target vehicle is in the first state, before obtaining the current information of at least one port of the target vehicle, the method further includes: receiving a first detection instruction sent by a controller of the target vehicle, wherein the first detection instruction includes port information of a first port of the target vehicle.
[0010] When the target vehicle is in a first state, current information of at least one port of the target vehicle is obtained, including: in response to a first detection instruction, when the target vehicle is in the first state, according to the port information of the first port, obtaining current information of the first port of the target vehicle.
[0011] In this possible implementation, the user can specify the port that needs to be tested, and then send a first detection instruction through the controller of the target vehicle, thereby ensuring the autonomy of the user's selection.
[0012] In a possible implementation, the parking gear state includes a parking gear standby state. In response to a first detection instruction, when the target vehicle is in the first state, current information of the first port of the target vehicle is obtained according to the port information of the first port, including: in response to the first detection instruction, when the target vehicle is in the parking gear standby state, current information of the first port of the target vehicle is obtained according to the port information of the first port.
[0013] In this possible implementation, a first detection instruction is generated according to the port to be detected specified by the user, and then the current information of the first port is obtained when the vehicle is in the parking gear standby state, which can achieve directional detection of the first port while ensuring more accurate detection results.
[0014] A possible implementation method, the external attachment detection method provided by the present application also includes: determining the status information of each port based on the current information of each port. Wherein, the status information indicates whether the current value of the port is abnormal. Then, the status information of each port is sent to the controller of the target vehicle. Receive a second detection instruction sent by the controller of the target vehicle. Wherein. The second detection instruction includes the port information of the second port of the target vehicle, the status information of the second port indicates that the current value is abnormal, and the second port is selected by the user based on the status information of each port displayed on the target vehicle. Then, in response to the second detection instruction, when the target vehicle is in the parking gear standby state, the current information of the second port of the target vehicle is obtained based on the port information of the second port.
[0015] In this possible implementation, the present application performs an overall detection on each port of the target vehicle, obtains the current information of each port, determines the status information of each port, and then sends the status information of each port to the controller of the target vehicle, which can preliminarily remind the user that there are ports with abnormal current among the ports of the target vehicle. Furthermore, the user can generate a second detection instruction based on the status information of each port, and then obtain the current information of the target vehicle in the parking gear standby state based on the port information of the second port in the second detection instruction. The ports of the target vehicle can be detected by a combination of overall detection and directional detection to make the detection results more accurate. At the same time, the ports with external attachments can be located by directional detection of the ports.
[0016] In a possible implementation, the current information includes: a current value. The preset condition includes: a difference from a target standard current value in the prefabricated current information of the target vehicle is greater than a preset threshold value. The prefabricated current information includes standard current values corresponding to multiple different temperatures and different electric quantities when the target vehicle is in the first state. The temperature corresponding to the target standard current value is the current temperature of the target vehicle, and the electric quantity corresponding to the target standard current value is the current electric quantity of the target vehicle.
[0017] In this possible implementation, the current value of the port is compared with the current value of the prefabricated current information of the port in the first state of the target vehicle, and then whether the port is connected to an external attachment is determined based on the comparison result, which can make the detection result more accurate.
[0018] In a possible implementation, the method provided in an embodiment of the present application further includes: sending the current information to a controller of the target vehicle, so that the controller determines that the port is connected to an external attachment when the current information meets a preset condition.
[0019] In a second aspect, the present application provides an external attachment detection device, including: an acquisition module and a judgment module.
[0020] Among them, the acquisition module is used to obtain the status information of the target vehicle.
[0021] The judging module is used to judge whether the target vehicle is in the first state according to the state information of the target vehicle.
[0022] The acquisition module is further used to acquire current information of at least one port of the target vehicle when the judgment module determines that the target vehicle is in a first state. The first state includes a parking gear state and a dormant state. When the current information meets a preset condition, it indicates that the port is connected to an external attachment.
[0023] In a possible implementation manner, the external attachment detection device provided in the present application further includes: a receiving module and a response module.
[0024] The receiving module is used to receive a first detection instruction sent by a controller of the target vehicle. The first detection instruction includes port information of a first port of the target vehicle.
[0025] A response module is used to respond to the first detection instruction.
[0026] The acquisition module is specifically used to acquire the current information of the first port of the target vehicle according to the port information of the first port when the target vehicle is in the first state after the response module responds to the first detection instruction.
[0027] In a possible implementation, the parking gear state includes a parking gear standby state. The acquisition module is specifically configured to acquire current information of the first port of the target vehicle according to the port information of the first port when the target vehicle is in the parking gear standby state after the response module responds to the first detection instruction.
[0028] In a possible implementation manner, the external attachment detection device provided in the present application further includes: a determination module and a sending module.
[0029] The determination module is used to determine the status information of each port according to the current information of each port. The status information indicates whether the current value of the port is abnormal.
[0030] The sending module is used to send the status information of each port to the controller of the target vehicle.
[0031] The receiving module is further used to receive a second detection instruction sent by the controller of the target vehicle. The second detection instruction includes port information of a second port of the target vehicle, and the status information of the second port indicates that the current value is abnormal. The second port is selected by the user according to the status information of each port displayed on the target vehicle.
[0032] The response module is further used to respond to the second detection instruction.
[0033] The acquisition module is further used to acquire the current information of the second port of the target vehicle according to the port information of the second port when the target vehicle is in a parking gear standby state after the response module responds to the second detection instruction.
[0034] In a possible implementation, the current information includes: a current value. The preset condition includes: a difference from a target standard current value in the prefabricated current information of the target vehicle is greater than a preset threshold value. The prefabricated current information includes standard current values corresponding to multiple different temperatures and different electric quantities when the target vehicle is in the first state. The temperature corresponding to the target standard current value is the current temperature of the target vehicle, and the electric quantity corresponding to the target standard current value is the current electric quantity of the target vehicle.
[0035] In a possible implementation, the sending module is further used to send the current information to the controller of the target vehicle, so that the controller determines that the port is connected to the external attachment when the current information meets a preset condition.
[0036] In a third aspect, an external attachment detection device is provided, the computing device having the function of implementing the external attachment detection method described in the first aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0037] In a fourth aspect, a vehicle is provided, comprising: at least one component, at least one port, and the external attachment detection device described in the second aspect and any one of the second aspects; the external attachment detection device is deployed in the at least one component; one end of the external attachment detection device is connected to the at least one port; and the other end of the external attachment detection device is connected to the vehicle.
[0038] In a possible implementation, the vehicle further includes: a controller connected to the other end of the external attachment detection device.
[0039] In a possible implementation, the controller is a smart cockpit domain controller.
[0040] In a fifth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer can execute the external attachment detection method described in any one of the first aspects.
[0041] Among them, the technical effects brought about by any design method in the second to fifth aspects can refer to the technical effects brought about by different design methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1A specific example diagram of an external attachment that uses in-vehicle power supply in the related art;
[0043] Figure 2 A structural schematic diagram of a vehicle provided in an embodiment of the present application;
[0044] Figure 3 Another structural schematic diagram of a vehicle provided in an embodiment of the present application;
[0045] Figure 4 A specific example diagram of an external attachment detection device provided in an embodiment of the present application;
[0046] Figure 5 Another specific example diagram of an external attachment detection device provided in an embodiment of the present application;
[0047] Figure 6 A schematic diagram of a method for detecting external attachments provided in an embodiment of the present application Figure 1 ;
[0048] Figure 7 A schematic diagram of a method for detecting external attachments provided in an embodiment of the present application Figure 2 ;
[0049] Figure 8 A schematic diagram of a method for detecting external attachments provided in an embodiment of the present application Figure 3 ;
[0050] Fig. 9 A schematic diagram of a method for detecting external attachments provided in an embodiment of the present application Figure 4 ;
[0051] Fig.10 A schematic diagram of a method for detecting external attachments provided in an embodiment of the present application Figure 5 ;
[0052] Fig.11 A specific flow chart of a method for detecting external attachments provided in an embodiment of the present application;
[0053] Fig.12 Another specific flow chart of a method for detecting external attachments provided in an embodiment of the present application;
[0054] Fig.13 A schematic diagram of the structure of an external attachment detection device provided in an embodiment of the present application;
[0055] Fig.14 Another structural schematic diagram of an external attachment detection device provided in an embodiment of the present application;
[0056] Fig.15A structural schematic diagram of an external attachment detection device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application. In order to facilitate the clear description of the technical solutions in the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. It can be understood by those skilled in the art that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not limit necessarily different. At the same time, in the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design solutions. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding.
[0058] In addition, the transportation tools and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of transportation tools and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0059] To facilitate understanding, the relevant technical terms involved in this application are first explained.
[0060] Parking gear state: The vehicle is in the parking gear, and a mechanical device is used to lock the rotating parts of the vehicle so that the vehicle cannot move.
[0061] Sleep state: refers to the whole controller in the car entering a low power state when the car is not in use, to avoid static high power consumption and cause the whole car to be powered off. When the vehicle is in sleep state, the controller in the car only maintains a simple monitoring function waiting to be awakened, and some power-intensive functions are turned off. For example, the keyless entry system (passive entry passivestart, PEPS) of the vehicle will work when it is in sleep state, and it scans the key at a certain frequency and waits to be awakened.
[0062] Parking gear non-standby state: refers to the state where the vehicle has been started but is temporarily not moving. At this time, the vehicle's engine is running, the vehicle's systems and equipment are also running, but the vehicle will not move. In the parking gear non-standby state, the vehicle can use certain functions of the vehicle, such as playing music, using air conditioning, etc. The parking gear non-standby state usually occurs when the vehicle needs to remain in operation but does not need to move, such as in traffic congestion, waiting for traffic lights, and picking up passengers.
[0063] Parking gear standby state: The way to wake up the car by unlocking or keyless entry and polling, such as long-distance 4G unlocking or Bluetooth unlocking. In this state, the vehicle engine does not start, but the vehicle's systems and devices can run.
[0064] People's awareness of security and privacy is gradually increasing. In the closed private environment of the car, people in the car expect a safe and private environment to ensure that private conversations are not recorded or photographed by third parties. However, the external attachments of the vehicle are often used by third parties to record or photograph private information as a secret means of recording or photographing. The existence of external attachments of the vehicle poses a great security risk to people's lives and privacy.
[0065] The external attachments of the above-mentioned vehicles are mainly divided into three categories: mechanically powered external attachments, externally powered external attachments, and external attachments that use power from inside the vehicle. At present, the detection methods for external attachments that use power from inside the vehicle are mainly divided into: a method for detecting an external recorder and a method for detecting an external camera.
[0066] Among them, the method of detecting an external recorder is mainly to receive the radio signal of the vehicle, decode the radio signal to obtain the decoding information, and judge whether the vehicle has an external recorder based on the decoding information. The method of detecting an external camera is mainly to obtain the data flow in the detection vehicle space, identify the detected data flow, and after identifying the camera flow containing the light source, determine that the vehicle carries an external camera. However, these two methods only determine whether the vehicle is connected to an external recorder or an external camera through one signal detection or data flow detection, and cannot effectively guarantee the accuracy of the vehicle external device detection. At the same time, this method can only determine whether the vehicle is connected to an external recorder or an external camera, and it is difficult to accurately locate the access position of the external recorder and the external camera.
[0067] Based on this, the present application provides an external attachment detection method, an external attachment detection device, an external attachment detection equipment, a vehicle including the external attachment detection device or the external attachment detection equipment, and a storage medium, the basic principle of which is: obtaining the state information of the target vehicle, and when the target vehicle is in a first state, obtaining the current information of at least one port of the target vehicle, wherein the first state is that the target vehicle is in a parking gear state or a dormant state, which can ensure that the current of the vehicle is collected when the current of the vehicle is relatively stable. The current information indicates that the port corresponding to the current is connected to an external attachment under the preset conditions, which can effectively detect the external attachment in the vehicle that uses the power supply in the vehicle, thereby protecting the privacy information of the vehicle personnel.
[0068] It should be noted that the means of transport including the external attachment detection device or the external attachment detection equipment may be vehicles, trains, ships, airplanes, and other means of transport, and the present application does not limit the type of means of transport. The following takes the vehicle as an example to describe the external attachment detection method and device provided by the present application.
[0069] On the one hand, the external attachment detection method and device provided by the present application can be applied to Figure 2 In the illustrated vehicle 200, the vehicle 200 includes: at least one component 201, at least one port 202, and an external attachment detection device 203. The external attachment detection device 203 is deployed in the vehicle 200, one end of the external attachment detection device 203 is connected to the at least one port 202, and the other end of the external attachment detection device 203 is connected to the vehicle 200.
[0070] Exemplarily, the component 201 may be a battery, a motor, a speaker, an air conditioner, or other components of the vehicle 200. The present application does not limit the type and quantity of the component 201.
[0071] The port 202 may be a connection port for the component 201 to other devices. For example, it may be a connection port A for connecting to the vehicle's built-in camera A1 or the vehicle's built-in camera A2, or a connection port B for connecting to the vehicle's built-in recorder B, or a connection port C for connecting to other components C of the vehicle. The present application does not limit the type and number of the port 202.
[0072] The external attachment detection device 203 is used to execute the external attachment detection method provided by the present application, by obtaining the state of the vehicle 200, and then obtaining the current information of at least one port 202 of the vehicle 200 when the vehicle 200 is in the first state. At least one port is a port outside the whitelist in the port 202. The first state is that the vehicle is in the parking gear state or the dormant state, and the current of the vehicle in the first state is stable. The current information is used to indicate that at least one port 202 of the target vehicle 200 is connected to an external attachment under the preset conditions.
[0073] Figure 3 FIG. 2 is a specific example of a vehicle 200 provided in the present application. Figure 3 As shown, the vehicle 200 provided by the present application may also include: a controller 204, an input device 205, and an output device 206. Among them, the first end of the controller 204 is connected to the other end of the external attachment detection device 203. The second end of the controller 204 is connected to the input device 205. The third end of the controller 204 is connected to the output device 206.
[0074] The input device 205 is used to receive a detection instruction from a user, and the detection instruction includes port information of a port of the target vehicle. The port is selected by the user according to the status information of each port displayed by the output device 206. Exemplarily, the input device 205 can be a keyboard, a mouse, a camera, a scanner, a light pen, a handwriting input board, a joystick, a voice input device, etc., and the present application does not limit the type of the input device 205.
[0075] The output device 206 is used to provide an interactive interface for the user, and after receiving the port information sent by the controller 204, the port information is displayed to the user. Exemplarily, the output device 206 can be a display, a printer, a plotter, an image output system, a voice output system, a magnetic recording device, etc. This application does not limit the type of the output device 206.
[0076] In a possible implementation, the external attachment detection device 203 is further used to send the port information of the port 202 connected to the external attachment to the controller 204. After receiving the port information of the port of the target vehicle, the controller 204 is used to send the port information to the output device 206. The controller 204 is also used to receive the detection instruction sent by the input device 205.
[0077] In another possible implementation, the external attachment detection device 203 is further used to send the current information of the port of the target vehicle to the controller 204. The controller 204 is used to determine that at least one port of the target vehicle 200 is connected to the external attachment under a preset condition according to the current information of the port of the target vehicle. The controller 204 is also used to send the port information of the port connected to the external attachment to the output device 206. The controller 204 is also used to receive the detection instruction sent by the input device 205.
[0078] Among them, the controller 204 can be a smart cockpit domain controller (CDC) or a central control screen of the vehicle. This application does not limit the type of the controller 204.
[0079] It should be noted that the above Figure 2 or Figure 3 The illustrated vehicle 200 further illustrates an example of the application scenario of the present application solution and limits the application scenario of the present application solution.
[0080] On the other hand, the structure of the external attachment detection device provided in the embodiment of the present application can be as follows: Figure 4 The external attachment detection device 203 shown in the figure includes: a port current acquisition module 401 and a detection module 402. When the external attachment detection device 203 is applied to a vehicle, one end of the port current acquisition module 401 is connected to at least one port of the vehicle. The other end of the port current acquisition module 401 is connected to the detection module 402. The detection module 402 is connected to the controller 204 of the vehicle.
[0081] The port current acquisition module 401 is used to obtain current information of at least one port of the vehicle 200 when the vehicle 200 is in the first state, and send the current information to the detection module 402. Exemplarily, the port current acquisition module 401 can be an intelligent distribution box, and the accuracy of the port current acquisition module 401 is 10mA.
[0082] The detection module 402 is used to, after receiving the current information sent by the port current acquisition module 401, determine based on the current information that an external attachment is connected to the port under a preset condition, and send the port information of the port connected to the external attachment to the controller 204 of the vehicle 200, so that the vehicle 200 displays the port information to the user. Alternatively, the detection module 402 is used to, after receiving the current information sent by the port current acquisition module 401, send the current information to the controller 204 of the vehicle 200, and the controller 204 of the vehicle 200 determines that an external attachment is connected to the port under a preset condition.
[0083] In one possible implementation, Figure 5 As shown, the detection module 402 may include: an overall detection module 4021 and a directional detection module 4022 .
[0084] One end of the overall detection module 4021 is connected to the port current collection module 401, and the other end of the overall detection module 4021 is connected to the vehicle controller 204. One end of the directional detection module 4022 is connected to the port current collection module 401, and the other end of the directional detection module 4022 is connected to the port vehicle controller 204.
[0085] The overall detection module 4021 is used to obtain current information of at least one port of the vehicle 200 when the vehicle 200 is in the first state, determine the status information of each port according to the current information of each port, and send the status information to the vehicle 200 so that the status information of the vehicle 200 is displayed to the user.
[0086] The directional detection module 4022 is used to receive a detection instruction sent by the vehicle 200, and the detection instruction includes port information of one or more specific ports of the vehicle 200. Exemplarily, the specific port can be a port whose current is abnormal as indicated by the status information detected by the overall detection module 4021, or it can be a port specified by the user. The directional detection module 4022 is also used to respond to the detection instruction, and according to the port information of the specific port, when the vehicle 200 is in the parking gear standby state, obtain the current information of the specific port of the vehicle 200, and then determine that the port is connected to an external attachment when the current information of the specific port meets the preset conditions. In addition, the directional detection module 3022 can also send the port information of the port connected to the external attachment to the controller 204 of the vehicle 200, so that the controller 204 of the vehicle 200 displays the port information to the user.
[0087] It should be noted that the above Figure 4 or Figure 5 The illustrated external attachment detection device 203 is only an example of the application scenario of the solution of the present application, and does not limit the application scenario of the solution of the present application.
[0088] The present application embodiment provides a method for detecting external attachments. Figure 4 or Figure 5 The external attachment detection device 203 is as follows Figure 2 or Figure 3 The vehicle 200 shown performs the following steps. Figure 6 As shown, the method may include the following steps:
[0089] S601, obtaining status information of a target vehicle.
[0090] In one possible implementation, the process of obtaining the status information of the target vehicle may be that the external attachment detection device sends a vehicle status information acquisition signal to the target vehicle at a preset time, and after receiving the vehicle status information acquisition signal, the target vehicle sends the status information of the target vehicle to the external attachment detection device.
[0091] In another possible implementation, the process of obtaining the state information of the target vehicle may be to directly send the state information of the target vehicle to the external attachment detection device when the state of the target vehicle changes.
[0092] In another possible implementation, the status information of the target vehicle may include a first state and a second state, the first state including: parking gear non-standby state, parking gear standby state, dormant state, and the second state including: states of the target vehicle other than the first state, such as driving gear state or reverse gear state.
[0093] S602, when the target vehicle is in a first state, obtaining current information of at least one port of the target vehicle in the first state, wherein the current information indicates that the port is connected to an external attachment when a preset condition is met.
[0094] In a possible implementation, when the target vehicle is in a first state, the port current acquisition module of the external attachment detection device acquires current information of all ports outside the port whitelist in the first state of the target vehicle.
[0095] Exemplarily, the ports of the target vehicle include port A, port B, port C, port X, port Y and port Z. Among them, port X, port Y and port Z are ports in the port whitelist. When the target vehicle is in a parking gear state or a dormant state, the overall detection module of the external attachment detection device instructs the port current acquisition module to obtain the current information of port A, port B and port C of the target vehicle outside the whitelist.
[0096] The port whitelist refers to the port trust list of the target vehicle, that is, the ports that do not need to be detected for external attachments. Exemplarily, the port whitelist can be as shown in Table 1, wherein the port whitelist includes port X, port Y, and port Z, that is, it is not necessary to obtain the current information of port X, port Y, and port Z. The user can modify the port whitelist through the input device and output device of the target vehicle, such as adding a port or deleting a port.
[0097] Table 1 Port whitelist of target vehicles
[0098]
[0099] In this possible implementation, when the vehicle is in the parking gear state or the dormant state, the overall detection module of the target vehicle obtains the current information of all ports of the target vehicle that are not in the port whitelist through the port current acquisition module. The device port voltage of the target vehicle in the parking gear state or the dormant state is stable, thereby ensuring the current stability. Using stable current information to perform overall detection of the target vehicle can ensure more accurate detection results.
[0100] Further, such as Figure 7 As shown, the method provided in the embodiment of the present application may further include: S603.
[0101] S603: When the current information of a port of the target vehicle meets a preset condition, determine whether the port is connected to an external attachment.
[0102] Among them, the current information may include the current value of the port. The preset condition includes that the difference between the current value in the current information of a port of the target vehicle and the target standard current value in the prefabricated current information of the target vehicle is greater than the preset threshold value. The prefabricated current information includes standard current values corresponding to multiple different temperatures and different electrical quantities when the target vehicle is in the first state. The temperature corresponding to the target standard current value is the current temperature of the target vehicle, and the electrical quantity corresponding to the target standard current value is the current electrical quantity of the target vehicle. The target standard current value is the standard current value of the target vehicle at the current temperature and current electrical quantity.
[0103] It should be noted that the temperature of the target vehicle can be characterized by the temperature of the cooling water of the target vehicle, and the present application does not limit the type of temperature. The power of the target vehicle can be characterized by the power of the battery of the target vehicle, and the present application does not limit the type of power.
[0104] Specifically, taking port A of the target vehicle as an example, after obtaining the current value of port A, the overall detection module of the external attachment detection device determines the standard current value of port A in the prefabricated current information of the target vehicle according to the current temperature and power of the target vehicle, and compares the current value of port A with the standard current value of port A. If the difference between the two is greater than the threshold value, it is considered that the current information of port A meets the preset condition. At this time, it can be determined that the current of port A is in an abnormal state, or that port A is connected to an external attachment. The prefabricated current information of the target vehicle includes: when the target vehicle is in the first state, the standard current values corresponding to multiple different temperature and different power conditions.
[0105] In a possible implementation, the prefabricated current information of the target vehicle may specifically include first prefabricated current information, second prefabricated current information, and third prefabricated current information. Among them, the first prefabricated current information includes the standard current value corresponding to multiple different temperatures and different power conditions when the target vehicle is in a parking gear non-standby state. The second prefabricated current information includes the standard current value corresponding to multiple different temperatures and different power conditions when the target vehicle is in a parking gear standby state. The third prefabricated current information includes the standard current value corresponding to multiple different temperatures and different power conditions when the target vehicle is in a dormant state. The prefabricated current information can be prefabricated for the target vehicle to leave the scene. At the same time, the port prefabricated current information can be updated through cloud diagnosis or diagnostic instrument when the target vehicle is in a trusted diagnosis state.
[0106] Exemplarily, the first prefabricated current information, the second prefabricated current information, and the third prefabricated current information may be shown in Table 2, Table 3, and Table 4, respectively. Table 2 shows the currents at multiple temperatures when the target vehicle is in a parking gear non-standby state and multiple power levels of the target vehicle. Table 3 shows the currents at multiple temperatures when the target vehicle is in a parking gear standby state and multiple power levels of the target vehicle. Table 4 shows the currents at multiple temperatures when the target vehicle is in a dormant state and multiple power levels of the target vehicle.
[0107] Table 2 Multiple temperatures of the target vehicle in the parking gear non-standby state and the current of the target vehicle under multiple power conditions
[0108]
[0109] Table 3 Multiple temperatures of the target vehicle in the parking gear standby state and the current of the target vehicle at multiple power levels
[0110]
[0111] Table 4 Current at multiple temperatures of the target vehicle in a dormant state and multiple power levels of the target vehicle
[0112]
[0113] Exemplarily, after the overall detection module obtains the current information of all ports outside the white list when the target vehicle is in the parking gear and non-standby state, the temperature of the target vehicle is temperature 1, the power of the target vehicle is power 1, and the standard current value under temperature 1 and power 1 in lookup table 2 is current 1, and then the current value of each port is compared with current 1. If the difference between the current value and current 1 is greater than the threshold value, it is determined that the port is connected to an external attachment.
[0114] Another possible implementation is Figure 8As shown, the method provided in the embodiment of the present application may also include S801-S803.
[0115] S801, the external attachment detection device receives a first detection instruction sent by a controller of a target vehicle.
[0116] The first detection instruction includes port information of the first port.
[0117] S802, the external attachment detection device responds to the first detection instruction, and when the target vehicle is in a parking gear standby state, the directional detection module of the external attachment detection device instructs the port current acquisition module to obtain the current information of the first port of the target vehicle according to the port information of the first port.
[0118] Exemplarily, the external attachment detection device first receives a first detection instruction sent by a controller of the target vehicle, where the first detection instruction includes port X of the target vehicle. If port X is in the whitelist of the target vehicle, port X is deleted from the whitelist, and the user places the target vehicle in a parking gear standby state. At this time, port X is in the standby state, and the port current acquisition module of the external attachment detection device obtains current information of port X.
[0119] In this possible implementation, the target vehicle generates a first detection instruction according to the port to be detected specified by the user, and sends it to the external attachment detection device. Then, when the vehicle is in the parking gear standby state, the external attachment detection device obtains the current information of the first port, which can achieve directional detection of the first port while ensuring a more accurate detection result.
[0120] S803: When the current information of the first port meets a preset condition, determine that the first port is connected to an external attachment.
[0121] Specifically, the directional detection module of the external attachment detection device compares the current value of the first port with the corresponding standard current value in the second prefabricated current information. If the difference between the current value of the first port and the corresponding standard current value in the second prefabricated current information is greater than the threshold value, it is determined that the first port is connected to the external attachment.
[0122] Exemplarily, after the directional detection module obtains the current information of port X in the parking gear standby state of the target vehicle, the temperature of the target vehicle is temperature 1 and the power of the target vehicle is power 1. The standard current value of port X at temperature 1 and power 1 in the lookup table 3 is current 1. The current value of port X is then compared with current 1. If the difference between the current value and current 1 is greater than the threshold value, it is determined that an external attachment is connected to port X.
[0123] Another possible implementation is Fig. 9As shown, the method provided in the embodiment of the present application may also include S901-S906.
[0124] S901: When a target vehicle is in a first state, the overall detection module of the external attachment detection device instructs the port current acquisition module to acquire current information of at least one port of the target vehicle.
[0125] S902, the overall detection module determines the status information of each port according to the current information of each port of the target vehicle.
[0126] S903, the external attachment detection device sends the status information of each port to the controller of the target vehicle, so that the target vehicle displays the status information to the user.
[0127] S904: The user determines a second detection instruction according to the status information of each port, and submits the second detection instruction to the external attachment detection device through the controller.
[0128] S905 , the external attachment detection device responds to the second detection instruction and instructs the port current acquisition module to obtain current information of the second port of the target vehicle according to the port information of the second port when the target vehicle is in a parking gear standby state.
[0129] S906: When the current information of the second port meets a preset condition, the directional detection module determines that the second port is connected to an external attachment.
[0130] Among them, the process of the overall detection module determining the status information of each port according to the current information of each port of the target vehicle can be that the overall detection module compares the current information of each port with the current value of the prefabricated current information of the port; if the difference between the current value of the port and the current value of the prefabricated current information is greater than a threshold value, it is determined that the current value of the port is in an abnormal state; if the difference between the current value of the port and the current value of the prefabricated current information is less than or equal to the threshold value, it is determined that the current value of the port is in a normal state.
[0131] It should be noted that in the process of comparing the current information of each port with the current value of the pre-fabricated current information of the port, if the difference between the current value of the port and the current value of the pre-fabricated current information is greater than the threshold value, it can be determined that the current state of the port is abnormal, or it can be determined that the port is connected to an external attachment. This application is not limited to this.
[0132] In this possible implementation, the present application performs an overall detection on each port of the target vehicle, obtains the current information of each port, determines the status information of each port, and then sends the status information of each port to the controller of the target vehicle, which can preliminarily remind the user that there are ports with abnormal current among the ports of the target vehicle. Furthermore, the user can generate a second detection instruction based on the status information of each port, and then obtain the current information of the target vehicle in the parking gear standby state based on the port information of the second port in the second detection instruction. The ports of the target vehicle can be detected by a combination of overall detection and directional detection to make the detection results more accurate. At the same time, the ports with external attachments can be located by directional detection of the ports.
[0133] Exemplarily, after the overall detection module obtains the current information of all ports in the parking gear non-standby state of the target vehicle, the temperature of the target vehicle is temperature 1, and the power of the target vehicle is power 1. Look up the standard current value at temperature 1 and power 1 in Table 2. Then compare the current value of each port with the standard current value, and determine that the difference between the current value of port A and the standard current value of port A is greater than the threshold value. At this time, the current value of port A is abnormal. The difference between the current value of other ports and the current value of the ports in Table 2 is less than or equal to the threshold value, which is a normal state.
[0134] Then, the status information of each port is sent to the controller of the target vehicle, and the controller displays the status information to the user when the target vehicle stops. The user generates a detection instruction of port A by selecting the directional detection port A, and submits the detection instruction to the external attachment detection device. The external attachment detection device responds to the detection instruction, and when the vehicle is in the parking gear standby state, instructs the port current acquisition module to obtain the current value of port A, and then compares the current value with the standard current value of Table 3 under the temperature and power of the vehicle at this time, and determines that the difference between the current value of port A and the standard current value of port A is greater than the threshold value, and determines that port A is connected to an external attachment at this time.
[0135] Further, such as Fig.10 As shown, the method provided in the embodiment of the present application may further include: S604.
[0136] S604, sending the current information to a controller of the target vehicle, so that the controller determines that the port is connected to the external attachment when the current information meets a preset condition.
[0137] Specifically, after obtaining the current information of at least one port of the target vehicle in the first state, the external attachment detection device can directly send the current information to the controller of the target vehicle. After receiving the current information, the controller compares the current value of the port with the current value of the pre-set current information of the port. If the difference between the current value of the port and the current value of the pre-set current information of the port is greater than the threshold value, it is determined that the port is connected to an external attachment.
[0138] The present application obtains the current information of at least one port of the target vehicle by obtaining the state information of the target vehicle, and then obtains the current information of at least one port of the target vehicle when the target vehicle is in the parking gear state or the dormant state. In this state, the current of the target vehicle is relatively stable, which can ensure that the result of the port access to the external attachment under the preset conditions indicated by the current information is more accurate, and can effectively detect the existence of external attachments in the vehicle that use the power supply in the vehicle.
[0139] The following will use specific examples to Figure 6-Figure 10 The schematic scheme is described in detail.
[0140] Example 1
[0141] like Fig.11 As shown, the external attachment detection device first obtains the state information of the target vehicle, and when the target vehicle is in the parking gear state or the dormant state, the port current acquisition module is instructed to obtain the current information of ports A, B, C and D outside the port whitelist. Then, the current values of ports A, B, C and D are compared with the current values of the prefabricated current information in the parking gear state or the dormant state through the overall detection module, and it is determined that the difference between the current value of port A and the current value of the prefabricated current information of port A is greater than the threshold value, and the current of port A is abnormal at this time. The difference between the current value of port B and the current value of the prefabricated current information of port B is less than the threshold value, and the current of port B is normal at this time. The difference between the current value of port C and the current value of the prefabricated current information of port C is less than the threshold value, and the current of port C is normal at this time. The difference between the current value of port D and the current value of the prefabricated current information of port D is less than the threshold value, and the current of port D is normal at this time.
[0142] The external attachment detection device sends the status information of port A, port B, port C and port D to the controller of the target vehicle, so that the controller displays the status information of port A, port B, port C and port D to the user when the vehicle is in a safe state, and the user decides whether to detect port A and determines the detection time of port A. When the user puts the vehicle in the parking gear standby state, port A is in the standby state at this time, and the user manually triggers the directional detection strategy for port A, that is, the user issues a detection instruction for port A to the directional detection module of the external attachment detection device through the controller. After receiving the detection instruction for port A, the directional detection module of the external attachment detection device obtains the current information of port A through the port current acquisition module, and then compares the current information of port A with the current value of the prefabricated current information of port A in the parking gear standby state through the directional detection module, and determines that the current value of port A at this time and the current value of the prefabricated current information of port A are greater than the threshold value, and at this time, an external attachment is connected to port A. The external attachment detection device sends the information that the port A is connected to the external attachment to the controller of the target vehicle, so that the controller displays the information that the port A is connected to the external attachment to the user.
[0143] Example 2
[0144] like Fig.12 As shown, the user first issues a detection instruction for port X through the controller of the vehicle, and the controller sends the detection instruction to the port current acquisition module of the external attachment detection device. After the external attachment detection device receives the detection instruction, the directional detection module of the external attachment detection device first checks the port whitelist. At this time, port X is in the port whitelist, and port X is deleted from the port whitelist. Then, when the user puts the vehicle in the parking gear standby state, he manually triggers the directional detection strategy for port X. At this time, the components of port X are in the standby state, and the port current detection module of the external attachment detection device obtains the current information of port X. The directional detection module compares the current value of port X with the pre-set current value of port X, and determines that the difference between the current value of port X and the current value of the pre-set current information of port X is greater than the threshold value. At this time, port X is connected to an external attachment. The external attachment detection device sends the information that port X is connected to an external attachment to the controller of the target vehicle, so that the controller displays the information that port X is connected to an external attachment to the user.
[0145] The embodiment of the present application can divide the computing device into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0146] In the case of dividing each functional module into corresponding functional modules, Fig.13 FIG. 1 is a schematic diagram showing a possible composition of a device for detecting external attachments involved in the above-mentioned embodiments. The device for detecting external attachments 1300 is deployed on a vehicle 200. Fig.13 As shown, the external attachment detection device 1300 may include: an acquisition module 131 and a judgment module 132 .
[0147] The acquisition module 131 is used to support the external attachment detection device 1300 to execute Figure 6 S601 or S602 in the external attachment detection method shown, or executing Figure 7 S601 or S602 in the external attachment detection method shown, or executing Figure 8 S601 or S802 in the external attachment detection method shown, or executing Fig. 9 S601 or S901 or S905 in the external attachment detection method shown.
[0148] The judgment module 132 is used to support the external attachment detection device 1300 to execute the step of judging whether the target vehicle is in the first state according to the state information of the target vehicle in the method provided in the embodiment of the present application.
[0149] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0150] The external attachment detection device 1300 provided in the embodiment of the present application is used to execute the external attachment detection method described above, and thus can achieve the same effect as the external attachment detection method described above.
[0151] Further, such as Fig.14 As shown, the external attachment detection device 1300 provided in the embodiment of the present application may further include: a receiving module 133 , a responding module 134 , a determining module 135 and a sending module 136 .
[0152] The receiving module 133 is used to support the external attachment detection device 1300 to execute Figure 8S801 in the external attachment detection method shown.
[0153] The determination module 135 is used to support the external attachment detection device 1300 to execute Figure 7 S603 of the external attachment detection method shown, or executing Figure 8 S803 in the external attachment detection method shown, or executing Fig. 9 S902 or S906 in the external attachment detection method shown in the figure either executes a step of determining the status information of each port based on the current information of each port, or executes a step of determining in the judgment module 132 that the difference between the current value and the current value of the prefabricated current information of the port in the first state of the target vehicle is greater than a threshold value, and determining that the port is connected to an external attachment.
[0154] The sending module 136 is used to support the external attachment detection device 1300 or execute Fig. 9 S903 in the external attachment detection method shown, or executing Fig.10 S604 of the external attachment detection method shown.
[0155] The present application embodiment also provides an external attachment detection device 1500, such as Fig.15 As shown, the computing device 1500 may include a memory 1501, a processor 1502, and a transceiver 1503, wherein the memory 1501 and the processor 1502 may be connected via a bus or a network or other means. Fig.15 The example of connecting through bus is taken in the following.
[0156] The processor 1502 may be a central processing unit (CPU). The processor 1502 may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.
[0157] Memory 1501 can be a volatile memory (volatile memory), such as a random-access memory (RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); or a combination of the above types of memories, used to store application code, configuration files, data information or other content that can implement the method of the present application.
[0158] The memory 1501 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as the metadata acquisition module in the embodiment of the present application. The processor 1502 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 1501.
[0159] The memory 1501 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created by the processor 1502, etc. In addition, the memory 1501 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 1501 may optionally include a memory remotely arranged relative to the processor 1502, and these remote memories may be connected to the processor 1502 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0160] The transceiver 1503 is used for information exchange between the external attachment detection device 1500 and other devices.
[0161] The one or more modules are stored in the memory 1501, and when executed by the processor 1502, the following is performed: Figure 6-Figure 12 The external attachment detection method and related steps in any of the embodiments shown in .
[0162] The embodiment of the present application also provides a vehicle, which includes: at least one component, at least one port, and an external attachment detection device. The external attachment detection device is deployed in at least one component; one end of the external attachment detection device is connected to at least one port; and the other end of the external attachment detection device is connected to the vehicle.
[0163] The vehicle may be the vehicle 200 described in the foregoing embodiment.
[0164] Furthermore, the vehicle may also include a controller, which is connected to the other end of the detection device for the external attachment.
[0165] Furthermore, the controller may be a smart cockpit domain controller.
[0166] The embodiment of the present application also provides a computer-readable storage medium on which instructions are stored. When the instructions are executed, the external attachment detection method and related steps in the above method embodiment are executed.
[0167] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the external attachment detection method and related steps in the above method embodiment.
[0168] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0169] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0170] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0171] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0172] If the integrated 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, the technical solution of the embodiment of the present application is essentially or the part that contributes or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0173] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for detecting external attachments, characterized in that: include: Obtain the status information of the target vehicle; When the target vehicle is in a first state, current information of at least one port of the target vehicle is obtained; the first state includes a parking gear state and a dormant state; when the current information meets a preset condition, it is indicated that the port is connected to an external attachment.
2. The method according to claim 1, characterized in that When the target vehicle is in the first state, before obtaining the current information of at least one port of the target vehicle, the method further includes: Receiving a first detection instruction sent by a controller of the target vehicle; the first detection instruction includes port information of a first port of the target vehicle; When the target vehicle is in the first state, obtaining current information of at least one port of the target vehicle includes: In response to the first detection instruction, when the target vehicle is in a first state, current information of the first port of the target vehicle is acquired according to the port information of the first port.
3. The method according to claim 2, characterized in that The parking gear state includes a parking gear standby state; The step of acquiring, in response to the first detection instruction, current information of the first port of the target vehicle according to port information of the first port when the target vehicle is in the first state includes: In response to the first detection instruction, when the target vehicle is in a parking gear standby state, current information of the first port of the target vehicle is acquired according to the port information of the first port.
4. The method according to claim 1, characterized in that The method further comprises: Determine the status information of each port according to the current information of each port; the status information indicates whether the current value of the port is abnormal; Sending the status information of each port to the controller of the target vehicle; receiving a second detection instruction sent by a controller of the target vehicle; the second detection instruction includes port information of a second port of the target vehicle, the status information of the second port indicating that the current value is abnormal; the second port is selected by a user according to the status information of each port displayed on the target vehicle; In response to the second detection instruction, when the target vehicle is in a parking gear standby state, current information of the second port of the target vehicle is acquired according to the port information of the second port.
5. The method according to claim 1, characterized in that The current information includes a current value; the preset conditions include: a difference between a target standard current value in the prefabricated current information of the target vehicle and a preset threshold value; the prefabricated current information includes standard current values corresponding to multiple different temperatures and different electrical quantities when the target vehicle is in the first state; the temperature corresponding to the target standard current value is the current temperature of the target vehicle, and the electrical quantity corresponding to the target standard current value is the current electrical quantity of the target vehicle.
6. The method according to claim 1, characterized in that The method further comprises: The current information of each port is sent to the controller of the target vehicle, so that the controller determines that the port is connected to the external attachment when it is determined that the current information meets the preset condition.
7. An external attachment detection device, characterized in that: The device comprises: An acquisition module, used to acquire the status information of the target vehicle; A judging module, used for judging whether the target vehicle is in a first state according to the state information of the target vehicle; The acquisition module is also used to obtain current information of at least one port of the target vehicle when the judgment module determines that the target vehicle is in a first state; the first state includes a parking gear state and a sleep state; when the current information meets a preset condition, it indicates that the port is connected to an external attachment.
8. The device according to claim 7, characterized in that The device further comprises: A receiving module, configured to receive a first detection instruction sent by a controller of the target vehicle; the first detection instruction includes port information of a first port of the target vehicle; A response module, configured to respond to the first detection instruction; The acquisition module is specifically configured to acquire the current information of the first port of the target vehicle according to the port information of the first port when the target vehicle is in the first state after the response module responds to the first detection instruction.
9. The device according to claim 8, characterized in that The parking gear state includes a parking gear standby state; The acquisition module is specifically used to acquire the current information of the first port of the target vehicle according to the port information of the first port when the target vehicle is in a parking gear standby state after the response module responds to the first detection instruction.
10. The device according to claim 7, characterized in that The device further comprises: A determination module, used to determine the status information of each port according to the current information of each port; the status information indicates whether the current value of the port is abnormal; A sending module, used for sending the status information of each port to the controller of the target vehicle; The receiving module is further used to receive a second detection instruction sent by the controller of the target vehicle; the second detection instruction includes port information of a second port of the target vehicle, and the status information of the second port indicates that the current value is abnormal; the second port is selected by the user according to the status information of each port displayed on the target vehicle; A response module, further configured to respond to the second detection instruction; The acquisition module is further used to acquire the current information of the second port of the target vehicle according to the port information of the second port when the target vehicle is in a parking gear standby state after the response module responds to the second detection instruction.
11. The device according to claim 7, characterized in that The current information includes a current value; the preset conditions include: a difference between a target standard current value in the prefabricated current information of the target vehicle and a preset threshold value; the prefabricated current information includes standard current values corresponding to multiple different temperatures and different electrical quantities when the target vehicle is in the first state; the temperature corresponding to the target standard current value is the current temperature of the target vehicle, and the electrical quantity corresponding to the target standard current value is the current electrical quantity of the target vehicle.
12. The device according to claim 7, characterized in that The sending module is further used to send the current information to the controller of the target vehicle, so that the controller determines that the port is connected to the external attachment when the current information meets the preset condition.
13. An external attachment detection device, characterized in that: include: 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 executes the external attachment detection method as described in any one of claims 1-6.
14. A means of transport, characterized in that: include: At least one component, at least one port, and an external attachment detection device according to any one of claims 7 to 12; The external attachment detection device is disposed in the at least one component; one end of the external attachment detection device is connected to the at least one port; and the other end of the external attachment detection device is connected to the vehicle.
15. The vehicle according to claim 14, characterized in that: The vehicle further includes: a controller; the controller is connected to the other end of the external attachment detection device.
16. The vehicle according to claim 15, characterized in that: The controller is an intelligent cockpit domain controller.
17. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the external attachment detection method according to any one of claims 1 to 6 is implemented.