Vehicle key control method and system with preset reservation function
Technical Field
The invention relates to the technical field of automobile keys, in particular to an automobile key control method and an automobile key control system with a preset reservation function.
Background
With the rapid development of the automobile industry in China and the increase of the automobile holding capacity, the requirements of drivers and passengers on automobiles are higher and higher, but the existing automobile technology has many places with inconvenient use in some specific use scenes. For example: in hot summer, the automobile is usually parked in an open parking lot and is sunned, if the air-conditioning system in the automobile is not started for heat dissipation in advance, a driver and passengers can endure the scorching in the automobile and wait for cooling, and the use experience is very uncomfortable; under the scene that shopping, carrying heavy objects, pushing baby cars and the like can not liberate hands in time, the tail door of the vehicle needs to be opened to contain articles, which is very inconvenient. Although automobiles on the market are gradually intelligentized, the existing automobile air conditioner control system capable of being started in a reserved mode is not arranged in the automobile, the reserved operation needs to be completed on the automobile, or a remote server is connected with a remote server through the internet by a mobile phone to issue an instruction to the control system in the automobile, as is well known, the signal quality is not good because a plurality of parking lots are located at remote positions or places in a warehouse, the control mode that the mobile phone is connected with the internet is limited by the quality of signals, and the control of the automobile cannot be realized if the quality of the signals is not good; the mode of controlling the automobile through the remote server also requires operators to invest a large amount of operation cost to operate and maintain the cloud server, and the stability of the server and the operation condition of the operators can directly influence the use of users. Although various vehicle-mounted transformation schemes are adopted in the existing vehicle-mounted transformation methods such as installing a physical device for conducting opening judgment and identification, and communicating and controlling with a remote server in a networking mode, the schemes are not complex in structure of the installed control device and high in installation and transformation cost, namely the traditional common vehicle cannot be configured, multiple vehicle-mounted functions can be realized, unified configuration management cannot be achieved, and the vehicle-mounted transformation method is further limited by various factors such as induction recognition rate and signal quality, and has technical defects in operation.
Disclosure of Invention
The present invention provides a method and a system for controlling a vehicle key with a preset reservation function, aiming at the above-mentioned defects of the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a car key control method with a preset reservation function comprises the following steps:
a preset parameter setting step, wherein a user sends a first preset parameter and a second preset parameter to a vehicle key end and a vehicle-mounted control end respectively through terminal equipment, the vehicle key end receives and sets the first preset parameter, the vehicle-mounted control end receives and sets the second preset parameter, and the preset value of the first preset parameter is correspondingly associated with an execution instruction of the second preset parameter;
a reservation instruction sending step, in which a user sends a reservation instruction to the vehicle key end through the terminal device, the sent reservation instruction can be a plurality of instructions, the vehicle key end receives the reservation instruction, calls the preset value in the first preset parameter according to the reservation instruction and enters a reservation sending state;
monitoring an authentication key, wherein the vehicle-mounted control end continuously monitors and judges whether the vehicle key end matched with the vehicle control end for authentication exists in a target distance range;
a preset parameter matching step, wherein if the vehicle-mounted control end monitors the vehicle key end in a target distance range and passes matching authentication, the vehicle key end changes a reserved sending state into a sending state and sends the preset value to the vehicle-mounted control end, the vehicle-mounted control end matches the execution instruction in the second preset parameter according to the received preset value, and the target distance range of the vehicle-mounted control end can be set by a user;
and a reservation instruction execution step, wherein the vehicle-mounted control end executes corresponding vehicle control operation according to the received execution instruction.
Further, the step of setting the preset parameters specifically includes: the vehicle key end is used for caching the reservation instruction and the first preset parameter, the first preset parameter comprises at least one preset value, and the second preset parameter comprises at least one execution instruction capable of triggering vehicle control operation; the first preset parameter and the second preset parameter can be edited and read by the terminal equipment.
Further, the step of setting the preset parameters specifically includes: the execution instructions include, but are not limited to: the control system comprises a window control instruction, a light control instruction, a wiper control instruction, a door lock control instruction and an air conditioner control instruction.
Further, the reservation instruction execution step further includes: the execution instruction further comprises a reserved execution time instruction, and the vehicle-mounted control end executes corresponding vehicle control operation at the designated reserved execution time according to the received reserved execution time instruction.
Further, after the step of executing the reservation instruction, the method further includes:
and an operation result feedback step, wherein the vehicle-mounted control end monitors an operation result and sends feedback to the terminal equipment according to the execution of the vehicle control operation.
Further, still include:
and a reservation mark identification step, wherein after the vehicle key end receives a reservation instruction sent by a user through the terminal equipment, the vehicle key end automatically identifies the reservation mark, the vehicle-mounted control end sends a reservation mark state detection signal to detect the reservation mark state of the vehicle key end after monitoring that the vehicle key end passes matching authentication, if the reservation mark state is the identified reservation mark, the reservation instruction operation is executed, and if the reservation mark state is the unidentified reservation mark, the reservation instruction operation is not executed.
A vehicle key control system having a preset reservation function, comprising: the terminal equipment is in wireless communication connection with the vehicle key end and the vehicle-mounted control end respectively; the vehicle key end is provided with a control module, a key expansion module, a storage module, a vehicle key end communication module and a power supply module, and the control module is respectively connected with the key expansion module, the storage module, the vehicle key end communication module and the power supply module; the vehicle-mounted control end is provided with an ECU module, a CAN bus, a PKE module and a vehicle-mounted control end communication module, and the ECU module, the PKE module and the vehicle-mounted control end communication module are respectively connected through the CAN bus.
Further, terminal equipment is cell-phone, dull and stereotyped or CAN remove smart machine, CAN bus connection has the OBD module.
Further, the ECU module comprises an MCU unit and a storage unit, and the MCU unit is in communication connection with the storage unit.
Further, the terminal device, the vehicle key end communication module and the vehicle control end communication module include but are not limited to bluetooth, NFC, short-range wireless communication.
The invention has the beneficial effects that: the vehicle control operation preset parameters which can be edited and read by the terminal equipment are set at the vehicle key end and the vehicle-mounted control end, a user can issue a reservation instruction to the vehicle key end in advance, and after the vehicle-mounted control end identifies the vehicle key and passes the matching authentication, the reservation instruction is sent to the vehicle control end from the vehicle key end to execute the vehicle control operation corresponding to the instruction. The invention realizes that a user can customize vehicle preset control operation according to personalized requirements, preset the vehicle key and a vehicle-mounted control end, and send out a reservation instruction to reserve the automatic vehicle execution operation, and also discloses a system for executing the method, which solves the problems that the traditional vehicle control intelligent modification steps are complicated, a plurality of sensors are not required to be installed, unified configuration management cannot be carried out, the use is influenced by the limitation of internet signal quality, the vehicle function cannot be operated in a scene with two hands inconvenient, and the like.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be further described with reference to the accompanying drawings and embodiments, wherein the drawings in the following description are only part of the embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts:
fig. 1 is a schematic flowchart of a vehicle key control method with a preset reservation function according to embodiment 1 of the present invention;
fig. 2 is a schematic structural diagram of a vehicle key control system with a preset reservation function according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a reservation state reference state of a vehicle key control method and system with a preset reservation function according to an embodiment of the present invention;
fig. 4 is a reference diagram illustrating a state of opening a rear door of a vehicle according to a method and system for controlling a vehicle key with a preset reservation function of the present invention;
fig. 5 is a flowchart illustrating a vehicle key control method with a preset reservation function according to embodiment 2 of the present invention;
in the figure: 1. a terminal device; 2. a key end is turned; 3. a vehicle-mounted control end; 4. a tail gate.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without inventive step, are within the scope of the present invention.
As shown in fig. 1 to 4, an embodiment 1 of the present invention provides a vehicle key control method with a preset reservation function, including the following steps:
a preset parameter setting step, in which a user sends a first preset parameter and a second preset parameter to a vehicle key end 2 and a vehicle-mounted control end 3 respectively through a terminal device 1, the first preset parameter and the second preset parameter are vehicle control instruction parameters, the vehicle key end 2 is used for caching an appointment instruction and the first preset parameter, the first preset parameter comprises at least one preset value, the preset value is a vehicle control instruction parameter preset value, and the second preset parameter comprises at least one execution instruction capable of triggering vehicle control operation; the first preset parameter and the second preset parameter can be edited and read by the terminal device 1. The vehicle key end 2 receives and sets the first preset parameter, the vehicle control end 3 receives and sets the second preset parameter, and the preset value of the first preset parameter is correspondingly associated with the execution instruction of the second preset parameter; the execution instructions include, but are not limited to: the control system comprises a window control instruction, a light control instruction, a wiper control instruction, a door lock control instruction and an air conditioner control instruction.
A reservation instruction sending step, in which a user sends a reservation instruction to the vehicle key terminal 2 through the terminal device 1, the sent reservation instruction can be a plurality of instructions, the vehicle key terminal 2 receives the reservation instruction, calls the preset value in the first preset parameters according to the reservation instruction and enters a reservation sending state, and the reservation instruction is a parameter instruction for triggering the second preset parameters to control corresponding association of the vehicle;
monitoring an authentication key, wherein the vehicle-mounted control end 3 continuously monitors and judges whether the vehicle key end 2 matched with the vehicle control end is authenticated within a target distance range, and the target distance range of the vehicle-mounted control end 3 can be set by a user;
a preset parameter matching step, wherein if the vehicle-mounted control terminal 3 monitors the vehicle key terminal 2 within a target distance range and passes matching authentication, the vehicle key terminal 2 changes an appointed sending state into a sending state, the preset value is sent to the vehicle-mounted control terminal 3, and the vehicle-mounted control terminal 3 matches the execution instruction in the second preset parameter according to the received preset value;
a reservation instruction execution step, wherein the vehicle-mounted control terminal 3 executes corresponding vehicle control operation according to the received execution instruction; the execution instruction can also comprise a reserved execution time instruction, and the vehicle-mounted control terminal 3 executes corresponding vehicle control operation at a designated reserved execution time according to the received reserved execution time instruction.
As shown in fig. 2, in view of the above, an embodiment of the present application provides a vehicle key control system with a preset reservation function, including: the terminal device 1 is a mobile phone, a tablet or a mobile intelligent device, the terminal device 1 is in wireless communication connection with the vehicle key end 2 and the vehicle control end 3, and the wireless communication mode is not limited to Bluetooth, NFC or short-range wireless communication; CAN bus connection has the OBD module, the OBD module is the module of CAN developing the relevant operating function of vehicle, utilizes the OBD module to need not to change former car circuit and CAN realize the functional operation to the vehicle, reduces the transformation cost to the vehicle. The vehicle key end 2 is an intelligent key capable of being modified to integrate an original vehicle key, the vehicle key end 2 is provided with a control module, a key expansion module, a storage module, a vehicle key end communication module and a power module, the control module is respectively connected with the key expansion module, the storage module, the vehicle key end communication module and the power module, the control module is responsible for controlling and processing communication and instructions of the modules, the key expansion module is used for being connected with a circuit board of the original vehicle key, functional contacts of the circuit board of the original vehicle key are welded with functional contacts corresponding to the key expansion module of the vehicle key end 2 through wires, the function of the original vehicle key is integrated to the vehicle key end, the storage module is used for storing first preset parameters and reserving reservation instructions, and the vehicle key end communication module is used for being connected with the terminal device 1, The vehicle-mounted control end 3 is in communication connection, and the power supply module provides power supply guarantee for the vehicle key end 2; the vehicle-mounted control end 3 is a control device arranged in a vehicle, the vehicle-mounted control end 3 is provided with an ECU module, a CAN bus, a PKE module and a vehicle-mounted control end communication module, the ECU module comprises an MCU unit and a storage unit, the MCU unit is a micro control chip and is the core of operation and control instructions, the storage unit is used for storing second preset parameters received from the terminal equipment 1, the second preset parameters store a plurality of execution instructions, and the MCU unit is in communication connection with the storage unit; the CAN bus is a serial communication bus, and the ECU module, the PKE module and the vehicle-mounted control end communication module are respectively connected through the CAN bus; the PKE module is a keyless entry system module and is configured to monitor and authenticate the validity of the vehicle key end 2, and the terminal device 1, the vehicle key end 2 communication module, and the vehicle-mounted control end communication module include, but are not limited to, bluetooth, NFC, and short-range wireless communication.
As shown in fig. 5, embodiment 2 of the present invention is substantially the same as embodiment 1, except that after the step of issuing the reservation instruction, the method further includes: a reservation mark identification step, wherein after the vehicle key end 2 receives a reservation instruction sent by a user through the terminal device 1, the vehicle key 2 automatically identifies the reservation mark, the vehicle-mounted control end 3 sends a reservation mark state detection signal to detect the reservation mark state of the vehicle key end after monitoring that the vehicle key end is matched and authenticated with the vehicle key end 2, if the reservation mark state is an identified reservation mark, the reservation instruction operation is executed, and if the reservation mark state is an unidentified reservation mark, the reservation instruction operation is not executed.
After the step of executing the reservation instruction, the method further comprises the following steps: and an operation result feedback step, in which the vehicle-mounted control terminal 3 monitors an operation result and sends feedback to the terminal device 1 according to the execution of the vehicle control operation.
Referring to fig. 3 to 4, a reference example of reserving the opening of the tailgate using the method and system of the present invention:
a user is respectively connected with a vehicle key end 2 and a vehicle-mounted controller 3 through a wireless communication technology of a mobile phone terminal device 1 in advance;
the first preset parameter and the second preset parameter are respectively sent to a vehicle key and a vehicle-mounted controller 2 through a mobile phone 1APP, and the first preset parameter and the second preset parameter are preset parameters for a user to self-define and configure the vehicle automatic opening operation of the tail door in advance;
assuming that a user finishes shopping in a shopping mall and is ready to drive to go home, but a lot of commodities are inconvenient to reach the vehicle to operate the remote control car key end 2, and how to do, the user firstly sends a command for reserving opening a car tail door to the car key end 2 through the Bluetooth of the mobile phone terminal device 1 before going out of the shopping mall, and at the moment, the car key end 2 is far away from the vehicle and cannot communicate with the vehicle, and only the reservation command is cached in the car key end 2; the user goes out of a market to the side of the vehicle, and once the user enters a monitoring target distance range set by the vehicle, the vehicle-mounted control end 3 authenticates and matches the vehicle key end 2;
if the vehicle-mounted control terminal passes the matching authentication, the vehicle key terminal 2 sends the reservation instruction which is just cached to the vehicle-mounted control terminal 3, the vehicle key terminal 2 empties the cache or returns the identification reservation mark, and the vehicle-mounted control terminal 3 matches the execution instruction of the vehicle tail door opening 4 in the second preset parameter according to the preset value of the vehicle tail door opening 4 which receives the reservation instruction;
the vehicle-mounted control terminal 3 executes corresponding control operation of opening the tail gate 4 according to the received execution instruction, the tail gate 4 is automatically opened, and a feedback result is sent back to the mobile phone terminal equipment 1 approaching the vehicle through wireless communication.
It will be understood that modifications and variations can be made by persons skilled in the art in light of the above teachings and all such modifications and variations are intended to be included within the scope of the invention as defined in the appended claims.