Device management method, device, electronic device, and storage medium

By configuring the Bluetooth anchor array in the management area, automatically allocating room information to terminal devices, the problem of low efficiency and error-prone manual settings in batch equipment distribution network is solved, and high-precision room allocation and accuracy are achieved.

CN120263633BActive Publication Date: 2025-08-22GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510741878.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-05
Publication Date
2025-08-22
Estimated Expiration
2045-06-05

AI Technical Summary

Technical Problem

When distributing batch equipment networks, it is inefficient and prone to errors when users manually set up the room to which the equipment belongs.

Method used

By configuring the Bluetooth anchor array in the management area, the position information of the terminal device is determined based on the Bluetooth anchor array, and the room information is automatically assigned to the terminal device in combination with the floor plan of the management area.

Benefits of technology

Improves the efficiency and accuracy of room allocation, avoiding inefficiency and errors caused by user manual settings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120263633B_ABST
    Figure CN120263633B_ABST
Patent Text Reader

Abstract

This application discloses a device management method, apparatus, electronic device, and storage medium. The method comprises: configuring a Bluetooth anchor array in each room of a management area; determining the location information of a terminal device based on the Bluetooth anchor array; and determining the room information corresponding to the terminal device based on the location information and a floor plan corresponding to the management area. Embodiments of the present invention can achieve high-precision positioning of terminal devices through the Bluetooth anchor array, automatically assigning room information to the terminal device based on the determined location information, without requiring manual configuration by the user, thereby improving the efficiency and accuracy of room allocation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of smart home technology, and specifically relates to a device management method, apparatus, electronic device and storage medium. Background Art

[0002] With the development of information technology, the types and number of smart devices are increasing. These devices, such as smart network cameras, smart TV boxes, and smart speakers, often lack user interfaces due to structural and cost constraints. These devices require network connectivity and can then be managed and controlled through applications. Once connected, these devices need to be assigned to rooms to enable remote control, scene setting, and other functions.

[0003] Currently, when performing batch device network configuration, users are required to manually set the room to which the devices belong, which is inefficient and prone to errors. Summary of the Invention

[0004] The purpose of the embodiments of the present application is to provide a device management method, apparatus, electronic device and storage medium, which can solve the problem of low efficiency and error-prone manual room allocation when batch equipment is configured in the related art.

[0005] In a first aspect, an embodiment of the present application provides a device management method, applied to a server, the method comprising:

[0006] Configure an array of Bluetooth anchor points in each room of the management area;

[0007] Determining location information of a terminal device based on the Bluetooth anchor point array;

[0008] The room information corresponding to the terminal device is determined based on the location information and the floor plan corresponding to the management area.

[0009] Optionally, determining the location information of the terminal device based on the Bluetooth anchor point array includes:

[0010] receiving first information sent by each Bluetooth anchor point in the Bluetooth anchor point array; wherein the first information is used to reflect the position information of the Bluetooth anchor point relative to the terminal device;

[0011] Determine the location information of the terminal device based on the first information.

[0012] Optionally, the first information includes signal strength, arrival angle and arrival time difference of a signal transmitted between the Bluetooth anchor point and the terminal device, and the first location coordinates of the terminal device;

[0013] The determining the location information of the terminal device according to the first information includes:

[0014] For each Bluetooth anchor point in the Bluetooth anchor point array, determine a dynamic weight corresponding to the Bluetooth anchor point according to the signal strength, the arrival angle, and the arrival time difference;

[0015] The second position coordinates of the terminal device are determined according to the first position coordinates corresponding to each Bluetooth anchor point and the dynamic weight.

[0016] Optionally, determining the dynamic weight corresponding to the Bluetooth anchor point according to the signal strength, the arrival angle, and the arrival time difference includes:

[0017] Determine a first weight and a first weight coefficient corresponding to the signal strength, a second weight and a second weight coefficient corresponding to the arrival angle, and a third weight and a third weight coefficient corresponding to the arrival time difference;

[0018] The dynamic weight is obtained by performing a weighted sum operation according to the first weight, the first weight coefficient, the second weight, the second weight coefficient, the third weight and the third weight coefficient.

[0019] Optionally, the method further includes:

[0020] At least one of the first weight coefficient, the second weight coefficient, and the third weight coefficient is adjusted according to the environment information of the terminal device.

[0021] Optionally, the method further includes:

[0022] Determining the device identification and total number of terminal devices for batch network configuration in the management area;

[0023] Determine the time slice corresponding to each terminal device according to the total number of devices and the network distribution period;

[0024] generating second information according to the time slice and the device identifier;

[0025] The second information is sent to the terminal device, so that the terminal device can establish a network connection within the corresponding time slice.

[0026] In a second aspect, an embodiment of the present application provides a device management apparatus, applied to a server, comprising:

[0027] A configuration module for configuring an array of Bluetooth anchor points in each room of the management area;

[0028] A location determination module, configured to determine location information of a terminal device based on the Bluetooth anchor point array;

[0029] The room allocation module is used to determine the room information corresponding to the terminal device based on the location information and the floor plan corresponding to the management area.

[0030] Optionally, the location determination module includes:

[0031] a receiving submodule, configured to receive first information sent by each Bluetooth anchor point in the Bluetooth anchor point array; the first information is used to reflect the position information of the Bluetooth anchor point relative to the terminal device;

[0032] A determination submodule is used to determine the location information of the terminal device based on the first information.

[0033] Optionally, the first information includes signal strength, arrival angle and arrival time difference of a signal transmitted between the Bluetooth anchor point and the terminal device, and the first location coordinates of the terminal device;

[0034] The determining submodule includes:

[0035] a first determining unit, configured to determine, for each Bluetooth anchor point in the Bluetooth anchor point array, a dynamic weight corresponding to the Bluetooth anchor point according to the signal strength, the arrival angle, and the arrival time difference;

[0036] The second determining unit is configured to determine the second position coordinates of the terminal device according to the first position coordinates corresponding to the respective Bluetooth anchor points and the dynamic weight.

[0037] Optionally, the first determining unit is specifically configured to:

[0038] Determine a first weight and a first weight coefficient corresponding to the signal strength, a second weight and a second weight coefficient corresponding to the arrival angle, and a third weight and a third weight coefficient corresponding to the arrival time difference;

[0039] The dynamic weight is obtained by performing a weighted sum operation according to the first weight, the first weight coefficient, the second weight, the second weight coefficient, the third weight and the third weight coefficient.

[0040] Optionally, the first determining unit is further configured to:

[0041] At least one of the first weight coefficient, the second weight coefficient, and the third weight coefficient is adjusted according to the environment information of the terminal device.

[0042] Optionally, the device further comprises:

[0043] A device identification module, configured to determine the device identification and the total number of terminal devices for batch network configuration in the management area;

[0044] A time slicing module is used to determine the time slice corresponding to each terminal device according to the total number of devices and the network configuration period;

[0045] An information generating module, configured to generate second information according to the time slice and the device identifier;

[0046] The sending module is used to send the second information to the terminal device so that the terminal device can establish a network connection within the corresponding time slice.

[0047] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus; the memory is used to store executable instructions, and the executable instructions enable the processor to execute the device management method described in any one of the above items.

[0048] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the device management method as described in any one of the above items is implemented.

[0049] The device management method provided by an embodiment of the present invention configures a Bluetooth anchor point array within a management zone. Based on this array, the location information of terminal devices is determined. A server can then automatically determine the room information corresponding to the terminal device based on the terminal device's location information and the floor plan corresponding to the management zone. Compared to related techniques that require users to manually assign rooms to devices during batch device network configuration, the present invention achieves high-precision positioning of terminal devices through the Bluetooth anchor point array. Based on the determined location information, room information is automatically assigned to the terminal device, eliminating the need for manual user configuration and improving room allocation efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0051] Figure 1 This is a flowchart of the steps of a device management method provided by an embodiment of the present application;

[0052] Figure 2 This is a schematic diagram of the architecture of a device management system provided in an embodiment of the present application;

[0053] Figure 3This is a schematic diagram of the interaction between a terminal device, a Bluetooth anchor point, and a server provided in an embodiment of the present application;

[0054] Figure 4 This is a structural block diagram of a device management device provided in an embodiment of the present application;

[0055] Figure 5 This is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0057] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0058] Method Example

[0059] The device management method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0060] Reference Figure 1 , shows a flow chart of the steps of a device management method provided by an embodiment of the present application, such as Figure 1 As shown, the method specifically includes the following steps:

[0061] 101. Configure a Bluetooth anchor array in each room of the management area;

[0062] 102. Determine location information of a terminal device based on the Bluetooth anchor point array;

[0063] 103. Determine the room information corresponding to the terminal device based on the location information and the floor plan corresponding to the management area.

[0064] The device management method provided by the embodiment of the present invention is applied to a server. Figure 2, shows a schematic diagram of the architecture of a device management system provided by an embodiment of the present invention. Figure 2 As shown, the device management system includes a terminal device 110, a server 120 and a Bluetooth anchor array. The Bluetooth anchor array includes Bluetooth anchors 31, 32, 33, 34 and 35. It is understandable that Figure 2 The Bluetooth anchor points included in the Bluetooth anchor point array are shown as an example only. A Bluetooth anchor point array includes at least two Bluetooth anchor points. In actual applications, the number of Bluetooth anchor points can be determined according to the size of the management area, for example, 3 Bluetooth anchor points, 5 Bluetooth anchor points, 6 Bluetooth anchor points, etc. The embodiment of the present invention does not specifically limit the number of Bluetooth anchor points in the Bluetooth anchor point array.

[0065] The server can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, and can also provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, cloud communications, network services, middleware services, content delivery networks (CDNs), and basic cloud computing services such as big data and artificial intelligence platforms. In an optional embodiment, server 120 can be the backend server of an application used for device management in terminal device 110.

[0066] The terminal device is a smart device, which can specifically be: a smart speaker, a smart TV, a smart camera, a smart air conditioner, a smart refrigerator, a smart washing machine, a smart toilet, a smart humidifier, a sweeping robot, a smart air purifier, electric curtains, a smart lamp, a smart sensor (such as a thermometer, a barometer, an infrared sensor, a hygrometer lamp), a smart door lock, etc.

[0067] The device management method provided by the embodiment of the present invention can determine the location information of the terminal device based on the Bluetooth anchor point array configured in the management area after the terminal device is networked, and allocate room information to the terminal device according to the location information of the terminal device and the floor plan corresponding to the management area, so as to group the terminal devices and achieve more refined control and scene linkage.

[0068] It should be noted that the management area in the embodiments of the present invention can be a podium management zone, a standard floor management zone, a basement management zone, or an elevator management zone. The podium management zone is a management zone constructed by radio frequency units installed on the lower floors of a building (i.e., the podium, such as the first-floor lobby), which have large floor areas, few spatial partitions, and are open. The standard floor management zone is a management zone constructed by radio frequency units installed on floors above the podium, with relatively regular spatial spacing, typically used for residences, offices, or hotel rooms. The basement management zone is a management zone constructed by radio frequency units installed on floors below ground level, such as basements or underground garages. The elevator management zone is a management zone constructed by radio frequency units installed in the building's elevators.

[0069] In an embodiment of the present invention, the management area can be divided into at least one room or sub-area based on its spatial characteristics and apartment layout. At least two Bluetooth anchor points can be deployed in each room to form a Bluetooth anchor point array. A three-dimensional spatial coordinate system can then be established within each room or sub-area, and the position coordinates of each Bluetooth anchor point can be determined. For example, a three-dimensional spatial coordinate system can be established with the geometric center of the room or sub-area as the origin, the axis parallel to the window as the X-axis, the axis perpendicular to the wall as the Y-axis, and the axis perpendicular to the ground as the Z-axis. The position coordinates of each Bluetooth anchor point can be determined based on its position relative to the origin.

[0070] It is understandable that the Bluetooth anchor point in the embodiment of the present invention is a smart device that supports Bluetooth technology and has a relatively fixed position, such as a smart TV, a smart refrigerator, a smart washing machine, a smart toilet, a smart humidifier, a smart sensor, etc.

[0071] After a terminal device connects to the network (network configuration), its location is determined based on the Bluetooth anchor point array. For example, the terminal device transmits a timestamped broadcast signal. The Bluetooth anchor point detects signal strength (RSSI), time of flight (ToF), and other metrics, locally calculating the distance to the terminal device and determining the terminal device's relative position relative to the Bluetooth anchor point. Each Bluetooth anchor point in the Bluetooth anchor point array transmits its locally determined location information relative to the Bluetooth anchor point to a server. The server then performs high-precision positioning based on the location information sent by each Bluetooth anchor point to determine the terminal device's final location.

[0072] As an example, assume that the management area is an indoor warehouse with an area of ​​10m×10m×3m (X∈[0,10], Y∈[0,10], Z∈[0,3]). Four Bluetooth anchor points A, B, C, and D are deployed with coordinates of A(0,0,3), B(10,0,3), C(10,10,3), and D(0,10,3). The terminal device is an AGV.

[0073] The AGV periodically (1Hz) sends Bluetooth broadcast packets with a timestamp (e.g., T=10:00:00.000). The packets contain: the device ID, such as AGV-001; the broadcast timestamp, which is used for ToF calculation; and other metadata, such as the device type and battery level.

[0074] After receiving the broadcast signal, each Bluetooth anchor point calculates the terminal's relative position to itself through the following steps:

[0075] 1. Measure RSSI and ToF to calculate distance di.

[0076] Take anchor point A as an example:

[0077] The signal strength RSSI of the signal received by anchor point A is -60dBm. Substituting it into the RSSI ranging model, the calculated RSSI measurement value is:

[0078]

[0079] The timestamp of the terminal device broadcast signal is T1=10:00:00.000, and the timestamp of anchor point A receiving the broadcast signal is T2=10:00:00.034μs (signal flight time ). Substitute into the time of flight ToF ranging formula (speed of light ), the calculated distance value is:

[0080]

[0081] Taking multipath error into account, the above distance value can be corrected to 5.0m.

[0082] Fuse the RSSI and ToF results, such as taking the average, or using algorithms such as Kalman filtering to obtain the final distance between the terminal device and anchor point A. Assuming that the averaging method is used for fusion, we get = .

[0083] Furthermore, anchor point A measures the signal angle of arrival (AoA) using an antenna array (e.g., four antennas) and obtains:

[0084] Horizontal angle of incidence , that is, the angle between the terminal and the X axis in the XY plane of anchor point A is 45°; the vertical incidence angle , that is, the vertical angle between the terminal and anchor point A, that is, the angle with the Z axis is 60°.

[0085] Based on the angle and distance, calculate the local coordinates of the terminal device relative to anchor point A (with anchor point A as the origin):

[0086]

[0087] The global coordinates of anchor point A are A(0,0,3), so the initial position of the terminal device relative to the global coordinate system is:

[0088]

[0089] For other anchor points, the global preliminary position of the terminal device is calculated synchronously according to the above steps. Assume that the measurement results of other anchor points (B, C, D) are as shown in Table 1:

[0090]

[0091] Each anchor point sends the measurement results to the server. For example, the information sent by the anchor point to the server may include: anchor point ID (A / B / C / D), terminal device ID, global preliminary position of the terminal device relative to the anchor point , can also carry other auxiliary information, such as measurement errors (e.g. di standard deviation), angular error, dynamic weight ,etc.

[0092] The server considers the reliability of each anchor point (dynamic weight) based on the preliminary position sent by each anchor point. ), and finally calculate the global position P (x, y, z) of the terminal device.

[0093] For example, dynamic weight It is used to reflect the reliability of anchor data and is usually inversely proportional to the error. Assumptions:

[0094] The measurement error of anchor point A is large. , the ranging errors of anchor points B, C, and D are small, The coordinate calculation is performed using weighted fusion. The specific calculation formula is as follows:

[0095] , , (1)

[0096] Take the x coordinate as an example:

[0097] Anchor Point A: , m, , = ≈0.0236;

[0098] Anchor point B: , m, , = ≈0.1323;

[0099] Anchor point C: , m, , = ≈0.1281;

[0100] Anchor point D: , m, , = ≈0.0579.

[0101] The sum of the molecules is: 0.0236+0.1323+0.1281+0.0579≈0.3419

[0102] The sum of the denominators is:

[0103] + + + ≈0.0654

[0104] The final result is x=0.3419 / 0.0654≈5.3m.

[0105] Similarly, calculate y and z according to the above steps, and finally obtain the position P (5.1, 4.9, 1.1) of the terminal device.

[0106] Based on the calculated location P of the terminal device and the floor plan of the management area, the server can determine the room information where the terminal device is located, and then bind the device tag of the terminal device to the room tag (such as the room ID) to realize the room allocation of the terminal device, so as to achieve group management and refined control of the terminal device.

[0107] For example, you can remotely control devices by room. For example, on your way home from get off work, you can use the device management app to access the "Bedroom" group, turn on the air conditioner, and adjust the temperature in advance. Or, while on a business trip, you can check the camera feed in the "Children's Room" to confirm your child's activities. By assigning devices to rooms, you can avoid the clutter of multiple devices and quickly locate the target device by room, improving operational efficiency.

[0108] Alternatively, you can implement automated scene management based on spatial logic linkage. For example, you could trigger "bedroom" device linkage based on motion detection: the human sensor at the bedroom door detects movement and automatically turns on the bedroom night light. Or, you could trigger "living room" device linkage based on time: at 6:00 AM, the living room curtains automatically open, and so on.

[0109] Alternatively, device management and control in complex scenarios can be achieved based on the room information and control modes assigned to terminal devices. For example, in Away mode, all lights and appliances in the "living room, bedroom, and kitchen" area can be turned off with one click, while the "entrance" camera security mode is activated. Alternatively, in Movie Mode, receiving the voice command "I want to watch a movie" will dim the living room lights, turn on the TV, mute the air conditioner, and so on.

[0110] The device management method provided by an embodiment of the present invention configures a Bluetooth anchor point array within a management zone. Based on this array, the location information of terminal devices is determined. A server can then automatically determine the room information corresponding to the terminal device based on the terminal device's location information and the floor plan corresponding to the management zone. Compared to related techniques that require users to manually assign rooms to devices during batch device network configuration, the present invention achieves high-precision positioning of terminal devices through the Bluetooth anchor point array. Based on the determined location information, room information is automatically assigned to the terminal device, eliminating the need for manual user configuration and improving room allocation efficiency and accuracy.

[0111] Optionally, the step of determining the location information of the terminal device based on the Bluetooth anchor point array in step 102 includes:

[0112] Step S11: receiving first information sent by each Bluetooth anchor point in the Bluetooth anchor point array; the first information is used to reflect the position information of the Bluetooth anchor point relative to the terminal device;

[0113] Step S12: Determine the location information of the terminal device according to the first information.

[0114] Reference Figure 3 , shows a schematic diagram of the interaction between the terminal device, the Bluetooth anchor point and the server in an embodiment of the present invention. Figure 3 As shown, after the terminal device is connected to the network, it sends a broadcast signal carrying a timestamp. After receiving the broadcast signal sent by the terminal device, each Bluetooth anchor point in the Bluetooth anchor point array performs signal detection to determine the first information. For example, the Bluetooth anchor point detects the signal strength (RSSI), flight time (ToF), etc., calculates the distance between the terminal device and the local device, and determines the relative position of the terminal device relative to the Bluetooth anchor point, and then sends the first information to the server. The first information can carry the anchor point ID, the terminal device ID, and the global preliminary position of the terminal device relative to the anchor point. , can also carry other auxiliary information, such as measurement errors (e.g. di standard deviation), angular error, dynamic weight ,etc.

[0115] After receiving the first information, the server determines the terminal device's location based on the first information sent by each Bluetooth anchor point, such as the terminal device's preliminary location coordinates. It then determines the room information corresponding to the terminal device based on the terminal device's location information and the floor plan of the management area. Finally, the server can send a corresponding room tag, such as a room ID, to the terminal device based on the determined room information to notify the terminal device of the room assignment. After receiving the room ID, the terminal device can send a confirmation message to the server, informing the server of the room assignment.

[0116] In the subsequent device management process, the server can group and manage and control multiple terminal devices according to the room allocation results.

[0117] The embodiment of the present invention determines the location information of the terminal device in combination with the first information sent by each Bluetooth anchor point in the Bluetooth anchor point array, which can fully integrate multi-source data, improve the accuracy of the positioning result, and is conducive to further improving the accuracy of room allocation.

[0118] Optionally, the first information includes signal strength, arrival angle and arrival time difference of a signal transmitted between the Bluetooth anchor point and the terminal device, and the first location coordinates of the terminal device.

[0119] Determining the location information of the terminal device according to the first information in step S12 includes:

[0120] Step S21: for each Bluetooth anchor point in the Bluetooth anchor point array, determine a dynamic weight corresponding to the Bluetooth anchor point according to the signal strength, the arrival angle, and the arrival time difference;

[0121] Step S22: Determine the second position coordinates of the terminal device according to the first position coordinates corresponding to each Bluetooth anchor point and the dynamic weight.

[0122] In an embodiment of the present invention, a distributed signal processing architecture can be adopted, in which the Bluetooth anchor point first locally calculates the preliminary position of the terminal device relative to the global coordinate system, that is, the first position coordinate, to disperse the computing load of the server. The server only needs to fuse multi-source data based on the first information sent by the Bluetooth anchor point, without the need for a large number of complex calculations, thereby improving data processing efficiency.

[0123] Specifically, after each Bluetooth anchor point receives the broadcast signal, it can first calculate the first distance between itself (Bluetooth anchor point) and the terminal device based on the signal strength RSSI and flight time ToF. di.

[0124] Furthermore, the Bluetooth anchor point can measure the angle of arrival (AoA) of the signal based on an antenna array (e.g., four antennas) and calculate the local coordinates of the terminal device relative to the Bluetooth anchor point (with the Bluetooth anchor point as the origin) based on the AoA and the first distance. Then, based on the position coordinates of the Bluetooth anchor point (global coordinates) and the local coordinates of the terminal device, the preliminary position of the terminal device relative to the global coordinate system, i.e., the first position coordinates, is determined.

[0125] Each Bluetooth anchor point in the Bluetooth anchor point array sends the calculated first position coordinates to the server, and sends the signal strength RSSI, arrival angle AoA and arrival time difference TDOA to the server to assist the server in performing high-precision positioning calculations.

[0126] The server considers the reliability of the data provided by the Bluetooth anchor point based on the signal strength RSSI, arrival angle AoA and arrival time difference TDOA, and determines the dynamic weight corresponding to the Bluetooth anchor point. It is understood that the dynamic weight is used to reflect the data reliability of the Bluetooth anchor point, which is usually inversely proportional to the error. For example, if the signal strength of a certain anchor point is high and the ranging error is small, then If the signal is interfered with (such as the Bluetooth anchor point is blocked), Smaller.

[0127] The server fuses the first position coordinates calculated by each Bluetooth anchor point based on the dynamic weight to obtain the final second position coordinates of the terminal device. The specific fusion method can refer to the processing process shown in the above formula (1).

[0128] The embodiment of the present invention determines the dynamic weight corresponding to each Bluetooth anchor point by comprehensively considering the signal strength, arrival angle and arrival time difference, and fuses the positioning information of the Bluetooth anchor point array based on the dynamic weight. This can suppress the influence of anchor point data with large errors on the final positioning result, achieve high-precision estimation of the global position of the terminal device, improve positioning accuracy, and help further improve the accuracy of the room allocation result of the terminal device.

[0129] Optionally, determining the dynamic weight corresponding to the Bluetooth anchor point according to the signal strength, the arrival angle, and the arrival time difference in step S21 includes:

[0130] Sub-step S211: determining a first weight and a first weight coefficient corresponding to the signal strength, a second weight and a second weight coefficient corresponding to the arrival angle, and a third weight and a third weight coefficient corresponding to the arrival time difference;

[0131] Sub-step S212: performing a weighted sum operation based on the first weight, the first weight coefficient, the second weight, the second weight coefficient, the third weight, and the third weight coefficient to obtain the dynamic weight.

[0132] As an example, the dynamic weight in the embodiment of the present invention can be expressed as:

[0133] (2)

[0134] in, is the first weight coefficient corresponding to the signal strength, is the first weight corresponding to the signal strength RSSI; is the second weight coefficient corresponding to the angle of arrival AoA, is the second weight corresponding to the angle of arrival AoA; is the third weight coefficient corresponding to the time difference of arrival TDOA, is the third weight corresponding to the time difference of arrival TDOA.

[0135] According to the above formula (2), the first weight, the second weight and the third weight are weighted and summed to obtain the dynamic weight in the embodiment of the present invention: .

[0136] Optionally, the method further includes:

[0137] At least one of the first weight coefficient, the second weight coefficient, and the third weight coefficient is adjusted according to the environment information of the terminal device.

[0138] It's understandable that RSSI is significantly affected by environmental attenuation but is simple to calculate; AoA requires an antenna array and offers high accuracy but is affected by multipath; and TDOA requires time synchronization and offers high accuracy but requires complex equipment. The embodiments of the present invention integrate these factors when calculating dynamic weights. Specifically, in embodiments of the present invention, the weight coefficients can be adjusted based on the real-time environment of the terminal device. For example, AoA can be weighted more in stable signal environments, while TDOA can be weighted more in complex multipath environments.

[0139] The embodiment of the present invention dynamically adjusts the weight coefficient based on environmental information so that the calculation result can adapt to the environment in which the terminal device is located, thereby minimizing the impact of the environment on the positioning result and improving the positioning accuracy.

[0140] Optionally, the method further includes:

[0141] Step S31: Determine the device identification and total number of terminal devices for batch network configuration in the management area;

[0142] Step S32: Determine the time slice corresponding to each terminal device according to the total number of devices and the network distribution period;

[0143] Step S33: Generate second information according to the time slice and the device identifier;

[0144] Step S34: Send the second information to the terminal device, so that the terminal device can establish a network connection within the corresponding time slice.

[0145] In embodiments of the present invention, dynamic time-division multiplexing can also be used to configure network configuration and room allocation for terminal devices. Specifically, a time slice corresponding to each terminal device can be determined based on the total number of terminal devices requiring batch network configuration in the management area and a preset network configuration time. Second information can be generated based on the terminal device's device identifier and the time slice, and the second information can be sent to the terminal device, instructing the terminal device to establish a network connection within the corresponding time slice.

[0146] When multiple devices simultaneously send network connection requests to the server, each device is allocated a specific time slot. During this time slot, the device can send its network configuration information, such as its device identification and configuration parameters. This prevents conflicts caused by multiple devices sending data simultaneously, improving the success rate and efficiency of network configuration.

[0147] Furthermore, in embodiments of the present invention, the time slice size and allocation order for each terminal device can be flexibly adjusted based on the actual transmission needs of the terminal device. For example, if a terminal device has a lot of data to transmit, more time slices can be allocated to it; if a device temporarily has no data to transmit, its time slice can be temporarily allocated to other devices with data needs.

[0148] In summary, the device management method provided by the embodiments of the present invention configures a Bluetooth anchor array within a management zone and determines the location information of terminal devices based on the Bluetooth anchor array. The server can then automatically determine the room information corresponding to the terminal device based on the terminal device's location information and the floor plan corresponding to the management zone. Compared to related techniques that require users to manually set the room to which devices belong when configuring a batch of devices, the embodiments of the present invention achieve high-precision positioning of terminal devices through the Bluetooth anchor array, automatically assigning room information to terminal devices based on the determined location information without requiring manual user configuration, thereby improving the efficiency and accuracy of room allocation.

[0149] Device embodiment

[0150] like Figure 4 As shown, Figure 4The following is a structural block diagram of a device management apparatus provided in an embodiment of the present application. The apparatus is applied to a server and includes:

[0151] Configuration module 401, configured to configure a Bluetooth anchor array in each room of the management area;

[0152] A location determination module 402 is configured to determine location information of a terminal device based on the Bluetooth anchor point array;

[0153] The room allocation module 403 is configured to determine the room information corresponding to the terminal device according to the location information and the floor plan corresponding to the management area.

[0154] Optionally, the location determination module includes:

[0155] a receiving submodule, configured to receive first information sent by each Bluetooth anchor point in the Bluetooth anchor point array; the first information is used to reflect the position information of the Bluetooth anchor point relative to the terminal device;

[0156] A determination submodule is used to determine the location information of the terminal device based on the first information.

[0157] Optionally, the first information includes signal strength, arrival angle and arrival time difference of a signal transmitted between the Bluetooth anchor point and the terminal device, and the first location coordinates of the terminal device;

[0158] The determining submodule includes:

[0159] a first determining unit, configured to determine, for each Bluetooth anchor point in the Bluetooth anchor point array, a dynamic weight corresponding to the Bluetooth anchor point according to the signal strength, the arrival angle, and the arrival time difference;

[0160] The second determining unit is configured to determine the second position coordinates of the terminal device according to the first position coordinates corresponding to the respective Bluetooth anchor points and the dynamic weight.

[0161] Optionally, the first determining unit is specifically configured to:

[0162] Determine a first weight and a first weight coefficient corresponding to the signal strength, a second weight and a second weight coefficient corresponding to the arrival angle, and a third weight and a third weight coefficient corresponding to the arrival time difference;

[0163] The dynamic weight is obtained by performing a weighted sum operation according to the first weight, the first weight coefficient, the second weight, the second weight coefficient, the third weight and the third weight coefficient.

[0164] Optionally, the first determining unit is further configured to:

[0165] At least one of the first weight coefficient, the second weight coefficient, and the third weight coefficient is adjusted according to the environment information of the terminal device.

[0166] Optionally, the device further comprises:

[0167] A device identification module, configured to determine the device identification and the total number of terminal devices for batch network configuration in the management area;

[0168] A time slicing module is used to determine the time slice corresponding to each terminal device according to the total number of devices and the network configuration period;

[0169] An information generating module, configured to generate second information according to the time slice and the device identifier;

[0170] The sending module is used to send the second information to the terminal device so that the terminal device can establish a network connection within the corresponding time slice.

[0171] In summary, the device management apparatus provided in the embodiments of the present invention configures a Bluetooth anchor array within a management zone and determines the location information of terminal devices based on the Bluetooth anchor array. The server can then automatically determine the room information corresponding to the terminal device based on the terminal device's location information and the floor plan corresponding to the management zone. Compared to related techniques that require users to manually set the room to which devices belong when configuring a batch of devices, the embodiments of the present invention achieve high-precision positioning of terminal devices through the Bluetooth anchor array, automatically assigning room information to terminal devices based on the determined location information without requiring manual user configuration, thereby improving the efficiency and accuracy of room allocation.

[0172] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0173] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0174] The device management device in the embodiments of the present application can be an electronic device or a component of an electronic device, such as an integrated circuit or chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be a GPU box, a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA). It can also be a server, a network attached storage (NAS), a personal computer (PC), a television, a teller machine, or a self-service machine, etc., and the embodiments of the present application are not specifically limited thereto.

[0175] The device management device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, a Linux operating system, a Windows operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0176] The device management device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented in the method embodiment are not described here.

[0177] Alternatively, as Figure 5 As shown, an embodiment of the present application also provides an electronic device 1100, including a processor 1101 and a memory 1102, wherein the memory 1102 stores a program or instruction that can be run on the processor 1101. When the program or instruction is executed by the processor 1101, the various steps of the above-mentioned device management method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0178] In an embodiment of the present application, memory 1102 can be used to store software programs and various data. Memory 1102 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function or an image playback function). Furthermore, memory 1102 may include volatile memory or non-volatile memory, or both. Non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM RAM (DRRAM). The memory 1102 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.

[0179] Processor 1101 may include one or more processing units. Optionally, processor 1101 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1101.

[0180] An embodiment of the present application also provides an electronic device, which includes a processor, a memory, a communication interface and a communication bus, and the processor, the memory and the communication interface communicate with each other through the communication bus; the memory is used to store executable instructions, and the executable instructions enable the processor to execute the various processes of the device management method embodiment as described above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0181] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned device management method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0182] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0183] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned device management method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0184] It should be understood that the chip involved in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0185] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned device management method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0186] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0187] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of this application.

[0188] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A device management method, characterized in that: Applied to a server, the method includes: Configure an array of Bluetooth anchor points in each room of the management area; Determining the location information of the terminal device based on the first information sent by each Bluetooth anchor point in the Bluetooth anchor point array; the Bluetooth anchor point is a smart device that supports Bluetooth technology and has a relatively fixed location; Determining room information corresponding to the terminal device based on the location information and the floor plan corresponding to the management area; The first information includes the signal strength, arrival angle and arrival time difference of the signal transmitted between the Bluetooth anchor point and the terminal device, and the first position coordinates of the terminal device; The determining the location information of the terminal device based on the first information sent by each Bluetooth anchor point in the Bluetooth anchor point array includes: For each Bluetooth anchor point in the Bluetooth anchor point array, determine a dynamic weight corresponding to the Bluetooth anchor point according to the signal strength, the arrival angle, and the arrival time difference; Determining the second position coordinates of the terminal device according to the first position coordinates corresponding to each Bluetooth anchor point and the dynamic weight; The method further comprises: Determining the device identification and total number of terminal devices for batch network configuration in the management area; Determine the time slice corresponding to each terminal device according to the total number of devices and the network distribution period; generating second information according to the time slice and the device identifier; The second information is sent to the terminal device, so that the terminal device can establish a network connection within the corresponding time slice.

2. The method according to claim 1, characterized in that The determining the location information of the terminal device based on the first information sent by each Bluetooth anchor point in the Bluetooth anchor point array further includes: receiving first information sent by each Bluetooth anchor point in the Bluetooth anchor point array; wherein the first information is used to reflect the position information of the Bluetooth anchor point relative to the terminal device; Determine the location information of the terminal device based on the first information.

3. The method according to claim 1, characterized in that The determining, according to the signal strength, the arrival angle, and the arrival time difference, of a dynamic weight corresponding to the Bluetooth anchor point includes: Determine a first weight and a first weight coefficient corresponding to the signal strength, a second weight and a second weight coefficient corresponding to the arrival angle, and a third weight and a third weight coefficient corresponding to the arrival time difference; The dynamic weight is obtained by performing a weighted sum operation according to the first weight, the first weight coefficient, the second weight, the second weight coefficient, the third weight and the third weight coefficient.

4. The method according to claim 3, characterized in that The method further comprises: At least one of the first weight coefficient, the second weight coefficient, and the third weight coefficient is adjusted according to the environment information of the terminal device.

5. A device management device, characterized in that: Applied to a server, the device includes: A configuration module for configuring an array of Bluetooth anchor points in each room of the management area; a location determination module, configured to determine location information of a terminal device based on first information sent by each Bluetooth anchor point in the Bluetooth anchor point array; wherein the Bluetooth anchor point is a smart device that supports Bluetooth technology and has a relatively fixed location; a room allocation module, configured to determine room information corresponding to the terminal device based on the location information and a floor plan corresponding to the management area; The first information includes the signal strength, arrival angle and arrival time difference of the signal transmitted between the Bluetooth anchor point and the terminal device, and the first position coordinates of the terminal device; The position determination module includes: a first determining unit, configured to determine, for each Bluetooth anchor point in the Bluetooth anchor point array, a dynamic weight corresponding to the Bluetooth anchor point according to the signal strength, the arrival angle, and the arrival time difference; A second determining unit, configured to determine the second position coordinates of the terminal device according to the first position coordinates corresponding to the respective Bluetooth anchor points and the dynamic weight; The device further comprises: A device identification module, configured to determine the device identification and the total number of terminal devices for batch network configuration in the management area; A time slicing module is used to determine the time slice corresponding to each terminal device according to the total number of devices and the network configuration period; An information generating module, configured to generate second information according to the time slice and the device identifier; The sending module is used to send the second information to the terminal device so that the terminal device can establish a network connection within the corresponding time slice.

6. The device according to claim 5, characterized in that The position determination module includes: a receiving submodule, configured to receive first information sent by each Bluetooth anchor point in the Bluetooth anchor point array; the first information is used to reflect the position information of the Bluetooth anchor point relative to the terminal device; A determination submodule is used to determine the location information of the terminal device based on the first information.

7. The device according to claim 5, characterized in that The first determining unit is specifically configured to: Determine a first weight and a first weight coefficient corresponding to the signal strength, a second weight and a second weight coefficient corresponding to the arrival angle, and a third weight and a third weight coefficient corresponding to the arrival time difference; The dynamic weight is obtained by performing a weighted sum operation according to the first weight, the first weight coefficient, the second weight, the second weight coefficient, the third weight and the third weight coefficient.

8. An electronic device, characterized in that: The electronic device includes a processor, a memory, a communication interface and a communication bus, and the processor, the memory and the communication interface communicate with each other through the communication bus; the memory is used to store executable instructions, and the executable instructions enable the processor to execute the device management method as described in any one of claims 1 to 4.

9. A readable storage medium, characterized in that The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the device management method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Indoor positioning method, device and server

    CN106535097A

  • Equipment positioning method and device, electronic equipment and storage medium

    CN119420799A