A magnetic sensor based in-vehicle door gating method and system

By using a vehicle-mounted door control method based on magnetic sensors, combining magnetic field parameters and time sensors, the vehicle status is determined and the smart door lock is controlled. This solves the security and accuracy problems of existing vehicle-mounted smart door locks and achieves security protection and record storage during operation.

CN118273593BActive Publication Date: 2026-07-21ZHUZHOU GUANGYI ELECTRONICS TECH
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHUZHOU GUANGYI ELECTRONICS TECH
Filing Date
2024-03-27
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

Existing vehicle-mounted smart door lock control systems, under low-power self-powered conditions, suffer from high cost, large size, high power consumption, and poor accuracy in speed determination. Furthermore, external devices affect safety and aesthetics, and gyroscope accelerometers cannot determine speed when running at a constant speed, which can easily lead to misjudgments.

Method used

The vehicle door control method based on magnetic sensors is adopted. By acquiring magnetic field parameters and direction information, combined with time sensors and position monitoring devices, the system can determine whether the vehicle is stationary or in motion, control the opening and closing of the vehicle smart door, and prioritize emergency signals in emergency situations.

Benefits of technology

It effectively prevents the safety risks of passengers opening and closing doors at will during operation, ensures that the protection measures are released when the vehicle is stationary, provides safety records, provides a basis for post-event analysis, and improves the safety of vehicle production operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118273593B_ABST
    Figure CN118273593B_ABST
Patent Text Reader

Abstract

The application discloses a kind of vehicle-mounted door control method and system based on magnetic sensor, the running, stationary and direction etc. of vehicle are monitored by preset magnetic sensor, ensure that vehicle-mounted intelligent door can automatically start protective measure in running process, cancel protective measure in stationary state, remind crew to implement safety measures after not running according to safety process, simultaneously relevant record is stored, provide strong basis for post analysis, improve the safety of vehicle production operation;In addition, the application is set by time interval, so that the vehicle is automatically locked when there is speed, and the lock is delayed during operation. It can effectively prevent the safety risk of opening and closing the door randomly by the vehicle personnel during operation, and has important significance for operation safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle intelligent control technology, and more specifically, to an on-board gate control method and system based on magnetic sensors. Background Technology

[0002] Currently, there are many methods for determining train speed, including speed sensors installed on the train's wheel axles, GPS / BeiDou-based speed determination, gyroscope-accelerometer-based speed determination, and 4 / 5G base station-based speed determination. However, most of these methods suffer from high cost, large size, high power consumption, and low accuracy, making them unsuitable for low-power, self-powered intelligent door lock control systems. Using external speed sensors or equipment on the train itself would require an additional communication cable for the locomotive door, a moving part, severely impacting operational safety and aesthetics. Gyroscope-accelerometer-based methods cannot determine speed during constant-speed operation, easily leading to misjudgments. All of these speed determination methods have certain drawbacks when applied to self-powered, low-power onboard intelligent door control systems. Summary of the Invention

[0003] In view of the above problems, the purpose of this invention is to provide a vehicle door control method and system based on magnetic sensors, which can more effectively prevent the safety risks of vehicle occupants opening and closing doors at will during operation.

[0004] The first aspect of this invention provides a vehicle-mounted gating method based on a magnetic sensor, comprising:

[0005] Based on a preset magnetic sensor, the magnetic field parameter uT and the corresponding direction information are obtained;

[0006] Based on a preset time sensor, time information is acquired, and the magnetic field parameter uT and the corresponding direction information are marked according to the time to obtain the magnetic field parameter uT and the corresponding direction with time marking.

[0007] Based on a preset first time period, the difference between the magnetic field parameter uT with time identifier and the corresponding direction is calculated to obtain the change in the magnetic field parameter.

[0008] Determine whether the change in the magnetic field parameter is less than a preset first change threshold. If yes, obtain information that the corresponding vehicle is stationary; otherwise, obtain information that the corresponding vehicle is in motion.

[0009] Based on the location monitoring device, the vehicle's onboard smart door is controlled accordingly based on whether the vehicle is stationary or in motion.

[0010] This plan also includes:

[0011] Determine whether the change in magnetic field parameters is greater than a preset second change threshold; if so, generate a speed warning message.

[0012] The speed warning information is sent to a preset management terminal for display.

[0013] This plan also includes:

[0014] Obtain vehicle identification number information;

[0015] Based on the vehicle number information, the vehicle's driving route and the corresponding driving direction information are obtained.

[0016] Determine whether the direction of the magnetic field parameter is consistent with the driving direction of the corresponding vehicle. If yes, the driving direction of the corresponding vehicle is normal; otherwise, record that the driving direction of the corresponding vehicle is abnormal once.

[0017] Based on a preset second time period, the total number of vehicles with abnormal driving directions is obtained;

[0018] Determine whether the total number of abnormal driving directions of the vehicle exceeds a preset threshold. If so, trigger a direction warning message.

[0019] The directional warning information is sent to a preset management terminal for display.

[0020] In this solution, the step of controlling the vehicle's smart door based on the location monitoring device according to whether the vehicle is stationary or in motion is specifically as follows:

[0021] Based on location monitoring devices, obtain vehicle location information;

[0022] Determine whether the vehicle's location is at a preset station location. If yes, the corresponding vehicle's status information is valid; otherwise, the corresponding vehicle's status information is invalid.

[0023] When the vehicle's status information is invalid, the vehicle's smart doors will be locked.

[0024] Based on the vehicle's valid status information, the vehicle's smart door immediately locks when the vehicle transitions from a stationary state to a moving state.

[0025] Based on the vehicle's valid status information, when the vehicle transitions from a moving state to a stationary state, the vehicle's smart door unlocks after a preset third time interval.

[0026] This plan also includes:

[0027] Obtain emergency signal information;

[0028] Extract control information from emergency signal information;

[0029] Control the vehicle's smart doors based on the control information in the emergency signal information;

[0030] The emergency signal information takes precedence over the vehicle's status information.

[0031] This plan also includes:

[0032] Get the length value of the vehicle;

[0033] The number of preset magnetic sensors on the vehicle is determined based on the preset length range into which the vehicle's length value falls.

[0034] The number of preset magnetic sensors on the vehicle shall not be less than two;

[0035] The original magnetic field parameters are obtained by using a preset magnetic sensor, and the average value of multiple original magnetic field parameters is calculated to obtain the corresponding magnetic field parameter uT.

[0036] In this solution, after obtaining the original magnetic field parameters through a preset magnetic sensor, the solution further includes:

[0037] Extract any two of the original magnetic field parameters obtained from different preset magnetic sensors and calculate the difference to obtain the original magnetic field parameter difference.

[0038] When the difference in the original parameters of the magnetic field is greater than the preset first threshold, the two preset magnetic sensors corresponding to the difference in the original parameters of the magnetic field are marked.

[0039] Obtain the number of times the preset magnetic sensor is marked within the same preset first time period;

[0040] Determine whether the number of times the preset magnetic sensor has been marked is greater than a preset second threshold. If so, delete the original magnetic field parameters obtained by the preset magnetic sensor and send the preset magnetic sensor to a preset management terminal for display.

[0041] A second aspect of the present invention provides an in-vehicle gate control system based on a magnetic sensor, comprising a memory and a processor. The memory stores a program for an in-vehicle gate control method based on a magnetic sensor. When the processor executes the program for the in-vehicle gate control method based on a magnetic sensor, it performs the following steps:

[0042] Based on a preset magnetic sensor, the magnetic field parameter uT and the corresponding direction information are obtained;

[0043] Based on a preset time sensor, time information is acquired, and the magnetic field parameter uT and the corresponding direction information are marked according to the time to obtain the magnetic field parameter uT and the corresponding direction with time marking.

[0044] Based on a preset first time period, the difference between the magnetic field parameter uT with time identifier and the corresponding direction is calculated to obtain the change in the magnetic field parameter.

[0045] Determine whether the change in the magnetic field parameter is less than a preset first change threshold. If yes, obtain information that the corresponding vehicle is stationary; otherwise, obtain information that the corresponding vehicle is in motion.

[0046] Based on the location monitoring device, the vehicle's onboard smart door is controlled accordingly based on whether the vehicle is stationary or in motion.

[0047] This plan also includes:

[0048] Determine whether the change in magnetic field parameters is greater than a preset second change threshold; if so, generate a speed warning message.

[0049] The speed warning information is sent to a preset management terminal for display.

[0050] This plan also includes:

[0051] Obtain vehicle identification number information;

[0052] Based on the vehicle number information, the vehicle's driving route and the corresponding driving direction information are obtained.

[0053] Determine whether the direction of the magnetic field parameter is consistent with the driving direction of the corresponding vehicle. If yes, the driving direction of the corresponding vehicle is normal; otherwise, record that the driving direction of the corresponding vehicle is abnormal once.

[0054] Based on a preset second time period, the total number of vehicles with abnormal driving directions is obtained;

[0055] Determine whether the total number of abnormal driving directions of the vehicle exceeds a preset threshold. If so, trigger a direction warning message.

[0056] The directional warning information is sent to a preset management terminal for display.

[0057] In this solution, the step of controlling the vehicle's smart door based on the location monitoring device according to whether the vehicle is stationary or in motion is specifically as follows:

[0058] Based on location monitoring devices, obtain vehicle location information;

[0059] Determine whether the vehicle's location is at a preset station location. If yes, the corresponding vehicle's status information is valid; otherwise, the corresponding vehicle's status information is invalid.

[0060] When the vehicle's status information is invalid, the vehicle's smart doors will be locked.

[0061] Based on the vehicle's valid status information, the vehicle's smart door immediately locks when the vehicle transitions from a stationary state to a moving state.

[0062] Based on the vehicle's valid status information, when the vehicle transitions from a moving state to a stationary state, the vehicle's smart door unlocks after a preset third time interval.

[0063] This plan also includes:

[0064] Obtain emergency signal information;

[0065] Extract control information from emergency signal information;

[0066] Control the vehicle's smart doors based on the control information in the emergency signal information;

[0067] The emergency signal information takes precedence over the vehicle's status information.

[0068] This plan also includes:

[0069] Get the length value of the vehicle;

[0070] The number of preset magnetic sensors on the vehicle is determined based on the preset length range into which the vehicle's length value falls.

[0071] The number of preset magnetic sensors on the vehicle shall not be less than two;

[0072] The original magnetic field parameters are obtained by using a preset magnetic sensor, and the average value of multiple original magnetic field parameters is calculated to obtain the corresponding magnetic field parameter uT.

[0073] In this solution, after obtaining the original magnetic field parameters through a preset magnetic sensor, the solution further includes:

[0074] Extract any two of the original magnetic field parameters obtained from different preset magnetic sensors and calculate the difference to obtain the original magnetic field parameter difference.

[0075] When the difference in the original parameters of the magnetic field is greater than the preset first threshold, the two preset magnetic sensors corresponding to the difference in the original parameters of the magnetic field are marked.

[0076] Obtain the number of times the preset magnetic sensor is marked within the same preset first time period;

[0077] Determine whether the number of times the preset magnetic sensor has been marked is greater than a preset second threshold. If so, delete the original magnetic field parameters obtained by the preset magnetic sensor and send the preset magnetic sensor to a preset management terminal for display.

[0078] This invention discloses a vehicle-mounted door control method and system based on magnetic sensors. By using preset magnetic sensors to monitor the vehicle's running, stationary, and directional states, it ensures that the vehicle-mounted smart door automatically activates protective measures during operation and deactivates them when stationary. If the vehicle deviates from the safety procedures, it alerts the crew to implement safety measures. Simultaneously, relevant records are stored, providing strong evidence for post-event analysis and improving the safety of vehicle production operations. Furthermore, by setting time intervals, this invention enables the vehicle to automatically lock when moving and delay unlocking during operation, effectively preventing the safety risks of passengers arbitrarily opening and closing the doors during operation, which is of great significance for operational safety. Attached Figure Description

[0079] Figure 1 A flowchart of a vehicle-mounted gate control method based on a magnetic sensor according to the present invention is shown;

[0080] Figure 2 A block diagram of a vehicle-mounted gate control system based on a magnetic sensor according to the present invention is shown. Detailed Implementation

[0081] To better understand the above-mentioned objectives, features, and advantages of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.

[0082] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and therefore the scope of protection of the invention is not limited to the specific embodiments disclosed below.

[0083] Figure 1 A flowchart of a vehicle-mounted gate control method based on a magnetic sensor according to the present invention is shown.

[0084] like Figure 1 As shown, this invention discloses a vehicle-mounted gating method based on a magnetic sensor, comprising:

[0085] S101, based on a preset magnetic sensor, acquires the magnetic field parameter uT and the corresponding direction information;

[0086] S102, based on the preset time sensor, acquire time information, and mark the magnetic field parameter uT and the corresponding direction information according to the time, to obtain the magnetic field parameter uT and the corresponding direction with time marking;

[0087] S103, based on a preset first time period, calculate the difference between the magnetic field parameter uT with time identifier and the corresponding direction to obtain the change in the magnetic field parameter;

[0088] S104, determine whether the change in the magnetic field parameter is less than the preset first change threshold. If yes, obtain the information that the corresponding vehicle is stationary; if no, obtain the information that the corresponding vehicle is in motion.

[0089] S105, based on the position monitoring device, controls the vehicle's onboard smart door according to whether the vehicle is stationary or in motion.

[0090] According to an embodiment of the present invention, the direction of the magnetic field parameter is divided into northward and southward. When the magnetic field parameter uT of the same preset magnetic sensor is in the same direction within a preset first time period, the maximum magnetic field parameter uT within the preset first time period is subtracted from the minimum magnetic field parameter uT to obtain the change amount of the magnetic field parameter. Its direction is the direction of the magnetic field parameter. For example, if the preset first change amount threshold is 2uT, then when the change amount of the magnetic field parameter is less than 2uT, the corresponding vehicle is stationary; if the change amount of the magnetic field parameter is greater than or equal to 2uT, it indicates that the corresponding vehicle is in motion, and the direction of motion is the direction of the corresponding magnetic field parameter.

[0091] According to an embodiment of the present invention, it further includes:

[0092] Determine whether the change in magnetic field parameters is greater than a preset second change threshold; if so, generate a speed warning message.

[0093] The speed warning information is sent to a preset management terminal for display.

[0094] It should be noted that the greater the change in the magnetic field parameter, the faster the corresponding vehicle is running. When the change in the magnetic field parameter is greater than the preset second change threshold, it indicates that the corresponding vehicle is running too fast. Therefore, a speed warning message is generated and sent to the preset management terminal to prompt the relevant management personnel to manage the vehicle speed.

[0095] According to an embodiment of the present invention, it further includes:

[0096] Obtain vehicle identification number information;

[0097] Based on the vehicle number information, the vehicle's driving route and the corresponding driving direction information are obtained.

[0098] Determine whether the direction of the magnetic field parameter is consistent with the driving direction of the corresponding vehicle. If yes, the driving direction of the corresponding vehicle is normal; otherwise, record that the driving direction of the corresponding vehicle is abnormal once.

[0099] Based on a preset second time period, the total number of vehicles with abnormal driving directions is obtained;

[0100] Determine whether the total number of abnormal driving directions of the vehicle exceeds a preset threshold. If so, trigger a direction warning message.

[0101] The directional warning information is sent to a preset management terminal for display.

[0102] It should be noted that each vehicle is assigned a different number. When the corresponding vehicle's travel route is reversed, its number is also reset. For example, if the vehicle's number is T123 when traveling from point A to point B, then when the corresponding vehicle returns from point B to point A, its number is reset, for example, to T321, etc. Each numbered vehicle has a unique corresponding travel route and travel direction information. The vehicle's travel direction is detected at preset first time intervals. If the direction of the magnetic field parameter is consistent with the corresponding vehicle's travel direction, then the corresponding vehicle's travel direction is normal. If the direction of the magnetic field parameter is inconsistent with the corresponding vehicle's travel direction, then the corresponding vehicle's travel direction is recorded as abnormal once. Then, the total number of abnormal vehicle travel directions is determined by a preset threshold number to eliminate the interference of the external environment on the preset magnetic field sensor when acquiring magnetic field parameters. The preset second time interval is longer than the preset first time interval.

[0103] According to an embodiment of the present invention, the step of controlling the vehicle's onboard smart door based on the location monitoring device according to the vehicle's stationary or moving state information specifically includes:

[0104] Based on location monitoring devices, obtain vehicle location information;

[0105] Determine whether the vehicle's location is at a preset station location. If yes, the corresponding vehicle's status information is valid; otherwise, the corresponding vehicle's status information is invalid.

[0106] When the vehicle's status information is invalid, the vehicle's smart doors will be locked.

[0107] Based on the vehicle's valid status information, the vehicle's smart door immediately locks when the vehicle transitions from a stationary state to a moving state.

[0108] Based on the vehicle's valid status information, when the vehicle transitions from a moving state to a stationary state, the vehicle's smart door unlocks after a preset third time interval.

[0109] It should be noted that the preset station location is on the corresponding vehicle's driving route. The preset station location of the corresponding vehicle is obtained through the vehicle's number and driving route. The location monitoring device is a device that can obtain the vehicle's location in real time, such as GPS or Beidou location monitoring devices. When the vehicle's status information is invalid, it means that the corresponding vehicle is currently in a non-stop area. Therefore, the vehicle's smart door is locked to prevent the safety risk of passengers opening the door at will during operation. When the vehicle's status information is valid, if the vehicle is in motion, the vehicle's smart door remains locked. If the vehicle changes from a stationary state to a moving state, the vehicle's smart door is locked immediately. When the vehicle is stationary, the vehicle's smart door remains open. If it changes from a moving state to a stationary state, the vehicle's smart door is unlocked after a preset third time interval to eliminate the forward inertia of passengers when the vehicle is parked and improve the safety of passengers.

[0110] According to an embodiment of the present invention, it further includes:

[0111] Obtain emergency signal information;

[0112] Extract control information from emergency signal information;

[0113] Control the vehicle's smart doors based on the control information in the emergency signal information;

[0114] The emergency signal information takes precedence over the vehicle's status information.

[0115] It should be noted that when a vehicle encounters an emergency, it triggers an emergency signal, such as when the vehicle breaks down. This emergency signal takes precedence over the vehicle's status information. For example, after a vehicle breaks down, an emergency signal is generated to unlock and open the vehicle's smart door. This emergency signal does not require the vehicle to determine a preset station location; it directly controls the vehicle's smart door.

[0116] According to an embodiment of the present invention, it further includes:

[0117] Get the length value of the vehicle;

[0118] The number of preset magnetic sensors on the vehicle is determined based on the preset length range into which the vehicle's length value falls.

[0119] The number of preset magnetic sensors on the vehicle shall not be less than two;

[0120] The original magnetic field parameters are obtained by using a preset magnetic sensor, and the average value of multiple original magnetic field parameters is calculated to obtain the corresponding magnetic field parameter uT.

[0121] It should be noted that, in order to further eliminate the errors of individual preset magnetic sensors or to eliminate the interference of the external environment on the preset magnetic sensors, multiple magnetic field sensors are installed on the vehicle. The number of preset magnetic sensors on the vehicle is determined according to the preset length range into which the vehicle's length falls. Different preset length ranges correspond to different numbers of preset magnetic sensors. For example, when the preset length range is (0, 20], the corresponding number of preset magnetic sensors is 2; when the preset length range is (20, 50], the corresponding number of preset magnetic sensors is 3; when the preset length range is greater than 50m, the corresponding number of preset magnetic sensors is... The number of sensors is 4. The length of the vehicle is divided into equal parts according to the preset number of magnetic sensors minus 1, resulting in corresponding dividing nodes. Magnetic sensors are set at these dividing nodes. For example, when the preset number of magnetic sensors is 2, the corresponding magnetic sensors are set at the front of the vehicle and the parking space. When the preset number of magnetic sensors is 3, the length of the vehicle is divided into 2 (3-1=2) equal parts, and the corresponding dividing node is exactly in the middle of the vehicle. Therefore, the corresponding magnetic sensors are set at the front of the vehicle, the parking space, and the middle of the vehicle. The preset magnetic sensors are the magnetic sensors that are set in advance.

[0122] According to an embodiment of the present invention, after obtaining the original magnetic field parameters through a preset magnetic sensor, the method further includes:

[0123] Extract any two of the original magnetic field parameters obtained from different preset magnetic sensors and calculate the difference to obtain the original magnetic field parameter difference.

[0124] When the difference in the original parameters of the magnetic field is greater than the preset first threshold, the two preset magnetic sensors corresponding to the difference in the original parameters of the magnetic field are marked.

[0125] Obtain the number of times the preset magnetic sensor is marked within the same preset first time period;

[0126] Determine whether the number of times the preset magnetic sensor has been marked is greater than a preset second threshold. If so, delete the original magnetic field parameters obtained by the preset magnetic sensor and send the preset magnetic sensor to a preset management terminal for display.

[0127] It should be noted that, for example, if the difference in the original magnetic field parameters between preset magnetic sensor a and preset magnetic sensor b is greater than a preset first threshold, then preset magnetic sensor a and preset magnetic sensor b will be marked. If, within the same preset first time period, the difference in the original magnetic field parameters between preset magnetic sensor a and preset magnetic sensor c is greater than the preset first threshold, then preset magnetic sensor a and preset magnetic sensor c will be marked. Thus, within the same preset first time period, preset magnetic sensor a is marked twice. If the number of times a preset magnetic sensor is marked is greater than a preset second threshold, it indicates that the corresponding preset magnetic sensor is currently faulty or subject to external interference. Therefore, the original magnetic field parameters acquired by the corresponding preset magnetic sensor are deleted to improve the accuracy of the magnetic field parameter transformation.

[0128] According to an embodiment of the present invention, it further includes:

[0129] When the vehicle smart door closes, record the corresponding closing time value;

[0130] Determine whether the closing time of the vehicle smart door is within a preset time range. If yes, the closing time of the vehicle smart door is considered normal; otherwise, generate a door closing warning message.

[0131] The door closing warning message is sent to a preset management terminal for display.

[0132] It should be noted that when the vehicle's smart door closes, the closing time needs to be set, for example, to 3 to 5 seconds. If the closing time is less than 3 seconds, it indicates that the closing time is too short, causing psychological stress to the vehicle's passengers. If the closing time is greater than 5 seconds, it indicates that there may be foreign objects or other issues inside the smart door. Therefore, a closing warning message is generated, and the smart door at that location is then inspected by pre-set technicians or staff.

[0133] Figure 2 A block diagram of a vehicle-mounted gate control system based on a magnetic sensor according to the present invention is shown.

[0134] like Figure 2 As shown, a second aspect of the present invention provides a vehicle gate control system 2 based on a magnetic sensor, including a memory 21 and a processor 22. The memory stores a vehicle gate control method program based on a magnetic sensor. When the processor executes the vehicle gate control method program based on a magnetic sensor, it performs the following steps:

[0135] Based on a preset magnetic sensor, the magnetic field parameter uT and the corresponding direction information are obtained;

[0136] Based on a preset time sensor, time information is acquired, and the magnetic field parameter uT and the corresponding direction information are marked according to the time to obtain the magnetic field parameter uT and the corresponding direction with time marking.

[0137] Based on a preset first time period, the difference between the magnetic field parameter uT with time identifier and the corresponding direction is calculated to obtain the change in the magnetic field parameter.

[0138] Determine whether the change in the magnetic field parameter is less than a preset first change threshold. If yes, obtain information that the corresponding vehicle is stationary; otherwise, obtain information that the corresponding vehicle is in motion.

[0139] Based on the location monitoring device, the vehicle's onboard smart door is controlled accordingly based on whether the vehicle is stationary or in motion.

[0140] According to an embodiment of the present invention, the direction of the magnetic field parameter is divided into northward and southward. When the magnetic field parameter uT of the same preset magnetic sensor is in the same direction within a preset first time period, the maximum magnetic field parameter uT within the preset first time period is subtracted from the minimum magnetic field parameter uT to obtain the change amount of the magnetic field parameter. Its direction is the direction of the magnetic field parameter. For example, if the preset first change amount threshold is 2uT, then when the change amount of the magnetic field parameter is less than 2uT, the corresponding vehicle is stationary; if the change amount of the magnetic field parameter is greater than or equal to 2uT, it indicates that the corresponding vehicle is in motion, and the direction of motion is the direction of the corresponding magnetic field parameter.

[0141] According to an embodiment of the present invention, it further includes:

[0142] Determine whether the change in magnetic field parameters is greater than a preset second change threshold; if so, generate a speed warning message.

[0143] The speed warning information is sent to a preset management terminal for display.

[0144] It should be noted that the greater the change in the magnetic field parameter, the faster the corresponding vehicle is running. When the change in the magnetic field parameter is greater than the preset second change threshold, it indicates that the corresponding vehicle is running too fast. Therefore, a speed warning message is generated and sent to the preset management terminal to prompt the relevant management personnel to manage the vehicle speed.

[0145] According to an embodiment of the present invention, it further includes:

[0146] Obtain vehicle identification number information;

[0147] Based on the vehicle number information, the vehicle's driving route and the corresponding driving direction information are obtained.

[0148] Determine whether the direction of the magnetic field parameter is consistent with the driving direction of the corresponding vehicle. If yes, the driving direction of the corresponding vehicle is normal; otherwise, record that the driving direction of the corresponding vehicle is abnormal once.

[0149] Based on a preset second time period, the total number of vehicles with abnormal driving directions is obtained;

[0150] Determine whether the total number of abnormal driving directions of the vehicle exceeds a preset threshold. If so, trigger a direction warning message.

[0151] The directional warning information is sent to a preset management terminal for display.

[0152] It should be noted that each vehicle is assigned a different number. When the corresponding vehicle's travel route is reversed, its number is also reset. For example, if the vehicle's number is T123 when traveling from point A to point B, then when the corresponding vehicle returns from point B to point A, its number is reset, for example, to T321, etc. Each numbered vehicle has a unique corresponding travel route and travel direction information. The vehicle's travel direction is detected at preset first time intervals. If the direction of the magnetic field parameter is consistent with the corresponding vehicle's travel direction, then the corresponding vehicle's travel direction is normal. If the direction of the magnetic field parameter is inconsistent with the corresponding vehicle's travel direction, then the corresponding vehicle's travel direction is recorded as abnormal once. Then, the total number of abnormal vehicle travel directions is determined by a preset threshold number to eliminate the interference of the external environment on the preset magnetic field sensor when acquiring magnetic field parameters. The preset second time interval is longer than the preset first time interval.

[0153] According to an embodiment of the present invention, the step of controlling the vehicle's onboard smart door based on the location monitoring device according to the vehicle's stationary or moving state information specifically includes:

[0154] Based on location monitoring devices, obtain vehicle location information;

[0155] Determine whether the vehicle's location is at a preset station location. If yes, the corresponding vehicle's status information is valid; otherwise, the corresponding vehicle's status information is invalid.

[0156] When the vehicle's status information is invalid, the vehicle's smart doors will be locked.

[0157] Based on the vehicle's valid status information, the vehicle's smart door immediately locks when the vehicle transitions from a stationary state to a moving state.

[0158] Based on the vehicle's valid status information, when the vehicle transitions from a moving state to a stationary state, the vehicle's smart door unlocks after a preset third time interval.

[0159] It should be noted that the preset station location is on the corresponding vehicle's driving route. The preset station location of the corresponding vehicle is obtained through the vehicle's number and driving route. The location monitoring device is a device that can obtain the vehicle's location in real time, such as GPS or Beidou location monitoring devices. When the vehicle's status information is invalid, it means that the corresponding vehicle is currently in a non-stop area. Therefore, the vehicle's smart door is locked to prevent the safety risk of passengers opening the door at will during operation. When the vehicle's status information is valid, if the vehicle is in motion, the vehicle's smart door remains locked. If the vehicle changes from a stationary state to a moving state, the vehicle's smart door is locked immediately. When the vehicle is stationary, the vehicle's smart door remains open. If it changes from a moving state to a stationary state, the vehicle's smart door is unlocked after a preset third time interval to eliminate the forward inertia of passengers when the vehicle is parked and improve the safety of passengers.

[0160] According to an embodiment of the present invention, it further includes:

[0161] Obtain emergency signal information;

[0162] Extract control information from emergency signal information;

[0163] Control the vehicle's smart doors based on the control information in the emergency signal information;

[0164] The emergency signal information takes precedence over the vehicle's status information.

[0165] It should be noted that when a vehicle encounters an emergency, it triggers an emergency signal, such as when the vehicle breaks down. This emergency signal takes precedence over the vehicle's status information. For example, after a vehicle breaks down, an emergency signal is generated to unlock and open the vehicle's smart door. This emergency signal does not require the vehicle to determine a preset station location; it directly controls the vehicle's smart door.

[0166] According to an embodiment of the present invention, it further includes:

[0167] Get the length value of the vehicle;

[0168] The number of preset magnetic sensors on the vehicle is determined based on the preset length range into which the vehicle's length value falls.

[0169] The number of preset magnetic sensors on the vehicle shall not be less than two;

[0170] The original magnetic field parameters are obtained by using a preset magnetic sensor, and the average value of multiple original magnetic field parameters is calculated to obtain the corresponding magnetic field parameter uT.

[0171] It should be noted that, in order to further eliminate the errors of individual preset magnetic sensors or to eliminate the interference of the external environment on the preset magnetic sensors, multiple magnetic field sensors are installed on the vehicle. The number of preset magnetic sensors on the vehicle is determined according to the preset length range into which the vehicle's length falls. Different preset length ranges correspond to different numbers of preset magnetic sensors. For example, when the preset length range is (0, 20], the corresponding number of preset magnetic sensors is 2; when the preset length range is (20, 50], the corresponding number of preset magnetic sensors is 3; when the preset length range is greater than 50m, the corresponding number of preset magnetic sensors is... The number of sensors is 4. The length of the vehicle is divided into equal parts according to the preset number of magnetic sensors minus 1, resulting in corresponding dividing nodes. Magnetic sensors are set at these dividing nodes. For example, when the preset number of magnetic sensors is 2, the corresponding magnetic sensors are set at the front of the vehicle and the parking space. When the preset number of magnetic sensors is 3, the length of the vehicle is divided into 2 (3-1=2) equal parts, and the corresponding dividing node is exactly in the middle of the vehicle. Therefore, the corresponding magnetic sensors are set at the front of the vehicle, the parking space, and the middle of the vehicle. The preset magnetic sensors are the magnetic sensors that are set in advance.

[0172] According to an embodiment of the present invention, after obtaining the original magnetic field parameters through a preset magnetic sensor, the method further includes:

[0173] Extract any two of the original magnetic field parameters obtained from different preset magnetic sensors and calculate the difference to obtain the original magnetic field parameter difference.

[0174] When the difference in the original parameters of the magnetic field is greater than a preset first threshold, the two preset magnetic sensors corresponding to the difference in the original parameters of the magnetic field are marked.

[0175] Obtain the number of times the preset magnetic sensor is marked within the same preset first time period;

[0176] Determine whether the number of times the preset magnetic sensor has been marked is greater than a preset second threshold. If so, delete the original magnetic field parameters obtained by the preset magnetic sensor and send the preset magnetic sensor to a preset management terminal for display.

[0177] It should be noted that, for example, if the difference in the original magnetic field parameters between preset magnetic sensor a and preset magnetic sensor b is greater than a preset first threshold, then preset magnetic sensor a and preset magnetic sensor b will be marked. If, within the same preset first time period, the difference in the original magnetic field parameters between preset magnetic sensor a and preset magnetic sensor c is greater than the preset first threshold, then preset magnetic sensor a and preset magnetic sensor c will be marked. Thus, within the same preset first time period, preset magnetic sensor a is marked twice. If the number of times a preset magnetic sensor is marked is greater than a preset second threshold, it indicates that the corresponding preset magnetic sensor is currently faulty or subject to external interference. Therefore, the original magnetic field parameters acquired by the corresponding preset magnetic sensor are deleted to improve the accuracy of the magnetic field parameter transformation.

[0178] According to an embodiment of the present invention, it further includes:

[0179] When the vehicle smart door closes, record the corresponding closing time value;

[0180] Determine whether the closing time of the vehicle smart door is within a preset time range. If yes, the closing time of the vehicle smart door is considered normal; otherwise, generate a door closing warning message.

[0181] The door closing warning message is sent to a preset management terminal for display.

[0182] It should be noted that when the vehicle's smart door closes, the closing time needs to be set, for example, to 3 to 5 seconds. If the closing time is less than 3 seconds, it indicates that the closing time is too short, causing psychological stress to the vehicle's passengers. If the closing time is greater than 5 seconds, it indicates that there may be foreign objects or other issues inside the smart door. Therefore, a closing warning message is generated, and the smart door at that location is then inspected by pre-set technicians or staff.

[0183] This invention discloses a vehicle-mounted door control method and system based on magnetic sensors. By using preset magnetic sensors to monitor the vehicle's running, stationary, and directional states, it ensures that the vehicle-mounted smart door automatically activates protective measures during operation and deactivates them when stationary. If the vehicle deviates from the safety procedures, it alerts the crew to implement safety measures. Simultaneously, relevant records are stored, providing strong evidence for post-event analysis and improving the safety of vehicle production operations. Furthermore, by setting time intervals, this invention enables the vehicle to automatically lock when moving and delay unlocking during operation, effectively preventing the safety risks of passengers arbitrarily opening and closing the doors during operation, which is of great significance for operational safety.

[0184] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0185] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0186] In addition, in the various embodiments of the present invention, each functional unit can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0187] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0188] Alternatively, if the integrated units of this invention are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.

Claims

1. A vehicle-mounted gating method based on a magnetic sensor, characterized in that, include: Based on a preset magnetic sensor, the original magnetic field parameters are acquired, and the average of multiple original magnetic field parameters is calculated to obtain the corresponding magnetic field parameter uT and the corresponding direction information. The number of pre-installed magnetic sensors on the vehicle shall not be less than two. Obtain vehicle identification number information; Based on the vehicle number information, the vehicle's driving route and the corresponding driving direction information are obtained. Determine whether the direction of the magnetic field parameter is consistent with the driving direction of the corresponding vehicle. If yes, the driving direction of the corresponding vehicle is normal; otherwise, record that the driving direction of the corresponding vehicle is abnormal once. Based on a preset second time period, the total number of vehicles with abnormal driving directions is obtained; Determine whether the total number of abnormal driving directions of the vehicle exceeds a preset threshold. If so, trigger a direction warning message. The directional warning information is sent to a preset management terminal for display. Based on a preset time sensor, time information is acquired, and the magnetic field parameter uT and the corresponding direction information are marked according to the time to obtain the magnetic field parameter uT and the corresponding direction with time marking. Based on a preset first time period, the difference between the magnetic field parameter uT with time identifier and the corresponding direction is calculated to obtain the change in the magnetic field parameter. Determine whether the change in the magnetic field parameter is less than a preset first change threshold. If yes, obtain information that the corresponding vehicle is stationary; otherwise, obtain information that the corresponding vehicle is in motion. Based on the location monitoring device, the vehicle's onboard smart door is controlled accordingly based on whether the vehicle is stationary or in motion. The steps for controlling the vehicle's smart door based on the location monitoring device, according to whether the vehicle is stationary or in motion, are as follows: Based on location monitoring devices, obtain vehicle location information; Determine whether the vehicle's location is at a preset station location. If yes, the corresponding vehicle's status information is valid; otherwise, the corresponding vehicle's status information is invalid. When the vehicle's status information is invalid, the vehicle's smart doors will be locked. Based on the vehicle's valid status information, the vehicle's smart door immediately locks when the vehicle transitions from a stationary state to a moving state. Based on the vehicle's valid status information, when the vehicle transitions from a moving state to a stationary state, the vehicle's smart door unlocks after a preset third time interval.

2. The vehicle-mounted gate control method based on a magnetic sensor according to claim 1, characterized in that, Also includes: Determine whether the change in magnetic field parameters is greater than a preset second change threshold; if so, generate a speed warning message. The speed warning information is sent to a preset management terminal for display.

3. The vehicle-mounted gate control method based on a magnetic sensor according to claim 1, characterized in that, Also includes: Obtain emergency signal information; Extract control information from emergency signal information; Control the vehicle's smart doors based on the control information in the emergency signal information; The emergency signal information takes precedence over the vehicle's status information.

4. The vehicle-mounted gate control method based on a magnetic sensor according to claim 1, characterized in that, Also includes: Get the length value of the vehicle; The number of preset magnetic sensors on the vehicle is determined based on the vehicle's length falling within a preset length range.

5. The vehicle-mounted gate control method based on a magnetic sensor according to claim 1, characterized in that, After obtaining the original parameters of the magnetic field, the process also includes: Extract any two of the original magnetic field parameters obtained from different preset magnetic sensors and calculate the difference to obtain the original magnetic field parameter difference. When the difference in the original parameters of the magnetic field is greater than the preset first threshold, the two preset magnetic sensors corresponding to the difference in the original parameters of the magnetic field are marked. Obtain the number of times the preset magnetic sensor is marked within the same preset first time period; Determine whether the number of times the preset magnetic sensor has been marked is greater than a preset second threshold. If so, delete the original magnetic field parameters obtained by the preset magnetic sensor and send the preset magnetic sensor to a preset management terminal for display.

6. A vehicle-mounted gate control system based on a magnetic sensor, characterized in that, The system includes a memory and a processor. The memory stores a program for an on-board gating method based on a magnetic sensor. When the processor executes the program, the on-board gating method based on a magnetic sensor performs the following steps: Based on a preset magnetic sensor, the original magnetic field parameters are obtained, and the average value of multiple original magnetic field parameters is calculated to obtain the corresponding magnetic field parameter uT and the corresponding direction information; the number of preset magnetic sensors on the vehicle is no less than 2. Obtain vehicle identification number information; Based on the vehicle number information, the vehicle's driving route and the corresponding driving direction information are obtained. Determine whether the direction of the magnetic field parameter is consistent with the driving direction of the corresponding vehicle. If yes, the driving direction of the corresponding vehicle is normal; otherwise, record that the driving direction of the corresponding vehicle is abnormal once. Based on a preset second time period, the total number of vehicles with abnormal driving directions is obtained; Determine whether the total number of abnormal driving directions of the vehicle exceeds a preset threshold. If so, trigger a direction warning message. The directional warning information is sent to a preset management terminal for display. Based on a preset time sensor, time information is acquired, and the magnetic field parameter uT and the corresponding direction information are marked according to the time to obtain the magnetic field parameter uT and the corresponding direction with time marking. Based on a preset first time period, the difference between the magnetic field parameter uT with time identifier and the corresponding direction is calculated to obtain the change in the magnetic field parameter. Determine whether the change in the magnetic field parameter is less than a preset first change threshold. If yes, obtain information that the corresponding vehicle is stationary; otherwise, obtain information that the corresponding vehicle is in motion. Based on the location monitoring device, the vehicle's onboard smart door is controlled accordingly based on whether the vehicle is stationary or in motion. The steps for controlling the vehicle's smart door based on the location monitoring device, according to whether the vehicle is stationary or in motion, are as follows: Based on location monitoring devices, obtain vehicle location information; Determine whether the vehicle's location is at a preset station location. If yes, the corresponding vehicle's status information is valid; otherwise, the corresponding vehicle's status information is invalid. When the vehicle's status information is invalid, the vehicle's smart doors will be locked. Based on the vehicle's valid status information, the vehicle's smart door immediately locks when the vehicle transitions from a stationary state to a moving state. Based on the vehicle's valid status information, when the vehicle transitions from a moving state to a stationary state, the vehicle's smart door unlocks after a preset third time interval.

7. A vehicle-mounted door control system based on a magnetic sensor according to claim 6, characterized in that, Also includes: Determine whether the change in magnetic field parameters is greater than a preset second change threshold; if so, generate a speed warning message. The speed warning information is sent to a preset management terminal for display.