CN115743373A - Control method and device of battery car, electronic equipment and readable storage medium - Google Patents

Control method and device of battery car, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115743373A
CN115743373A CN202211425714.8A CN202211425714A CN115743373A CN 115743373 A CN115743373 A CN 115743373A CN 202211425714 A CN202211425714 A CN 202211425714A CN 115743373 A CN115743373 A CN 115743373A
Authority
CN
China
Prior art keywords
information
battery car
identification
user
identity information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211425714.8A
Other languages
Chinese (zh)
Inventor
夏文奎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202211425714.8A priority Critical patent/CN115743373A/en
Publication of CN115743373A publication Critical patent/CN115743373A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

The application discloses control method, device, electronic equipment and readable storage medium of storage battery car is applied to storage battery car technical field, is applied to the earphone, earphone and storage battery car communication connection, the control method of storage battery car includes: collecting user information, and detecting the distance between the earphone and the battery car; according to the user information, carrying out identity recognition on the user to obtain recognition information; and sending a control instruction to the battery car according to the identification information and the distance so that the battery car can execute the operation corresponding to the control instruction. The application solves the technical problem of poor control convenience of the battery car.

Description

Control method and device of battery car, electronic equipment and readable storage medium
Technical Field
The application relates to the technical field of battery cars, in particular to a battery car control method and device, electronic equipment and a readable storage medium.
Background
Along with the high-speed development of science and technology, storage battery car is also more and more popularized, and at present, the control of storage battery car is usually controlled through entity key or entity card, when need carry out multiple control to the storage battery car, need frequently to take in entity key or entity card from the position of placing such as pocket and take out, the condition that entity key or entity card lost appears easily to lead to the control convenience of storage battery car poor.
Disclosure of Invention
The application mainly aims to provide a control method and device of a battery car, an electronic device and a readable storage medium, and aims to solve the technical problem that the battery car in the prior art is poor in control convenience.
In order to achieve the purpose, the application provides a control method of an electromobile, which is applied to an earphone, wherein the earphone is in communication connection with the electromobile, and the control method of the electromobile comprises the following steps:
collecting user information, and detecting the distance between the earphone and the battery car;
according to the user information, carrying out identity recognition on the user to obtain recognition information;
and sending a control instruction to the battery car according to the identification information and the distance so that the battery car can execute the operation corresponding to the control instruction.
Optionally, the user information includes voice information, the identification information includes identification identity information and identification command information,
the step of performing identity recognition on the user according to the user information to obtain the recognition information comprises the following steps:
performing voiceprint recognition on the user according to the voice information to obtain the recognition identity information;
and if the identification identity information is consistent with the preset identity information, performing voice identification on the voice information to obtain the identification command information.
Optionally, the user information includes voice information and fingerprint information, the identification information includes identification identity information and identification command information,
the step of identifying the identity of the user according to the user information to obtain identification information further comprises:
performing fingerprint identification on the user according to the fingerprint information to obtain the identification identity information;
and if the identification identity information is consistent with the preset identity information, performing voice identification on the voice information to obtain the identification command information.
Optionally, the identification information includes identification command information, the identification command information includes work command information,
the step of sending a control instruction to the battery car according to the identification information and the distance comprises the following steps:
and if the identification information is the working command information, sending a control instruction corresponding to the working command information to the electromobile when the distance is smaller than a preset distance threshold.
Optionally, the preset identity information includes primary identity information and secondary identity information,
before the step of performing voice recognition on the voice information to obtain the recognition command information if the recognition identity information is consistent with the preset identity information, the method further includes:
acquiring identity information corresponding to a user to which the battery car belongs, taking the identity information corresponding to the user to which the battery car belongs as the main identity information, acquiring identity information corresponding to a secondary user authorized by the user to which the battery car belongs, and taking the identity information corresponding to at least one secondary user authorized by the user to which the battery car belongs as the secondary identity information;
detecting whether the identification identity information is consistent with the main identity information;
if not, detecting whether the identification identity information is consistent with the auxiliary identity information;
and if so, judging that the identification identity information is consistent with the preset identity information.
Optionally, the control method of the battery car further includes:
acquiring information of each battery car;
generating a control priority corresponding to each battery car according to the information of each battery car;
and selecting the target battery car controlled by the earphone from the battery cars according to the control priority so as to send a control instruction to the target battery car.
Optionally, the information of the battery car at least comprises one of state information, distance between the battery car and the earphone, residual capacity and loss degree,
the step of generating the control priority corresponding to each battery car according to the information of each battery car comprises the following steps:
generating control priorities corresponding to the battery cars according to the state information; and/or the presence of a gas in the gas,
generating control priorities corresponding to the battery cars according to the distances between the battery cars and the earphones; and/or the presence of a gas in the gas,
generating control priorities corresponding to the battery cars according to the residual electric quantities; and/or the presence of a gas in the gas,
and generating a control priority corresponding to each battery car according to each loss degree.
For realizing above-mentioned purpose, this application still provides a controlling means of storage battery car, earphone and storage battery car communication connection, the controlling means of storage battery car includes:
the acquisition module is used for acquiring user information and detecting the distance between the earphone and the battery car;
the identification module is used for identifying the identity of the user according to the user information to obtain identification information;
and the sending module is used for sending a control instruction to the storage battery car according to the identification information and the distance so that the storage battery car can execute the operation corresponding to the control instruction.
Optionally, the user information includes voice information, the identification information includes identification identity information and identification command information, and the identification module is further configured to:
performing voiceprint recognition on the user according to the voice information to obtain the recognition identity information;
and if the identification identity information is consistent with the preset identity information, performing voice identification on the voice information to obtain the identification command information.
Optionally, the user information includes voice information and fingerprint information, the identification information includes identification identity information and identification command information, and the identification module is further configured to:
performing fingerprint identification on the user according to the fingerprint information to obtain the identification identity information;
and if the identification identity information is consistent with the preset identity information, performing voice identification on the voice information to obtain the identification command information.
Optionally, the identification information includes identification command information, the identification command information includes work command information, and the sending module is further configured to:
and if the identification information is the working command information, sending a control instruction corresponding to the working command information to the electromobile when the distance is smaller than a preset distance threshold.
Optionally, the preset identity information includes primary identity information and secondary identity information, and before the step of obtaining the identification command information, the control device of the battery car is further configured to perform voice recognition on the voice information if the identification identity information is consistent with the preset identity information:
acquiring identity information corresponding to a user to which the battery car belongs, taking the identity information corresponding to the user to which the battery car belongs as the main identity information, acquiring identity information corresponding to a secondary user authorized by the user to which the battery car belongs, and taking the identity information corresponding to at least one secondary user authorized by the user to which the battery car belongs as the secondary identity information;
detecting whether the identification identity information is consistent with the main identity information;
if not, detecting whether the identification identity information is consistent with the auxiliary identity information;
and if so, judging that the identification identity information is consistent with the preset identity information.
Optionally, the control device of the battery car is further used for:
acquiring information of each battery car;
generating a control priority corresponding to each battery car according to the information of each battery car;
and selecting the target battery car controlled by the earphone from the battery cars according to the control priority so as to send a control instruction to the target battery car.
Optionally, the storage battery car information includes at least one of state information, distance between storage battery car and the earphone, residual capacity and loss degree, storage battery car's controlling means still is used for:
generating control priorities corresponding to the battery cars according to the state information; and/or the presence of a gas in the gas,
generating control priorities corresponding to the battery cars according to the distances between the battery cars and the earphones; and/or the presence of a gas in the gas,
generating a control priority corresponding to each battery car according to each residual electric quantity; and/or the presence of a gas in the gas,
and generating a control priority corresponding to each battery car according to each loss degree.
The present application further provides an electronic device, the electronic device including: the storage device, the processor and the program of the control method of the battery car, which is stored on the storage device and can be run on the processor, can realize the steps of the control method of the battery car when the program of the control method of the battery car is executed by the processor.
The application also provides a computer readable storage medium, wherein a program for realizing the control method of the electromobile is stored on the computer readable storage medium, and the program of the control method of the electromobile is executed by a processor to realize the steps of the control method of the electromobile.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of controlling a battery car as described above.
Compared with a method for controlling the battery car through an entity key or an entity card, the method is applied to an earphone, the earphone is in communication connection with the battery car, and the distance between the earphone and the battery car is detected by acquiring user information; according to the user information, carrying out identity recognition on the user to obtain recognition information; according to the identification information with the distance, it is right storage battery car sends control command, for the supply storage battery car carries out the operation that control command corresponds, through the user information who gathers on the earphone and the distance between earphone and the storage battery car, generates control command to the realization is through the technical means of earphone control storage battery car, has avoided when needs carry out multiple control to the storage battery car, need frequently take in and take out entity key or entity card from places positions such as pocket, the technical defect of the condition is lost to entity key or entity card appears easily, thereby has improved storage battery car's control convenience.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a schematic flow chart of a first embodiment of a control method for an electric vehicle according to the present application;
FIG. 2 is a schematic structural diagram of a device related to a control method of the battery car in the embodiment of the application;
fig. 3 is a schematic structural diagram of a hardware operating environment related to a control method of the battery car in the embodiment of the application.
The objectives, features, and advantages of the present application will be further described with reference to the accompanying drawings.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying figures are described in detail below. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
Example one
The embodiment of the application provides a control method of a battery car, and in a first embodiment of the control method of the battery car, referring to fig. 1, the control method is applied to an earphone, and the control method of the battery car comprises the following steps:
s10, collecting user information, and detecting the distance between the earphone and the electromobile;
step S20, according to the user information, carrying out identity recognition on the user to obtain recognition information;
and S30, sending a control instruction to the battery car according to the identification information and the distance so that the battery car can execute the operation corresponding to the control instruction.
In this embodiment, it should be noted that the user information is information for characterizing a corresponding identity of a user. The earphone is an earphone with a Wireless communication connection function, and the earphone can be a bluetooth earphone or a TWS (True Wireless Stereo) earphone or other earphones with a Wireless communication connection function. The storage battery car is a storage battery car with a wireless communication connection function. The control instruction can be a work control instruction such as a turn-on control instruction, a light-on control instruction, a whistle control instruction and the like, and can also be a non-work control instruction such as a turn-off control instruction, a light-off control instruction, a whistle-off control instruction and the like.
Exemplarily, steps S10 to S30 include: collecting user information and detecting the distance between the earphone and the battery car through a collecting device, wherein the collecting device is externally arranged or internally arranged in the earphone and/or the battery car; according to the user information, carrying out identity recognition on the user to obtain recognition information; and sending a control instruction to the battery car according to the identification information and the distance so that the battery car can execute the operation corresponding to the control instruction.
As an example, the step of collecting the user information by the collecting device includes: the acquisition device comprises a fingerprint acquisition device, and fingerprint information corresponding to a user is acquired through the fingerprint acquisition device.
As an example, the step of collecting the user information by the collecting device includes: the collection system includes a voice collection system, which can be a microphone, through which the voice collection system collects voice information corresponding to the user.
As an example, the detecting the distance between the earphone and the battery car includes: collection system is including installing extremely first geographical position collection system on the earphone with install extremely second geographical position collection system on the storage battery car, the distance is including vertical distance and horizontal distance, through first geographical position collection system on the earphone gathers the first geographical position that the earphone corresponds, and passes through second geographical position collection system on the storage battery car gathers the second geographical position that the storage battery car corresponds, according to first geographical position with second geographical position generates respectively the earphone with vertical distance and horizontal distance between the storage battery car.
As an example, the detecting the distance between the earphone and the battery car includes: the collecting device comprises a coordinate positioning device, the distance comprises a vertical distance and a horizontal distance, the earphone or the position of the battery car is used as an origin, a coordinate system is constructed, the position coordinate is collected by the coordinate positioning device on the battery car or the earphone, and the earphone is generated according to the position coordinate, the vertical distance and the horizontal distance between the battery cars.
As an example, the detecting the distance between the earphone and the battery car includes: and acquiring the intensity of a communication signal between the earphone and the battery car, and calculating the distance between the earphone and the battery car according to the intensity of the communication signal.
Wherein, in step S20, the user information comprises voice information, the identification information comprises identification identity information and identification command information,
the step of performing identity recognition on the user according to the user information to obtain the recognition information comprises the following steps:
step A10, performing voiceprint recognition on the user according to the voice information to obtain the recognition identity information;
and step A20, if the identification identity information is consistent with the preset identity information, performing voice identification on the voice information to obtain the identification command information.
In this embodiment, it should be noted that the preset identity information is the preset identity information corresponding to the user with the control authority of the battery car.
Exemplarily, the steps a10 to a20 include: extracting voiceprint characteristic information corresponding to the user according to the voice information, wherein the voiceprint characteristic information at least comprises one of resonance mode characteristics, voice purity characteristics, average pitch characteristics and range characteristics, and carrying out voiceprint recognition on the user according to the voiceprint characteristic information to obtain the recognition identity information; judging whether the identification identity information is consistent with preset identity information or not, and if the identification identity information is consistent with the preset identity information, performing voice recognition on the voice information to obtain the identification command information; if the identification identity information is inconsistent with the preset identity information, returning to the execution step: and collecting user information, and detecting the distance between the earphone and the battery car until the identification identity information is consistent with the preset identity information.
As an example, the step of determining whether the identification identity information is consistent with preset identity information includes: according to the identification identity information, a sound feature map corresponding to the user is constructed, a preset sound feature map is constructed according to the preset identity information, wherein the sound feature map at least comprises one of a sound waveform map and a sound spectrogram, the similarity between the sound feature map and the preset sound feature map is obtained, whether the similarity is larger than a preset similarity threshold value or not is judged, if the similarity is larger than the preset similarity threshold value, the identification identity information is judged to be consistent with the preset identity information, and if the similarity is smaller than or equal to the preset similarity threshold value, the identification identity information is judged to be inconsistent with the preset identity information.
As an example, the step of determining whether the identification identity information is consistent with the preset identity information includes: according to the preset identity information, preset voiceprint characteristic information is constructed, the preset voiceprint characteristic information and voiceprint characteristic information corresponding to the identification identity information are spliced into comparison voiceprint characteristic information, and according to the comparison voiceprint characteristic information and a preset voiceprint classification model, a voiceprint classification result corresponding to the user information is generated, wherein the preset voiceprint classification model is a preset trained model used for performing comparison and classification on the voiceprint characteristic information corresponding to the identification identity information and the preset voiceprint characteristic information, the voiceprint classification result comprises preset voiceprint characteristic information and non-preset voiceprint characteristic information, if the voiceprint classification result is that the voiceprint characteristic information belongs to the preset voiceprint characteristic information, the identification identity information is judged to be consistent with the preset identity information, and if the voiceprint classification result is that the voiceprint characteristic information does not belong to the preset voiceprint characteristic information, the identification identity information is judged to be inconsistent with the preset identity information.
As an example, the step of performing voice recognition on the voice information to obtain the recognition command information includes: according to the voice information, voice content characteristics corresponding to the user are built, the voice content information corresponding to the user is predicted according to the voice content characteristics and a preset voice recognition model, wherein the preset voice recognition model is a preset model used for predicting the voice content of the user, and recognition command information corresponding to the user is generated according to the voice content information.
As an example, the step of generating the identification command information corresponding to the user according to the voice content information includes: judging whether the voice content information has a command keyword, if so, generating the identification command information according to the command keyword existing in the voice content information, and if not, returning to the execution step: and collecting user information corresponding to the user.
Wherein, in step S20, the user information includes voice information and fingerprint information, the identification information includes identification identity information and identification command information,
the step of identifying the identity of the user according to the user information to obtain identification information further comprises:
b10, performing fingerprint identification on the user according to the fingerprint information to obtain the identification identity information;
and step B20, if the identification identity information is consistent with preset identity information, performing voice identification on the voice information to obtain the identification command information.
Exemplarily, the steps B10 to B20 include: extracting fingerprint feature information corresponding to the user according to the fingerprint information, wherein the fingerprint feature information at least comprises one of end point features, branch point features, ridge line features and valley line features, and performing fingerprint identification on the user according to the fingerprint feature information to obtain identification identity information; judging whether the identification identity information is consistent with preset identity information or not, and if the identification identity information is consistent with the preset identity information, performing voice recognition on the voice information to obtain identification command information; if the identification identity information is inconsistent with the preset identity information, returning to the execution step: the method comprises the steps of collecting user information, and detecting the distance between the earphone and the battery car until the identification identity information is consistent with preset identity information.
As an example, the step of determining whether the identification identity information is consistent with the preset identity information includes: according to the preset identity information, preset fingerprint feature information is constructed, the similarity between the fingerprint feature information and the preset fingerprint feature information is obtained, whether the similarity is larger than a preset similarity threshold value or not is judged, if the similarity is larger than the preset similarity threshold value, the identification identity information is judged to be consistent with the preset identity information, and if the similarity is smaller than or equal to the preset similarity threshold value, the identification identity information is judged to be inconsistent with the preset identity information.
Wherein, in step S30, the identification information includes identification command information, the identification command information includes work command information,
the step of sending a control instruction to the battery car according to the identification information and the distance comprises the following steps:
and S31, if the identification information is the work command information, sending a control instruction corresponding to the work command information to the battery car when the distance is smaller than a preset distance threshold value.
In this embodiment, it should be noted that the preset distance threshold is a preset critical value of the distance between the battery car and the earphone, which is used for determining that the battery car and the earphone are closer to each other. The work command information is information for commanding the battery car to execute a work control command, and the work control command can be a control command such as a starting control command, a lighting control command and a whistling control command.
Exemplarily, steps S31 to S32 include: the preset distance threshold comprises a horizontal distance threshold and a vertical distance threshold, if the identification command information is the work command information, whether the horizontal distance between the earphone and the battery car is smaller than the horizontal distance threshold or not is judged, whether the vertical distance between the earphone and the battery car is smaller than the vertical distance threshold or not is judged, and if the horizontal distance is smaller than the horizontal distance threshold and the vertical distance is smaller than the vertical distance threshold, a work control instruction is sent to the battery car; if the horizontal distance is larger than or equal to the horizontal distance threshold value and/or the vertical distance is larger than or equal to the vertical distance threshold value, the distance between the earphone and the battery car is continuously detected until the horizontal distance is smaller than the horizontal distance threshold value and the vertical distance is smaller than the vertical distance threshold value.
Compared with a method for controlling the battery car through an entity key or an entity card, the method is applied to an earphone, the earphone is in communication connection with the battery car, and the distance between the earphone and the battery car is detected by acquiring user information; according to the user information, carrying out identity recognition on the user to obtain recognition information; according to the identification information with the distance, it is right storage battery car sends control command, for the supply storage battery car carries out the operation that control command corresponds, through the user information who gathers on the earphone and the distance between earphone and the storage battery car, generates control command to the realization is through the technical means of earphone control storage battery car, has avoided when needs carry out multiple control to the storage battery car, need frequently take in and take out entity key or entity card from places positions such as pocket, the technical defect of the condition is lost to entity key or entity card appears easily, thereby has improved storage battery car's control convenience.
Example two
Further, based on the first embodiment of the present application, in another embodiment of the present application, the same or similar contents to the first embodiment described above may be referred to the above description, and are not repeated herein. On the basis, wherein the preset identity information comprises primary identity information and secondary identity information,
before the step of performing voice recognition on the voice information to obtain the recognition command information if the recognition identity information is consistent with the preset identity information, the method further includes:
step C10, acquiring identity information corresponding to a user to which the battery car belongs, taking the identity information corresponding to the user to which the battery car belongs as the main identity information, acquiring identity information corresponding to a secondary user authorized by the user to which the battery car belongs, and taking the identity information corresponding to at least one secondary user authorized by the user to which the battery car belongs as the secondary identity information;
step C20, detecting whether the identification identity information is consistent with the main identity information;
step C30, if not, detecting whether the identification identity information is consistent with the auxiliary identity information;
and C40, if the identification identity information is consistent with the preset identity information, judging that the identification identity information is consistent with the preset identity information.
In this embodiment, the number of users of the sub-user may be one or more.
It can be understood that when the battery car needs to be lent to another person, if a physical key or an earphone needs to be handed over, the borrowing efficiency of the battery car is low, and to avoid the above-mentioned drawback, the steps C10 to C40 exemplarily include: acquiring identity information corresponding to a user to which the battery car belongs, taking the identity information corresponding to the user to which the battery car belongs as the main identity information, acquiring identity information corresponding to at least one secondary user authorized by the user to which the battery car belongs, and taking the identity information corresponding to the at least one secondary user authorized by the user to which the battery car belongs as the secondary identity information; detecting whether the identification identity information is consistent with the main identity information; if the identification identity information is consistent with the main identity information, judging that the identification identity information is consistent with preset identity information; if the identification identity information is inconsistent with the primary identity information, detecting whether the identification identity information is consistent with the secondary identity information; if the identification identity information is consistent with the auxiliary identity information, judging that the identification identity information is consistent with preset identity information; if the identification identity information is inconsistent with the auxiliary identity information, the identification identity information is judged to be inconsistent with the preset identity information, and the key authority is set for the earphone through the main identity information and the auxiliary identity information, so that the earphone is not limited to the user to which the battery car belongs, the battery car key is rapidly shared, and the borrowing efficiency of the battery car is improved.
The control method of the battery car further comprises the following steps:
acquiring the number of use permission and the number of real-time use corresponding to the secondary user; and if the real-time use times reach the use permission times, deleting the identity information corresponding to the secondary user.
In this embodiment, it should be noted that the number of the usage rights is a critical value of the number of times that the secondary user can use the electric vehicle.
Exemplary, include: acquiring the number of use permission and the number of real-time use corresponding to the secondary user; judging whether the real-time use times reach the use permission times or not, and if the real-time use times reach the use permission times, deleting the identity information corresponding to the secondary user; if the real-time use times do not reach the use authority times, returning to the execution step: and acquiring the use permission times and the real-time use times corresponding to the secondary user until the real-time use times reach the use permission times.
Wherein, control command includes closing control command, storage battery car's control method still includes:
and if the battery car is detected to be started and the distance is greater than or equal to a preset distance threshold value, sending a closing control instruction to the battery car.
In this embodiment, it should be noted that the preset distance threshold is a critical value of the distance between the earphone and the battery car, which is used for determining that the distance between the earphone and the battery car is far away.
It can be understood that, the user is after the storage battery car finishes using, appears forgetting the condition of locking the car easily, for avoiding above-mentioned defect, exemplarily includes: it is including predetermineeing horizontal distance threshold value and predetermineeing vertical distance threshold value to predetermine the distance threshold value, if detect the storage battery car is opened, then detects the earphone with whether horizontal distance between the storage battery car is greater than or equal to predetermine horizontal distance threshold value, and detect the earphone with whether vertical distance between the storage battery car is greater than or equal to predetermine vertical distance threshold value, if horizontal distance is greater than or equal to predetermine horizontal distance threshold value, and/or, vertical distance is greater than or equal to predetermine vertical distance threshold value, then it is right the storage battery car sends and closes the control command, judges the user to the user state of use of storage battery car according to the distance between earphone and the storage battery car in a flexible way to can be far away at the distance between earphone and the storage battery car, also be, the user uses the storage battery car to finish the back, closes the storage battery car in real time, thereby avoid the user to forget the technical defect of the lock car condition after the storage battery car finishes using, thereby improved the control security of storage battery car.
The control method of the battery car further comprises the following steps:
step D10, obtaining information of each battery car;
d20, generating a control priority corresponding to each battery car according to the information of each battery car;
and D30, selecting the target battery car controlled by the earphone from the battery cars according to the control priority so as to send a control instruction to the target battery car.
It can be understood that when the storage battery car that is connected with the earphone exists a plurality ofly, because different storage battery cars probably exist different storage battery car information, consequently, need carry out alternative control to the storage battery car.
In this embodiment, it should be noted that the control priority is used for representing the control convenience degree of the battery car.
Exemplarily, the steps D10 to D30 include: detecting whether the number of the battery cars connected with the earphone is larger than a preset number threshold, wherein the preset number threshold is a preset threshold value for judging the number of the battery cars, the preset number threshold value can be 2, and if the number of the battery cars is larger than the preset number threshold value, acquiring information of the battery cars corresponding to the battery cars; generating control priorities corresponding to the battery cars according to the information of the battery cars; selecting a target battery car controlled by the earphone from the battery cars according to the control priority to send a control instruction to the target battery car; if the number of the battery cars is not larger than a preset number threshold, returning to the execution step: detecting whether the quantity of the battery cars connected with the earphones is larger than a preset quantity threshold value or not until the quantity of the battery cars is larger than the preset quantity threshold value.
Wherein in the step D20, the information of the battery car at least comprises one of state information, distance between the battery car and the earphone, residual electric quantity and loss degree,
the step of generating the control priority corresponding to each battery car according to the information of each battery car comprises the following steps:
step D21, generating control priorities corresponding to the battery cars according to the state information; and/or the presence of a gas in the gas,
d22, generating control priorities corresponding to the battery trucks according to the distances between the battery trucks and the earphones; and/or the presence of a gas in the gas,
step D23, generating control priorities corresponding to the battery cars according to the residual electric quantity; and/or the presence of a gas in the gas,
and D24, generating a control priority corresponding to each battery car according to each loss degree.
It can be understood that, when the storage battery car is in charged state, can't directly control the storage battery car, and, when the distance between storage battery car and the earphone is far away, the condition that needs the user to walk far away distance in order to control the storage battery car appears easily, thereby the control convenience that leads to the storage battery car is lower, and, when the residual capacity of storage battery car is lower, the in-process electric quantity that the storage battery car of riding appears easily is not enough to lead to the condition that can't ride, and, when the loss degree of storage battery car is higher, the in-process storage battery car that the storage battery car of riding appears easily breaks down and leads to the condition that can't ride or even appear traffic safety accident, thereby the control security and the control convenience that lead to the storage battery car are lower.
In this embodiment, it should be noted that the state information is a current state of the electric vehicle, and the state information may include an uncharged state, an uncharged state and a charging completion state. The loss degree does the loss degree of storage battery car, the loss degree can include storage battery car structural loss degree and battery loss degree, through according to state information, each storage battery car with distance between the earphone, residual capacity or loss degree generate the control priority of storage battery car, thereby make the target storage battery car of selecting according to control priority avoid the aforesaid when storage battery car is in charged state, can't directly control the storage battery car, and when the distance between storage battery car and the earphone is far away, the condition that the distance that needs the user to walk far away in order to control the storage battery car appears easily, and when the residual capacity of storage battery car is lower, the in-process electric quantity that the storage battery car of riding is not enough to lead to the condition that can't ride easily appears, and when the loss degree of storage battery car is higher, the in-process storage battery car that rides appears easily breaks down and leads to the condition that can't ride or even traffic accident appears, thereby the control security and the control convenience of storage battery car have been improved.
Compared with a method for controlling the battery car through an entity key or an entity card, the method is applied to an earphone, the earphone is in communication connection with the battery car, and the distance between the earphone and the battery car is detected by acquiring user information; according to the user information, carrying out identity recognition on the user to obtain recognition information; according to the identification information with the distance, it is right storage battery car sends control command, for the supply storage battery car carries out the operation that control command corresponds, through the user information who gathers on the earphone and the distance between earphone and the storage battery car, generates control command to the realization is through the technical means of earphone control storage battery car, has avoided when needs carry out multiple control to the storage battery car, need frequently take in and take out entity key or entity card from places positions such as pocket, the technical defect of the condition is lost to entity key or entity card appears easily, thereby has improved storage battery car's control convenience.
EXAMPLE III
The embodiment of this application still provides a controlling means of storage battery car, the controlgear of storage battery car is applied to the controlgear of storage battery car, refers to fig. 2, the controlling means of storage battery car includes:
the acquisition module is used for acquiring user information and detecting the distance between the earphone and the battery car;
the identification module is used for identifying the identity of the user according to the user information to obtain identification information;
and the sending module is used for sending a control instruction to the storage battery car according to the identification information and the distance so that the storage battery car can execute the operation corresponding to the control instruction.
Optionally, the user information includes voice information, the identification information includes identification identity information and identification command information, and the identification module is further configured to:
performing voiceprint recognition on the user according to the voice information to obtain the recognition identity information;
and if the identification identity information is consistent with the preset identity information, performing voice identification on the voice information to obtain the identification command information.
Optionally, the user information includes voice information and fingerprint information, the identification information includes identification identity information and identification command information, and the identification module is further configured to:
performing fingerprint identification on the user according to the fingerprint information to obtain the identification identity information;
and if the identification identity information is consistent with the preset identity information, performing voice identification on the voice information to obtain the identification command information.
Optionally, the identification information includes identification command information, the identification command information includes work command information, and the sending module is further configured to:
and if the identification information is the working command information, sending a control instruction corresponding to the working command information to the electromobile when the distance is smaller than a preset distance threshold.
Optionally, the preset identity information includes primary identity information and secondary identity information, and before the step of obtaining the identification command information, the control device of the battery car is further configured to perform voice recognition on the voice information if the identification identity information is consistent with the preset identity information:
acquiring identity information corresponding to a user to which the battery car belongs, taking the identity information corresponding to the user to which the battery car belongs as the main identity information, acquiring identity information corresponding to a secondary user authorized by the user to which the battery car belongs, and taking the identity information corresponding to at least one secondary user authorized by the user to which the battery car belongs as the secondary identity information;
detecting whether the identification identity information is consistent with the main identity information;
if not, detecting whether the identification identity information is consistent with the auxiliary identity information;
and if so, judging that the identification identity information is consistent with the preset identity information.
Optionally, the control device of the battery car is further used for:
acquiring information of each battery car;
generating control priorities corresponding to the battery cars according to the information of the battery cars;
and selecting the target battery car controlled by the earphone from the battery cars according to the control priority so as to send a control instruction to the target battery car.
Optionally, the storage battery car information includes at least one of state information, distance between storage battery car and the earphone, residual capacity and loss degree, storage battery car's controlling means still is used for:
generating control priorities corresponding to the battery cars according to the state information; and/or the presence of a gas in the gas,
generating control priorities corresponding to the battery cars according to the distances between the battery cars and the earphones; and/or the presence of a gas in the gas,
generating control priorities corresponding to the battery cars according to the residual electric quantities; and/or the presence of a gas in the gas,
and generating a control priority corresponding to each battery car according to each loss degree.
The application provides a controlling means of storage battery car adopts the control method of storage battery car in the above-mentioned embodiment, has solved the poor technical problem of control convenience of storage battery car. Compared with the prior art, the beneficial effects of the control device of the battery car provided by the embodiment of the application are the same as the beneficial effects of the control method of the battery car provided by the embodiment, and other technical characteristics of the control device of the battery car are the same as the characteristics disclosed by the embodiment method, which are not repeated herein.
Example four
An embodiment of the present application provides an electronic device, which includes: at least one processor; and a memory communicatively coupled to the at least one processor; the storage device stores instructions which can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the control method of the battery car in the embodiment.
Referring now to FIG. 3, shown is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 3, the electronic device may include a processing means (e.g., a central processing unit, a graphic processor, etc.) that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage means into a Random Access Memory (RAM). In the RAM, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device, the ROM, and the RAM are connected to each other by a bus. An input/output (I/O) interface is also connected to the bus.
Generally, the following systems may be connected to the I/O interface: input devices including, for example, touch screens, touch pads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, and the like; output devices including, for example, liquid Crystal Displays (LCDs), speakers, vibrators, and the like; storage devices including, for example, magnetic tape, hard disk, etc.; and a communication device. The communication means may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While the figures illustrate an electronic device with various systems, it is to be understood that not all illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means, or installed from a storage means, or installed from a ROM. The computer program, when executed by a processing device, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
The application provides an electronic equipment, adopts the control method of the storage battery car in the above-mentioned embodiment, has solved the poor technical problem of control convenience of storage battery car. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the application are the same as the beneficial effects of the control method of the battery car provided by the embodiment, and other technical features of the electronic device are the same as those disclosed by the embodiment method, which are not described herein again.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the foregoing description of embodiments, the particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
EXAMPLE five
The present embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon for executing the method of controlling a battery car in the above-described embodiments.
The computer readable storage medium provided by the embodiments of the present application may be, for example, a usb disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or a combination of any of the above. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present embodiment, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer-readable storage medium may be embodied in an electronic device; or may be separate and not incorporated into the electronic device.
The computer readable storage medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: collecting user information, and detecting the distance between the earphone and the battery car; according to the user information, carrying out identity recognition on the user to obtain recognition information; and sending a control command to the battery car according to the identification information and the distance so that the battery car can execute the operation corresponding to the control command.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the names of the modules do not in some cases constitute a limitation of the unit itself.
The computer-readable storage medium provided by the application stores computer-readable program instructions for executing the control method of the battery car, and solves the technical problem that the control convenience of the battery car is poor. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the application are the same as the beneficial effects of the control method for the battery car provided by the implementation, and the details are not repeated herein.
EXAMPLE six
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of controlling a battery car as described above.
The computer program product solves the technical problem of poor control convenience of the battery car. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the application are the same as the beneficial effects of the control method of the battery car provided by the embodiment, and are not repeated herein.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. The control method of the battery car is characterized by being applied to an earphone, wherein the earphone is in communication connection with at least one battery car, and the control method of the battery car comprises the following steps:
collecting user information, and detecting the distance between the earphone and the battery car;
according to the user information, carrying out identity recognition on the user to obtain recognition information;
and sending a control instruction to the battery car according to the identification information and the distance so that the battery car can execute the operation corresponding to the control instruction.
2. The method for controlling a battery car according to claim 1, wherein the user information includes voice information, the identification information includes identification information and identification command information,
the step of performing identity recognition on the user according to the user information to obtain the recognition information comprises the following steps:
performing voiceprint recognition on the user according to the voice information to obtain the recognition identity information;
and if the identification identity information is consistent with the preset identity information, performing voice identification on the voice information to obtain the identification command information.
3. The battery car control method according to claim 1, wherein the user information includes voice information and fingerprint information, the identification information includes identification information and identification command information,
the step of identifying the identity of the user according to the user information to obtain identification information further comprises:
performing fingerprint identification on the user according to the fingerprint information to obtain the identification identity information;
and if the identification identity information is consistent with the preset identity information, performing voice identification on the voice information to obtain the identification command information.
4. The battery car control method according to claim 1, wherein the identification information includes identification command information, the identification command information including work command information,
the step of sending a control instruction to the battery car according to the identification information and the distance comprises the following steps:
and if the identification information is the working command information, sending a control instruction corresponding to the working command information to the electromobile when the distance is smaller than a preset distance threshold.
5. The method for controlling the battery car according to any one of claims 2 or 3, wherein the preset identity information includes primary identity information and secondary identity information,
before the step of performing voice recognition on the voice information to obtain the recognition command information if the recognition identity information is consistent with the preset identity information, the method further includes:
acquiring identity information corresponding to a user to which the battery car belongs, taking the identity information corresponding to the user to which the battery car belongs as the main identity information, acquiring identity information corresponding to a secondary user authorized by the user to which the battery car belongs, and taking the identity information corresponding to at least one secondary user authorized by the user to which the battery car belongs as the secondary identity information;
detecting whether the identification identity information is consistent with the main identity information;
if not, detecting whether the identification identity information is consistent with the auxiliary identity information;
and if so, judging that the identification identity information is consistent with the preset identity information.
6. The method for controlling a battery car according to claim 1, further comprising:
acquiring information of each battery car;
generating control priorities corresponding to the battery cars according to the information of the battery cars;
and selecting the target battery car controlled by the earphone from the battery cars according to the control priority so as to send a control instruction to the target battery car.
7. The battery car control method according to claim 6, wherein the battery car information includes at least one of status information, a distance between the battery car and the earphone, a remaining capacity, and a degree of wear,
the step of generating the control priority corresponding to each battery car according to the information of each battery car comprises the following steps:
generating control priorities corresponding to the battery cars according to the state information; and/or the presence of a gas in the atmosphere,
generating a control priority corresponding to each battery car according to the distance between each battery car and the earphone; and/or the presence of a gas in the atmosphere,
generating control priorities corresponding to the battery cars according to the residual electric quantities; and/or the presence of a gas in the gas,
and generating a control priority corresponding to each battery car according to each loss degree.
8. The utility model provides a controlling means of storage battery car which characterized in that is applied to the earphone, earphone and storage battery car communication connection, the controlling means of storage battery car includes:
the acquisition module is used for acquiring user information and detecting the distance between the earphone and the battery car;
the identification module is used for identifying the identity of the user according to the user information to obtain identification information;
and the sending module is used for sending a control instruction to the battery car according to the identification information and the distance so that the battery car can execute the operation corresponding to the control instruction.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the method of controlling a battery car of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a program for implementing a control method of an electric vehicle is stored thereon, the program being executed by a processor to implement the steps of the control method of an electric vehicle as recited in any one of claims 1 to 7.
CN202211425714.8A 2022-11-14 2022-11-14 Control method and device of battery car, electronic equipment and readable storage medium Pending CN115743373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211425714.8A CN115743373A (en) 2022-11-14 2022-11-14 Control method and device of battery car, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211425714.8A CN115743373A (en) 2022-11-14 2022-11-14 Control method and device of battery car, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115743373A true CN115743373A (en) 2023-03-07

Family

ID=85371057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211425714.8A Pending CN115743373A (en) 2022-11-14 2022-11-14 Control method and device of battery car, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115743373A (en)

Similar Documents

Publication Publication Date Title
CN114091617A (en) Federal learning modeling optimization method, electronic device, storage medium, and program product
CN110113729A (en) The communication means and mobile unit of mobile unit
CN106030506A (en) Audio triggers based on context
CN110320991B (en) Power management method and device for mobile terminal
CN110619314A (en) Safety helmet detection method and device and electronic equipment
CN113691933B (en) Use method and device of multilayer fence and storage medium
CN115402230A (en) Vehicle-mounted intelligent hardware system management method based on intelligent cabin
CN111785000B (en) Vehicle state data uploading method and device, electronic equipment and storage medium
CN115743373A (en) Control method and device of battery car, electronic equipment and readable storage medium
CN112767565A (en) OBU issuing and activating method and device based on vehicle machine and electronic equipment
CN110852253A (en) Ladder control scene detection method and device and electronic equipment
CN111324202A (en) Interaction method, device, equipment and storage medium
CN111382694A (en) Face recognition method and device and electronic equipment
US10864889B2 (en) Vehicle operating method and vehicle operating apparatus
CN115515045A (en) Equipment charging optimization method and device, electronic equipment and readable storage medium
CN112810489B (en) Safe charging management system for new energy automobile
CN104750255A (en) Information processing method and electronic equipment
CN115709663A (en) Intelligent charging method and device for automobile, electronic equipment and readable storage medium
CN112990017B (en) Smart city big data analysis method and monitoring system
CN115442770A (en) Vehicle-mounted real-time communication method, electronic equipment and readable storage medium
CN110941455B (en) Active wake-up method and device and electronic equipment
CN115471933B (en) Vehicle Bluetooth key distribution method and device, electronic equipment and readable storage medium
CN111681267A (en) Track anti-intrusion method based on image recognition
KR20150114279A (en) Method, apparatus and computer-readable recording media for managing a plurality of applications by using head unit of vehicle
CN113743456A (en) Scene positioning method and system based on unsupervised learning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination