Charging safety monitoring method, device, equipment and medium based on charging pile
By acquiring and matching the detection image of the charging gun and the image of adjacent equipment, and inferring the associated equipment, the problem of low accuracy of charging pile monitoring equipment is solved, and accurate detection of charging safety of charging vehicles is achieved.
Patent Information
- Application Number
- CN202410668860.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-05-28
AI Technical Summary
In the existing technology, the monitoring equipment of charging piles is unable to accurately monitor the charging safety of charging vehicles due to fixed angle restrictions, which may lead to greater safety accidents.
By obtaining the current detection image of the charging gun and the preset complete detection image, the missing image is determined, and combined with the detection images of adjacent charging piles and environmental monitoring equipment, the associated equipment is inferred to realize the complete image correlation of the charging gun and improve the efficiency of the monitoring equipment. Accuracy.
It effectively improves the determination accuracy of associated adjacent charging piles and environmental monitoring equipment, ensures accurate detection of charging vehicle charging safety, and solves the problem of inability to monitor accurately due to low accuracy of monitoring equipment.
Smart Images

Figure CN118250438B
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to a charging safety monitoring method, device, equipment and medium based on a charging pile. Background Art
[0002] In order to reduce the use of non-renewable energy, electric vehicles are being used more and more widely. Charging piles are an important tool to ensure the normal use of electric vehicles. Charging piles are generally built in unmanned charging stations. Currently, with the increase in the number of charging piles, the prevention of charging safety has also received more and more attention.
[0003] In the related art, the monitoring equipment closest to the charging vehicle is directly called for safety monitoring. However, generally, outdoor monitoring equipment is fixed equipment and corresponds to a fixed shooting angle. When the partial combined image of the charging port and the charging gun of the charging vehicle is outside the monitoring range of the monitoring equipment, the fixed shooting angle cannot capture a comprehensive charging image. When a minor safety accident occurs at the corresponding charging position, a larger safety accident may be caused by the incomplete charging image. It can be seen that in the related art, due to the low accuracy of determining the monitoring equipment, it is impossible to accurately monitor the charging safety of the charging vehicle. Summary of the invention
[0004] In order to accurately determine the monitoring equipment, the present application provides a charging safety monitoring method, device, equipment and medium based on a charging pile.
[0005] In the first aspect, the present application provides a charging safety monitoring method based on a charging pile, which adopts the following technical solution:
[0006] A charging safety monitoring method based on a charging pile, the charging pile comprising: a first image acquisition device and a charging gun, the method comprising:
[0007] Acquire a current detection image of the charging gun acquired by the first image acquisition device of the main charging pile;
[0008] Based on the current detection image and the preset complete detection image, determining a first missing image, where the first missing image is an image corresponding to a portion of the charging gun that is not photographed;
[0009] Obtain the detection images corresponding to all adjacent charging piles and environmental monitoring equipment;
[0010] Determining, according to the first missing image and all the detection images, associated adjacent charging piles and associated environmental monitoring equipment;
[0011] Based on the main charging pile, the associated adjacent charging piles and the associated environmental monitoring equipment, safe charging detection is performed.
[0012] In a preferred example, the present application may be further configured as follows: the detection image includes: a first detection image of the adjacent charging pile and a second detection image of the environmental monitoring device,
[0013] Determining, according to the first missing image and all the detection images, associated adjacent charging piles and associated environmental monitoring equipment, including:
[0014] Determine a target first detection image according to the first missing image and all the first detection images, where the target first detection image is a first detection image with a charging gun image;
[0015] Matching all the first detection images of the target with the first missing image to determine second missing image information, where the second missing image information at least includes: existence of a second missing image and a corresponding second missing image;
[0016] If the second missing image information is the existence of the second missing image, determining a target second detection image according to the second missing image and all the second detection images, wherein the target second detection image is a second detection image with a charging gun image;
[0017] The adjacent charging pile corresponding to the first detection image of the target is determined as the associated adjacent charging pile, and the environmental monitoring device corresponding to the second detection image of the target is determined as the associated environmental monitoring device.
[0018] In a preferred example, the present application may be further configured as follows: the second missing image information further includes: when there is no second missing image, all the target first detection images are matched with the first missing image to determine the second missing image information, including:
[0019] Identify all the first detection images of the target to obtain first feature points, and identify the first missing images to obtain second feature points;
[0020] Generate a three-dimensional model of the charging gun based on all the first feature points, and establish a missing three-dimensional model based on the second feature points;
[0021] Determining whether the charging gun three-dimensional model is the same as the missing three-dimensional model;
[0022] If the charging gun three-dimensional model is different from the missing three-dimensional model, the second missing image information is determined to be the existing second missing image, and the second missing image is determined according to the difference three-dimensional model.
[0023] The difference three-dimensional model is a three-dimensional model corresponding to the difference between the charging gun three-dimensional model and the missing three-dimensional model;
[0024] Otherwise, it is determined that the second missing image information is that the second missing image does not exist.
[0025] In a preferred embodiment, the present application may be further configured to generate a three-dimensional model of the charging gun based on all the first feature points, including:
[0026] Acquire the feature vectors corresponding to all the first feature points, and then determine the associated points corresponding to all the first feature points according to all the feature vectors;
[0027] Acquire a first spatial position of the first feature point, a second spatial position of the associated point, and posture information of a second image acquisition device, wherein the second image acquisition device is disposed on the adjacent charging pile;
[0028] A three-dimensional model of the charging gun is established based on all the first spatial positions, all the second spatial positions and the posture information.
[0029] In a preferred example, the present application may be further configured to determine, according to all the feature vectors, the associated points corresponding to all the first feature points, including:
[0030] Determine, based on the feature vector of the first feature point and the feature vector of a third feature point, the distances corresponding to each of the first feature point and all of the third feature points, wherein the third feature point is any first feature point other than the first feature point;
[0031] Determine a plurality of initial associated points for each of the first feature points, wherein the initial associated points have the shortest distances to the first feature points;
[0032] Acquire a first color and a first texture feature of the first feature point, and a second color and a second texture feature of the initial associated point;
[0033] Determining the similarity between each of the initial associated points and the first feature point based on the first color, the first texture feature, the second color and the second color and second texture feature;
[0034] The initial association point corresponding to the highest similarity is selected from all the similarities and determined as the association point.
[0035] In a preferred example, the present application may be further configured as follows: before identifying all the first detection images of the target to obtain the first feature points, the method further includes:
[0036] Acquire a shape change attribute of the charging gun, and determine the number of first target feature points according to the shape change attribute, wherein the shape change attribute represents a degree of shape change;
[0037] Determine an image proportion of the charging gun in the first detection image, and determine the number of second target feature points according to the image proportion;
[0038] For each of the first detection images of the target, determining the number of comprehensive target feature points based on the number of the first target feature points and the number of the second target feature points;
[0039] Correspondingly, the step of identifying all the first detection images of the target to obtain the first feature point includes:
[0040] Identify all the first detection images of the target to obtain first feature points of the number of comprehensive target feature points corresponding to each of them.
[0041] In a preferred example, the present application may be further configured to perform safe charging detection based on the main charging pile, the associated adjacent charging pile and the associated environmental monitoring device, including:
[0042] Acquire the current charging temperature, charging time, and multiple accident-causing areas corresponding to vehicle types, wherein the accident-causing areas represent vehicle areas where safety accidents are prone to occur, and the vehicle type is the vehicle type corresponding to the vehicle to be charged;
[0043] Based on the current charging temperature and the charging duration, predicting actual temperatures corresponding to all the accident-causing areas, the actual temperatures representing the temperatures after charging is completed;
[0044] Obtaining the maximum safety temperature corresponding to each of the accident-causing areas, and determining the charging hazard level according to all the accident-causing areas, the actual temperature corresponding to each of the accident-causing areas, and the maximum safety temperature corresponding to each of the accident-causing areas;
[0045] The charging hazard level and a preset hazard level threshold are determined to perform safe charging detection.
[0046] In the second aspect, the present application provides a charging safety monitoring device based on a charging pile, which adopts the following technical solution:
[0047] A charging safety monitoring device based on a charging pile, the charging pile comprising: a first image acquisition device and a charging gun, the charging safety monitoring device based on the charging pile comprising:
[0048] A first acquisition module, used to acquire a current detection image of the charging gun acquired by the first image acquisition device of the main charging pile;
[0049] A first missing image determining module, configured to determine a first missing image based on the current detection image and a preset complete detection image, wherein the first missing image is an image corresponding to a portion of the charging gun that has not been photographed;
[0050] The second acquisition module is used to acquire the detection images corresponding to all adjacent charging piles and environmental monitoring devices;
[0051] A determination module, configured to determine, based on the first missing image and all the detection images, associated adjacent charging piles and associated environmental monitoring equipment;
[0052] The safe charging detection module is used to perform safe charging detection based on the main charging pile, the associated adjacent charging piles and the associated environmental monitoring equipment.
[0053] In a third aspect, the present application provides an electronic device, which adopts the following technical solution:
[0054] at least one processor;
[0055] Memory;
[0056] At least one application, wherein at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute the charging safety monitoring method based on a charging pile as described in any one of the first aspects.
[0057] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0058] A computer-readable storage medium stores a computer program thereon. When the computer program is executed in a computer, the computer is caused to execute the charging safety monitoring method based on a charging pile as described in any one of the first aspects.
[0059] In summary, this application includes the following beneficial technical effects:
[0060] The current detection image and the preset complete detection image are obtained, and the first missing image is determined to determine the image corresponding to the part that the charging gun has not captured; then the detection images corresponding to the adjacent charging piles and the environmental monitoring equipment are obtained, and the associated adjacent charging piles and the associated environmental monitoring equipment are determined according to the first missing image and all the detection images. The associated equipment of the complete image of the charging gun can be detected by backtracking the first missing image and the detection image, so as to effectively improve the accuracy of determining the associated adjacent charging piles and the associated environmental monitoring equipment; then the main charging pile, the associated adjacent charging piles and the associated environmental monitoring equipment are used to perform safe charging detection. Compared with the related technology that determines the monitoring equipment based on the distance, the present application accurately determines the associated adjacent charging piles and the associated environmental monitoring equipment by reverse deduction of the missing image, and then realizes accurate detection of the charging safety of the charging vehicle based on the above-mentioned accurate equipment, which solves the technical problem in the related technology that the charging safety of the charging vehicle cannot be accurately monitored due to the low accuracy of determining the monitoring equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 A schematic diagram of a charging safety monitoring scenario based on a charging pile is provided in an embodiment of the present application.
[0062] Figure 2 A flow chart of a charging safety monitoring method based on a charging pile provided in an embodiment of the present application.
[0063] Figure 3-1 A front view of the installation position of a first image acquisition device provided in an embodiment of the present application.
[0064] Figure 3-2 A top view of the installation position of a first image acquisition device provided in an embodiment of the present application.
[0065] Figure 4-1 A front view of a complete charging gun image provided in an embodiment of the present application.
[0066] Figure 4-2 A rear view of a complete charging gun image provided in an embodiment of the present application.
[0067] Figure 4-3 A top view of a complete charging gun image provided in an embodiment of the present application.
[0068] Figure 4-4 A side view of a complete charging gun image provided in an embodiment of the present application.
[0069] Figure 5 A schematic diagram of the structure of a charging safety monitoring device based on a charging pile provided in an embodiment of the present application.
[0070] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0071] The following is combined with Figure 1 To Attachment Figure 6 This application is described in further detail.
[0072] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, a person skilled in the art may make non-creative modifications to the present embodiment as needed, but such modifications are protected by the patent law as long as they are within the scope of the present application.
[0073] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application are clearly and completely described. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0074] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.
[0075] In order to reduce the use of non-renewable energy, electric vehicles are being used more and more widely. Charging piles are an important tool to ensure the normal use of electric vehicles. Charging piles are generally built in unmanned charging stations. Currently, with the increase in the number of charging piles, the prevention of charging safety has also received more and more attention.
[0076] It is understandable that in crowded areas of railway stations or high-speed railway stations, the occurrence of safety accidents will cause large-scale casualties and will also have serious negative impacts on society. In railway stations and high-speed railway stations, new energy vehicles in charging state are one of the main factors for safety accidents. Therefore, it is necessary to increase the monitoring of new energy vehicles in charging state to reduce the incidence of safety accidents. In the related art, the monitoring equipment closest to the charging vehicle will be directly called for safety monitoring. However, generally, outdoor monitoring equipment is fixed equipment and corresponds to a fixed shooting angle. When the partial combined image of the charging port and the charging gun of the charging vehicle is outside the monitoring range of the monitoring equipment, the fixed shooting angle cannot capture a comprehensive charging image. When a minor safety accident occurs at the corresponding charging position, a larger safety accident may be caused by the incomplete charging image. It can be seen that in the related art, due to the low accuracy of the monitoring equipment, it is impossible to accurately monitor the charging safety of the charging vehicle.
[0077] like Figure 1 As shown, it is a schematic diagram of a charging safety monitoring scenario based on a charging pile provided in an embodiment of the present application. The charging pile of the parking space where the vehicle to be charged is located is the main charging pile (S1). After receiving the detection request, the main charging pile controls the image acquisition device (S2) to acquire the image of the charging gun (S3), and analyzes the acquired image in combination with the adjacent charging pile (S4) and the environmental monitoring equipment (S51 and S52) located above the awning. It can be understood that a plurality of adjacent charging piles and a plurality of environmental monitoring equipment are arranged in the parking lot in the embodiment of the present application. Figure 1Only one adjacent charging pile and two environmental monitoring devices are shown, and there are multiple adjacent charging piles on the opposite side of the main charging pile ( Figure 1 Not shown), an awning, and multiple environmental monitoring devices located above the awning.
[0078] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0079] The embodiment of the present application provides a charging safety monitoring method based on a charging pile, which is executed by an electronic device, and the electronic device is a main charging pile corresponding to the vehicle to be charged. Figure 2 As shown, the method includes step S101, step S102, step S103, step S104 and step S105, wherein:
[0080] Step S101: Acquire a current detection image of the charging gun captured by a first image capture device of the main charging pile.
[0081] Specifically, the current detection image may be acquired after receiving the detection request. A monitoring program is pre-integrated in the electronic device, and the monitoring program is used to monitor the triggering behavior of the detection request. Once it is monitored that the detection request is triggered, the current detection image of the charging gun is acquired. Specifically, when the user confirms the detection, a detection instruction will be automatically generated, wherein the method of confirming the detection may include the user confirming the detection by clicking a detection button on the application, and the user confirming the detection by voice. When the electronic device detects that the user has triggered the detection request, the electronic device acquires the current detection image. In an embodiment of the present application, the charging pile corresponding to the parking space where the vehicle to be charged is located is the main charging pile; each charging pile is provided with a charging gun and a first image acquisition device. In an embodiment of the present application, the first image acquisition device is arranged at a preset position of the charging pile, and the first image acquisition device can capture a detection image of a preset angle by rotating, such as Figure 3-1 and Figure 3-2 , which are respectively a front view of an installation position of a first image acquisition device and a top view of an installation position of the first image acquisition device provided in an embodiment of the present application, Figure 3-2 Area A in the figure corresponds to the detection image of the preset angle captured by the first image acquisition device. It can be understood that by installing the first image acquisition device at the preset position, the acquisition range of the detection image can be effectively expanded to capture a more comprehensive detection image using as few first image acquisition devices as possible.
[0082] Step S102: Based on the current detection image and the preset complete detection image, a first missing image is determined, where the first missing image is an image corresponding to the portion of the charging gun that is not photographed.
[0083] Specifically, the preset complete detection image is an image of the charging gun inserted into the charging port, and the preset completed detection image is pre-set by the technician and input into the electronic device; the preset complete detection image can be obtained from the detection image database. Then, through the image matching algorithm, the current detection image and the preset complete detection image are matched to determine the first missing image. The embodiment of the present application does not limit the specific process of the above-mentioned image matching, and the user can set it by himself. It can be understood that although the first image acquisition device can be rotated, due to the limitation of the angle, it is still impossible to capture a comprehensive detection image even if it is rotated. Therefore, the first missing image still exists only through the first image acquisition device of the main charging pile.
[0084] Step S103: Acquire detection images corresponding to all adjacent charging piles and environmental monitoring devices.
[0085] Specifically, the use information of the adjacent charging pile can be obtained, and the use information includes: being used or not being used. When the use information of the adjacent charging pile is being used, it indicates that there are other vehicles to be charged in the parking space corresponding to the adjacent charging pile. In order to ensure the comprehensiveness of the current detection image of the other vehicles to be charged, the second image acquisition device of the adjacent charging pile cannot rotate. At this time, the detection image collected by the second image acquisition device of the adjacent charging pile is directly transmitted to the charging pile to achieve the acquisition of the detection image; if the use information of the adjacent charging pile is not used, it indicates that there are no other vehicles to be charged in the parking space corresponding to the adjacent charging pile. At this time, the second image acquisition device of the adjacent charging pile can be controlled to rotate to collect the detection image under the maximum angle range. Among them, the method of controlling the rotation of the second image acquisition device of the adjacent charging pile includes: controlling the image acquisition device of the adjacent charging pile to rotate a preset angle, and obtaining a sub-detection image corresponding to the above preset angle; then controlling the second image acquisition device of the adjacent charging pile to continue to repeat the above steps, and sequentially obtain the corresponding detection images, until the image acquisition device of the adjacent charging pile cannot rotate, and all the above detection images are determined as the detection image of the adjacent charging pile. In the embodiment of the present application, combined with the actual situation, the preset angle is 10°. It can be understood that a sunshade is set in the parking lot where the charging piles in the embodiment of the present application are located. In order to prevent the vehicle from being stolen, a fixed monitoring device, namely an environmental monitoring device, will be installed at a fixed position of the sunshade. The embodiment of the present application does not limit the above-mentioned fixed position, and the user can set it by himself.
[0086] Step S104: Determine the associated adjacent charging piles and the associated environment monitoring equipment according to the first missing image and all the detection images.
[0087] Specifically, the specific implementation method of determining the associated adjacent charging piles and the associated environmental monitoring equipment according to the first missing image and all the detection images can refer to the following embodiments. The associated adjacent charging piles represent the adjacent charging piles corresponding to the charging gun that can collect the maximum angle range, and the associated environmental monitoring equipment represents the environmental monitoring equipment corresponding to the charging gun that can collect the maximum angle range, that is, a complete charging gun image can be captured in combination with the current detection image, the detection image collected by the second acquisition device of the associated adjacent charging piles, and the detection image collected by the associated environmental monitoring equipment. Charging safety detection is performed by determining the associated adjacent charging piles and the associated environmental monitoring equipment to obtain a more comprehensive and accurate charging gun image. In the embodiment of the present application, the complete charging gun image includes: a front view, a side view, a top view, and a rear view of the complete charging gun; the complete charging gun includes: a charging gun, a connection position between the charging gun and the charging port, and a charging cable of a preset length at the tail of the charging gun. The embodiment of the present application does not limit the preset length; such as Figure 4-1 FIG. 1 is a front view of a complete charging gun provided in an embodiment of the present application. Figure 4-2 The figure shows a rear view of a complete charging gun provided in an embodiment of the present application. Figure 4-3 FIG. 1 is a top view of a complete charging gun image provided by an embodiment of the present application, as shown in FIG. Figure 4-4 The figure shows a side view of a complete charging gun image provided by an embodiment of the present application; it can be understood that during the charging process, when the charging gun is in poor contact with the charging port or the temperature is too high, it is easy to cause a safety accident, so it is necessary to detect the complete charging gun image; by zooming in, the image corresponding to the connection between the charging gun and the charging port can be collected. Figure 4-1 , Figure 4-2 , Figure 4-3 and Figure 4-4 None were shown.
[0088] Step S105: Perform safe charging detection based on the main charging pile, the associated adjacent charging piles and the associated environmental monitoring equipment.
[0089] Specifically, the specific implementation of safe charging detection based on the main charging pile, the associated adjacent charging piles and the associated environmental monitoring equipment can refer to the following embodiments. It can be understood that a more comprehensive charging gun image can be obtained through the main charging pile, in combination with the associated adjacent charging piles and the associated environmental monitoring equipment, to avoid the occurrence of safety accidents caused by the inability to observe in time due to the limitation of missing images.
[0090] In an embodiment of the present application, a current detection image and a preset complete detection image are obtained, and a first missing image is determined to determine an image corresponding to a portion of the charging gun that has not been captured; then the detection images corresponding to the adjacent charging piles and the environmental monitoring equipment are obtained, and the associated adjacent charging piles and the associated environmental monitoring equipment are determined based on the first missing image and all the detection images. The associated equipment of the complete image of the charging gun can be detected by backtracking the first missing image and the detection image, so as to effectively improve the accuracy of determining the associated adjacent charging piles and the associated environmental monitoring equipment; then the main charging pile, the associated adjacent charging piles and the associated environmental monitoring equipment are used to perform safe charging detection. Compared with the related art that determines the monitoring equipment based on the distance, the present application accurately determines the associated adjacent charging piles and the associated environmental monitoring equipment by back-calculating the missing images, and then realizes accurate detection of the charging safety of the charging vehicle based on the above-mentioned accurate equipment, which solves the technical problem in the related art that the charging safety of the charging vehicle cannot be accurately monitored due to the low accuracy of determining the monitoring equipment.
[0091] In a possible implementation of the embodiment of the present application, the detection image includes: a first detection image of an adjacent charging pile and a second detection image of an environmental monitoring device, and step S104 determines the associated adjacent charging pile and the associated environmental monitoring device according to the first missing image and all the detection images, including:
[0092] Determine a target first detection image according to the first missing image and all first detection images, where the target first detection image is a first detection image with a charging gun image;
[0093] Matching all target first detection images with the first missing image to determine second missing image information, where the second missing image information at least includes: existence of the second missing image and the corresponding second missing image;
[0094] If the second missing image information indicates that a second missing image exists, determining a target second detection image according to the second missing image and all second detection images, where the target second detection image is a second detection image with a charging gun image;
[0095] The adjacent charging pile corresponding to the target first detection image is determined as the associated adjacent charging pile, and the environmental monitoring device corresponding to the target second detection image is determined as the associated environmental monitoring device.
[0096] Specifically, an image matching algorithm can be used to match all first detection images and first missing images one by one, and then the first detection image that is successfully matched can be determined as the target first detection image; the embodiment of the present application does not limit the specific process of the above-mentioned image matching. The specific implementation method of matching all target first detection images with the first missing image to determine the second missing image information can refer to the following embodiment. It can be understood that when the second missing image information is that the second missing image exists, it indicates that the main charging pile and the adjacent charging pile still cannot capture a comprehensive charging gun portrait, so it is necessary to determine the second missing image, and determine the associated environmental monitoring equipment according to the second missing image; when the second missing image information is that the second missing image does not exist, it indicates that a comprehensive charging gun image can be captured according to the main charging pile and the adjacent charging pile, so the adjacent charging pile corresponding to the target first detection image is determined as an associated adjacent charging pile, and the charging gun is safely monitored according to the main charging pile and the associated adjacent charging pile. If it is determined that there is a second missing image, the image matching algorithm can be used to match the second missing image and all second detection images one by one to obtain a second detection image with a charging gun image and use it as the target second detection image. Determine the first identifier of the adjacent charging pile corresponding to the first detection image of the target and the second identifier of the environmental monitoring device corresponding to the second detection image of the target, and store all the first identifiers and all the second identifiers in an associated database to determine the associated adjacent charging piles and the associated environmental monitoring devices.
[0097] In an embodiment of the present application, a target first detection image is determined based on the first missing image and all first detection images, so as to accurately determine the associated charging pile based on the target first detection image; the target first detection image and the first missing image are matched, and the second missing image information is determined. When the second missing image information shows that there is a second missing image, it indicates that the charging gun cannot be completely detected based on the associated charging pile only. Therefore, the second target detection image is determined based on the second missing image and the second detection image, so as to accurately determine the environmental monitoring device based on the second detection image, and then the adjacent charging pile corresponding to the target first detection image is determined as the associated adjacent charging pile, and the environmental monitoring device corresponding to the target second detection image is determined as the associated environmental monitoring device, so as to effectively improve the accuracy of determining the associated adjacent charging pile and the associated environmental monitoring device.
[0098] In a possible implementation manner of the embodiment of the present application, the second missing image information further includes: there is no second missing image, and step S104 matches all target first detection images with the first missing image to determine the second missing image information, including:
[0099] Identify all target first detection images to obtain first feature points, and identify the first missing images to obtain second feature points;
[0100] Generate a three-dimensional model of the charging gun based on all the first feature points, and establish a missing three-dimensional model based on the second feature points;
[0101] Determine whether the charging gun 3D model is the same as the missing 3D model;
[0102] If the charging three-dimensional model and the missing three-dimensional model are different, determining the second missing image information as the existence of the second missing image, and determining the second missing image according to the difference three-dimensional model, where the difference three-dimensional model is a three-dimensional model corresponding to the difference between the charging three-dimensional model and the missing three-dimensional model;
[0103] Otherwise, the second missing image information is determined as the second missing image not existing.
[0104] Specifically, the first feature point recognition can be performed by a grayscale co-occurrence matrix algorithm, a gradient directional histogram algorithm, a scale-invariant feature transformation algorithm, or an accelerated robust feature algorithm. The embodiment of the present application does not limit the specific recognition process, and the user can set it by himself; the specific process of identifying the second feature point is the same as the first feature point, and the embodiment of the present application will not be repeated. It can be understood that the feature point is a point with obvious features in the image, and the feature point has the characteristics of uniqueness and stability. In the embodiment of the present application, the feature point is a pixel point corresponding to the edge point of the charging gun, the charging gun and the connection between the charging port, and the above feature point is the first feature point or the second feature point. The specific process of generating a three-dimensional model of the charging gun according to the first feature point can refer to the following embodiment, and the embodiment of the present application will not be repeated; the specific process of establishing a missing three-dimensional model based on the second feature point is the same as the above process of generating a three-dimensional model of the charging gun according to the first feature point. It can be understood that the feature point can cover the entire image area more accurately, and can also describe the shape of the object by fitting the surface, so the accuracy of the three-dimensional model of the charging gun generated according to the feature point is higher. In the embodiment of the present application, the missing three-dimensional model represents the three-dimensional model corresponding to the missing part of the charging gun. The projection comparison method can be used to determine whether the charging gun 3D model and the missing 3D model are the same, specifically including: obtaining the corresponding 2D projections of the charging gun 3D model and the missing 3D model on projection planes in three different directions, comparing the 2D projection of the charging gun 3D model with the 2D projection of the missing 3D model for each projection plane, determining the projection similarity, calculating the sum of projection similarities according to the projection similarities corresponding to all projection planes, and comparing the sum of projection similarities with the preset projection similarity sum threshold. If the sum of projection similarities is not less than the preset projection similarity sum threshold, it is determined that the charging gun 3D model is the same as the missing 3D model, indicating that the second missing image information does not have a second missing image; otherwise, it is determined that the charging gun 3D model is different from the missing 3D model, indicating that there is a second missing image; the preset projection similarity sum threshold is set by the technician based on work experience and pre-entered into the electronic device. The difference 3D model of the charging gun 3D model and the missing 3D model can be determined by an image recognition algorithm. The specific process of the above-mentioned image recognition algorithm is not limited in the embodiment of the present application, and the user can set it by himself. Then, the images corresponding to all the difference 3D models are determined as the second missing image, so as to effectively improve the accuracy of the second missing image determination.
[0105] In an embodiment of the present application, the target detection image is identified to obtain feature points, and then a three-dimensional model is established based on the feature points. The three-dimensional model can improve the integrity of the visual information. Therefore, by comparing the charging three-dimensional model and the missing three-dimensional model to determine the second missing image information, the accuracy of determining the second missing image information can be effectively improved. If the charging three-dimensional model is different from the missing three-dimensional model, it is determined that the second missing image exists; otherwise, it is determined that the second missing image does not exist.
[0106] In a possible implementation of the embodiment of the present application, step S104 generates a charging three-dimensional model based on all first feature points, including:
[0107] Obtaining the feature vectors corresponding to all the first feature points, and then determining the associated points corresponding to all the first feature points according to all the feature vectors;
[0108] Acquire a first spatial position of a first feature point, a second spatial position of a correlation point, and posture information of a second image acquisition device, wherein the second image acquisition device is disposed on an adjacent charging pile;
[0109] A charging three-dimensional model is established based on all first spatial positions, all second spatial positions and posture information.
[0110] Specifically, a feature extraction algorithm can be used to obtain a feature vector of the first feature point, such as a SIFI (Scale Invariant Feature Transform) algorithm or a SURF (Speeded-Up Robust Features) algorithm. The embodiment of the present application does not limit the acquisition process of the feature vector of the first feature point, and the user can limit it by himself. The specific implementation method of determining the first feature point according to all feature vectors can refer to the following embodiment, and the present application does not limit it. The first spatial position of the first feature point and the second spatial position of the associated point can be obtained by constructing a Gaussian pyramid, and combining extreme point detection, feature point positioning and feature point screening; wherein the coordinate system origin of the first spatial position and the second spatial position is the same; the first spatial position represents the three-dimensional coordinates of the first feature point, and the second spatial position represents the three-dimensional coordinates of the associated point. The embodiment of the present application does not limit the coordinate origin of the first spatial position and the second spatial position. The posture information represents the three-dimensional coordinates of the second image acquisition device, and the posture information of the second image acquisition device is located at the same coordinate origin as the first spatial position, the second spatial position and the third spatial position; the posture information of the second image acquisition device can be monitored by the sensor built into the image acquisition device and uploaded to the electronic device. It is understandable that by estimating the camera posture, it is ensured that the feature points in the camera coordinate system can be converted into coordinates in the world coordinate system, so as to effectively improve the accuracy of the feature points. At the same time, in the process of building a three-dimensional model, it is also possible to avoid the problem of model deformation or distortion due to inaccurate camera posture. The three-dimensional model is generated according to all the first spatial positions, all the second spatial positions, the camera posture and the dense reconstruction algorithm. The embodiment of the present application does not limit the specific process of generating the three-dimensional model, and the user can set it by himself.
[0111] In an embodiment of the present application, a feature vector of a first feature point is calculated, and associated points are determined based on the feature vector in order to determine the association between the feature points, thereby more accurately constructing a three-dimensional model; then, the first spatial position of the first feature point and the second spatial position of the associated point are obtained, and the camera posture is estimated. The spatial position determines the shape and size of the model, and the estimated camera posture can more accurately stitch images. Therefore, a charging three-dimensional model is established based on the first spatial position, the second spatial position and the camera posture, thereby effectively improving the accuracy of the established charging three-dimensional model.
[0112] In a possible implementation of the embodiment of the present application, step S103 determines the associated points corresponding to all first feature points according to all feature vectors, including:
[0113] Based on the feature vector of the first feature point and the feature vector of the third feature point, determining the distances corresponding to the first feature point and all the third feature points, where the third feature point is any first feature point other than the first feature point;
[0114] Determine a number of initial associated points for each first feature point, where the distance between the initial associated points and the first feature point is the shortest;
[0115] Acquire a first color and a first texture feature of a first feature point, and a second color and a second texture feature of an initial associated point;
[0116] Determining the similarity between each initial associated point and the first feature point based on the first color, the first texture feature, the second color, and the second color and second texture feature;
[0117] The initial association point corresponding to the highest similarity is selected from all similarities and determined as the association point.
[0118] Specifically, the distance between the first feature point and each third feature point can be calculated using a distance calculation formula, and the calculation formula is: ,in, is the eigenvector of the first feature point, is the eigenvector of the third feature point, is the distance between the first feature point and the third feature point. All distance values are arranged in ascending order to obtain several shortest distances, and the third feature point corresponding to the shortest distance is used to determine the initial association point of the first feature point. It can be understood that as the distance between the third feature point and the first feature point shortens, the similarity between the feature points increases, and the third feature point corresponding to the shortest distance is determined as the initial association point to indicate that the similarity between the initial association point and the first feature point is the highest. The first color of the first feature point and the second color of the second feature point can be determined by color moment or color histogram; the first texture feature and the second texture feature can be obtained by LBP feature extraction algorithm. The embodiment of the present application does not limit the specific determination process of the first color, the second color, the first texture feature and the second texture feature, and the user can set it by himself. It can be understood that the higher the similarity of the colors between the feature points with close distances, the higher the similarity of the texture features. Therefore, obtaining the first color, the first texture feature, the second color and the second texture feature realizes the consideration of the association points from the color dimension and the texture feature dimension, thereby effectively improving the accuracy of the determination of the association points. The color similarity is calculated according to the first color and the second color, wherein the color similarity can be determined by calculating the Euclidean distance or the cosine similarity; and then the texture feature similarity is obtained according to the first texture feature and the second texture feature. The calculation method of the texture feature similarity is the same as the calculation method of the color similarity, and the embodiment of the present application will not be repeated. The specific implementation method of determining the similarity between each initial association point and the first feature point includes: obtaining a first weight value corresponding to the color similarity and a second weight value corresponding to the texture feature similarity, and then determining the similarity between each initial association point and the first feature point according to a calculation formula, and the calculation formula is: similarity = first weight value * color similarity + second weight value * texture feature similarity. The above-mentioned first weight and second weight values are both pre-entered into the electronic device by the technician. In the embodiment of the present application, the first weight value is less than the second weight value. It can be understood that the color feature is easily affected by external light during the image acquisition process, so in comparison, the texture feature similarity calculated according to the texture feature has a higher accuracy. Then select the initial association point corresponding to the highest similarity to determine the association point of the first feature point.
[0119] In an embodiment of the present application, the distance between feature points is determined based on the feature vector, and the feature point corresponding to the shortest distance is determined as the initial association point. When the distance between the feature points is shorter, the similarity between the two feature points is higher; and the color and texture features between the feature points with higher similarity are also highly similar. Therefore, the similarity is determined based on the first color and first texture features of the first feature point obtained, and the second color and second texture features of the initial association point, and the initial association point corresponding to the highest similarity is selected and determined as the association point. The association point is considered and determined from multiple angles of distance, color and texture features, so as to effectively improve the accuracy of the determination of the association point.
[0120] A possible implementation manner of the embodiment of the present application, before identifying all target first detection images to obtain first feature points, further includes:
[0121] Acquire a shape change attribute of the charging gun, and determine the number of first target feature points according to the shape change attribute, where the shape change attribute represents the degree of shape change;
[0122] Determine the image proportion of the charging gun in the first detection image, and determine the number of second target feature points according to the image proportion;
[0123] For each target first detection image, determining the number of comprehensive target feature points based on the number of first target feature points and the number of second target feature points;
[0124] Accordingly, identifying all target first detection images to obtain first feature points includes:
[0125] Identify all target first detection images to obtain first feature points of the number of comprehensive target feature points corresponding to each of them.
[0126] Specifically, the shape change attribute of the charging gun is set by the technician based on work experience and pre-entered into the electronic device; the shape change attribute characterizes the degree of shape change of the object. In the embodiment of the present application, the shape change attribute includes: a first sub-shape change attribute or a second sub-shape change attribute, wherein the first sub-shape change attribute is an object with a simple shape or a smooth surface, such as a sphere, a cube or a cuboid, etc.; and the second sub-shape change attribute is an object with a complex shape or an irregular shape; in the embodiment of the present application, the shape change attribute of the charging gun is the second sub-shape change attribute. The number of first target feature points corresponding to the shape change attribute of the charging gun can be determined based on the correspondence between the shape change attribute and the number of feature points and the shape change attribute of the charging gun. The shape change attribute of the charging gun and the number of first target feature points in the above correspondence are obtained by technicians based on multiple first historical data and experiments. The specific process includes: obtaining multiple first historical data, the first historical data includes: a charging gun with the same shape as the embodiment of the present application, multiple first target feature points and the accuracy of the generated three-dimensional model corresponding to each charging gun, comparing the accuracy of the three-dimensional model with the preset accuracy threshold, and determining the charging gun corresponding to the three-dimensional model with an accuracy greater than the preset accuracy threshold as the target charging gun, and then determining the average number of first target feature points based on all target charging guns and the corresponding multiple first target feature points, and determining the average number of first target feature points as the number of first target feature points of the charging gun. It can be understood that when the shape of an object changes to a large extent, in order to better capture the details and shape changes of the object, more feature points are required to effectively improve the accuracy of the generated three-dimensional model. The image proportion is determined using a contour image algorithm, specifically including: using a contour image algorithm to separate the charging gun image in the first detection image, and then using an image recognition algorithm to determine the first image area of the charging gun, the second image area of the first detection image is the image area corresponding to the entire canvas, which is pre-set by relevant technical personnel, and then the image proportion can be determined according to the first image area and the second image area. Then, the number of second target feature points corresponding to the image proportion is determined according to the corresponding relationship between the image proportion and the number of feature points, wherein the process of establishing the corresponding relationship between the image proportion and the number of feature points includes: obtaining multiple second historical data corresponding to the same vehicle type within a preset time period, each time the vehicle is charged, each second historical data includes: image proportion and corresponding number of feature points; determining at least two target second historical data from multiple second historical data, the image proportions corresponding to the target second historical data are the same, removing the maximum number of feature points and the minimum number of feature points to reduce the influence of accidental data on the establishment of the corresponding relationship, and then calculating the average number of feature points according to the value of the second target historical data and the number of all feature points, and determining the average number of feature points as the second target number of feature points corresponding to the image proportion of the target second historical data.It is understandable that the average value can more accurately reflect the changing trend of the data, so the average number of feature points is determined as the second target number of feature points, and the corresponding relationship between the image proportion and the second target number of feature points is established to effectively improve the accuracy of the corresponding relationship. It is understandable that when the charging gun image has a large image proportion in the first detection image, it indicates that the charging gun image has sufficiently obvious details and features, so a small number of feature points can be used to achieve accurate three-dimensional model generation, and when the charging gun image accounts for a relatively small proportion in the first detection image, it indicates that the features of the charging gun image may have unclear problems, so a large number of feature points are used to generate a more accurate three-dimensional model. Therefore, in the embodiment of the present application, as the proportion of the charging gun image in the first detection image increases, the number of feature points decreases accordingly. The average target number of feature points is calculated based on the first target number of feature points and the second target number of feature points, and the average target number of feature points is determined as the comprehensive target number of feature points. It is understandable that the average value can more accurately reflect the changing trend of the data, so the average target number of feature points is determined as the comprehensive target number of feature points to effectively improve the accuracy of the comprehensive target number of feature points. Accordingly, in the process of identifying the first feature points, the first feature points of the same number as the target feature points are identified to avoid the problem of too many first feature points leading to reduced computational efficiency and too few first feature points leading to poor accuracy in generating a three-dimensional model. The present embodiment does not limit the preset time length.
[0127] In an embodiment of the present application, the shape change attribute of the charging gun is obtained. When the shape change degree of the charging gun is large, a larger number of feature points can more accurately describe the charging gun. When the image occupancy rate is small, a large number of feature points may lead to the determination of an erroneous first feature point. Therefore, the number of first feature points is determined from the perspective of the shape change attribute and the image occupancy rate, so as to effectively improve the accuracy of the determination of the first feature point.
[0128] In a possible implementation of the embodiment of the present application, step S105 performs safe charging detection based on the main charging pile, the associated adjacent charging piles and the associated environmental monitoring equipment, including:
[0129] Obtaining the current charging temperature, charging time, and multiple accident-causing areas corresponding to the vehicle type, where the accident-causing areas represent vehicle areas where safety accidents are prone to occur;
[0130] Based on the current charging temperature and charging time, the actual temperature corresponding to each of the accident-causing areas is predicted. The actual temperature represents the temperature after charging is completed.
[0131] Obtain the maximum safety temperature corresponding to each of all accident-causing areas, and determine the charging hazard level based on all accident-causing areas, their corresponding actual temperatures, and their corresponding maximum safety temperatures;
[0132] Determine the charging hazard level and preset hazard level threshold to perform safe charging detection.
[0133] Specifically, the current charging temperature can be monitored by a temperature monitoring sensor and uploaded to the electronic device; the charging time can be the charging time pre-set by the owner of the vehicle to be charged, or it can be the charging time automatically calculated by the electronic device, which is not limited in the embodiments of the present application; the vehicle type is determined based on image matching, and the electronic device matches the captured vehicle image of the vehicle to be charged with a preset image database to determine the vehicle type, and the preset image database is pre-entered into the electronic device by the technician. It is understandable that vehicles of different vehicle types have different materials and structures, and thus the accident-causing areas are also different, so it is necessary to determine the corresponding multiple accident-causing areas according to the vehicle type. It is understandable that during the charging process, as the charging time increases, the charging temperature will increase accordingly. In order to avoid safety accidents caused by excessively high charging temperatures, it is necessary to predict all accident-causing areas, and focus on monitoring the accident-causing areas to effectively improve charging safety. Among them, the actual temperature corresponding to each accident-causing area can be determined according to the corresponding relationship, specifically including: obtaining the corresponding relationship of all accident-causing areas of the vehicle type, the above-mentioned vehicle type is the vehicle type of the vehicle to be charged, and the corresponding relationship is the corresponding relationship between the charging time and the temperature change value, and then the total temperature change value corresponding to each accident-causing area under the current charging time can be obtained, and then the actual temperature is obtained according to the calculation formula, and the calculation formula is: actual temperature = current charging temperature + total temperature change value. The maximum safety temperature corresponding to each accident-causing area is set by the technician based on work experience and pre-entered into the electronic device. The process of determining the charging hazard level includes: determining the temperature difference according to the actual temperature and the maximum safe temperature, and determining the charging hazard level according to the correspondence between the preset temperature difference and the charging hazard level and the above-mentioned temperature difference. It can be understood that as the temperature difference increases, the charging hazard level gradually decreases, and the smaller the charging hazard level, the safer the charging. The embodiment of the present application does not limit the specific charging hazard level, and the user can set it by himself; then the maximum charging hazard level is screened out from all the charging hazard levels, and the maximum charging hazard level is compared with the preset hazard level threshold. If the maximum charging hazard level is less than the preset hazard level threshold, it indicates that the charging process is safe; if the maximum charging hazard level is not less than the preset hazard level threshold, it indicates that the charging process is unsafe, and a charging hazard signal is sent to the owner of the vehicle to be charged so that the owner can choose whether to continue charging.
[0134] In an embodiment of the present application, the accident triggering area corresponding to the previous charging temperature, charging time and vehicle type is obtained, and the actual temperature is predicted based on the current charging temperature and charging time, so as to realize the temperature monitoring of the accident triggering area; different accident triggering areas correspond to different positions of the vehicle body, and the minimum temperatures that cause safety accidents at different positions are different, so it is necessary to obtain the maximum safety temperature corresponding to all accident triggering areas; and the charging hazard level is determined based on all accident triggering areas, their corresponding actual temperatures and maximum safety temperatures. Compared with charging detection based only on a certain accident-prone area, the present application combines multiple accident triggering areas to determine the charging hazard level, so as to effectively improve the accuracy of the charging hazard level, and then better perform safe charging detection based on the charging hazard level and the preset hazard level threshold.
[0135] The above embodiment introduces a charging safety monitoring method based on a charging pile from the perspective of a method flow, and the following embodiment introduces a charging safety monitoring device based on a charging pile from the perspective of a virtual module or a virtual unit. For details, please refer to the following embodiment.
[0136] The present application embodiment provides a charging safety monitoring device based on a charging pile, such as Figure 5 As shown, the charging safety monitoring device based on the charging pile may specifically include:
[0137] The first acquisition module 201 is used to acquire the current detection image of the charging gun acquired by the first image acquisition device of the main charging pile;
[0138] A first missing image determining module 202, configured to determine a first missing image based on a current detection image and a preset complete detection image, where the first missing image is an image corresponding to a portion of the charging gun that is not captured;
[0139] The second acquisition module 203 is used to acquire detection images corresponding to all adjacent charging piles and environmental monitoring devices;
[0140] Determination module 204: used to determine the associated adjacent charging pile and the associated environment monitoring device according to the first missing image and all detection images;
[0141] The safe charging detection module 205 is used to perform safe charging detection based on the main charging pile, the associated adjacent charging piles and the associated environmental monitoring equipment.
[0142] In a possible implementation of the embodiment of the present application, the detection image includes: a first detection image of an adjacent charging pile and a second detection image of an environmental monitoring device, and the determination module 204 is specifically used to determine the associated adjacent charging pile and the associated environmental monitoring device according to the first missing image and all the detection images:
[0143] Determine a target first detection image according to the first missing image and all first detection images, where the target first detection image is a first detection image with a charging gun image;
[0144] Matching all target first detection images with the first missing image to determine second missing image information, where the second missing image information at least includes: existence of the second missing image and the corresponding second missing image;
[0145] If the second missing image information indicates that a second missing image exists, determining a target second detection image according to the second missing image and all second detection images, where the target second detection image is a second detection image with a charging gun image;
[0146] The adjacent charging pile corresponding to the target first detection image is determined as the associated adjacent charging pile, and the environmental monitoring device corresponding to the target second detection image is determined as the associated environmental monitoring device.
[0147] In a possible implementation manner of the embodiment of the present application, the second missing image information further includes: there is no second missing image, and the determination module 204, when performing matching of all target first detection images with the first missing image to determine the second missing image information, is specifically used to:
[0148] Identify all target first detection images to obtain first feature points, and identify the first missing images to obtain second feature points;
[0149] Generate a three-dimensional model of the charging gun based on all the first feature points, and establish a missing three-dimensional model based on the second feature points;
[0150] Determine whether the charging gun 3D model is the same as the missing 3D model;
[0151] If the charging gun three-dimensional model is different from the missing three-dimensional model, the second missing image information is determined to be the existence of the second missing image, and the second missing image is determined according to the difference three-dimensional model.
[0152] The difference three-dimensional model is a three-dimensional model corresponding to the difference between the charging gun three-dimensional model and the missing three-dimensional model;
[0153] Otherwise, the second missing image information is determined as the second missing image not existing.
[0154] In a possible implementation of the embodiment of the present application, when the determination module 204 generates the three-dimensional model of the charging gun based on all the first feature points, it is specifically used to:
[0155] Obtaining the feature vectors corresponding to all the first feature points, and then determining the associated points corresponding to all the first feature points according to all the feature vectors;
[0156] Acquire a first spatial position of a first feature point, a second spatial position of a correlation point, and posture information of a second image acquisition device, wherein the second image acquisition device is disposed on an adjacent charging pile;
[0157] A three-dimensional model of the charging gun is established based on all first spatial positions, all second spatial positions and posture information.
[0158] In a possible implementation of the embodiment of the present application, when the determination module 204 determines the associated points corresponding to all the first feature points according to all the feature vectors, it is specifically used to:
[0159] Determine the distances corresponding to the first feature point and all the third feature points based on the feature vector of the first feature point and the feature vector of the third feature point, where the third feature point is any first feature point other than the first feature point;
[0160] Determine a number of initial associated points for each first feature point, where the distance between the initial associated points and the first feature point is the shortest;
[0161] Acquire a first color and a first texture feature of a first feature point, and a second color and a second texture feature of an initial associated point;
[0162] Determining the similarity between each initial associated point and the first feature point based on the first color, the first texture feature, the second color, and the second color and second texture feature;
[0163] The initial association point corresponding to the highest similarity is selected from all similarities and determined as the association point.
[0164] A possible implementation of the embodiment of the present application is a charging safety monitoring device based on a charging pile, further comprising:
[0165] Feature point quantity determination module, used for:
[0166] Acquire a shape change attribute of the charging gun, and determine the number of first target feature points according to the shape change attribute, where the shape change attribute represents the degree of shape change;
[0167] Determine the image proportion of the charging gun in the first detection image, and determine the number of second target feature points according to the image proportion;
[0168] For each target first detection image, determining the number of comprehensive target feature points based on the number of first target feature points and the number of second target feature points;
[0169] Accordingly, when the determination module 204 performs the identification of all target first detection images to obtain the first feature points, it is used to:
[0170] Identify all target first detection images to obtain first feature points of the number of comprehensive target feature points corresponding to each of them.
[0171] In a possible implementation of the embodiment of the present application, the safe charging detection module 205 is used to:
[0172] Obtaining the current charging temperature, charging time, and multiple accident-causing areas corresponding to the vehicle type, where the accident-causing areas represent vehicle areas where safety accidents are prone to occur;
[0173] Based on the current charging temperature and charging time, the actual temperature corresponding to each of the accident-causing areas is predicted. The actual temperature represents the temperature after charging is completed.
[0174] Obtain the maximum safety temperature corresponding to each of all accident-causing areas, and determine the charging hazard level based on all accident-causing areas, their corresponding actual temperatures, and their corresponding maximum safety temperatures;
[0175] Determine the charging hazard level and preset hazard level threshold to perform safe charging detection.
[0176] Technicians in the relevant field can clearly understand that, for the convenience and conciseness of description, the specific working process of the charging safety monitoring device based on the charging pile described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0177] An electronic device is provided in an embodiment of the present application, such as Figure 6 As shown, Figure 6 The electronic device shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device may further include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the electronic device does not constitute a limitation on the embodiments of the present application.
[0178] The processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0179] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but it does not mean that there is only one bus or only one type of bus.
[0180] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0181] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.
[0182] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 6 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0183] The embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when it is run on a computer, the computer can execute the corresponding content in the above method embodiment. Compared with the related art, the embodiment of the present application obtains the current detection image and the preset complete detection image, determines the first missing image, and determines the image corresponding to the part that the charging gun has not been photographed; then obtains the detection images corresponding to the adjacent charging piles and the environmental monitoring equipment, and determines the associated adjacent charging piles and the associated environmental monitoring equipment according to the first missing image and all the detection images. The associated equipment of the complete image of the charging gun can be detected by backtracking the first missing image and the detection image, so as to effectively improve the accuracy of the determination of the associated adjacent charging piles and the associated environmental monitoring equipment; then the main charging pile, the associated adjacent charging piles and the associated environmental monitoring equipment are used to perform safe charging detection. Compared with the related art that determines the monitoring equipment according to the distance, the present application accurately determines the associated adjacent charging piles and the associated environmental monitoring equipment through the missing image back-calculation, and then realizes the accurate detection of the charging safety of the charging vehicle according to the above accurate equipment, which solves the technical problem that the charging safety of the charging vehicle cannot be accurately monitored due to the low accuracy of the determination of the monitoring equipment in the related art.
[0184] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0185] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A charging safety monitoring method based on charging piles, It is characterized in that The charging pile includes: a first image acquisition device and a charging gun, and the method includes: Acquire a current detection image of the charging gun acquired by the first image acquisition device of the main charging pile; Based on the current detection image and the preset complete detection image, determining a first missing image, where the first missing image is an image corresponding to a portion of the charging gun that is not photographed; Obtain the detection images corresponding to all adjacent charging piles and environmental monitoring equipment; Determining, according to the first missing image and all the detection images, associated adjacent charging piles and associated environmental monitoring equipment; Performing safe charging detection based on the main charging pile, the associated adjacent charging piles and the associated environmental monitoring equipment; The detection image includes: a first detection image of the adjacent charging pile and a second detection image of the environmental monitoring device. Determining, according to the first missing image and all the detection images, associated adjacent charging piles and associated environmental monitoring equipment, including: Determine a target first detection image according to the first missing image and all the first detection images, where the target first detection image is a first detection image with a charging gun image; Matching all the first detection images of the target with the first missing image to determine second missing image information, where the second missing image information at least includes: existence of a second missing image and a corresponding second missing image; If the second missing image information is the existence of the second missing image, determining a target second detection image according to the second missing image and all the second detection images, wherein the target second detection image is a second detection image with a charging gun image; Determine the adjacent charging pile corresponding to the first detection image of the target as the associated adjacent charging pile, and determine the environmental monitoring device corresponding to the second detection image of the target as the associated environmental monitoring device; The second missing image information also includes: there is no second missing image, The step of matching all the first detection images of the target with the first missing image to determine the second missing image information includes: Identify all the first detection images of the target to obtain first feature points, and identify the first missing images to obtain second feature points; Generate a three-dimensional model of the charging gun based on all the first feature points, and establish a missing three-dimensional model based on the second feature points; Determining whether the charging gun three-dimensional model is the same as the missing three-dimensional model; If the charging gun three-dimensional model is different from the missing three-dimensional model, the second missing image information is determined to be the existing second missing image, and the second missing image is determined according to the difference three-dimensional model. The difference three-dimensional model is a three-dimensional model corresponding to the difference between the charging gun three-dimensional model and the missing three-dimensional model; Otherwise, determining that the second missing image information is that the second missing image does not exist; The step of generating a charging gun three-dimensional model based on all the first feature points includes: Acquire the feature vectors corresponding to all the first feature points, and then determine the associated points corresponding to all the first feature points according to all the feature vectors; Acquire a first spatial position of the first feature point, a second spatial position of the associated point, and posture information of a second image acquisition device, wherein the second image acquisition device is disposed on the adjacent charging pile; Based on all the first spatial positions, all the second spatial positions and the posture information, establishing a three-dimensional model of the charging gun; Wherein, determining the associated points corresponding to all the first feature points respectively according to all the feature vectors includes: Determine, based on the feature vector of the first feature point and the feature vector of a third feature point, the distances corresponding to each of the first feature point and all of the third feature points, wherein the third feature point is any first feature point other than the first feature point; Determine a plurality of initial associated points for each of the first feature points, wherein the initial associated points have the shortest distances to the first feature points; Acquire a first color and a first texture feature of the first feature point, and a second color and a second texture feature of the initial associated point; Determining the similarity between each of the initial associated points and the first feature point based on the first color, the first texture feature, the second color and the second color and second texture feature; Selecting the initial association point corresponding to the highest similarity from all the similarities and determining it as the association point; Before identifying all the first detection images of the target to obtain the first feature points, the method further includes: Acquire a shape change attribute of the charging gun, and determine the number of first target feature points according to the shape change attribute, wherein the shape change attribute represents a degree of shape change; Determine an image proportion of the charging gun in the first detection image, and determine the number of second target feature points according to the image proportion; For each of the first detection images of the target, determining the number of comprehensive target feature points based on the number of the first target feature points and the number of the second target feature points; Correspondingly, the step of identifying all the first detection images of the target to obtain the first feature point includes: Identify all the first detection images of the target to obtain first feature points of the number of comprehensive target feature points corresponding to each of them.
2. The charging safety monitoring method based on the charging pile according to claim 1, It is characterized in that Based on the main charging pile, the associated adjacent charging piles and the associated environmental monitoring device, safe charging detection is performed, including: Acquire the current charging temperature, charging time, and multiple accident-causing areas corresponding to vehicle types, wherein the accident-causing areas represent vehicle areas where safety accidents are prone to occur, and the vehicle type is the vehicle type corresponding to the vehicle to be charged; Based on the current charging temperature and the charging duration, predicting actual temperatures corresponding to all the accident-causing areas, the actual temperatures representing the temperatures after charging is completed; Obtaining the maximum safety temperature corresponding to each of the accident-causing areas, and determining the charging hazard level according to all the accident-causing areas, the actual temperature corresponding to each of the accident-causing areas, and the maximum safety temperature corresponding to each of the accident-causing areas; The charging hazard level and a preset hazard level threshold are determined to perform safe charging detection.
3. A charging safety monitoring device based on a charging pile, It is characterized in that Used in the charging safety monitoring method based on the charging pile as claimed in claim 1 or 2, Wherein, the charging pile includes: a first image acquisition device and a charging gun, and the charging safety monitoring device based on the charging pile includes: A first acquisition module, used to acquire a current detection image of the charging gun acquired by the first image acquisition device of the main charging pile; A first missing image determining module, configured to determine a first missing image based on the current detection image and a preset complete detection image, wherein the first missing image is an image corresponding to a portion of the charging gun that has not been photographed; The second acquisition module is used to acquire the detection images corresponding to all adjacent charging piles and environmental monitoring devices; A determination module, configured to determine, based on the first missing image and all the detection images, associated adjacent charging piles and associated environmental monitoring equipment; The safe charging detection module is used to perform safe charging detection based on the main charging pile, the associated adjacent charging piles and the associated environmental monitoring equipment.
4. An electronic device, It is characterized in that include: at least one processor; Memory; At least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute the charging safety monitoring method based on a charging pile as described in any one of claims 1 to 2.
5. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the computer program is executed in a computer, the computer is caused to execute the charging safety monitoring method based on a charging pile as described in any one of claims 1 to 2.
