Intelligent light bar control method based on Bluetooth protocol

By adopting the intelligent light bar control method based on Bluetooth protocol in the station, the problems of low efficiency and error-prone artificial parts search are solved, and intelligent and fast automated parts pickup are realized, which improves work efficiency and reduces the error rate.

CN119893481APending Publication Date: 2025-04-25SUZHOU ETAG TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411744462.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-30
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the station, manual parts search is inefficient and prone to errors, resulting in errors in pickup or missing parts.

Method used

Using the intelligent light bar control method based on Bluetooth protocol, the order code number is received through the remote wireless system, the MAC address of the tag is bound, and the server communicates with the base station to send pickup instructions to the tag to realize automated pickup.

Benefits of technology

It improves the work efficiency of the station, reduces the error rate of picking up parts, and realizes an intelligent and fast picking process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893481A_ABST
    Figure CN119893481A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, in particular to an intelligent light bar control method based on a Bluetooth protocol, and the method comprises the steps: S1, receiving a code number of an order through a remote wireless system, and binding a plurality of code numbers with an MAC address of a label; s2, a plurality of label MAC addresses are uploaded to a server, and the server is in communication connection with a base station; s3, the communication end scans the code number, and the server sends data information to the label through a sending module AP1 of the base station; s4, the sending module AP1 sends a pickup instruction and generates instruction operation; s5, the base station feeds back a pickup response to the server; and S6, the AP2 successfully receives the pickup instruction, and the MQTT feeds back to the server to indicate that pickup is completed. In the courier station, the efficiency of intelligent label delivery is higher than that of manual delivery, the error rate is lower, and the delivery efficiency of express items is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method for controlling an intelligent light bar based on a Bluetooth protocol. Background Art

[0002] At present, in many post stations, it is necessary to manually find the items according to the pickup code, and the post station staff needs to manually scan the items to confirm the successful pickup. This operation method is not smart, and there will be problems such as picking up errors or missing items. Therefore, a smart and fast pickup is needed to improve the work efficiency of the post station and effectively reduce the error rate of picking up items. At present, no effective solution has been proposed. Summary of the invention

[0003] The main purpose of this application is to provide a smart light bar control method based on the Bluetooth protocol to solve the problem of urgently needing a smart and fast pickup system in the post station to improve the work efficiency of the post station.

[0004] In order to achieve the above purpose, the present application provides a smart light bar control method based on Bluetooth protocol. It includes:

[0005] S1. The remote wireless system receives the coding number of the order and binds several coding numbers to the MAC addresses of the tags; S2. Several tag MAC addresses are uploaded to the server, and the server is connected to the base station in communication; S3. The communication end scans the coding number, and the server sends data information to the tag through the sending module AP1 of the base station; S4. The sending module AP1 sends a pickup instruction and generates an instruction operation; S5. The base station feeds back to the server to indicate a pickup response; S6. AP2 successfully receives the pickup instruction, and MQTT feeds back to the server to indicate that the pickup is completed.

[0006] Further, in step S2, the server is connected with the base station in communication, and the communication connection process of the base station includes: A21, initialization of the module group in the server and the base station; A22, the server pushes information to the base station; A23, the sending module AP1 of the base station sends data information; A24, whether the receiving module AP2 has received data information, if the data information is received, go to step A25, otherwise, repeat step A23 in which the base station sending module AP1 sends data information; A25, generate an instruction operation, and after the push instruction is completed, return to step A21 to complete the new data transmission.

[0007] Furthermore, the server is connected to the base station in communication, and the communication connection process of the base station includes: B21, turning on the receiving module and timing publishing; B22, the receiving module detects whether any data has arrived, if data information is received, proceeds to step B23, if no data information is received, proceeds to step B24; B23, caches data information in the data list, and returns to step B22; B24, regularly publishes the real-time data of the tag to the server.

[0008] Further, the tag response steps include: C1, initializing the RF module and DPIO of the tag; C2, setting the scan-undirective sleep time of the light bar to T0, the scan-directive sleep time to T2, and the Beacon time to T4; C3, judging whether Beacon T4 is interrupted, if not, proceeding to step C4, otherwise proceeding to step C31; C4, judging whether the sleep time T2 is interrupted, if otherwise, proceeding to step C5, otherwise proceeding to step C41; C5, judging whether the sleep time T0 is interrupted, if otherwise, proceeding to step C6, otherwise proceeding to step C51; C6, judging whether the key is interrupted, if so, proceeding to step C7, otherwise proceeding to step C2; C7, turning off the flashing light and the buzzer.

[0009] Further, step C31 in step C3 includes: C311, sending Beacon information to the base station; C312, judging whether Beacon T5 is interrupted, if so, turning off the Beacon information sending, otherwise returning to step C311;

[0010] Further, step C41 in step C4 includes: C411, start T3 directional scanning function; C412, determine whether its own MAC address is received, if so, go to step C413, otherwise go to step C7; C414, parse the control instructions of the flashing light and buzzer, and go to step C311.

[0011] Further, step C51 in step 5 includes: C511, turn on the T1 non-directional scanning function; C512, determine whether its own MAC address is received, if so, go to step C514, otherwise go to step C7; C514, connect to the base station and perform data communication; C515, determine whether the information has been received, if so, go to step C516, otherwise go to step C514; C516, send a receipt, and disconnect after completion; C517, parse the data information, complete the corresponding operation, and go to C7.

[0012] Furthermore, it is characterized in that the tag is provided with a unique MAC address (set as MAC-host) and a virtual sub-MAC address (MAC-sub), and the MAC-sub supports online modification through a non-directional broadcast connection.

[0013] Furthermore, the tag sets the scan-undirective sleep time to T0 and the scan time to T1 (T1≤20ms); sets the scan-directive sleep time to T2 and the scan time to T3 (T1≤10ms); sets the Beacon time to T4 and the Beacon broadcast time to T5.

[0014] This solves the technical problem in related technologies that manual search for items is inefficient and prone to errors during work at the post station. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings constituting a part of this application are used to provide a further understanding of this application, so that other features, purposes and advantages of this application become more obvious. The schematic embodiment drawings and their descriptions of this application are used to explain this application and do not constitute an improper limitation on this application. In the drawings:

[0016] Figure 1 It is a flow chart of a smart light bar control method based on Bluetooth protocol provided according to an embodiment of the present application;

[0017] Figure 2 It is a flow chart of the communication connection process of the server and the base station provided in the embodiment of the present application;

[0018] Figure 3 It is a flow chart of the communication connection process of the server and the base station provided in the embodiment of the present application;

[0019] Figure 4 is a flowchart of a base station provided according to an embodiment of the present application;

[0020] Figure 5 It is a workflow diagram of a label provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] In the present application, the terms "upper", "lower", "left", "right", "front", "back", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings. These terms are mainly used to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to have a specific orientation, or to be constructed and operated in a specific orientation.

[0024] In addition, some of the above terms may be used to express other meanings in addition to indicating orientation or positional relationship. For example, the term "on" may also be used to express a certain dependency or connection relationship in some cases. For those of ordinary skill in the art, the specific meanings of these terms in this application can be understood according to specific circumstances.

[0025] In addition, the term "plurality" shall mean two or more.

[0026] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0027] like Figure 1 As shown, Figure 1 The present invention is a flow chart of a smart light bar control method based on the Bluetooth protocol according to an embodiment of the present invention. The control method flow chart includes the following steps:

[0028] S1. The remote wireless system receives the code number of the order and binds several code numbers to the MAC address of the tag; S2. Several tag MAC addresses are uploaded to the server, and the server is connected to the base station; S3. The communication end scans the code number, and the server sends data information to the tag through the base station's sending module AP1; S4. The sending module AP1 sends a pickup instruction and generates an instruction operation; S5. The base station feeds back to the server to indicate a pickup response; S6. AP2 successfully receives the pickup instruction, and MQTT feeds back to the server to indicate that the pickup is complete. Through the above process method, in the post station, the efficiency of smart label shipment is higher than that of manual shipment, and the error rate is lower, which speeds up the delivery efficiency of express delivery.

[0029] The tag is provided with a unique MAC address (set as MAC-host) and a virtual sub-MAC address (MAC-sub). The MAC-sub supports online modification through a non-directional broadcast connection.

[0030] like Figure 2 As shown, in step S2, the server is connected to the base station in communication, and the communication connection process of the base station includes: A21, initialization of the module group in the server and the base station; A22, the server pushes information to the base station; A23, the sending module AP1 of the base station sends data information; A24, whether the receiving module AP2 has received data information, if the data information is received, go to step A25, otherwise, repeat step A23 in which the base station sending module AP1 sends data information; A25, generate an instruction operation, and after the push instruction is completed, return to step A21 to complete the new data transmission.

[0031] At the same time, if Figure 2 As shown, the server is connected to the base station in communication, and the communication connection process of the base station includes: B21, start the receiving module and timed release; B22, the receiving module detects whether there is data arrival, if the data information is received, go to step B23, if the data information is not received, go to step B24; B23, cache the data information in the data list, and return to step B22; B24, regularly release the real-time data of the tag to the server.

[0032] like Figure 3As shown, the tag response steps include: C1, the RF module and DPIO of the tag are initialized; C2, the light bar sets the scan-undirective sleep time to T0, the scan-directive sleep time to T2, and the Beacon time to T4; C3, determine whether Beacon T4 is interrupted, if not, go to step C4, otherwise go to step C31; C4, determine whether the sleep time T2 is interrupted, if otherwise, go to step C5, otherwise go to step C41; C5, determine whether the sleep time T0 is interrupted, if otherwise, go to step C6, otherwise go to step C51; C6, determine whether the key is interrupted, if so, go to step C7, otherwise go to step C2; C7, turn off the flashing light and the buzzer.

[0033] The tag sets the scan-undirective sleep time to T0 and the scan time to T1 (T1≤20ms); sets the scan-directive sleep time to T2 and the scan time to T3 (T1≤10ms). Set the Beacon time to T4 and the Beacon broadcast time to T5.

[0034] like Figure 3 As shown, step C31 in step C3 includes: C311, sending Beacon information to the base station; C312, judging whether Beacon T5 is interrupted, if so, turning off the Beacon information sending, otherwise returning to step C311;

[0035] like Figure 3 As shown, step C41 in step C4 includes: C411, start T3 directional scanning function; C412, determine whether its own MAC address is received, if so, go to step C413, otherwise go to step C7; C414, analyze the control instructions of the flashing light and buzzer, and go to step C311.

[0036] like Figure 3 As shown, step C51 in step 5 includes: C511, turn on the T1 non-directional scanning function; C512, determine whether the MAC address is received, if so, go to step C514, otherwise go to step C7; C514, connect to the base station and perform data communication; C515, determine whether the information is received, if so, go to step C516, otherwise go to step C514; C516, send a receipt, and disconnect after completion; C517, parse the data information, complete the corresponding operation, and go to C7.

[0037] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A smart light bar control method based on Bluetooth protocol, characterized in that: include: S1. The remote wireless system receives the code number of the order and binds several code numbers to the MAC address of the tag; S2. Several tag MAC addresses are uploaded to the server, and the server is connected to the base station for communication; S3, the communication terminal scans the code number, and the server sends data information to the tag through the base station's sending module AP1; S4, the sending module AP1 sends a pickup instruction and generates an instruction operation; S5, the base station feeds back to the server to indicate a pickup response; S6. AP2 successfully receives the pickup instruction, and MQTT feedback is sent to the server to indicate that the pickup is completed.

2. The method for controlling a smart light bar based on Bluetooth protocol as claimed in claim 1, characterized in that: In step S2, the server is connected to the base station in communication, and the communication connection process of the base station includes: A21, initialization of the module group in the server and the base station; A22, the server pushes information to the base station; A23, the sending module AP1 of the base station sends data information; A24, whether the receiving module AP2 has received data information, if the data information is received, go to step A25, otherwise, repeat step A23 in which the base station sending module AP1 sends data information; A25, generate instruction operation, and after the push instruction is completed, return to step A21 to complete the new data transmission.

3. The method for controlling a smart light bar based on Bluetooth protocol as claimed in claim 1, characterized in that: The server is connected to the base station in communication, and the communication connection process of the base station includes: B21, turning on the receiving module and timing publishing; B22, the receiving module detects whether there is data arrival, if data information is received, go to step B23, if no data information is received, go to step B24; B23, cache data information to the data list, return to step B22; B24, regularly publish the real-time data of the tag to the server.

4. The method for controlling a smart light bar based on Bluetooth protocol as claimed in claim 3, characterized in that: The tag response steps include: C1, initializing the RF module and DPIO of the tag; C2, setting the scan-undirective sleep time of the light bar to T0, the scan-directive sleep time to T2, and the Beacon time to T4; C3, judging whether Beacon T4 is interrupted, if not, proceeding to step C4, otherwise proceeding to step C31; C4, judging whether the sleep time T2 is interrupted, if not, proceeding to step C5, otherwise proceeding to step C41; C5, judging whether the sleep time T0 is interrupted, if not, proceeding to step C6, otherwise proceeding to step C51; C6, judging whether the key is interrupted, if so, proceeding to step C7, otherwise proceeding to step C2; C7, turning off the flashing light and the buzzer.

5. The method for controlling a smart light bar based on Bluetooth protocol as claimed in claim 4, characterized in that: Step C31 in step C3 includes: C311, sending Beacon information to the base station; C312, judging whether Beacon T5 is interrupted, if so, turning off the sending of Beacon information, otherwise returning to step C311.

6. The method for controlling a smart light bar based on Bluetooth protocol as claimed in claim 4, characterized in that: Step C41 in step C4 includes: C411, start T3 directional scanning function; C412, determine whether its own MAC address is received, if so, go to step C413, otherwise go to step C7; C414, analyze the control instructions of the flashing light and buzzer, and go to step C311.

7. The method for controlling a smart light bar based on Bluetooth protocol as claimed in claim 6, characterized in that: Step C51 in step 5 includes: C511, turn on the T1 non-directional scanning function; C512, determine whether your MAC address is received, if so, go to step C514, otherwise go to step C7; C514, connect to the base station and perform data communication; C515, determine whether the information has been received, if so, go to step C516, otherwise go to step C514; C516, send a receipt, and disconnect after completion; C517, parse the data information, complete the corresponding operation, and go to C7.

8. The method for controlling a smart light bar based on Bluetooth protocol as claimed in claim 3, characterized in that: The tag is provided with a unique MAC address (set as MAC-host) and a virtual sub-MAC address (MAC-sub). The MAC-sub supports online modification through a non-directional broadcast connection.

9. The method for controlling a smart light bar based on Bluetooth protocol as claimed in claim 8, characterized in that: The tag sets the scan-undirective sleep time to T0 and the scan time to T1 (T1≤20ms); sets the scan-directive sleep time to T2 and the scan time to T3 (T1≤10ms); sets the Beacon time to T4 and the Beacon broadcast time to T5.