Bluetooth Sig Mesh-based parking space ground lock control method and circuit

Multi-point control of parking space locks is realized through Bluetooth Sig Mesh technology, solving the limitations of one-to-one control in the existing technology, enhancing the circuit's power failure ability and debugging convenience, and meeting the operation of multi-site lock clusters need.

CN119107839AInactive Publication Date: 2024-12-10SHANGHAI TECHN INST OF ELECTRONICS & INFORMATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411156992.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-12-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing parking space lock control technology only supports one-to-one control, which cannot meet the needs of point-to-many or cloud-to-many scenarios, and there are problems of power loss and inconvenient debugging.

Method used

Using Bluetooth Sig Mesh-based control methods and circuits, the ad hoc network is realized by establishing a connection with the Bluetooth gateway, querying the ground lock status, and controlling the ground lock according to the cloud server command or remote control command, supporting point-to-many and cloud-to-many control. , and at the same time, power supply modules and detection modules that consider the risk of power loss are adopted to enhance the circuit's resistance to power loss and facilitate debugging through a self-locking switch.

Benefits of technology

The centralized control of multiple ground locks is realized, the circuit resistance to power failure is enhanced, the debugging process is simplified, the centralized operation needs of parking space ground lock groups are met, and the control flexibility and reliability are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119107839A_ABST
    Figure CN119107839A_ABST
Patent Text Reader

Abstract

The invention relates to a Bluetooth Sig Mesh-based parking space ground lock control method and circuit, which are applied to a parking space ground lock, and the method comprises the following steps: after initialization is completed, establishing a connection with a Bluetooth gateway and realizing an ad hoc network; in response to the success of the ad hoc network, inquiring and updating the parking space ground lock rocker arm state; in response to a received cloud server instruction broadcasted by the Bluetooth gateway, judging whether number information in the cloud server instruction is matched with a preset number of a parking space ground lock, if so, extracting an execution parameter from the cloud server instruction, if not, not executing, and in response to a received remote control instruction, extracting an execution parameter from the remote control instruction; and according to the execution parameters, a rocker arm motor of the parking lock is controlled to execute a corresponding instruction, and control over the parking space parking lock is achieved. Compared with the prior art, the method has the advantages that point-to-many / cloud-to-many control is realized, and the circuit is high in power loss resistance, high in loading capacity and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of parking space ground locks, and in particular to a parking space ground lock control method and circuit based on Bluetooth Sig Mesh. Background Art

[0002] Due to the huge number of cars in China, especially in the parking areas of residential communities in urban areas, many parking spaces are private properties purchased by owners or leased under long-term contracts. In order to prevent illegal parking by outside vehicles during peak traffic hours, parking space owners will install ground locks to control vehicle parking permissions. Therefore, parking space ground locks are widely installed and used.

[0003] At present, the mainstream ground locks on the market are all point-to-point remote control. There are two control methods: First, remote control transceiver chip control. The ground lock control board is integrated with a decoding receiving chip. The user holds an electric control key with an integrated coding transmitter chip and transmits a coded signal through the key button to remotely control the corresponding ground lock to open and close. The effective distance is about 10 meters. Second, mobile phone APP paired Bluetooth control. The ground lock control board is integrated with a Bluetooth slave chip or a master-slave integrated chip. The user installs a special APP on the mobile phone to pair the ground lock Bluetooth communication through the mobile phone Bluetooth, and the APP controls the ground lock to open and close.

[0004] However, the above methods only achieve one-to-one control and are not suitable for point-to-many or even cloud-to-many control scenarios. Summary of the invention

[0005] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and provide a parking space ground lock control method and circuit based on Bluetooth SigMesh for use in the scenario of cluster control of multiple ground locks.

[0006] The purpose of the present invention can be achieved by the following technical solutions:

[0007] One aspect of the present invention provides a parking space ground lock control method based on Bluetooth Sig Mesh, which is applied to a parking space ground lock and includes the following steps:

[0008] Step S1, after initialization is completed, establish a connection with the Bluetooth gateway and realize ad hoc networking;

[0009] Step S2, in response to the success of the self-organizing network, query and update the parking space ground lock rocker arm status;

[0010] Step S3, in response to receiving the cloud server instruction broadcast by the Bluetooth gateway, determine whether the number information in the cloud server instruction matches the preset number of the parking space ground lock, if so, extract the execution parameter from the cloud server instruction, if not, do not execute,

[0011] In response to receiving the remote control command, extracting execution parameters from the remote control command;

[0012] Step S4, according to the execution parameters, controlling the rocker arm motor of the ground lock to execute corresponding instructions to realize the control of the parking space ground lock.

[0013] As a preferred technical solution, it also includes:

[0014] Step S5, feeding back the ground lock information to the cloud server through the Bluetooth gateway, and executing step S2.

[0015] As a preferred technical solution, the ground lock information includes one or more of power information, signal strength information, and parking time information.

[0016] Another aspect of the present invention provides a parking space ground lock control circuit based on Bluetooth Sig Mesh, which is used to implement the aforementioned parking space ground lock control method based on Bluetooth Sig Mesh, and the control circuit includes:

[0017] Consider the risk of power failure and connect the power supply module to the external power supply;

[0018] The detection module detects the state of the rocker arm of the controlled ground lock by using a photodiode group and a baffle on the controlled ground lock;

[0019] A motor driving module is connected to the rocker motor of the controlled ground lock and the external power supply respectively;

[0020] Remote control receiving module;

[0021] A Bluetooth ad hoc network module, including a self-locking switch, wherein the Bluetooth ad hoc network module is used to establish a connection with a Bluetooth gateway and realize an ad hoc network;

[0022] The controller is connected to the detection module, the motor driving module, the remote control receiving module and the Bluetooth ad hoc network module respectively.

[0023] As a preferred technical solution, the power supply module includes:

[0024] LM2596S-3.3V power supply chip, one branch of the input end is connected to the external power supply, and the other branch is grounded through a capacitor for preventing power failure.

[0025] As a preferred technical solution, the detection module includes:

[0026] Two groups of transmitting-receiving diodes, each group of which includes an infrared transmitting diode and a photosensitive receiving diode arranged opposite to each other, and the state of the rocker arm of the controlled ground lock is detected by detecting whether the infrared light emitted by the infrared transmitting diode is blocked by the baffle on the ground lock;

[0027] A voltage-dividing resistor is connected to the infrared emitting diode and the output end of the power supply module respectively;

[0028] A matching resistor is connected to the photosensitive receiving diode and the controller respectively.

[0029] As a preferred technical solution, the Bluetooth ad hoc network module includes:

[0030] The Bluetooth chip, serial port receiving and serial port sending are connected to the self-locking switch respectively

[0031] The antenna base and the antenna are connected to the Bluetooth chip.

[0032] As a preferred technical solution, when the self-locking switch is in the unlocked state, the serial port receiving and the serial port sending are respectively connected to the controller. When the self-locking switch is in the self-locking state, the serial port receiving is connected to the single-line slave interface of the Bluetooth chip, and the serial port sending end is suspended.

[0033] As a preferred technical solution, the power supply module, detection module, motor drive module, remote control receiving module, Bluetooth ad hoc network module and controller are arranged on a circuit board, and the Bluetooth chip is located at the edge of the circuit board.

[0034] As a preferred technical solution, the motor drive module includes:

[0035] The motor driving chip, the forward input pin and the backward input pin are connected to the controller, a group of forward output pins and the backward output pins are connected to the buzzer, and another group of forward output pins and the backward output pins are connected to the rocker motor.

[0036] Compared with the prior art, the present invention has at least one of the following beneficial effects:

[0037] (1) Realize point-to-many and cloud-to-many control: The present invention can establish a connection with a Bluetooth gateway and realize a self-organizing network, so as to transmit the information of all corresponding ground locks in the area to the cloud server. The cloud server can also issue commands through the gateway to cluster or single-control the ground locks in the area, thereby realizing point-to-many and cloud-to-many control, which can meet the needs of centralized operation of parking space ground lock groups.

[0038] (2) The circuit has strong ability to resist power failure: The present invention adopts a power supply module that takes the risk of power failure into consideration. One branch at the input end is connected to an external power supply, and the other branch is grounded through a capacitor to prevent power failure. This can solve the problem of excessive instantaneous power at the start-up of the ground lock rocker arm motor causing circuit power failure.

[0039] (3) Easy debugging: By setting a self-locking switch on the Bluetooth module, the chip can be switched between the "AT command transparent transmission" and "SigMesh self-organizing network" modes, making it easier to debug the Bluetooth chip.

[0040] (4) Strong load capacity: To address the problem of insufficient power supply capacity of the circuit board, the power supply module of the present invention adopts a power supply chip based on LM2596S-3.3V, which has a stronger load capacity. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 Schematic diagram of a parking space ground lock control circuit board in an embodiment;

[0042] Figure 2 is a schematic diagram of a power supply module in an embodiment;

[0043] Figure 3 is a schematic diagram of a motor drive module in an embodiment;

[0044] Figure 4 A schematic diagram of a Bluetooth ad hoc network module in an embodiment;

[0045] Figure 5 A schematic diagram of a controller, a remote control receiving module and a detection module in an embodiment;

[0046] Figure 6 FIG. 1 is a control flow chart of the lock control panel in the embodiment. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0048] Example 1

[0049] In view of the problems existing in the above-mentioned prior art, this embodiment provides a parking space ground lock control method based on Bluetooth Sig Mesh, comprising the following steps:

[0050] Step S1, after initialization is completed, a connection with a Bluetooth gateway is established to realize a self-organizing network.

[0051] Step S2, in response to the success of the self-organizing network, query and update the parking space ground lock rocker arm status.

[0052] Step S3, in response to receiving the cloud server instruction broadcast by the Bluetooth gateway, determine whether the number information in the cloud server instruction matches the preset number of the parking space ground lock, if so, extract the execution parameter from the cloud server instruction, if not, do not execute,

[0053] In response to receiving a remote control instruction, an execution parameter is extracted from the remote control instruction.

[0054] Step S4, according to the execution parameters, controlling the rocker arm motor of the ground lock to execute corresponding instructions to realize the control of the parking space ground lock.

[0055] Step S5, feeding back the ground lock information to the cloud server through the Bluetooth gateway, and executing step S2. The ground lock information includes power information, signal strength information, and parking time information.

[0056] To implement the above method, this embodiment also provides a parking space ground lock control circuit, which is arranged on a circuit board. The ground lock control circuit board is printed on a double-layer PCB board with FR-4 substrate, 1OZ copper foil, and 1.6mm thickness. The distribution of circuit board components and circuit connection diagram are shown in the figure. Figure 1 The entire circuit board is mainly divided into 6 modules, which are described in detail below.

[0057] Power supply module. The power supply of the entire circuit board is input through the "external power supply" socket, and the power supply voltage range can be 4.5~40V. In this embodiment, the ground lock is powered by 7.5V DC. The LM2596S-3.3V module converts the 7.5V voltage into 3.3V to supply the on-board microcontroller, Bluetooth, light-emitting / photosensitive diode, remote control receiving module and other components. The circuit design of LM2596S-3.3V is as follows Figure 2 As shown. At present, when the ground lock rocker arm motor starts, its instantaneous power is too large and will take away most of the current of the power supply, causing the single-chip microcomputer to lose power and fail instantly. In view of the above problem, this embodiment sets a C8 capacitor in the circuit. The C8 capacitor can ensure that the LM2596S-3.3V module can obtain stable power at the moment of motor starting, thereby ensuring the normal operation of the single-chip microcomputer. In this embodiment, its capacitance value is 220uF, and the specific specifications can be adjusted in practice.

[0058] The detection module is based on the photosensitive diode group. The specific circuit is as follows Figure 5 As shown in (b), the module consists of two groups of transmitting-receiving diodes numbered 1 and 2. Each group consists of an infrared transmitting diode IR928-6C and a photosensitive receiving diode PT928-6C. The distribution positions on the control board are as follows Figure 1Right side. After the ground lock is powered on, the infrared emitting diodes IR928-6C-1 and IR928-6C-2 continuously emit infrared light to the corresponding photosensitive receiving diodes PT928-6C-1 and PT928-6C-2. A customized double baffle is installed on the rotating shaft of the ground lock rocker arm. The influence of the rotating double baffle on the two sets of emitting-receiving diode devices under different states of the ground lock rocker arm is shown in Table 1. It is worth noting that the operating voltage at both ends of the infrared emitting diode IR928-6C should be controlled below 5V, and the current must be less than 50mA, so a 100Ω resistor in series is necessary. If it is directly connected to a 3.3V power supply, it will burn out. As for the photosensitive receiving diode PT928-6C, it is a reasonable design to highlight the change of the voltage division when it is turned on and off (to facilitate the identification after the single-chip AD conversion).

[0059] Table 1 Relationship between ground lock status and status of two sets of transmitting-receiving diodes

[0060]

[0061] The motor drive module is based on the RZ7886 high current DC motor chip. The motor chip is packaged in SOP-8 and is located as follows: Figure 1 Bottom right corner. Figure 3 The chip has an operating voltage of 3 to 25V and a maximum output current of 6A, which is sufficient to drive medium-sized DC motors such as 555 and 570. The chip logic function control is shown in Table 2.

[0062] Table 2 Motor drive module logic function control

[0063]

[0064] Remote control receiving module based on RF211-A. Specific circuit is as follows Figure 5 As shown in (c), this module is an embedded module, and its function can be increased or decreased through flexible plug-in. Figure 1 The module is powered by 3.3V of the control board. When receiving the signal from the corresponding remote control key, the A and B pins will output 3.3V high level and transmit it to the P3.2 and P3.3 pins of the microcontroller respectively. The microcontroller determines the user's intention based on the pin signal and then controls the ground lock rocker to open and close. This module is a traditional technology and will not be described again. It is worth noting that when the module is unplugged, the P3.2 and P3.3 pins of the microcontroller will be in a floating state, which will generate random noise to interfere with its normal operation. Therefore, the A and B pins will be suspended. Figure 1 A 10KΩ pull-down resistor must be connected to eliminate noise.

[0065] Bluetooth module based on TB-04Sig Mesh. Distribution location: Figure 1On the far left, in order to prevent the copper foil of the PCB board from affecting the antenna signal shielding, the leftmost plate adjacent to the Bluetooth module is hollowed out. The Bluetooth module can be divided into "AT command transparent transmission" and "Sig Mesh self-organizing network" modes according to the different firmware burned in. This circuit chooses the latter for formal use. Therefore, after the Bluetooth chip is installed on the board, the Sig Mesh firmware needs to be burned into it. Also, because the connection method of the TB-04 Bluetooth is different when the firmware is burned in and when it works normally, but both use the B-TX and B-RX pin serial port communication, in order to solve the above problem, this embodiment sets a self-locking switch 1 to complete the manual switching of the two modes. The schematic diagram of the TB-04 Bluetooth burning and working mode circuit is shown in the figure Figure 4 .

[0066] The TB-04 Bluetooth module has a total of 20 pins. Figure 4 The pins with functional symbols are the useful pins of the control circuit board, and the pins with only numbers are useless and will not be described in detail in this embodiment. The self-locking switch 1 contains two sets of switches with contacts 1, 2, 3 and 4, 5, 6. Contacts 2 and 5 are common contacts, which are directly connected to the serial port receiving RX pin and serial port sending TX pin of Bluetooth TB-04 respectively.

[0067] When Bluetooth TB-04 is working normally, the self-locking switch is in the released unlocked state. At this time, 2 and 3 are turned on, 5 and 6 are turned on, contact 6 is connected to the microcontroller P1.0 (RX2), and contact 3 is connected to the microcontroller P1.1 (TX2). At this time, the microcontroller and the Bluetooth serial port are connected and can communicate with each other at a baud rate of 115200.

[0068] When the Bluetooth TB-04 is used for the first time or needs debugging, the firmware needs to be burned into the board, and the self-locking switch needs to be pressed to make it self-locking. At this time, 2 and 1 are connected, 5 and 4 are connected, 1 contact is connected to the SWS pin of TB-04, and 4 contact is suspended. At this time, the SWS and RX pins of the Bluetooth TB-04 are connected, and then use CH340-USB to TTL serial port debugging hardware and Figure 4 The P9 module is connected, and the Sig Mesh firmware is burned into the Bluetooth TB-04 through the host computer software. After completion, the self-locking switch 1 is unlocked.

[0069] The controller is implemented in this embodiment using the STC8H1K08 single-chip microcomputer module, which is packaged in TSSOP20 and is distributed in the following positions: Figure 1 Center, circuit schematic diagram as Figure 5 As shown in (a).

[0070] The STC8H1K08 microcontroller enables two serial ports. Serial port 2 (P1.1 and P1.0) is used for transceiver communication with Bluetooth TB-04, with a baud rate of 115200. Serial port 1 (P3.1 and P3.0) can be connected to the computer host software through the P12 socket for external program burning and monitoring information output, with a default baud rate of 115200. The working principle of self-locking switch 2 is the same as that of 1. Unlocking and releasing is the working state, and the onboard 3.3V power supply is used; pressing the self-locking is the program burning state, and the host computer burns in through the P12 socket. When the program is burned in, the microcontroller must cut off the onboard power supply and switch to external power supply. The existence of self-locking switch 2 is designed to address this problem.

[0071] like Figure 1 As shown, analog-to-digital conversion channels ADC12, 13, and 14 are enabled. ADC13 and 14 receive the voltage signals of photodiodes PT928-6C-1 and PT928-6C-2, respectively, to determine whether they are blocked from light. The power supply voltage (7.5V) is linearly stepped down by R5 and R6 voltage divider resistors and connected to channel ADC12 to monitor the power supply. P1.2 and P1.3 control the motor chip, P1.5 connects to the indicator light, P1.4 connects to the Bluetooth TB-04 reset pin RST, and P3.2 and P3.3 receive the remote control module signal. The principle has been described before.

[0072] The size of the entire ground lock control circuit board fully considers the internal installation structure design of the current mainstream ground lock control box. The maximum width of the board is 77.5mm left and right, the maximum width is 42.5mm up and down, the through hole diameter is 5mm, and the cost of all components and board making is controlled within RMB 20.

[0073] The software programming of the main controller of the ground lock control board is as follows:

[0074] Use Keil5 software to compile and design the program of STC8H1K08 microcontroller, so that it can accurately control the operation of each peripheral of the ground lock circuit board. Each set of ground locks is defined with a unique number when installed, which is a 32-bit parking lot number + a 32-bit ground lock number (a total of 8 8-bit hexadecimal data). When the program is burned in for the first time, it needs to be compiled in. After the ground lock information is uploaded to the cloud server, this 64-bit identification number will be stored as the address for cloud server identification and cloud-to-point control. The overall program flow chart is as follows Figure 6 As shown, it includes the following steps:

[0075] Step 1, GPIO initialization, including:

[0076] P3.4-power supply, P3.5-photosensitive tube 1, P3.6-photosensitive tube 2, P3.2-remote control on, P3.3-remote control off, set to floating input.

[0077] P1.2-motor FI, P1.3-motor BI, P1.4-Bluetooth RST, P1.5-LED+, set as push-pull output.

[0078] Step 2, ADC initialization, including:

[0079] ADC12, ADC13, and ADC14 analog-to-digital conversion channels are enabled.

[0080] Step 3, UART initialization, including:

[0081] UART1 and 2 are enabled, and the baud rate is 115200. P3.1-TX1, P3.0-RX1, P1.1-TX2, P1.0-RX2.

[0082] Step 4, initialize the overall settings of the control panel.

[0083] Set the motor FI and BI pins to low, set the LED to low, reset RST, define the ground lock number, and clear the UART2 receive buffer

[0084] UART2 sends "AT+SETUP\r\n" to Bluetooth TB-04 to put it into the Mesh connection waiting state.

[0085] Step 5, wait for the Bluetooth gateway to form a self-network.

[0086] UART2 receives "+STATE:1", which means that the TB-04 Bluetooth and the Bluetooth gateway are connected successfully, and the control board is connected to the network.

[0087] Step 6, check the status of the ground lock rocker arm.

[0088] Get the analog-to-digital conversion values ​​of P3.5 and P3.6, and set the judgment threshold to 200. See Table 1 for the judgment method, and get the state parameter lock_condition value = 0-open, 1-closed, 2-failed, 3-running.

[0089] Step 7, query the cloud server to send instructions.

[0090] Get the cloud server information transmitted by Bluetooth TB-04 in the UART2 receive buffer, and determine whether it is a local lock number. If not, ignore it; if so, query the command field in the message (11 to open, 22 to close, 00 to stop), and set the execution parameter mark value according to the command = 1-open, 2-close, 0-stop.

[0091] Step 8, check the remote control key to send the command.

[0092] Get the P3.2 and P3.3 power frequencies. P3.2 high power frequency - open, P3.3 high power frequency - close, others - ignore. Set the execution parameter mark value according to the power frequency = 1 - open, 2 - close.

[0093] Step 9, check the power level.

[0094] Get the P3.4 digital-to-analog conversion value and convert it linearly into a 0-100 electrical quantity.

[0095] Step 10, execute the rocker motor to open and close.

[0096] According to the lock_condition and mark value, control P1.2 and P1.3 to execute the motor forward, reverse and stop.

[0097] Step 11, feedback the local lock information to the cloud server. UART2 sends "AT+TEST=0001,d38888+local lock information+\r\n". After executing Step 11, jump to Step 6.

[0098] In summary, this embodiment has produced a new type of parking space ground lock control panel. The control panel integrates the TB-04 model SigMesh Bluetooth chip module, which can complete the ground lock cloud networking, and then support the cloud platform cluster control operation, while retaining the short-range remote control function. The control panel is programmed by the main controller STC8H1K08 single-chip microcomputer, which controls the TB-04 Bluetooth module to complete the self-organizing network with other similar ground locks in the area, and automatically finds the Anxinke ESP32-G Bluetooth gateway in the area. After the gateway is set up through the Internet network, the information of all corresponding ground locks in the area can be transmitted to the cloud server. The cloud server can also issue commands through the gateway to cluster or single control the ground locks in the area. In addition, the control panel structure design can be embedded and installed in all mainstream ground lock control boxes on the market, replacing and upgrading the original ground lock control panel without changing the original ground lock mechanical structure, which is very valuable for market application. For example, the property center of the residential area needs to centrally operate the parking space ground lock group in the area; the parking space owner hopes to rent it to external vehicles for time-based charging during the vacant period. By utilizing the ground lock control circuit of the present embodiment, the ground lock control panel is connected to the network and can upload status information to the cloud platform in real time, while receiving instructions from the cloud platform and taking corresponding actions.

[0099] Example 2

[0100] This embodiment provides an electronic device, including: one or more processors and a memory, wherein the memory stores one or more programs, and the one or more programs include instructions for executing the parking space ground lock control method based on Bluetooth SigMesh as described in Example 1.

[0101] Example 3

[0102] This embodiment provides a computer-readable storage medium, including one or more programs for execution by one or more processors of an electronic device, wherein the one or more programs include instructions for executing the parking space ground lock control method based on Bluetooth SigMesh as described in Example 1.

[0103] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A parking space ground lock control method based on Bluetooth Sig Mesh, characterized in that: Applied to parking space ground locks, including the following steps: Step S1, after initialization is completed, establish a connection with the Bluetooth gateway and realize ad hoc networking; Step S2, in response to the success of the self-organizing network, query and update the parking space ground lock rocker arm status; Step S3, in response to receiving the cloud server instruction broadcast by the Bluetooth gateway, determine whether the number information in the cloud server instruction matches the preset number of the parking space ground lock, if so, extract the execution parameter from the cloud server instruction, if not, do not execute, In response to receiving the remote control command, extracting execution parameters from the remote control command; Step S4, according to the execution parameters, controlling the rocker arm motor of the ground lock to execute corresponding instructions to realize the control of the parking space ground lock.

2. A parking space ground lock control method based on Bluetooth Sig Mesh according to claim 1, characterized in that: Also includes: Step S5, feeding back the ground lock information to the cloud server through the Bluetooth gateway, and executing step S2.

3. A parking space ground lock control method based on Bluetooth Sig Mesh according to claim 2, characterized in that: The ground lock information includes one or more of power information, signal strength information, and parking time information.

4. A parking space ground lock control circuit based on Bluetooth Sig Mesh, characterized in that: Used to implement the parking space ground lock control method based on Bluetooth Sig Mesh as described in any one of claims 1-3, the control circuit includes: Consider the risk of power failure and connect the power supply module to the external power supply; The detection module detects the state of the rocker arm of the controlled ground lock by using a photodiode group and a baffle on the controlled ground lock; A motor driving module is connected to the rocker motor of the controlled ground lock and the external power supply respectively; Remote control receiving module; A Bluetooth ad hoc network module, including a self-locking switch, wherein the Bluetooth ad hoc network module is used to establish a connection with a Bluetooth gateway and realize an ad hoc network; The controller is connected to the detection module, the motor driving module, the remote control receiving module and the Bluetooth ad hoc network module respectively.

5. The parking space ground lock control circuit based on Bluetooth Sig Mesh according to claim 4, characterized in that: The power supply module comprises: LM2596S-3.3V power supply chip, one branch of the input end is connected to the external power supply, and the other branch is grounded through a capacitor for preventing power failure.

6. The parking space ground lock control circuit based on Bluetooth Sig Mesh according to claim 4, characterized in that: The detection module comprises: Two groups of transmitting-receiving diodes, each group of which includes an infrared transmitting diode and a photosensitive receiving diode arranged opposite to each other, and the state of the rocker arm of the controlled ground lock is detected by detecting whether the infrared light emitted by the infrared transmitting diode is blocked by the baffle on the ground lock; A voltage-dividing resistor is connected to the infrared emitting diode and the output end of the power supply module respectively; A matching resistor is connected to the photosensitive receiving diode and the controller respectively.

7. The parking space ground lock control circuit based on Bluetooth Sig Mesh according to claim 4, characterized in that: The Bluetooth ad hoc network module includes: The Bluetooth chip, serial port receiving and serial port sending are connected to the self-locking switch respectively The antenna base and the antenna are connected to the Bluetooth chip.

8. The parking space ground lock control circuit based on Bluetooth Sig Mesh according to claim 7, characterized in that: When the self-locking switch is in the unlocked state, the serial port receiving and the serial port sending are respectively connected to the controller. When the self-locking switch is in the self-locking state, the serial port receiving is connected to the single-line slave interface of the Bluetooth chip, and the serial port sending end is suspended.

9. The parking space ground lock control circuit based on Bluetooth Sig Mesh according to claim 7, characterized in that: The power supply module, the detection module, the motor drive module, the remote control receiving module, the Bluetooth ad hoc network module and the controller are arranged on a circuit board, and the Bluetooth chip is located at the edge of the circuit board.

10. The parking space ground lock control circuit based on Bluetooth Sig Mesh according to claim 4, characterized in that: The motor drive module comprises: The motor driving chip, the forward input pin and the backward input pin are connected to the controller, a group of forward output pins and the backward output pins are connected to the buzzer, and another group of forward output pins and the backward output pins are connected to the rocker motor.