Vehicle detection method, charging device and vehicle
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGZHOU AUTOMOBILE GROUP CO LTD
- Filing Date
- 2026-04-10
- Publication Date
- 2026-06-02
Smart Images

Figure CN122126129A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, specifically to a vehicle testing method, charging equipment, and a vehicle. Background Technology
[0002] With the popularization of new energy vehicles and the advancement of charging equipment (such as charging piles), the level of intelligence of charging equipment is also constantly improving. However, the intelligent application of charging equipment is mostly concentrated on charging control and charging strategy optimization, and the intelligent capabilities have not been effectively expanded, resulting in technical problems such as single function and low utilization rate of intelligent resources in charging equipment. Summary of the Invention
[0003] In view of the above, it is necessary to propose a vehicle detection method, charging equipment and vehicle to solve the technical problems of limited functionality and low utilization of intelligent resources in existing charging equipment.
[0004] In a first aspect, this application provides a vehicle detection method applied to a charging device. The method includes: when the charging device establishes a connection with a vehicle, generating a first detection command; sending the first detection command to the vehicle, causing the vehicle to respond to the first detection command and return its vehicle identification code and vehicle parameters; generating a second detection command based on the vehicle identification code and the vehicle parameters, and sending the second detection command to a cloud server, causing the cloud server to respond to the second detection command and return the vehicle's detection parameters; and generating a health snapshot of the vehicle based on the detection parameters and the vehicle parameters.
[0005] Optionally, in the above vehicle detection method, the vehicle parameters include the vehicle's fault codes. The step of generating a second detection instruction based on the vehicle parameters and sending the second detection instruction to a cloud server, causing the cloud server to respond to the second detection instruction and return the vehicle's detection parameters, includes: generating the second detection instruction based on the vehicle identification code and the fault codes; sending the second detection instruction to the cloud server, causing the cloud server to respond to the second detection instruction, determine the cumulative occurrence count of the fault codes, and return the cumulative occurrence count as the detection parameter to the charging device.
[0006] Optionally, in the above vehicle detection method, the vehicle parameters include the vehicle's firmware version number. The step of generating a second detection command based on the vehicle parameters and sending the second detection command to a cloud server, causing the cloud server to respond to the second detection command and return the vehicle's detection parameters, includes: generating the second detection command based on the vehicle identification number and the firmware version number; sending the second detection command to the cloud server, causing the cloud server to respond to the second detection command by returning the version number of the latest firmware update package corresponding to the vehicle as the detection parameter to the charging device.
[0007] Optionally, in the above vehicle detection method, generating a health snapshot of the vehicle based on the detection parameters and the vehicle parameters includes: if the version number of the firmware update package is greater than the firmware version number, generating a firmware update instruction based on the version number of the firmware update package; sending the firmware update instruction to the vehicle, causing the vehicle to perform a firmware update operation based on the firmware update instruction, and obtaining the firmware update progress of the vehicle from the vehicle when the charging device receives a charging end signal; and generating the health snapshot based on the firmware update progress.
[0008] Optionally, in the above vehicle detection method, the vehicle parameters include the battery parameters of the vehicle's onboard battery. The step of generating a second detection command based on the vehicle parameters and sending the second detection command to a cloud server, causing the cloud server to respond to the second detection command and return the vehicle's detection parameters, includes: generating the second detection command based on the vehicle identification code and the battery parameters; sending the second detection command to the cloud server, causing the cloud server to respond to the second detection command and return the historical parameters of the onboard battery as the detection parameters to the charging device.
[0009] Optionally, in the above-described vehicle detection method, sending the first detection command to the vehicle, causing the vehicle to respond to the first detection command and return the vehicle identification number and vehicle parameters, includes: sending the first detection command to the vehicle, causing the vehicle to respond to the first detection command to perform a switch check on the corresponding control device, and returning the check information of each control device as the vehicle parameters to the charging device.
[0010] Optionally, in the above-described vehicle detection method, sending the first detection command to the vehicle, causing the vehicle to respond to the first detection command and return the vehicle identification code and vehicle parameters, includes: sending the first detection command to the vehicle, causing the vehicle to respond to the first detection command to clear the cache space of the controller, and returning the cache clearing information of each controller as the vehicle parameters of the vehicle to the charging device.
[0011] Secondly, this application provides a vehicle detection method applied to a vehicle. The method includes: when the vehicle establishes a connection with a charging device, responding to a first detection command sent by the charging device and returning vehicle parameters to the charging device, so that the charging device obtains the vehicle's detection parameters from a cloud server based on the vehicle parameters. The vehicle parameters include one or more of the following: fault codes, firmware version numbers, battery parameters of the vehicle battery, detection parameters of the control device, and cache clearing information of the controller; obtaining a health snapshot of the vehicle from the charging device and displaying the health snapshot.
[0012] Thirdly, this application provides a charging device, the charging device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the vehicle detection method as described in any of the above.
[0013] Fourthly, this application provides a vehicle including an electronic device that implements the vehicle detection method described above, and the vehicle establishes a connection with the charging device described above.
[0014] Based on the above, this application provides a vehicle detection method, a charging device, and a vehicle, applied to the charging device. The method includes: when the charging device establishes a connection with the vehicle, generating a first detection command; sending the first detection command to the vehicle, causing the vehicle to respond to the first detection command and return its vehicle identification code and vehicle parameters; generating a second detection command based on the vehicle identification code and vehicle parameters, and sending the second detection command to a cloud server, causing the cloud server to respond to the second detection command and return the vehicle's detection parameters; and generating a health snapshot of the vehicle based on the detection parameters and vehicle parameters. The charging device in this application can interact with both the vehicle and the cloud server to achieve vehicle health detection, enriching the functions of the charging device and improving the intelligent resource utilization rate of the charging device. Attached Figure Description
[0015] Figure 1 This is a schematic diagram illustrating an application scenario of the vehicle detection method provided in one embodiment of this application.
[0016] Figure 2 This is a schematic diagram of a charging device provided in an embodiment of this application.
[0017] Figure 3 This is a flowchart of a vehicle detection method provided in one embodiment of this application. Detailed Implementation
[0018] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0019] In the embodiments of this application, it should be noted that, unless otherwise expressly specified and limited, the word "for example" is used to indicate an example, illustration, or description. Any embodiment or design scheme described as "for example" in the embodiments of this application should not be construed as being better or more advantageous than other embodiments or design schemes. Specifically, the use of the word "for example" is intended to present the relevant concepts in a specific manner.
[0020] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication between them; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication between two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0021] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined as "first" or "second" may explicitly or implicitly include one or more features. Furthermore, in the description of this application, "multiple" means two or more, unless otherwise expressly and specifically limited.
[0022] To better understand the above-mentioned objectives, features, and advantages of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.
[0023] Please see Figure 1 This is a schematic diagram illustrating an application scenario of a vehicle detection method provided in an embodiment of this application.
[0024] In related technologies, although the level of intelligence of charging equipment is getting higher and higher, the intelligence capabilities of charging equipment are limited to the charging function, which is used to improve vehicle charging efficiency and enhance the mission of on-board batteries. This results in technical problems such as single function and low utilization rate of intelligent resources in charging equipment.
[0025] To address the aforementioned technical issues, this application provides a vehicle detection method. The charging pile in this application can interact with both the vehicle and the cloud server to perform health checks on the vehicle, thereby enriching the functions of the charging equipment and improving the intelligent resource utilization rate of the charging equipment.
[0026] Please see Figure 2 This is a schematic diagram of a charging device provided in this application. The charging device 10 includes, but is not limited to, a memory 11, a processor 12, and a computer program stored in the memory 11 and executable on the processor 12, such as a vehicle detection program. When the computer program is executed by the processor, it implements the vehicle detection method as described in the above embodiments.
[0027] The vehicle detection method provided in this application embodiment can be applied to one or more charging devices 10. The charging device 10 can be a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc. The charging device 10 includes, but is not limited to, household AC charging piles, public AC charging piles, public DC fast charging piles, portable vehicle chargers, mobile charging devices (such as charging robots), etc.
[0028] Specifically, the charging device 10 is used to: interact with the vehicle and the cloud server respectively to realize the health detection of the vehicle, enrich the functions of the charging device, and improve the intelligent resource utilization rate of the charging device.
[0029] Please see Figure 3 This is a flowchart of a vehicle detection method provided in an embodiment of this application.
[0030] The vehicle detection method of this application embodiment can be applied to, for example, Figure 1 The charging device 10 is shown. Specifically, the vehicle detection method includes the following steps. Depending on different needs, the order of some steps in this flowchart can be changed, and some steps can be omitted.
[0031] S301: When the charging equipment establishes a connection with the vehicle, a first detection command is generated.
[0032] In this embodiment, the charging equipment may include household AC charging piles, public AC charging piles, public DC fast charging piles, portable vehicle chargers, and mobile charging devices. After the charging equipment establishes a connection with the vehicle, it charges the vehicle through a charging gun. The vehicle may include any one of the following: battery electric vehicle (BEV), plug-in hybrid electric vehicle (PHEV), extended-range electric vehicle (EREV), and some fuel cell electric vehicles (FCEV).
[0033] In this embodiment, a communication connection between the charging device and the vehicle can be established via a charging gun. When the charging pile receives a charging command, it automatically triggers the generation of a first detection command and sends the first detection command to the vehicle via the charging gun. For example, by scanning the QR code of the charging device with a mobile phone to enter the charging interface of the charging device, when the user selects the charging control space in the charging interface, a charging command is generated. The charging command triggers the charging device to charge the vehicle and simultaneously triggers the charging device to generate the first detection command.
[0034] S302: Send a first detection command to the vehicle, causing the vehicle to respond to the first detection command and return the vehicle identification number and vehicle parameters.
[0035] In this embodiment, the charging device can send a first detection command to the vehicle via the charging gun. The vehicle responds to the first detection command and returns the vehicle identification number and vehicle parameters.
[0036] In this embodiment, the vehicle identification code can be a unique identification code for the vehicle, such as the Vehicle Identification Number (VIN).
[0037] In this embodiment, vehicle parameters may include any one or more of the following: Diagnostic Trouble Code (DTC), firmware version number, battery parameters of the vehicle battery, detection parameters of the control device, and cache clearing information of the controller.
[0038] In some embodiments of this application, sending a first detection command to the vehicle, causing the vehicle to respond to the first detection command and return the vehicle identification number and vehicle parameters, includes: sending a first detection command to the vehicle, causing the vehicle to respond to the first detection command to perform a switch check on the corresponding control device, and returning the check information of each control device as the vehicle parameters to the charging device.
[0039] In this embodiment, the charging device sends a first detection command to the vehicle's controller. For example, the Body Control Module (BCM) sends a check command to the corresponding control device. The control device responds to the check command, performs a self-check, and generates corresponding check information. The check information from each control device is then returned to the charging device as vehicle parameters. The control devices in the vehicle may include any one or more of the following: window control devices, lighting control devices, wiper control devices, air conditioning control devices, seat control devices, door lock control devices, rearview mirror control devices, steering wheel control devices, and trunk control devices.
[0040] For example, the BCM controller sends a check command to the lighting control device. The lighting control device responds to the check command by sequentially activating functions such as low beam headlights, high beam headlights, and fog lights to perform the check. After the check is completed, it returns the check information to the BCM controller, which then returns the check information as vehicle parameters to the charging device.
[0041] In some embodiments of this application, sending a first detection command to the vehicle, causing the vehicle to respond to the first detection command and return the vehicle identification number and vehicle parameters, includes: sending a first detection command to the vehicle, causing the vehicle to respond to the first detection command to clear the cache space of the controller, and returning the cache clearing information of each controller as the vehicle parameters of the vehicle to the charging device.
[0042] In this embodiment, the charging device sends a first detection command to the vehicle's controller. The controller responds to the first detection command by clearing its own cache space and records the available cache space before and after the cache space clearing as cache clearing information. The cache clearing information is then returned to the charging device as vehicle parameters.
[0043] In some embodiments of this application, vehicle parameters include battery parameters of the vehicle battery, which may include parameters such as voltage, internal resistance, and State of Health (SoH). If the voltage of the vehicle battery is less than a preset voltage threshold (e.g., 9.5V), or the internal resistance of the vehicle battery is greater than a preset resistance threshold (e.g., 50Ω), or the state of health is less than a preset state of health threshold (e.g., 70%), a health snapshot characterizing an abnormality of the vehicle battery is generated.
[0044] S303: Generate a second detection command based on the vehicle identification code and vehicle parameters, and send the second detection command to the cloud server, so that the cloud server responds to the second detection command and returns the vehicle's detection parameters.
[0045] In some embodiments of this application, vehicle parameters include vehicle fault codes. A second detection command is generated based on the vehicle parameters and sent to a cloud server, causing the cloud server to respond to the second detection command and return vehicle detection parameters. This includes: generating a second detection command based on the vehicle identification code and fault codes; sending the second detection command to the cloud server, causing the cloud server to respond to the second detection command, determine the cumulative occurrence count of the fault codes, and return the cumulative occurrence count as a detection parameter to the charging device.
[0046] In this embodiment, the charging device and the cloud server can establish a connection through a mobile communication network, exchange data based on the TCP / IP protocol suite, and use application layer protocols to communicate such as command issuance, data upload, and status synchronization.
[0047] In this embodiment, the fault code can be a string automatically generated by the vehicle controller when it detects an anomaly in a sensor, actuator, wiring, or logic. The string can include numeric and alphanumeric codes, and the fault code is used to locate the fault location and type. The vehicle controller can include any one or more of the following: Battery Management System (BMS), Vehicle Control Unit (VCU), Motor Control Unit (MCU), and On-board Charger (OBC).
[0048] In this embodiment, when the cloud server receives the second detection command, it reads the stored fault codes from the corresponding storage area based on the vehicle identification code in the second detection command. It then queries the stored fault codes for the cumulative occurrence count of the fault codes in the second detection command, returns this cumulative occurrence count as a detection parameter to the charging device, and writes the fault codes in the second detection command into the corresponding storage area. The cumulative occurrence count can be the number of times the same fault code appears within a preset time period, such as the number of times the same fault code appears within a month. Alternatively, the cumulative occurrence count can also be the number of times the same fault code appears consecutively. For example, if the charging device can obtain the same fault code each time it establishes a connection with the vehicle, the cumulative occurrence count is returned to the charging device as a detection parameter.
[0049] In some embodiments of this application, the vehicle parameters include the vehicle's firmware version number. A second detection command is generated based on the vehicle parameters, and the second detection command is sent to a cloud server, so that the cloud server responds to the second detection command and returns the vehicle's detection parameters. This includes: generating a second detection command based on the vehicle identification number and the firmware version number; sending the second detection command to the cloud server, so that the cloud server responds to the second detection command and returns the version number of the latest firmware update package corresponding to the vehicle as a detection parameter to the charging device.
[0050] In this embodiment, when the cloud server receives the second detection command, it queries the corresponding latest firmware update package based on the vehicle identification code in the second detection command, obtains the version number of the latest firmware update package, and returns the version number of the latest firmware update package as a detection parameter to the charging device.
[0051] S304: Generate a health snapshot of the vehicle based on detection parameters and vehicle parameters.
[0052] In this embodiment, the vehicle's health snapshot can be a set of structured data reflecting the vehicle's current health status. The health snapshot can include any one or more of the following: fault codes, firmware version number, battery parameters, detection parameters, and cache clearing information.
[0053] Based on the above, the charging device in this embodiment can interact with both the vehicle and the cloud server to perform health checks on the vehicle, thus enriching the functions of the charging device and improving the intelligent resource utilization rate of the charging device.
[0054] In one embodiment, if the vehicle's detection parameters include the cumulative number of fault codes, generating a vehicle health snapshot based on the detection parameters and vehicle parameters may include: if the cumulative number of occurrences is greater than or equal to a preset threshold, generating a health snapshot indicating a persistent fault in the vehicle; if the cumulative number of occurrences is less than the threshold, generating a health snapshot indicating an intermittent fault in the vehicle. A health snapshot indicating a persistent fault suggests that the vehicle's fault requires close attention and can indicate that the vehicle needs timely firmware repair, while a health snapshot indicating an intermittent fault suggests that the vehicle's fault does not require close attention.
[0055] In one embodiment of this application, if the vehicle's detection parameters include the version number of the latest firmware update package, a health snapshot of the vehicle is generated based on the detection parameters and vehicle parameters, including: if the version number of the firmware update package is greater than the firmware version number, generating a firmware update instruction based on the firmware update package version number; sending the firmware update instruction to the vehicle, causing the vehicle to perform a firmware update operation based on the firmware update instruction, and obtaining the vehicle's firmware update progress from the vehicle when the charging device receives a charging end signal; and generating a health snapshot based on the firmware update progress.
[0056] In this embodiment, the version number of the latest firmware update package is compared with the firmware version number of the vehicle. If the version number of the firmware update package is greater than the firmware version number, a firmware update command is generated based on the version number of the firmware update package and sent to the vehicle. The vehicle responds to the firmware update command, downloads the latest firmware update package from the cloud server, and performs a firmware update based on the latest firmware update package.
[0057] In this embodiment, if the vehicle's firmware update progress is complete before the charging device receives the charging end signal, a health snapshot indicating that the firmware update is complete is generated. If the vehicle's firmware update progress is still in the download process when the charging device receives the charging end signal, the download progress of the firmware update package (e.g., 80%) is obtained, and a health snapshot indicating that the firmware update is complete but not yet updated is generated based on the download progress of the firmware update package.
[0058] In one embodiment of this application, the vehicle parameters include the battery parameters of the vehicle's on-board battery. A second detection command is generated based on the vehicle parameters and sent to a cloud server, causing the cloud server to respond to the second detection command and return the vehicle's detection parameters. This includes: generating a second detection command based on the vehicle identification code and battery parameters; sending the second detection command to the cloud server, causing the cloud server to respond to the second detection command and return the historical parameters of the on-board battery as detection parameters to the charging device.
[0059] In this embodiment, the vehicle battery can be a high-voltage traction battery pack or a 12V low-voltage battery. The battery parameters can include voltage, internal resistance, and State of Health (SoH). Historical parameters of the vehicle battery can be battery parameters uploaded by the charging equipment when the vehicle was previously charged.
[0060] In this embodiment, when the cloud server receives the second detection command, it reads the historical parameters of the vehicle battery in response to the second detection command and returns the historical parameters of the vehicle battery as detection parameters to the charging device.
[0061] In some embodiments of this application, generating a vehicle health snapshot based on detection parameters and vehicle parameters includes: generating a health trend curve based on the detection parameters and vehicle parameters, and generating a vehicle health snapshot based on the health trend curve.
[0062] In this embodiment, the health trend curve may include any one of a voltage trend curve, a resistance trend curve, and a health status trend curve. The voltage trend curve can be generated based on historical voltage values in the detection parameters and voltage values in the vehicle parameters; the resistance trend curve can be generated based on historical resistance values in the detection parameters and resistance values in the vehicle parameters; and the health status trend curve can be generated based on historical health status in the detection parameters and health status in the vehicle parameters.
[0063] In other embodiments of this application, a vehicle detection method is provided, applied to a vehicle. The method includes: when the vehicle establishes a connection with a charging device, responding to a first detection command sent by the charging device, returning vehicle parameters to the charging device, so that the charging device obtains the vehicle's detection parameters from a cloud server based on the vehicle parameters. The vehicle parameters include one or more of the following: fault codes, firmware version numbers, battery parameters of the vehicle battery, detection parameters of the control device, and cache clearing information of the controller; obtaining a health snapshot of the vehicle from the charging device and displaying the health snapshot.
[0064] Accordingly, an embodiment of this application also provides a vehicle, which includes an electronic device that implements the vehicle detection method described above, and the vehicle establishes a connection with a corresponding charging device.
[0065] Combination Figure 2 As shown, Figure 2 Only the charging device 10 with memory 11 and processor 12 is shown. It will be understood by those skilled in the art that... Figure 2 The structure shown does not constitute a limitation on the charging device 10 and may include fewer or more components than shown, or combine certain components, or have different component arrangements.
[0066] The memory 11 in the charging device 10 stores multiple computer-readable instructions to implement a vehicle detection method, and the processor 12 can execute multiple instructions to achieve: interacting with the vehicle and the cloud server respectively to realize the health detection of the vehicle, which enriches the functions of the charging device and improves the intelligent resource utilization rate of the charging device.
[0067] Specifically, the processor 12's implementation method for the above instructions can be found in [reference needed]. Figure 3 The descriptions of the relevant steps in the corresponding embodiments are not repeated here.
[0068] Those skilled in the art will understand that the schematic diagram is merely an example of the charging device 10 and does not constitute a limitation on the charging device 10. The charging device 10 can be a bus topology or a star topology. The charging device 10 may also include more or fewer other hardware or software than shown in the diagram, or different component arrangements. For example, the charging device 10 may also include input / output devices, network access devices, etc.
[0069] It should be noted that the charging equipment 10 includes, but is not limited to, household AC charging piles, public AC charging piles, public DC fast charging piles, portable vehicle chargers, mobile charging equipment (such as charging robots), etc. Other existing or future electronic products that are applicable to this application should also be included within the scope of protection of this application and are incorporated herein by reference.
[0070] The memory 11 includes at least one type of computer-readable storage medium, which can be non-volatile or volatile. Computer-readable storage media include flash memory, portable hard drives, multimedia cards, card-type memories (e.g., SD memory, DX memory, etc.), magnetic memory, magnetic disks, optical disks, etc. In some embodiments, the memory 11 can be an internal storage unit of the charging device 10, such as the portable hard drive of the charging device 10. In other embodiments, the memory 11 can also be an external storage device of the charging device 10, such as a plug-in portable hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the charging device 10. The memory 11 can be used not only to store application software and various types of data installed on the charging device 10, such as the code of a vehicle detection program, but also to temporarily store data that has been output or will be output.
[0071] In some embodiments, the processor 12 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 12 is the control unit of the charging device 10, connecting to various components of the charging device 10 via various interfaces and lines. It executes programs or modules stored in the memory 11 (e.g., executing a vehicle detection program) and calls data stored in the memory 11 to perform various functions of the charging device 10 and process data.
[0072] The processor 12 executes the operating system of the charging device 10 and various installed applications. The processor 12 executes these applications to implement the steps described in each of the vehicle detection method embodiments above, for example... Figure 3 The steps are shown.
[0073] For example, a computer program may be divided into one or more modules / units, one or more of which are stored in memory 11 and executed by processor 12 to complete this application. One or more modules / units may be a series of computer-readable instruction segments capable of performing a specific function, which describe the execution process of the computer program in charging device 10.
[0074] The integrated unit implemented as a software functional module described above can be stored in a computer-readable storage medium. This software functional module, stored in a storage medium, includes several instructions to cause a computer device (which may be a personal computer, computer equipment, or network device, etc.) or processor to execute a portion of a vehicle detection method according to various embodiments of this application.
[0075] If the modules / units integrated in the charging device 10 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware devices. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above.
[0076] Computer programs include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. Computer-readable media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory, and other types of memory.
[0077] Furthermore, the computer-readable storage medium may primarily include a stored program area and a stored data area, wherein the stored program area may store the operating system, an application program required for at least one function, etc.; and the stored data area may store data created based on the use of blockchain nodes, etc.
[0078] The bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, in... Figure 2The symbol is represented by only one arrow, but this does not mean that there is only one bus or one type of bus. The bus is configured to implement communication between memory 11 and at least one processor 12, etc.
[0079] This application also provides a computer-readable storage medium (not shown) storing computer-readable instructions, which are executed by a processor in a charging device to implement a vehicle detection method according to any of the above embodiments.
[0080] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.
[0081] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0082] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.
[0083] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices described in the specification may also be implemented by a single unit or device through software or hardware. Terms such as "first," "second," etc., are used to indicate names and do not indicate any specific order.
[0084] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application.
Claims
1. A vehicle inspection method, characterized in that, Applied to a charging device, the method includes: When the charging device establishes a connection with the vehicle, it generates a first detection command; Send the first detection command to the vehicle, causing the vehicle to respond to the first detection command and return the vehicle identification number and vehicle parameters; A second detection command is generated based on the vehicle identification code and the vehicle parameters, and the second detection command is sent to the cloud server, so that the cloud server responds to the second detection command and returns the detection parameters of the vehicle; A health snapshot of the vehicle is generated based on the detection parameters and the vehicle parameters.
2. The vehicle detection method as described in claim 1, characterized in that, The vehicle parameters include the vehicle's fault codes. The step of generating a second detection command based on the vehicle parameters and sending the second detection command to the cloud server, causing the cloud server to respond to the second detection command and return the vehicle's detection parameters, includes: The second detection instruction is generated based on the vehicle identification code and the fault code; The second detection command is sent to the cloud server, so that the cloud server responds to the second detection command to determine the cumulative number of occurrences of the fault code, and returns the cumulative number of occurrences as the detection parameter to the charging device.
3. The vehicle detection method as described in claim 1, characterized in that, The vehicle parameters include the vehicle's firmware version number. The step of generating a second detection command based on the vehicle parameters and sending the second detection command to the cloud server, causing the cloud server to respond to the second detection command and return the vehicle's detection parameters, includes: The second detection instruction is generated based on the vehicle identification number and the firmware version number; The second detection command is sent to the cloud server, causing the cloud server to respond to the second detection command by returning the version number of the latest firmware update package corresponding to the vehicle as the detection parameter to the charging device.
4. The vehicle detection method as described in claim 3, characterized in that, The step of generating a health snapshot of the vehicle based on the detection parameters and the vehicle parameters includes: If the version number of the firmware update package is greater than the firmware version number, a firmware update instruction is generated based on the version number of the firmware update package; Send the firmware update command to the vehicle, so that the vehicle performs a firmware update operation based on the firmware update command, and obtain the firmware update progress of the vehicle from the vehicle when the charging device receives the charging end signal; The health snapshot is generated based on the firmware update progress.
5. The vehicle detection method as described in claim 1, characterized in that, The vehicle parameters include the battery parameters of the vehicle's onboard battery. The step of generating a second detection command based on the vehicle parameters and sending the second detection command to the cloud server, causing the cloud server to respond to the second detection command and return the vehicle's detection parameters, includes: The second detection command is generated based on the vehicle identification code and the battery parameters; The second detection command is sent to the cloud server, causing the cloud server to respond to the second detection command by returning the historical parameters of the vehicle battery as the detection parameters to the charging device.
6. The vehicle detection method as described in claim 1, characterized in that, Sending the first detection command to the vehicle, causing the vehicle to respond to the first detection command and return its vehicle identification number and vehicle parameters, includes: A first detection command is sent to the vehicle, causing the vehicle to respond to the first detection command by performing a switch check on the corresponding control device, and returning the check information of each control device as a vehicle parameter to the charging device.
7. The vehicle detection method as described in claim 1, characterized in that, Sending the first detection command to the vehicle, causing the vehicle to respond to the first detection command and return its vehicle identification number and vehicle parameters, includes: A first detection command is sent to the vehicle, causing the vehicle to respond to the first detection command by clearing the cache space of the controller, and returning the cache clearing information of each controller as the vehicle parameters of the vehicle to the charging device.
8. A vehicle inspection method, applied to vehicles, characterized in that, The method includes: When the vehicle establishes a connection with the charging device, it responds to the first detection command sent by the charging device and returns the vehicle parameters to the charging device, so that the charging device can obtain the vehicle's detection parameters from the cloud server based on the vehicle parameters. The vehicle parameters include one or more of the following: fault code, firmware version number, battery parameters of the vehicle battery, detection parameters of the control device, and cache clearing information of the controller. Obtain a health snapshot of the vehicle from the charging device and display the health snapshot.
9. A charging device, characterized in that, The charging device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the vehicle detection method as described in any one of claims 1 to 7.
10. A vehicle, characterized in that, The vehicle includes an electronic device that implements the vehicle detection method as described in claim 8, and the vehicle establishes a connection with the charging device as described in claim 9.