Method and device for determining the connection status of the vehicle's ignition switch wire
By analyzing the message data received from the vehicle-mounted equipment, the connection status of the electric motorcycle's kill switch wire is determined, solving the problem that ordinary users have difficulty detecting abnormalities in the kill switch wire. This enables convenient detection and timely warning without the need for professional testing, thus improving the user experience.
Patent Information
- Application Number
- CN202211011560.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-23
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2042-08-23
AI Technical Summary
In existing technologies, detecting abnormal wiring behavior of the ignition stop wire in electric motorcycles is complex and difficult for ordinary users to operate. Ammeters and phase meters cannot detect misconnected ignition stop wires, which affects the user experience.
By periodically receiving message data uploaded by the vehicle's onboard equipment, analyzing the target data copy of the vehicle, determining the connection status of the ignition switch wire, using the cloud server for data parsing and processing, judging whether the ignition switch wire is incorrectly connected or not connected, and sending warning information to the user.
No professional testing is required, reducing user testing costs, improving user experience, and providing timely alerts for abnormal wiring of the engine stop line to avoid false alarms.
Smart Images

Figure CN116959138B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle control technology, and in particular to a method and apparatus for determining the connection status of a vehicle's ignition switch wire. Background Technology
[0002] The installation process of the positioning terminal equipment for electric motorcycles involves a positive power line, a negative power line, and an ignition switch interface line. During installation, only the positive and negative lines need to be connected for the equipment to report location information correctly. Therefore, many installers either omit the ignition switch interface line or connect it directly to the positive and negative power lines. In this case, incorrect or missing connections will cause the equipment's ignition switch-based function to become unreliable, leading to frequent false anti-theft alarms during normal vehicle operation and negatively impacting the user experience.
[0003] In the existing technology, the detection of the above-mentioned abnormal wiring behavior is mostly carried out by professional personnel using volt-ammeters and phase meters, which is difficult for ordinary users to operate; moreover, in the case of only incorrectly connecting the ignition stop wire, volt-ammeters and phase meters cannot detect the abnormality, and cannot adapt to the requirements of connecting the ACC line (power on line) of vehicle equipment. Summary of the Invention
[0004] The purpose of this invention is to provide a method and apparatus for determining the connection status of a vehicle's ignition switch wire, thereby avoiding the complexity of detecting abnormal wiring behavior of the ignition switch wire in the prior art.
[0005] To achieve the above objectives, embodiments of the present invention provide a method for determining the connection state of a vehicle's ignition stop wire, comprising:
[0006] Periodically receive message data uploaded by the vehicle-mounted equipment;
[0007] Based on the message data, determine the target data copy of the vehicle;
[0008] Based on the target data copy, determine the connection status of the vehicle's shutdown wire.
[0009] Optionally, determining a target data copy of the vehicle based on the message data includes:
[0010] Based on the message data, determine the initial state of the first message data in the message data;
[0011] Based on the initial state of the first message data, the target data copy of the vehicle is determined.
[0012] Optionally, based on the initial state of the first message data, the target data copy of the vehicle is determined, including:
[0013] If the initial state of the first message data is the first state, the target data copy is determined to be the first target data copy; the first target data copy includes at least: the number of times the defense state has not changed, the defense state of the previous cycle, and the time of the first message data reception;
[0014] If the initial state of the first message data is the second state, the target data copy is determined to be the second target data copy; the second target data copy includes at least: the number of times the defense state has not changed, the defense state of the previous cycle, the time of the first message data reception, and the number of times the vehicle speed is greater than the preset speed;
[0015] The first state is the closed state of the first message data, and the second state is the open state of the first message data.
[0016] Optionally, if the initial state of the first message data is a first state, the connection state of the vehicle's shutdown wire is determined based on the target data copy, including:
[0017] If the first time difference between the time of receiving message data in the current cycle and the time of receiving message data for the first time is greater than the first preset time, and the number of times the arming status has not changed is greater than the first preset number, then the connection status of the vehicle's shutdown wire is determined to be a first fault state.
[0018] The first fault state is when the power-off wire is incorrectly connected to the positive terminal.
[0019] Optionally, if the initial state of the first message data is the second state, the connection state of the vehicle's shutdown wire is determined based on the target data copy, including:
[0020] If the second time difference between the time of receiving message data in the current cycle and the time of receiving message data for the first time is greater than the second preset time, and the number of times the arming status has not changed is greater than the second preset number, and the number of times the vehicle speed is greater than the preset speed is greater than the third preset number, then the connection status of the vehicle's shutdown wire is determined to be a second fault state.
[0021] The second fault state is when the power-off wire is incorrectly connected to the positive terminal or is not connected.
[0022] Optionally, after determining the connection status of the vehicle's shutdown wire based on the target data copy, the method further includes:
[0023] If the connection status of the shutdown line is determined to be faulty, a warning message is sent to the user.
[0024] Optionally, the above method further includes:
[0025] Determine the current arming status of the vehicle-mounted equipment and the arming status of the previous period;
[0026] If the current defense status is different from the previous defense status, a warning cancellation message is sent to the user.
[0027] Optionally, the above method further includes:
[0028] If the connection status of the shutdown line is determined to be faulty, the first target data copy or the second target data copy is periodically updated according to the message data.
[0029] To achieve the above objectives, embodiments of the present invention also provide a device for determining the connection status of a vehicle's engine shutdown wire, comprising:
[0030] The receiving module is used to periodically receive message data uploaded by the vehicle-mounted equipment;
[0031] The first determining module is used to determine the target data copy of the vehicle based on the message data;
[0032] The second determining module is used to determine the connection status of the vehicle's shutdown wire based on the target data copy.
[0033] To achieve the above objectives, embodiments of the present invention also provide a readable storage medium having a program or instructions stored thereon, which, when executed by a processor, implement the steps in the method for determining the connection state of the vehicle's ignition switch wire as described in any of the preceding claims.
[0034] The beneficial effects of the above-described technical solution of the present invention are as follows:
[0035] In this embodiment of the invention, after the vehicle-mounted device is powered on, it periodically receives message data uploaded by the device; based on the message data, it determines a target data copy of the vehicle; and based on the target data copy, it determines the connection status of the vehicle's ignition switch wire. This technical solution eliminates the need for the user to actively detect the connection status of the ignition switch wire; the connection status can be determined through analysis of message data uploaded by the vehicle-mounted device. This approach is less costly than relying on technical personnel and provides a better user experience. Attached Figure Description
[0036] Figure 1 This is one of the flowcharts for determining the connection state of the vehicle's shutdown wire according to an embodiment of the present invention;
[0037] Figure 2 A structural diagram of the system for determining the connection status of the vehicle's shutdown wire in an embodiment of the present invention;
[0038] Figure 3This is a structural diagram of the vehicle shutdown wire connection status determination device according to an embodiment of the present invention. Detailed Implementation
[0039] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0040] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the invention. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.
[0041] In various embodiments of the present invention, it should be understood that the sequence number of each process described below does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0042] In addition, the terms "system" and "network" are often used interchangeably in this article.
[0043] In the embodiments provided by this invention, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined based on A. However, it should also be understood that determining B based on A does not mean determining B solely based on A; B can also be determined based on A and / or other information.
[0044] It should be noted that the shortcomings of the existing technical solution are as follows:
[0045] 1. Users need to actively discover and detect the problem, but they may not understand the installation process and therefore cannot determine the wiring issue.
[0046] 2. In the case of only incorrectly connecting the ignition stop wire, neither the ammeter nor the phase meter can detect the abnormality, and it cannot meet the requirements of connecting the vehicle equipment to the ACC line (power on line);
[0047] 3. The use of the testing equipment requires a high level of expertise and is difficult for ordinary users to operate.
[0048] This invention analyzes wiring abnormalities by observing the behavior of the equipment under abnormal conditions and notifies the user to reinstall the device, thus avoiding the drawbacks of existing technologies that rely on professionals using voltmeters, ammeters, phase meters, and other instruments for detection.
[0049] like Figure 1 As shown, an embodiment of the present invention provides a method for determining the connection status of a vehicle's ignition switch wire, applied to a cloud server or cloud platform, comprising:
[0050] Step 101: Periodically receive message data uploaded by the vehicle-mounted equipment;
[0051] In this embodiment of the invention, before step 101, the vehicle (electric motorcycle, electric tram, etc.) has been equipped with on-board equipment. Once the on-board equipment is powered on, it begins to collect data periodically, and the cloud server or cloud platform periodically receives the message data uploaded by the on-board equipment.
[0052] Optionally, the vehicle-mounted device can use an encapsulation protocol to upload message data (for fast transmission, the reported messages are mostly in hexadecimal data), and report the collected message data every 5 seconds. The cloud server or cloud platform will reverse-parse the data into easily understandable data objects through the protocol and push them to the user application-level rule engine for data analysis. For example, the data objects can be in JSON (JavaScript Object Notation) data format.
[0053] Step 102: Determine the target data copy of the vehicle based on the message data;
[0054] In this embodiment, the message data includes, but is not limited to, vehicle location information, vehicle current speed information, vehicle usage status information, etc. Based on the message data, a target data copy is generated for subsequent analysis of the vehicle's shutdown wire connection status, providing data support for subsequent calculation and analysis.
[0055] Step 103: Determine the connection status of the vehicle's shutdown wire based on the target data copy.
[0056] In this embodiment, the vehicle-mounted device connects to the cloud server or cloud platform via UDP / TCP protocol, and begins uploading data after successful connection. The cloud server or cloud platform receives the data uploaded by the vehicle-mounted device in real time and disassembles the uploaded data packets using the termination symbols specified in the device protocol to obtain individual data packets uploaded by the vehicle-mounted device. An extensible decoder is used to simply parse the data packets uploaded by different devices into headers, trailers, and content. A converter then transforms the decoded objects into more detailed data objects, such as GPS positioning packets, LBS positioning packets, alarm packets, etc. These are then placed into different queues on a Redis cache server. Redis listens for new data in the queues and processes the data. Different queues store different types of data packets, and different types of data packets are processed by different processors. After processing, a target data copy is obtained, including information such as the ACC line status and vehicle speed, and is placed into the Redis queue. Once the number of elements in the queue reaches a certain amount, they are batch-inserted into MySQL storage. Furthermore, this invention determines the connection status of the vehicle's shutdown line based on whether the ACC line status has changed.
[0057] It should be noted that the vehicle's ignition switch wire connection status is as follows: When the vehicle is powered on, the guardStatus (armed) attribute is off; when the vehicle is powered off, the guardStatus attribute is on. When the vehicle's ignition switch wire is connected to the positive terminal, the device will report a guardStatus attribute as off as long as the vehicle's power is on, regardless of whether the vehicle is powered on. When the vehicle's ignition switch wire is disconnected or connected to the negative terminal, the device will report a guardStatus attribute as on, regardless of whether the vehicle is powered on.
[0058] Optionally, step 102 above includes:
[0059] Step 104: Determine the initial state of the first message data in the message data based on the message data;
[0060] Step 105: Determine the target data copy of the vehicle based on the initial state of the first message data.
[0061] In this embodiment, the initial state of the first message data is the initial state of guardStatus. Based on the initial state of guardStatus, different target data copies are determined, realizing processing schemes in multiple situations.
[0062] Specifically, step 105 includes:
[0063] Step 106: If the initial state of the first message data is the first state, determine the target data copy as the first target data copy; the first target data copy includes at least: the number of times the arming state has not changed, the arming state of the previous cycle, and the time of the first reception of the message data. The first state is the closed state of the first message data.
[0064] In this embodiment of the invention, if the initial state of the guardStatus of the vehicle-mounted device is off, and the connection state of the vehicle's ignition switch is positive (i.e., the ignition switch is incorrectly connected to the positive terminal), the arming state will be off regardless of whether the vehicle is started. However, normal devices have a certain interval between power-on and vehicle ignition, making it extremely unlikely that the arming state for all messages will always be off. This invention determines that when the initial state of the first message is off, it triggers the incorrect positive terminal connection judgment logic, generating a first target data copy for the vehicle-mounted device, recording the number of times the arming state has not changed, the arming state of the previous cycle, and the time of the first received message data.
[0065] Step 107: If the initial state of the first message data is the second state, determine the target data copy as the second target data copy; the second target data copy includes at least: the number of times the arming state has not changed, the arming state of the previous cycle, the time of the first received message data, and the number of times the vehicle speed is greater than a preset speed. The second state is the open state of the first message data.
[0066] In this embodiment of the invention, when the vehicle's ignition switch wire is disconnected or connected to the negative terminal, the on-board equipment is always armed and will generate an anti-theft alarm even during normal driving. When the on-board equipment reports a message, if the initial state of the first message is "on," a logic for determining whether it is disconnected or incorrectly connected to the negative terminal is triggered. This generates a second target data copy for the on-board equipment. The second target data copy records the number of times the armed state has not changed, the armed state of the previous cycle, the time of the first received message data, and the number of times the vehicle speed exceeds a preset speed.
[0067] Here, the preferred number of times the vehicle speed exceeds the preset speed is the number of times the vehicle speed exceeds 10 km / h.
[0068] In one specific embodiment, if the initial state of the arming status of the vehicle-mounted device is normal, the obtained connection status information of the shutdown line is reliable, and it can be directly determined that the connection status of the shutdown line is normal, without the need to issue a warning to the user.
[0069] In another specific embodiment, if the initial state of the arming status of the vehicle-mounted equipment is abnormal, the obtained connection status information of the shutdown line is unreliable. The connection status of the shutdown line is analyzed using the generated first target data copy or second target data copy to realize the monitoring of the connection status of the vehicle's shutdown line.
[0070] In this embodiment, an onboard device is installed in the vehicle to collect vehicle operating status information. After the onboard device uploads the collected vehicle operating status information to the server, the server parses and processes the received data to obtain the status of the onboard device and the vehicle's operating status. When the connection status of the onboard device's ignition switch wire is abnormal, the vehicle operating status result obtained from the initial armed state will become unreliable. At this time, a preset algorithm and a target data copy are used to determine the connection status of the onboard device's ignition switch wire, thereby enabling monitoring of the vehicle's operating status. This avoids the problem of inaccurate vehicle operating status monitoring caused by incorrect or missing connection of the onboard device's ignition switch wire.
[0071] Optionally, if the initial state of the first message data is the first state, step 103 includes:
[0072] Step 108: If the first time difference between the time of receiving message data in the current cycle and the time of receiving message data for the first time is greater than the first preset time, and the number of times the arming status has not changed is greater than the first preset number, then the connection status of the vehicle's shutdown wire is determined to be a first fault state.
[0073] The first fault state is when the power-off wire is incorrectly connected to the positive terminal.
[0074] In this embodiment, if the initial state of the first message data is the first state, that is, the initial state of the guardStatus of the vehicle device is the off state, the present invention compares the message data of the current period obtained periodically with the first target data copy. Specifically, the first time difference between the time of receiving the message data in the current period and the time of receiving the first message data is greater than the first preset time, which can be selected as 48 hours, and the number of times the arming status has not changed is greater than the first preset number, which can be selected as 100 times. If both of the above conditions are met at the same time, it is determined that the vehicle device is frequently online, but the arming status has never changed. Therefore, the connection status of the shutdown wire is further determined according to the first target data copy.
[0075] Optionally, if the initial state of the first message data is the second state, step 103 includes:
[0076] Step 109: If the second time difference between the time of receiving message data in the current cycle and the time of receiving message data for the first time is greater than the second preset time, and the number of times the arming status has not changed is greater than the second preset number, and the number of times the vehicle speed is greater than the preset speed is greater than the third preset number, then the connection status of the vehicle's shutdown wire is determined to be a second fault state.
[0077] The second fault state is when the power-off wire is incorrectly connected to the positive terminal or is not connected.
[0078] In this embodiment, if the initial state of the first message data is the first state, that is, the initial state of the guardStatus of the vehicle device is the on state; the second preset time can be selected as 48 hours, the second preset number can be selected as 100 times, and the third preset number can be selected as 10 times; in step 109, that is, when the second time difference between the time of receiving the message data in the current cycle and the time of receiving the first message data has exceeded 48 hours and the number of times it has not changed has exceeded 100 times, it indicates that the device is frequently online, but the armed state has never changed. However, unlike the case of incorrect positive connection, the vehicle may have a situation where it does not start after being powered on. Therefore, it is necessary to determine the number of times the speed is greater than 10km / h (preset speed) during the duration of the second target data copy, that is, the third preset number. When the above two situations are met, and the number of times the vehicle speed is greater than the preset speed is greater than 10 times, it is determined that the vehicle is operating normally during this period, but the armed state is always on. Therefore, it is determined that the connection state of the ignition wire in the second target data copy is the state of not connected or incorrect negative connection.
[0079] Optionally, after step 103, the above method further includes:
[0080] Step 110: If the connection status of the shutdown line is determined to be faulty, a warning message is sent to the user.
[0081] In this embodiment, if the connection status of the shutdown wire is the first fault state or the second fault state mentioned above, a warning message is issued to the user in order to ensure driving safety.
[0082] Of course, in this invention, if the vehicle is in a second fault state, it is determined that the vehicle is in a driving state, and the vehicle speed may have a wide range. At this time, the vehicle state can be further subdivided.
[0083] When the vehicle speed is below a preset idle speed threshold, such as 10 kilometers per hour, the vehicle is considered to be idling. When the vehicle speed exceeds a preset speeding threshold, the vehicle is considered to be speeding. The preset speeding threshold needs to be determined based on the actual road section the vehicle is on. For example, when a vehicle is traveling on a highway, if the speed exceeds 120 kilometers per hour, the vehicle is considered to be speeding; when a vehicle is traveling on an urban road without a center line, if the speed exceeds 30 kilometers per hour, the vehicle is considered to be speeding. Specifically, determining whether a vehicle is speeding depends on the speed limit standards of the actual road section.
[0084] Furthermore, to ensure driving safety, when the vehicle speed is outside the speed limit specified for the actual road section, an overspeed or idling alarm will be issued. After receiving the overspeed or idling alarm, the onboard equipment will prompt the driver to slow down or accelerate to ensure driving safety.
[0085] Optionally, the above method further includes:
[0086] Step 111: Determine the current period's arming status and the previous period's arming status of the vehicle-mounted equipment;
[0087] Step 112: If the current period's arming status is different from the previous period's arming status, then send a warning cancellation message to the user.
[0088] In this embodiment, when sending a warning message to the user under either a first fault state or a second fault state, the arming state of the previous cycle corresponding to the first fault state is in the off state. The system checks whether the arming state of the vehicle-mounted device in the current cycle changes compared to the previous cycle. If it changes to the on state, then the wiring of the vehicle-mounted device under the first fault state is determined to be normal. Similarly, if the arming state of the previous cycle corresponding to the second fault state is in the on state, the system checks whether the arming state of the vehicle-mounted device in the current cycle changes compared to the previous cycle. If it changes to the off state, then the wiring of the vehicle-mounted device under the second fault state is determined to be normal. After the wiring of the vehicle-mounted device is normalized, the alarm is cleared, and alarm clearance information is pushed to the user platform.
[0089] Optionally, the above method further includes:
[0090] Step 113: If the connection status of the shutdown line is determined to be faulty, the first target data copy or the second target data copy is periodically updated according to the message data.
[0091] In this embodiment of the invention, if the connection status of the shutdown line is determined to be a fault state, and the arming status of the current cycle is the same as that of the previous cycle, then the first target data copy or the second target data copy is periodically updated according to the message data of the current cycle to ensure the effectiveness of the first target data copy or the second target data copy and provide data support for subsequent analysis.
[0092] Optionally, the above method further includes:
[0093] Once the vehicle-mounted device is powered on, the cloud server periodically adds the received message data to a pending set. Initially, the connection status of the vehicle's ignition switch is not determined. After confirming that the vehicle's ignition switch connection is normal, the current message data of the vehicle-mounted device is removed from the pending set, and the message data of the vehicle-mounted device is saved on the cloud server. If the connection status of the vehicle's ignition switch is faulty, the connection status of the vehicle's ignition switch is continuously checked in the pending set.
[0094] In summary, the technical solution of the present invention can promptly remind users of abnormal wiring of the equipment's power-off line, avoiding being misled by incorrect information, eliminating the need for inspection by professionals in the field, saving costs, and improving user experience.
[0095] like Figure 2 As shown in one specific embodiment, the present invention provides a system for determining the connection status of a vehicle's engine shutdown line, comprising: a device access service: responsible for receiving and parsing message data reported by the vehicle-mounted device; a rule engine: responsible for analyzing the message data reported by the vehicle-mounted device, collecting abnormal behavior data, and converting it into alarm information to be pushed to the user application; and a user application (user terminal): an application for users, where users can manage devices, view device status, location information, etc.
[0096] It should be noted that the vehicle-mounted device is used to collect vehicle data, including but not limited to location information, and uploads the data to the access device service through a preset protocol. The access device service provides location information data, vehicle usage status and other information to the user application, and provides the message data reported by the vehicle-mounted device to the rule engine. The parsed message data includes but is not limited to vehicle location information, vehicle current speed and vehicle current status. The rule engine can identify abnormal behavior of the vehicle-mounted device and send warning information to the user application. The user application can query the location of the vehicle-mounted device, abnormal warning information and other information.
[0097] The system of this invention can promptly remind users of abnormal wiring of the equipment's power-off line, avoiding being misled by incorrect information. It does not require testing by professionals in the field, saving costs and improving user experience.
[0098] like Figure 3 As shown, this embodiment of the invention also provides a device for determining the connection status of a vehicle's ignition stop wire, comprising:
[0099] The receiving module 10 is used to periodically receive message data uploaded by the vehicle-mounted equipment;
[0100] The first determining module 20 is used to determine the target data copy of the vehicle based on the message data;
[0101] The second determining module 30 is used to determine the connection status of the vehicle's shutdown wire based on the target data copy.
[0102] Optionally, the first determining module 20 described above includes:
[0103] The first determining unit is configured to determine the initial state of the first message data in the message data based on the message data.
[0104] The second determining unit is used to determine the target data copy of the vehicle based on the initial state of the first message data.
[0105] Optionally, the second determining unit includes:
[0106] The first determining subunit is configured to determine the target data copy as the first target data copy if the initial state of the first message data is the first state; the first target data copy includes at least: the number of times the defense state has not changed, the defense state of the previous cycle, and the time of the first reception of the message data;
[0107] The second determining subunit is used to determine the target data copy as the second target data copy if the initial state of the first message data is the second state; the second target data copy includes at least: the number of times the arming state has not changed, the arming state of the previous cycle, the time of the first reception of the message data, and the number of times the vehicle speed is greater than a preset speed;
[0108] The first state is the closed state of the first message data, and the second state is the open state of the first message data.
[0109] Optionally, the second determining module 30 described above includes:
[0110] The third determining unit is used to determine the first fault state of the vehicle's shutdown wire connection if the first time difference between the time of receiving message data in the current period and the time of receiving message data for the first time is greater than a first preset time, and the number of times the arming state has not changed is greater than a first preset number.
[0111] The first fault state is when the power-off wire is incorrectly connected to the positive terminal.
[0112] Optionally, the second determining module 30 described above further includes:
[0113] The fourth determining unit is used to determine the second fault state of the vehicle's shutdown wire connection if the second time difference between the time of receiving message data in the current period and the time of receiving message data for the first time is greater than the second preset time, the number of times the arming state has not changed is greater than the second preset number, and the number of times the vehicle speed is greater than the preset speed is greater than the third preset number.
[0114] The second fault state is when the power-off wire is incorrectly connected to the positive terminal or is not connected.
[0115] In this embodiment of the invention, the above-mentioned vehicle shutdown wire connection state determination device further includes:
[0116] The third determination module is used to determine that the connection status of the shutdown line is faulty, and then send a warning message to the user.
[0117] In this embodiment of the invention, the above-mentioned vehicle shutdown wire connection state determination device further includes:
[0118] The fourth determining module is used to determine the current period's arming status and the previous period's arming status of the vehicle-mounted equipment;
[0119] The first processing module is used to send a warning cancellation message to the user if the current period's arming status is different from the previous period's arming status.
[0120] In this embodiment of the invention, the above-mentioned vehicle shutdown wire connection state determination device further includes:
[0121] The second processing module is used to periodically update the first target data copy or the second target data copy according to the message data when it is determined that the connection status of the shutdown line is in a fault state.
[0122] The implementation embodiments of the method for determining the connection status of the vehicle's shutdown wire are all applicable to the embodiments of the device for determining the connection status of the vehicle's shutdown wire, and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0123] An embodiment of the present invention provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the steps in the method for determining the connection status of the vehicle's shutdown wire as described above, and achieve the same technical effect. To avoid repetition, the details will not be repeated here.
[0124] The processor mentioned above is the processor used in the method for determining the connection status of the vehicle's ignition switch wire as described in the above embodiments. The readable storage medium includes computer-readable storage media, such as a read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk.
[0125] It should be further noted that the terminals described in this specification include, but are not limited to, smartphones, tablets, etc., and many of the functional components described are referred to as modules in order to emphasize the independence of their implementation.
[0126] In this embodiment of the invention, the module can be implemented in software so that it can be executed by various types of processors. For example, an identified executable code module may include one or more physical or logical blocks of computer instructions, which may be constructed as objects, procedures, or functions. Nevertheless, the executable code of the identified module does not need to be physically located together, but may include different instructions stored in different bits, which, when logically combined, constitute the module and achieve the module's intended purpose.
[0127] In practice, an executable code module can be a single instruction or many instructions, and can even be distributed across multiple different code segments, different programs, and across multiple memory devices. Similarly, operational data can be identified within the module and can be implemented in any suitable form and organized within any suitable type of data structure. This operational data can be collected as a single dataset or distributed across different locations (including different storage devices), and can exist, at least in part, solely as electronic signals within the system or network.
[0128] When a module can be implemented using software, considering the current level of hardware technology, modules that can be implemented in software can be implemented using hardware circuits by those skilled in the art to achieve the corresponding functions, without considering cost. These hardware circuits include conventional very-large-scale integrated circuits (VLSI) or gate arrays, as well as existing semiconductors such as logic chips and transistors, or other discrete components. Modules can also be implemented using programmable hardware devices, such as field-programmable gate arrays, programmable array logic, and programmable logic devices.
[0129] The exemplary embodiments described above are with reference to the accompanying drawings. Many different forms and embodiments are feasible without departing from the spirit and teachings of the invention. Therefore, the invention should not be construed as limiting the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided to make the invention complete and convey the scope of the invention to those skilled in the art. In these drawings, component dimensions and relative dimensions may be exaggerated for clarity. The terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. As used herein, unless clearly indicated otherwise, the singular forms “a,” “an,” and “the” are intended to include all such forms. It will be further understood that the terms “comprising” and / or “including”, when used in this specification, indicate the presence of the stated features, integers, steps, operations, components, and / or elements, but do not exclude the presence or addition of one or more other features, integers, steps, operations, components, and / or groups thereof. Unless otherwise indicated, when stated, a range of values includes the upper and lower limits of the range and any subranges in between.
[0130] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for determining the connection state of a vehicle's ignition stop wire, characterized in that, include: Periodically receive message data uploaded by the vehicle-mounted equipment; Determining a target data copy of a vehicle based on the message data includes: determining the initial state of the first message data in the message data based on the message data; and determining the target data copy of the vehicle based on the initial state of the first message data. Based on the target data copy, determine the connection status of the vehicle's shutdown wire; Specifically, determining the target data copy of the vehicle based on the initial state of the first message data includes: if the initial state of the first message data is a first state, determining the target data copy as a first target data copy; the first target data copy includes at least: the number of times the arming state has not changed, the arming state of the previous cycle, and the time of the first message data reception; if the initial state of the first message data is a second state, determining the target data copy as a second target data copy; the second target data copy includes at least: the number of times the arming state has not changed, the arming state of the previous cycle, the time of the first message data reception, and the number of times the vehicle speed is greater than a preset speed; the first state is the closed state of the first message data, and the second state is the open state of the first message data; the initial state of the first message data is the initial state of the arming state.
2. The method according to claim 1, characterized in that, If the initial state of the first message data is the first state, the connection state of the vehicle's shutdown wire is determined based on the target data copy, including: If the first time difference between the time of receiving message data in the current cycle and the time of receiving message data for the first time is greater than the first preset time, and the number of times the arming status has not changed is greater than the first preset number, then the connection status of the vehicle's shutdown wire is determined to be a first fault state. The first fault state is when the power-off wire is incorrectly connected to the positive terminal.
3. The method according to claim 1, characterized in that, If the initial state of the first message data is the second state, the connection state of the vehicle's shutdown wire is determined based on the target data copy, including: If the second time difference between the time of receiving message data in the current cycle and the time of receiving message data for the first time is greater than the second preset time, and the number of times the arming status has not changed is greater than the second preset number, and the number of times the vehicle speed is greater than the preset speed is greater than the third preset number, then the connection status of the vehicle's shutdown wire is determined to be a second fault state. The second fault state is when the connection status of the shutdown wire is not wired or the negative terminal is incorrectly connected.
4. The method according to claim 1, characterized in that, After determining the connection status of the vehicle's shutdown wire based on the target data copy, the method further includes: If the connection status of the shutdown line is determined to be faulty, a warning message is sent to the user.
5. The method according to claim 4, characterized in that, The method further includes: Determine the current arming status of the vehicle-mounted equipment and the arming status of the previous period; If the current defense status is different from the previous defense status, a warning cancellation message is sent to the user.
6. The method according to claim 1, characterized in that, The method further includes: If the connection status of the shutdown line is determined to be faulty, the first target data copy or the second target data copy is periodically updated according to the message data.
7. A device for determining the connection state of a vehicle's ignition stop wire, characterized in that, include: The receiving module is used to periodically receive message data uploaded by the vehicle-mounted equipment; The first determining module is used to determine the target data copy of the vehicle based on the message data; The second determining module is used to determine the connection status of the vehicle's shutdown wire based on the target data copy. The first determining module includes: a first determining unit, configured to determine the initial state of the first message data in the message data based on the message data; and a second determining unit, configured to determine the target data copy of the vehicle based on the initial state of the first message data. The second determining unit includes: a first determining subunit, configured to determine a target data copy as a first target data copy if the initial state of the first message data is a first state; the first target data copy includes at least: the number of times the arming state has not changed, the arming state of the previous cycle, and the time of the first reception of message data; a second determining subunit, configured to determine a target data copy as a second target data copy if the initial state of the first message data is a second state; the second target data copy includes at least: the number of times the arming state has not changed, the arming state of the previous cycle, the time of the first reception of message data, and the number of times the vehicle speed is greater than a preset speed; wherein, the first state is the closed state of the first message data, the second state is the open state of the first message data; and the initial state of the first message data is the initial state of the arming state.
8. A readable storage medium having a program or instructions stored thereon, characterized in that, When the program or instructions are executed by the processor, they implement the steps in the method for determining the connection status of the vehicle's shutdown wire as described in any one of claims 1-6.
Citation Information
Patent Citations
Vehicle anti-theft power-cut-off system
CN200992192Y
Anti-theft alarm device and vehicle
CN210235160U