CN110733343A - vehicle control method and device and electronic equipment - Google Patents

vehicle control method and device and electronic equipment Download PDF

Info

Publication number
CN110733343A
CN110733343A CN201910995038.XA CN201910995038A CN110733343A CN 110733343 A CN110733343 A CN 110733343A CN 201910995038 A CN201910995038 A CN 201910995038A CN 110733343 A CN110733343 A CN 110733343A
Authority
CN
China
Prior art keywords
engine
control unit
trunk
ignition
electronic
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
CN201910995038.XA
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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201910995038.XA priority Critical patent/CN110733343A/en
Publication of CN110733343A publication Critical patent/CN110733343A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K28/00Safety devices for propulsion-unit control, specially adapted for, or arranged in, vehicles, e.g. preventing fuel supply or ignition in the event of potentially dangerous conditions
    • B60K28/10Safety devices for propulsion-unit control, specially adapted for, or arranged in, vehicles, e.g. preventing fuel supply or ignition in the event of potentially dangerous conditions responsive to conditions relating to the vehicle 
    • B60K28/12Safety devices for propulsion-unit control, specially adapted for, or arranged in, vehicles, e.g. preventing fuel supply or ignition in the event of potentially dangerous conditions responsive to conditions relating to the vehicle  responsive to conditions relating to doors or doors locks, e.g. open door
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • B60R16/0232Circuits relating to the driving or the functioning of the vehicle for measuring vehicle parameters and indicating critical, abnormal or dangerous conditions

Abstract

The application provides a vehicle control method which comprises the steps of obtaining ignition information sent by an electronic ignition control unit, obtaining a real-time trunk state sent by a trunk electronic control unit when ignition is completed, and controlling the engine state of an engine to be a locked state when the real-time trunk state is an opened state.

Description

vehicle control method and device and electronic equipment
Technical Field
The present application relates to the field of vehicle control technologies, and in particular, to vehicle control methods, vehicle control devices, and electronic devices.
Background
At present, vehicles are basically provided with a trunk, the trunk of the vehicle is a storage room between sundries of the vehicle, but the trunk is opened to drive, at present, the vehicle can be started in the opened state of the trunk, so that the possibility that articles in the trunk fall off in the driving process of the vehicle is easily caused, the loss of a vehicle owner is caused, otherwise, , if the trunk of the vehicle falls off, if the rear vehicle does not react in time, accidents and accidents are caused to the rear vehicle, and the vehicle is very unsafe.
Therefore, how to provide solutions to solve the above technical problems is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide vehicle control methods, vehicle control devices and electronic equipment, which can effectively prevent potential dangers brought by a user forgetting to close a trunk due to negligence, and specifically comprises the following steps:
, the present application discloses a vehicle control method comprising:
acquiring ignition information sent by an electronic ignition electronic control unit;
when the ignition information is that the ignition is finished, acquiring a real-time trunk state sent by a trunk electronic control unit;
controlling an engine state of an engine to be a locked state when the real-time trunk state is an open state.
Optionally, when the real-time trunk state is an open state, controlling the engine state of the engine to be a locked state includes:
when the real-time trunk state is an opening state, acquiring the engine state sent by an engine electronic control unit;
when the engine state is an unlocked state, sending an engine locking instruction to the engine electronic control unit so that the engine electronic control unit can lock the engine according to the engine locking instruction;
receiving a locked state sent by the electronic engine control unit, wherein the locked state comprises that the engine state is the locked state.
Optionally, the method further includes:
when the real-time trunk state is a closed state, acquiring the engine state sent by an engine electronic control unit;
and when the engine state is a locked state, sending an unlocking command to the electronic engine control unit so that the electronic engine control unit can unlock the engine.
Optionally, before acquiring the ignition information sent by the electronic ignition electronic control unit, the method includes:
after detecting that an OBD interface of a vehicle is accessed, sending a VIN code reading instruction to a vehicle OBD module, so that the vehicle OBD module can obtain VIN code information according to the VIN code reading instruction;
reading the VIN code information fed back by the vehicle OBD module;
determining a vehicle type corresponding to the vehicle according to the VIN code information;
and obtaining trunk diagnosis function information of the trunk electronic control unit, ignition diagnosis function information of the electronic ignition electronic control unit and engine diagnosis function information of the engine electronic control unit corresponding to the vehicle type from a diagnosis protocol file.
Optionally, after obtaining the trunk diagnostic function information of the trunk electronic control unit, the ignition diagnostic function information of the electronic ignition electronic control unit, and the engine diagnostic function information of the engine electronic control unit corresponding to the vehicle type from the diagnostic protocol file, the method includes:
establishing a communication link with the trunk electronic control unit according to the trunk diagnostic function information;
sending a trunk activation command to the trunk electronic control unit so that the trunk electronic control unit can be activated according to the trunk activation command;
and receiving trunk activation success information sent by the trunk electronic control unit.
Optionally, after receiving the information of successful activation of the trunk sent by the electronic control unit of the trunk, the method further includes:
establishing a communication link with the electronic ignition electronic control unit according to the ignition diagnosis function information;
sending an electronic ignition activation command to the electronic ignition electronic control unit so that the electronic ignition electronic control unit can be activated according to the electronic ignition activation command;
and receiving the electronic ignition activation success information sent by the electronic ignition electronic control unit.
Optionally, after receiving the information of successful activation of electronic ignition sent by the electronic ignition electronic control unit, the method further includes:
establishing a communication link with the engine electronic control unit according to the engine diagnostic function information;
sending an engine activation command to the engine electronic control unit so that the engine electronic control unit can be activated according to the engine activation command;
receiving engine activation success information sent by the engine electronic control unit;
sending a verification command to the engine electronic control unit so that the engine electronic control unit can send target data according to the verification command;
receiving the target data, calculating the target data by using a preset algorithm in the engine diagnosis function information to obtain a target code, and sending the target code to the engine electronic control unit;
and when the engine electronic control unit verifies that the target code is correct, receiving correct verification information sent by the engine electronic control unit.
Optionally, the method further includes:
reading a stop operation to stop monitoring of the trunk status, the ignition information, the engine status.
In a second aspect, the present application discloses vehicle control devices, comprising:
the ignition information acquisition module is used for acquiring ignition information sent by the electronic ignition control unit;
the real-time trunk state acquisition module is used for acquiring the real-time trunk state sent by the trunk electronic control unit when the ignition information is that the ignition is finished;
the control module is used for controlling the engine state of the engine to be a locked state when the real-time trunk state is an open state.
Optionally, the control module includes:
the engine state acquisition unit is used for acquiring the engine state sent by the electronic engine control unit when the real-time trunk state is an open state;
the engine locking command sending unit is used for sending an engine locking command to the engine electronic control unit when the engine state is an unlocked state so that the engine electronic control unit can lock the engine according to the engine locking command;
and the locking state receiving unit is used for receiving the locking state sent by the electronic engine control unit, wherein the locking state comprises that the engine state is the locking state.
Optionally, the method further includes:
the engine state acquisition module is used for acquiring the engine state sent by the electronic engine control unit when the real-time trunk state is the closed state;
and the unlocking command sending module is used for sending an unlocking command to the engine electronic control unit when the engine state is a locked state so as to facilitate the engine electronic control unit to unlock the engine.
Optionally, the method further includes:
the VIN code reading instruction sending module is used for sending a VIN code reading instruction to the vehicle OBD module after detecting that an OBD interface of a vehicle is accessed, so that the vehicle OBD module can obtain VIN code information according to the VIN code reading instruction;
the VIN code information reading module is used for reading the VIN code information fed back by the vehicle OBD module;
the vehicle type determining module is used for determining a vehicle type corresponding to the vehicle according to the VIN code information;
and the diagnostic function information acquisition module is used for acquiring trunk diagnostic function information of the trunk electronic control unit, ignition diagnostic function information of the electronic ignition electronic control unit and engine diagnostic function information of the engine electronic control unit corresponding to the vehicle type from a diagnostic protocol file.
Optionally, the method further includes:
, a communication link establishing module for establishing a communication link with the trunk electronic control unit according to the trunk diagnostic function information;
the trunk activation command sending module is used for sending a trunk activation command to the trunk electronic control unit so that the trunk electronic control unit can be activated according to the trunk activation command;
and the trunk activation success information receiving module is used for receiving the trunk activation success information sent by the trunk electronic control unit.
Optionally, the method further includes:
the second communication link establishing module is used for establishing a communication link with the electronic ignition electronic control unit according to the ignition diagnosis function information;
the electronic ignition activation command sending module is used for sending an electronic ignition activation command to the electronic ignition electronic control unit so that the electronic ignition electronic control unit can be activated according to the electronic ignition activation command;
and the electronic ignition activation success information receiving module is used for receiving the electronic ignition activation success information sent by the electronic ignition electronic control unit.
Optionally, the method further includes:
the third communication link establishing module is used for establishing a communication link with the engine electronic control unit according to the engine diagnosis function information;
the engine activation command sending module is used for sending an engine activation command to the engine electronic control unit so that the engine electronic control unit can be activated according to the engine activation command;
the engine activation success information receiving module is used for receiving engine activation success information sent by the engine electronic control unit;
the checking command sending module is used for sending a checking command to the engine electronic control unit so that the engine electronic control unit can send target data according to the checking command;
the target code sending module is used for receiving the target data, calculating the target data by using a preset algorithm in the engine diagnosis function information to obtain a target code, and sending the target code to the engine electronic control unit;
and the correct verification information receiving module is used for receiving correct verification information sent by the engine electronic control unit when the engine electronic control unit verifies that the target code is correct.
Optionally, the method further includes:
a stop module to read a stop operation to stop monitoring of the trunk status, the ignition information, the engine status.
In a third aspect, the present application discloses electronic devices, comprising:
a memory for storing a computer program;
a processor for implementing the following steps when executing the computer program:
acquiring ignition information sent by an electronic ignition electronic control unit; when the ignition information is that the ignition is finished, acquiring a real-time trunk state sent by a trunk electronic control unit; controlling an engine state of an engine to be a locked state when the real-time trunk state is an open state.
Optionally, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: when the real-time trunk state is an opening state, acquiring the engine state sent by an engine electronic control unit; when the engine state is an unlocked state, sending an engine locking instruction to the engine electronic control unit so that the engine electronic control unit can lock the engine according to the engine locking instruction; receiving a locked state sent by the electronic engine control unit, wherein the locked state comprises that the engine state is the locked state.
Optionally, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: when the real-time trunk state is a closed state, acquiring the engine state sent by an engine electronic control unit; and when the engine state is a locked state, sending an unlocking command to the electronic engine control unit so that the electronic engine control unit can unlock the engine.
Optionally, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: after detecting that an OBD interface of a vehicle is accessed, sending a VIN code reading instruction to a vehicle OBD module, so that the vehicle OBD module can obtain VIN code information according to the VIN code reading instruction; reading the VIN code information fed back by the vehicle OBD module; determining a vehicle type corresponding to the vehicle according to the VIN code information; and obtaining trunk diagnosis function information of the trunk electronic control unit, ignition diagnosis function information of the electronic ignition electronic control unit and engine diagnosis function information of the engine electronic control unit corresponding to the vehicle type from a diagnosis protocol file.
Optionally, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: establishing a communication link with the trunk electronic control unit according to the trunk diagnostic function information; sending a trunk activation command to the trunk electronic control unit so that the trunk electronic control unit can be activated according to the trunk activation command; and receiving trunk activation success information sent by the trunk electronic control unit.
Optionally, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: establishing a communication link with the electronic ignition electronic control unit according to the ignition diagnosis function information; sending an electronic ignition activation command to the electronic ignition electronic control unit so that the electronic ignition electronic control unit can be activated according to the electronic ignition activation command; and receiving the electronic ignition activation success information sent by the electronic ignition electronic control unit.
Optionally, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: establishing a communication link with the engine electronic control unit according to the engine diagnostic function information; sending an engine activation command to the engine electronic control unit so that the engine electronic control unit can be activated according to the engine activation command; receiving engine activation success information sent by the engine electronic control unit; sending a verification command to the engine electronic control unit so that the engine electronic control unit can send target data according to the verification command; receiving the target data, calculating the target data by using a preset algorithm in the engine diagnosis function information to obtain a target code, and sending the target code to the engine electronic control unit; and when the engine electronic control unit verifies that the target code is correct, receiving correct verification information sent by the engine electronic control unit.
Optionally, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: reading a stop operation to stop monitoring of the trunk status, the ignition information, the engine status.
In a fifth aspect, the present application discloses computer readable storage media having stored thereon a computer program that when executed by a processor performs the steps of obtaining ignition information sent by an electronic ignition control unit, obtaining a live trunk status sent by a trunk electronic control unit when the ignition information is ignition completed, and controlling an engine status of an engine to be a locked status when the live trunk status is an open status.
Optionally, when executed by a processor, the computer subprogram stored in the computer-readable storage medium may specifically implement the following steps: when the real-time trunk state is an opening state, acquiring the engine state sent by an engine electronic control unit; when the engine state is an unlocked state, sending an engine locking instruction to the engine electronic control unit so that the engine electronic control unit can lock the engine according to the engine locking instruction; receiving a locked state sent by the electronic engine control unit, wherein the locked state comprises that the engine state is the locked state.
Optionally, when executed by a processor, the computer subprogram stored in the computer-readable storage medium may specifically implement the following steps: when the real-time trunk state is a closed state, acquiring the engine state sent by an engine electronic control unit; and when the engine state is a locked state, sending an unlocking command to the electronic engine control unit so that the electronic engine control unit can unlock the engine.
Optionally, when executed by a processor, the computer subprogram stored in the computer-readable storage medium may specifically implement the following steps: after detecting that an OBD interface of a vehicle is accessed, sending a VIN code reading instruction to a vehicle OBD module, so that the vehicle OBD module can obtain VIN code information according to the VIN code reading instruction; reading the VIN code information fed back by the vehicle OBD module; determining a vehicle type corresponding to the vehicle according to the VIN code information; and obtaining trunk diagnosis function information of the trunk electronic control unit, ignition diagnosis function information of the electronic ignition electronic control unit and engine diagnosis function information of the engine electronic control unit corresponding to the vehicle type from a diagnosis protocol file.
Optionally, when executed by a processor, the computer subprogram stored in the computer-readable storage medium may specifically implement the following steps: establishing a communication link with the trunk electronic control unit according to the trunk diagnostic function information; sending a trunk activation command to the trunk electronic control unit so that the trunk electronic control unit can be activated according to the trunk activation command; and receiving trunk activation success information sent by the trunk electronic control unit.
Optionally, when executed by a processor, the computer subprogram stored in the computer-readable storage medium may specifically implement the following steps: establishing a communication link with the electronic ignition electronic control unit according to the ignition diagnosis function information; sending an electronic ignition activation command to the electronic ignition electronic control unit so that the electronic ignition electronic control unit can be activated according to the electronic ignition activation command; and receiving the electronic ignition activation success information sent by the electronic ignition electronic control unit.
Optionally, when executed by a processor, the computer subprogram stored in the computer-readable storage medium may specifically implement the following steps: establishing a communication link with the engine electronic control unit according to the engine diagnostic function information; sending an engine activation command to the engine electronic control unit so that the engine electronic control unit can be activated according to the engine activation command; receiving engine activation success information sent by the engine electronic control unit; sending a verification command to the engine electronic control unit so that the engine electronic control unit can send target data according to the verification command; receiving the target data, calculating the target data by using a preset algorithm in the engine diagnosis function information to obtain a target code, and sending the target code to the engine electronic control unit; and when the engine electronic control unit verifies that the target code is correct, receiving correct verification information sent by the engine electronic control unit.
Optionally, when executed by a processor, the computer subprogram stored in the computer-readable storage medium may specifically implement the following steps: reading a stop operation to stop monitoring of the trunk status, the ignition information, the engine status.
The application provides vehicle control methods, which comprise the steps of obtaining ignition information sent by an electronic ignition control unit, obtaining a real-time trunk state sent by a trunk electronic control unit when the ignition information is that the ignition is finished, and controlling an engine state of an engine to be a locked state when the real-time trunk state is an opened state.
Therefore, the ignition information and the real-time trunk state of the vehicle are monitored, when the ignition information is that the ignition is finished and the real-time trunk state is the open state, the engine state of the engine is controlled to be the locked state, so that the trunk state of a user is warned, and potential danger caused by the fact that the user forgets to close the trunk due to negligence can be effectively prevented.
The application also provides vehicle control devices, electronic devices and computer readable storage media, all of which have the beneficial effects described above, and are not described herein again.
Drawings
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 introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of vehicle control methods provided by embodiments of the present application;
FIG. 2 is a flow chart of another vehicle control methods provided by embodiments of the present application;
FIG. 3 is a flow chart of another vehicle control methods provided by embodiments of the present application;
FIG. 4 is a flow chart of another vehicle control methods provided by embodiments of the present application;
FIG. 5 is a schematic structural diagram of vehicle control devices provided in an embodiment of the present application;
fig. 6 is a block diagram of electronic devices provided in the embodiments of the present application;
fig. 7 is a block diagram of another electronic devices provided in this embodiment of the present application.
Detailed Description
For purposes of making the objects, solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail and completely with reference to the drawings of the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of of the present application.
In general, based on the above technical problems, the present embodiment provides vehicle control methods, so as to implement the methods, specifically referring to fig. 1, where fig. 1 is a flowchart of vehicle control methods provided in the present embodiment, and specifically includes:
and S101, acquiring ignition information sent by an electronic ignition electronic control unit.
This embodiment is implemented in a vehicle diagnostic system where an electronic ignition electronic control unit, i.e. an electronic ignition ECU, sends ignition information to the vehicle diagnostic system, , ignition gear is OFF, ACC, ON, START, where the ignition information may include ignition completed and ignition incomplete, the functions of each gear are OFF, where the engine is stopped and the steering wheel is locked, only this position is available to remove the key, ACC, where the ignition key is turned to this gear, the electrical appliances controlled by this gear are operated by the ignition switch, this gear , which functions as electrical appliances like electrically controlled seats, audio systems, wiper water spray systems, cigarette lighter, seat heating, electric power, etc., ON, which is divided into two gears IG1 and IG2, normal driving position, where the other appliances controlled by the ignition switch except the starter can operate, sunroof window electrical appliances like, combination instruments, airbags, constant speed systems, backup imaging, headlights and various control systems (electronic control unit, ABS, TCS, electric power supply, BCM, etc.), where the electrical appliances are turned to the gear pressure, etc., when the starter is turned to this gear, the air conditioner functions are started, the electrical appliances are started up, the gear is started 64, the air conditioner is started, the air conditioner is operated to ensure that the electric appliances are operated.
And S102, when the ignition information is that the ignition is finished, acquiring the real-time trunk state sent by the trunk electronic control unit.
The real-time trunk states include an open state and a closed state.
And when the ignition information is that the ignition is finished, sending a real-time trunk state reading instruction to the trunk electronic control unit so that the trunk electronic control unit can feed back the real-time trunk state.
When the ignition information is the ignition incomplete, it is understood that the vehicle does not perform a starting operation, i.e., does not run, and therefore, the trunk state may be either an on state or an off state, and is not processed.
And S103, controlling the engine state of the engine to be a locked state when the real-time trunk state is an open state.
In implementations, the engine status sent by the engine electronic control unit is obtained, no processing is required or a determination command is sent to the engine electronic control unit to confirm the engine status again when the engine status is locked, a lock engine command is sent to the engine electronic control unit to lock the engine according to the lock engine command when the engine status is unlocked, and in another implementations, a lock engine command can be sent directly to the engine electronic control unit to lock the engine according to the lock engine command.
Based on the technical scheme, the ignition information and the real-time trunk state of the vehicle are monitored, when the ignition information is that the ignition is finished and the real-time trunk state is the open state, the engine state of the engine is controlled to be the locked state, so that the trunk state of a user is warned, and potential danger caused by the fact that the user forgets to close the trunk due to negligence can be effectively prevented.
Based on the foregoing embodiments, the present embodiment provides vehicle control methods, specifically please refer to fig. 2, where fig. 2 is a flowchart of another vehicle control methods provided in the embodiments of the present application, including:
s201, acquiring ignition information sent by an electronic ignition electronic control unit.
And S202, when the ignition information is that the ignition is finished, acquiring the real-time trunk state sent by the trunk electronic control unit.
And S203, when the real-time trunk state is the opening state, acquiring the engine state sent by the electronic engine control unit.
And S204, when the engine state is an unlocked state, sending an engine locking command to the engine electronic control unit so that the engine electronic control unit locks the engine according to the engine locking command.
And when the engine state is an unlocked state, sending an engine locking command to an electronic engine control unit. And after receiving the engine locking command, the electronic engine control unit locks the engine, and at the moment, the engine state is changed from the unlocked state to the locked state.
And S205, receiving a locking state sent by an electronic engine control unit, wherein the locking state comprises that the engine state is a locking state.
And receiving the locking state of the engine sent by the electronic control unit of the engine, obtaining the information that the engine is locked at the moment, and reminding a user that the trunk is not closed through display reminding or voice broadcasting in step .
Based on the technical scheme, the engine state sent by the engine electronic control unit is obtained, and when the engine state is the unlocked state, the engine locking instruction is sent to the engine electronic control unit, so that the engine electronic control unit locks the engine according to the engine locking instruction, and the repeated control of the engine electronic control unit to lock the engine is avoided.
Based on the foregoing embodiments, the present embodiment provides vehicle control methods, specifically please refer to fig. 3, where fig. 3 is a flowchart of another vehicle control methods provided in the embodiments of the present application, including:
and S301, acquiring ignition information sent by the electronic ignition electronic control unit.
And S302, when the ignition information is that the ignition is finished, acquiring the real-time trunk state sent by the trunk electronic control unit.
And S303, controlling the engine state of the engine to be a locking state when the real-time trunk state is an opening state.
And S304, when the real-time trunk state is the closing state, acquiring the engine state sent by the electronic engine control unit.
And S305, when the engine state is the locking state, sending an unlocking command to the electronic engine control unit so that the electronic engine control unit unlocks the engine.
Based on above-mentioned technical scheme, this embodiment has avoided the emergence of the condition of vehicle starting failure through unblock engine when real-time trunk state is the closed condition.
Based on the foregoing embodiments, the present embodiment provides vehicle control methods, specifically please refer to fig. 4, where fig. 4 is a flowchart of another vehicle control methods provided in the embodiments of the present application, including:
and after detecting that the vehicle OBD interface is accessed, sending a VIN code reading instruction to the vehicle OBD module so that the vehicle OBD module can obtain VIN code information according to the VIN code reading instruction.
Wherein, on-vehicle diagnostic system is small-size equipment like the OBD device, can not occupy vehicle space. The OBD device is inserted into an OBD interface of a vehicle and is powered by the OBD, the No. 16 pin is a power line, the No. 4 pin is a ground wire, and the No. 5 pin is a signal ground wire. After the OBD device is electrified, the lower computer program in the device can be automatically called, and the lower computer diagnostic program starts to run.
The method comprises the steps that after an OBD device is powered on, a lower computer program automatically runs, a VIN code reading command is sent to a vehicle OBD module, the protocol of a vehicle cannot be confirmed at first, the VIN code reading command of each protocol is sent times in sequence until the vehicle OBD module returns VIN code information, the common protocols include CAN, KWP, ISO9141, PWM and VPW, communication parameters and commands of each protocol are not , and the VIN code reading commands are written in the lower computer program, for example, communication pins of the CAN protocol are 6,14, the baud rate is 500K, and the VIN code reading command is 0x0807df 0209020000000000.
And reading VIN code information fed back by the OBD module of the vehicle.
And the vehicle OBD module returns the VIN code information through a reply command.
And determining the vehicle type corresponding to the vehicle according to the VIN code information.
The VIN code information includes a VIN code, and a specific vehicle type of the vehicle can be analyzed from the 17-byte VIN code, for example, if the VIN code is WDD2210222a253260, it indicates that the vehicle series is a courtesy (BENZ), and the vehicle type is S350.
And obtaining trunk diagnosis function information of a trunk electronic control unit, ignition diagnosis function information of an electronic ignition electronic control unit and engine diagnosis function information of an engine electronic control unit corresponding to the vehicle type from the diagnosis protocol file.
According to the current vehicle type, for example, in S350, the diagnostic protocol table is searched for trunk diagnostic function information of a trunk system ECU, i.e., a trunk electronic control unit, ignition diagnostic function information of an engine ECU, i.e., an engine electronic control unit, and ignition diagnostic function information of an electronic ignition system ECU, i.e., an electronic ignition electronic control unit. The method comprises the steps of obtaining protocol types of a trunk system ECU, an engine ECU and an electronic ignition system ECU, system filtering ID, baud rate, communication pins, system activation commands, trunk state reading commands, ignition switch state reading, engine safety algorithms, engine locking and unlocking commands and the like.
And establishing a communication link with the trunk electronic control unit according to the trunk diagnosis function information.
According to the trunk diagnosis function information of the trunk system ECU, the OBD device establishes a communication link with the trunk system ECU, for example, the protocol type is set to be a CAN type, the communication pins are No. 6 and No. 14 pins, the communication baud rate is 500K, the filtering ID of the system is 0xea40, and the receiving ID is 0xea 60.
And sending a trunk activating command to the trunk electronic control unit so that the trunk electronic control unit is activated according to the trunk activating command.
Wherein, after establishing the communication link, sending a trunk activation command, such as 0x1001, to the trunk system ECU
And receiving the successful information of trunk activation sent by the trunk electronic control unit.
Wherein, the trunk system ECU replies 0x5001, namely the trunk activation success information indicates that the system activation is successful.
And establishing a communication link with the electronic ignition electronic control unit according to the ignition diagnosis function information.
Then, according to the ignition diagnosis function information of the electronic ignition ECU, the OBD device establishes a communication link with the electronic ignition system ECU, for example, the protocol type is set to be the CAN type, the communication pins are pins 6 and 14, the communication baud rate is 500K, the filtering ID of the system is 0xf000, and the receiving ID is 0xf 020.
And sending an electronic ignition activation command to the electronic ignition electronic control unit so that the electronic ignition electronic control unit is activated according to the electronic ignition activation command.
Wherein, after establishing the communication link, an electronic ignition activation command, such as 0x1001,
and receiving the electronic ignition activation success information sent by the electronic ignition electronic control unit.
Wherein, the electronic ignition ECU returns to 0x5001 to indicate that the system activation is successful.
And establishing a communication link with an electronic engine control unit according to the engine diagnosis function information.
According to the engine diagnosis function information of the engine ECU, the OBD device establishes a communication link with the engine ECU, for example, the protocol type is set to be a CAN type, communication pins are pins 6 and 14, the communication baud rate is 500K, the filtering ID of the system is 0xfc00, and the receiving ID is 0xfd 00.
And sending an engine activation command to the engine electronic control unit so that the engine electronic control unit is activated according to the engine activation command.
Wherein after establishing the communication link, an engine activation command, such as 0x1001, is sent to the engine ECU.
And receiving engine activation success information sent by an electronic engine control unit.
Wherein, the engine ECU returns 0x5001, namely the engine activation success information, which indicates that the system activation is successful.
Sending a verification command to the engine electronic control unit so that the engine electronic control unit sends target data according to the verification command;
and receiving the target data, calculating the target data by using a preset algorithm in the engine diagnosis function information to obtain a target code, and sending the target code to the engine electronic control unit.
And when the engine electronic control unit verifies that the target code is correct, receiving correct verification information sent by the engine electronic control unit.
The OBD device sends a check command to perform safety check on an engine system to prevent illegal operation of the engine, which is equivalent to passwords , for example, the OBD device sends a 0x2701 command, namely the check command, first, the engine ECU replies SEED data, namely target data, for example, 0x670111223344, wherein 11223344 is the SEED data, after the SEED data is obtained, the SEED data is calculated into a CODE, namely a target CODE, through a specific algorithm, the engine ECU only allows execution of a throttle resetting operation, the OBD device can calculate a CODE through the algorithm stored in a diagnostic protocol file by using the SEED, for example, the CODE calculated through the algorithm of 0x11223344 is 0x55667788, the calculated CODE is filled into the safety check command and sent to the engine ECU, for example, 0x270255667788, after the engine receives the CODE, the ECU can calculate whether the CODE is correct in the ECU, if the correct CODE is returned, the check data is correct, namely, the safety check data is sent to the engine ECU, for example, namely, the safety check device passes through safety check CODE of the OBD device, for example, namely, the.
And acquiring ignition information sent by the electronic ignition electronic control unit.
The OBD device sends an ignition information reading command, such as 0x222001, to the electronic ignition ECU, and the engine ECU returns the current ignition information of the vehicle to the OBD device through reply data, such as reply 0x62200103, that is, the ignition information, and analyzes the information according to an algorithm, such as 01 indicates that ignition is completed, 02 indicates that ignition is not completed, and then records the ignition information of each inquiry.
And when the ignition information is that the ignition is finished, acquiring the real-time trunk state sent by the trunk electronic control unit.
Wherein a trunk status read command, such as 0x22F109, is sent, the trunk ECU will return the current trunk real-time trunk status to the device via a reply data, such as 0x62F10901, and resolve according to an algorithm, such as 01 indicating an open status and 00 indicating a closed status.
When the real-time trunk state is the open state, the engine state of the control engine is the locked state.
Wherein, a command for locking the engine, such as 0x3100ff08, is sent to the engine ECU, and the engine ECU will lock the engine after receiving the command, and the return command 0x7100ff08 indicates that the locking is successful, and the vehicle owner will not be able to drive the vehicle. The method is characterized in that analysis and judgment are carried out through acquired information of a trunk and an ignition switch, for example, if the current real-time trunk state of a vehicle is in an open state, but the ignition switch finishes ignition, the fact that a vehicle owner starts an engine in the open state of the trunk means that the engine needs to be prohibited from starting at the moment, and if the engine needs to be forcibly prohibited from starting, the engine can be locked.
Further , the OBD device will cyclically read the trunk status and ignition information of the vehicle in real time and analyze it and if it is found that the trunk is off and the engine is currently locked, it will send an engine unlock command to the engine ECU to unlock it so that the engine can be started.
Based on the above embodiments, the present embodiment provides vehicle control methods, which further includes reading the STOP operation to STOP the monitoring of the trunk status, ignition information, and engine status, the whole monitoring process is performed in real time, if the vehicle owner STOPs monitoring, the vehicle-mounted diagnostic system can be dialed down from the OBD port or the STOP button can be pressed.
In the following, vehicle control devices provided in the embodiment of the present application are introduced, the vehicle control devices described below and the vehicle control methods described above are referred to with reference to fig. 5, and fig. 5 is a schematic structural diagram of vehicle control devices provided in the embodiment of the present application, and includes:
an ignition information obtaining module 510, configured to obtain ignition information sent by an electronic ignition electronic control unit;
a real-time trunk status acquiring module 520, configured to acquire a real-time trunk status sent by the trunk electronic control unit when ignition is completed;
a control module 530 controls an engine state of the engine to be a locked state when the real-time trunk state is an open state.
The present embodiment may effectively prevent a potential danger to a user from inadvertently forgetting to close trunk by monitoring ignition information and a real-time trunk status of the vehicle, controlling the engine status of the engine to be a locked status when the ignition information is that ignition is complete and the real-time trunk status is an open status, so as to alert the user of the trunk status.
Optionally, the control module 530 includes:
the engine state acquisition unit is used for acquiring the engine state sent by the electronic engine control unit when the real-time trunk state is the opening state;
the engine locking command sending unit is used for sending an engine locking command to the engine electronic control unit when the engine state is an unlocked state so that the engine electronic control unit can lock the engine according to the engine locking command;
and the locking state receiving unit is used for receiving the locking state sent by the electronic engine control unit, wherein the locking state comprises that the engine state is the locking state.
Optionally, the method further includes:
the engine state acquisition module is used for acquiring the engine state sent by the electronic engine control unit when the real-time trunk state is the closed state;
and the unlocking command sending module is used for sending an unlocking command to the electronic engine control unit when the engine state is the locking state so that the electronic engine control unit can unlock the engine.
Optionally, the method further includes:
the VIN code reading instruction sending module is used for sending a VIN code reading instruction to the vehicle OBD module after detecting that the vehicle OBD interface is accessed, so that the vehicle OBD module can obtain VIN code information according to the VIN code reading instruction;
the VIN code information reading module is used for reading VIN code information fed back by the vehicle OBD module;
the vehicle type determining module is used for determining a vehicle type corresponding to the vehicle according to the VIN code information;
and the diagnostic function information acquisition module is used for acquiring trunk diagnostic function information of a trunk electronic control unit, ignition diagnostic function information of an electronic ignition electronic control unit and engine diagnostic function information of an engine electronic control unit corresponding to the vehicle type from the diagnostic protocol file.
Optionally, the method further includes:
, a communication link establishing module for establishing a communication link with the trunk electronic control unit based on the trunk diagnostic function information;
the trunk activation command sending module is used for sending a trunk activation command to the trunk electronic control unit so that the trunk electronic control unit can be activated according to the trunk activation command;
and the trunk activation success information receiving module is used for receiving the trunk activation success information sent by the trunk electronic control unit.
Optionally, the method further includes:
the second communication link establishing module is used for establishing a communication link with the electronic ignition electronic control unit according to the ignition diagnosis function information;
the electronic ignition activation command sending module is used for sending an electronic ignition activation command to the electronic ignition electronic control unit so that the electronic ignition electronic control unit can be activated according to the electronic ignition activation command;
and the electronic ignition activation success information receiving module is used for receiving the electronic ignition activation success information sent by the electronic ignition electronic control unit.
Optionally, the method further includes:
the third communication link establishing module is used for establishing a communication link with the electronic control unit of the engine according to the engine diagnosis function information;
the engine activation command sending module is used for sending an engine activation command to the engine electronic control unit so that the engine electronic control unit can be activated according to the engine activation command;
the engine activation success information receiving module is used for receiving engine activation success information sent by the engine electronic control unit;
the checking command sending module is used for sending a checking command to the engine electronic control unit so that the engine electronic control unit can send target data according to the checking command;
the target code sending module is used for receiving the target data, calculating the target data by using a preset algorithm in the engine diagnosis function information to obtain a target code, and sending the target code to the engine electronic control unit;
and the correct verification information receiving module is used for receiving correct verification information sent by the engine electronic control unit when the engine electronic control unit verifies that the target code is correct.
Optionally, the method further includes:
and the stopping module is used for reading the stopping operation so as to stop monitoring the trunk state, the ignition information and the engine state.
Since the embodiment of the vehicle control apparatus portion and the embodiment of the vehicle control method portion correspond to each other, please refer to the description of the embodiment of the vehicle control method portion, and the detailed description thereof is omitted here for the sake of brevity.
The present application further provides electronic devices, and referring to fig. 6, fig. 6 is a structural diagram of electronic devices provided in this application, including:
a memory 100 for storing a computer program;
the processor 200, when executing the computer program, may implement the steps provided by the above embodiments.
Specifically, the memory 100 includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operating system and the computer-readable instructions in the non-volatile storage medium to run. The processor 200 provides the computing and control capabilities for the electronic device and, when executing the computer program stored in the memory 100, may perform the following steps: acquiring ignition information sent by an electronic ignition electronic control unit; when the ignition information is that the ignition is finished, acquiring a real-time trunk state sent by a trunk electronic control unit; when the real-time trunk state is the open state, the engine state of the control engine is the locked state.
The present embodiment may effectively prevent a potential danger to a user from inadvertently forgetting to close trunk by monitoring ignition information and a real-time trunk status of the vehicle, controlling the engine status of the engine to be a locked status when the ignition information is that ignition is complete and the real-time trunk status is an open status, so as to alert the user of the trunk status.
In specific embodiments , when the processor 200 executes the computer subroutine stored in the memory 100, the steps of obtaining an engine status sent by the engine electronic control unit when the real-time trunk status is open, sending an engine locking command to the engine electronic control unit when the engine status is unlocked so that the engine electronic control unit locks the engine according to the engine locking command, and receiving a locked status sent by the engine electronic control unit, wherein the locked status includes that the engine status is locked.
In specific embodiments of , the processor 200, when executing the computer subroutine stored in the memory 100, may perform the steps of obtaining an engine state sent by the engine electronic control unit when the real-time trunk status is off, and sending an unlock command to the engine electronic control unit to unlock the engine when the engine state is locked.
In some specific embodiments of , when the processor 200 executes the computer sub-program stored in the memory 100, the following steps may be implemented, namely after detecting that the vehicle is connected to the OBD interface, sending a VIN code reading instruction to the vehicle OBD module, so that the vehicle OBD module obtains VIN code information according to the VIN code reading instruction, reading VIN code information fed back by the vehicle OBD module, determining a vehicle type corresponding to the vehicle according to the VIN code information, and obtaining trunk diagnostic function information of a trunk electronic control unit, ignition diagnostic function information of the electronic ignition electronic control unit, and engine diagnostic function information of the engine electronic control unit, which correspond to the vehicle type, from the diagnostic protocol file.
In some specific embodiments of , processor 200, when executing the computer routines stored in memory 100, may perform the steps of establishing a communication link with the trunk electronic control unit based on the trunk diagnostic function information, sending a trunk activation command to the trunk electronic control unit for activation by the trunk electronic control unit based on the trunk activation command, and receiving a trunk activation success message sent by the trunk electronic control unit.
In specific embodiments of , processor 200, when executing computer subroutines stored in memory 100, may perform the steps of establishing a communication link with the electronic ignition electronic control unit based on the ignition diagnostic function information, sending an electronic ignition activation command to the electronic ignition electronic control unit for activation by the electronic ignition electronic control unit based on the electronic ignition activation command, and receiving an electronic ignition activation success message sent by the electronic ignition electronic control unit.
In some specific embodiments of , when the processor 200 executes the computer sub-program stored in the memory 100, the steps of establishing a communication link with the electronic engine control unit according to the engine diagnostic function information, sending an engine activation command to the electronic engine control unit so that the electronic engine control unit activates according to the engine activation command, receiving engine activation success information sent by the electronic engine control unit, sending a verification command to the electronic engine control unit so that the electronic engine control unit sends target data according to the verification command, receiving the target data, calculating the target data by using a preset algorithm in the engine diagnostic function information to obtain a target code, sending the target code to the electronic engine control unit, and receiving correct verification information sent by the electronic engine control unit when the electronic engine control unit verifies that the target code is correct.
In specific embodiments of , processor 200, when executing computer subroutines stored in memory 100, may perform the step of reading a stop operation to stop monitoring trunk status, ignition information, and engine status.
Since the embodiment of the electronic device portion corresponds to the embodiment of the vehicle control method portion, please refer to the description of the embodiment of the vehicle control method portion for the embodiment of the electronic device portion, and the detailed description thereof is omitted here.
On the basis of the foregoing embodiment, as a preferred implementation, referring to fig. 7, fig. 7 is a structural diagram of another kinds of electronic devices provided in the embodiments of the present application, where the electronic device further includes:
and an input interface 300 connected to the processor 200, for acquiring computer programs, parameters and instructions imported from the outside, and storing the computer programs, parameters and instructions into the memory 100 under the control of the processor 200. The input interface 300 may be connected to an input device for receiving parameters or instructions manually input by a user. The input device may be a touch layer covered on a display screen, or a button, a track ball or a touch pad arranged on a terminal shell, or a keyboard, a touch pad or a mouse, etc.
And a display unit 400 connected to the processor 200 for displaying data transmitted by the processor 200. The display unit 400 may be a display screen on a PC, a liquid crystal display screen, or an electronic ink display screen.
And a network port 500 connected to the processor 200 for performing communication connection with each external terminal device. The communication technology adopted by the communication connection can be a wired communication technology or a wireless communication technology, such as a mobile high definition link (MHL) technology, a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), a wireless fidelity (WiFi), a bluetooth communication technology, a low power consumption bluetooth communication technology, an ieee802.11 s-based communication technology, and the like.
The application also discloses computer readable storage media, wherein the computer program is stored thereon, and when executed, the computer program can realize the steps provided by the above embodiment, the storage media can comprise various media which can store program codes, such as a U disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, the storage media stores the computer program, and when executed by a processor, the computer program realizes the steps of acquiring the ignition information sent by the electronic ignition control unit, acquiring the real-time trunk state sent by the electronic trunk control unit when the ignition information is finished, and controlling the engine state of the engine to be a locked state when the real-time trunk state is an open state.
The present embodiment may effectively prevent a potential danger to a user from inadvertently forgetting to close trunk by monitoring ignition information and a real-time trunk status of the vehicle, controlling the engine status of the engine to be a locked status when the ignition information is that ignition is complete and the real-time trunk status is an open status, so as to alert the user of the trunk status.
In some specific embodiments , the computer subroutine stored in the computer readable storage medium when executed by the processor may be further configured to obtain an engine status sent by the engine electronic control unit when the real-time trunk status is an open status, send a lock engine command to the engine electronic control unit when the engine status is an unlocked status so that the engine electronic control unit locks the engine according to the lock engine command, and receive a lock status sent by the engine electronic control unit, wherein the lock status includes that the engine status is a locked status.
In specific embodiments , the computer subroutine stored in the computer readable storage medium when executed by the processor may be further embodied as obtaining an engine state sent by the engine electronic control unit when the real-time trunk status is off and sending an unlock command to the engine electronic control unit to unlock the engine when the engine state is locked.
In some specific embodiments of , when executed by the processor, the computer program stored in the computer-readable storage medium may further include a VIN code reading instruction sent to the vehicle OBD module so that the vehicle OBD module obtains VIN code information according to the VIN code reading instruction after detecting that the vehicle OBD interface is connected to the vehicle, a VIN code information fed back by the vehicle OBD module is read, a vehicle type corresponding to the vehicle is determined according to the VIN code information, and trunk diagnostic function information of a trunk electronic control unit corresponding to the vehicle type, ignition diagnostic function information of the electronic ignition electronic control unit, and engine diagnostic function information of the engine electronic control unit are obtained from the diagnostic protocol file.
In some specific embodiments of , the computer subroutine stored in the computer readable storage medium when executed by the processor may be further operable to establish a communication link with the trunk electronic control unit based on the trunk diagnostic function information, send a trunk activation command to the trunk electronic control unit for activation by the trunk electronic control unit based on the trunk activation command, and receive a trunk activation success message sent by the trunk electronic control unit.
In some specific embodiments of , the computer subroutine stored in the computer readable storage medium when executed by the processor implements the steps of establishing a communication link with the electronic ignition electronic control unit based on the ignition diagnostic function information, sending an electronic ignition activation command to the electronic ignition electronic control unit for activation of the electronic ignition electronic control unit based on the electronic ignition activation command, and receiving an electronic ignition activation success message sent by the electronic ignition electronic control unit.
In some specific embodiments of , the computer subroutine stored in the computer readable storage medium when executed by the processor may be further configured to establish a communication link with the electronic engine control unit based on the engine diagnostic function information, send an engine activation command to the electronic engine control unit for activation of the electronic engine control unit based on the engine activation command, receive an engine activation success message from the electronic engine control unit, send a verification command to the electronic engine control unit for transmission of target data based on the verification command by the electronic engine control unit, receive the target data and calculate the target data using a predetermined algorithm in the engine diagnostic function information to obtain a target code and transmit the target code to the electronic engine control unit, and receive a verification correct message from the electronic engine control unit when the electronic engine control unit verifies that the target code is correct.
In specific embodiments of , the computer subroutine stored in the computer readable storage medium, when executed by the processor, may be further configured to read a stop operation to stop monitoring of trunk status, ignition information, and engine status.
Since the embodiment of the computer-readable storage medium portion corresponds to the embodiment of the vehicle control method portion, please refer to the description of the embodiment of the vehicle control method portion for the embodiment of the computer-readable storage medium portion, which is not repeated here.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of functionality for clarity of explanation of interchangeability of hardware and software.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The vehicle control methods, vehicle control devices, electronic devices and computer readable storage media provided by the present application are described in detail herein, and the specific examples are used to explain the principles and implementations of the present application, and the description of the embodiments is only used to help understand the methods and their core ideas of the present application.

Claims (10)

1, A vehicle control method, comprising:
acquiring ignition information sent by an electronic ignition electronic control unit;
when the ignition information is that the ignition is finished, acquiring a real-time trunk state sent by a trunk electronic control unit;
controlling an engine state of an engine to be a locked state when the real-time trunk state is an open state.
2. The vehicle control method according to claim 1, wherein controlling the engine state of the engine to be a locked state when the real-time trunk state is an open state includes:
when the real-time trunk state is an opening state, acquiring the engine state sent by an engine electronic control unit;
when the engine state is an unlocked state, sending an engine locking instruction to the engine electronic control unit so that the engine electronic control unit can lock the engine according to the engine locking instruction;
receiving a locked state sent by the electronic engine control unit, wherein the locked state comprises that the engine state is the locked state.
3. The vehicle control method according to claim 1, characterized by further comprising:
when the real-time trunk state is a closed state, acquiring the engine state sent by an engine electronic control unit;
and when the engine state is a locked state, sending an unlocking command to the electronic engine control unit so that the electronic engine control unit can unlock the engine.
4. The vehicle control method according to claim 1, wherein before the acquiring of the ignition information sent by the electronic ignition electronic control unit, comprising:
after detecting that an OBD interface of a vehicle is accessed, sending a VIN code reading instruction to a vehicle OBD module, so that the vehicle OBD module can obtain VIN code information according to the VIN code reading instruction;
reading the VIN code information fed back by the vehicle OBD module;
determining a vehicle type corresponding to the vehicle according to the VIN code information;
and obtaining trunk diagnosis function information of the trunk electronic control unit, ignition diagnosis function information of the electronic ignition electronic control unit and engine diagnosis function information of the engine electronic control unit corresponding to the vehicle type from a diagnosis protocol file.
5. The vehicle control method according to claim 4, wherein after obtaining trunk diagnostic function information of the trunk electronic control unit, ignition diagnostic function information of the electronic ignition electronic control unit, and engine diagnostic function information of an engine electronic control unit corresponding to the vehicle type from a diagnostic protocol file, the method comprises:
establishing a communication link with the trunk electronic control unit according to the trunk diagnostic function information;
sending a trunk activation command to the trunk electronic control unit so that the trunk electronic control unit can be activated according to the trunk activation command;
and receiving trunk activation success information sent by the trunk electronic control unit.
6. The vehicle control method according to claim 5, further comprising, after receiving the trunk activation success information transmitted by the trunk electronic control unit:
establishing a communication link with the electronic ignition electronic control unit according to the ignition diagnosis function information;
sending an electronic ignition activation command to the electronic ignition electronic control unit so that the electronic ignition electronic control unit can be activated according to the electronic ignition activation command;
and receiving the electronic ignition activation success information sent by the electronic ignition electronic control unit.
7. The vehicle control method according to claim 6, wherein after receiving the electronic ignition activation success information transmitted by the electronic ignition electronic control unit, further comprising:
establishing a communication link with the engine electronic control unit according to the engine diagnostic function information;
sending an engine activation command to the engine electronic control unit so that the engine electronic control unit can be activated according to the engine activation command;
receiving engine activation success information sent by the engine electronic control unit;
sending a verification command to the engine electronic control unit so that the engine electronic control unit can send target data according to the verification command;
receiving the target data, calculating the target data by using a preset algorithm in the engine diagnosis function information to obtain a target code, and sending the target code to the engine electronic control unit;
and when the engine electronic control unit verifies that the target code is correct, receiving correct verification information sent by the engine electronic control unit.
8. The vehicle control method of any of claims 1-7- , further comprising:
reading a stop operation to stop monitoring of the trunk status, the ignition information, the engine status.
A control apparatus for a vehicle, of the type , comprising:
the ignition information acquisition module is used for acquiring ignition information sent by the electronic ignition control unit;
the real-time trunk state acquisition module is used for acquiring the real-time trunk state sent by the trunk electronic control unit when the ignition information is that the ignition is finished;
the control module is used for controlling the engine state of the engine to be a locked state when the real-time trunk state is an open state.
10, electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the vehicle control method of any of claims 1-8 when executing the computer program.
CN201910995038.XA 2019-10-18 2019-10-18 vehicle control method and device and electronic equipment Pending CN110733343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910995038.XA CN110733343A (en) 2019-10-18 2019-10-18 vehicle control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910995038.XA CN110733343A (en) 2019-10-18 2019-10-18 vehicle control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN110733343A true CN110733343A (en) 2020-01-31

Family

ID=69270106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910995038.XA Pending CN110733343A (en) 2019-10-18 2019-10-18 vehicle control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110733343A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102627086A (en) * 2012-04-13 2012-08-08 天津盛相电子有限公司 Automatic alarm for vehicle trunk
DE102012009735B3 (en) * 2011-06-09 2012-11-15 Audi Ag Vehicle flap i.e. tail gate, for use in automotive industry for temporary closing aperture of body e.g. engine compartment, has air guide device located in operational position and adjusted to rest position during aperture request by user
CN203460946U (en) * 2013-09-05 2014-03-05 河南跃利电器有限公司 Rear cabin door control device
CN105632103A (en) * 2016-03-11 2016-06-01 张海涛 Method and device for monitoring fatigue driving
CN206141429U (en) * 2016-10-24 2017-05-03 深圳职业技术学院 Warning equipment and car that vapour car trunk did not close
CN110077359A (en) * 2019-03-29 2019-08-02 深圳市元征科技股份有限公司 A kind of control method for vehicle and device based on seat belt status
CN110203203A (en) * 2019-05-20 2019-09-06 深圳市元征科技股份有限公司 Control method for vehicle, device, terminal device and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102012009735B3 (en) * 2011-06-09 2012-11-15 Audi Ag Vehicle flap i.e. tail gate, for use in automotive industry for temporary closing aperture of body e.g. engine compartment, has air guide device located in operational position and adjusted to rest position during aperture request by user
CN102627086A (en) * 2012-04-13 2012-08-08 天津盛相电子有限公司 Automatic alarm for vehicle trunk
CN203460946U (en) * 2013-09-05 2014-03-05 河南跃利电器有限公司 Rear cabin door control device
CN105632103A (en) * 2016-03-11 2016-06-01 张海涛 Method and device for monitoring fatigue driving
CN206141429U (en) * 2016-10-24 2017-05-03 深圳职业技术学院 Warning equipment and car that vapour car trunk did not close
CN110077359A (en) * 2019-03-29 2019-08-02 深圳市元征科技股份有限公司 A kind of control method for vehicle and device based on seat belt status
CN110203203A (en) * 2019-05-20 2019-09-06 深圳市元征科技股份有限公司 Control method for vehicle, device, terminal device and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10040349B2 (en) Networked intoxication vehicle immobilization
US10055904B2 (en) Vehicle gateway network protection
US8813061B2 (en) Module updating device
US8918251B2 (en) CAN based vehicle immobilizer
EP3156277A1 (en) Networked intoxication vehicle immobilization
US20170096958A1 (en) Push-button start system fault diagnosis
US10759362B2 (en) Harness for assisted driving
CN104580351A (en) Programming vehicle modules from remote devices and related methods and systems
US11169797B2 (en) Vehicle controller configuration backup and restoration using data snapshots
CN112572073A (en) Communication method of tire pressure sensor, electronic equipment and special tire pressure equipment
CN114312657A (en) Remote starting method and system of vehicle, storage medium and vehicle
CN206671880U (en) End of Line Test of Vehicle and automobile
CN110641395A (en) Method, device, equipment and medium for adjusting passenger seat
CN110667514B (en) Vehicle door unlocking method and device
CN110733343A (en) vehicle control method and device and electronic equipment
US20090091419A1 (en) Methods and systems to control remote access to a vehicle module
CN105653289B (en) Vehicle-mounted software control management device and application method thereof
US20220126770A1 (en) On-board communication device, program, and communication method
JP2021119078A (en) Apparatus and program
CN113625690A (en) Intelligent diagnosis method and system for automobile and mobile terminal
CN112477806A (en) Vehicle control method, vehicle, and storage medium
US20240144746A1 (en) Vehicle security device with mobile device control
US20240017703A1 (en) Automotive brake control
CN114664006B (en) Vehicle door control method and system
CN112114542B (en) Vehicle remote control method, vehicle and readable storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200131