Method for binding base station to sensor, apparatus, electronic device and storage medium

WO2026201047A1PCT designated stage Publication Date: 2026-10-01SHENZHEN OCEANWING SMART INNOVATIONS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/086198
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-03-26
Filing Date
2026-03-26
Publication Date
2026-10-01

Smart Images

  • Figure CN2026086198_01102026_PF_FP_ABST
    Figure CN2026086198_01102026_PF_FP_ABST
Patent Text Reader

Abstract

The embodiments of the present application relate to a method for binding a base station to sensors, an apparatus, an electronic device, and a storage medium. The method for binding a base station to sensors, which is applied to the base station, comprises: determining a first identifier set pre-associated with the base station, wherein each first identifier in the first identifier set uniquely corresponds to one sensor in a sensor group, the number of sensors in the sensor group is a target number, and the target number is greater than or equal to 2; receiving a trigger instruction, wherein the trigger instruction is used for triggering the target number of binding operations, such that the base station binds to each sensor in the sensor group; and in response to the trigger instruction, executing the target number of binding operations on the basis of the first identifier set. Thus, the complexity of binding the base station to the sensors can be reduced, and the efficiency of binding the base station to the sensors can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Methods, devices, electronic equipment, and storage media for binding base stations and sensors

[0001] Citation of relevant applications

[0002] This application claims the full benefits of patent application No. 202510377426.7, entitled "Binding Method, Apparatus, Electronic Device and Storage Medium for Base Station and Sensor", filed on March 26, 2025 with the State Intellectual Property Office of the People's Republic of China, the entire contents of which are incorporated herein by reference.

[0003] field

[0004] This application relates to the field of smart home technology, and in particular to a method, device, electronic device and storage medium for binding a base station and a sensor.

[0005] background

[0006] In related technologies, base stations in smart home devices are typically sold bundled with multiple sensors. Under current methods, each sensor can only be manually paired by the user. The pairing process is as follows: First, power on the sensor and manually enter pairing mode. Then, locate the corresponding sensor in the application and follow the prompts to add the sensor step-by-step to achieve pairing between the base station and the sensor.

[0007] However, in the above scheme, users usually need to bind sensors to base stations one by one and find the corresponding sensors. As a result, the binding complexity of base stations and sensors is high and the binding efficiency of base stations and sensors is low.

[0008] Overview

[0009] In view of this, in order to solve some or all of the above-mentioned technical problems, embodiments of this application provide a method, apparatus, electronic device and storage medium for binding a base station and a sensor.

[0010] In a first aspect, embodiments of this application provide a method for binding a base station and a sensor, the method being applied to the base station, the method comprising:

[0011] A first set of identifiers pre-associated with the base station is determined, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two.

[0012] Receive a trigger instruction, wherein the trigger instruction is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group;

[0013] In response to the triggering instruction, the binding operation is performed a target number of times based on the first identifier set.

[0014] In one possible implementation, determining the first set of identifiers pre-associated with the base station includes:

[0015] Determine the second identifier of the base station;

[0016] The second identifier is sent to the first device, wherein the first device is used to determine a first set of identifiers pre-associated with the second identifier;

[0017] Receive the first set of identifiers returned by the first device, and use the first set of identifiers returned by the first device as a first set of identifiers pre-associated with the base station.

[0018] In one possible implementation, the binding operation is performed as follows:

[0019] Receive a binding request sent by a second device, wherein the binding request includes a third identifier of the second device;

[0020] Determine whether the first set of identifiers contains the third identifier;

[0021] If the third identifier is included in the first identifier set, the second device is identified as a sensor in the sensor group, and a binding operation with the second device is performed.

[0022] In one possible implementation, after performing the binding operation with the second device, the method further includes:

[0023] Determine whether the binding operation has been completed;

[0024] If the binding operation has not been completed, determine the start time of the binding operation;

[0025] Determine the duration between the start execution time and the current time;

[0026] If the duration is greater than or equal to a preset duration threshold, a prompt message indicating that the binding has timed out is generated.

[0027] In one possible implementation, performing the target number of binding operations based on the first identifier set includes:

[0028] Based on the first set of identifiers, scan each sensor in the sensor group;

[0029] Binding operations are performed on each sensor in the sensor group according to the order in which they are scanned.

[0030] Secondly, embodiments of this application provide a method for binding a base station and a sensor, the method being applied to a first device, the method comprising:

[0031] A first set of identifiers pre-associated with the base station is determined, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two.

[0032] The first identifier set is sent to the base station so that the base station, in response to a trigger command, performs the target number of binding operations based on the first identifier set, wherein the trigger command is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group.

[0033] In one possible implementation, determining the first set of identifiers pre-associated with the base station includes:

[0034] Determine the second identifier of the base station;

[0035] Determine the first set of identifiers pre-associated with the second identifier;

[0036] The first set of identifiers pre-associated with the second identifier is determined as the first set of identifiers pre-associated with the base station.

[0037] In one possible implementation, after the base station performs the target number of binding operations based on the first identifier set in response to a trigger command, the method further includes:

[0038] Determine whether the binding operation has been completed;

[0039] If the binding operation has not been completed, determine the start time of the binding operation;

[0040] Determine the duration between the start execution time and the current time;

[0041] If the duration is greater than or equal to a preset duration threshold, a prompt message indicating that the binding has timed out is generated.

[0042] Thirdly, embodiments of this application provide a binding device for a base station and a sensor, the device being applied to the base station, the device comprising:

[0043] The first determining unit is configured to determine a first set of identifiers pre-associated with the base station, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, the number of sensors in the sensor group is a target number, and the target number is greater than or equal to two.

[0044] A receiving unit is configured to receive a triggering instruction, wherein the triggering instruction is configured to trigger the target number of binding operations, so that the base station performs binding with each sensor in the sensor group;

[0045] An execution unit is configured to, in response to the triggering instruction, perform the binding operation a target number of times based on the first identifier set.

[0046] In one possible implementation, determining the first set of identifiers pre-associated with the base station includes:

[0047] Determine the second identifier of the base station;

[0048] The second identifier is sent to the first device, wherein the first device is used to determine a first set of identifiers pre-associated with the second identifier;

[0049] Receive the first set of identifiers returned by the first device, and use the first set of identifiers returned by the first device as a first set of identifiers pre-associated with the base station.

[0050] In one possible implementation, the binding operation is performed as follows:

[0051] Receive a binding request sent by a second device, wherein the binding request includes a third identifier of the second device;

[0052] Determine whether the first set of identifiers contains the third identifier;

[0053] If the third identifier is included in the first identifier set, the second device is identified as a sensor in the sensor group, and a binding operation with the second device is performed.

[0054] In one possible implementation, after performing the binding operation with the second device, the device further includes:

[0055] The second determining unit is used to determine whether the binding operation has been completed.

[0056] The third determining unit is used to determine the start time of the binding operation if the binding operation has not been completed.

[0057] The fourth determining unit is used to determine the duration between the start execution time and the current time;

[0058] The first generation unit is used to generate a prompt message indicating that the binding has timed out when the duration is greater than or equal to a preset duration threshold.

[0059] In one possible implementation, performing the target number of binding operations based on the first identifier set includes:

[0060] Based on the first set of identifiers, scan each sensor in the sensor group;

[0061] Binding operations are performed on each sensor in the sensor group according to the order in which they are scanned.

[0062] Fourthly, embodiments of this application provide a binding device for a base station and a sensor, the device being applied to a first device, the device comprising:

[0063] The fifth determining unit is used to determine a first set of identifiers pre-associated with the base station, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, wherein the target number is greater than or equal to two.

[0064] The sending unit is configured to send the first identifier set to the base station, so that the base station, in response to a triggering instruction, performs the target number of binding operations based on the first identifier set, wherein the triggering instruction is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group.

[0065] In one possible implementation, determining the first set of identifiers pre-associated with the base station includes:

[0066] Determine the second identifier of the base station;

[0067] Determine the first set of identifiers pre-associated with the second identifier;

[0068] The first set of identifiers pre-associated with the second identifier is determined as the first set of identifiers pre-associated with the base station.

[0069] In one possible implementation, after the base station performs the target number of binding operations based on the first identifier set in response to a trigger command, the apparatus further includes:

[0070] The sixth determining unit is used to determine whether the binding operation has been completed;

[0071] The seventh determining unit is used to determine the start time of the binding operation if the binding operation has not been completed.

[0072] The eighth determining unit is used to determine the duration between the start execution time and the current time;

[0073] The second generation unit is used to generate a prompt message indicating that the binding has timed out when the duration is greater than or equal to a preset duration threshold.

[0074] Fifthly, embodiments of this application provide an electronic device, including:

[0075] Memory, used to store computer programs;

[0076] A processor is configured to execute a computer program stored in the memory, and when the computer program is executed, to implement the method of any embodiment of the base station and sensor binding method of the first or second aspect of this application.

[0077] In a sixth aspect, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the method of any embodiment of the base station and sensor binding method of the first or second aspect.

[0078] In a seventh aspect, embodiments of this application provide a computer program product comprising computer-readable code that, when executed on a device, causes a processor in the device to implement the method of any embodiment of the base station and sensor binding method of the first or second aspect described above.

[0079] The base station and sensor binding method provided in this application can determine a first set of identifiers pre-associated with the base station, wherein each first identifier in the first set uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two. Then, a trigger command is received, wherein the trigger command is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group. Then, in response to the trigger command, the target number of binding operations are executed based on the first set of identifiers. Therefore, by using the pre-associated first set of identifiers and the base station, a single trigger command can automatically trigger multiple binding operations to achieve automatic binding of the base station to multiple sensors. This reduces the binding complexity of the base station and sensors and improves the binding efficiency.

[0080] The binding method for a base station and sensors applied to a first device provided in this application embodiment can determine a first set of identifiers pre-associated with the base station. Each first identifier in the first set uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two. Then, the first set of identifiers is sent to the base station, causing the base station to respond to a trigger command and perform the target number of binding operations based on the first set of identifiers. The trigger command is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group. Therefore, by using the pre-associated first set of identifiers and the base station, a single trigger command can automatically trigger multiple binding operations to achieve automatic binding between the base station and multiple sensors. This reduces the binding complexity between the base station and sensors and improves the binding efficiency.

[0081] Brief description of the attached figures

[0082] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0083] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0084] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0085] Figure 1 is a schematic flowchart of a method for binding a base station and a sensor to a base station, provided in an embodiment of this application.

[0086] Figure 2 is a flowchart illustrating a method for binding a base station and a sensor to a first device according to an embodiment of this application.

[0087] Figure 3A is a schematic diagram of the base station and sensor binding process of a base station and sensor binding method provided in an embodiment of this application;

[0088] Figure 3B is a schematic diagram of the interaction process between the base station, the sensor, and the first device in a base station and sensor binding method provided in an embodiment of this application;

[0089] Figure 3C is a flowchart illustrating a method for binding a base station and a sensor in the prior art;

[0090] Figure 3D is a flowchart illustrating another method for binding a base station and a sensor to a base station, as provided in an embodiment of this application.

[0091] Figure 4A is a schematic diagram of a base station and sensor binding device applied to a base station according to an embodiment of this application;

[0092] Figure 4B is a schematic diagram of a binding device for a base station and a sensor applied to a first device according to an embodiment of this application;

[0093] Figure 5 is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0094] Detailed Explanation

[0095] Various exemplary embodiments of this application will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values ​​of the components and steps set forth in these embodiments do not limit the scope of this application.

[0096] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of this application are only used to distinguish different steps, devices or modules, and do not represent any specific technical meaning, nor do they indicate the logical order between them.

[0097] It should also be understood that in this embodiment, "multiple" can refer to two or more, and "at least one" can refer to one, two or more.

[0098] It should also be understood that any component, data or structure mentioned in the embodiments of this application can generally be understood as one or more unless explicitly defined or given contrary guidance in the context.

[0099] Furthermore, the term "and / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this application generally indicates that the preceding and following related objects have an "or" relationship.

[0100] It should also be understood that the description of the various embodiments in this application emphasizes the differences between the various embodiments, and the similarities or similarities can be referred to each other. For the sake of brevity, they will not be described in detail.

[0101] The following description of at least one exemplary embodiment is merely illustrative and is not intended to limit the scope of this application or its application or use.

[0102] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.

[0103] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.

[0104] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. To facilitate understanding of the embodiments of this application, the application will be described in detail below with reference to the accompanying drawings and embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0105] To address the technical problems of high complexity and low efficiency in binding base stations and sensors in existing technologies, this application provides a method, apparatus, electronic device, and storage medium for binding base stations and sensors, which can reduce the complexity of binding base stations and sensors and improve the efficiency of binding base stations and sensors.

[0106] Figure 1 is a schematic flowchart of a method for binding a base station and a sensor to a base station, provided in an embodiment of this application.

[0107] As shown in Figure 1, the method specifically includes:

[0108] Step 101: Determine a first set of identifiers pre-associated with the base station, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two.

[0109] In this embodiment, the aforementioned base station can be a base station used in a smart home system. It can receive control commands issued by users or other objects through a terminal, and transmit the control commands to the corresponding devices (such as sensors), thereby transmitting the device's operating status and feedback information back to the terminal.

[0110] The target number represents the number of sensors in the sensor group; in other words, the number of sensors in the sensor group can be recorded as the target number.

[0111] The first identifier set may include multiple first identifiers, each of which can uniquely correspond to a sensor in the sensor group. As an example, the first identifier can be the sensor's SN (Serial Number).

[0112] In some cases, none of the sensors in the aforementioned sensor group are bound to the aforementioned base station. The sensors corresponding to the various first identifiers included in the first identifier set are not bound to the aforementioned base station.

[0113] Here, an association between the base station and the first set of identifiers can be established in advance. For example, the first device or other devices communicatively connected to the first device can store the first set of identifiers and a second identifier of the base station in association. The second identifier can uniquely represent the base station. As an example, the second identifier can be the base station's serial number (SN). Furthermore, the base station can store the first set of identifiers pre-associated with it.

[0114] In some optional implementations of this embodiment, the first set of identifiers pre-associated with the base station can be determined in the following manner:

[0115] The first step is to determine the second identifier of the base station.

[0116] The second step is to send the second identifier to the first device.

[0117] The first device is used to determine a first set of identifiers pre-associated with the second identifier.

[0118] The third step is to receive the first set of identifiers returned by the first device, and to use the first set of identifiers returned by the first device as a first set of identifiers pre-associated with the base station.

[0119] It is understood that in the above-mentioned optional implementation methods, if the first device stores a first set of identifiers and the base station's second identifier in association, the base station can send its second identifier to the first device. The first device then determines the first set of identifiers stored in association with the second identifier and returns the first set of identifiers to the base station, so that the base station can determine the first set of identifiers pre-associated with it. Therefore, the association between the second identifier and the first set of identifiers can be maintained by the first device, thus reducing the data processing pressure on the base station.

[0120] If a base station stores a first set of identifiers that it is pre-associated with, the base station can directly identify the first set of identifiers that it stores as the first set of identifiers that is pre-associated with the base station.

[0121] The aforementioned first device may include at least one of a terminal and a server.

[0122] The sensor group may include multiple sensors. For example, the sensor group described above may include a temperature sensor, a humidity sensor, a light sensor, an air quality sensor, a human infrared sensor, etc.

[0123] Step 102: Receive a trigger instruction, wherein the trigger instruction is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group.

[0124] In this embodiment, the trigger command can be generated automatically by the base station after the user turns on the base station, or it can be sent to the base station by the first device after the user operates the first device.

[0125] A single trigger command can initiate a target number of binding operations. Each binding operation can be used to bind a base station to a sensor.

[0126] Step 103: In response to the triggering instruction, perform the binding operation a target number of times based on the first identifier set.

[0127] In this embodiment, after the base station receives the trigger command, the base station can further perform the binding operation a target number of times based on the first identifier set.

[0128] As an example, a base station can iterate through each first identifier in the first identifier set to determine whether the sensor represented by that first identifier is bound to the base station. If not, the base station can perform a binding operation with the sensor represented by that first identifier.

[0129] In some optional implementations of this embodiment, the binding operation is performed in the following manner:

[0130] The first step is to receive a binding request sent by the second device, wherein the binding request includes a third identifier of the second device.

[0131] The second device can be any device. For example, the second device can be a sensor in the sensor group described above, or a sensor other than the sensors in the sensor group described above, or a device other than a sensor.

[0132] The third identifier can represent the second device. For example, the third identifier can be the serial number (SN) of the second device.

[0133] The second step is to determine whether the first set of identifiers contains the third identifier. That is, to determine whether the first set of identifiers contains a first identifier that is the same as the third identifier.

[0134] The third step involves identifying the second device as a sensor in the sensor group if the first set of identifiers includes the third identifier, and performing a binding operation with the second device.

[0135] It is understood that, in the above optional implementation methods, the first set of identifiers can be used as a whitelist of sensors that the base station needs to bind. Thus, by automatically binding each sensor represented by each first identifier in the whitelist, the security and accuracy of base station binding can be improved.

[0136] In some optional implementations of this embodiment, after performing the binding operation with the second device, the following steps may also be performed:

[0137] The first step is to determine whether the binding operation has been completed. That is, to determine whether the base station and the individual sensor have been successfully bound.

[0138] The second step is to determine the start time of the binding operation if the binding operation has not been completed.

[0139] The aforementioned start execution time can be the time when the binding operation begins.

[0140] The third step is to determine the duration between the start execution time and the current time.

[0141] The fourth step is to generate a prompt message indicating that the binding has timed out if the duration is greater than or equal to a preset duration threshold.

[0142] It is understandable that, among the above optional implementation methods, the user can be notified of the excessive binding time through a prompt message generated by the base station, thereby allowing the user to manually bind the base station and the corresponding sensor.

[0143] In some optional implementations of this embodiment, the binding operation can be performed a target number of times based on the first identifier set in the following manner:

[0144] The first step is to scan each sensor in the sensor group based on the first set of identifiers.

[0145] Here, after the base station determines the first set of identifiers, the base station can further scan each sensor in the sensor group based on the first set of identifiers.

[0146] The second step is to perform a binding operation with each sensor in the sensor group according to the order in which the sensors are scanned.

[0147] Specifically, the aforementioned base station can prioritize binding with the first sensor scanned. Therefore, binding with each sensor can be performed sequentially according to the order in which they are scanned.

[0148] It is understandable that, among the above optional implementation methods, by performing the binding operation with each sensor according to the scanning sequence, the efficiency of binding the base station with multiple sensors can be further improved.

[0149] It should be noted that, where there is no conflict, the technical features described in different alternative implementations can be included in the same embodiment. For the sake of brevity, they will not be elaborated here.

[0150] The base station and sensor binding method provided in this application can determine a first set of identifiers pre-associated with the base station, wherein each first identifier in the first set uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two. Then, a trigger command is received, wherein the trigger command is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group. Then, in response to the trigger command, the target number of binding operations are executed based on the first set of identifiers. Therefore, by using the pre-associated first set of identifiers and the base station, a single trigger command can automatically trigger multiple binding operations to achieve automatic binding of the base station to multiple sensors. This reduces the binding complexity of the base station and sensors and improves the binding efficiency.

[0151] Figure 2 is a flowchart illustrating a method for binding a base station and a sensor to a first device according to an embodiment of this application. As shown in Figure 2, the method specifically includes:

[0152] Step 201: Determine a first set of identifiers pre-associated with the base station, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two.

[0153] In this embodiment, the aforementioned base station can be a base station used in a smart home system. It can receive control commands issued by users or other objects through a terminal, transmit the control commands to the corresponding smart devices, and then transmit the operating status and feedback information of the smart devices back to the terminal.

[0154] The first identifier set may include multiple first identifiers, each of which can uniquely correspond to a sensor in the sensor group. As an example, the first identifier can be the sensor's SN (Serial Number).

[0155] In some cases, none of the sensors in the aforementioned sensor group are bound to the aforementioned base station. The sensors corresponding to the various first identifiers included in the first identifier set are not bound to the aforementioned base station.

[0156] Here, an association between the base station and the first set of identifiers can be established in advance. For example, the first device or other devices communicatively connected to the first device can store a second identifier of the base station in association with the first set of identifiers. The second identifier can uniquely represent the base station. As an example, the second identifier can be the base station's serial number (SN).

[0157] The aforementioned first device may include at least one of a terminal and a server.

[0158] The sensor group may include multiple sensors. For example, the sensor group described above may include a temperature sensor, a humidity sensor, a light sensor, an air quality sensor, a human infrared sensor, etc.

[0159] Step 202: Send the first identifier set to the base station so that the base station responds to the trigger command and performs the target number of binding operations based on the first identifier set, wherein the trigger command is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group.

[0160] In this embodiment, the trigger command can be generated automatically by the base station after the user turns on the base station, or it can be sent to the base station by the first device after the user operates the first device.

[0161] After receiving the trigger command, the base station can further perform the binding operation a target number of times based on the first identifier set.

[0162] As an example, a base station can iterate through each first identifier in the first identifier set to determine whether the sensor represented by that first identifier is bound to the base station. If not, the base station can perform a binding operation with the sensor represented by that first identifier.

[0163] In some optional implementations of this embodiment, the base station may perform the binding operation in the following manner:

[0164] The first step is to receive a binding request sent by the second device, wherein the binding request includes a third identifier of the second device.

[0165] The second device can be any device. For example, the second device can be a sensor in the sensor group described above, or a sensor other than the sensors in the sensor group described above, or a device other than a sensor.

[0166] The third identifier can represent the second device. For example, the third identifier can be the serial number (SN) of the second device.

[0167] The second step is to determine whether the first set of identifiers contains the third identifier. That is, to determine whether the first set of identifiers contains a first identifier that is the same as the third identifier.

[0168] The third step involves identifying the second device as a sensor in the sensor group if the first set of identifiers includes the third identifier, and performing a binding operation with the second device.

[0169] It is understood that, in the above optional implementation methods, the first set of identifiers can be used as a whitelist of sensors that the base station needs to bind. Thus, by automatically binding the sensors represented by the first identifier in the whitelist, the security and accuracy of base station binding can be improved.

[0170] In some optional implementations of this embodiment, the first set of identifiers pre-associated with the base station can be determined in the following manner:

[0171] The first step is to determine the second identifier of the base station.

[0172] The second step is to send the second identifier to the first device.

[0173] The first device is used to determine a first set of identifiers pre-associated with the second identifier.

[0174] The third step is to receive the first set of identifiers returned by the first device, and to use the first set of identifiers returned by the first device as a first set of identifiers pre-associated with the base station.

[0175] It is understood that in the above-mentioned optional implementation methods, if the first device stores a first set of identifiers and the base station's second identifier in association, the base station can send its second identifier to the first device. The first device then determines the first set of identifiers stored in association with the second identifier and returns the first set of identifiers to the base station, so that the base station can determine the first set of identifiers pre-associated with it. Therefore, the association between the second identifier and the first set of identifiers can be maintained by the first device, thus reducing the data processing pressure on the base station.

[0176] In some optional implementations of this embodiment, after the base station performs the target number of binding operations based on the first identifier set in response to the trigger command, the following steps may also be performed:

[0177] The first step is to determine whether the binding operation has been completed. That is, to determine whether the base station and the individual sensor have been successfully bound.

[0178] The second step is to determine the start time of the binding operation if the binding operation has not been completed.

[0179] The aforementioned start execution time can be the time when the binding operation begins.

[0180] The third step is to determine the duration between the start execution time and the current time.

[0181] The fourth step is to generate a prompt message indicating that the binding has timed out if the duration is greater than or equal to a preset duration threshold.

[0182] It is understandable that, among the above optional implementation methods, the user can be notified of the excessive binding time through a prompt message generated by the first device, thereby allowing the user to manually bind the base station and the corresponding sensor.

[0183] It should be noted that, in addition to the contents described above, this embodiment may also include the corresponding technical features described in the embodiment corresponding to FIG1, thereby achieving the technical effect of the binding method of base station and sensor applied to base station shown in FIG1. ​​For details, please refer to the relevant description in FIG1. ​​For the sake of brevity, it will not be elaborated here.

[0184] The binding method for a base station and sensors applied to a first device provided in this application embodiment can determine a first set of identifiers pre-associated with the base station. Each first identifier in the first set uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two. Then, the first set of identifiers is sent to the base station, causing the base station to respond to a trigger command and perform the target number of binding operations based on the first set of identifiers. The trigger command is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group. Therefore, by using the pre-associated first set of identifiers and the base station, a single trigger command can automatically trigger multiple binding operations to achieve automatic binding between the base station and multiple sensors. This reduces the binding complexity between the base station and sensors and improves the binding efficiency.

[0185] The following describes the embodiments of this application by way of example. However, it should be noted that the following content is only used to understand the technical solutions of the embodiments of this application and does not constitute a limitation on the protection scope of the embodiments of this application.

[0186] Sub 1G: Wireless communication frequency bands below 1 GHz (gigahertz). This band is typically used for low-power, long-range wireless communication technologies, such as Internet of Things (IoT) devices, smart homes, and industrial automation. Due to the good penetration and long propagation distance of low-frequency signals, the Sub 1G band is very useful in applications requiring wide coverage and low power consumption. Commonly used Sub 1G frequencies include 345 MHz, 433 MHz, 868 MHz, and 929 MHz.

[0187] Sensor: A sensor is a device that detects changes in the physical environment and converts these changes into electrical signals or other forms of signals. Sensor devices are widely used in various fields, including industrial automation, medical devices, smart homes, environmental monitoring, and automotive electronics. Common types of sensor devices include: temperature sensors, pressure sensors, gas sensors, distance sensors, water immersion sensors, door magnetic sensors, and light sensors, etc.

[0188] SN: Serial Number, a unique serial number used to identify the product.

[0189] Typically, base stations are sold together with several sensors. Under the current scheme, each sensor can only be manually bound, and the binding process is as follows:

[0190] 1. Power on the sensor and manually enter pairing mode;

[0191] 2. Locate the corresponding Sensor in the APP (Application) and add the Sensor step by step according to the prompts.

[0192] The problem with manually adding is:

[0193] 1. The added user operations are cumbersome and result in a poor user experience;

[0194] 2. It takes a long time; binding one sensor takes about 20 seconds. The more sensors there are, the longer it takes.

[0195] In view of this, this solution can resolve the problems mentioned above, allowing users to quickly bind the sensor by reducing cumbersome operations on their mobile phones (including the first device mentioned above). To achieve this functionality, collaboration between the production end, the mobile app, the sensor, and the base station is required. Specific steps include:

[0196] 1. The server (included in the first device mentioned above) can query the corresponding Sensor device that needs to be bound via the base station.

[0197] Each sensor has its own unique serial number (SN), which identifies the sensor type. This step needs to be completed during the production phase. During packaging, the QR codes of both the base station and the sensor are scanned, and the base station's SN and the sensor's SN are packaged together (i.e., pre-associated), and then uploaded to the server.

[0198] 2. The user terminal needs to be bound to the base station first.

[0199] Once a user binds to a base station via the app, the app can retrieve the corresponding sensor SN list (i.e., the first set of identifiers mentioned above) from the backend using the base station's SN. This list is then sent back to the base station, which can then determine which sensors need to be bound. The base station then prompts the user to power on these sensors and displays the binding precision.

[0200] 3. On the sensor side, after powering on, it needs to check if it has already been paired. If not, it needs to automatically enter pairing mode with a timeout of 1 minute (i.e., the preset time threshold mentioned above). When users receive the product, some sensors have Mylar chips, while others do not, requiring a button press to power on. After powering on, the sensor can actively seek connection with the base station. Upon successful connection, it will send a pairing request containing its own SN information. The base station will use the SN list to determine whether to pair this sensor device.

[0201] 4. On the app side, after binding the base station, the base station can automatically perform the sensor binding operation. First, the app can retrieve the devices that need to be bound to this base station in the background, displaying the corresponding device type based on the SN number. The base station will automatically enable the binding function and inform the app of the corresponding status. The sensor has a total of 3 statuses: binding in progress, binding successful, and binding timeout. Initially, it is in the binding in progress status. If the binding is successful within 1 minute, it will display "binding successful"; otherwise, it will display "binding failed" and you need to add it manually, as shown in Figure 3A.

[0202] 5. The overall flowchart is shown in Figure 3B. After receiving the device, the user can first bind it to the base station using a mobile app. The app will then automatically redirect to the one-click binding interface, displaying the binding progress of the sensor to be bound. At this point, the user only needs to power on the sensor to be bound, and the base station will automatically bind to the sensor. The base station includes the RK3566 chip and CC1311R3 chip shown in the diagram. The specific binding process is shown in Figure 3B.

[0203] In summary, the product purchased by the user consists of one base station and multiple sensors. In existing technologies, users first need to bind the base station, and then bind each sensor individually according to the prompts in the app, which is extremely cumbersome. The specific process is shown in Figure 3C.

[0204] This solution enables rapid binding of multiple sensors. After the user binds the base station, a list of bound sensors automatically appears on the app, as shown in Figure 3A. The user simply needs to remove the sensor's microarray or power on the sensor, and the app will automatically display the binding progress, completing the binding process. There's no need to search for the corresponding sensor in the app; binding is achieved simply by clicking buttons step by step. The specific process is shown in Figure 3D.

[0205] Therefore, the binding process of this solution reduces the number of steps and time for many users, with most actions completed automatically.

[0206] It should be noted that, in addition to the contents described above, this embodiment may also include the technical features described in the above embodiments, thereby achieving the technical effect of the binding method between the base station and the sensor shown above. Please refer to the above description for details. For the sake of brevity, it will not be elaborated here.

[0207] This solution establishes a binding relationship between the base station and the sensor in the background before the devices (including base stations and sensors) leave the factory. Once the user binds to the base station and the sensor is powered on, the base station will automatically bind to the sensor. This reduces user operations, eliminates the need for frequent app operations, and shortens the binding time, improving user comfort.

[0208] Figure 4A is a schematic diagram of a base station and sensor bonding device applied to a base station according to an embodiment of this application. Specifically, it includes:

[0209] The first determining unit 401 is used to determine a first set of identifiers pre-associated with the base station, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, the number of sensors in the sensor group is a target number, and the target number is greater than or equal to two.

[0210] The receiving unit 402 is used to receive a trigger instruction, wherein the trigger instruction is used to trigger the target number of binding operations so that the base station can bind with each sensor in the sensor group;

[0211] The execution unit 403 is configured to, in response to the triggering instruction, perform the binding operation a target number of times based on the first identifier set.

[0212] In one possible implementation, determining the first set of identifiers pre-associated with the base station includes:

[0213] Determine the second identifier of the base station;

[0214] The second identifier is sent to the first device, wherein the first device is used to determine a first set of identifiers pre-associated with the second identifier;

[0215] Receive the first set of identifiers returned by the first device, and use the first set of identifiers returned by the first device as a first set of identifiers pre-associated with the base station.

[0216] In one possible implementation, the binding operation is performed as follows:

[0217] Receive a binding request sent by a second device, wherein the binding request includes a third identifier of the second device;

[0218] Determine whether the first set of identifiers contains the third identifier;

[0219] If the third identifier is included in the first identifier set, the second device is identified as a sensor in the sensor group, and a binding operation with the second device is performed.

[0220] In one possible implementation, after performing the binding operation with the second device, the device further includes:

[0221] The second determining unit (not shown in the figure) is used to determine whether the binding operation has been completed;

[0222] The third determining unit (not shown in the figure) is used to determine the start time of the binding operation if the binding operation has not been completed.

[0223] The fourth determining unit (not shown in the figure) is used to determine the duration between the start execution time and the current time;

[0224] The first generation unit (not shown in the figure) is used to generate a prompt message indicating that the binding has timed out when the duration is greater than or equal to a preset duration threshold.

[0225] In one possible implementation, performing the target number of binding operations based on the first identifier set includes:

[0226] Based on the first set of identifiers, scan each sensor in the sensor group;

[0227] Binding operations are performed on each sensor in the sensor group according to the order in which they are scanned.

[0228] The base station and sensor binding device provided in this embodiment can be the base station and sensor binding device shown in Figure 4A. It can execute all the steps of the base station and sensor binding methods described above, thereby achieving the technical effects of the base station and sensor binding methods described above. Please refer to the above description for details. For the sake of brevity, it will not be elaborated here.

[0229] Figure 4B is a schematic diagram of a binding device for a base station and a sensor applied to a first device according to an embodiment of this application. Specifically, it includes:

[0230] The fifth determining unit 411 is used to determine a first set of identifiers pre-associated with the base station, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, the number of sensors in the sensor group is a target number, and the target number is greater than or equal to two.

[0231] The sending unit 412 is configured to send the first identifier set to the base station so that the base station, in response to a triggering instruction, performs the target number of binding operations based on the first identifier set, wherein the triggering instruction is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group.

[0232] In one possible implementation, determining the first set of identifiers pre-associated with the base station includes:

[0233] Determine the second identifier of the base station;

[0234] Determine the first set of identifiers pre-associated with the second identifier;

[0235] The first set of identifiers pre-associated with the second identifier is determined as the first set of identifiers pre-associated with the base station.

[0236] In one possible implementation, after the base station performs the target number of binding operations based on the first identifier set in response to a trigger command, the apparatus further includes:

[0237] The sixth determining unit (not shown in the figure) is used to determine whether the binding operation has been completed;

[0238] The seventh determining unit (not shown in the figure) is used to determine the start time of the binding operation if the binding operation has not been completed.

[0239] The eighth determining unit (not shown in the figure) is used to determine the duration between the start execution time and the current time;

[0240] The second generation unit (not shown in the figure) is used to generate a prompt message indicating that the binding has timed out when the duration is greater than or equal to a preset duration threshold.

[0241] The binding device for the base station and sensor of the first device provided in this embodiment can be the binding device for the base station and sensor of the first device as shown in FIG4B. It can execute all the steps of the binding methods for the base station and sensor of the first device described above, thereby achieving the technical effects of the binding methods for the base station and sensor of the first device described above. For details, please refer to the above relevant descriptions. For the sake of brevity, it will not be elaborated here.

[0242] Figure 5 is a schematic diagram of an electronic device provided in an embodiment of this application. The electronic device 500 shown in Figure 5 includes: at least one processor 501, a memory 502, at least one network interface 504, and other user interfaces 503. The various components in the electronic device 500 are coupled together through a bus system 505. It is understood that the bus system 505 is used to realize the connection and communication between these components. In addition to a data bus, the bus system 505 also includes a power bus, a control bus, and a status signal bus. However, for clarity, all buses are labeled as bus system 505 in Figure 5.

[0243] As an example, the aforementioned electronic device may include at least one of a base station, a terminal, and a server.

[0244] The user interface 503 may include a display, keyboard, or clicking device (e.g., mouse, trackball, touchpad, or touchscreen).

[0245] It is understood that the memory 502 in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can 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. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 502 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0246] In some implementations, memory 502 stores elements, executable units or data structures, or subsets thereof, or extended sets thereof: operating system 5021 and application program 5022.

[0247] The operating system 5021 includes various system programs, such as the framework layer, core library layer, and driver layer, used to implement various basic business functions and handle hardware-based tasks. The application program 5022 includes various applications, such as a media player and a browser, used to implement various application functions. Programs implementing the methods of this application embodiment can be included in application program 5022.

[0248] In this embodiment, by calling the program or instructions stored in memory 502, specifically the program or instructions stored in application program 5022, processor 501 executes the method steps provided in each method embodiment, including, for example:

[0249] A first set of identifiers pre-associated with the base station is determined, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two.

[0250] Receive a trigger instruction, wherein the trigger instruction is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group;

[0251] In response to the triggering instruction, the binding operation is performed a target number of times based on the first identifier set.

[0252] or,

[0253] A first set of identifiers pre-associated with the base station is determined, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two.

[0254] The first identifier set is sent to the base station so that the base station, in response to a trigger command, performs the target number of binding operations based on the first identifier set, wherein the trigger command is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group.

[0255] The methods disclosed in the embodiments of this application can be applied to or implemented by processor 501. Processor 501 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 501 or by instructions in the form of software. The processor 501 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or can be executed by a combination of hardware and software units in the decoding processor. The software units may be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 502. Processor 501 reads the information in memory 502 and, in conjunction with its hardware, completes the steps of the above method.

[0256] It is understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described above, or combinations thereof.

[0257] For software implementation, the techniques described herein can be implemented by units that perform the functions described above. The software code can be stored in memory and executed by a processor. The memory can be implemented within the processor or external to the processor.

[0258] The electronic device provided in this embodiment can be the electronic device shown in Figure 5, which can execute all the steps of the binding method between each base station and sensor described above, thereby achieving the technical effect of the binding method between each base station and sensor described above. For details, please refer to the relevant descriptions above. For the sake of brevity, it will not be elaborated here.

[0259] This application also provides a storage medium (computer-readable storage medium). This storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; it may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; and it may also include combinations of the above types of memory.

[0260] When one or more programs in the storage medium can be executed by one or more processors to implement the above-described method of binding base stations and sensors on the electronic device side.

[0261] The processor described above is used to execute the base station and sensor binding program stored in the memory to implement the following steps of the base station and sensor binding method executed on the electronic device side:

[0262] A first set of identifiers pre-associated with the base station is determined, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two.

[0263] Receive a trigger instruction, wherein the trigger instruction is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group;

[0264] In response to the triggering instruction, the binding operation is performed a target number of times based on the first identifier set.

[0265] or,

[0266] A first set of identifiers pre-associated with the base station is determined, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two.

[0267] The first identifier set is sent to the base station so that the base station, in response to a trigger command, performs the target number of binding operations based on the first identifier set, wherein the trigger command is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group.

[0268] Furthermore, the computer program product provided in this application embodiment may include computer-readable code, which, when executed on a device, causes a processor in the device to implement the steps of the base station and sensor binding method executed on the electronic device side:

[0269] A first set of identifiers pre-associated with the base station is determined, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two.

[0270] Receive a trigger instruction, wherein the trigger instruction is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group;

[0271] In response to the triggering instruction, the binding operation is performed a target number of times based on the first identifier set.

[0272] or,

[0273] A first set of identifiers pre-associated with the base station is determined, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two.

[0274] The first identifier set is sent to the base station so that the base station, in response to a trigger command, performs the target number of binding operations based on the first identifier set, wherein the trigger command is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group.

[0275] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0276] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0277] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also include the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.

[0278] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for binding a base station and a sensor, characterized in that, The method is applied to the base station, and the method includes: A first set of identifiers pre-associated with the base station is determined, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two. Receive a trigger instruction, wherein the trigger instruction is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group; In response to the triggering instruction, the binding operation is performed a target number of times based on the first identifier set.

2. The method according to claim 1, characterized in that, The determination of the first set of identifiers pre-associated with the base station includes: Determine the second identifier of the base station; The second identifier is sent to the first device, wherein the first device is used to determine the first identifier set pre-associated with the second identifier; The system receives the first set of identifiers returned by the first device and uses the first set of identifiers returned by the first device as the first set of identifiers pre-associated with the base station.

3. The method according to claim 1, characterized in that, The binding operation is performed in the following manner: Receive a binding request sent by a second device, wherein the binding request includes a third identifier of the second device; Determine whether the first set of identifiers contains the third identifier; If the third identifier is included in the first identifier set, the second device is identified as a sensor in the sensor group, and the binding operation with the second device is performed.

4. The method according to claim 3, characterized in that, After performing the binding operation with the second device, the method further includes: Determine whether the binding operation has been completed; If the binding operation has not been completed, determine the start time of the binding operation; Determine the duration between the start execution time and the current time; If the duration is greater than or equal to a preset duration threshold, a prompt message indicating that the binding has timed out is generated.

5. The method according to any one of claims 1-4, characterized in that, The step of performing the target number of binding operations based on the first identifier set includes: Based on the first set of identifiers, scan each sensor in the sensor group; Binding operations are performed on each sensor in the sensor group according to the order in which they are scanned.

6. A method for binding a base station and a sensor, characterized in that, The method is applied to a first device, and the method includes: A first set of identifiers pre-associated with the base station is determined, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, which is greater than or equal to two. The first identifier set is sent to the base station so that the base station, in response to a trigger command, performs the target number of binding operations based on the first identifier set, wherein the trigger command is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group.

7. The method according to claim 6, characterized in that, The determination of the first set of identifiers pre-associated with the base station includes: Determine the second identifier of the base station; Determine the first set of identifiers pre-associated with the second identifier; The first set of identifiers pre-associated with the second identifier is determined as the first set of identifiers pre-associated with the base station.

8. The method according to any one of claims 6-7, characterized in that, After the base station, in response to a trigger command, performs the target number of binding operations based on the first identifier set, the method further includes: Determine whether the binding operation has been completed; If the binding operation has not been completed, determine the start time of the binding operation; Determine the duration between the start execution time and the current time; If the duration is greater than or equal to a preset duration threshold, a prompt message indicating that the binding has timed out is generated.

9. A binding device for a base station and a sensor, characterized in that, The device is applied to the base station, and the device includes: The first determining unit is configured to determine a first set of identifiers pre-associated with the base station, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, and the number of sensors in the sensor group is a target number, wherein the target number is greater than or equal to two. A receiving unit is configured to receive a triggering instruction, wherein the triggering instruction is configured to trigger the target number of binding operations, so that the base station performs binding with each sensor in the sensor group; An execution unit is configured to, in response to the triggering instruction, perform the binding operation a target number of times based on the first identifier set.

10. A binding device for a base station and a sensor, characterized in that, The device is applied to the first apparatus, the device comprising: The fifth determining unit is used to determine a first set of identifiers pre-associated with the base station, wherein each first identifier in the first set of identifiers uniquely corresponds to a sensor in a sensor group, the number of sensors in the sensor group is a target number, and the target number is greater than or equal to two; The sending unit is configured to send the first identifier set to the base station, so that the base station, in response to a triggering instruction, performs the target number of binding operations based on the first identifier set, wherein the triggering instruction is used to trigger the target number of binding operations so that the base station binds to each sensor in the sensor group.

11. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor is configured to execute a computer program stored in the memory, wherein when the computer program is executed, it implements the base station and sensor binding method of any one of claims 1-8.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the binding method between the base station and the sensor according to any one of claims 1-8.