Detailed Description
The embodiment of the application provides an optimization method and device for the circuit safety of the automobile child lock, and solves the problem that potential safety hazards are caused by the fact that a driver forgets to open the child lock, so that the technical problem of child safety is endangered, the intelligent control of the automobile child lock is achieved, the personal safety of children is guaranteed, and meanwhile the technical effect of convenience in opening the automobile door is guaranteed.
Hereinafter, example embodiments according to the present application will be described in detail with reference to the accompanying drawings. It should be apparent that the described embodiments are merely some embodiments of the present application and not all embodiments of the present application, and it should be understood that the present application is not limited to the example embodiments described herein.
Summary of the application
With the improvement of life, people mostly choose to carry children to drive themselves to go out when going out, so the safety of the children is very important, the design of the child lock in the car needs to be very effective and reliable, and the occurrence of potential safety hazards is avoided. When a driver forgets to unlock the child lock when going out, the potential safety hazard of the child sitting on the rear row can be caused, and further an irresistible result is caused.
In view of the above technical problems, the technical solution provided by the present application has the following general idea:
the embodiment of the application provides an optimization method for the safety of a child lock circuit of an automobile, wherein the method comprises the following steps: obtaining first image information, wherein the first image information is in-vehicle image information of a first vehicle; inputting the first image information into a training model, wherein the training model is obtained by training a plurality of sets of training data, and each set of training data in the plurality of sets of training data comprises: the first image information and identification information for identifying whether child image information is available; obtaining output information of the training model, wherein the output information comprises the first image information including first child image information; obtaining first control instruction information according to the output information; controlling a child lock circuit of the first vehicle to be in a conducting state according to the first control instruction information; judging whether the first image information contains first guardian image information or not according to the first image information; if the first image information contains the first guardian image information, acquiring fingerprint information of the first guardian; acquiring second control instruction information according to the fingerprint information of the first guardian; and controlling a child lock circuit of the first vehicle to be in an off state according to the second control instruction information.
For better understanding of the above technical solutions, the following detailed descriptions will be provided in conjunction with the drawings and the detailed description of the embodiments.
Example one
As shown in fig. 1, an embodiment of the present application provides a method for optimizing the safety of a child lock circuit of an automobile, where the method includes:
step S100: obtaining first image information, wherein the first image information is in-vehicle image information of a first vehicle;
specifically, the first graphic information is in-vehicle image information of the first vehicle, and by obtaining the first image information, image information of each part in the vehicle can be specifically obtained, and further specific judgment is performed according to the first image information.
Step S200: inputting the first image information into a training model, wherein the training model is obtained by training a plurality of sets of training data, and each set of training data in the plurality of sets of training data comprises: the first image information and identification information for identifying whether child image information is available;
step S300: obtaining output information of the training model, wherein the output information comprises the first image information including first child image information;
specifically, the first input information may be input into a training model, which is a model for continuous self-training learning according to training data, and further, the training model is a Neural network model, which is a Neural network model in machine learning, and a Neural Network (NN) is a complex Neural network system formed by widely interconnecting a large number of simple processing units (called neurons), which reflects many basic features of human brain functions, and is a highly complex nonlinear dynamical learning system. Neural network models are described based on mathematical models of neurons. Artificial Neural Networks (Artificial Neural Networks) are a description of the first-order properties of the human brain system. Briefly, it is a mathematical model. Training based on a large amount of training data, wherein each set of training data in the training data comprises the first image information and identification information for identifying whether the child image information exists, the neural network model is continuously corrected by itself, and when the output information of the neural network model reaches a preset accuracy rate/reaches a convergence state, the supervised learning process is ended. Through data training of the neural network model, the neural network model can process the input data more accurately, and the output first image information containing first child image information is more accurate. Based on the characteristic that the data of the training model is more accurate after training, the first image information is input into the training model, and the first image information containing the first child image information is accurately obtained through the output information of the training model, so that the judgment result is more accurate, and the technical effect of accurately obtaining whether the output information contains the first child image information is achieved.
Step S400: obtaining first control instruction information according to the output information;
specifically, it is known that obtaining the output information, that is, the first image information including the first child image information, may obtain first control instruction information according to the output information, where the first control instruction information is used to control the child lock of the vehicle.
Step S500: controlling a child lock circuit of the first vehicle to be in a conducting state according to the first control instruction information;
specifically, when the first image information includes first child information, it is indicated that a child is in the vehicle, and the first control instruction information is to control the child lock of the vehicle, so that the child lock of the first vehicle is in a conducting state, that is, the child lock circuit is conducted to operate, and the child lock is locked.
Step S600: judging whether the first image information contains first guardian image information or not according to the first image information;
specifically, it may be further determined whether first guardian image information is included in the first image information according to the first image information, where the first guardian image information is a legal guardian of the first child, which may be understood as a parent of the child, or the like.
Step S700, if the first image information contains the first guardian image information, acquiring fingerprint information of the first guardian;
specifically, the fingerprint information of the first guardian is acquired, so that the fingerprint information of the first guardian can control the child lock, and the safety of the first child is further determined.
Step S800: acquiring second control instruction information according to the fingerprint information of the first guardian;
step S900: and controlling a child lock circuit of the first vehicle to be in an off state according to the second control instruction information.
Particularly, the second control instruction is used for controlling the child lock, when the child needs to leave the car, the child can leave the car according to the fingerprint information of the first guardian, so that the potential safety hazard caused by mistakenly pressing a button by the child in the car is avoided, the safety of the child in the car is ensured, and the technical effect of double guarantee is provided for the safety of the child.
Before the obtaining of the first image information, an embodiment of the present application further includes:
step S1000: acquiring first unlocking instruction information;
step S1010: acquiring second image information according to the first unlocking instruction information, wherein the second image information is the image information in the first vehicle after the first unlocking instruction is acquired;
step S1020: judging whether the second image information contains first child image information or not;
step S1030: if the second image information does not contain the first child image information, first test instruction information is obtained;
step S1040: and testing the child lock circuit of the first vehicle according to the first test instruction information.
Specifically, before the vehicle is driven, first unlocking instruction information can be obtained, the first unlocking instruction information is used for unlocking a vehicle door lock, and then second image information is obtained according to the first unlocking instruction information, the second image information is image information in the first vehicle after the first unlocking instruction is obtained, the second image information is judged, whether the second image information contains first child image information or not is judged, namely whether a child exists in the vehicle after the vehicle door is opened or not is judged, if the second image information does not contain the first child image information, first test instruction information is obtained, the first test instruction information is used for testing a child safety lock when no child exists in the vehicle, whether the child lock works normally is tested, problem processing can be further carried out according to a test result, and the purpose of testing the child lock in advance is achieved, the technical effects of perfect and normal work of the child lock are ensured when the child lock is used by children.
Before the obtaining the first test instruction information, step S1030 further includes:
step S1031: obtaining first vehicle speed information of the first vehicle;
step S1032: judging whether the first vehicle information is in a running state or not according to the first vehicle speed information of the first vehicle;
step S1033: and if the first vehicle information is not in a running state, obtaining first test instruction information.
Specifically, before the child lock is tested, the driving state of the first vehicle should be determined, the child lock should be tested in a state where the vehicle is not running to ensure safety, whether the first vehicle information is in the driving state or not can be determined according to the first vehicle speed information of the first vehicle, that is, whether the first vehicle starts to run or not can be determined, if the first vehicle information is not in the driving state, first test instruction information is obtained, the child lock is tested in a state where the vehicle is shut down, and the technical effect of ensuring driving safety and personal safety in the process of testing the child lock is achieved.
The step S1040 further includes:
step S1041, obtaining first test result information according to the first test instruction information;
step S1042: if the first test result information shows that the child lock circuit is in an abnormal state, first prompt information is obtained and used for reminding that the child lock circuit has a fault;
step S1043: and if the first test result information shows that the child lock circuit is in a normal state, second prompt information is obtained and used for reminding the child lock circuit that the child lock circuit is in the normal state.
Specifically, when a child is not in the vehicle, the child lock is subjected to a safety test, first test result information can be obtained according to the first test instruction information, the first test result information comprises two results, wherein one of the two results is that the child lock is tested normally, the other result is that the child lock is tested abnormally, if the first test result information shows that the child lock circuit is in an abnormal state, namely that the child lock is tested abnormally, first prompt information is obtained, and the first prompt information is used for prompting that the child lock circuit has a fault, so that the fault of the child lock circuit can be conveniently inquired and maintained, and the occurrence of potential safety hazards can be avoided; if the first test result information shows that the child lock circuit is in a normal state, namely the child lock test is normal, the child lock circuit can be normally used to obtain second prompt information, and the second prompt information is used for reminding the child lock circuit that the child lock circuit is in the normal state. Through handling children's lock test abnormal information, reached and guaranteed that children lock normal operating's technical effect after getting on the bus and in the car driving process.
Before the obtaining of the first prompt information, step S1042 further includes:
step S10421: obtaining third image information, the third image information comprising image information of a driving seat within the first vehicle;
step S10422: judging whether the third image information contains image information of the first driver;
step S10423: and if the third image information contains the image information of the first driver, obtaining first prompt information.
Specifically, when the test abnormal information is sent, the validity of information sending needs to be ensured, that is, the prompt information needs to be sent when the driver is in a situation, so that the driver can receive the information in time and carry out effective processing, third image information is obtained, the third image information includes the image information of the driving position in the first vehicle, whether the third image information includes the image information of the first driver is further judged, that is, whether the image information of the driving position in the first vehicle includes the image information of the first driver is judged, if the third image information includes the image information of the first driver, it is indicated that the first driver is in the driving position, and then first prompt information is obtained, the first prompt information is the test abnormal information for prompting the first driver about the child lock, and the validity that the first prompt information is used for prompting the child lock circuit to have a fault is achieved, and then make the driver carry out the technological effect of getting rid of in time to the fault information.
In order to ensure the work safety of the child lock in the driving process of the automobile, the embodiment of the application further comprises the following steps:
step S1110, obtaining second vehicle speed information of the first vehicle;
step S1120: judging whether the first vehicle is in a running state or not according to the second vehicle speed information;
step S1130: if the first vehicle is in a running state, obtaining first detection instruction information;
step S1140: judging whether the child lock circuit is in a normal working state or not according to the first detection instruction information;
step S1150: if the child lock circuit is not in a normal working state, first early warning information is obtained and used for reminding the child lock circuit that a fault exists.
Specifically, in order to obtain a working state of a child lock during the driving process of an automobile, second vehicle speed information of the first vehicle can be obtained, whether the first vehicle is in a driving state or not is judged according to the second vehicle speed information, that is, whether the first vehicle is in a driving state or is flamed out is judged, if the first vehicle is in the driving state, first detection instruction information is obtained, the first detection instruction information is used for detecting the working state of the child lock during the driving process of the automobile, if the child lock circuit is not in a normal working state, the operation abnormality of the child lock circuit is detected, the safety of the first child cannot be normally ensured, first early warning information can be obtained, the first early warning information is used for reminding that the child lock circuit has a fault, so that the first driver can make an emergency treatment, and the purpose of ensuring the working safety of the child lock during the driving process of the automobile is achieved, and the technical effect of emergency treatment on abnormal conditions is achieved.
In order to ensure that the automobile driving process, can make emergency treatment when children's lock breaks down, this application embodiment still includes:
step S1160: obtaining position information of the first child according to the first image information;
step S1170: acquiring first emergency locking instruction information according to the position information of the first child;
step S1180: according to first emergency instruction information starts the emergent lock circuit that is close to first children's door, wherein, emergent lock circuit with children lock circuit is parallel connection.
Specifically, when the child lock circuit is not in a normal working state, the position information of the first child can be obtained according to the first image information, that is, the door position information that the first child is closest to is judged, and according to the position information of the first child, first emergency locking instruction information is obtained, the first emergency locking instruction information is an emergency lock for locking the door position information that the first child is closest to, the emergency lock function is equivalent to the child lock function, the safety of the child can be ensured, that is, according to the first emergency instruction information, the emergency lock circuit close to the door of the first child is started, wherein the emergency lock circuit and the child lock circuit are connected in parallel, that is, when the child lock circuit works abnormally, the emergency lock circuit can work immediately to ensure the safety of the child, the technical effect of ensuring that emergency treatment can be performed when the child lock breaks down in the driving process of the automobile is achieved.
In order to ensure the safety of the first child, the embodiment of the present application further includes:
obtaining first time, wherein the first time is the time when the first vehicle journey is finished and a person gets off the vehicle;
obtaining fourth image information, wherein the fourth image information is image information in the vehicle after the person leaves the vehicle;
judging whether the fourth image information contains the first child image information or not according to the fourth image information;
if the fourth image information contains the first child image information, sending the first child image information to the first guardian;
and controlling a child lock circuit of the first vehicle to be in a disconnected state according to the fingerprint information of the first guardian.
Specifically, in order to prevent a parent from leaving the vehicle, forgetting to unlock the child lock so that a child is left in the vehicle alone, fourth image information can be obtained, the fourth image information is image information of the vehicle after the person leaves the vehicle, and then according to the fourth image information, whether the fourth image information contains the first child image information is judged, that is, whether the child falls down after the person leaves the vehicle is judged, if the fourth image information contains the first child image information, that is, the child falls in the vehicle, the first child image information can be sent to the first guardian so as to remind the parent of the child, and then the first guardian can unlock the vehicle according to fingerprint information of the first guardian, so that the child lock circuit of the first vehicle is in an off state and takes the child to leave, a technical effect of ensuring the safety of the first child is achieved.
To sum up, the method and the device for optimizing the safety of the child lock circuit of the automobile provided by the embodiment of the application have the following technical effects:
1. through carrying out opening or closing of intelligence to car children's lock, obtain guardian's fingerprint identification simultaneously, and then control car door lock's opening and shutting through guardian's fingerprint identification, increased one safety lock for children's safety, reached and prevented because the driver forgets the potential safety hazard that opens children's lock and lead to, also guaranteed the technological effect of the convenience that the door was opened simultaneously.
2. Through when the children's lock circuit work is unusual, start emergent lock circuit and carry out the work of equivalent function, just emergent lock circuit with children's lock circuit parallel connection has effectively avoided because of the potential safety hazard that children's lock trouble causes, has reached and has provided dual guarantee for children's safety by bus, ensures the car driving in-process, can make emergency treatment's technological effect when children's lock breaks down.
Example two
Based on the same inventive concept as the method for optimizing the safety of the child lock circuit of the automobile in the previous embodiment, the invention further provides an apparatus for optimizing the safety of the child lock circuit of the automobile, as shown in fig. 2, the apparatus comprises:
the first obtaining unit 11: the first obtainingunit 11 is configured to obtain first image information, where the first image information is in-vehicle image information of a first vehicle;
first input unit 12: thefirst input unit 12 is configured to input the first image information into a training model, where the training model is obtained by training multiple sets of training data, and each set of training data in the multiple sets of training data includes: the first image information and identification information for identifying whether child image information is available;
the second obtaining unit 13: the second obtaining unit 13 is configured to obtain output information of the training model, where the output information includes the first image information including first child image information;
the third obtaining unit 14: the third obtainingunit 14 is configured to obtain first control instruction information according to the output information;
the first control unit 15: thefirst control unit 15 is configured to control a child lock circuit of the first vehicle to be in a conducting state according to the first control instruction information;
the first judgment unit 16: thefirst judging unit 16 is configured to judge whether the first image information includes first guardian image information according to the first image information;
the fourth obtaining unit 17: the fourth obtainingunit 17 is configured to obtain fingerprint information of the first guardian if the first image information includes the first guardian image information;
the fifth obtaining unit 18: the fifth obtainingunit 18 is configured to obtain second control instruction information according to the fingerprint information of the first guardian;
the second control unit 19: thesecond control unit 19 is configured to control the child lock circuit of the first vehicle to be in an off state according to the second control instruction information.
Further, the apparatus further comprises:
a sixth obtaining unit: the sixth obtaining unit is used for obtaining first unlocking instruction information;
a seventh obtaining unit: the seventh obtaining unit is configured to obtain second image information according to the first unlocking instruction information, where the second image information is image information in the first vehicle after the first unlocking instruction is obtained;
a second judgment unit: the second judging unit is used for judging whether the second image information contains first child image information;
an eighth obtaining unit: the eighth obtaining unit is configured to obtain first test instruction information if the second image information does not include the first child image information;
a first test unit: the first testing unit is used for testing the child lock circuit of the first vehicle according to the first testing instruction information.
Further, the apparatus further comprises:
a ninth obtaining unit: the ninth obtaining unit is configured to obtain first vehicle speed information of the first vehicle;
a third judging unit: the third judging unit is used for judging whether the first vehicle information is in a running state or not according to the first vehicle speed information of the first vehicle;
a tenth obtaining unit: the tenth obtaining unit is configured to obtain first test instruction information if the first vehicle information is not in a running state.
Further, the apparatus further comprises:
an eleventh obtaining unit: the eleventh obtaining unit is configured to obtain first test result information according to the first test instruction information;
a twelfth obtaining unit: the twelfth obtaining unit is configured to obtain first prompt information if the first test result information shows that the child lock circuit is in an abnormal state, where the first prompt information is used to remind the child lock circuit that a fault exists;
a thirteenth obtaining unit: the thirteenth obtaining unit is configured to obtain second prompt information if the first test result information shows that the child lock circuit is in a normal state, where the second prompt information is used to remind the child lock circuit of being in the normal state.
Further, the apparatus further comprises:
a fourteenth obtaining unit: the fourteenth obtaining unit is configured to obtain third image information, the third image information including image information of a driving seat in the first vehicle;
a fourth judging unit: the fourth judging unit is used for judging whether the third image information contains the image information of the first driver;
a fifteenth obtaining unit: the fifteenth obtaining unit is configured to obtain first prompt information if the third image information includes image information of the first driver.
Further, the apparatus further comprises:
a sixteenth obtaining unit: the sixteenth obtaining unit is configured to obtain second vehicle speed information of the first vehicle;
a fifth judging unit: the fifth judging unit is used for judging whether the first vehicle is in a running state or not according to the second vehicle speed information;
a seventeenth obtaining unit: the seventeenth obtaining unit is configured to obtain first detection instruction information if the first vehicle is in a running state;
a sixth judging unit: the sixth judging unit is used for judging whether the child lock circuit is in a normal working state or not according to the first detection instruction information;
an eighteenth obtaining unit: the eighteenth obtaining unit is used for obtaining first early warning information if the child lock circuit is not in a normal working state, and the first early warning information is used for reminding that the child lock circuit has a fault.
Further, the apparatus further comprises:
a nineteenth obtaining unit: the nineteenth obtaining unit is configured to obtain position information of the first child according to the first image information;
a twentieth obtaining unit: the twentieth obtaining unit is used for obtaining first emergency locking instruction information according to the position information of the first child;
a first starting unit: the first starting unit is used for starting an emergency lock circuit close to the vehicle door of the first child according to the first emergency instruction information, wherein the emergency lock circuit is connected with the child lock circuit in parallel.
Various changes and specific examples of the method for optimizing the safety of the child lock circuit of the vehicle in the first embodiment of fig. 1 are also applicable to the apparatus for optimizing the safety of the child lock circuit of the vehicle in the present embodiment, and through the foregoing detailed description of the method for optimizing the safety of the child lock circuit of the vehicle, those skilled in the art can clearly know the method for implementing the apparatus for optimizing the safety of the child lock circuit of the vehicle in the present embodiment, so for the brevity of the description, detailed description is not repeated again.
EXAMPLE III
The electronic device of the embodiment of the present application is described below with reference to fig. 3.
Fig. 3 illustrates a schematic structural diagram of an electronic device according to an embodiment of the present application.
Based on the inventive concept of the method for optimizing the safety of the child lock circuit of the vehicle in the foregoing embodiments, the present invention further provides an apparatus for optimizing the safety of the child lock circuit of the vehicle, wherein the apparatus has a computer program stored thereon, and the computer program, when executed by a processor, implements the steps of any one of the methods for optimizing the safety of the child lock circuit of the vehicle.
Where in fig. 3 a bus architecture (represented by bus 300),bus 300 may include any number of interconnected buses and bridges,bus 300 linking together various circuits including one or more processors, represented byprocessor 302, and memory, represented bymemory 304. Thebus 300 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. Abus interface 306 provides an interface between thebus 300 and thereceiver 301 andtransmitter 303. Thereceiver 301 and thetransmitter 303 may be the same element, i.e., a transceiver, providing a means for communicating with various other apparatus over a transmission medium. Theprocessor 302 is responsible for managing thebus 300 and general processing, and thememory 304 may be used for storing data used by theprocessor 302 in performing operations.
The embodiment of the application provides an optimization method for the safety of a child lock circuit of an automobile, wherein the method comprises the following steps: obtaining first image information, wherein the first image information is in-vehicle image information of a first vehicle; inputting the first image information into a training model, wherein the training model is obtained by training a plurality of sets of training data, and each set of training data in the plurality of sets of training data comprises: the first image information and identification information for identifying whether child image information is available; obtaining output information of the training model, wherein the output information comprises the first image information including first child image information; obtaining first control instruction information according to the output information; controlling a child lock circuit of the first vehicle to be in a conducting state according to the first control instruction information; judging whether the first image information contains first guardian image information or not according to the first image information; if the first image information contains the first guardian image information, acquiring fingerprint information of the first guardian; acquiring second control instruction information according to the fingerprint information of the first guardian; and controlling a child lock circuit of the first vehicle to be in an off state according to the second control instruction information.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.