Charging rack control method and system and charging rack
By setting up an induction lock on the charging rack and using environmental and image information for identification, and automatically controlling the switch of the charging port, the problem of low usage efficiency and safety hazards of the existing charging rack is solved, and more efficient and safer miner's lamp management is achieved.
Patent Information
- Application Number
- CN202410638413.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-06
AI Technical Summary
The existing charging rack has problems in terms of efficiency and safety. The operation is cumbersome and can easily lead to the loss and mixed use of miner's lamps, which affects the work efficiency and management order of miners.
Multiple charging ports are used, and each charging port is equipped with an induction lock. By monitoring the user's environmental information and image information, the user's status and identity information are determined, and the induction lock is automatically controlled for unlocking and locking operations to ensure that only authorized users use designated charging port, and perform charging operations according to the user's charging preferences.
It improves the usage efficiency of the charging rack, avoids the loss and mixed use of miner's lamps, ensures safety and management order, simplifies the operation process, and especially reduces safety hazards in emergencies.
Smart Images

Figure CN118611202A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic equipment, and in particular to a control method and system for a charging stand, and a charging stand. Background Art
[0003] Although the existing lockless charging rack is easy to operate, it is very easy to cause the loss and mixing of mining lamps, thus affecting the work efficiency of miners and the management order of mining lamps. Although the charging rack with mechanical lock solves the safety problem of mining lamps to a certain extent, since each charging port corresponds to a key, it not only requires a large number of keys to be checked before production and use, which increases the complexity of management, but also may cause unnecessary troubles due to confusion or omission of keys.
[0004] More importantly, in actual use, miners need extra time and operation to unlock the mechanical lock of the charging rack, which makes the unlocking and locking process of the mechanical lock time-consuming and cumbersome, and may cause serious safety hazards in emergency situations. In addition, due to the limited space of the charging rack, only a few miners can take and put the mining lamps at the same time, which causes significant congestion and inconvenience during peak hours, affecting the efficiency and convenience of the use of the charging rack. Summary of the invention
[0005] Based on this, the purpose of the present invention is to provide a control method and system for a charging rack and a charging rack, so as to fundamentally solve the problem of low efficiency of existing charging racks.
[0006] According to a control method of a charging rack according to an embodiment of the present invention, the charging rack is provided with a plurality of charging ports, each charging port is provided with an induction lock for controlling the switch thereof, and the method comprises:
[0007] When a user is detected, the current environment information and image information are collected, and the user's status information is determined based on the collected image information;
[0008] Determine the identification mode corresponding to the user according to the current environment information and the user's status information and identify the user to determine the user's identity information;
[0009] The corresponding target charging port is determined according to the user's identity information and the induction lock in the target charging port is controlled to perform an unlocking operation.
[0010] In addition, the control method of a charging stand according to the above embodiment of the present invention may also have the following additional technical features:
[0011] Furthermore, the step of determining the user's status information based on the collected image information includes:
[0012] Preprocessing the collected image information, and performing image segmentation on the preprocessed image to obtain a target image containing the user;
[0013] The segmented target image is subjected to feature extraction and state detection to determine the user's state information.
[0014] Furthermore, the step of determining the identification mode corresponding to the user according to the current environment information and the user's state information and identifying the user to determine the user's identity information includes:
[0015] Analyze the current environment information and user status information based on pre-set rules or machine learning algorithms to determine the user's corresponding recognition mode;
[0016] The parameters of the identification mode corresponding to the user are adjusted according to the current environmental information, and the user is identified to determine the user's identity information.
[0017] Furthermore, the step of determining the corresponding target charging port according to the user's identity information and controlling the induction lock in the target charging port to perform an unlocking operation includes:
[0018] Determining whether the user has set a target charging port in advance according to the user's identity information;
[0019] If yes, the induction lock in the target charging port preset by the user is controlled to perform an unlocking operation;
[0020] If not, the control instruction input by the user is obtained, and the induction lock in the corresponding target charging port is controlled to perform an unlocking operation according to the control instruction.
[0021] Furthermore, after the step of determining the corresponding target charging port according to the user's identity information and controlling the induction lock in the target charging port to perform an unlocking operation, the method further includes:
[0022] Obtain the identity information of the charging lamp in the target charging port, and determine whether it is the charging lamp bound to the user according to the identity information of the charging lamp;
[0023] If yes, the induction lock in the target charging port is controlled to lock, and the charging lamp in the target charging port is charged;
[0024] If not, the induction lock in the target charging port is controlled to continue the unlocking operation, and the charging operation of the charging lamp in the target charging port is stopped.
[0025] Furthermore, after the step of determining the corresponding target charging port according to the user's identity information and controlling the induction lock in the target charging port to perform an unlocking operation, the method further includes:
[0026] Determine the corresponding charging preference according to the user's identity information, wherein the charging preference includes a maximum charging power, a charging speed, and a charging period;
[0027] Perform corresponding charging operations on the charging lamp in the target charging port according to the charging preference.
[0028] Furthermore, the step of controlling the induction lock in the corresponding target charging port to perform an unlocking operation according to the control instruction includes:
[0029] Obtaining status information of the target charging port, the status information including whether it is in use and the identity information of the user when it is in use;
[0030] Determine whether the control command is legal based on the status information of the target charging port and the identity information of the user;
[0031] If so, the induction lock in the target charging port is unlocked.
[0032] Another embodiment of the present invention aims to provide a control system for a charging rack, wherein a plurality of charging ports are provided on the charging rack, and each charging port is provided with an induction lock for controlling the switch thereof, and the system comprises:
[0033] The information collection module is used to collect the current environment information and image information when the user is monitored, and determine the user's status information based on the collected image information;
[0034] An information determination module is used to determine the identification mode corresponding to the user according to the current environment information and the user's status information and to identify the user to determine the user's identity information;
[0035] The operation module is used to determine the corresponding target charging port according to the user's identity information and control the induction lock in the target charging port to perform an unlocking operation.
[0036] Furthermore, the information collection module includes:
[0037] A segmentation processing unit, used to pre-process the collected image information and perform image segmentation on the pre-processed image to obtain a target image containing the user;
[0038] The information determination unit is used to perform feature extraction and state detection on the segmented target image to determine the user's state information.
[0039] Another embodiment of the present invention aims to provide a charging stand, comprising a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor implements the control method of the charging stand as described above when executing the program.
[0040] The control method of the charging stand provided in the embodiment of the present invention determines the recognition mode corresponding to the user based on the collected environmental information and the user's status information, so that different recognition modes can be selected in different environments and user states. The recognition mode determined based on the collected environmental information and the user's status information can more effectively identify the user, thereby effectively identifying the user's identity information, avoiding the problem of failure of facial recognition or fingerprint recognition only due to stains on the user's face and hands or wearing tools. By determining the corresponding target charging port according to the user's identity information and performing an unlocking operation, the charging stand can be effectively used, solving the problem of low utilization efficiency of the existing charging stand. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 is a flow chart of a charging port control method of a charging stand in a first embodiment of the present invention;
[0042] Figure 2 is a schematic structural diagram of a charging stand in a first embodiment of the present invention;
[0043] Figure 3 It is a module schematic diagram of a charging port control system of a charging stand in a second embodiment of the present invention;
[0044] Figure 4 is a schematic diagram of a module of a charging stand in a third embodiment of the present invention;
[0045] The following specific implementations will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0046] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.
[0047] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0049] Embodiment 1
[0050] See also Figure 1 , which shows a control method of a charging stand in a first embodiment of the present invention. For the sake of convenience, only the part related to the embodiment of the present invention is shown. The control method of a charging stand provided by the embodiment of the present invention includes:
[0051] Step S10, when a user is monitored, current environment information and image information are collected, and the user's status information is determined based on the collected image information;
[0052] In one embodiment of the present invention, the control method of the charging stand is applied to the charging stand, wherein reference is made to Figure 2 As shown, the charging rack 1 is provided with a plurality of charging ports 2, and each charging port is provided with an induction lock 3 for controlling its switch, that is to say, the charging rack is provided with many independent charging ports, each of which can be used to charge and store the charging lamp, and each charging port is equipped with an induction lock, which can control the opening and closing of the charging port. Specifically, the charging rack is electrically connected to the induction locks in each charging port, and the charging rack sends independent control signals to each charging port, so that when the induction lock receives the correct control signal sent by the charging rack, it will be unlocked accordingly to provide the charging port for the charging lamp, so that the charging lamp can be placed in the charging port after the induction lock is unlocked for charging operation; and when the charging port needs to be closed, the induction lock will be locked accordingly to prevent the charging port from being used. Specifically, it can be locked by sending a control signal to the induction lock by the charging rack, or it can be automatically locked by the user closing the charging port.
[0053] Furthermore, the charging stand is provided with various sensors for collecting information, which are generally provided with: sensors for collecting environmental information, such as light sensors, sound sensors (i.e., microphones), temperature sensors, humidity sensors, dust concentration sensors, etc.; sensors for detecting whether there is a human body, such as infrared sensors, ultrasonic sensors, microwave sensors, image sensors (i.e., cameras), etc.; and sensors for collecting the user's biometric information, such as fingerprint sensors, iris sensors, image sensors (i.e., face recognition cameras), sound sensors, palm print recognition sensors, etc. Therefore, the above sensors can monitor whether there is a user, collect environmental information, and identify the user's biometric information.
[0054] In specific use, when the charging stand is in an idle state, only the sensor for detecting the presence of a human body works to detect whether a user appears in front of the charging stand to pick up and place the charging lamp, while other sensors enter a dormant state and do not work, so as to save energy consumption when each sensor is working and reduce the problem of the charging stand processing the data collected by each sensor in real time and generating a large amount of invalid data. When the charging stand detects the presence of a user through the sensor for detecting the presence of a human body, it starts to enable the sensor for collecting environmental information to collect the current environmental information, where the environmental information includes light intensity, sound intensity, humidity, temperature and dust concentration, and enables the image sensor to collect the current image information, and then determines the user's status information based on the collected image information, where the user's status information includes whether the user is wearing tools (for example, whether the user is wearing a helmet, goggles or glasses, a mask, gloves) and whether the user is dirty (for example, whether the face is dirty and whether the hands are dirty).
[0055] In one embodiment of the present invention, the step of determining the user's status information according to the collected image information includes:
[0056] Preprocessing the collected image information, and performing image segmentation on the preprocessed image to obtain a target image containing the user;
[0057] The segmented target image is subjected to feature extraction and state detection to determine the user's state information.
[0058] Specifically, the collected image information is first preprocessed to improve the image data so that it can be processed more effectively later. The image preprocessing methods generally include normalization, denoising and edge enhancement. Specifically, normalization is used to adjust the pixel value range of the image to a uniform standard, such as converting a color image to a grayscale image. Denoising is to use various filters to denoise the image to remove noise in the image or enhance image features, wherein the filters may include Gaussian filters or median filters. Edge enhancement is to use edge enhancement algorithms to improve the contrast of the image and highlight the edge information in the image, wherein the edge enhancement algorithm may use Sobel operator or Canny edge detection.
[0059] Furthermore, the preprocessed image is segmented into multiple regions or objects so that the target of interest (such as the user) can be separated from the image background. This makes it possible to more effectively analyze the target image and determine the user's status information. Commonly used image segmentation algorithms include threshold segmentation, edge detection, region segmentation, clustering-based image segmentation methods, etc.
[0060] Specifically, threshold segmentation is to divide an image into different regions by setting one or more thresholds. It usually divides the image into multiple regions according to the grayscale level of the image. For example, a threshold is selected to divide all pixels in the image with grayscale values greater than the threshold into one region, and pixels with grayscale values less than the threshold into another region. Commonly used threshold selection methods include global threshold and local threshold.
[0061] Among them, edge detection is to detect the edges in the image and perform image segmentation by identifying the changes in the grayscale values of pixels on the boundaries of different regions in the image. Commonly used edge detection algorithms include Sobel operator, Canny edge detection, etc. The specific Sobel operator calculates the gradient of the image and regards the pixels with gradient values greater than a certain threshold as edge points. Canny edge detection is a multi-stage algorithm, which includes steps such as Gaussian filtering, gradient calculation, non-maximum suppression and dual threshold detection.
[0062] Among them, region segmentation is to merge or segment regions based on the similarity between pixels. The usual steps are to select a seed pixel as the starting point, and then determine whether adjacent pixels belong to the same region based on the similarity between pixels. If they do, they are merged. At this time, it is repeated until all adjacent pixels are merged into one region.
[0063] Among them, the clustering-based image segmentation method clusters the pixels in the image into different groups, and commonly used methods include K-means clustering, graph-based segmentation, etc. Among them, K-means clustering is to divide the pixels into K different categories according to the characteristic values of the pixels (such as color, texture, etc.), and each category represents an area. The graph-based segmentation is to represent the image as a graph structure and divide the image through graph theory algorithms such as minimum cut or maximum flow. It should be pointed out that in the embodiment of the present invention, any of the above-mentioned image segmentation algorithms can be used to segment the image, which is set according to the actual use needs and is not specifically limited here.
[0064] Furthermore, a specific target detection algorithm is used to detect specific targets (such as head area, face area and hand area) in the target image, wherein the target detection algorithm includes YOLO, Mask R-CNN, Faster R-CNN, etc., wherein the above algorithm can identify the specific target in the image and mark the position and bounding box of the specific target. After the target detection, the detected specific target area is located to determine the exact position and size of the specific target, wherein the positioning generally includes determining the bounding box of the specific target or extracting the key points of the specific target, so that the position and size of the specific target in the image can be accurately represented.
[0065] Further, feature extraction is performed on the specific target in the segmented target image, including color features, texture features, shape features, etc., which can be extracted using traditional computer vision technology or deep learning models, wherein color features include color histograms or color distribution features of specific targets; texture features include texture information of specific targets, such as gray level co-occurrence matrix (GLCM) features, local binary pattern (LBP) features, etc.; and shape features include size, shape, contour, etc. of specific targets. Then, the extracted features are analyzed and identified using a machine learning algorithm or a deep learning model to determine the user's state information. For example, the extracted features are classified or regressed using a machine learning algorithm to determine the user's state information, wherein the machine learning algorithm includes support vector machines, random forests, K nearest neighbors, etc. For whether tools are worn, a classifier can be used to identify whether corresponding tools exist in the head, face, and hand regions. For example, a binary classifier is trained to determine whether a helmet exists in the head region, whether goggles or glasses, or a mask exists in the face region, and whether gloves exist in the hand region. As for whether it is dirty, a binary classifier can be trained to determine whether the facial area and the hand area are dirty, which can be achieved by detecting the presence or absence of spots or stains. Deep learning models such as convolutional neural networks (CNN), recurrent neural networks (RNN), long short-term memory networks (LSTM), etc. can learn the complex mapping relationship between features and states to achieve more accurate state detection. Of course, in an embodiment of the present invention, a detection model can also be used to identify whether a tool is worn in a specific target in the target image, and a dirt detection algorithm can be used to detect the cleanliness of the face or hands. Specifically, for example, a specific convolutional neural network (CNN) is trained to identify whether the face or hands are clean. Specifically, the user's state information determined based on the collected image information can be set according to actual use needs, and no specific limitation is made here.
[0066] Therefore, when a user is monitored, by collecting the current environmental information and image information, the environmental information of the charging stand can be determined, such as light intensity, sound intensity, temperature, humidity and dust concentration; and by processing the collected image information, the user's status information can be determined, such as whether he is wearing tools (for example, whether he is wearing a helmet, goggles or glasses, a mask, gloves) and whether he is dirty (for example, whether his face is dirty and whether his hands are dirty).
[0067] Step S20, determining the identification mode corresponding to the user according to the current environment information and the user's state information and performing identity identification on the user to determine the user's identity information;
[0068] In one embodiment of the present invention, the steps of determining the identification mode corresponding to the user according to the current environment information and the user's state information and identifying the user to determine the user's identity information include:
[0069] Analyze the current environment information and user status information based on pre-set rules or machine learning algorithms to determine the user's corresponding recognition mode;
[0070] The parameters of the identification mode corresponding to the user are adjusted according to the current environmental information, and the user is identified to determine the user's identity information.
[0071] Specifically, a set of rules is first designed in advance to formulate the selection rules of the recognition mode according to different environmental information and user status information. The rule can be a series of conditional judgments, for example: if the light intensity is lower than a certain threshold, voiceprint recognition or fingerprint recognition is preferred; if the noise level is higher than a certain threshold, avoid using voiceprint recognition and select face recognition or fingerprint recognition; if the user wears a mask, fingerprint recognition or iris recognition is preferred; if the user wears a helmet or glasses, fingerprint recognition or voiceprint recognition is selected; if the user's hands are dirty or wearing gloves, face recognition or voiceprint recognition is selected. Correspondingly, based on the above-mentioned rules, the environmental information and the user's status information can be combined to formulate the selection of the recognition mode. For example, a rule can be set: "If the light intensity is lower than a certain threshold and the noise level is higher than a certain threshold and the user is not wearing gloves and the hands are clean, then the fingerprint recognition mode is selected." At this time, the environmental information and the user's status information are processed according to the preset rules so that the recognition mode can be determined.
[0072] Furthermore, in addition to the static pre-set rules described above, the relationship between environmental information and user status information and recognition patterns can be learned from historical data through machine learning algorithms (such as decision trees, support vector machines, neural networks, etc.), thereby predicting the most suitable recognition pattern. Furthermore, the accuracy of decision-making can be improved by continuously optimizing the algorithm, which can use a feedback loop to compare the predicted results with the actual results and adjust accordingly. Furthermore, according to the importance of different environmental factors and user status factors, corresponding weights can be set for each factor, and the recognition pattern can be determined by comprehensive consideration. At the same time, the priorities of different recognition patterns are set, and selection is made according to the priorities. For example, if the applicable conditions of a certain recognition pattern are more special or accurate, its priority is set higher.
[0073] Among them, in the embodiment of the present invention, its recognition mode includes face recognition, voiceprint recognition, fingerprint recognition, iris recognition and palmprint recognition. For example, when the light is sufficient and the user does not wear a mask or goggles, face recognition is used first; when the light conditions are poor or the user wears a mask and does not wear goggles, iris recognition is used first; when the user's hands are not wearing gloves and are not dirty, fingerprint recognition or palmprint recognition is used first; and voiceprint recognition is used first in a quiet environment. It should be pointed out that the recognition mode may include multimodal recognition, that is, in addition to the above-mentioned single modal recognition, multimodal recognition can also be used to identify the user. For example, face recognition and voiceprint recognition can be used simultaneously when the user's state is complex (such as poor light conditions, noisy sounds, etc.). That is to say, based on the pre-set rules or machine learning algorithms, the current environmental information and the user's state information are analyzed to determine the recognition mode corresponding to the user. It can determine a single recognition mode or multiple combinations of recognition modes.
[0074] Further, after determining the recognition mode, the corresponding recognition technology is selected to authenticate the user. For example, in face recognition, a camera is used to capture the user's facial image, and the face recognition algorithm (such as a convolutional neural network) is used for identity authentication. In fingerprint recognition, the user's fingerprint is collected through a fingerprint sensor and verified through a fingerprint matching algorithm. In voice recognition, the user's voice is collected through a microphone and verified through voice recognition and matching algorithms. In iris recognition, the user's iris image is collected through an iris sensor and verified through an iris recognition algorithm. In palm print recognition, the user's palm print image is collected through an image sensor and verified through a palm print recognition algorithm. Further, the identified features are compared with a pre-stored user feature database to confirm the user's identity. The comparison algorithm can use Euclidean distance, cosine similarity, and other similarity metrics. For example, the user's facial features or fingerprint features are matched with the corresponding features in the database to confirm whether it is a pre-registered user. If the match is successful, the user's identity information is confirmed and subsequent operations (such as unlocking the charging port) are performed. If the match fails, the user is prompted to re-identify or enter other verification information.
[0075] Specifically, taking voiceprint recognition as an example, the detailed steps for identifying a user and determining the user's identity information are as follows: first, a large number of voice samples are used to train the voiceprint recognition model to achieve model training and matching. Commonly used models include: Gaussian mixture model (GMM), hidden Markov model (HMM), deep neural network model (DNN), convolutional neural network model (CNN), long short-term memory network model (LSTM) and recurrent neural network model (RNN). The Gaussian mixture model is used to model the user's voiceprint features; the hidden Markov model is used to capture the dynamic changes in speech; the deep neural network model and the convolutional neural network model are used to extract more complex and abstract voiceprint features; the long short-term memory network model and the recurrent neural network model are used to process speech sequence features; and then the voiceprint features of the registered user are stored in the database to form a voiceprint template library. Then, during identity authentication, a voice signal of the user is collected and recorded through a sound sensor; further, the voice signal is preprocessed, and the preprocessing specifically includes voice segmentation, pre-emphasis and normalization, wherein voice segmentation is to extract the user's voice segment and remove irrelevant background noise and silent parts; pre-emphasis is to pre-emphasize the voice signal to enhance the high-frequency components and improve the effect of voice feature extraction; and normalization is to normalize the amplitude of the voice signal to eliminate the difference in recording volume; further, feature extraction is performed on the preprocessed voice signal to obtain real-time voiceprint features, The feature extraction includes short-time Fourier transform (STFT), Mel-frequency cepstral coefficients (MFCC), and other features; short-time Fourier transform is to convert the speech signal from time domain to frequency domain to obtain the time-frequency characteristics of the speech signal; Mel-frequency cepstral coefficients (MFCC) are to extract the MFCC features of the speech signal, wherein the MFCC features are feature parameters commonly used in voiceprint recognition; and other features may be other frequency domain features such as fundamental frequency, resonance peak, linear prediction cepstral coefficients (LPCC), etc.; further, the real-time voiceprint features are matched with the features in the voiceprint template library. Commonly used matching algorithms include dynamic time warping (DTW), cosine similarity, and Euclidean distance. Dynamic time warping is used to compare the similarity between two segments of speech; cosine similarity is used to calculate the similarity between real-time voiceprint features and features in the template library; and Euclidean distance is used to calculate the distance measurement similarity between the real-time voiceprint feature vector and the feature vector in the template library; further, the similarity between the real-time voiceprint feature and the feature in the database is evaluated based on the matching results, and a similarity threshold is specifically set. When the matching similarity exceeds the similarity threshold, the user's identity information is confirmed, otherwise the match fails and the user is prompted to re-identify or enter other verification information.
[0076] Furthermore, before identifying the user and determining the user's identity information, it is necessary to adjust the parameters of the user's corresponding recognition mode according to the current environmental information. For example, in a dark environment, increase the exposure time of the facial recognition algorithm or increase the aperture to collect more light or increase the sensitivity to enhance the image brightness in a low-light environment; adjust the sensitivity of the fingerprint sensor in an environment with high humidity. When the ambient volume is high, reduce the gain of the sound sensor to reduce noise and distortion and improve the clarity of the voice.
[0077] Furthermore, when multimodal recognition is used, the results of multiple recognition modes are fused, and the user's identity information is comprehensively judged using weighted voting or confidence scoring methods. When the confidence of a certain recognition mode or multimodal fusion result exceeds a preset threshold, the user's identity information is determined. At the same time, feedback can also be provided to the user, such as displaying the recognition result on the display screen of the charging stand, at which time the user can confirm or correct it, further improving the accuracy of identifying the user's identity information.
[0078] Step S30, determining the corresponding target charging port according to the user's identity information and controlling the induction lock in the target charging port to perform an unlocking operation;
[0079] Among them, in one embodiment of the present invention, the step of determining the corresponding target charging port according to the user's identity information and controlling the induction lock in the target charging port to perform an unlocking operation includes:
[0080] Determining whether the user has set a target charging port in advance according to the user's identity information;
[0081] If yes, the induction lock in the target charging port preset by the user is controlled to perform an unlocking operation;
[0082] If not, the control instruction input by the user is obtained, and the induction lock in the corresponding target charging port is controlled to perform an unlocking operation according to the control instruction.
[0083] Specifically, after determining the user's identity information, query the user's identity information to see if there is a pre-set target charging port. If the user has a pre-set target charging port, record the location or number of the target charging port. The pre-set target charging port can be a target charging port pre-bound to the user. At this time, whenever the user opens the charging port of the charging rack for charging, the bound target charging port can be opened; of course, the pre-set target charging port can also be the target charging port set by the user when placing the charging lamp for charging. At this time, the user needs to open the target charging port again when taking away the charging lamp that is charging at the target charging port.
[0084] When it is determined based on the user's identity information that the user has pre-set the target charging port, the induction lock in the target charging port pre-set by the user is controlled to perform an unlocking operation. When it is determined based on the user's identity information that the user has not pre-set the target charging port, the control instruction input by the user is obtained, the target charging port corresponding to the control instruction is identified, and the induction lock in the identified target charging port is controlled accordingly to perform an unlocking operation. The specific control instruction input by the user may be a fixed instruction for the user to select a target charging port with a specific number on the display screen of the charging rack, or a random instruction for randomly opening any target charging port, or the user may directly speak a voice instruction to open the target charging port. The recognition and response control of the voice instruction may refer to the voice control method in the prior art, which will not be elaborated here.
[0085] Further, in one embodiment of the present invention, the step of controlling the induction lock in the corresponding target charging port to perform an unlocking operation according to the control instruction includes:
[0086] Obtaining status information of the target charging port, the status information including whether it is in use and the identity information of the user when it is in use;
[0087] Determine whether the control command is legal based on the status information of the target charging port and the identity information of the user;
[0088] If so, the induction lock in the target charging port is unlocked.
[0089] Specifically, after the user inputs the control command, the charging rack obtains the status information of the target charging port, and the status information includes whether it is used and the identity information of the user when it is used. Then the charging rack determines whether the operation requested by the user is legal based on the acquired status information of the target charging port and the identity information of the user. For example, if the user wants to open a charging port that is locked, occupied or bound by other users, it determines that the target charging port is a charging port locked or bound by other users based on the status information of the target charging port, and then determines that the operation is illegal. When the user wants to open a charging port that is not locked, occupied or bound, the operation is determined to be legal. If the operation is legal, the induction lock in the determined target charging port is unlocked, so that the user can take out or put in the charging lamp. If the operation is illegal, stop unlocking the induction lock in the determined target charging port, and send an error prompt to the user or explain why the operation cannot be performed.
[0090] Furthermore, after step S30, the method further includes:
[0091] Obtain the identity information of the charging lamp in the target charging port, and determine whether it is the charging lamp bound to the user according to the identity information of the charging lamp;
[0092] If yes, the induction lock in the target charging port is controlled to lock, and the charging lamp in the target charging port is charged;
[0093] If not, the induction lock in the target charging port is controlled to continue the unlocking operation, and the charging operation of the charging lamp in the target charging port is stopped.
[0094] Specifically, the charging lamp is also provided with an identity tag (such as an RFID tag or an NFC tag, etc.), and each charging port of the charging rack is provided with an identity recognition module. At this time, when the charging lamp is placed in the charging port, the identity recognition module in the charging port can correspondingly identify the identity tag of the charging lamp to obtain the identity information. At this time, after the charging rack obtains the identity information of the charging lamp in the target charging port, it compares and verifies the identity information of the charging lamp with the identity information of the user to determine whether it is the charging lamp bound to the user. If so, the charging rack controls the induction lock in the target charging port to lock the charging lamp, and controls the charging lamp in the target charging port to lock the charging lamp. The target charging port is used to charge the lamp, that is, when the user closes the target charging port, the induction lock can be locked to achieve the locking operation, and the connected charging lamp is charged; otherwise, the induction lock in the target charging port is controlled to continue to be unlocked, and the charging operation on the charging lamp in the target charging port is stopped, and an error message is pushed at the same time, that is, when the user closes the target charging port, the induction lock cannot be locked, so that the locking operation cannot be performed, and the connected charging lamp is not charged, and the charging stand pushes an error message to remind the user to use the correct charging lamp bound to itself for charging. At this time, by obtaining the identity information of the charging lamp and comparing it with the identity information of the charging lamp bound to the user, it can be ensured that each user only uses the charging lamp bound to him or her, avoiding mixing of charging lamps, and when the user uses other people's charging lamps, even if the charging lamp is placed in the controlled and opened charging port for charging, the charging rack will not effectively charge the charging lamp. At this time, only the charging lamp bound and authorized by the user can be charged in the charging port controlled and opened on the charging rack, thereby improving the safety and management efficiency of the charging rack.
[0095] Furthermore, after step S30, the method further includes:
[0096] Determine the corresponding charging preference according to the user's identity information, wherein the charging preference includes a maximum charging power, a charging speed, and a charging period;
[0097] Perform corresponding charging operations on the charging lamp in the target charging port according to the charging preference.
[0098] Among them, different user identity information can set different charging preferences. At this time, the identity information corresponds to the preference data set by the user, and the charging rack identifies the corresponding preference data according to the identity information. The charging preferences include the maximum charging power, charging speed and charging time period. Specifically, the user can set the maximum charging power according to the needs, so that the charging lamp automatically stops charging when the battery power of the charging lamp reaches a preset percentage, which helps to extend the battery life; and the user can set the charging speed according to the schedule and needs, so that the charging lamp can be charged at the charging speed selected by the user; and the user can also set the charging time period according to the schedule and needs, for example, only charging at night non-working hours to take advantage of the period with lower electricity prices. It should be pointed out that when the charging port is turned on, the charging rack will supply power to the charging port accordingly, so that the user can place the charging lamp for charging; and when the charging port is turned on again and it is detected that the charging lamp is not continuing to charge, that is, when the charging lamp is taken away from the charging port, the charging rack automatically stops supplying power to the charging port to save energy. Therefore, users can set charging preferences such as charging speed, charging time, etc. according to their needs, so as to obtain a more personalized charging experience. At the same time, by setting charging preferences reasonably, users can avoid overcharging or charging too fast, which helps to protect the battery health of charging lamps and extend the service life of the equipment. At the same time, by setting charging preferences reasonably, such as charging when the grid load is low, users can reduce energy waste and help save energy and reduce emissions. The charging rack can automatically adjust the charging parameters according to the user's charging preferences, so as to optimize the charging process and improve charging efficiency without sacrificing device performance. At the same time, the charging rack optimizes the use of charging ports and the allocation of grid resources according to the charging preferences of all users. Of course, it should also be pointed out that the charging rack can also analyze the user's historical behavior (such as charging frequency, time period, etc.) so that the recommended preference data can be determined. That is, in the determination of the corresponding charging preferences based on the user's identity information, in addition to obtaining the charging preferences set by the user himself, the corresponding charging preferences can also be determined based on the user's historical behavior.
[0099] In summary, the control method of the charging stand in the above-mentioned embodiment of the present invention determines the recognition mode corresponding to the user according to the collected environmental information and the user's status information, so that different recognition modes can be selected in different environments and user states. The recognition mode determined based on the collected environmental information and the user's status information can more effectively identify the user, thereby effectively identifying the user's identity information, avoiding the problem of failure of facial recognition or fingerprint recognition only due to stains on the user's face and hands or wearing tools. By determining the corresponding target charging port according to the user's identity information and performing an unlocking operation, the effective use of the charging stand can be realized, solving the problem of low efficiency of existing charging stands.
[0100] Embodiment 2
[0101] See also Figure 3 , is a module schematic diagram of a control system of a charging stand provided in a second embodiment of the present invention. For the sake of convenience, only the part related to the embodiment of the present invention is shown. The charging stand is provided with a plurality of charging ports, each of which is provided with an induction lock for controlling its switch. The system includes:
[0102] The information collection module 11 is used to collect current environment information and image information when monitoring a user, and determine the user's status information based on the collected image information;
[0103] The information determination module 12 is used to determine the identification mode corresponding to the user according to the current environment information and the user's state information and to identify the user to determine the user's identity information;
[0104] The operating module 13 is used to determine the corresponding target charging port according to the user's identity information and control the induction lock in the target charging port to perform an unlocking operation.
[0105] Furthermore, in one embodiment of the present invention, the information collection module 11 includes:
[0106] A segmentation processing unit, used to pre-process the collected image information and perform image segmentation on the pre-processed image to obtain a target image containing the user;
[0107] The state information determination unit is used to perform feature extraction and state detection on the segmented target image to determine the state information of the user.
[0108] Furthermore, in one embodiment of the present invention, the information determination module 12 includes:
[0109] A recognition mode determination unit, configured to analyze the current environment information and the user's status information based on a preset rule or a machine learning algorithm to determine a recognition mode corresponding to the user;
[0110] The identity information determination unit is used to adjust the parameters of the identification mode corresponding to the user according to the current environment information and perform identity identification on the user to determine the user's identity information.
[0111] Furthermore, in one embodiment of the present invention, the operating module 13 includes:
[0112] A first determination unit, configured to determine whether the user has preset a target charging port according to the user's identity information;
[0113] A first operating unit, configured to control the induction lock in the target charging port preset by the user to perform an unlocking operation when the first judging unit judges that the target charging port is preset by the user;
[0114] The second operating unit is used to obtain a control instruction input by the user when the first judging unit judges that the user has not preset the target charging port, and control the induction lock in the corresponding target charging port to perform an unlocking operation according to the control instruction.
[0115] Furthermore, in one embodiment of the present invention, the system further comprises:
[0116] A second judgment unit is used to obtain the identity information of the charging lamp in the target charging port, and judge whether it is the charging lamp bound by the user according to the identity information of the charging lamp;
[0117] A third operating unit is used to control the induction lock in the target charging port to lock the charging lamp when the second judging unit judges that the charging lamp is bound to the user, and to charge the charging lamp in the target charging port;
[0118] The fourth operating unit is used to control the induction lock in the target charging port to continue the unlocking operation and stop the charging operation on the charging lamp in the target charging port when the second judging unit judges that the charging lamp is not bound to the user.
[0119] Furthermore, in one embodiment of the present invention, the system further comprises:
[0120] A preference determination unit, configured to determine a corresponding charging preference according to the user's identity information, wherein the charging preference includes a maximum charging power, a charging speed, and a charging period;
[0121] The charging operation unit is used to perform corresponding charging operations on the charging lamp in the target charging port according to the charging preference.
[0122] Further, in one embodiment of the present invention, the second operating unit is used to:
[0123] Obtaining status information of the target charging port, the status information including whether it is in use and the identity information of the user when it is in use;
[0124] Determine whether the control command is legal based on the status information of the target charging port and the identity information of the user;
[0125] If so, the induction lock in the target charging port is unlocked.
[0126] The control system of the charging rack provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0127] Embodiment 3
[0128] Another aspect of the present invention also provides a charging stand, see Figure 4 , shown is a charging stand in the third embodiment of the present invention, including a memory 20, a processor 10, and a program 30 stored in the memory 20 and executable on the processor, and when the processor 10 executes the program 30, the control method of the charging stand as described in the above embodiment is implemented.
[0129] In some embodiments, the processor 10 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 20, such as executing access restriction programs.
[0130] Among them, the memory 20 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 20 can be an internal storage unit of the charging stand, such as the hard disk of the charging stand. In other embodiments, the memory 20 can also be an external storage device of the charging stand, such as a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the charging stand. Furthermore, the memory 20 can also include both an internal storage unit of the charging stand and an external storage device. The memory 20 can not only be used to store application software and various types of data installed on the charging stand, but also can be used to temporarily store data that has been output or is to be output.
[0131] It should be pointed out that Figure 4 The structure shown does not constitute a limitation on the charging stand. In other embodiments, the charging stand may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0132] In summary, the charging stand in the above-mentioned embodiment of the present invention determines the recognition mode corresponding to the user according to the collected environmental information and the user's status information, so that different recognition modes can be selected in different environments and user states. The recognition mode determined based on the collected environmental information and the user's status information can more effectively identify the user, thereby effectively identifying the user's identity information, avoiding the problem of failure of facial recognition or fingerprint recognition only due to stains on the user's face and hands or wearing tools. By determining the corresponding target charging port according to the user's identity information and performing an unlocking operation, the effective use of the charging stand can be realized, solving the problem of low efficiency of existing charging stands.
[0133] An embodiment of the present invention further provides a readable storage medium on which a program is stored. When the program is executed by a processor, the control method of the charging stand as described in the above embodiment is implemented.
[0134] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional units or modules as needed, that is, the internal structure of the storage device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the implementation method can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.
[0135] Those skilled in the art will appreciate that the logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any storage medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For purposes of this specification, a "storage medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0136] More specific examples of readable storage media (a non-exhaustive list) include the following: an electrical connection with one or more wirings (electronic devices), a portable computer disk case (magnetic devices), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the storage medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or processing in another suitable manner as necessary, and then stored in a memory.
[0137] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or a combination thereof: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0138] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0139] The above-described embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the attached claims.
Claims
1. A control method for a charging stand, characterized in that: The charging rack is provided with a plurality of charging ports, each of which is provided with an induction lock for controlling its switch. The method comprises: When a user is detected, the current environment information and image information are collected, and the user's status information is determined based on the collected image information; Determine the identification mode corresponding to the user according to the current environment information and the user's status information and identify the user to determine the user's identity information; The corresponding target charging port is determined according to the user's identity information and the induction lock in the target charging port is controlled to perform an unlocking operation.
2. The control method of the charging stand according to claim 1, characterized in that: The step of determining the user's status information based on the collected image information comprises: Preprocessing the collected image information, and performing image segmentation on the preprocessed image to obtain a target image containing the user; The segmented target image is subjected to feature extraction and state detection to determine the user's state information.
3. The control method of the charging stand according to claim 1, characterized in that: The step of determining the identification mode corresponding to the user according to the current environment information and the user's state information and identifying the user to determine the user's identity information includes: Analyze the current environment information and user status information based on pre-set rules or machine learning algorithms to determine the user's corresponding recognition mode; The parameters of the identification mode corresponding to the user are adjusted according to the current environmental information, and the user is identified to determine the user's identity information.
4. The control method of the charging stand according to claim 1, characterized in that: The step of determining the corresponding target charging port according to the user's identity information and controlling the induction lock in the target charging port to perform an unlocking operation includes: Determining whether the user has set a target charging port in advance according to the user's identity information; If yes, the induction lock in the target charging port preset by the user is controlled to perform an unlocking operation; If not, the control instruction input by the user is obtained, and the induction lock in the corresponding target charging port is controlled to perform an unlocking operation according to the control instruction.
5. The control method of the charging stand according to claim 1, characterized in that: After the step of determining the corresponding target charging port according to the user's identity information and controlling the induction lock in the target charging port to perform an unlocking operation, the method further includes: Obtain the identity information of the charging lamp in the target charging port, and determine whether it is the charging lamp bound to the user according to the identity information of the charging lamp; If yes, the induction lock in the target charging port is controlled to lock, and the charging lamp in the target charging port is charged; If not, the induction lock in the target charging port is controlled to continue the unlocking operation, and the charging operation of the charging lamp in the target charging port is stopped.
6. The control method of the charging stand according to claim 5, characterized in that: After the step of determining the corresponding target charging port according to the user's identity information and controlling the induction lock in the target charging port to perform an unlocking operation, the method further includes: Determine the corresponding charging preference according to the user's identity information, wherein the charging preference includes a maximum charging power, a charging speed, and a charging period; Perform corresponding charging operations on the charging lamp in the target charging port according to the charging preference.
7. The control method of the charging stand according to claim 4, characterized in that: The step of controlling the induction lock in the corresponding target charging port to perform an unlocking operation according to the control instruction includes: Obtaining status information of the target charging port, the status information including whether it is in use and the identity information of the user when it is in use; Determine whether the control command is legal based on the status information of the target charging port and the identity information of the user; If so, the induction lock in the target charging port is unlocked.
8. A control system for a charging rack, characterized in that: The charging rack is provided with a plurality of charging ports, each of which is provided with an induction lock for controlling its switch. The system comprises: The information collection module is used to collect the current environment information and image information when the user is monitored, and determine the user's status information based on the collected image information; An information determination module is used to determine the identification mode corresponding to the user according to the current environment information and the user's status information and to identify the user to determine the user's identity information; The operation module is used to determine the corresponding target charging port according to the user's identity information and control the induction lock in the target charging port to perform an unlocking operation.
9. The control system of the charging stand according to claim 8, characterized in that: The information collection module includes: A segmentation processing unit, used to pre-process the collected image information and perform image segmentation on the pre-processed image to obtain a target image containing the user; The state information determination unit is used to perform feature extraction and state detection on the segmented target image to determine the state information of the user.
10. A charging stand, characterized in that: It includes a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the control method of the charging stand as described in any one of claims 1 to 7 is implemented.
