Disclosure of Invention
The invention provides a plug-and-play charging control method, a device, electronic equipment and a storage medium, which are used for solving the defect that in the prior art, for an electric bicycle without a license plate, plug-and-play charging cannot be realized by identifying the license plate number, and plug-and-play charging can be realized by identifying identity information of a charging user even if a vehicle to be charged does not have the license plate.
The invention provides a plug-and-play charging control method, which is applied to a cloud server and comprises the following steps:
Receiving a charging request sent by charging station equipment, wherein the charging request is generated when a vehicle to be charged is connected with a target port of the charging station equipment;
Invoking a monitoring image corresponding to the target port based on the charging request, and determining identity information of a charging user based on the monitoring image;
creating a charging order based on the charging request and the identity information of the charging user;
And sending a charging instruction for the charging order to the charging station equipment, wherein the charging instruction is used for controlling the charging station equipment to start charging to the vehicle to be charged.
According to the plug-and-play charging control method provided by the invention, the method for calling the monitoring image corresponding to the target port based on the charging request comprises the following steps:
determining a device number of the charging station device, a port number of the target port and a connection time of the target port based on the charging request;
Acquiring a monitoring video shot by monitoring equipment for monitoring the charging station equipment based on the equipment number of the charging station equipment;
and extracting a monitoring image corresponding to the target port shot at the connection moment from the monitoring video.
According to the plug-and-play charging control method provided by the invention, the identity information of the charging user is determined based on the monitoring image, and the method comprises the following steps:
extracting human body biological characteristics based on the monitoring image;
identifying the number of users and user identity information based on the extracted human body biological characteristics;
And if the number of the users is 1, determining the user identity information as the identity information of the charging user.
According to the plug-and-play charging control method provided by the invention, the method further comprises the following steps:
If the number of users is greater than 1, extracting continuous multiple images before the connection time from the monitoring video;
identifying charging behavior features based on the continuous plurality of images, the charging behavior features including a charger plug holding the vehicle to be charged;
and determining the user identity information of the user corresponding to the charging behavior characteristics as the identity information of the charging user.
According to the plug-and-play charging control method provided by the invention, the charging order is created based on the charging request and the identity information of the charging user, and the method comprises the following steps:
Searching charging information preset by the charging user based on the identity information of the charging user, wherein the charging information comprises the duration of full automatic stop or charging;
A charging order is created based on the charging request and the charging information.
According to the plug-and-play charging control method provided by the invention, after a charging instruction for the charging order is sent to the charging station equipment, the method further comprises:
And feeding back a charging starting message to the user terminal corresponding to the charging user.
According to the plug-and-play charging control method provided by the invention, the human body biological characteristics comprise at least one of facial characteristics, head-shoulder characteristics, figure characteristics and gait characteristics.
The invention also provides a plug-and-play charging control device, which is applied to the cloud server and comprises:
the charging system comprises a request receiving module, a charging module and a charging module, wherein the request receiving module is used for receiving a charging request sent by charging station equipment, and the charging request is generated when a vehicle to be charged is connected with a target port of the charging station equipment;
The identity determining module is used for calling a monitoring image corresponding to the target port based on the charging request and determining identity information of a charging user based on the monitoring image;
The order creation module is used for creating a charging order based on the charging request and the identity information of the charging user;
The charging order is used for charging the vehicle to be charged, and the charging order is used for charging the vehicle to be charged.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the plug-and-play charge control method as described in any one of the above when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the plug-and-play charge control method as described in any of the above.
The plug-and-play charging control method, the device, the electronic equipment and the storage medium provided by the invention have the advantages that firstly, when a vehicle to be charged is connected with a target port of the charging station equipment, the charging station equipment generates a charging request, a cloud server receives the charging request sent by the charging station equipment, then, the cloud server identifies identity information of a charging user by calling a monitoring image corresponding to the target port, a charging order is created based on the charging request and the identity information of the charging user, namely, the order can be automatically created by identifying the identity information of the charging user, finally, the cloud server sends a charging instruction for the charging order to the charging station equipment, the charging instruction is used for controlling the charging station equipment to start charging to the vehicle to be charged, plug-and-play charging can be realized by identifying the identity information of the charging user, and even if the vehicle to be charged does not have a license plate.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the term "comprising" will be used in embodiments of the application to indicate the presence of the features stated hereafter, but not to exclude the addition of other features.
The charge control method of the plug-and-play of the present invention is described below with reference to fig. 1.
Referring to fig. 1, fig. 1 is a flow chart of a plug-and-play charging control method according to an embodiment of the invention. The method is applied to the cloud server, as shown in fig. 1, and can comprise the following steps:
Step 101, receiving a charging request sent by charging station equipment, wherein the charging request is generated when a vehicle to be charged is connected with a target port of the charging station equipment;
Step 102, invoking a monitoring image corresponding to a target port based on a charging request, and determining identity information of a charging user based on the monitoring image;
Step 103, creating a charging order based on the charging request and the identity information of the charging user;
Step 104, a charging instruction for a charging order is sent to the charging station equipment, wherein the charging instruction is used for controlling the charging station equipment to start charging to the vehicle to be charged.
In step 101, the charging station device is provided with a plurality of charging ports, and the target port is a charging port in the charging station device connected to a vehicle to be charged. The vehicle to be charged may be an electric bicycle.
The charging station equipment detects whether a target port is connected with the vehicle to be charged in real time, and generates a charging request and sends the charging request to the cloud server when the target port is detected to be connected with the vehicle to be charged, namely, when a plug of the vehicle to be charged is just inserted into the target port. And the cloud server receives a charging request sent by the charging station equipment. The charging request may include a device number of the charging station device, a port number of the target port, and a connection time of the target port. The connection time of the target port is the time when the plug of the vehicle to be charged is just inserted into the target port.
In step 102, each charging station device is provided with a monitoring device, which can continuously monitor the entire charging station device and synchronize the monitoring video to the cloud server in real time.
And after receiving the charging request, the cloud server invokes a monitoring image corresponding to the target port by using the monitoring video uploaded by the monitoring equipment, and then identifies the identity information of the charging user through the monitoring image.
In step 103, the information in the charging request and the identity information of the charging user are associated, and a charging order may be automatically created.
In step 104, the cloud server sends a charging instruction for the charging order to the charging station device after the charging order is created. The charging station device starts charging the vehicle to be charged based on the charging instruction.
According to the plug-and-play charging control method, firstly, when a vehicle to be charged is connected with a target port of charging station equipment, the charging station equipment generates a charging request, a cloud server receives the charging request sent by the charging station equipment, then, the cloud server identifies identity information of a charging user by calling a monitoring image corresponding to the target port, a charging order is created based on the charging request and the identity information of the charging user, namely, the order can be automatically created by identifying the identity information of the charging user, finally, the cloud server sends a charging instruction for the charging order to the charging station equipment, the charging instruction is used for controlling the charging station equipment to start charging to the vehicle to be charged, plug-and-play charging can be achieved by identifying the identity information of the charging user, and even if the vehicle to be charged does not have a license plate, the plug-and-play charging can be achieved.
In an embodiment, in step 102, retrieving the monitoring image corresponding to the target port based on the charging request may include the following sub-steps:
step 1021, determining the device number of the charging station device, the port number of the target port and the connection time of the target port based on the charging request;
step 1022, acquiring a monitoring video shot by a monitoring device for monitoring the charging station equipment based on the equipment number of the charging station equipment;
step 1023, extracting a monitoring image corresponding to the target port shot at the connection time from the monitoring video.
In step 1021, the cloud server analyzes the charging request, and may obtain the device number of the charging station device, the port number of the target port, and the connection time of the target port. The connection time of the target port is the time when the plug of the vehicle to be charged is just inserted into the target port.
In step 1022, each charging station device is provided with a monitoring device, which may continuously monitor the entire charging station device and synchronize the monitoring video to the cloud server in real time. According to the equipment number of the charging station equipment, the monitoring video shot by the monitoring equipment for monitoring the charging station equipment can be searched.
In step 1023, the video frame of the monitoring video may be divided into a plurality of sub-areas according to the plurality of charging ports of the charging station device, and each sub-area corresponds to one charging port.
The cloud server extracts video pictures shot at the connection time from the monitoring video, and further extracts a subarea corresponding to the target port to serve as a monitoring image to be identified.
In this embodiment, the cloud synchronization of the monitoring video can be implemented by using the existing monitoring device, and the cloud server can extract the monitoring image corresponding to the target port shot at the connection time from the monitoring video, so that the hardware cost of monitoring image acquisition can be reduced.
In an embodiment, in step 102, determining identity information of the charging user based on the monitoring image may include the following sub-steps:
Step 1024, extracting human body biological characteristics based on the monitoring image;
Step 1025, identifying the number of users and the user identity information based on the extracted human body biological characteristics;
Step 1026, if the number of users is 1, determining the user identity information as the identity information of the charging user.
In step 1024, feature extraction is performed on the monitored image to obtain a human body biological feature. Optionally, the human biometric characteristic may include at least one of a facial feature, a head-shoulder feature, a body shape feature, a gait feature.
In step 1025, when user registration is performed through the user terminal, human body biological characteristics need to be input in addition to the personal basic information, and then the human body biological characteristics are uploaded to the cloud server for storage through the user terminal. When the human body biological characteristics are recorded, at least one item of information such as the face, the head and the shoulder, the figure, the gait and the like can be selected to be collected. Because the user is inconvenient to identify when wearing the helmet and wearing the raincoat during raining, the user recommends to select as many as possible when inputting the human body biological characteristics, so that the user can identify better.
The extracted human body biological characteristics are compared with the human body biological characteristics of each user stored in advance, so that the number of users and the user identity information can be identified.
In step 1026, if the number of identified users is 1, that is, only one person appears in the monitoring image, the identified user identity information is determined as the identity information of the charging user.
In this embodiment, identity information of the charging user can be quickly identified through the monitoring image.
In another embodiment, the method further comprises:
Step 1027, if the number of users is greater than 1, extracting continuous multiple images before the connection time from the monitoring video;
Step 1028, based on the continuous multiple images, identifying charging behavior characteristics, wherein the charging behavior characteristics comprise a charger plug for holding a vehicle to be charged;
step 1029, determining the user identity information of the user corresponding to the charging behavior characteristics as the identity information of the charging user.
In step 1027, the number of users is greater than 1, i.e. a plurality of people appear in the monitoring image at the same time, and the charging user cannot be identified. For this case, a plurality of continuous images before the connection time are extracted from the monitoring video.
In step 1028, a charging behavior feature is identified from the continuous plurality of images, such as a charger plug holding the vehicle to be charged, but the present embodiment is not limited thereto, and other charging behavior features may be such as a cart (i.e., pushing the vehicle to be charged to the target port of the charging station device), parking (i.e., parking the vehicle to be charged at the target port of the charging station device), and so forth.
In step 1029, assuming that the charging behavior feature is a charger plug of the vehicle to be charged, user identification information of a user holding the charger plug of the vehicle to be charged is determined as identification information of the charging user.
In this embodiment, the identity information of the charging user can be accurately identified under the condition that a plurality of people appear in the monitoring image at the same time.
In an embodiment, step 103 may comprise the sub-steps of:
Step 1031, searching charging information preset by a charging user based on identity information of the charging user, wherein the charging information comprises duration of full automatic stop or charging;
step 1032, creating a charge order based on the charge request and the charge information.
In step 1031, when user registration is performed through the user terminal, charging information is also required to be input and uploaded to the cloud server by the user terminal, wherein the charging information comprises a duration full of automatic stop or charging. Full automatic stop is understood to mean an automatic stop of charging after the vehicle is fully charged. The duration of charging may be understood as a duration in which the user wishes to charge the vehicle, and the charging is automatically stopped after the duration is reached. The duration of the charging may be set to two hours, and the present embodiment is not limited thereto, and may be set to other durations.
Through the identity information of the charging user, the charging information of the charging user can be searched from the charging information of each user stored in the cloud server.
In step 1032, a charging order is created based on the device number of the charging station device, the port number of the target port, and the connection time of the target port, which are included in the charging request, and the charging information.
In this embodiment, the charging information of the charging user may be searched through the identity information of the charging user, and the charging order may be automatically created based on the device number of the charging station device, the port number of the target port, the connection time of the target port, and the charging information included in the charging request.
In an embodiment, after step 104, the method further includes feeding back a charging start message to the user terminal corresponding to the charging user.
In this embodiment, the charging is started without the need for the charging user to perform a complicated operation on the user terminal in the whole charging process, and after the plug-and-play charging is implemented, the charging starting message is fed back to the user terminal corresponding to the charging user, so that the charging user can be timely notified that the vehicle starts to be charged.
The following describes a plug-and-play charging control device provided by the present invention, and the plug-and-play charging control device described below and the plug-and-play charging control method described above may be referred to correspondingly to each other.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a plug-and-play charging control device according to an embodiment of the invention. As shown in fig. 2, the apparatus may include:
a request receiving module 10, configured to receive a charging request sent by a charging station device, where the charging request is generated when a vehicle to be charged is connected to a target port of the charging station device;
the identity determining module 20 is configured to invoke a monitoring image corresponding to the target port based on the charging request, and determine identity information of a charging user based on the monitoring image;
An order creation module 30, configured to create a charging order based on the charging request and the identity information of the charging user;
the instruction sending module 40 is configured to send a charging instruction for the charging order to the charging station device, where the charging instruction is used to control the charging station device to start charging the vehicle to be charged.
In one possible implementation, the identity determination module 20 may include:
An information determining unit configured to determine, based on the charging request, a device number of the charging station device, a port number of the target port, and a connection time of the target port;
The video acquisition unit is used for acquiring a monitoring video shot by a monitoring device for monitoring the charging station device based on the device number of the charging station device;
And the image extraction unit is used for extracting the monitoring image corresponding to the target port shot at the connection moment from the monitoring video.
In one possible implementation, the identity determination module 20 may further include:
A feature extraction unit for extracting a human body biological feature based on the monitoring image;
the feature recognition unit is used for recognizing the number of users and the user identity information based on the extracted human body biological features;
and the first identity determining unit is used for determining the user identity information as the identity information of the charging user if the number of the users is 1.
In one possible implementation, the identity determination module 20 may further include:
the image extraction unit is used for extracting continuous multiple images before the connection time from the monitoring video if the number of users is greater than 1;
The behavior recognition unit is used for recognizing charging behavior characteristics based on the continuous multiple images, wherein the charging behavior characteristics comprise a charger plug for holding the vehicle to be charged;
and the second identity determining unit is used for determining the user identity information of the user corresponding to the charging behavior characteristics as the identity information of the charging user.
In one possible implementation, the order creation module 30 may include:
The information searching unit is used for searching the charging information preset by the charging user based on the identity information of the charging user, wherein the charging information comprises the duration of full automatic stop or charging;
And the order creation unit is used for creating a charging order based on the charging request and the charging information.
In one possible embodiment, the apparatus may further include:
And the message feedback module is used for feeding back a charging starting message to the user terminal corresponding to the charging user after sending the charging instruction aiming at the charging order to the charging station equipment.
In one possible embodiment, the human biometric characteristic comprises at least one of a facial feature, a head-shoulder feature, a body shape feature, and a gait feature.
Fig. 3 illustrates a physical schematic diagram of an electronic device, which may include a processor 810, a communication interface (Communications Interface) 820, a memory 830, and a communication bus 840, as shown in fig. 3, where the processor 810, the communication interface 820, and the memory 830 perform communication with each other through the communication bus 840. The processor 810 may invoke logic instructions in the memory 830 to perform a plug-and-play charge control method comprising:
Receiving a charging request sent by charging station equipment, wherein the charging request is generated when a vehicle to be charged is connected with a target port of the charging station equipment;
Invoking a monitoring image corresponding to the target port based on the charging request, and determining identity information of a charging user based on the monitoring image;
creating a charging order based on the charging request and the identity information of the charging user;
And sending a charging instruction for the charging order to the charging station equipment, wherein the charging instruction is used for controlling the charging station equipment to start charging to the vehicle to be charged.
Further, the logic instructions in the memory 830 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method of plug-and-play charge control provided by the methods described above, the method comprising:
Receiving a charging request sent by charging station equipment, wherein the charging request is generated when a vehicle to be charged is connected with a target port of the charging station equipment;
Invoking a monitoring image corresponding to the target port based on the charging request, and determining identity information of a charging user based on the monitoring image;
creating a charging order based on the charging request and the identity information of the charging user;
And sending a charging instruction for the charging order to the charging station equipment, wherein the charging instruction is used for controlling the charging station equipment to start charging to the vehicle to be charged.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the above-provided plug-and-play charging control method, the method comprising:
Receiving a charging request sent by charging station equipment, wherein the charging request is generated when a vehicle to be charged is connected with a target port of the charging station equipment;
Invoking a monitoring image corresponding to the target port based on the charging request, and determining identity information of a charging user based on the monitoring image;
creating a charging order based on the charging request and the identity information of the charging user;
And sending a charging instruction for the charging order to the charging station equipment, wherein the charging instruction is used for controlling the charging station equipment to start charging to the vehicle to be charged.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
It should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention, and not for limiting the same, and although the present invention has been described in detail with reference to the above-mentioned embodiments, it should be understood by those skilled in the art that the technical solution described in the above-mentioned embodiments may be modified or some technical features may be equivalently replaced, and these modifications or substitutions do not make the essence of the corresponding technical solution deviate from the spirit and scope of the technical solution of the embodiments of the present invention.