+

CN115891905A - Locking method, device, equipment and storage medium - Google Patents

Locking method, device, equipment and storage medium Download PDF

Info

Publication number
CN115891905A
CN115891905A CN202211413085.7A CN202211413085A CN115891905A CN 115891905 A CN115891905 A CN 115891905A CN 202211413085 A CN202211413085 A CN 202211413085A CN 115891905 A CN115891905 A CN 115891905A
Authority
CN
China
Prior art keywords
lock
car
vehicle
terminal
engine
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.)
Granted
Application number
CN202211413085.7A
Other languages
Chinese (zh)
Other versions
CN115891905B (en
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.)
Guilin University of Electronic Technology
Dongfeng Liuzhou Motor Co Ltd
Original Assignee
Guilin University of Electronic Technology
Dongfeng Liuzhou Motor 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 Guilin University of Electronic Technology, Dongfeng Liuzhou Motor Co Ltd filed Critical Guilin University of Electronic Technology
Priority to CN202211413085.7A priority Critical patent/CN115891905B/en
Publication of CN115891905A publication Critical patent/CN115891905A/en
Application granted granted Critical
Publication of CN115891905B publication Critical patent/CN115891905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

本发明公开了一种锁车方法、装置、设备及存储介质,属于汽车技术领域。本发明通过在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态;在所述锁车终端状态正常时,获取发动机状态;在所述发动机状态异常时,生成暗锁主动锁车指令至锁车终端,以使所述锁车终端根据所述暗锁主动锁车指令对所述车辆进行暗锁主动锁车,可在发动机出现异常情况时,使用车辆的暗锁进行主动锁车,使车辆的锁车功能升级,提高车辆的安全性。

Figure 202211413085

The invention discloses a car locking method, device, equipment and storage medium, belonging to the technical field of automobiles. The present invention inquires the vehicle lock terminal status according to the lock command when receiving the lock command; when the lock terminal status is normal, obtains the engine status; when the engine status is abnormal, generates a built-in lock active The car lock command is sent to the car lock terminal, so that the car lock terminal can perform concealed lock and active lock on the vehicle according to the built-in lock active lock command, and can use the built-in lock of the vehicle to actively lock the car when an abnormal situation occurs in the engine. Upgrade the locking function of the vehicle to improve the safety of the vehicle.

Figure 202211413085

Description

锁车方法、装置、设备及存储介质Locking method, device, equipment and storage medium

技术领域technical field

本发明涉及汽车技术领域,尤其涉及一种锁车方法、装置、设备及存储介质。The invention relates to the technical field of automobiles, in particular to a method, device, equipment and storage medium for locking a car.

背景技术Background technique

现如今的汽车用户对于汽车提供的服务有着越来越高的要求,其中车联网锁车功能已经较为普遍的应用,该功能可以通过平台实现主动的锁车和解锁,通过平台发起,对车辆进行明锁锁车或者明锁解锁,实现对车辆的智能控制和保证车辆的安全。Today's car users have higher and higher requirements for the services provided by the car. Among them, the car locking function of the Internet of Vehicles has been widely used. This function can actively lock and unlock the car through the platform, and initiate it through the platform. Lock the car or unlock it with the open lock to realize the intelligent control of the vehicle and ensure the safety of the vehicle.

现有的明锁锁车只有在汽车的发动机处于正常状态下可以实现,当发动机出现异常,例如发动机被恶意盗刷时,明锁主动锁车会失效,导致车辆安全无法得到保障。The existing open lock lock can only be realized when the engine of the car is in a normal state. When the engine is abnormal, for example, when the engine is maliciously stolen, the open lock will fail to actively lock the car, resulting in that the safety of the vehicle cannot be guaranteed.

发明内容Contents of the invention

本发明的主要目的在于提供一种锁车方法、装置、设备及存储介质,旨在解决现有技术中锁车只有明锁锁车,当发动机出现异常时,明锁锁车失效导致车辆安全性低的技术问题。The main purpose of the present invention is to provide a method, device, equipment and storage medium for locking a car, aiming to solve the problem that in the prior art, only the open lock is used to lock the car. When the engine is abnormal, the open lock fails to cause vehicle safety. Low technical issues.

为实现上述目的,本发明提供了一种锁车方法,所述方法包括以下步骤:To achieve the above object, the invention provides a method for locking a car, said method comprising the following steps:

在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态;When receiving the lock instruction, query the lock terminal state of the vehicle according to the lock instruction;

在所述锁车终端状态正常时,获取发动机状态;When the lock terminal state is normal, acquire the engine state;

在所述发动机状态异常时,生成暗锁主动锁车指令至锁车终端,以使所述锁车终端根据所述暗锁主动锁车指令对所述车辆进行暗锁主动锁车。When the state of the engine is abnormal, a built-in active lock command is generated to the vehicle lock terminal, so that the lock terminal performs built-in lock active lock on the vehicle according to the built-in active lock command.

可选地,所述在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态,包括:Optionally, the querying the status of the vehicle lock terminal according to the lock command when receiving the lock command includes:

在接收到锁车指令时,根据所述锁车指令查询锁车终端的联网状态、CAN总线状态以及天线状态;When receiving the car lock instruction, query the networking status, CAN bus status and antenna status of the car lock terminal according to the car lock instruction;

根据所述锁车终端的联网状态、所述CAN总线状态以及所述天线状态得到车辆的锁车终端状态。The status of the vehicle locking terminal is obtained according to the networking status of the locking terminal, the status of the CAN bus and the status of the antenna.

可选地,所述在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态之后,还包括:Optionally, after receiving the lock instruction, after querying the lock terminal state of the vehicle according to the lock instruction, the method further includes:

在所述锁车终端的联网状态异常、所述CAN总线正常以及所述天线被拆除时,确定所述锁车终端处于离线状态;When the networking status of the car lock terminal is abnormal, the CAN bus is normal, and the antenna is removed, determine that the car lock terminal is in an offline state;

获取发动机状态和所述锁车终端的离线时间;Acquiring the engine state and the offline time of the lock terminal;

在所述发动机状态异常且所述锁车终端的离线时间超过预设离线时间时,生成明锁离线锁车指令至发动机,以使所述发动机基于所述明锁离线锁车指令通过预设锁车协议对所述车辆进行明锁离线锁车;When the state of the engine is abnormal and the offline time of the lock terminal exceeds the preset offline time, an open lock offline lock command is generated to the engine so that the engine passes the preset lock based on the open lock offline lock command Vehicle agreement to perform open lock and offline lock on the vehicle;

生成暗锁离线锁车指令至车辆的车身控制器,以使所述车身控制器基于所述暗锁离线锁车指令通过扭矩请求报文对所述车辆进行暗锁离线锁车。Generate a built-in offline lock command to the body controller of the vehicle, so that the body controller performs a built-in offline lock on the vehicle through a torque request message based on the built-in offline lock command.

可选地,所述在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态之后,还包括:Optionally, after receiving the lock instruction, after querying the lock terminal state of the vehicle according to the lock instruction, the method further includes:

在所述锁车终端的联网状态异常、所述CAN总线被拆除以及所述天线被拆除时,确定所述锁车终端处于被拆除状态;When the networking state of the car lock terminal is abnormal, the CAN bus is removed, and the antenna is removed, determine that the car lock terminal is in a removed state;

获取发动机与锁车终端之间的握手校验结果和发动机状态;Obtain the handshake verification result and engine status between the engine and the car lock terminal;

在所述握手校验结果为握手失败且所述发动机状态异常时,生成明锁防拆锁车指令和暗锁防拆锁车指令;When the result of the handshake verification is that the handshake fails and the engine state is abnormal, generate an open lock anti-tamper lock command and a concealed lock anti-tamper lock command;

根据所述明锁防拆锁车指令限制所述发动机的转速和扭矩,以实现对所述车辆的明锁防拆锁车;Restricting the rotational speed and torque of the engine according to the open lock anti-tamper lock vehicle instruction, so as to realize the open lock anti-tamper lock vehicle of the vehicle;

根据所述暗锁防拆锁车指令得到扭矩请求报文,并根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制,以实现对所述车辆的暗锁防拆锁车。A torque request message is obtained according to the built-in lock anti-tamper lock command, and the speed and torque of the engine are limited according to the torque request message, so as to realize the built-in lock anti-tamper lock vehicle of the vehicle.

可选地,所述根据所述暗锁防拆锁车指令得到扭矩请求报文,并根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制,包括:Optionally, obtaining a torque request message according to the built-in lock anti-tamper lock command, and limiting the speed and torque of the engine according to the torque request message includes:

在预设上电周期内未检测到所述锁车终端的反馈信息时,根据所述暗锁防拆锁车指令得到扭矩请求报文;When no feedback information from the car lock terminal is detected within the preset power-on period, a torque request message is obtained according to the built-in lock anti-tamper lock car instruction;

根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制;Limiting the rotational speed and torque of the engine according to the torque request message;

具体地,所述根据所述暗锁防拆锁车指令得到扭矩请求报文,并根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制之后,还包括:Specifically, after obtaining the torque request message according to the built-in lock anti-tamper lock command, and limiting the speed and torque of the engine according to the torque request message, it also includes:

在检测到所述锁车终端的反馈信息时,生成解除防拆锁车指令;When the feedback information from the car lock terminal is detected, an instruction to release the anti-tamper lock car is generated;

根据所述解除防拆锁车指令对所述车辆解除暗锁防拆锁车。According to the command to release the anti-tamper lock vehicle, the built-in lock anti-tamper lock vehicle is released for the vehicle.

可选地,所述在所述锁车终端状态正常时,获取发动机状态之后,还包括:Optionally, after obtaining the engine state when the lock terminal state is normal, the method further includes:

在所述发动机状态正常时,生成明锁状态查询指令至锁车终端;When the engine state is normal, generate an open lock state query command to the lock terminal;

接收所述锁车终端反馈的明锁状态;receiving the open lock status fed back by the lock terminal;

在所述明锁状态处于激活状态时,生成明锁主动锁车指令至所述锁车终端,以使所述锁车终端基于所述明锁主动锁车指令通过预设锁车协议对所述车辆进行明锁主动锁车。When the open lock state is activated, an open lock active lock instruction is generated to the vehicle lock terminal, so that the lock terminal performs a preset lock agreement on the open lock based on the open lock active lock instruction. The vehicle is actively locked with an open lock.

可选地,所述在所述发动机状态异常时,生成暗锁主动锁车指令至锁车终端,以使所述锁车终端根据所述暗锁主动锁车指令对所述车辆进行暗锁主动锁车之后,还包括:Optionally, when the state of the engine is abnormal, generate a built-in lock active lock command to the car lock terminal, so that the lock terminal performs a built-in lock active lock on the vehicle according to the built-in lock active lock command ,Also includes:

获取所述车辆的锁车状态;Obtain the locked state of the vehicle;

将所述锁车状态进行标记,以对所述车辆进行锁车追溯。The locked state of the vehicle is marked, so that the locked vehicle can be traced back to the vehicle.

此外,为实现上述目的,本发明还提出一种锁车装置,所述锁车装置包括:In addition, in order to achieve the above purpose, the present invention also proposes a car locking device, which includes:

查询模块,用于在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态;An inquiry module, configured to inquire about the state of the vehicle's lock terminal according to the lock instruction when receiving the lock instruction;

获取模块,用于在所述锁车终端状态正常时,获取发动机状态;An acquisition module, configured to acquire the engine status when the lock terminal status is normal;

生成模块,用于在所述发动机状态异常时,生成暗锁主动锁车指令至锁车终端,以使所述锁车终端根据所述暗锁主动锁车指令对所述车辆进行暗锁主动锁车。A generating module, configured to generate a built-in active lock command to the car lock terminal when the engine state is abnormal, so that the lock terminal performs built-in lock active lock on the vehicle according to the built-in active lock command.

此外,为实现上述目的,本发明还提出一种锁车设备,所述锁车设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的锁车程序,所述锁车程序配置为实现如上文所述的锁车方法的步骤。In addition, in order to achieve the above object, the present invention also proposes a car locking device, which includes: a memory, a processor, and a car locking program stored in the memory and operable on the processor. The above-mentioned car locking program is configured to implement the steps of the above-mentioned car locking method.

此外,为实现上述目的,本发明还提出一种存储介质,所述存储介质上存储有锁车程序,所述锁车程序被处理器执行时实现如上文所述的锁车方法的步骤。In addition, to achieve the above object, the present invention also proposes a storage medium, on which a car locking program is stored, and when the car locking program is executed by a processor, the steps of the above-mentioned car locking method are implemented.

本发明通过在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态;在所述锁车终端状态正常时,获取发动机状态;在所述发动机状态异常时,生成暗锁主动锁车指令至锁车终端,以使所述锁车终端根据所述暗锁主动锁车指令对所述车辆进行暗锁主动锁车,可在发动机出现异常情况时,使用车辆的暗锁进行主动锁车,使车辆的锁车功能升级,提高车辆的安全性。The present invention inquires the vehicle lock terminal status according to the lock command when receiving the lock command; when the lock terminal status is normal, obtains the engine status; when the engine status is abnormal, generates a built-in lock active The car lock command is sent to the car lock terminal, so that the car lock terminal can perform concealed lock and active lock on the vehicle according to the built-in lock active lock command, and can use the built-in lock of the vehicle to actively lock the car when an abnormal situation occurs in the engine. Upgrade the locking function of the vehicle to improve the safety of the vehicle.

附图说明Description of drawings

图1是本发明实施例方案涉及的硬件运行环境的锁车设备的结构示意图;Fig. 1 is a schematic structural diagram of a car locking device in a hardware operating environment involved in the solution of an embodiment of the present invention;

图2为本发明锁车方法第一实施例的流程示意图;Fig. 2 is a schematic flow chart of the first embodiment of the vehicle locking method of the present invention;

图3为本发明锁车方法第二实施例的流程示意图;Fig. 3 is a schematic flow chart of the second embodiment of the method for locking the car of the present invention;

图4为本发明锁车方法第三实施例的流程示意图;Fig. 4 is a schematic flow chart of a third embodiment of the method for locking a car of the present invention;

图5为本发明锁车方法第四实施例的流程示意图;Fig. 5 is a schematic flow chart of a fourth embodiment of the method for locking a car according to the present invention;

图6为本发明锁车方法一实施例中明锁锁车功能架构图;Fig. 6 is a functional framework diagram of an open lock car lock in an embodiment of the car lock method of the present invention;

图7为本发明锁车方法一实施例中暗锁锁车功能架构图;Fig. 7 is a functional framework diagram of built-in lock car lock in an embodiment of the car lock method of the present invention;

图8为本发明锁车装置第一实施例的结构框图。Fig. 8 is a structural block diagram of the first embodiment of the vehicle locking device of the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

参照图1,图1为本发明实施例方案涉及的硬件运行环境的锁车设备结构示意图。Referring to FIG. 1 , FIG. 1 is a schematic structural diagram of a car locking device in a hardware operating environment involved in an embodiment of the present invention.

如图1所示,该锁车设备可以包括:处理器1001,例如中央处理器(CentralProcessing Unit,CPU),通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如无线保真(Wireless-Fidelity,Wi-Fi)接口)。存储器1005可以是高速的随机存取存储器(RandomAccess Memory,RAM),也可以是稳定的非易失性存储器(Non-Volatile Memory,NVM),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1 , the car locking device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .

本领域技术人员可以理解,图1中示出的结构并不构成对锁车设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 1 does not constitute a limitation to the car locking device, and may include more or less components than shown in the figure, or combine some components, or arrange different components.

如图1所示,作为一种存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及锁车程序。As shown in FIG. 1 , the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module and a car lock program.

在图1所示的锁车设备中,网络接口1004主要用于与网络服务器进行数据通信;用户接口1003主要用于与用户进行数据交互;本发明锁车设备中的处理器1001、存储器1005可以设置在锁车设备中,所述锁车设备通过处理器1001调用存储器1005中存储的锁车程序,并执行本发明实施例提供的锁车方法。In the car lock device shown in Figure 1, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the car lock device of the present invention can be It is set in the car locking device, and the car locking device invokes the car locking program stored in the memory 1005 through the processor 1001, and executes the car locking method provided by the embodiment of the present invention.

本发明实施例提供了一种锁车方法,参照图2,图2为本发明锁车方法第一实施例的流程示意图。An embodiment of the present invention provides a method for locking a car. Referring to FIG. 2 , FIG. 2 is a schematic flowchart of a first embodiment of the method for locking a car according to the present invention.

本实施例中,所述锁车方法包括以下步骤:In this embodiment, the method for locking the car includes the following steps:

步骤S10:在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态。Step S10: When the vehicle lock command is received, inquire about the status of the vehicle lock terminal according to the vehicle lock command.

需要说明的是,本实施例的执行主体为锁车设备,例如:T-BOX、服务器、计算机、车载电脑等,还可为其他可实现相同或相似功能的设备,本实施例对此不作限制,本实施例以锁车设备为例进行说明。It should be noted that the execution subject of this embodiment is the car locking device, such as: T-BOX, server, computer, vehicle-mounted computer, etc., and it can also be other devices that can realize the same or similar functions, and this embodiment does not limit this , this embodiment takes the car locking device as an example for illustration.

在具体实施中,锁车指令可通过车辆管理中心或用户发送锁车请求生成的锁车指令。并将锁车指令发送给车联网平台,车联网平台可为商用车车联网平台,本实施例对此不加以限定。当车联网平台接收到锁车指令时,根据锁车指令查询锁车终端的状态,从而确定锁车终端的联网状态是否正常。In a specific implementation, the vehicle lock instruction may be a vehicle lock instruction generated by a vehicle management center or a user sending a vehicle lock request. And send the car locking instruction to the Internet of Vehicles platform. The Internet of Vehicles platform may be a commercial vehicle Internet of Vehicles platform, which is not limited in this embodiment. When the car networking platform receives the car lock command, it queries the status of the car lock terminal according to the car lock command, so as to determine whether the networking status of the car lock terminal is normal.

应理解的是,锁车终端状态指的是IVT的状态,可在接收到锁车指令后,查询车辆的IVT的状态,IVT状态包括正常联网状态、离线状态以及被拆除状态等,本实施例对此不作限制。It should be understood that the state of the lock terminal refers to the state of the IVT. After receiving the lock command, the state of the IVT of the vehicle can be queried. The state of the IVT includes the normal network state, the offline state, and the removed state. There is no limit to this.

步骤S20:在所述锁车终端状态正常时,获取发动机状态。Step S20: Obtain the engine state when the state of the lock terminal is normal.

在本实施例中,锁车终端状态正常指的是IVT联网状态正常,包括车联网平台与IVT之间联网正常、IVT与发动机联网正常,CAN(Controller Area Network,控制器域网)总线连接正常以及车辆的天线连接正常。In this embodiment, the normal state of the locking terminal refers to the normal state of the IVT networking, including the normal networking between the Internet of Vehicles platform and the IVT, the normal networking between the IVT and the engine, and the normal connection of the CAN (Controller Area Network, controller area network) bus And the vehicle's antenna connection is normal.

需要说明的是,当锁车终端状态正常时,可对车辆进行主动锁车或者主动解锁,对车辆进行主动锁车包括对车辆进行明锁主动锁车和暗锁主动锁车,当车辆的发动机状态正常时,可对车辆进行明锁主动锁车,从而完成车辆的主动锁车。当车辆的发动机状态异常,例如发动机被恶意盗刷时,明锁的主动锁车失效,车辆可能存在安全风险,可对车辆进行暗锁主动锁车,保障车辆的安全,因此可获取发动机状态,从而确定需要对车辆进行明锁主动锁车还是暗锁主动锁车。It should be noted that when the lock terminal is in normal state, the vehicle can be actively locked or unlocked. The active lock of the vehicle includes the active lock of the open lock and the active lock of the concealed lock. When the engine state of the vehicle Under normal circumstances, the vehicle can be locked and actively locked, so as to complete the active locking of the vehicle. When the engine state of the vehicle is abnormal, for example, when the engine is maliciously stolen, the active lock of the open lock will fail, and the vehicle may have a safety risk. The vehicle can be locked and actively locked to ensure the safety of the vehicle, so the engine state can be obtained, thereby Determine whether the vehicle needs to be actively locked with an open lock or an active lock with a concealed lock.

进一步地,发动机的状态包括发动机状态正常和发动机状态异常,则在获取发动机状态之后的步骤,还包括:在所述发动机状态正常时,生成明锁状态查询指令至锁车终端;接收所述锁车终端反馈的明锁状态;在所述明锁状态处于激活状态时,生成明锁主动锁车指令至所述锁车终端,以使所述锁车终端基于所述明锁主动锁车指令通过预设锁车协议对所述车辆进行明锁主动锁车。Further, the state of the engine includes a normal state of the engine and an abnormal state of the engine, and the step after obtaining the state of the engine further includes: when the state of the engine is normal, generating an open lock state inquiry command to the lock terminal; receiving the lock The open lock state fed back by the car terminal; when the open lock state is activated, generate an open lock active lock command to the lock terminal, so that the lock terminal can pass the open lock active lock command based on the open lock The preset locking protocol implements open locking and active locking on the vehicle.

可以理解的是,当获取到发动机状态正常时,说明此时可只对车辆进行明锁主动锁车即可实现用户的锁车需求。在对车辆进行明锁锁车时,需要进行明锁状态查询,车联网平台根据接收到的锁车指令下发明锁锁车状态查询指令至车辆的锁车终端,锁车终端根据明锁锁车状态查询指令查询发动机的明锁功能的激活状态和锁车状态。发动机电子控制器会周期性发出发动机的锁车状态至锁车终端,因此锁车终端可直接通过发动机电子控制器获取发动机的锁车状态。It can be understood that when the engine state is obtained to be normal, it means that the user's car locking requirement can be realized by only performing an open and active locking of the vehicle at this time. When the vehicle is locked with an open lock, it is necessary to query the state of the open lock. The Internet of Vehicles platform invents the query command for the lock state of the vehicle according to the received lock command and sends it to the vehicle's lock terminal. The lock terminal locks the vehicle according to the open lock. The state query command queries the activation state of the open lock function of the engine and the locked state of the vehicle. The engine electronic controller will periodically send the engine lock status to the lock terminal, so the lock terminal can directly obtain the engine lock status through the engine electronic controller.

明锁状态指的是发动机的明锁功能的激活状态和发动机的锁车状态。车辆网平台接收到锁车终端反馈的明锁状态后,可确定明锁状态是否被激活,当检测到明锁状态处于激活状态且发动机未上锁时,可生成明锁主动锁车指令至锁车终端,通过锁车终端根据明锁主动锁车指令得到预设锁车协议,并通过预设锁车协议对车辆进行明锁主动锁车。The open lock state refers to the activated state of the open lock function of the engine and the locked state of the engine. After the vehicle network platform receives the open lock status feedback from the lock terminal, it can determine whether the open lock state is activated. When it detects that the open lock state is activated and the engine is not locked, it can generate an open lock active lock command to the lock The car terminal obtains the preset car lock agreement through the car lock terminal according to the open lock active lock command, and performs open lock active lock on the vehicle through the preset lock agreement.

预设锁车协议指的是车辆的私有锁车协议,适用于安装了新国标记录仪、发动机电子控制器且发动机支持私有锁车协议的燃油商用车。当车辆的明锁功能的状态未激活时,车联网平台可下发激活指令至锁车终端,锁车终端通过激活指令与发动机进行握手校验建立唯一绑定关系,在握手校验结果为握手校验成功时,明锁锁车功能激活,激活后可进行明锁主动锁车、明锁离线锁车以及明锁防拆锁车。可通过确定锁车终端的状态情况进行相对应的锁车和解锁。而锁车终端状态正常,则可对车辆进行明锁主动锁车。在明锁的锁车功能激活前或关闭后无法使用任何形式的锁车功能。The preset lock agreement refers to the vehicle's private lock agreement, which is applicable to fuel commercial vehicles installed with new national standard recorders, engine electronic controllers and engines that support private lock agreements. When the status of the vehicle's open lock function is not activated, the Internet of Vehicles platform can issue an activation command to the car lock terminal, and the car lock terminal performs a handshake verification with the engine through the activation command to establish a unique binding relationship, and the handshake verification result is a handshake When the verification is successful, the open lock car lock function is activated. After activation, the open lock active lock, the open lock offline lock and the open lock anti-tampering lock can be performed. Corresponding locking and unlocking can be performed by determining the status of the locking terminal. If the status of the lock terminal is normal, the vehicle can be locked and actively locked. It is not possible to use any form of locking function before the locking function of the open lock is activated or after it is turned off.

步骤S30:在所述发动机状态异常时,生成暗锁主动锁车指令至锁车终端,以使所述锁车终端根据所述暗锁主动锁车指令对所述车辆进行暗锁主动锁车。Step S30: When the state of the engine is abnormal, generate a built-in lock active lock command to the car lock terminal, so that the car lock terminal performs built-in lock active lock on the vehicle according to the built-in lock active lock command.

需要说明的是,发动机状态异常指的是发动机被恶意盗刷,还可为其他对发动机恶意损坏的异常状态。It should be noted that the abnormal state of the engine means that the engine has been maliciously stolen, and may also be other abnormal states of malicious damage to the engine.

在具体实施中,当发动机状态异常且锁车终端状态正常时,说明此时的明锁锁车功能已经失效,需要启动车辆的暗锁主动锁车。当需要对车辆进行暗锁锁车时,需要先确定车辆的暗锁状态,因此车联网平台下发暗锁状态查询指令至锁车终端,锁车终端接收到暗锁状态查询指令后,下发查询指令至车身控制器,车身控制器查询暗锁功能的激活状态和锁车状态至锁车终端,当暗锁功能处于未激活状态时,车联网平台下发暗锁激活指令至锁车终端,锁车终端接收到暗锁激活指令后,与车身控制器握手校验建立唯一绑定关系,激活暗锁锁车功能,从而通过锁车终端对车辆进行暗锁主动锁车,还可在达到符合其他锁车条件时,触发暗锁离线锁车或暗锁防拆锁车。In specific implementation, when the state of the engine is abnormal and the state of the lock terminal is normal, it means that the open lock function has failed at this time, and it is necessary to activate the concealed lock of the vehicle to actively lock the car. When it is necessary to lock the vehicle with a built-in lock, it is necessary to determine the built-in lock status of the vehicle first. Therefore, the Internet of Vehicles platform sends a built-in lock status query command to the car lock terminal. After receiving the built-in lock status query command, the car lock terminal sends a query command to the vehicle body The controller and the vehicle body controller inquire about the activation status of the built-in lock function and the car lock status to the car lock terminal. When the built-in lock function is not activated, the Internet of Vehicles platform sends a hidden lock activation command to the car lock terminal, and the car lock terminal receives the built-in lock activation. After the command, shake hands with the body controller to verify the establishment of a unique binding relationship, activate the built-in lock function, so as to actively lock the vehicle through the lock terminal, and trigger the built-in lock offline lock when other lock conditions are met. car or built-in anti-tamper lock car.

进一步地,当对车辆进行锁车之后,还可获取所述车辆的锁车状态;将所述锁车状态进行标记,以对所述车辆进行锁车追溯。Further, after the vehicle is locked, the locked state of the vehicle can also be obtained; the locked state can be marked to trace back the locked vehicle.

需要说明的是,当车联网平台判断车辆即将锁车或者已发生锁车后,可获取车辆的锁车状态,可通过车辆的锁车预警和锁车报警功能对车辆的锁车状态进行标记,还可根据车辆的锁车状态进行问题标注,记录车辆的锁车状态和锁车触发、解除等信息,从而后续可根据锁车状态对车辆进行锁车追溯降低误锁车的比例。It should be noted that when the Internet of Vehicles platform determines that the vehicle is about to be locked or has already occurred, it can obtain the vehicle's locked status, and can mark the vehicle's locked status through the vehicle's lock warning and lock alarm functions. Problems can also be marked according to the lock status of the vehicle, and information such as the lock status of the vehicle and the trigger and release of the lock can be recorded, so that the vehicle can be retroactively locked according to the lock status to reduce the proportion of accidental locks.

本实施例通过在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态;在所述锁车终端状态正常时,获取发动机状态;在所述发动机状态异常时,生成暗锁主动锁车指令至锁车终端,以使所述锁车终端根据所述暗锁主动锁车指令对所述车辆进行暗锁主动锁车,可在发动机出现异常情况时,使用车辆的暗锁进行主动锁车,使车辆的锁车功能升级,提高车辆的安全性。In this embodiment, when the lock command is received, the lock terminal status of the vehicle is inquired according to the lock command; when the lock terminal status is normal, the engine status is acquired; when the engine status is abnormal, a built-in lock is generated The active lock command is sent to the lock terminal, so that the lock terminal can perform concealed lock and active lock on the vehicle according to the concealed lock active lock command, and the vehicle's built-in lock can be used to actively lock the vehicle when an abnormal situation occurs in the engine , to upgrade the locking function of the vehicle and improve the safety of the vehicle.

参考图3,图3为本发明锁车方法第二实施例的流程示意图。Referring to FIG. 3 , FIG. 3 is a schematic flowchart of a second embodiment of the method for locking a car according to the present invention.

基于上述第一实施例,本实施例锁车方法所述步骤S10,具体包括:Based on the above-mentioned first embodiment, the step S10 of the method for locking the car in this embodiment specifically includes:

步骤S101:在接收到锁车指令时,根据所述锁车指令查询锁车终端的联网状态、CAN总线状态以及天线状态。Step S101: When a car lock command is received, query the network status, CAN bus status and antenna status of the car lock terminal according to the car lock command.

需要说明的是,锁车终端状态包括锁车终端的联网状态、车辆的CAN总线状态以及车辆的天线状态。锁车终端的联网状态包括锁车终端与车联网平台的联网状态以及锁车终端与发动机的联网状态,CAN总线状态包括CAN总线连接和CAN总线被拆除,天线状态包括天线连接和天线被拆除。It should be noted that the state of the car locking terminal includes the networking state of the car locking terminal, the state of the CAN bus of the vehicle, and the state of the antenna of the vehicle. The networking status of the car lock terminal includes the networking status of the car locking terminal and the car networking platform and the networking status of the car locking terminal and the engine, the CAN bus status includes CAN bus connection and CAN bus removal, and the antenna status includes antenna connection and antenna removal.

步骤S102:根据所述锁车终端的联网状态、所述CAN总线状态以及所述天线状态得到车辆的锁车终端状态。Step S102: Obtain the status of the vehicle locking terminal according to the networking status of the locking terminal, the status of the CAN bus and the status of the antenna.

在具体实施中,当获取到锁车终端的联网状态、CAN总线状态以及天线状态后,可根据锁车终端的联网状态、CAN总线状态以及天线状态确定车辆的锁车终端状态。例如锁车终端的联网状态正常、CAN总线状态为CAN总线连接、天线状态为天线连接,则锁车终端状态为锁车终端状态正常。若锁车终端的联网状态异常、CAN总线状态为CAN总线连接、天线状态为天线被拆除,则锁车终端状态为锁车终端处于离线状态。若锁车终端的联网状态异常、CAN总线被拆除、天线被拆除,则锁车终端状态为锁车终端处于被拆除状态。从而可根据锁车终端状态进行不同类型的锁车。In a specific implementation, after acquiring the networking status, CAN bus status and antenna status of the car locking terminal, the status of the vehicle locking terminal can be determined according to the networking status, CAN bus status and antenna status of the car locking terminal. For example, if the networking status of the car lock terminal is normal, the CAN bus status is CAN bus connection, and the antenna status is antenna connection, then the car lock terminal status is normal. If the network status of the car lock terminal is abnormal, the status of the CAN bus is CAN bus connection, and the status of the antenna is that the antenna is removed, then the status of the car lock terminal is that the car lock terminal is offline. If the networking status of the car lock terminal is abnormal, the CAN bus is removed, and the antenna is removed, the state of the car lock terminal is that the car lock terminal is in a removed state. Therefore, different types of car locking can be performed according to the state of the car locking terminal.

本实施例通过在接收到锁车指令时,根据所述锁车指令查询锁车终端的联网状态、CAN总线状态以及天线状态;根据所述锁车终端的联网状态、所述CAN总线状态以及所述天线状态得到车辆的锁车终端状态。可快速根据锁车终端状态对车辆进行相对应的锁车,覆盖车辆的各种锁车场景,进一步提高车辆的安全性和用户的使用体验。In this embodiment, when a car lock command is received, query the network status, CAN bus status and antenna status of the car lock terminal according to the car lock command; according to the network status of the car lock terminal, the CAN bus status and the The state of the above antenna is used to obtain the state of the lock terminal of the vehicle. The vehicle can be quickly locked according to the status of the locking terminal, covering various locking scenarios of the vehicle, and further improving the safety of the vehicle and the user experience.

参考图4,图4为本发明锁车方法第三实施例的流程示意图。Referring to FIG. 4 , FIG. 4 is a schematic flow chart of a third embodiment of the vehicle locking method of the present invention.

基于上述第一和第二实施例,本实施例锁车方法在所述步骤S10之后,还包括:Based on the first and second embodiments above, the method for locking the car in this embodiment, after the step S10, further includes:

步骤S11:在所述锁车终端的联网状态异常、所述CAN总线正常以及所述天线被拆除时,确定所述锁车终端处于离线状态。Step S11: determining that the car locking terminal is in an offline state when the networking status of the car locking terminal is abnormal, the CAN bus is normal, and the antenna is removed.

需要说明的是,当锁车终端的联网状态异常,CAN总线正常以及天线被拆除,锁车终端无法与车联网平台连接,因此确定锁车终端处于离线状态。It should be noted that when the network status of the car lock terminal is abnormal, the CAN bus is normal and the antenna is removed, the car lock terminal cannot be connected to the Internet of Vehicles platform, so it is determined that the car lock terminal is offline.

步骤S12:获取发动机状态和所述锁车终端的离线时间。Step S12: Obtain the engine status and the offline time of the lock terminal.

在具体实施中,当锁车终端处于离线状态后,可进一步确定锁车终端是否为被恶意离线,则可通过锁车终端的离线时间确定,并获取发动机状态确定发动机是否异常,以确定对车辆使用明锁锁车还是暗锁锁车。In the specific implementation, when the car lock terminal is in the offline state, it can be further determined whether the car lock terminal is maliciously offline, then it can be determined by the offline time of the car lock terminal, and obtain the engine state to determine whether the engine is abnormal, so as to determine whether the vehicle is abnormal. Use an open lock or a concealed lock to lock the car.

步骤S13:在所述发动机状态异常且所述锁车终端的离线时间超过预设离线时间时,生成明锁离线锁车指令至发动机,以使所述发动机基于所述明锁离线锁车指令通过预设锁车协议对所述车辆进行明锁离线锁车。Step S13: When the state of the engine is abnormal and the offline time of the lock terminal exceeds the preset offline time, generate an open lock offline lock command to the engine, so that the engine passes through the open lock offline lock command based on the open lock offline lock command. The preset lock protocol performs open lock and offline lock on the vehicle.

需要说明的是,预设离线时间可根据用户需求或车辆型号进行设置,例如15天、20天、30天等,本实施例对此不作限制,本实施例以30天为例进行说明。It should be noted that the preset offline time can be set according to user requirements or vehicle models, such as 15 days, 20 days, 30 days, etc. This embodiment does not limit this, and this embodiment uses 30 days as an example for illustration.

应理解的是,当锁车终端的离线时间超过预设离线时间时,判定锁车终端被恶意操作离线,因此需要对车辆进行离线锁车。可通过确定发动机状态确定具体的离线锁车类型。当发动机的状态正常时,锁车终端向车辆发动机电子控制器下发明锁离线锁车指令,触发明锁离线锁车,通过私有协议对车辆进行上锁,当锁车终端与车联网平台之间的连接恢复后,锁车终端可向发东西发送解锁指令进行解锁。It should be understood that when the offline time of the car lock terminal exceeds the preset offline time, it is determined that the car lock terminal has been maliciously operated offline, and therefore the vehicle needs to be locked offline. The specific type of offline lock can be determined by determining the engine status. When the state of the engine is normal, the car lock terminal sends an instruction to the electronic controller of the vehicle engine to invent and lock the car offline, trigger the car to lock the car offline, and lock the car through a private protocol. When the car lock terminal and the Internet of Vehicles platform After the connection of the car is restored, the lock terminal can send an unlock command to Fadong to unlock it.

当发动机的状态异常且锁车终端的离线时间超过预设离线时间时,需要同时对车辆进行明锁离线锁车和暗锁离线锁车,在明锁离线锁车的基础上进行暗锁离线锁车。生成明锁离线锁车指令至发动机电子控制器,通过电子控制器控制发动机以私有锁车协议对车辆进行明锁离线锁车。When the state of the engine is abnormal and the offline time of the lock terminal exceeds the preset offline time, it is necessary to carry out both the open lock offline lock and the hidden lock offline lock on the vehicle at the same time, and the hidden lock offline lock on the basis of the open lock offline lock. Generate an open lock offline lock command to the engine electronic controller, and the electronic controller controls the engine to perform open lock offline lock on the vehicle with a private lock protocol.

步骤S14:生成暗锁离线锁车指令至车辆的车身控制器,以使所述车身控制器基于所述暗锁离线锁车指令通过扭矩请求报文对所述车辆进行暗锁离线锁车。Step S14: Generate a built-in offline lock command to the body controller of the vehicle, so that the body controller performs a built-in offline lock on the vehicle through a torque request message based on the built-in offline lock command.

需要说明的是,扭矩请求报文是指限制发动机扭矩或转速的报文,扭矩请求报文可为TSC1报文,TSC1报文是《SAEJ1939-71商用车控制系统局域网络(CAN总线)通讯协议第5部分应用层—车辆》定义的适用商用车的通用报文。在生成明锁离线锁车指令的同时,锁车终端还向车身控制器下发暗锁离线锁车指令,车身控制器接收到暗锁离线锁车指令后,对车辆的发动机通过扭矩请求报文对车辆进行暗锁离线锁车。It should be noted that the torque request message refers to a message that limits the engine torque or speed, and the torque request message can be a TSC1 message, and the TSC1 message is the "SAEJ1939-71 Commercial Vehicle Control System Local Area Network (CAN Bus) Communication Protocol". General messages applicable to commercial vehicles defined in Part 5 Application Layer—Vehicles. While generating the open lock offline lock command, the lock terminal also sends a hidden lock offline lock command to the body controller. After receiving the built-in lock offline lock command, the body controller sends a torque request message to the vehicle engine to Carry out built-in lock to lock the car offline.

本实施例通过在所述锁车终端的联网状态异常、所述CAN总线正常以及所述天线被拆除时,确定所述锁车终端处于离线状态;获取发动机状态和所述锁车终端的离线时间;在所述发动机状态异常且所述锁车终端的离线时间超过预设离线时间时,生成明锁离线锁车指令至发动机,以使所述发动机基于所述明锁离线锁车指令通过预设锁车协议对所述车辆进行明锁离线锁车;生成暗锁离线锁车指令至车辆的车身控制器,以使所述车身控制器基于所述暗锁离线锁车指令通过扭矩请求报文对所述车辆进行暗锁离线锁车,在锁车终端联网状态异常且发动机异常时,可同时对车辆进行明锁离线锁车和暗锁离线锁车,通过对车辆进行双重锁车,提高车辆的安全性。In this embodiment, when the networking status of the car-locking terminal is abnormal, the CAN bus is normal, and the antenna is removed, it is determined that the car-locking terminal is in an offline state; the engine state and the offline time of the car-locking terminal are acquired ; When the state of the engine is abnormal and the offline time of the lock terminal exceeds the preset offline time, generate an open lock offline lock command to the engine, so that the engine passes the preset time based on the open lock offline lock command The car locking protocol performs open locking and offline locking on the vehicle; generates a built-in lock offline lock command to the vehicle body controller, so that the body controller transmits a torque request message to the vehicle body controller based on the built-in lock offline lock command. The vehicle is locked offline with a built-in lock. When the locking terminal is abnormally connected to the network and the engine is abnormal, the vehicle can be locked offline with an open lock and an offline lock with a built-in lock at the same time. By double locking the vehicle, the safety of the vehicle is improved.

参考图5,图5为本发明锁车方法第四实施例的流程示意图。Referring to FIG. 5 , FIG. 5 is a schematic flowchart of a fourth embodiment of the method for locking a car according to the present invention.

基于上述第一和第二实施例,本实施例锁车方法在所述步骤S10之后,还包括:Based on the first and second embodiments above, the method for locking the car in this embodiment, after the step S10, further includes:

步骤S11:在所述锁车终端的联网状态异常、所述CAN总线被拆除以及所述天线被拆除时,确定所述锁车终端处于被拆除状态。Step S11 ' : When the networking state of the car-locking terminal is abnormal, the CAN bus is removed, and the antenna is removed, determine that the car-locking terminal is in a state of being removed.

需要说明的是,当锁车终端的联网状态异常,CAN总线被拆除以及天线被拆除,确定锁车终端处于被拆除状态。It should be noted that when the networking status of the car lock terminal is abnormal, the CAN bus and the antenna are removed, it is determined that the car lock terminal is in the removed state.

步骤S12′:获取发动机与锁车终端之间的握手校验结果和发动机状态。Step S12': Obtain the handshake verification result and engine status between the engine and the car lock terminal.

在具体实施中,当锁车终端被拆除时,锁车终端下发的指令发动机可能无法接收,因此需要获取发动机与锁车终端之间的握手校验结果以及发动机的状态。当发动机与所述锁车终端之间的握手校验结果为握手成功时,证明锁车终端下发的指令发动机可以接收,锁车终端还未被拆除。In a specific implementation, when the car lock terminal is removed, the engine may not be able to receive the command issued by the car lock terminal, so it is necessary to obtain the handshake verification result between the engine and the car lock terminal and the state of the engine. When the handshake verification result between the engine and the car lock terminal is a successful handshake, it proves that the command issued by the car lock terminal can be received by the engine, and the car lock terminal has not been removed.

步骤S13′:在所述握手校验结果为握手失败且所述发动机状态异常时,生成明锁防拆锁车指令和暗锁防拆锁车指令。Step S13': When the result of the handshake verification is that the handshake fails and the state of the engine is abnormal, generate an open lock anti-tamper and locked car command and a hidden lock anti-tamper locked car command.

在握手校验结果为握手失败时,说明锁车终端被拆除,因此需要对车辆进行防拆锁车,可包括明锁防拆锁车和暗锁防拆锁车,具体可根据发动机状态进行选择,当发动机状态正常时,可只对车辆进行明锁防拆锁车,因此发动机自身生成明锁防拆锁车指令,并在下一个上电周期通过私有锁车协议进行明锁防拆锁车,触发条件为在本次上电循环中,监测到锁车终端被拆除,则在下一次上电循环周期触发明锁防拆锁车,对发动机的转速和扭矩进行限制,当发动机电子控制器与锁车终端握手校验结果为握手成功时,发动机自行解除限制扭矩和转速的状态,解除明锁防拆锁车。When the handshake verification result shows that the handshake fails, it means that the car lock terminal has been dismantled, so the car needs to be tamper-proof, which can include open-lock anti-tamper lock cars and concealed lock anti-tamper-lock cars, which can be selected according to the engine status. When the engine is in a normal state, only the vehicle can be unlocked and anti-tampered, so the engine itself generates an instruction for anti-tampering, and in the next power-on cycle, it will perform an anti-tampering lock through the private locking protocol, triggering The condition is that in this power-on cycle, if the lock terminal is detected to be dismantled, the lock will be triggered in the next power-on cycle to limit the speed and torque of the engine. When the engine electronic controller and the lock When the terminal handshake verification result is a successful handshake, the engine will automatically release the state of limiting torque and speed, and release the open lock anti-tampering lock.

步骤S14:根据所述明锁防拆锁车指令限制所述发动机的转速和扭矩,以实现对所述车辆的明锁防拆锁车。Step S14 : Limiting the rotational speed and torque of the engine according to the open-lock anti-tamper-lock vehicle command, so as to realize the open-lock anti-tamper-lock vehicle of the vehicle.

当发动机的状态异常时,需要同时触发明锁防拆锁车以及暗锁防拆锁车,因此生成明锁防拆锁车指令和暗锁防拆锁车指令,发动机通过明锁防拆锁车指令在下一个上电周期通过私有锁车协议进行明锁防拆锁车。When the state of the engine is abnormal, it is necessary to trigger both the anti-tampering lock car with the lock and the car with the anti-tamper lock A power-on cycle uses a private car lock protocol to lock the car with anti-tampering.

步骤S15′:根据所述暗锁防拆锁车指令得到扭矩请求报文,并根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制,以实现对所述车辆的暗锁防拆锁车。Step S15': Obtain a torque request message according to the built-in lock anti-tamper lock command, and limit the speed and torque of the engine according to the torque request message, so as to realize the built-in lock anti-tamper lock of the vehicle .

在本实施例中,发动机通过暗锁防拆锁车指令得到扭矩请求报文,并得到具体限制发动机的转数,例如1000转,通过扭矩请求报文对发动机的转速限制在1000转,并限制发动机的扭矩。In this embodiment, the engine obtains the torque request message through the built-in lock anti-tamper lock command, and obtains a specific limit on the number of revolutions of the engine, such as 1000 revolutions. The torque request message is used to limit the speed of the engine to 1000 revolutions, and limit the engine torque.

具体地,对车辆进行暗锁防拆锁车的步骤具体包括:在预设上电周期内未检测到所述锁车终端的反馈信息时,根据所述暗锁防拆锁车指令得到扭矩请求报文;根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制。Specifically, the step of performing built-in lock and anti-tamper locking on the vehicle includes: obtaining a torque request message according to the command of the built-in lock and anti-tamper lock when no feedback information from the lock terminal is detected within the preset power-on period ; Limiting the rotational speed and torque of the engine according to the torque request message.

应理解的是,预设上电周期可根据需求自行设置,例如3个上电周期、4个上电周期等,本实施例以3个上电周期为例进行说明。触发暗锁防拆锁车的条件为在发动机电子控制器连续3个上电周期内无法获取到锁车终端的反馈信息,则在下一个上电周期根据暗锁防拆锁车指令生成扭矩请求报文,并将扭矩请求报文发送给发动机,从而控制发动机限速限扭。It should be understood that the preset power-on cycle can be set according to requirements, for example, 3 power-on cycles, 4 power-on cycles, etc., and this embodiment uses 3 power-on cycles as an example for illustration. The condition for triggering the built-in lock and anti-tampering locked car is that the engine electronic controller cannot obtain the feedback information from the car-locking terminal within 3 consecutive power-on cycles, then in the next power-on cycle, a torque request message is generated according to the built-in lock anti-tampering and locked car command, And send the torque request message to the engine, so as to control the speed limit and torque limit of the engine.

具体地,所述根据所述暗锁防拆锁车指令得到扭矩请求报文,并根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制之后,还包括:在检测到所述锁车终端的反馈信息时,生成解除防拆锁车指令;根据所述解除防拆锁车指令对所述车辆解除暗锁防拆锁车。Specifically, after obtaining the torque request message according to the built-in lock anti-tampering and locking the car instruction, and limiting the engine speed and torque according to the torque request message, it also includes: after detecting the locked car When the feedback information is received from the terminal, an instruction to release the anti-tamper lock vehicle is generated; according to the instruction to release the anti-tamper lock vehicle, the built-in lock anti-tamper lock vehicle is released for the vehicle.

当发动机电子控制器重新监测到锁车终端的反馈信息后,可生成解除防拆锁车指令,对车辆解除锁车。When the engine electronic controller re-monitors the feedback information from the lock terminal, it can generate an anti-tamper lock command to unlock the vehicle.

如图6所示,图6为本实施例中明锁锁车功能架构图。分为明锁主动锁车、明锁离线锁车以及明锁防拆锁车。当锁车终端状态正常时,锁车发起方为车联网平台,通过车联网平台下发明锁主动锁车指令至IVT,通过IVT与发动机进行通信对车辆进行明锁主动锁车。当锁车终端状态为离线状态时,锁车发起方为IVT,通过IVT下发明锁离线锁车指令至发动机,从而对车辆进行明锁离线锁车。当锁车终端状态为被拆除状态,锁车发起方为发动机,通过发送机对自身的扭矩和转速进行控制,实现车辆的明锁防拆锁车。As shown in FIG. 6 , FIG. 6 is a functional framework diagram of an open-lock car lock in this embodiment. It is divided into open lock active car lock, open lock offline car lock and open lock anti-tamper lock car. When the status of the lock terminal is normal, the initiator of the lock is the Internet of Vehicles platform, and the active lock command is sent to the IVT through the Internet of Vehicles platform, and the vehicle is actively locked through the communication between the IVT and the engine. When the state of the lock terminal is offline, the initiator of the lock is IVT, and the offline lock command is sent to the engine through the IVT, so that the vehicle can be locked and locked offline. When the locked car terminal is in the dismantled state, the initiator of the locked car is the engine, which controls its own torque and speed through the transmitter to realize the open lock and anti-tamper lock of the vehicle.

如图7所示,图7为本实施例中暗锁锁车功能架构图。暗锁锁车分为暗锁主动锁车、暗锁离线锁车以及暗锁防拆锁车。当锁车终端状态正常且发动机状态异常时,锁车发起方为车联网平台,通过车联网平台下发暗锁主动锁车指令至IVT,通过IVT传输至车身控制器,通过BCM(车身控制器)控制车辆发动机,从而实现车辆的暗锁主动锁车。当锁车终端为离线状态且发动机状态异常时,锁车发起方为IVT,通过IVT发送暗锁离线锁车指令至车身控制器,通过车身控制器控制车辆发动机,实现车辆的暗锁离线锁车。当锁车终端状态为被拆除状态且发动机状态异常时,锁车发起方为车身控制器,通过车身控制器对车辆发动机进行控制,实现车辆的暗锁防拆锁车。As shown in FIG. 7 , FIG. 7 is a functional architecture diagram of the built-in lock and car lock in this embodiment. Built-in lock car locks are divided into built-in lock automatic lock car, built-in lock offline car lock and built-in lock anti-dismantle lock car. When the state of the lock terminal is normal and the state of the engine is abnormal, the initiator of the lock is the Internet of Vehicles platform, which sends the hidden lock active lock command to the IVT through the Internet of Vehicles platform, and transmits it to the body controller through the IVT, and then through the BCM (body controller) Control the vehicle engine, so as to realize the active locking of the vehicle. When the car lock terminal is offline and the engine status is abnormal, the car lock initiator is IVT, which sends the built-in lock offline lock command to the body controller through IVT, and controls the vehicle engine through the body controller to realize the built-in lock offline lock of the vehicle. When the state of the lock terminal is dismantled and the engine state is abnormal, the initiator of the lock is the body controller, which controls the engine of the vehicle through the body controller to realize the built-in lock and anti-tamper lock of the vehicle.

本实施例通过在所述锁车终端的联网状态异常、所述CAN总线被拆除以及所述天线被拆除时,确定所述锁车终端处于被拆除状态;获取发动机与锁车终端之间的握手校验结果和发动机状态;在所述握手校验结果为握手失败且所述发动机状态异常时,生成明锁防拆锁车指令和暗锁防拆锁车指令;根据所述明锁防拆锁车指令限制所述发动机的转速和扭矩,以实现对所述车辆的明锁防拆锁车;根据所述暗锁防拆锁车指令得到扭矩请求报文,并根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制,以实现对所述车辆的暗锁防拆锁车,可在锁车终端被拆除时,同时对车辆进行明锁防拆锁车和暗锁防拆锁车,提高车辆的安全性。In this embodiment, when the networking state of the car lock terminal is abnormal, the CAN bus is removed, and the antenna is removed, it is determined that the car lock terminal is in the removed state; and the handshake between the engine and the car lock terminal is obtained Verify the result and the engine state; when the handshake verification result is a handshake failure and the engine state is abnormal, generate an open lock anti-dismantlement lock command and a concealed lock anti-dismantle lock vehicle instruction; according to the open lock anti-dismantle lock car instruction to limit the speed and torque of the engine, so as to realize the open lock and anti-tampering lock of the vehicle; obtain the torque request message according to the hidden lock and anti-tamper lock car instruction, and according to the torque request message to the The speed and torque of the engine are limited to realize the built-in lock and anti-dismantle lock of the vehicle. When the lock terminal is removed, the vehicle can be simultaneously locked and locked to improve the safety of the vehicle. safety.

参照图8,图8为本发明锁车装置第一实施例的结构框图。Referring to Fig. 8, Fig. 8 is a structural block diagram of the first embodiment of the vehicle locking device of the present invention.

如图8所示,本发明实施例提出的锁车装置包括:As shown in Figure 8, the car locking device proposed by the embodiment of the present invention includes:

查询模块10,用于在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态。The inquiry module 10 is configured to inquire about the state of the vehicle lock terminal according to the vehicle lock instruction when receiving the vehicle lock instruction.

获取模块20,用于在所述锁车终端状态正常时,获取发动机状态。The acquisition module 20 is configured to acquire the engine status when the lock terminal status is normal.

生成模块30,用于在所述发动机状态异常时,生成暗锁主动锁车指令至锁车终端,以使所述锁车终端根据所述暗锁主动锁车指令对所述车辆进行暗锁主动锁车。The generation module 30 is configured to generate a built-in lock active lock command to the car lock terminal when the engine state is abnormal, so that the lock terminal performs built-in lock active lock on the vehicle according to the built-in lock active lock command.

本实施例通过在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态;在所述锁车终端状态正常时,获取发动机状态;在所述发动机状态异常时,生成暗锁主动锁车指令至锁车终端,以使所述锁车终端根据所述暗锁主动锁车指令对所述车辆进行暗锁主动锁车,可在发动机出现异常情况时,使用车辆的暗锁进行主动锁车,使车辆的锁车功能升级,提高车辆的安全性。In this embodiment, when the lock command is received, the lock terminal status of the vehicle is inquired according to the lock command; when the lock terminal status is normal, the engine status is acquired; when the engine status is abnormal, a built-in lock is generated The active lock command is sent to the lock terminal, so that the lock terminal can perform concealed lock and active lock on the vehicle according to the concealed lock active lock command, and the vehicle's built-in lock can be used to actively lock the vehicle when an abnormal situation occurs in the engine , to upgrade the locking function of the vehicle and improve the safety of the vehicle.

在一实施例中,所述查询模块10,还用于在接收到锁车指令时,根据所述锁车指令查询锁车终端的联网状态、CAN总线状态以及天线状态;根据所述锁车终端的联网状态、所述CAN总线状态以及所述天线状态得到车辆的锁车终端状态。In an embodiment, the query module 10 is further configured to query the networking status, CAN bus status, and antenna status of the car lock terminal according to the car lock command when receiving the car lock command; according to the car lock terminal The network status of the vehicle, the status of the CAN bus and the status of the antenna are used to obtain the status of the lock terminal of the vehicle.

在一实施例中,所述查询模块10,还用于在所述锁车终端的联网状态异常、所述CAN总线正常以及所述天线被拆除时,确定所述锁车终端处于离线状态;获取发动机状态和所述锁车终端的离线时间;在所述发动机状态异常且所述锁车终端的离线时间超过预设离线时间时,生成明锁离线锁车指令至发动机,以使所述发动机基于所述明锁离线锁车指令通过预设锁车协议对所述车辆进行明锁离线锁车;生成暗锁离线锁车指令至车辆的车身控制器,以使所述车身控制器基于所述暗锁离线锁车指令通过扭矩请求报文对所述车辆进行暗锁离线锁车。In an embodiment, the query module 10 is further configured to determine that the car-locking terminal is offline when the networking status of the car-locking terminal is abnormal, the CAN bus is normal, and the antenna is removed; Engine state and the offline time of the lock terminal; when the engine state is abnormal and the offline time of the lock terminal exceeds the preset offline time, an open lock offline lock command is generated to the engine, so that the engine is based on The open lock offline lock command performs open lock offline lock on the vehicle through the preset lock protocol; generates a built-in lock offline lock command to the vehicle body controller, so that the body controller is offline based on the built-in lock The vehicle locking command performs internal locking and offline locking of the vehicle through the torque request message.

在一实施例中,所述查询模块10,还用于在所述锁车终端的联网状态异常、所述CAN总线被拆除以及所述天线被拆除时,确定所述锁车终端处于被拆除状态;获取发动机与锁车终端之间的握手校验结果和发动机状态;在所述握手校验结果为握手失败且所述发动机状态异常时,生成明锁防拆锁车指令和暗锁防拆锁车指令;根据所述明锁防拆锁车指令限制所述发动机的转速和扭矩,以实现对所述车辆的明锁防拆锁车;根据所述暗锁防拆锁车指令得到扭矩请求报文,并根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制,以实现对所述车辆的暗锁防拆锁车。In one embodiment, the query module 10 is further configured to determine that the car lock terminal is in a removed state when the networking status of the car lock terminal is abnormal, the CAN bus is removed, and the antenna is removed ; Obtain the handshake verification result and the engine state between the engine and the car lock terminal; when the handshake verification result is a handshake failure and the engine state is abnormal, generate an open lock anti-tamper lock car instruction and a hidden lock anti-tamper lock car command; limit the speed and torque of the engine according to the open lock anti-dismantlement lock command, so as to realize the open lock anti-dismantle lock vehicle of the vehicle; obtain a torque request message according to the hidden lock anti-dismantle lock vehicle command, And limit the rotational speed and torque of the engine according to the torque request message, so as to realize the built-in lock and anti-tamper lock of the vehicle.

在一实施例中,所述查询模块10,还用于在预设上电周期内未检测到所述锁车终端的反馈信息时,根据所述暗锁防拆锁车指令得到扭矩请求报文;根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制;具体地,所述根据所述暗锁防拆锁车指令得到扭矩请求报文,并根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制之后,还包括:在检测到所述锁车终端的反馈信息时,生成解除防拆锁车指令;根据所述解除防拆锁车指令对所述车辆解除暗锁防拆锁车。In an embodiment, the query module 10 is further configured to obtain a torque request message according to the built-in lock anti-tamper lock command when no feedback information from the lock terminal is detected within a preset power-on period; Limit the speed and torque of the engine according to the torque request message; specifically, the torque request message is obtained according to the built-in lock anti-tamper lock command, and the engine is limited according to the torque request message After the rotation speed and torque of the vehicle are limited, it also includes: when the feedback information from the lock terminal is detected, generating an instruction to release the anti-tamper lock; car.

在一实施例中,所述获取模块20,还用于在所述发动机状态正常时,生成明锁状态查询指令至锁车终端;接收所述锁车终端反馈的明锁状态;在所述明锁状态处于激活状态时,生成明锁主动锁车指令至所述锁车终端,以使所述锁车终端基于所述明锁主动锁车指令通过预设锁车协议对所述车辆进行明锁主动锁车。In an embodiment, the acquisition module 20 is further configured to generate an open lock state query command to the car lock terminal when the engine state is normal; receive the open lock state fed back by the car lock terminal; When the lock status is activated, generate an active lock command for the open lock to the lock terminal, so that the lock terminal can open lock the vehicle through the preset lock protocol based on the active lock lock instruction for the open lock Actively lock the car.

在一实施例中,所述生成模块30,还用于获取所述车辆的锁车状态;将所述锁车状态进行标记,以对所述车辆进行锁车追溯。In an embodiment, the generation module 30 is further configured to acquire the locked state of the vehicle; mark the locked state, so as to track the locked state of the vehicle.

此外,为实现上述目的,本发明还提出一种锁车设备,所述锁车设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的锁车程序,所述锁车程序配置为实现如上文所述的锁车方法的步骤。In addition, in order to achieve the above object, the present invention also proposes a car locking device, which includes: a memory, a processor, and a car locking program stored in the memory and operable on the processor. The above-mentioned car locking program is configured to implement the steps of the above-mentioned car locking method.

由于本锁车设备采用了上述所有实施例的全部技术方案,因此至少具有上述实施例的技术方案所带来的所有有益效果,在此不再一一赘述。Since the car locking device adopts all the technical solutions of all the above-mentioned embodiments, it at least has all the beneficial effects brought by the technical solutions of the above-mentioned embodiments, and will not be repeated here.

此外,本发明实施例还提出一种存储介质,所述存储介质上存储有锁车程序,所述锁车程序被处理器执行时实现如上文所述的锁车方法的步骤。In addition, an embodiment of the present invention also proposes a storage medium, on which a car locking program is stored, and when the car locking program is executed by a processor, the steps of the above-mentioned car locking method are implemented.

由于本存储介质采用了上述所有实施例的全部技术方案,因此至少具有上述实施例的技术方案所带来的所有有益效果,在此不再一一赘述。Since the storage medium adopts all the technical solutions of all the above-mentioned embodiments, it at least has all the beneficial effects brought by the technical solutions of the above-mentioned embodiments, which will not be repeated here.

应当理解的是,以上仅为举例说明,对本发明的技术方案并不构成任何限定,在具体应用中,本领域的技术人员可以根据需要进行设置,本发明对此不做限制。It should be understood that the above is only an example, and does not constitute any limitation to the technical solution of the present invention. In specific applications, those skilled in the art can make settings according to needs, and the present invention is not limited thereto.

需要说明的是,以上所描述的工作流程仅仅是示意性的,并不对本发明的保护范围构成限定,在实际应用中,本领域的技术人员可以根据实际的需要选择其中的部分或者全部来实现本实施例方案的目的,此处不做限制。It should be noted that the workflow described above is only illustrative and does not limit the protection scope of the present invention. In practical applications, those skilled in the art can select part or all of them to implement according to actual needs. The purpose of the scheme of this embodiment is not limited here.

另外,未在本实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的锁车方法,此处不再赘述。In addition, for technical details not described in detail in this embodiment, refer to the method for locking a car provided in any embodiment of the present invention, which will not be repeated here.

此外,需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。Furthermore, it should be noted that in this document, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or system comprising a set of elements includes not only those elements, but also other elements not expressly listed, or elements inherent in such a process, method, article, or system. Without further limitations, an element defined by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system comprising that element.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器(Read Only Memory,ROM)/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as a read-only memory (Read Only Memory) , ROM)/RAM, magnetic disk, optical disk), including several instructions to make a terminal device (which can be a mobile phone, computer, server, or network device, etc.) execute the methods described in various embodiments of the present invention.

以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process conversion made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.

Claims (10)

1.一种锁车方法,其特征在于,所述锁车方法包括:1. A method for locking a car, characterized in that, the method for locking a car comprises: 在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态;When receiving the lock instruction, query the lock terminal state of the vehicle according to the lock instruction; 在所述锁车终端状态正常时,获取发动机状态;When the lock terminal state is normal, acquire the engine state; 在所述发动机状态异常时,生成暗锁主动锁车指令至锁车终端,以使所述锁车终端根据所述暗锁主动锁车指令对所述车辆进行暗锁主动锁车。When the state of the engine is abnormal, a built-in active lock command is generated to the vehicle lock terminal, so that the lock terminal performs built-in lock active lock on the vehicle according to the built-in active lock command. 2.如权利要求1所述的锁车方法,其特征在于,所述在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态,包括:2. The method for locking a vehicle according to claim 1, wherein, when receiving a vehicle locking instruction, querying the status of the vehicle locking terminal according to the vehicle locking instruction comprises: 在接收到锁车指令时,根据所述锁车指令查询锁车终端的联网状态、CAN总线状态以及天线状态;When receiving the car lock instruction, query the networking status, CAN bus status and antenna status of the car lock terminal according to the car lock instruction; 根据所述锁车终端的联网状态、所述CAN总线状态以及所述天线状态得到车辆的锁车终端状态。The status of the vehicle locking terminal is obtained according to the networking status of the locking terminal, the status of the CAN bus and the status of the antenna. 3.如权利要求2所述的锁车方法,其特征在于,所述在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态之后,还包括:3. The method for locking a car according to claim 2, characterized in that, after receiving the lock command, after inquiring about the status of the lock terminal of the vehicle according to the lock command, further comprising: 在所述锁车终端的联网状态异常、所述CAN总线正常以及所述天线被拆除时,确定所述锁车终端处于离线状态;When the networking status of the car lock terminal is abnormal, the CAN bus is normal, and the antenna is removed, determine that the car lock terminal is in an offline state; 获取发动机状态和所述锁车终端的离线时间;Acquiring the engine state and the offline time of the lock terminal; 在所述发动机状态异常且所述锁车终端的离线时间超过预设离线时间时,生成明锁离线锁车指令至发动机,以使所述发动机基于所述明锁离线锁车指令通过预设锁车协议对所述车辆进行明锁离线锁车;When the state of the engine is abnormal and the offline time of the lock terminal exceeds the preset offline time, an open lock offline lock command is generated to the engine so that the engine passes the preset lock based on the open lock offline lock command Vehicle agreement to perform open lock and offline lock on the vehicle; 生成暗锁离线锁车指令至车辆的车身控制器,以使所述车身控制器基于所述暗锁离线锁车指令通过扭矩请求报文对所述车辆进行暗锁离线锁车。Generate a built-in offline lock command to the body controller of the vehicle, so that the body controller performs a built-in offline lock on the vehicle through a torque request message based on the built-in offline lock command. 4.如权利要求2所述的锁车方法,其特征在于,所述在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态之后,还包括:4. The method for locking a car according to claim 2, characterized in that, after receiving the lock command, after inquiring about the status of the lock terminal of the vehicle according to the lock command, further comprising: 在所述锁车终端的联网状态异常、所述CAN总线被拆除以及所述天线被拆除时,确定所述锁车终端处于被拆除状态;When the networking state of the car lock terminal is abnormal, the CAN bus is removed, and the antenna is removed, determine that the car lock terminal is in a removed state; 获取发动机与锁车终端之间的握手校验结果和发动机状态;Obtain the handshake verification result and engine status between the engine and the car lock terminal; 在所述握手校验结果为握手失败且所述发动机状态异常时,生成明锁防拆锁车指令和暗锁防拆锁车指令;When the result of the handshake verification is that the handshake fails and the engine state is abnormal, generate an open lock anti-tamper lock command and a concealed lock anti-tamper lock command; 根据所述明锁防拆锁车指令限制所述发动机的转速和扭矩,以实现对所述车辆的明锁防拆锁车;Restricting the rotational speed and torque of the engine according to the open lock anti-tamper lock vehicle instruction, so as to realize the open lock anti-tamper lock vehicle of the vehicle; 根据所述暗锁防拆锁车指令得到扭矩请求报文,并根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制,以实现对所述车辆的暗锁防拆锁车。A torque request message is obtained according to the built-in lock anti-tamper lock command, and the speed and torque of the engine are limited according to the torque request message, so as to realize the built-in lock anti-tamper lock vehicle of the vehicle. 5.如权利要求4所述的锁车方法,其特征在于,所述根据所述暗锁防拆锁车指令得到扭矩请求报文,并根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制,包括:5. The method for locking a car according to claim 4, wherein the torque request message is obtained according to the built-in lock anti-tamper lock command, and the rotational speed and torque of the engine are adjusted according to the torque request message. restrictions, including: 在预设上电周期内未检测到所述锁车终端的反馈信息时,根据所述暗锁防拆锁车指令得到扭矩请求报文;When no feedback information from the car lock terminal is detected within the preset power-on period, a torque request message is obtained according to the built-in lock anti-tamper lock car instruction; 根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制;Limiting the rotational speed and torque of the engine according to the torque request message; 具体地,所述根据所述暗锁防拆锁车指令得到扭矩请求报文,并根据所述扭矩请求报文对所述发动机的转速和扭矩进行限制之后,还包括:Specifically, after obtaining the torque request message according to the built-in lock anti-tamper lock command, and limiting the speed and torque of the engine according to the torque request message, it also includes: 在检测到所述锁车终端的反馈信息时,生成解除防拆锁车指令;When the feedback information from the car lock terminal is detected, an instruction to release the anti-tamper lock car is generated; 根据所述解除防拆锁车指令对所述车辆解除暗锁防拆锁车。According to the command to release the anti-tamper lock vehicle, the built-in lock anti-tamper lock vehicle is released for the vehicle. 6.如权利要求1所述的锁车方法,其特征在于,所述在所述锁车终端状态正常时,获取发动机状态之后,还包括:6. The car locking method according to claim 1, characterized in that, after acquiring the engine state when the state of the car locking terminal is normal, further comprising: 在所述发动机状态正常时,生成明锁状态查询指令至锁车终端;When the engine state is normal, generate an open lock state query command to the lock terminal; 接收所述锁车终端反馈的明锁状态;receiving the open lock status fed back by the lock terminal; 在所述明锁状态处于激活状态时,生成明锁主动锁车指令至所述锁车终端,以使所述锁车终端基于所述明锁主动锁车指令通过预设锁车协议对所述车辆进行明锁主动锁车。When the open lock state is activated, an open lock active lock instruction is generated to the vehicle lock terminal, so that the lock terminal performs a preset lock agreement on the open lock based on the open lock active lock instruction. The vehicle is actively locked with an open lock. 7.如权利要求1-6中任一项所述的锁车方法,其特征在于,所述在所述发动机状态异常时,生成暗锁主动锁车指令至锁车终端,以使所述锁车终端根据所述暗锁主动锁车指令对所述车辆进行暗锁主动锁车之后,还包括:7. The car locking method according to any one of claims 1-6, characterized in that, when the state of the engine is abnormal, a built-in lock active car locking command is generated to the car locking terminal, so that the car locking After the terminal performs concealed lock and active lock on the vehicle according to the concealed lock active lock instruction, it also includes: 获取所述车辆的锁车状态;Obtain the locked state of the vehicle; 将所述锁车状态进行标记,以对所述车辆进行锁车追溯。The locked state of the vehicle is marked, so that the locked vehicle can be traced back to the vehicle. 8.一种锁车装置,其特征在于,所述锁车装置包括:8. A car locking device, characterized in that the car locking device comprises: 查询模块,用于在接收到锁车指令时,根据所述锁车指令查询车辆的锁车终端状态;An inquiry module, configured to inquire about the state of the vehicle's lock terminal according to the lock instruction when receiving the lock instruction; 获取模块,用于在所述锁车终端状态正常时,获取发动机状态;An acquisition module, configured to acquire the engine status when the lock terminal status is normal; 生成模块,用于在所述发动机状态异常时,生成暗锁主动锁车指令至锁车终端,以使所述锁车终端根据所述暗锁主动锁车指令对所述车辆进行暗锁主动锁车。A generating module, configured to generate a built-in active lock command to the car lock terminal when the engine state is abnormal, so that the lock terminal performs built-in lock active lock on the vehicle according to the built-in active lock command. 9.一种锁车设备,其特征在于,所述锁车设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的锁车程序,所述锁车程序配置为实现如权利要求1至7中任一项所述的锁车方法。9. A car locking device, characterized in that the car locking device includes: a memory, a processor, and a car locking program stored on the memory and operable on the processor, the car locking program is configured In order to realize the method for locking a car as described in any one of claims 1 to 7. 10.一种存储介质,其特征在于,所述存储介质上存储有锁车程序,所述锁车程序被处理器执行时实现如权利要求1至7中任一项所述的锁车方法。10. A storage medium, wherein a car locking program is stored on the storage medium, and when the car locking program is executed by a processor, the car locking method according to any one of claims 1 to 7 is realized.
CN202211413085.7A 2022-11-11 2022-11-11 Car locking method, device, equipment and storage medium Active CN115891905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211413085.7A CN115891905B (en) 2022-11-11 2022-11-11 Car locking method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211413085.7A CN115891905B (en) 2022-11-11 2022-11-11 Car locking method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115891905A true CN115891905A (en) 2023-04-04
CN115891905B CN115891905B (en) 2025-02-28

Family

ID=86472150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211413085.7A Active CN115891905B (en) 2022-11-11 2022-11-11 Car locking method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115891905B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003034232A (en) * 2001-07-24 2003-02-04 Komatsu Ltd Mobile starting lock device
CN105844749A (en) * 2016-03-31 2016-08-10 浙江合众新能源汽车有限公司 Mobile phone unlocking system and unlocking method for automobile
CN107042802A (en) * 2016-12-13 2017-08-15 象翌微链科技发展有限公司 A kind of system and method for control engine condition
CN114619881A (en) * 2022-02-17 2022-06-14 东风柳州汽车有限公司 Remote vehicle locking method, device, storage medium and device
CN115056763A (en) * 2021-11-17 2022-09-16 长城汽车股份有限公司 Vehicle shutdown gear control method, device, electronic device, storage medium and vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003034232A (en) * 2001-07-24 2003-02-04 Komatsu Ltd Mobile starting lock device
CN105844749A (en) * 2016-03-31 2016-08-10 浙江合众新能源汽车有限公司 Mobile phone unlocking system and unlocking method for automobile
CN107042802A (en) * 2016-12-13 2017-08-15 象翌微链科技发展有限公司 A kind of system and method for control engine condition
CN115056763A (en) * 2021-11-17 2022-09-16 长城汽车股份有限公司 Vehicle shutdown gear control method, device, electronic device, storage medium and vehicle
CN114619881A (en) * 2022-02-17 2022-06-14 东风柳州汽车有限公司 Remote vehicle locking method, device, storage medium and device

Also Published As

Publication number Publication date
CN115891905B (en) 2025-02-28

Similar Documents

Publication Publication Date Title
US11463246B2 (en) Vehicle access systems and methods
JP5516821B2 (en) System and method for remote maintenance of multiple clients in an electronic network using virtualization and authentication
CN101515927B (en) Isolation mode supportive internet access control method, system and equipment
CA2732831C (en) Secure computing environment using a client heartbeat to address theft and unauthorized access
CA2778913C (en) Approaches for ensuring data security
US8250630B2 (en) Detecting unauthorized computer access
JP6009622B1 (en) Update manager and in-vehicle software update system using the same
CN112918386B (en) Control method and device for automobile glove box lock
US20210370872A1 (en) Information processing apparatus, information processing method and non-transitory storage medium
CN115309423A (en) IDPS control method and related equipment for vehicle ECU upgrade
WO2011087499A1 (en) Recovering data in a storage medium of an electronic device that has been tampered with
JP2011108183A (en) Communication control system, central device, terminal device, and computer program
CN115891905A (en) Locking method, device, equipment and storage medium
CN116061874B (en) Anti-theft authentication method, system, equipment and medium based on SOA service architecture
JP2006114048A (en) Portable computing environment
CN112954654A (en) Vehicle NFC key registration method, computer device and storage medium
CN112437120A (en) Access monitoring method and system of cache system, electronic device and storage medium
US20240338200A1 (en) Product update management using mobile device management accounts and role accounts
CN112532640B (en) Authentication method, authentication device, electronic equipment and computer readable storage medium
CN118567337B (en) Locking system, method, device, engineering machinery, storage medium and electronic equipment
CN119611265A (en) Control method and device for vehicle, electronic equipment and storage medium
CN119211939A (en) Device state detection method, electronic device and computer readable storage medium
CN120188450A (en) Methods of accessing the Services and related products
CN117879879A (en) Remote operation authentication method, device, equipment and medium for weak network environment
CN116996745A (en) Multimedia playing control method and system, electronic equipment and 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
GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载