Data processing method and device, equipment and storage medium
By receiving broadcast messages from the terminal to determine the type and process the data packets, the problem of the single processing method and insufficient accuracy of Bluetooth indoor distributed antennas is solved, and efficient processing and high-precision positioning of multiple types of data packets are achieved.
Patent Information
- Application Number
- CN202110711271.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-25
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2041-06-25
AI Technical Summary
Bluetooth indoor distributed antennas have a simple and complex method for processing data packets, resulting in weak functionality and a lack of support for high-precision positioning, which cannot meet the needs of intelligent applications.
By receiving broadcast messages sent by the terminal, the terminal type is determined using the first and second indication information, and data packets are processed according to the type, including selecting a suitable Bluetooth chip and sampling processing method, and then distributed to the corresponding platform.
It enables targeted processing of data packets based on terminal type, simplifies the processing method, enhances the functionality of Bluetooth indoor distributed antennas, supports processing of multiple types of data packets, and improves positioning accuracy.
Smart Images

Figure CN115529550B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the wireless technology field, and in particular to a data processing method and device, equipment and storage medium. BACKGROUND
[0002] With the rapid development of communication network technology, the application range of Bluetooth room division antennas is wider and wider. Generally, the Bluetooth room division antenna can receive a data packet sent by a terminal, process the received data packet, and distribute the processed data packet to a corresponding Internet of Things data platform or positioning capability platform. However, the way of processing the data packet by the Bluetooth room division antenna is single and complex, which leads to weak functions of the Bluetooth room division antenna. SUMMARY
[0003] Therefore, the embodiments of the present application provide a data processing method, device, equipment and storage medium.
[0004] The technical scheme of the embodiments of the present application is as follows:
[0005] At least one embodiment of the present application provides a data processing method applied to a Bluetooth room division antenna, and the method comprises the following steps:
[0006] receiving a broadcast message sent by a terminal; the broadcast message carries first indication information and / or second indication information; the first indication information indicates a terminal type in a display manner; the second indication information indicates a terminal type in a non-display manner;
[0007] determining the type of the terminal according to the first indication information and / or the second indication information carried by the broadcast message;
[0008] processing a data packet sent by the terminal according to the type of the terminal.
[0009] In addition, according to at least one embodiment of the present application, the processing of the data packet sent by the terminal according to the type of the terminal comprises:
[0010] determining a Bluetooth chip for processing the data packet sent by the terminal according to the type of the terminal;
[0011] and / or,
[0012] determining whether to perform sampling processing on the data packet sent by the terminal according to the type of the terminal;
[0013] In addition, according to at least one embodiment of the present application, the determination of whether to perform sampling processing on the data packet sent by the terminal according to the type of the terminal comprises:
[0014] When the type of the terminal is a preset first type, it is determined that the data packet sent by the terminal is not subjected to sampling processing, and the data packet sent by the terminal is received through the antenna oscillator of the Bluetooth room-dividing antenna; the data packet carries Internet of Things information.
[0015] In addition, according to at least one embodiment of the present application, the broadcast message further carries a Medium Access Control (MAC) address of the terminal; and the method further comprises:
[0016] When the MAC address of the terminal is in the white list, a data type field is added in the received data packet, and the added data type field is defined as a transparent type;
[0017] The broadcast message and the data packet carrying the data type field are sent to a Bluetooth gateway.
[0018] In addition, according to at least one embodiment of the present application, the broadcast message further carries an operator identifier and / or a manufacturer identifier of the terminal; and the method further comprises:
[0019] When the operator identifier and / or the manufacturer identifier of the terminal conforms to an analysis filtering rule, a data type field is added in the received data packet, and the added data type field is defined as an analysis filtering type;
[0020] The broadcast message and the data packet carrying the data type field are sent to a Bluetooth gateway.
[0021] In addition, according to at least one embodiment of the present application, the determining whether the data packet sent by the terminal is subjected to sampling processing according to the type of the terminal comprises:
[0022] When the type of the terminal is a preset second type, it is determined that the data packet sent by the terminal is subjected to sampling processing, and the data packet sent by the terminal is received through an antenna array of the Bluetooth room-dividing antenna; the data packet carries related information used for determining a first positioning signal and Internet of Things information;
[0023] The related information carried by the data packet is subjected to sampling processing to obtain the first positioning signal;
[0024] The first positioning signal and the Internet of Things information form a new data packet;
[0025] A data type field is added in the new data packet, and the added data type field is defined as a first positioning type;
[0026] The broadcast message and the data packet carrying the data type field are sent to a Bluetooth gateway.
[0027] Further, according to at least one of the embodiments of the present application, the determining whether to sample the data packet sent by the terminal according to the type of the terminal comprises:
[0028] When the type of the terminal is a preset third type, it is determined that the data packet sent by the terminal is not sampled, and the second positioning signal and the Internet of Things information sent by the terminal are received through the antenna element of the Bluetooth room antenna;
[0029] The second positioning signal and the Internet of Things information are formed into a new data packet;
[0030] A data type field is added in the new data packet, and the added data type field is defined as a second positioning type;
[0031] The broadcast message and the data packet carrying the data type field are sent to the Bluetooth gateway.
[0032] Further, according to at least one of the embodiments of the present application, the determining the Bluetooth chip for processing the data packet sent by the terminal according to the type of the terminal comprises:
[0033] When the type of the terminal is a preset first type or a preset third type, the Bluetooth chip for processing the data packet sent by the terminal is determined to be a first Bluetooth chip;
[0034] When the type of the terminal is a preset second type, the Bluetooth chip for processing the data packet sent by the terminal is determined to be a second Bluetooth chip.
[0035] Further, according to at least one of the embodiments of the present application, the determining the type of the terminal according to the first indication information and / or the second indication information carried in the broadcast message comprises:
[0036] The type of the terminal is directly obtained according to the first indication information;
[0037] and / or,
[0038] The type of the terminal is obtained by inferring the second indication information.
[0039] At least one of the embodiments of the present application provides a data processing method applied to a terminal, and the method comprises:
[0040] A broadcast message is sent to a Bluetooth room antenna; the broadcast message carries first indication information and / or second indication information; the first indication information indicates a terminal type in a display manner; and the second indication information indicates a terminal type in a non-display manner;
[0041] The type of the terminal is used for the Bluetooth room antenna to process a data packet sent by the terminal.
[0042] Further, according to at least one embodiment of the present application, the method further comprises:
[0043] sending a data packet to the Bluetooth room antenna;
[0044] wherein the data packet comprises one of the following information:
[0045] IoT information;
[0046] information for determining the first positioning signal and IoT information;
[0047] a second positioning signal and IoT information.
[0048] At least one embodiment of the present application provides a data processing method applied to a Bluetooth gateway, characterized in that the method comprises:
[0049] receiving a data packet and a broadcast message sent by the Bluetooth room antenna; the broadcast message carries first indication information and / or second indication information; the first indication information indicates a terminal type in a display manner; the second indication information indicates a terminal type in a non-display manner; the data packet carries a data type field;
[0050] processing the data packet according to the terminal type and / or the data type field.
[0051] Further, according to at least one embodiment of the present application, the method further comprises:
[0052] when the data type field is a transparent type, caching the data packet in first type data; the data packet carries IoT information;
[0053] sorting a plurality of data packets in the first type data;
[0054] sending the sorted plurality of data packets to an IoT data platform.
[0055] Further, according to at least one embodiment of the present application, the method comprises:
[0056] when the data type field is an analysis filtering type, caching the data packet in second type data; the data packet carries IoT information;
[0057] sorting a plurality of data packets in the second type data;
[0058] performing a redundancy filtering process on the sorted plurality of data packets;
[0059] sending the plurality of data packets after the redundancy filtering process to an IoT data platform.
[0060] Further, according to at least one embodiment of the present application, the method comprises:
[0061] when the terminal type is a preset second type, buffering the data packet in third type data; the data packet carries relevant information for determining a first positioning signal and Internet of Things information;
[0062] sorting a plurality of data packets in the third type data;
[0063] sending the sorted plurality of data packets to a first Bluetooth positioning platform and an Internet of Things data platform.
[0064] Further, according to at least one embodiment of the present application, the method comprises:
[0065] when the terminal type is a preset third type, buffering the data packet in fourth type data; the data packet carries a second positioning signal and Internet of Things information;
[0066] sorting a plurality of data packets in the fourth type data;
[0067] sending the sorted plurality of data packets to a second Bluetooth positioning platform and an Internet of Things data platform.
[0068] At least one embodiment of the present application provides a data processing device, comprising:
[0069] a first receiving unit configured to receive a broadcast message sent by a terminal; the broadcast message carries first indication information and / or second indication information; the first indication information indicates a terminal type in a display manner; and the second indication information indicates a terminal type in a non-display manner;
[0070] a first processing unit configured to determine a type of the terminal according to the first indication information and / or the second indication information carried by the broadcast message, and process a data packet sent by the terminal according to the type of the terminal.
[0071] At least one embodiment of the present application provides a data processing device, comprising:
[0072] a sending unit configured to send a broadcast message to a Bluetooth room antenna; the broadcast message carries first indication information and / or second indication information; the first indication information indicates a terminal type in a display manner; and the second indication information indicates a terminal type in a non-display manner;
[0073] wherein the type of the terminal is used for the Bluetooth room antenna to process a data packet sent by the terminal.
[0074] At least one embodiment of the present application provides a data processing device, comprising:
[0075] The second receiving unit is used for receiving a data packet and a broadcast message sent by the Bluetooth room antenna; the broadcast message carries first indication information and / or second indication information; the first indication information indicates the terminal type in a display mode; the second indication information indicates the terminal type in a non-display mode; and the data packet carries a data type field.
[0076] The second processing unit is used for processing the data packet according to the terminal type and / or the data type field.
[0077] At least one embodiment of the present application provides a data processing device, comprising:
[0078] The first communication interface is used for receiving a broadcast message sent by a terminal; the broadcast message carries first indication information and / or second indication information; the first indication information indicates the terminal type in a display mode; and the second indication information indicates the terminal type in a non-display mode.
[0079] The first processor is used for determining the type of the terminal according to the first indication information and / or the second indication information carried by the broadcast message, and processing a data packet sent by the terminal according to the type of the terminal.
[0080] At least one embodiment of the present application provides a data processing device, comprising:
[0081] The second communication interface is used for sending a broadcast message to a Bluetooth room antenna; the broadcast message carries first indication information and / or second indication information; the first indication information indicates the terminal type in a display mode; and the second indication information indicates the terminal type in a non-display mode.
[0082] The type of the terminal is used for the Bluetooth room antenna to process a data packet sent by the terminal.
[0083] At least one embodiment of the present application provides a data processing device, comprising:
[0084] The third communication interface is used for receiving a data packet and a broadcast message sent by a Bluetooth room antenna; the broadcast message carries first indication information and / or second indication information; the first indication information indicates the terminal type in a display mode; the second indication information indicates the terminal type in a non-display mode; and the data packet carries a data type field.
[0085] The third processor is used for processing the data packet according to the terminal type and / or the data type field.
[0086] At least one embodiment of the present application provides a Bluetooth room antenna, characterized by comprising a processor and a memory for storing a computer program capable of running on the processor,
[0087] The processor is configured to execute the steps of any of the above methods when the computer program is run on the processor.
[0088] At least one embodiment of the present application provides a terminal, characterized in comprising a processor and a memory for storing a computer program capable of running on the processor,
[0089] The processor is configured to execute the steps of any of the above methods when the computer program is run on the processor.
[0090] At least one embodiment of the present application provides a Bluetooth gateway, characterized in comprising a processor and a memory for storing a computer program capable of running on the processor,
[0091] The processor is configured to execute the steps of any of the above methods when the computer program is run on the processor.
[0092] At least one embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of any of the above methods.
[0093] The data processing method, device, equipment and storage medium provided by the embodiment of the present application, receiving a broadcast message sent by a terminal; the broadcast message carries first indication information and / or second indication information; the first indication information indicates a terminal type in a display manner; the second indication information indicates a terminal type in a non-display manner; determining the type of the terminal according to the first indication information and / or the second indication information carried by the broadcast message; and processing a data packet sent by the terminal according to the type of the terminal. By using the technical solution provided by the embodiment of the present application, the Bluetooth room-dividing antenna can process the data packet sent by the terminal according to the type of the terminal, if the types of the terminals are different, the processing manner of the data packet is also different, thereby realizing the targeted processing of the data packet, not only can multiple types of data packets be processed, but also the processing manner is simplified, and the function of the Bluetooth room-dividing antenna is enhanced. BRIEF DESCRIPTION OF DRAWINGS
[0094] Figure 1a is a schematic diagram of the composition structure of the Bluetooth room-dividing antenna in the related art;
[0095] Figure 1b is a schematic diagram of the composition structure of the smart room-dividing system in the related art;
[0096] Figure 2a is a schematic diagram of the implementation principle of the angle of arrival (AOA) positioning;
[0097] Figure 2bis a structure diagram of a data packet sent by a terminal based on a Bluetooth 5.1 protocol;
[0098] Figure 2c is a principle diagram of implementing positioning based on a Bluetooth 4.2 protocol;
[0099] Figure 2d is a structure diagram of a broadcast message sent by a terminal;
[0100] Figure 2e is a structure diagram of a broadcast message sent by a terminal;
[0101] Figure 2f is a structure diagram of a broadcast message sent by a terminal Figure Three ;
[0102] Figure 2g is a diagram of a protocol data unit (PDU) Data structure;
[0103] Figure 2h is a diagram of a composition structure of a Bluetooth room antenna;
[0104] Figure 3 is a diagram of a Bluetooth room antenna side data processing method of an embodiment of the application;
[0105] Figure 4 is a diagram of a Bluetooth room antenna processing terminal sent data packet implementation process of an embodiment of the application;
[0106] Figure 5 is a diagram of a Bluetooth room antenna processing terminal sent data packet implementation process of an embodiment of the application;
[0107] Figure 6 is a diagram of a Bluetooth room antenna processing terminal sent data packet implementation process of an embodiment of the application Figure Three ;
[0108] Figure 7 is a diagram of a Bluetooth room antenna processing terminal sent data packet implementation process of an embodiment of the application Figure Four ;
[0109] Figure 8 is a diagram of a terminal side data processing method implementation process of an embodiment of the application;
[0110] Figure 9 is a diagram of a Bluetooth gateway side data processing method implementation process of an embodiment of the application;
[0111] Figure 10 is a diagram of a data processing device composition structure of an embodiment of the application;
[0112] Figure 11 This is a schematic diagram of the composition structure of the data processing device according to an embodiment of the present invention;
[0113] Figure 12 This is a schematic diagram of the composition structure of the data processing device according to an embodiment of the present invention. Figure Three ;
[0114] Figure 13 This is a schematic diagram of the composition structure of the Bluetooth indoor distribution antenna according to an embodiment of the present invention;
[0115] Figure 14 This is a schematic diagram of the component structure of the terminal according to an embodiment of the present invention;
[0116] Figure 15 This is a schematic diagram of the composition structure of a Bluetooth gateway according to an embodiment of the present invention. Detailed Implementation
[0117] Before introducing the technical solutions of the embodiments of the present invention, the relevant technologies will be explained first.
[0118] In related technologies, Figure 1a This is a schematic diagram of the composition and structure of a Bluetooth indoor distributed antenna in related technologies, such as... Figure 1a As shown, the Bluetooth indoor distributed antenna integrates two Bluetooth chips supporting the Bluetooth 4.2 protocol: Bluetooth chip BLE1 and Bluetooth chip BLE2. These two Bluetooth chips share a radiating element with the antenna. On one hand, Bluetooth chip BLE1 transmits broadcast signals externally via an electronic switch SPDT, a bidirectional coupler, and the antenna element, thereby achieving downlink positioning and advertising information push functions. On the other hand, the antenna element receives Bluetooth broadcast signals from the terminal, demodulates the information at Bluetooth chip BLE2, and sends it to Bluetooth chip BLE1 in digital signal form. Bluetooth chip BLE1 then transmits this signal back to the Bluetooth gateway via an RF feeder. The Bluetooth gateway then sends uplink positioning data to a positioning server or IoT information to an IoT data acquisition server.
[0119] Figure 1b This is a schematic diagram of the composition and structure of a smart indoor distribution system in related technologies, such as... Figure 1b As shown, the Bluetooth terminal sends a broadcast signal to the Bluetooth indoor distributed antenna. Due to the massive amount of data collected by public Bluetooth systems, the Bluetooth indoor distributed antenna separates the valid data from the numerous Bluetooth broadcasts and transmits it to the Bluetooth gateway via the air interface protocol. The Bluetooth gateway then separates the IoT information and the positioning signal based on the Bluetooth 4.2 protocol from the valid data and distributes them to the corresponding indoor IoT data platform or indoor positioning capability platform.
[0120] Among related technologies, the technical shortcomings of Bluetooth indoor distributed antennas include:
[0121] I. The Bluetooth room antenna receives the data packet sent by the Bluetooth terminal, processes the received data packet, and distributes the processed data packet to the corresponding Internet of Things data platform or positioning capability platform. However, since the Bluetooth room antenna does not know the specific content carried by the data packet sent by the terminal, the Bluetooth room antenna needs to identify the content carried by the data packet first, and then process it, which leads to a complex way of processing the data packet, thereby reducing the efficiency of the Bluetooth room antenna in processing the data packet.
[0122] II. The Bluetooth room antenna does not support Bluetooth chips with higher positioning accuracy. Although it integrates Bluetooth chips supporting Bluetooth 4.2 protocol, it can realize uplink and downlink positioning and Internet of Things collection functions, but the positioning accuracy is only 3-5m, which cannot meet the requirements of intelligent occasions with high positioning accuracy.
[0123] The related technical terms involved in the embodiments of the present application are described in detail below.
[0124] I. Principle of realizing AOA positioning based on Bluetooth 5.1 protocol
[0125] Figure 2a is a schematic diagram of the implementation principle of AOA positioning, as shown in Figure 2a , the transmitter single antenna sends a special data packet, and the receiver is a multi-antenna array for multi-antenna switching reception. Due to the different distances of each antenna to the transmitter, a phase difference will be generated. By the phase difference and the distance difference between the antennas, the angle relationship between the antenna and the transmitter is calculated, and finally the angle of arrival of the transmitter signal received by the multi-receiver and the triangular positioning method are used to finally solve the accurate position of the transmitter.
[0126] According to formula (1), the angle relationship between the antenna and the transmitter is calculated, as follows:
[0127]
[0128] where θ represents the angle between the antenna and the transmitter, d represents the distance between the two antenna oscillators, represents the phase difference between the antenna and the transmitter, and λ represents the wavelength.
[0129] II. Structure of the data packet sent by the terminal based on Bluetooth 5.1 protocol
[0130] The data packet sent by the terminal based on the Bluetooth 5.1 protocol contains a fixed frequency extension signal (CTE, Constant Tone Extension) signal composed of a string of "1"s, so as to ensure that the antenna array in the Bluetooth room antenna receives this part of the signal at a constant frequency, so that the signal wavelength does not change more, to facilitate the calculation of the angle of arrival. After the Bluetooth room antenna receives the data packet containing the CTE signal sent by the terminal, IQ sampling is performed during the CTE signal, wherein a single IQ sample is composed of signal amplitude and phase angle and is expressed in Cartesian coordinates.
[0131] Figure 2b is a structural diagram of the data packet sent by the terminal based on the Bluetooth 5.1 protocol, as Figure 2b shown, the AOA data packet sent by the terminal based on the Bluetooth 5.1 protocol contains CTE signal, i.e. CTE Info. Among them, the CTE signal is the extension data in the AOA data packet, the time length is 16-160us, there is no CRC check, and the time length is determined by CTE Time.
[0132] III. Principle of realizing positioning based on Bluetooth 4.2 protocol
[0133] The principle of realizing positioning based on Bluetooth 4.2 protocol is: based on the signal field strength indication (RSSI, Received Signal Strength Indication) value, positioning is carried out through the principle of triangular positioning.
[0134] As shown in Figure 2c , given the positioning node 1 (x1, y1), the positioning node 2 (x2, y2), and the positioning node 3 (x3, y3), the position (x, y) of the Bluetooth terminal is calculated according to the RSSI and formula (2).
[0135]
[0136] Figure 2c The distances R1, R2, and R3 in formula (3) can be calculated by combining the free space propagation model and formula (3).
[0137]
[0138] Where P T represents the radiation power of the antenna, G T is the gain of the transmitting antenna, G R represents the gain of the receiving antenna, L is the system loss factor independent of propagation, and λ is the wavelength.
[0139] IV. Structure of the broadcast message sent by the terminal to the Bluetooth room antenna
[0140] Figure 2dis a structural diagram of a broadcast message sent by a terminal to a Bluetooth room antenna, as shown in Figure 2d As shown in the figure, the broadcast message is composed of four parts, as follows:
[0141] Premble: occupies 1 byte, 8-bit alternating sequence, fixed as 0b01010101 or 0b10101010, depending on the first bit of the Access Address.
[0142] Access Address: occupies 4 bytes, broadcast address is fixed as 0x8E89BED6.
[0143] PDU: occupies 8-39 bytes, carries broadcast communication content, composed of Header, Mac Address and Data three parts. Among them, the type of PDU Type has 7 types, as shown in Figure 2e .
[0144] Data: contains one or more broadcast structure units (AD Structure), each AD Structure is composed of broadcast length (AD Length, 1 byte), broadcast type (AD Type, 1 byte) and broadcast data (AD Data), as shown in Figure 2f .
[0145] Among them, AD Length indicates the AD Type and AD Data length of the current AD Structure, and AD Type indicates the type of AD Data data. Common AD Data data types are shown in Table 1.
[0146]
[0147] Table 1
[0148] At present, most smart phones have supported iBeacon technology, which has laid a solid foundation for promoting indoor positioning business based on Bluetooth technology. The PDU Data length of iBeacon protocol is 30 bytes, which meets the requirement of Bluetooth protocol that the length is not more than 31 bytes.
[0149] Figure 2g is a structural diagram of PDU Data of iBeacon protocol, as shown in Figure 2gAs shown, the PDUData of the iBeacon protocol mainly includes two AD Structures. The first nine bytes of the AD Structure are the fixed mark of the iBeacon, and the core of the AD Structure is composed of four parts: 16 bytes of UUID, 2 bytes of Major, 2 bytes of Minor and 1 byte of Tx Power.
[0150] Five, the composition structure of the Bluetooth room antenna.
[0151] Figure 2h The composition structure of the Bluetooth room antenna is shown in the figure. Figure 2h As shown, the Bluetooth room antenna comprises:
[0152] A main Bluetooth chip supporting the Bluetooth 5.1 protocol;
[0153] A slave Bluetooth chip supporting the Bluetooth 4.2 protocol;
[0154] A micro processing unit (MCU);
[0155] An electronic switch (SPDT);
[0156] A bidirectional coupler;
[0157] An antenna oscillator;
[0158] An antenna array.
[0159] It should be noted that since the Bluetooth room antenna integrates the Bluetooth 5.1 beacon (the main Bluetooth chip) and the Bluetooth 4.2 beacon (the slave Bluetooth chip), it can be compatible with the AOA positioning of the Bluetooth 5.1 protocol, the uplink and downlink positioning of the Bluetooth 4.2 protocol and the functions of the Internet of Things collection. In addition, the Bluetooth room antenna integrates two Bluetooth chips and one MCU inside, which can ensure the real-time of the positioning information and support high concurrency scenarios at the same time.
[0160] Figure 3 The implementation flowchart of the data processing method of the embodiment is shown in the figure. Figure 3 As shown, the method comprises steps 301 to 303:
[0161] Step 301: receiving the broadcast message sent by the terminal; the broadcast message carries first indication information and / or second indication information; the first indication information indicates the terminal type in a display manner; the second indication information indicates the terminal type in a non-display manner.
[0162] It can be understood that the display manner can mean that the type of the terminal is directly obtained according to the first indication information. The non-display manner can mean that the type of the terminal is obtained by inferring the second indication information.
[0163] It can be understood that when the second indication information is information related to the type of the terminal, the type of the terminal can be inferred from the second indication information.
[0164] For example, when the second indication information is a CTE signal, only the terminal supporting AOA positioning of Bluetooth 5.1 protocol can send a CTE signal, and thus the type of the terminal can be obtained by inferring the second indication information.
[0165] Step 302: determining the type of the terminal according to the first indication information and / or the second indication information carried in the broadcast message.
[0166] Taking the broadcast message carrying the first indication information as an example, the process of determining the type of the terminal by the Bluetooth room antenna can include:
[0167] The terminal adds a field in the broadcast message, and carries the type of the terminal in the added field, so as to carry the first indication information in the broadcast message, and sends the broadcast message carrying the first indication information to the Bluetooth room antenna. After receiving the broadcast message sent by the terminal, the Bluetooth room antenna directly determines the type of the terminal through the first indication information carried in the broadcast message.
[0168] Taking the broadcast message carrying the second indication information as an example, the process of determining the type of the terminal by the Bluetooth room antenna can include:
[0169] The terminal carries information related to the type of the terminal in the existing field of the broadcast message, so as to carry the second indication information in the broadcast message, and sends the broadcast message carrying the second indication information to the Bluetooth room antenna. After receiving the broadcast message sent by the terminal, the Bluetooth room antenna infers the type of the terminal through the second indication information carried in the broadcast message.
[0170] For example, the terminal indicates the serial number of the terminal, such as 001, in the existing field of the broadcast message, such as the serial number field. After receiving the broadcast message sent by the terminal, the Bluetooth room antenna parses the broadcast message to obtain the serial number of the terminal, and determines the type of the terminal according to the correspondence between the serial number and the type of the terminal.
[0171] Table 2 is an example of the terminal carrying the first indication information in the broadcast message. As shown in Table 2, a terminal information field is added in the ADstrcture structure of the broadcast message, and the type of the terminal is defined in the added terminal information field.
[0172]
[0173] Table 2
[0174] Table 3 is a schematic of the types of terminals, as shown in Table 3, the types of terminals can include:
[0175] a class, i.e. a broadcast-based non-positioning IoT terminal;
[0176] b class, i.e. AOA positioning terminal based on Bluetooth 5.1 protocol + IoT terminal;
[0177] c class, i.e. positioning terminal based on Bluetooth 4.2 protocol + IoT terminal.
[0178] Type of terminal Meaning Class a Broadcast-based non-positioning IoT class terminal Class b AOA positioning terminal based on Bluetooth 5.1 protocol + IoT class terminal Class c Positioning terminal based on Bluetooth 4.2 protocol + IoT class terminal
[0179] Table 3
[0180] Step 303: processing the data packet sent by the terminal according to the type of the terminal.
[0181] It can be understood that processing the data packet sent by the terminal according to the type of the terminal can include:
[0182] determining a Bluetooth chip for processing the data packet sent by the terminal according to the type of the terminal;
[0183] and / or,
[0184] determining whether to sample the data packet sent by the terminal according to the type of the terminal.
[0185] It can be understood that, taking the types of terminals shown in Table 3 as an example, the Bluetooth room antenna processes the data packet sent by the terminal in the following manner:
[0186] For the data packet sent by the a class terminal or the c class terminal, the data packet is received by the antenna element of the Bluetooth room antenna, the received data packet is not sampled, and the data packet is sent to the Bluetooth gateway by the first Bluetooth chip (slave Bluetooth chip).
[0187] For the data packet sent by the b class terminal, the data packet is received by the antenna array of the Bluetooth room antenna, the received data packet is sampled, and the data packet is sent to the Bluetooth gateway by the second Bluetooth chip (master Bluetooth chip).
[0188] Wherein, the data packet sent by the a class terminal carries IoT information. The data packet sent by the b class terminal carries relevant information for determining the first positioning signal and IoT information. The data packet sent by the c class terminal carries the second positioning signal and IoT information.
[0189] It should be noted that the terminal indicates the type of the terminal to the Bluetooth room antenna in a display manner and / or a non-display manner through a broadcast message, so that the Bluetooth room antenna can process the data packet sent by the terminal according to the type of the terminal, thereby realizing targeted processing of the data packet.
[0190] Figure 4 is a process of processing the data packet sent by the terminal by the Bluetooth room antenna according to the embodiment of the application, as shown in Figure 4 , comprising steps 401 to 406:
[0191] Step 401: receiving a broadcast message sent by a terminal.
[0192] Among them, the broadcast message carries first indication information and / or second indication information, and the MAC address of the terminal.
[0193] It can be understood that the first indication information indicates the type of the terminal in a display manner; the second indication information indicates the type of the terminal in a non-display manner.
[0194] Step 402: parsing the broadcast message to obtain the first indication information and / or second indication information, and the MAC address of the terminal; determining the type of the terminal according to the first indication information and / or second indication information.
[0195] Step 403: determining whether the type of the terminal is a type a; when it is determined that the type of the terminal is type a, executing step 404; otherwise, determining whether the type of the terminal is other types.
[0196] It can be understood that type a corresponds to the preset first type, that is, a broadcast-based non-positioning IoT terminal, which is used to send IoT information to the Bluetooth room antenna.
[0197] Step 404: processing the data packet sent by the terminal of type a.
[0198] Specifically, the data packet sent by the terminal of type a is not sampled and processed, and the data packet sent by the terminal of type a is received through the antenna element of the Bluetooth room antenna; the data packet carries IoT information.
[0199] In combination with the structural diagram of the Bluetooth room antenna shown in Figure 2h , the process of receiving the data packet sent by the terminal of type a by the Bluetooth room antenna is explained as follows:
[0200] Since the a-type terminal does not need to transmit a CTE signal, when the Bluetooth room antenna receives the data packet sent by the a-type terminal, the antenna element in the Bluetooth room antenna is used for receiving, and the data packet is transmitted to the C port through the D port of the double-direction coupler in the Bluetooth room antenna, and then received by the main Bluetooth chip.
[0201] Step 405: judging whether the MAC address of the terminal is in the white list; when the MAC address of the terminal is in the white list, executing step 406; otherwise, discarding the data packet.
[0202] Step 406: adding a data type field in the received data packet, and defining the added data type field as a transparent type; sending the broadcast information and the data packet carrying the data type field to the Bluetooth gateway.
[0203] Here, the data type field can be added in the received data packet, and the value of the data type field is defined as a1, indicating that the data type is a transparent type.
[0204] It can be understood that the data packet of the transparent type can represent that the Bluetooth room antenna does not need to perform sampling processing on the data packet.
[0205] Figure 5 is a process of the Bluetooth room antenna processing the data packet sent by the terminal according to the embodiment of the application, as shown in Figure 5 , comprising steps 501 to 506:
[0206] Step 501: receiving the broadcast message sent by the terminal; the broadcast message carries first indication information and / or second indication information, and an operator identifier and / or a manufacturer identifier of the terminal.
[0207] The first indication information indicates the terminal type in a display manner; the second indication information indicates the terminal type in a non-display manner.
[0208] Step 502: analyzing the broadcast message to obtain the first indication information and / or the second indication information, and the operator identifier and / or the manufacturer identifier of the terminal; determining the type of the terminal according to the first indication information and / or the second indication information.
[0209] Step 503: judging whether the type of the terminal is a type a; when it is determined that the type of the terminal is the type a, executing step 504; otherwise, judging whether the type of the terminal is another type.
[0210] Step 504: processing the data packet sent by the terminal of the type a.
[0211] Specifically, the data packet sent by the terminal of the type a is not subjected to sampling processing, and the data packet sent by the terminal of the type a is received through an antenna oscillator of the Bluetooth room antenna; the data packet carries Internet of Things information.
[0212] in combination with Figure 2hThe structure diagram of the Bluetooth room-split antenna is shown, and the process that the Bluetooth room-split antenna receives the data packet sent by the terminal of the a type is explained, and the process is as follows:
[0213] Since the terminal of the a type does not need to transmit the CTE signal, when the Bluetooth room-split antenna receives the data packet sent by the terminal of the a type, the antenna oscillator in the Bluetooth room-split antenna is used for receiving, and the D port of the bidirectional coupler in the Bluetooth room-split antenna is used for transmitting to the C port, and then the main Bluetooth chip is used for receiving.
[0214] Step 505: judging whether the operator identifier and / or the manufacturer identifier of the terminal meet the analysis filtering rule; when the operator identifier and / or the manufacturer identifier of the terminal meet the analysis filtering rule, executing step 506; otherwise, discarding the data packet.
[0215] Step 506: adding a data type field in the received data packet, and defining the added data type field as an analysis filtering type; and sending the broadcast message and the data packet carrying the data type field to the Bluetooth gateway.
[0216] Here, the data type field can be added in the received data packet, and the value of the data type field is defined as a2, indicating that the data type is an analysis filtering type.
[0217] It can be understood that the data packet of the analysis filtering type can represent that the Bluetooth room-split antenna does not need to perform sampling processing on the data packet.
[0218] Figure 6 It is the process that the Bluetooth room-split antenna of the embodiment of the application processes the data packet sent by the terminal, as shown in Figure 6 The process includes steps 601 to 606.
[0219] Step 601: receiving the broadcast message sent by the terminal; the broadcast message carries first indication information and / or second indication information.
[0220] It can be understood that the first indication information indicates the terminal type in a display manner; and the second indication information indicates the terminal type in a non-display manner.
[0221] Step 602: analyzing the broadcast message to obtain the first indication information and / or the second indication information; and determining the type of the terminal according to the first indication information and / or the second indication information.
[0222] Step 603: judging whether the type of the terminal is the b type; when it is determined that the type of the terminal is the b type, executing step 604; otherwise, judging whether the type of the terminal is another type.
[0223] It can be understood that the b type corresponds to the preset second type, that is, the AOA positioning terminal based on the Bluetooth 5.1 protocol + the Internet of Things type terminal, which is used to send signals related to the AOA positioning signal and the Internet of Things information to the Bluetooth room antenna.
[0224] Step 604: Process the data packet sent by the terminal of type b.
[0225] Specifically, the data packet sent by the terminal of type b is sampled and processed, and the data packet sent by the terminal of type b is received through the antenna array of the Bluetooth room antenna; the data packet carries related information for determining the first positioning signal and Internet of Things information; wherein the first positioning signal can be an AOA positioning signal based on the Bluetooth 5.1 protocol.
[0226] Step 605: Sample processing is performed on the related information carried by the data packet to obtain the first positioning signal; the first positioning signal and the Internet of Things information form a new data packet.
[0227] Step 606: Add a data type field in the new data packet, and define the added data type field as the first positioning type; send the broadcast message and the data packet carrying the data type field to the Bluetooth gateway.
[0228] In combination Figure 2h The structure diagram of the Bluetooth room antenna is shown, which illustrates the process of the Bluetooth room antenna receiving the data packet sent by the terminal of type b, and specifically as follows:
[0229] When the Bluetooth room antenna receives the data packet sent by the terminal of type b, the Bluetooth chip in the Bluetooth room antenna controls the antenna array to receive the data packet sent by the terminal of type b through the switch; the data packet carries related information for determining the first positioning signal and Internet of Things information. Then, after sampling processing the related information for determining the first positioning signal in the data packet, the micro processing unit (MCU) completes the operation of the pitch angle and the heading angle to obtain the pitch angle and the heading angle information, that is, the first positioning signal; the first positioning signal and the Internet of Things information form a new data packet, and then through the main Bluetooth chip, the formed new data packet is transmitted back to the Bluetooth gateway through the radio frequency feeder line by using the air interface protocol.
[0230] Figure 7 The process of the Bluetooth room antenna of the embodiment of the application processing the data packet sent by the terminal is as shown in Figure 7 The process of the Bluetooth room antenna of the embodiment of the application processing the data packet sent by the terminal is as shown in
[0231] Step 701: Receive the broadcast message sent by the terminal; the broadcast message carries first indication information and / or second indication information.
[0232] It can be understood that the first indication information indicates the terminal type in a display manner, and the second indication information indicates the terminal type in a non-display manner.
[0233] In step 702, the broadcast message is parsed to obtain the first indication information and / or the second indication information, and the type of the terminal is determined according to the first indication information and / or the second indication information.
[0234] In step 703, it is determined whether the type of the terminal is the c type, and when it is determined that the type of the terminal is the c type, step 704 is performed.
[0235] It can be understood that the c type corresponds to the preset third type, that is, a positioning terminal based on a Bluetooth 4.2 protocol + an Internet of Things type terminal, which is used to send a positioning signal based on the Bluetooth 4.2 protocol and Internet of Things information to a Bluetooth room antenna.
[0236] In step 704, a data packet sent by the terminal of the c type is processed.
[0237] Specifically, the data packet sent by the terminal of the c type is not subjected to sampling processing, and the data packet sent by the terminal of the c type is received through an antenna oscillator of the Bluetooth room antenna; the data packet carries second positioning signal and Internet of Things information. The second positioning signal can be a positioning signal supporting the Bluetooth 4.2 protocol.
[0238] In step 705, a data type field is added in the received data packet, the added data type field is defined as a second positioning type, and the broadcast message and the data packet carrying the data type field are sent to a Bluetooth gateway.
[0239] In combination with Figure 2h The structure of the Bluetooth room antenna is shown in the structure schematic diagram of the Bluetooth room antenna, and the process of receiving the data packet sent by the terminal of the c type by the Bluetooth room antenna is as follows:
[0240] When the Bluetooth room antenna, the data packet sent by the terminal of the c type is received through the antenna oscillator, and is transmitted to the C port through the D port of the bidirectional coupler, and then is connected to the C port of the bidirectional coupler through the electronic switch (SPDT) and the main Bluetooth chip, and finally is received by the main Bluetooth chip. A data type field is added in the received data packet, and is sent to the Bluetooth gateway. The Bluetooth gateway sends the data packet to a positioning server, and the positioning server completes position calculation.
[0241] By adopting the technical scheme provided in the embodiments of the present application, the Bluetooth room antenna can process the data packet sent by the terminal according to the type of the terminal, if the types of the terminals are different, the way of processing the data packet is also different, thereby realizing targeted processing of the data packet, not only can multiple types of data packets be processed, but also the processing way is simplified, and thus the function of the Bluetooth room antenna is enhanced.
[0242] The embodiment of the present application provides a data processing method, which is applied to a terminal, such as Figure 8 As shown in the figure, the method comprises the following steps:
[0243] Step 801: sending a broadcast message to a Bluetooth room antenna; the broadcast message carries first indication information and / or second indication information; the first indication information indicates the type of the terminal in a display mode; the second indication information indicates the type of the terminal in a non-display mode.
[0244] The type of the terminal is used for the Bluetooth room antenna to process a data packet sent by the terminal.
[0245] It can be understood that, in order to make the Bluetooth room antenna better process the broadcast information of different types of terminals, a new field can be added to the broadcast message to carry the first indication information, for example, the type of the terminal is defined in a newly added terminal information field occupying m bytes, so that the Bluetooth room antenna can directly determine the type of the terminal according to the first indication information.
[0246] It can be understood that, in order to make the Bluetooth room antenna better process the broadcast information of different types of terminals, the second indication information related to the type of the terminal can also be carried in an existing field of the broadcast message, so that the Bluetooth room antenna can infer the type of the terminal according to the second indication information.
[0247] In actual application, after the terminal sends the broadcast message to the Bluetooth room antenna, the Bluetooth room antenna can determine the type of the terminal, and subsequently the terminal can send a data packet to the Bluetooth room antenna, and after receiving the data packet sent by the terminal, the Bluetooth room antenna can determine a processing mode of the data packet according to the type of the terminal.
[0248] Based on this, in an embodiment, the method further comprises the following steps:
[0249] sending a data packet to the Bluetooth room antenna;
[0250] The data packet comprises one of the following:
[0251] Internet of Things information;
[0252] related information for determining a first positioning signal and Internet of Things information;
[0253] a second positioning signal and Internet of Things information.
[0254] It should be noted that the terminal indicates the type of the terminal to the Bluetooth room antenna in a display mode and / or a non-display mode, so that the Bluetooth room antenna can process the data packet sent by the terminal according to the type of the terminal, thereby realizing targeted processing of the data packet.
[0255] The embodiment of the present application provides a data processing method, which is applied to a Bluetooth gateway, and the method comprises the following steps of Figure 9 As shown in the figure, the method comprises the following steps of
[0256] Step 901: receiving a data packet and a broadcast message sent by a Bluetooth room antenna; the broadcast message carries first indication information and / or second indication information; the first indication information indicates a terminal type in a display mode; the second indication information indicates a terminal type in a non-display mode; the data packet carries a data type field.
[0257] It can be understood that, in order to maximize the guarantee of completing effective positioning, communication reliability and reducing the packet loss rate, the Bluetooth room antenna side and the Bluetooth gateway adopt a long connection mode, and when a connection request sent by the Bluetooth room antenna is scanned, the Bluetooth room antenna establishes a connection.
[0258] Step 902: processing the data packet according to the terminal type and / or the data type field.
[0259] It can be understood that, after the Bluetooth room antenna sends the data packet carrying the data type field to the Bluetooth gateway, the Bluetooth gateway divides the data packet into four categories according to the data type field: a Bluetooth AOA positioning data packet (carrying the data type field as a first positioning type), a Bluetooth 4.2 positioning data packet (carrying the data type field as a second positioning type), a transparent type Internet of Things data packet (carrying the data type field as a transparent type) and an analyzed and filtered type Internet of Things data packet (carrying the data type field as an analyzed and filtered type).
[0260] It can be understood that, in order to avoid the Bluetooth gateway always sending small data packets and reduce the data receiving pressure of a positioning calculation module in a Bluetooth positioning platform, the Bluetooth gateway buffers the received data packet, sorts the buffered data packet and then forwards the data packet to the corresponding Bluetooth positioning platform.
[0261] The process that the Bluetooth gateway processes the data packet according to the terminal type and / or the data type field specifically comprises the following cases:
[0262] In a first case, when the data type field is a transparent type, the data packet is buffered in a first type of data; the data packet carries Internet of Things information; a plurality of data packets in the first type of data are sorted; and the plurality of sorted data packets are sent to an Internet of Things data platform.
[0263] In a second case, when the data type field is a parsing filtering type, the data packet is buffered in second type data; the data packet carries Internet of Things information; the multiple data packets in the second type data are sorted; the multiple sorted data packets are subjected to redundancy filtering processing; and the multiple data packets subjected to the redundancy filtering processing are sent to an Internet of Things data platform.
[0264] The sorting of the multiple data packets in the second type data and the redundancy filtering processing of the sorted multiple data packets can include:
[0265] The multiple data packets in the second type data are sorted according to MAC addresses to obtain a first sorting result; the multiple data packets with the same MAC address in the first sorting result are sorted according to sequence numbers to obtain multiple second sorting results; for each second sorting result, if the sequence numbers of the multiple data packets in the corresponding second sorting result are the same, the multiple data packets in the second sorting result are removed; otherwise, the multiple data packets in the second sorting result are retained. The retained multiple data packets are taken as the multiple data packets subjected to the redundancy filtering processing.
[0266] In a third case, when the terminal type is a preset second type, the data packet is buffered in third type data; the data packet carries relevant information for determining a first positioning signal and Internet of Things information; the multiple data packets in the third type data are sorted; and the sorted multiple data packets are sent to a first Bluetooth positioning platform and an Internet of Things data platform.
[0267] The preset second type corresponds to a b type, i.e., an AOA positioning terminal based on a Bluetooth 5.1 protocol + an Internet of Things terminal, which is used to send signals related to AOA positioning signals and Internet of Things information to a Bluetooth room antenna. The first positioning signal can be an AOA positioning signal based on a Bluetooth 5.1 protocol.
[0268] The sorting of the multiple data packets in the third type data and the sending of the sorted multiple data packets to the Internet of Things data platform can include:
[0269] Since the period of collecting Internet of Things information by a terminal is relatively long, and the period of sending a broadcast message by the terminal is relatively short, the Bluetooth gateway sorts the multiple data packets in the third type data according to the type of the terminal to obtain a sorting result; for the multiple data packets from the same terminal in the sorting result, the variation range of the sequence numbers of the Internet of Things information contained in the adjacent two data packets in the multiple data packets is detected; if the detected variation range of the sequence numbers of the Internet of Things information exceeds a preset threshold, the multiple data packets from the terminal are sent to the Internet of Things data platform; otherwise, the multiple data packets from the terminal are deleted.
[0270] In a fourth case, when the terminal type is a preset third type, the data packet is buffered in fourth type data; the data packet carries a second positioning signal and Internet of Things information; a plurality of data packets in the fourth type data are sorted; and the plurality of sorted data packets are sent to a second Bluetooth positioning platform.
[0271] The preset third type corresponds to a c type, i.e., a Bluetooth 4.2 protocol-based positioning terminal + Internet of Things terminal, which is used to send a Bluetooth 4.2 protocol-based positioning signal and Internet of Things information to a Bluetooth room antenna. The second positioning signal can be a positioning signal supporting the Bluetooth 4.2 protocol.
[0272] The sorting of the plurality of data packets in the fourth type data and the sending of the plurality of sorted data packets to the Internet of Things data platform can include:
[0273] Since the period of collecting Internet of Things information by the terminal is relatively long, and the period of sending a broadcast message by the terminal is relatively short, the Bluetooth gateway sorts the plurality of data packets in the fourth type data according to the type of the terminal to obtain a sorting result; for a plurality of data packets from the same terminal in the sorting result, the Bluetooth gateway detects a change range of sequence numbers of Internet of Things information contained in adjacent two data packets in the plurality of data packets, and if the change range of the sequence numbers of the Internet of Things information exceeds a preset threshold, the plurality of data packets from the terminal are sent to the Internet of Things data platform; otherwise, the plurality of data packets from the terminal are deleted.
[0274] To implement the data processing method of the embodiment of the application, an embodiment of the application further provides a data processing device arranged on a Bluetooth room antenna, Figure 10 A component structure diagram of the data processing device of the embodiment of the application is shown in FIG. 1. Figure 10 As shown in FIG. 1, the device includes:
[0275] A first receiving unit 101 is configured to receive a broadcast message sent by a terminal; the broadcast message carries first indication information and / or second indication information; the first indication information indicates a terminal type in a display manner; and the second indication information indicates a terminal type in a non-display manner.
[0276] A first processing unit 102 is configured to determine a type of the terminal according to the first indication information and / or the second indication information carried by the broadcast message, and process a data packet sent by the terminal according to the type of the terminal.
[0277] In an embodiment, the first processing unit 102 is specifically configured to:
[0278] determine a Bluetooth chip for processing the data packet sent by the terminal according to the type of the terminal;
[0279] and / or,
[0280] determining whether to sample the data packet sent by the terminal according to the type of the terminal.
[0281] In an embodiment, the first processing unit 102 is specifically configured to:
[0282] When the type of the terminal is a preset first type, it is determined that the data packet sent by the terminal is not sampled, and the data packet sent by the terminal is received through the antenna element of the Bluetooth room antenna; the data packet carries Internet of Things information.
[0283] In an embodiment, the first processing unit 102 is further configured to: the broadcast message further carries a MAC address of the terminal; when the MAC address of the terminal is in a white list, a data type field is added in the received data packet, and the added data type field is defined as a transparent type;
[0284] The broadcast message and the data packet carrying the data type field are sent to a Bluetooth gateway.
[0285] In an embodiment, the first processing unit 102 is further configured to:
[0286] The broadcast message further carries an operator identifier and / or a manufacturer identifier of the terminal; when the operator identifier and / or the manufacturer identifier of the terminal conforms to an analysis filtering rule, a data type field is added in the received data packet, and the added data type field is defined as an analysis filtering type; the broadcast message and the data packet carrying the data type field are sent to a Bluetooth gateway.
[0287] In an embodiment, the first processing unit 102 is specifically configured to:
[0288] When the type of the terminal is a preset second type, it is determined that the data packet sent by the terminal is sampled, and the data packet sent by the terminal is received through the antenna array of the Bluetooth room antenna; the data packet carries related information for determining a first positioning signal and Internet of Things information; the related information carried by the data packet is sampled to obtain the first positioning signal; the first positioning signal and the Internet of Things information form a new data packet; a data type field is added in the new data packet, and the added data type field is defined as a first positioning type; the broadcast message and the data packet carrying the data type field are sent to a Bluetooth gateway.
[0289] In an embodiment, the first processing unit 102 is specifically configured to:
[0290] When the type of the terminal is a preset third type, it is determined that the data packet sent by the terminal is not sampled, and the second positioning signal and the Internet of Things information sent by the terminal are received through the antenna oscillator of the antenna of the Bluetooth room; the second positioning signal and the Internet of Things information are formed into a new data packet; a data type field is added in the new data packet, and the added data type field is defined as a second positioning type; the broadcast message and the data packet carrying the data type field are sent to the Bluetooth gateway.
[0291] In an embodiment, the first processing unit 102 is specifically configured to:
[0292] When the type of the terminal is a preset first type or a preset third type, it is determined that the Bluetooth chip for processing the data packet sent by the terminal is a first Bluetooth chip.
[0293] When the type of the terminal is a preset second type, it is determined that the Bluetooth chip for processing the data packet sent by the terminal is a second Bluetooth chip.
[0294] In an embodiment, the first processing unit 102 is specifically configured to:
[0295] According to the first indication information, the type of the terminal is directly obtained.
[0296] And / or,
[0297] The second indication information is inferred to obtain the type of the terminal.
[0298] In actual application, the first receiving unit 101 can be realized by a communication interface in a data processing device; and the first processing unit 102 can be realized by a processor in the data processing device.
[0299] It should be noted that, when the data processing device provided in the above embodiments performs data processing, only the division of the above program modules is taken as an example for illustration, and in actual application, the above processing can be completed by different program modules according to needs, that is, the internal structure of the device is divided into different program modules to complete all or part of the above processing. In addition, the data processing device and the data processing method provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.
[0300] To implement the data processing method of the embodiments of the present application, the embodiments of the present application further provide a data processing device arranged on a terminal, Figure 11 The figure is a schematic structural diagram of the data processing device of the embodiments of the present application; as Figure 11 shown, the device comprises:
[0301] The sending unit 111 is configured to send a broadcast message to the Bluetooth room antenna, wherein the broadcast message carries first indication information and / or second indication information, the first indication information indicates the terminal type in a display manner, and the second indication information indicates the terminal type in a non-display manner.
[0302] The terminal type is used for the Bluetooth room antenna to process a data packet sent by the terminal.
[0303] In an embodiment, the sending unit 111 is further configured to:
[0304] send a data packet to the Bluetooth room antenna.
[0305] The data packet comprises one of the following information:
[0306] Internet of Things information.
[0307] information used for determining the first positioning signal and Internet of Things information.
[0308] a second positioning signal and Internet of Things information.
[0309] In actual application, the sending unit 111 can be implemented by a communication interface in a data processing apparatus.
[0310] It should be noted that the data processing apparatus provided in the above embodiments is only used for example to divide the above program modules, and in actual application, the above processing can be completed by different program modules according to needs, that is, the internal structure of the apparatus is divided into different program modules to complete all or part of the above processing. In addition, the data processing apparatus and the data processing method provided in the above embodiments belong to the same concept, and the specific implementation process is described in the method embodiments, which will not be repeated here.
[0311] To implement the data processing method of the embodiment of the application, an embodiment of the application further provides a data processing apparatus arranged on a Bluetooth gateway, Figure 12 The figure is a schematic structural diagram of the data processing apparatus of the embodiment of the application; as Figure 12 shown, the apparatus comprises:
[0312] The second receiving unit 121 is configured to receive a data packet and a broadcast message sent by the Bluetooth room antenna, wherein the broadcast message carries first indication information and / or second indication information, the first indication information indicates the terminal type in a display manner, the second indication information indicates the terminal type in a non-display manner, and the data packet carries a data type field.
[0313] The second processing unit 122 is configured to process the data packet according to the terminal type and / or the data type field.
[0314] In an embodiment, the second processing unit 122 is further configured to:
[0315] when the data type field is a pass-through type, buffer the data packet in a first type of data; the data packet carries Internet of Things information;
[0316] sort a plurality of data packets in the first type of data;
[0317] send the sorted plurality of data packets to an Internet of Things data platform.
[0318] In an embodiment, the second processing unit 122 is further configured to:
[0319] when the data type field is an analysis and filtering type, buffer the data packet in a second type of data; the data packet carries Internet of Things information;
[0320] sort a plurality of data packets in the second type of data;
[0321] perform a redundancy filtering process on the sorted plurality of data packets;
[0322] send the plurality of data packets after the redundancy filtering process to an Internet of Things data platform.
[0323] In an embodiment, the second processing unit 122 is further configured to:
[0324] when the terminal type is a preset second type, buffer the data packet in a third type of data; the data packet carries related information for determining a first positioning signal and Internet of Things information; sort a plurality of data packets in the third type of data; and send the sorted plurality of data packets to a first Bluetooth positioning platform and an Internet of Things data platform.
[0325] In an embodiment, the second processing unit 122 is further configured to:
[0326] when the terminal type is a preset third type, buffer the data packet in a fourth type of data; the data packet carries a second positioning signal and Internet of Things information;
[0327] sort a plurality of data packets in the fourth type of data;
[0328] send the sorted plurality of data packets to a second Bluetooth positioning platform and an Internet of Things data platform.
[0329] In actual application, the second receiving unit 121 can be implemented by a communication interface in a data processing device; and the second processing unit 122 can be implemented by a processor in the data processing device.
[0330] It should be noted that the data processing apparatus provided in the above embodiments is only used for illustrating the division of the above program modules when performing data processing, and in actual application, the above processing allocation can be completed by different program modules according to needs, that is, the internal structure of the apparatus is divided into different program modules to complete all or part of the above-described processing. In addition, the data processing apparatus and the data processing method provided in the above embodiments belong to the same concept, and the specific implementation process is described in the method embodiments, which will not be repeated here.
[0331] The embodiment of the application further provides a Bluetooth room split antenna, as shown in the figure, comprising: Figure 13
[0332] The first communication interface 131 can interact with other devices.
[0333] The first processor 132 is connected with the first communication interface 131, and is used for running a computer program to execute the method provided in one or more technical solutions of the smart device. The computer program is stored on the first memory 133.
[0334] It should be noted that the specific processing process of the first processor 132 and the first communication interface 131 is described in the method embodiments, which will not be repeated here.
[0335] Of course, in actual application, each component in the Bluetooth room split antenna 130 is coupled together through the bus system 134. It can be understood that the bus system 134 is used to realize the connection and communication between the components. In addition to the data bus, the bus system 134 also includes a power bus, a control bus and a state signal bus. However, in order to clearly illustrate, all kinds of buses are marked as the bus system 134 in the figure. Figure 13
[0336] The first memory 133 in the embodiment of the application is used to store various types of data to support the operation of the Bluetooth room split antenna 130. Examples of these data include any computer programs used for operating on the Bluetooth room split antenna 130.
[0337] The method disclosed by the embodiments of the present application can be applied to the first processor 132 or implemented by the first processor 132. The first processor 132 can be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method can be completed by integrated logic circuits of hardware in the first processor 132 or instructions in the form of software. The first processor 132 described above can be a general processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 132 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiments of the present application, the execution can be directly completed by a hardware decoding processor or a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the first memory 133, and the first processor 132 reads the information in the first memory 133 to complete the steps of the above method in combination with the hardware thereof.
[0338] The embodiments of the present application also provide a terminal, as shown in the accompanying drawings, comprising: Figure 14
[0339] The second communication interface 141 can interact with other devices.
[0340] The second processor 142 is connected with the second communication interface 141, and is used to run a computer program to execute the method provided by one or more technical solutions on the smart device side. The computer program is stored on the second memory 143.
[0341] It should be noted that the specific processing process of the second processor 142 and the second communication interface 141 is described in the method embodiments, which will not be repeated here.
[0342] Of course, in actual application, each component in the terminal 140 is coupled together through a bus system 144. It can be understood that the bus system 144 is used to realize the connection and communication between the components. The bus system 144 includes not only a data bus, but also a power bus, a control bus and a status signal bus. However, in order to clearly illustrate the present application, all kinds of buses are marked as the bus system 144 in the accompanying drawings. Figure 14
[0343] The second memory 143 in the embodiments of the present application is used to store various types of data to support the operation of the terminal 140. Examples of these data include any computer programs used for operation on the terminal 140.
[0344] The method disclosed by the embodiments of the present application can be applied to the second processor 142 or implemented by the second processor 142. The second processor 142 can be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method can be completed by the integrated logic circuit of hardware in the second processor 142 or the instruction in the form of software. The second processor 142 described above can be a general processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The second processor 142 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiments of the present application, the hardware decoding processor can be directly embodied to execute the steps of the method, or the hardware and software modules in the decoding processor can be combined to execute the steps of the method. The software module can be located in the storage medium, which is located in the second memory 143, and the second processor 142 reads the information in the second memory 143 and combines the hardware to complete the steps of the above method.
[0345] The embodiments of the present application also provide a Bluetooth gateway, as shown in the following figure, comprising: Figure 15
[0346] The third communication interface 151 can interact with other devices.
[0347] The second processor 152 is connected with the third communication interface 151, and is used to run a computer program to execute the method provided by one or more technical solutions on the smart device side. The computer program is stored in the third memory 153.
[0348] It should be noted that the specific processing process of the third processor 152 and the third communication interface 151 is described in the method embodiments, which will not be repeated here.
[0349] Of course, in actual application, each component in the Bluetooth gateway 150 is coupled together through the bus system 154. It can be understood that the bus system 154 is used to realize the connection and communication between the components. The bus system 154 includes not only the data bus, but also the power bus, the control bus and the state signal bus. However, in order to clearly illustrate, all kinds of buses are marked as the bus system 154 in the figure. Figure 15
[0350] The third memory 153 in the embodiments of the present application is used to store various types of data to support the operation of the Bluetooth gateway 150. Examples of these data include any computer program used for operation on the Bluetooth gateway 150.
[0351] The method disclosed in the embodiments of the present application can be applied to the third processor 152 or implemented by the third processor 152. The third processor 152 can be an integrated circuit chip with signal processing capability. In the implementation, each step of the method can be completed by integrated logic circuit of hardware or instruction in the form of software in the third processor 152. The third processor 152 can be a general processor, a digital signal processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The third processor 152 can implement or execute each method, step and logic block disclosed in the embodiments of the present application. The general processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiments of the present application, the hardware decoding processor can be directly implemented or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the third memory 153, and the third processor 152 reads information in the third memory 153 to complete the steps of the foregoing method in combination with the hardware.
[0352] In the exemplary embodiments, the Bluetooth room division antenna 130, the terminal 140 and the Bluetooth gateway 150 can be implemented by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), general processors, controllers, micro controller units (MCUs), microprocessors, or other electronic elements, for executing the foregoing method.
[0353] It can be understood that the memory (the first memory 133, the second memory 143, and the third memory 153) of the embodiments of the present application can be a volatile memory or a non-volatile memory, and can also include both the volatile memory and the non-volatile memory. The non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a ferromagnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM). The magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM) used as an external cache. By way of example but not limitation, many forms of RAM can be used, such as a static random access memory (SRAM), a synchronous static random access memory (SSRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a sync link dynamic random access memory (SLDRAM), and a direct rambus random access memory (DRRAM).The memory described in the embodiments of the present application is intended to include, but not limited to, these and any other suitable types of memory.
[0354] In the example embodiments, the embodiments of the present application also provide a storage medium, specifically a computer readable storage medium, such as a first memory 131 storing a computer program, which can be executed by a first processor 132 of the Bluetooth room antenna 130 to complete the steps of the aforementioned control server side method. The computer readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM, etc.
[0355] It should be noted that "first", "second", etc. are used to distinguish similar objects, and do not necessarily describe a specific order or sequence.
[0356] In addition, the technical solutions described in the embodiments of the present application can be arbitrarily combined without conflict.
[0357] The above is only a preferred embodiment of the present application, and is not intended to limit the protection scope of the present application.
Claims
1. A data processing method, characterized by, The method is applied to a Bluetooth room-dividing antenna, and the method comprises the following steps: receiving a broadcast message sent by a terminal; the broadcast message carries first indication information and / or second indication information; the first indication information indicates a terminal type in a display manner; the second indication information indicates a terminal type in a non-display manner; the terminal type comprises a preset first type, a preset second type and a preset third type; determining the type of the terminal according to the first indication information and / or the second indication information carried by the broadcast message; determining whether to perform sampling processing on a data packet sent by the terminal according to the type of the terminal, comprising: when the type of the terminal is the preset first type, determining not to perform sampling processing on the data packet sent by the terminal, and receiving the data packet sent by the terminal through an antenna element of the Bluetooth room-dividing antenna; the data packet carries Internet of Things information; when the type of the terminal is the preset second type, determining to perform sampling processing on the data packet sent by the terminal, and receiving the data packet sent by the terminal through an antenna array of the Bluetooth room-dividing antenna; the data packet carries related information for determining a first positioning signal and Internet of Things information; the related information carried by the data packet is subjected to sampling processing to obtain the first positioning signal; the first positioning signal and the Internet of Things information form a new data packet; a data type field is added in the new data packet, and the added data type field is defined as a first positioning type; the broadcast message and the data packet carrying the data type field are sent to a Bluetooth gateway; when the type of the terminal is the preset third type, determining not to perform sampling processing on the data packet sent by the terminal, and receiving a second positioning signal and Internet of Things information sent by the terminal through the antenna element of the Bluetooth room-dividing antenna; the second positioning signal and the Internet of Things information form a new data packet; a data type field is added in the new data packet, and the added data type field is defined as a second positioning type; the broadcast message and the data packet carrying the data type field are sent to the Bluetooth gateway.
2. The method of claim 1, wherein, The broadcast message further carries a MAC address of the terminal; when the type of the terminal is the preset first type, the method further comprises: when the MAC address of the terminal is in a white list, a data type field is added in the received data packet, and the added data type field is defined as a transparent transmission type; the broadcast message and the data packet carrying the data type field are sent to the Bluetooth gateway.
3. The method of claim 1, wherein, The broadcast message further carries an operator identifier and / or a manufacturer identifier of the terminal; when the type of the terminal is the preset first type, the method further comprises: when the operator identifier and / or the manufacturer identifier of the terminal meet an analysis filtering rule, a data type field is added in the received data packet, and the added data type field is defined as an analysis filtering type; the broadcast message and the data packet carrying the data type field are sent to the Bluetooth gateway.
4. The method of claim 1, wherein, determining a Bluetooth chip for processing the data packet sent by the terminal according to the type of the terminal, comprising: When the type of the terminal is a preset first type or a preset third type, it is determined that a Bluetooth chip processing a data packet sent by the terminal is a first Bluetooth chip; When the type of the terminal is a preset second type, it is determined that a Bluetooth chip processing a data packet sent by the terminal is a second Bluetooth chip.
5. The method of claim 1, wherein, The determining the type of the terminal according to the first indication information and / or the second indication information carried in the broadcast message comprises: directly obtaining the type of the terminal according to the first indication information; and / or obtaining the type of the terminal by inferring the second indication information. The method applied to a terminal comprises:
6. A data processing method, characterized by, sending a broadcast message to a Bluetooth room antenna; the broadcast message carries first indication information and / or second indication information; the first indication information indicates a terminal type in a display manner; the second indication information indicates a terminal type in a non-display manner; The type of the terminal comprises a preset first type, a preset second type and a preset third type; when the type of the terminal is the preset first type, the type of the terminal is used for the Bluetooth room antenna to determine that a data packet sent by the terminal is not sampled and processed, and the Bluetooth room antenna receives the data packet sent by the terminal through an antenna element; the data packet carries Internet of Things information; When the type of the terminal is the preset second type, the type of the terminal is used for the Bluetooth room antenna to determine that the data packet sent by the terminal is received through an antenna array of the Bluetooth room antenna; the data packet carries information used for determining a first positioning signal and Internet of Things information; and the Bluetooth room antenna is determined to sample and process the information carried in the data packet to obtain the first positioning signal, to form a new data packet by combining the first positioning signal and the Internet of Things information, to add a data type field in the new data packet, to define the added data type field as a first positioning type, and to send the broadcast message and the data packet carrying the data type field to a Bluetooth gateway; When the type of the terminal is the preset third type, the type of the terminal is used for the Bluetooth room antenna to determine that the data packet sent by the terminal is not sampled and processed, and the Bluetooth room antenna receives a second positioning signal and Internet of Things information sent by the terminal through an antenna element; the Bluetooth room antenna forms a new data packet by combining the second positioning signal and the Internet of Things information, adds a data type field in the new data packet, defines the added data type field as a second positioning type, and sends the broadcast message and the data packet carrying the data type field to the Bluetooth gateway. The method further comprises:
7. The method of claim 6, wherein, sending a data packet to a Bluetooth room antenna; The data packet comprises one of the following information: Internet of Things information; information used for determining a first positioning signal and Internet of Things information; a second positioning signal and Internet of Things information. The method applied to a Bluetooth gateway comprises:
8. A data processing method, characterized by, Receive a data packet and a broadcast message sent by the Bluetooth room antenna; the broadcast message carries first indication information and / or second indication information; the first indication information indicates the terminal type in a display manner; the second indication information indicates the terminal type in a non-display manner; the data packet carries a data type field; The terminal type includes a preset first type, a preset second type, and a preset third type; when the terminal type is the preset first type, the terminal type is used for the Bluetooth room antenna to determine that a data packet sent by a terminal is not subjected to sampling processing, and the Bluetooth room antenna receives the data packet sent by the terminal through an antenna element of the Bluetooth room antenna, wherein the data packet sent by the terminal carries Internet of Things information; When the terminal type is the preset second type, the terminal type is used for the Bluetooth room antenna to determine that the data packet sent by the terminal is received through an antenna array of the Bluetooth room antenna, wherein the data packet sent by the terminal carries relevant information used for determining a first positioning signal and Internet of Things information; and the terminal type is used for the Bluetooth room antenna to determine that the relevant information carried in the data packet sent by the terminal is subjected to sampling processing to obtain the first positioning signal, the first positioning signal and the Internet of Things information form a new data packet, a data type field is added in the new data packet, the added data type field is defined as a first positioning type, and the broadcast message and the data packet carrying the data type field are sent to the Bluetooth gateway; When the terminal type is the preset third type, the terminal type is used for the Bluetooth room antenna to determine that the data packet sent by the terminal is not subjected to sampling processing, and the Bluetooth room antenna receives a second positioning signal and Internet of Things information sent by a terminal through an antenna element of the Bluetooth room antenna, the second positioning signal and the Internet of Things information form a new data packet, a data type field is added in the new data packet, the added data type field is defined as a second positioning type, and the broadcast message and the data packet carrying the data type field are sent to the Bluetooth gateway; The data packet is processed according to the terminal type and / or the data type field.
9. The method of claim 8, wherein, The method further includes: When the data type field is a transparent type, the data packet is cached in first type data; the data packet carries Internet of Things information; Multiple data packets in the first type data are sorted; The sorted multiple data packets are sent to an Internet of Things data platform.
10. The method of claim 8, wherein, The method includes: When the data type field is an analysis filtering type, the data packet is cached in second type data; the data packet carries Internet of Things information; Multiple data packets in the second type data are sorted; The sorted multiple data packets are subjected to redundant filtering processing; The multiple data packets subjected to the redundant filtering processing are sent to an Internet of Things data platform.
11. The method of claim 8, wherein, The method includes: When the terminal type is the preset second type, the data packet is cached in third type data; the data packet carries relevant information used for determining a first positioning signal and Internet of Things information; Multiple data packets in the third type data are sorted; Send the sorted plurality of data packets to the first Bluetooth positioning platform and the Internet of Things data platform.
12. The method of claim 8, wherein, The method comprises: When the terminal type is a preset third type, cache the data packet in fourth type data; the data packet carries second positioning signals and Internet of Things information; Sort the plurality of data packets in the fourth type data; Send the sorted plurality of data packets to the second Bluetooth positioning platform and the Internet of Things data platform.
13. A data processing apparatus, characterized by Comprise: A first receiving unit is configured to receive a broadcast message sent by a terminal; The broadcast message carries first indication information and / or second indication information; The first indication information indicates the terminal type in a display manner; The second indication information indicates the terminal type in a non-display manner; the terminal type comprises a preset first type, a preset second type and a preset third type; A first processing unit is configured to determine the type of the terminal according to the first indication information and / or the second indication information carried by the broadcast message; According to the type of the terminal, determine whether to perform sampling processing on the data packet sent by the terminal, comprising: When the type of the terminal is the preset first type, it is determined that the data packet sent by the terminal is not subjected to sampling processing, and the data packet sent by the terminal is received through the antenna oscillator of the Bluetooth room-dividing antenna; the data packet carries Internet of Things information; When the type of the terminal is the preset second type, it is determined that the data packet sent by the terminal is subjected to sampling processing, and the data packet sent by the terminal is received through the antenna array of the Bluetooth room-dividing antenna; the data packet carries related information for determining first positioning signals and Internet of Things information; the related information carried by the data packet is subjected to sampling processing to obtain the first positioning signals; the first positioning signals and the Internet of Things information form a new data packet; a data type field is added in the new data packet, and the added data type field is defined as a first positioning type; the broadcast message and the data packet carrying the data type field are sent to a Bluetooth gateway; When the type of the terminal is the preset third type, it is determined that the data packet sent by the terminal is not subjected to sampling processing, and the second positioning signals and the Internet of Things information sent by the terminal are received through the antenna oscillator of the Bluetooth room-dividing antenna; the second positioning signals and the Internet of Things information form a new data packet; a data type field is added in the new data packet, and the added data type field is defined as a second positioning type; the broadcast message and the data packet carrying the data type field are sent to the Bluetooth gateway.
14. A data processing apparatus, characterized by Comprise: A sending unit is configured to send a broadcast message to a Bluetooth room-dividing antenna; The broadcast message carries first indication information and / or second indication information; The first indication information indicates the terminal type in a display manner; the second indication information indicates the terminal type in a non-display manner; The type of the terminal includes a preset first type, a preset second type, and a preset third type; when the type of the terminal is the preset first type, the type of the terminal is used for the Bluetooth chamber antenna to determine that no sampling processing is performed on a data packet sent by the terminal, and the data packet sent by the terminal is received through an antenna element of the Bluetooth chamber antenna, and the data packet carries Internet of Things information; When the type of the terminal is the preset second type, the type of the terminal is used for the Bluetooth chamber antenna to determine that the data packet sent by the terminal is received through an antenna array of the Bluetooth chamber antenna, and the data packet carries relevant information used for determining a first positioning signal and Internet of Things information; and is used for the Bluetooth chamber antenna to determine that sampling processing is performed on the relevant information carried in the data packet to obtain a first positioning signal, a new data packet is formed by the first positioning signal and the Internet of Things information, a data type field is added in the new data packet, the added data type field is defined as a first positioning type, the broadcast message and the data packet carrying the data type field are sent to a Bluetooth gateway; When the type of the terminal is the preset third type, the type of the terminal is used for the Bluetooth chamber antenna to determine that no sampling processing is performed on the data packet sent by the terminal, and a second positioning signal and Internet of Things information sent by the terminal are received through an antenna element of the Bluetooth chamber antenna, a new data packet is formed by the second positioning signal and the Internet of Things information, a data type field is added in the new data packet, the added data type field is defined as a second positioning type, and the broadcast message and the data packet carrying the data type field are sent to the Bluetooth gateway.
15. A data processing apparatus, characterized by Comprise: A second receiving unit is configured to receive a data packet and a broadcast message sent by a Bluetooth chamber antenna. The broadcast message carries first indication information and / or second indication information; the first indication information indicates a terminal type in a display manner; The second indication information indicates the terminal type in a non-display manner; The data packet carries a data type field; The type of the terminal includes a preset first type, a preset second type, and a preset third type; when the type of the terminal is the preset first type, the type of the terminal is used for the Bluetooth chamber antenna to determine that no sampling processing is performed on a data packet sent by the terminal, and the data packet sent by the terminal is received through an antenna element of the Bluetooth chamber antenna, and the data packet carries Internet of Things information; When the terminal type is a preset second type, the terminal type is used for the Bluetooth room antenna to determine that the data packet transmitted by the terminal is received through an antenna array of the Bluetooth room antenna, the data packet transmitted by the terminal carries relevant information used for determining a first positioning signal and Internet of Things information; and the Bluetooth room antenna is used to determine that the relevant information carried in the data packet transmitted by the terminal is sampled and processed to obtain the first positioning signal, the first positioning signal and the Internet of Things information are formed into a new data packet, a data type field is added in the new data packet, the added data type field is defined as a first positioning type, and the broadcast message and the data packet carrying the data type field are transmitted to a Bluetooth gateway. When the terminal type is a preset third type, the terminal type is used for the Bluetooth room antenna to determine that the data packet transmitted by the terminal is not sampled and processed, and a second positioning signal and Internet of Things information transmitted by the terminal are received through an antenna element of the Bluetooth room antenna, the second positioning signal and the Internet of Things information are formed into a new data packet, a data type field is added in the new data packet, the added data type field is defined as a second positioning type, and the broadcast message and the data packet carrying the data type field are transmitted to the Bluetooth gateway. A second processing unit is configured to process the data packet according to the terminal type and / or the data type field.
16. A data processing apparatus, characterized by The first communication interface is configured to receive a broadcast message transmitted by a terminal. The broadcast message carries first indication information and / or second indication information. The first indication information indicates the terminal type in a display manner. The second indication information indicates the terminal type in a non-display manner. The terminal type includes a preset first type, a preset second type and a preset third type. The first processor is configured to determine the type of the terminal according to the first indication information and / or the second indication information carried in the broadcast message. According to the type of the terminal, it is determined whether to sample and process the data packet transmitted by the terminal, including: When the type of the terminal is the preset first type, it is determined that the data packet transmitted by the terminal is not sampled and processed, and the data packet transmitted by the terminal is received through an antenna element of a Bluetooth room antenna; the data packet carries Internet of Things information. When the type of the terminal is the preset second type, it is determined that the data packet transmitted by the terminal is sampled and processed, and the data packet transmitted by the terminal is received through an antenna array of the Bluetooth room antenna; the data packet carries relevant information used for determining a first positioning signal and Internet of Things information; the relevant information carried in the data packet is sampled and processed to obtain the first positioning signal; the first positioning signal and the Internet of Things information are formed into a new data packet; a data type field is added in the new data packet, and the added data type field is defined as a first positioning type; and the broadcast message and the data packet carrying the data type field are transmitted to a Bluetooth gateway. When the type of the terminal is a preset third type, it is determined that the data packet sent by the terminal is not sampled, and the second positioning signal and the Internet of Things information sent by the terminal are received through the antenna element of the Bluetooth room antenna; the second positioning signal and the Internet of Things information are formed into a new data packet; a data type field is added in the new data packet, and the added data type field is defined as a second positioning type; and the broadcast message and the data packet carrying the data type field are sent to the Bluetooth gateway.
17. A data processing apparatus, characterized by Comprise: A second communication interface, configured to send a broadcast message to the Bluetooth room antenna; The broadcast message carries first indication information and / or second indication information; the first indication information indicates the type of the terminal in a display manner; and the second indication information indicates the type of the terminal in a non-display manner; The type of the terminal comprises a preset first type, a preset second type and a preset third type; when the type of the terminal is the preset first type, the type of the terminal is used for the Bluetooth room antenna to determine that the data packet sent by the terminal is not sampled, and the data packet sent by the terminal is received through the antenna element of the Bluetooth room antenna, and the data packet carries Internet of Things information; When the type of the terminal is the preset second type, the type of the terminal is used for the Bluetooth room antenna to determine that the data packet sent by the terminal is received through the antenna array of the Bluetooth room antenna, and the data packet carries related information used for determining a first positioning signal and Internet of Things information; And the Bluetooth room antenna is used to determine that the related information carried in the data packet is sampled to obtain a first positioning signal, the first positioning signal and the Internet of Things information are formed into a new data packet, a data type field is added in the new data packet, the added data type field is defined as a first positioning type, the broadcast message and the data packet carrying the data type field are sent to the Bluetooth gateway; When the type of the terminal is the preset third type, the type of the terminal is used for the Bluetooth room antenna to determine that the data packet sent by the terminal is not sampled, and the second positioning signal and the Internet of Things information sent by the terminal are received through the antenna element of the Bluetooth room antenna, the second positioning signal and the Internet of Things information are formed into a new data packet, a data type field is added in the new data packet, and the added data type field is defined as a second positioning type, and the broadcast message and the data packet carrying the data type field are sent to the Bluetooth gateway.
18. A data processing apparatus, characterized by Comprise: A third communication interface, configured to receive a data packet and a broadcast message sent by the Bluetooth room antenna; The broadcast message carries first indication information and / or second indication information; the first indication information indicates the type of the terminal in a display manner; The second indication information indicates the type of the terminal in a non-display manner; The data packet carries a data type field; The terminal type includes a preset first type, a preset second type and a preset third type; when the terminal type is the preset first type, the terminal type is used for the Bluetooth chamber antenna to determine that a data packet sent by a terminal is not subjected to sampling processing, and the data packet sent by the terminal is received through an antenna element of the Bluetooth chamber antenna, and the data packet sent by the terminal carries Internet of Things information; When the terminal type is the preset second type, the terminal type is used for the Bluetooth chamber antenna to determine that the data packet sent by the terminal is received through an antenna array of the Bluetooth chamber antenna, the data packet sent by the terminal carries relevant information used for determining a first positioning signal and Internet of Things information, and the Bluetooth chamber antenna is determined to sample the relevant information carried in the data packet sent by the terminal to obtain the first positioning signal, the first positioning signal and the Internet of Things information are formed into a new data packet, a data type field is added in the new data packet, the added data type field is defined as a first positioning type, the broadcast message and the data packet carrying the data type field are sent to a Bluetooth gateway; When the terminal type is the preset third type, the terminal type is used for the Bluetooth chamber antenna to determine that the data packet sent by the terminal is not subjected to sampling processing, and a second positioning signal and Internet of Things information sent by the terminal are received through an antenna element of the Bluetooth chamber antenna, the second positioning signal and the Internet of Things information are formed into a new data packet, a data type field is added in the new data packet, the added data type field is defined as a second positioning type, and the broadcast message and the data packet carrying the data type field are sent to the Bluetooth gateway. The third processor is configured to process the data packet according to the terminal type and / or the data type field.
19. A Bluetooth room-division antenna, characterized by The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 12. The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 12.
20. A terminal, characterized by The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 12. The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 12.
21. A Bluetooth gateway, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 12. 22. A computer readable storage medium having stored thereon a computer program, characterized in that,
Citation Information
Patent Citations
Apparatus and method for realizing dynamic support to ADSL and VDSL2 terminal
CN101083623A
Indoor distribution antenna and information transmission method of indoor distribution antenna
CN112311417A