Wireless communication method, device and system
By using the backscattered signal from the sensor and the precise judgment of the controller, the problem of inaccurate door and window opening and closing status has been solved, achieving higher accuracy, a thinner and lighter sensor, and the elimination of the need for battery replacement.
Patent Information
- Application Number
- CN202080099179.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-03
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2040-07-03
AI Technical Summary
Existing door and window opening and closing monitoring equipment suffers from inaccurate sensor positioning, resulting in low accuracy in door and window opening and closing status.
Using wireless communication, the backscatter signal of the tag is sent to the controller through the backscatter of the sensor. The controller determines the opening and closing status of the door and window based on the backscatter signal of the tag. The sensor can also convert CW energy into DC energy for power supply.
It improves the accuracy of door and window opening and closing status, achieves a thinner and lighter sensor and eliminates the need for battery replacement, thus reducing maintenance costs.
Smart Images

Figure CN115349126B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, and more specifically, to wireless communication methods, devices, and systems. Background Technology
[0002] With the rise of the Internet of Things (IoT), IoT security devices are gradually being accepted by consumers. Among them, door and window opening and closing monitoring is frequently used. This type of device is used to monitor whether doors and windows are closed or open, thereby triggering alarms or transmitting the opening and closing status of doors and windows to users.
[0003] In existing technology, this type of switch monitoring device includes two sensors, respectively installed at corresponding positions on the door frame and door panel. When the door or window is opened, the relative positions of the two sensors change, thereby triggering an alarm or transmitting the opening / closing status of the door or window to the user. However, due to the inaccuracy of the sensors' positioning function, the accuracy of the obtained door / window opening / closing status is relatively low. Summary of the Invention
[0004] This application provides a wireless communication method, device, and system, thereby making the opening and closing states of structures such as doors and windows more accurate.
[0005] In a first aspect, a wireless communication method is provided, comprising: the method being applied to a sensor including two tags, the two tags being respectively disposed on a fixed component and a movable component, the method comprising: the sensor receiving a continuous wave transmitted by a controller; the sensor transmitting backscattered signals of the two tags to the controller via backscattering, so that the controller determines the opening / closing state of the structure including the fixed component and the movable component based on the backscattered signals of the two tags respectively.
[0006] In a second aspect, a wireless communication method is provided, comprising: the method being applied to a controller, the method comprising: the controller transmitting a continuous wave; the controller receiving backscattered signals from two tags transmitted by a sensor via backscattering, wherein the sensor includes the two tags, the two tags being respectively disposed on a fixed component and a movable component; the controller determining an opening / closing state of a structure including the fixed component and the movable component based on the backscattered signals from the two tags.
[0007] Thirdly, a wireless communication method is provided, comprising: the method being applied to a sensor including two tags, the two tags being respectively disposed on a fixed component and a movable component, a first tag having a light-emitting unit, and a second tag having a photosensitive unit, a chip, and an antenna, the method comprising: the light-emitting unit of the first tag generating emitted light; the photosensitive unit of the second tag sensing the emitted light; the chip of the second tag obtaining sensing information; and the antenna of the second tag sending the sensing information to a controller, so that the controller determines the opening / closing state of the structure including the fixed component and the movable component based on the sensing information.
[0008] Fourthly, a wireless communication method is provided, comprising: the method being applied to a controller, the method comprising: the controller receiving sensing information transmitted by an antenna of a second tag; the controller determining an opening / closing state of a structure including a fixed component and a moving component based on the sensing information; wherein the sensor includes two tags, the two tags being respectively disposed on the fixed component and the moving component, a first tag having a light-emitting unit, and a second tag having a photosensitive unit, a chip, and an antenna, the light-emitting unit of the first tag being used to generate emitted light; the photosensitive unit of the second tag sensing the emitted light, and the chip of the second tag being used to obtain the sensing information.
[0009] Fifthly, a sensor is provided, comprising two tags respectively disposed on a fixed component and a movable component. Each tag includes an antenna and a chip. For any one tag: the antenna is used to receive a continuous wave transmitted by a controller; the chip is used to generate a backscatter signal; the antenna is also used to transmit the backscatter signal to the controller via backscattering, so that the controller determines the opening / closing state of the structure including the fixed component and the movable component based on the backscatter signals of the two tags respectively.
[0010] In a sixth aspect, a controller is provided, the controller being configured to: transmit a continuous wave; receive backscattered signals from two tags transmitted by a sensor via backscattering, wherein the sensor includes the two tags, the two tags being respectively disposed on a fixed component and a movable component; and determine the opening / closing state of a structure including the fixed component and the movable component based on the backscattered signals from the two tags.
[0011] In a seventh aspect, a sensor is provided, comprising two tags respectively disposed on a fixed component and a movable component. A first tag has a light-emitting unit, and a second tag includes an antenna, a chip, and a photosensitive unit. The light-emitting unit of the first tag generates emitted light; the photosensitive unit of the second tag senses the emitted light; the chip of the second tag obtains sensing information; and the antenna of the second tag transmits the sensing information to a controller, enabling the controller to determine the opening / closing state of the structure including the fixed component and the movable component based on the sensing information.
[0012] Eighthly, a controller is provided, the controller being configured to: receive sensing information transmitted by an antenna of a second tag of a sensor; determine an opening / closing state of a structure including a fixed component and a moving component based on the sensing information; wherein the sensor includes two tags, the two tags being respectively disposed on the fixed component and the moving component, a first tag of the two tags being provided with a light-emitting unit, and a second tag being provided with a photosensitive unit, a chip and an antenna, the light-emitting unit of the first tag being used to generate emitted light; the photosensitive unit of the second tag sensing the emitted light, and the chip of the second tag being used to obtain the sensing information.
[0013] A ninth aspect provides a wireless communication system, comprising: a sensor as described in the fifth aspect and a controller as described in the sixth aspect.
[0014] In a tenth aspect, a wireless communication system is provided, comprising: a sensor as described in the seventh aspect and a controller as described in the eighth aspect.
[0015] Eleventhly, an apparatus is provided for implementing the method in any one of the first and third aspects or their respective implementations.
[0016] Specifically, the device includes a processor for calling and running a computer program from a memory, causing a device equipped with the device to perform the methods described in any of the first and third aspects or their respective implementations.
[0017] In a twelfth aspect, a computer-readable storage medium is provided for storing a computer program that causes a computer to perform the methods of any one of the first to fourth aspects or their respective implementations.
[0018] In a thirteenth aspect, a computer program product is provided, including computer program instructions that cause a computer to perform the methods of any one of the first to fourth aspects or their respective implementations.
[0019] In a fourteenth aspect, a computer program is provided that, when run on a computer, causes the computer to perform the methods of any one of the first to fourth aspects or their respective implementations.
[0020] The above technical solution eliminates the need to rely on sensor positioning to determine the opening / closing state of the structure. Instead, the sensor sends backscattered signals from two tags to the controller, which then determines the opening / closing state of the structure, including both fixed and moving components, based on these signals. Since the controller's capabilities are typically greater than the sensor's, its determination of the structure's opening / closing state is more accurate than the sensor's positioning-based determination. Furthermore, the sensor can convert CW energy into DC energy to power itself, eliminating the need for a battery. This allows for a thinner, lighter sensor that is easier to install and remove, and reduces the need for battery replacements, thus lowering the ongoing maintenance costs of the structure. Attached Figure Description
[0021] Figure 1 This application provides a schematic diagram of the architecture of a communication system. Figure 2 This is a schematic diagram of the architecture of another communication system provided in an embodiment of this application; Figure 3 This is a schematic flowchart of a wireless communication method 300 according to an embodiment of this application; Figure 4 A schematic diagram showing the relative positions of the labels provided in an embodiment of this application; Figure 5 This is a schematic diagram of a data structure for a backscattered signal provided in an embodiment of this application; Figure 6 This is a schematic flowchart of a wireless communication method 600 according to an embodiment of this application; Figure 7 This is a schematic diagram of a data structure for a backscattered signal provided in an embodiment of this application; Figure 8 A schematic diagram of a sensor 800 according to an embodiment of this application is shown; Figure 9 A schematic diagram of a label 900 according to an embodiment of this application is shown; Figure 10 A schematic block diagram of a chip 1000 according to an embodiment of this application is shown; Figure 11 A schematic diagram of a sensor 1100 according to an embodiment of this application is shown; Figure 12 A schematic block diagram of a first label 1200 according to an embodiment of this application is shown; Figure 13 A schematic block diagram of a second label 1300 according to an embodiment of this application is shown; Figure 14 This is a schematic structural diagram of the device according to an embodiment of this application; Figure 15 This is a schematic block diagram of a communication system 1500 provided in an embodiment of this application. Detailed Implementation
[0022] The technical solutions of the embodiments of this application will now be described 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. All other embodiments obtained by those skilled in the art without creative effort regarding the embodiments of this application are within the scope of protection of this application.
[0023] As described above, in the prior art, switch monitoring devices include two sensors, respectively installed at corresponding positions on the door frame and door panel. When the door or window is opened, the relative positions of the two sensors change, thereby triggering an alarm or transmitting this information to the user. However, due to the potentially inaccurate positioning function of the sensors, the accuracy of the obtained door and window opening / closing status is relatively low.
[0024] To solve the aforementioned technical problems, this application solves the problems by determining the opening or closing state of a door or window based on the backscattering information from a sensor.
[0025] For example, the following is combined with Figure 1 and Figure 2 The architecture of the communication system in this application will be described.
[0026] Figure 1 This is a schematic diagram of the architecture of a communication system provided in an embodiment of this application. Figure 1 As shown, the system includes a sensor 110, a controller 120, and a terminal device 130. Both the sensor 110 and the terminal device 130 can wirelessly communicate with the controller 120. Optionally, the communication system may include multiple sensors 110, multiple controllers 120, and multiple terminal devices 130. This application embodiment does not limit the number of sensors, the number of controllers, or the number of terminal devices.
[0027] Figure 2 This is a schematic diagram of the architecture of another communication system provided in an embodiment of this application. For example... Figure 2As shown, the system includes: a sensor 210, a controller 220, a cloud server 230, and a terminal device 240. The controller 220 can wirelessly communicate with the sensor 210 and the cloud server 230, and the cloud server 230 can also wirelessly communicate with the terminal device 240. Optionally, the communication system may include multiple sensors 210, multiple controllers 220, multiple cloud servers 230, and multiple terminal devices 240. This embodiment does not limit the number of sensors, controllers, cloud servers, or terminal devices.
[0028] Optionally, Figure 1 and Figure 2 The wireless communication system shown may also include other network entities such as a Mobility Management Entity (MME) and an Access and Mobility Management Function (AMF), but this application does not limit this.
[0029] In this application, the controller acts as a bridge between the sensor and the terminal device; therefore, the controller can also be referred to as a Bridge. Optionally, in this application, the controller can be an integrated smart speaker or a smart customer premises equipment (CPE).
[0030] Optionally, in this application, the terminal equipment may also be referred to as User Equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent, or user device, etc. The terminal equipment may be a station (STAION, ST) in a Wireless Local Area Network (WLAN), a cellular phone, cordless phone, Session Initiation Protocol (SIP) phone, Wireless Local Loop (WLL) station, Personal Digital Assistant (PDA) device, handheld device with wireless communication capabilities, computing device, or other processing device connected to a wireless modem, in-vehicle device, wearable device, and next-generation communication system, such as terminal equipment in an NR network or a terminal equipment in a future evolved Public Land Mobile Network (PLMN) network, etc.
[0031] In the embodiments of this application, the terminal device can be deployed on land, including indoor or outdoor, handheld, wearable or vehicle-mounted; it can also be deployed on water (such as ships); and it can also be deployed in the air (such as airplanes, balloons and satellites).
[0032] In the embodiments of this application, the terminal device may be a mobile phone, tablet computer, computer with wireless transceiver capabilities, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, vehicle-mounted terminal device, wireless terminal in self-driving, wireless terminal in remote medical care, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, wearable terminal device, etc. The terminal device involved in the embodiments of this application may also be referred to as a terminal, user equipment (UE), access terminal device, vehicle-mounted terminal, industrial control terminal, UE unit, UE station, mobile station, mobile station, remote station, remote terminal device, mobile device, UE terminal device, wireless communication device, UE agent, or UE device, etc. The terminal device may also be fixed or mobile.
[0033] By way of example and not limitation, in this embodiment, the terminal device can also be a wearable device. Wearable devices, also known as wearable smart devices, are a general term for devices that utilize wearable technology to intelligently design and develop everyday wearables, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not merely hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are feature-rich, large in size, and can achieve complete or partial functions without relying on a smartphone, such as smartwatches or smart glasses, as well as those that focus on a specific type of application function and require the use of other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0034] It should be understood that the terms "system" and "network" are often used interchangeably in this document. The term "and / or" is used to describe the relationships between related objects, indicating that there are three possible relationships between them. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the relationship between related objects is "or".
[0035] It should be understood that the term "instruction" mentioned in the embodiments of this application can be a direct instruction, an indirect instruction, or an indication of a relationship. For example, A instructing B can mean that A directly instructs B, such as B being able to obtain information through A; it can also mean that A indirectly instructs B, such as A instructing C, so B can obtain information through C; or it can mean that there is a relationship between A and B.
[0036] The technical solution of this application is described in detail below through specific embodiments.
[0037] Figure 3 This is a schematic flowchart of a wireless communication method 300 according to an embodiment of this application. The method 300 can be applied to, for example... Figure 1 or Figure 2 The communication system shown. Specifically, as... Figure 3 As shown, the method 300 may include the following steps: Step S310: The controller sends a continuous wave (CW).
[0038] Step S320: The sensor sends the backscatter signals of the two tags to the controller via backscattering.
[0039] Step S330: The controller determines the opening and closing state of the structure, including the fixed component and the moving component, based on the backscattered signals of the two tags respectively.
[0040] Optionally, the transmission duration of the CW can be set on the controller, which can be determined according to the specific application of the CW. Specific applications of the CW include, but are not limited to: enabling the sensor to send backscattered signals via backscattering, and powering the sensor.
[0041] Optionally, the controller can send control information to the sensor to instruct the sensor to send the backscattered signals of each of the two tags. Of course, the controller can also choose not to send control information to the sensor, that is, no control information is needed to trigger the sensor to send the backscattered signals of each of the two tags.
[0042] Optionally, when the controller sends control information to the sensor, the control information includes: the sensor's identifier, so that the sensor can know from the identifier that the controller needs the sensor to send a backscatter signal.
[0043] Optionally, the control information is carried in the search information sent by the controller, which may further include the frequency of the CW sent by the controller.
[0044] Optionally, the transmission duration of the search information can be set on the controller, and this transmission duration can also be determined according to the specific application of the search information.
[0045] Optionally, the sensor in the communication system includes two tags, one on a fixed component and the other on a moving component. For example, the two tags may be respectively attached to a door frame and a door panel, or the two tags may be respectively attached to a window frame and a window pane.
[0046] Optionally, the two tags of the sensor are installed in a horizontally symmetrical position, that is, the two tags are installed in the same horizontal position, see [link to relevant documentation]. Figure 4 As shown. Alternatively, the two tags of the sensor are installed in vertically symmetrical positions, that is, the two tags are installed in the same vertical position.
[0047] The two labels must not overlap. Optionally, the distance between the two labels is the minimum distance required for the actual installation environment. It should be noted that this application does not restrict the position of the two labels.
[0048] Optionally, the sensor has two zero-power labels, so the sensor is also called a zero-power sensor.
[0049] Optionally, the backscattered signal of each tag includes the tag's identifier.
[0050] Optionally, each tag has a unique Individual Identification (IID), which is represented by the tag's access address and the sensor's identifier.
[0051] Optionally, the backscatter signal of each tag may also include: a preamble and / or a cyclic redundancy check (CRC) code.
[0052] For example, Figure 5 This is a schematic diagram of a data structure for a backscattered signal provided in an embodiment of this application, as shown below. Figure 5As shown, the backscattered signal includes an 8-bit preamble, a 32-bit access address, a 16-312 bit Protocol Data Unit (PDU), and a 24-bit CRC. Each tag's IID is represented by the 32-bit access address and the 8-bit sensor identifier in the PDU; that is, the IID length = 32 bits + 8 bits. The sensor identifier is also called the Group Identification (GID). Based on the above, it can be seen that two tags in the sensor share the same GID.
[0053] It should be noted that the length of the GID mentioned above is not limited to 8 bits; it can be extended, for example, to 16 bits. Similarly, the length of the IID of the tag is not limited to 40 bits; it can be extended, for example, to 48 bits.
[0054] In summary, as described above, the backscatter signal of each tag includes the tag's IID. Based on this, when the controller receives the backscatter signal, it can determine which tag the backscatter signal comes from according to the IID.
[0055] Optionally, the above method further includes: the sensor converting the energy of CW into DC energy to power the sensor.
[0056] The following is a detailed explanation of step S330: Figure 5 A flowchart of a method for determining the opening and closing state of a structure according to an embodiment of this application is shown below. Figure 5 As shown, the method includes the following steps: Step S510: The controller acquires the Received Signal Strength Indication (RSSI) and phase information of the backscattered signals of the two tags respectively.
[0057] Step S520: The controller determines the opening and closing state of the structure based on the RSSI and phase information of the backscattered signals of the two tags.
[0058] The following explanation is provided for step S510: After receiving the backscattered signal, the controller can obtain the RSSI and phase information of the backscattered signal. Both the RSSI and phase information are related to the distance between the tag and the controller. Specifically, the RSSI of any backscattered signal can be obtained using the following formula (1): (1) in, The energy of the backscattered signal is its RSSI. The energy of the CW transmitted by the controller, i.e., the RSSI of the CW. Set the transmit and receive antenna gain for the controller. The gain of the tag that emits backscattered signals, For the wavelength of CW, Let R be the impedance matching coefficient of the tag emitting backscattered signals, and R be the relative distance between the controller and the tag emitting backscattered signals. Therefore, it can be seen that, assuming all other coefficients remain unchanged, A relationship can be established with R, that is, changes in R will affect the changes in RSSI of the backscattered signal.
[0059] The phase information of any backscattered signal can be obtained by the following formula (2): (2) in Here, R represents the phase information of the backscattered signal, and R is the relative distance between the controller and the tag emitting the backscattered signal. At the speed of light, For CW frequency, The initial phase of the backscattered signal is determined by the tag's hardware construction itself. Therefore, it can be seen that when all other coefficients remain constant... A relationship can be established with R, meaning that changes in R will affect the phase information of the backscattered signal.
[0060] The following explanation is provided for step S520: Optionally, the backscattered signals of each of the two tags include: the backscattered signals of each tag at a first time and the backscattered signals of each tag at a second time, wherein the second time is earlier than the first time. Based on this, step S520 can have at least the following two optional methods: Option 1: The controller determines a first value based on the RSSI of the backscattered signals from the two tags at the first and second time points. The controller determines a second value based on the phase information of the backscattered signals from the two tags at the first and second time points. The controller determines a third value based on the first and second values. The controller determines the opening / closing state of the structure based on the relationship between the third value and a preset threshold.
[0061] Option 2: Before step S502, the above method further includes: the controller acquiring the RSSI and phase information of the backscattered signals of the two tags when the structure is in the closed state. Accordingly, step S502 includes: the controller determining the opening / closing state of the structure based on the RSSI and phase information of the backscattered signals of the two tags, and the RSSI and phase information of the backscattered signals of the two tags when the structure is in the closed state.
[0062] The following is a detailed explanation of option one: Optionally, the controller determines the first value using the following formula (3): (3) in, Indicates the first value. , and These are parameters that can be freely selected. and These represent two tags respectively. and The RSSI of each backscattered signal at the first moment. and These represent two tags respectively. and RSSI of the backscattered signal at the second time.
[0063] It should be noted that the controller can determine the first value in a way that is not limited to formula (3). For example, the controller can determine the first value by a modified formula of formula (3).
[0064] Alternatively, the controller determines the second value using the following formula (4): (4) in, Indicates the second value. , and These are parameters that can be freely selected. and These represent two tags respectively. and The phase information of the backscattered signals at the first moment, and These represent two tags respectively. and The phase information of the backscattered signals at the second time.
[0065] It should be noted that the controller can determine the second value in a way that is not limited to formula (4). For example, the controller can determine the second value by a modified formula of formula (4).
[0066] Alternatively, the controller determines the third value using the following formula (5): (5) in, Indicates the third value. and These are parameters that can be freely selected. Indicates the first value. This indicates the second numerical value.
[0067] It should be noted that the controller can determine the third value in a way that is not limited to formula (5). For example, the controller can determine the third value by a modified formula of formula (5).
[0068] Optionally, if the third value is less than a preset threshold, the structure is determined to be in a closed state. If the third value is greater than or equal to the preset threshold, the structure is determined to be in an open state. Alternatively, if the third value is less than or equal to the preset threshold, the structure is determined to be in a closed state. If the third value is greater than the preset threshold, the structure is determined to be in an open state.
[0069] Optionally, the preset threshold is a number greater than or equal to 0 and less than or equal to 1, or the preset threshold is a number greater than or equal to 0 and less than or equal to 1, or the preset threshold is a number greater than or equal to 0 and less than 1.
[0070] Optionally, the preset threshold is equal to 0.5.
[0071] The following is a detailed explanation of optional method two: Optionally, the controller determines a fourth value based on the RSSI of the backscattered signals of the two tags at a first time, the RSSI of the backscattered signals at a second time, and the RSSI of the backscattered signals of the two tags when the structure is closed. The controller determines a fifth value based on the phase information of the backscattered signals of the two tags at the first time, the phase information of the backscattered signals at the second time, and the phase information of the backscattered signals of the two tags when the structure is closed. The controller determines a seventh value based on the fifth and sixth values. The controller determines the opening / closing state of the structure based on the relationship between the seventh value and a preset threshold.
[0072] Alternatively, the controller determines the fourth value using the following formula (6): (6) in, Indicates the fourth value. , , and These are parameters that can be freely selected. and These represent two tags respectively. and The RSSI of each backscattered signal at the first moment. and These represent two tags respectively. and The RSSI of the backscattered signals at the second time interval, and These two labels represent the two labels when the structure is in the closed state. and The RSSI of their respective backscattered signals.
[0073] It should be noted that the controller can determine the fourth value in a way that is not limited to formula (6). For example, the controller can determine the fourth value by a modified formula of formula (6).
[0074] Alternatively, the controller determines the fifth value using the following formula (7): (7) in, Indicates the fifth value. , , and These are parameters that can be freely selected. and These represent two tags respectively. and The phase information of the backscattered signals at the first moment, and These represent two tags respectively. and The phase information of the backscattered signals at the second time interval, and These represent the two labels when the structure is in the closed state. and The phase information of their respective backscattered signals.
[0075] It should be noted that the controller can determine the fifth value in a way that is not limited to formula (7). For example, the controller can determine the fifth value by a modified formula of formula (7).
[0076] Alternatively, the controller determines the sixth value using the following formula (8): (8) in, Indicates the sixth value. and These are parameters that can be freely selected. Indicates the fourth value. This represents the fifth numerical value.
[0077] Optionally, if the sixth value is less than a preset threshold, the structure is determined to be in a closed state. If the sixth value is greater than or equal to the preset threshold, the structure is determined to be in an open state. Alternatively, if the sixth value is less than or equal to the preset threshold, the structure is determined to be in a closed state. If the sixth value is greater than the preset threshold, the structure is determined to be in an open state.
[0078] Optionally, the preset threshold is a number greater than or equal to 0 and less than or equal to 1, or the preset threshold is a number greater than or equal to 0 and less than or equal to 1, or the preset threshold is a number greater than or equal to 0 and less than 1.
[0079] Optionally, the preset threshold is equal to 0.5.
[0080] It should be noted that the preset thresholds in Option 1 and Option 2 above can be the same or different, and this application does not impose any restrictions on this.
[0081] Optionally, the above method further includes: after the controller determines the opening / closing state of the structure based on the backscattered signals of the two tags, the controller can also send the opening / closing state of the structure to the terminal device so that the user can view the opening / closing state of the structure, for example: in Figure 1 In the communication system shown, the controller can directly send the opening and closing status of the above structure to the terminal device. Figure 2 In the communication system shown, the controller can directly send the opening and closing status of the above structure to the cloud server, and the terminal device can obtain the opening and closing status of the above structure from the cloud server.
[0082] In this application, the opening and closing state of the structure is determined without relying on the positioning function of the sensor. Instead, the sensor sends backscattered signals from two tags to the controller via backscattering. The controller then determines the opening and closing state of the structure, including the fixed and moving components, based on these signals. Since the controller's capabilities are typically greater than those of the sensor, its determination of the opening and closing state is more accurate than that determined by the sensor's positioning function. Furthermore, the sensor can convert CW energy into DC energy to power itself, eliminating the need for a battery. This allows for a thinner and lighter sensor, making it easier to install and remove. Additionally, users do not need to replace batteries, thus reducing the long-term maintenance costs of the structure.
[0083] Figure 6 This is a schematic flowchart of a wireless communication method 600 according to an embodiment of this application. The method 600 can be applied to, for example... Figure 1 or Figure 2 The communication system shown includes a sensor comprising two tags, one mounted on a fixed component and the other on a moving component. The first tag has a light-emitting unit, while the second tag has a photosensitive unit, a chip, and an antenna. Specifically, as shown... Figure 6 As shown, the method 600 may include the following steps: Step S610: The light-emitting unit of the first tag generates emitted light.
[0084] Step S620: The photosensitive unit of the second tag senses the emitted light.
[0085] Step S630: The chip of the second tag obtains the sensing information.
[0086] Step S640: The antenna of the second tag sends sensing information to the controller.
[0087] Step S650: The controller determines the opening and closing state of the structure, including the fixed component and the moving component, based on the sensing information.
[0088] Optionally, the light-emitting unit can be a light-emitting diode, or of course other light-emitting units; this application does not limit this.
[0089] Optionally, the photosensitive unit can be a photoresistor, or of course, other photosensitive units; this application does not limit this.
[0090] Optionally, the sensing information is used to indicate whether the sensing unit has sensed light or to indicate whether the RSSI of the sensed light is greater than a preset intensity, wherein the preset intensity may be the RSSI of the light detected by the controller when the structure, such as a door or window, is closed.
[0091] Optionally, the first tag further includes an antenna, and correspondingly, the method further includes: the antenna of the first tag and the antenna of the second tag receiving CW transmitted by the controller. The antenna of the second tag transmits a backscatter signal to the controller via backscattering. The sensing information is carried in the backscatter signal.
[0092] Optionally, the transmission duration of the CW can be set on the controller, which can be determined according to the specific application of the CW. Specific applications of the CW include, but are not limited to: enabling the sensor to send backscattered signals via backscattering, and powering the sensor.
[0093] Optionally, the backscattered signal also carries the identifier of a second tag.
[0094] Optionally, the identification of the second tag is represented by the access address of the second tag and the identifier of the sensor.
[0095] Optionally, the backscattered signal may also include: a preamble and a CRC.
[0096] For example, Figure 7 This is a schematic diagram of a data structure for a backscattered signal provided in an embodiment of this application, as shown below. Figure 7 As shown, the backscattered signal includes a preamble, sensing information, the access address of the second tag, a PDU, and a CRC. The IID of the second tag is represented by the access address and the sensor identifier in the PDU.
[0097] Optionally, when the sensing information is 0, it indicates that the sensing unit has not detected light; when the sensing information is 1, it indicates that the sensing unit has detected light. Alternatively, when the sensing information is 0, it indicates that the RSSI of the light sensed by the sensing unit is less than or equal to a preset intensity; when the sensing information is 1, it indicates that the RSSI of the light sensed by the sensing unit is greater than a preset intensity. Or, when the sensing information is 0, it indicates that the RSSI of the light sensed by the sensing unit is less than a preset intensity; when the sensing information is 1, it indicates that the RSSI of the light sensed by the sensing unit is greater than or equal to a preset intensity.
[0098] Optionally, when the sensing information is 1, it indicates that the sensing unit has not detected light; when the sensing information is 0, it indicates that the sensing unit has detected light. Alternatively, when the sensing information is 1, it indicates that the RSSI of the light sensed by the sensing unit is less than or equal to a preset intensity; when the sensing information is 0, it indicates that the RSSI of the light sensed by the sensing unit is greater than a preset intensity. Or, when the sensing information is 1, it indicates that the RSSI of the light sensed by the sensing unit is less than a preset intensity; when the sensing information is 0, it indicates that the RSSI of the light sensed by the sensing unit is greater than or equal to a preset intensity.
[0099] Optionally, the controller can send control information to the sensor to instruct the antenna of the second tag to send a backscatter signal. Of course, the controller can also choose not to send control information to the sensor, i.e., no control information is needed to trigger the second tag to send a backscatter signal.
[0100] Optionally, when the controller sends control information to the sensor, the control information includes: the sensor's identifier, so that the sensor can know from the identifier that the controller needs the sensor to send a backscatter signal.
[0101] Optionally, the control information is carried in the search information sent by the controller, which may further include the frequency of the CW sent by the controller.
[0102] Optionally, the transmission duration of the search information can be set on the controller, and this transmission duration can also be determined according to the specific application of the search information.
[0103] Optionally, the two tags of the sensor are installed in a horizontally symmetrical position, that is, the two tags are installed in the same horizontal position, see [link to relevant documentation]. Figure 4 As shown. Alternatively, the two tags of the sensor are installed in vertically symmetrical positions, that is, the two tags are installed in the same vertical position.
[0104] The two labels must not overlap. Optionally, the distance between the two labels is the minimum distance required for the actual installation environment. It should be noted that this application does not restrict the position of the two labels.
[0105] Optionally, the above method further includes: the chip of the first tag and the chip of the second tag converting the energy of the continuous wave into DC energy to power the sensor.
[0106] The following is a detailed explanation of step S650: Option 1: If the controller determines that the sensing unit detects light, the controller determines that the structure is in a closed state. If the controller determines that the sensing unit does not detect light, the controller determines that the structure is in an open state.
[0107] In this system, a sensing information value of 0 indicates that the sensing unit has not detected light; a sensing information value of 1 indicates that the sensing unit has detected light. In this case, if the controller determines that the sensing unit has detected light, the controller determines that the structure is in a closed state. If the controller determines that the sensing unit has not detected light, the controller determines that the structure is in an open state. That is, when the sensing information obtained by the controller is 1, the controller determines that the structure is in a closed state; when the sensing information obtained by the controller is 0, the controller determines that the structure is in an open state.
[0108] When the sensing information is 1, it indicates that the sensing unit has not detected light; when the sensing information is 0, it indicates that the sensing unit has detected light. In this case, if the controller determines that the sensing unit has detected light, the controller determines that the structure is in a closed state. If the controller determines that the sensing unit has not detected light, the controller determines that the structure is in an open state. That is, when the sensing information obtained by the controller is 0, the controller determines that the structure is in a closed state; when the sensing information obtained by the controller is 1, the controller determines that the structure is in an open state.
[0109] Option 2: If the controller determines that the RSSI of the light sensed by the sensing unit is greater than the preset intensity, the controller determines that the structure is in a closed state. If the controller determines that the RSSI of the light sensed by the sensing unit is less than or equal to the preset intensity, the controller determines that the structure is in an open state.
[0110] In this system, a sensing information value of 0 indicates that the sensing unit has not detected an RSSI (Radio Resonance Stability) of light that is less than or equal to a preset intensity; a sensing information value of 1 indicates that the sensing unit has detected an RSSI of light that is greater than the preset intensity. In this case, if the controller determines that the sensing unit has detected an RSSI greater than the preset intensity, the controller determines that the structure is in a closed state. If the controller determines that the sensing unit has detected an RSSI less than or equal to the preset intensity, the controller determines that the structure is in an open state. That is, when the sensing information obtained by the controller is 1, the controller determines that the structure is in a closed state; when the sensing information obtained by the controller is 0, the controller determines that the structure is in an open state.
[0111] In this system, a sensing information value of 1 indicates that the sensing unit has not detected an RSSI (Radio Resonance Stability) of light that is less than or equal to a preset intensity; a sensing information value of 0 indicates that the sensing unit has detected an RSSI of light that is greater than a preset intensity. In this case, if the controller determines that the sensing unit has detected an RSSI greater than the preset intensity, the controller determines that the structure is in a closed state. If the controller determines that the sensing unit has detected an RSSI less than or equal to the preset intensity, the controller determines that the structure is in an open state. That is, when the sensing information obtained by the controller is 0, the controller determines that the structure is in a closed state; when the sensing information obtained by the controller is 1, the controller determines that the structure is in an open state.
[0112] Option 3: If the controller determines that the RSSI of the light sensed by the sensing unit is greater than or equal to the preset intensity, the controller determines that the structure is in a closed state. If the controller determines that the RSSI of the light sensed by the sensing unit is less than the preset intensity, the controller determines that the structure is in an open state.
[0113] In this system, a sensing information value of 0 indicates that the sensing unit has not detected an RSSI (Radio Resonance Stability) of light less than a preset intensity; a sensing information value of 1 indicates that the sensing unit has detected an RSSI of light greater than or equal to a preset intensity. In this case, if the controller determines that the sensing unit has detected an RSSI of light greater than or equal to the preset intensity, the controller determines that the structure is in a closed state. If the controller determines that the sensing unit has detected an RSSI of light less than the preset intensity, the controller determines that the structure is in an open state. That is, when the sensing information obtained by the controller is 1, the controller determines that the structure is in a closed state; when the sensing information obtained by the controller is 0, the controller determines that the structure is in an open state.
[0114] In this system, a sensing information value of 1 indicates that the sensing unit has not detected an RSSI (Radio Resonance Stability) of light less than a preset intensity; a sensing information value of 0 indicates that the sensing unit has detected an RSSI of light greater than or equal to the preset intensity. In this case, if the controller determines that the sensing unit has detected an RSSI of light greater than or equal to the preset intensity, the controller determines that the structure is in a closed state. If the controller determines that the sensing unit has detected an RSSI of light less than the preset intensity, the controller determines that the structure is in an open state. That is, when the sensing information obtained by the controller is 0, the controller determines that the structure is in a closed state; when the sensing information obtained by the controller is 1, the controller determines that the structure is in an open state.
[0115] Optionally, the above method further includes: after the controller determines the opening / closing state of the structure based on the sensing information, the controller can also send the opening / closing state of the structure to the terminal device so that the user can view the opening / closing state of the structure, for example: in Figure 1 In the communication system shown, the controller can directly send the opening and closing status of the above structure to the terminal device. Figure 2 In the communication system shown, the controller can directly send the opening and closing status of the above structure to the cloud server, and the terminal device can obtain the opening and closing status of the above structure from the cloud server.
[0116] In this application, the opening and closing state of the structure is determined without relying on the positioning function of a sensor. Instead, the sensor obtains sensing information through the cooperation of a light-emitting unit and a sensing unit, and sends this information to a controller. The controller then determines the opening and closing state of the structure, including fixed and moving components, based on the sensing information. Since the controller typically has more powerful capabilities than the sensor, its determination of the opening and closing state is more accurate than the sensor's determination based on its positioning function. Furthermore, the sensor can convert CW energy into DC energy to power itself, eliminating the need for a battery. This allows for a thinner and lighter sensor, making it easier to install and remove; additionally, it eliminates the need for battery replacement, reducing the ongoing maintenance costs of the structure.
[0117] The above text combined Figures 3 to 7 The method embodiments of this application are described in detail below, in conjunction with... Figures 8 to 15 The present application describes the device embodiments in detail. It should be understood that the device embodiments correspond to the method embodiments, and similar descriptions can be referred to the method embodiments.
[0118] Figure 8 A schematic diagram of a sensor 800 according to an embodiment of this application is shown. (As...) Figure 8 As shown, the sensor 800 includes two tags 810, which are respectively disposed on the fixed component and the moving component. Figure 9 A schematic diagram of a label 900 according to an embodiment of this application is shown. Figure 9 As shown, each tag 900 includes an antenna 910 and a chip 920. For any tag 900: the antenna 910 is used to receive a continuous wave sent by the controller; the chip 920 is used to generate a backscatter signal; the antenna 910 is also used to send a backscatter signal to the controller in a backscatter manner, so that the controller can determine the opening and closing state of the structure including the fixed component and the moving component based on the backscatter signals of the two tags respectively.
[0119] Optionally, the backscattered signal of each tag includes: the tag's identifier.
[0120] Optionally, the tag is identified by the tag's access address and the sensor's identifier.
[0121] Optionally, the backscatter signal of each tag may also include: a preamble and / or a CRC of the backscatter signal.
[0122] Optionally, the antenna 910 is also used to receive control information sent by the controller, which instructs the sensor to send backscattered signals from each of the two tags.
[0123] Optionally, the chip 920 is also used to convert the energy of the CW into DC energy to power the sensor.
[0124] in, Figure 10 A schematic block diagram of a chip 1000 according to an embodiment of this application is shown. Figure 10 As shown, the chip includes the following components: impedance matching unit 1010, radio frequency energy harvesting unit 1020, energy management unit 1030, decoder 1040, encoder 1050, microprocessor 1060, and memory 1070.
[0125] Impedance matching unit 1010 performs impedance matching on the radio frequency signal (i.e., the CW mentioned above) received through the antenna; radio frequency energy harvesting unit 1020 is used to harvest radio frequency signals; energy management unit 1030 is used to convert the energy of the radio frequency signal into DC energy to power the sensor and send the power supply status to microprocessor 1060, or store the power supply status in memory 1070; decoder 1040 is used to convert the radio frequency signal into a baseband signal and transmit the baseband signal to microprocessor 1060 so that microprocessor 1060 can process the baseband signal; microprocessor 1060 is also used to send the baseband signal (i.e., backscattered signal) to encoder 1050, encoder 1050 converts the baseband signal into a radio frequency signal and sends it to controller through antenna.
[0126] In summary, the sensor 800 provided in this application can achieve... Figure 3 The corresponding sensor-side method embodiments and optional methods, their content and effects can be found in [reference]. Figure 3 The corresponding method implementations and optional methods will not be described in detail here.
[0127] This application embodiment also provides a controller for: transmitting a continuous wave; receiving backscattered signals from two tags transmitted by a sensor via backscattering, wherein the sensor includes two tags, which are respectively disposed on a fixed component and a movable component; and determining the opening / closing state of a structure including the fixed component and the movable component based on the backscattered signals from the two tags.
[0128] Optionally, the controller is specifically configured to: acquire the RSSI and phase information of the backscattered signals of the two tags respectively; and determine the opening / closing state of the structure based on the RSSI and phase information of the backscattered signals of the two tags respectively.
[0129] Optionally, the backscattered signals of the two tags respectively include: the backscattered signals of the two tags at a first time and the backscattered signals of the two tags at a second time, the second time being earlier than the first time.
[0130] Optionally, the controller is specifically configured to: determine a first value based on the RSSI of the backscattered signals of the two tags at a first time and the RSSI of the backscattered signals at a second time; determine a second value based on the phase information of the backscattered signals of the two tags at the first time and the phase information of the backscattered signals at the second time; determine a third value based on the first and second values; and determine the opening / closing state of the structure based on the relationship between the third value and a preset threshold.
[0131] Optionally, the controller is specifically used to determine the first value using the following formula:
[0132] in, Indicates the first value. , and These are parameters that can be freely selected. and These represent two tags respectively. and The RSSI of each backscattered signal at the first moment. and These represent two tags respectively. and RSSI of the backscattered signal at the second time.
[0133] Optionally, the controller is specifically used to determine the second value using the following formula:
[0134] in, Indicates the second value. , and These are parameters that can be freely selected. and These represent two tags respectively. and The phase information of the backscattered signals at the first moment, and These represent two tags respectively. and The phase information of the backscattered signals at the second time.
[0135] Optionally, the controller is specifically used to determine the third value using the following formula:
[0136] in, Indicates the third value. and These are parameters that can be freely selected. Indicates the first value. This indicates the second numerical value.
[0137] Optionally, the controller is specifically configured to: determine that the structure is in a closed state if the third value is less than a preset threshold; and determine that the structure is in an open state if the third value is greater than or equal to the preset threshold.
[0138] Optionally, the controller is specifically configured to: determine that the structure is in a closed state if the third value is less than or equal to a preset threshold; and determine that the structure is in an open state if the third value is greater than the preset threshold.
[0139] Optionally, the controller is further configured to: acquire the RSSI and phase information of the backscattered signals of the two tags when the structure is in the closed state. Accordingly, the controller is specifically configured to: determine the opening / closing state of the structure based on the RSSI and phase information of the backscattered signals of the two tags, and the RSSI and phase information of the backscattered signals of the two tags when the structure is in the closed state.
[0140] Optionally, the controller is specifically configured to: determine a fourth value based on the RSSI of the backscattered signals of the two tags at a first time, the RSSI of the backscattered signals at a second time, and the RSSI of the backscattered signals of the two tags when the door or window is closed; determine a fifth value based on the phase information of the backscattered signals of the two tags at the first time, the phase information of the backscattered signals at the second time, and the phase information of the backscattered signals of the two tags when the door or window is closed; determine a seventh value based on the fifth and sixth values; and determine the opening / closing state of the structure based on the relationship between the seventh value and a preset threshold.
[0141] Optionally, the controller is specifically used to determine the fourth value using the following formula:
[0142] in, Indicates the fourth value. , , and These are parameters that can be freely selected. and These represent two tags respectively. and The RSSI of each backscattered signal at the first moment. and These represent two tags respectively. and The RSSI of the backscattered signals at the second time point, and These represent the two labels when the structure is in the closed state. and The RSSI of their respective backscattered signals.
[0143] Optionally, the controller is specifically used to determine the fifth value using the following formula:
[0144] in, Indicates the fifth value. , , and These are parameters that can be freely selected. and These represent two tags respectively. and The phase information of the backscattered signals at the first moment, and These represent two tags respectively. and The phase information of the backscattered signals at the second time interval, and These two labels represent the two labels when the structure is in the closed state. and The phase information of their respective backscattered signals.
[0145] Optionally, the controller is specifically used to determine the sixth value using the following formula:
[0146] in, Indicates the sixth value. and These are parameters that can be freely selected. Indicates the fourth value. This represents the fifth numerical value.
[0147] Optionally, the controller is specifically configured to: determine that the structure is in a closed state if the sixth value is less than a preset threshold; and determine that the structure is in an open state if the sixth value is greater than or equal to the preset threshold.
[0148] Optionally, the controller is specifically configured to: determine that the structure is in a closed state if the sixth value is less than or equal to a preset threshold; and determine that the structure is in an open state if the sixth value is greater than the preset threshold.
[0149] In summary, the controller provided in this application can achieve... Figure 3 The corresponding controller-side method embodiments and optional approaches, their content and effects can be found in [reference]. Figure 3 The corresponding method implementations and optional methods will not be described in detail here.
[0150] Figure 11 A schematic diagram of a sensor 1100 according to an embodiment of this application is shown. (As...) Figure 11 As shown, the sensor 1100 includes two tags, which are respectively disposed on a fixed component and a moving component. The first tag 1110 has a light-emitting unit 1120, and the second tag 1130 includes an antenna, a chip, and a photosensitive unit 1140. The light-emitting unit 1120 of the first tag generates emitted light. The photosensitive unit 1140 of the second tag senses the emitted light. The chip of the second tag receives the sensed information. The antenna of the second tag transmits the sensed information to a controller, enabling the controller to determine the opening / closing state of the structure including the fixed and moving components based on the sensed information.
[0151] Optionally, the sensing information is used to indicate whether the sensing unit has sensed light or to indicate whether the RSSI of the sensed light is greater than a preset intensity.
[0152] Optionally, the antennas of the first tag and the second tag are also used to receive continuous waves transmitted by the controller. The antenna of the second tag is also used to transmit backscattered signals to the controller via backscattering. The sensing information is carried in the backscattered signals.
[0153] Optionally, the backscattered signal also carries the identifier of a second tag.
[0154] Optionally, the identification of the second tag is represented by the access address of the second tag and the identifier of the sensor.
[0155] Optionally, the backscattered signal may also include: a preamble and a CRC.
[0156] Optionally, the antenna of the second tag is also used to receive control information sent by the controller, which instructs the second tag to send a backscatter signal.
[0157] Optionally, the chip in the first tag is also used to convert the energy from the CW into DC energy to power the sensor. The chip in the second tag is also used to convert the energy from the CW into DC energy to power the sensor, so that the light-emitting unit 1120 emits light that meets the RSSI requirements of the system.
[0158] Figure 12 A schematic block diagram of a first label 1200 according to an embodiment of this application is shown. Figure 12 As shown, the chip includes the following components: an impedance matching unit 1210, an RF energy harvesting unit 1220, an energy management unit 1230, and a light-emitting unit 1240.
[0159] Impedance matching unit 1210 performs impedance matching on the radio frequency signal (i.e., the CW mentioned above) received through the antenna; radio frequency energy harvesting unit 1220 is used to harvest radio frequency signals; energy management unit 1230 is used to convert the energy of the radio frequency signal into DC energy to power the sensor so that the light emitting unit 1240 emits light that meets the RSSI requirements of the system.
[0160] Figure 13 A schematic block diagram of a second label 1300 according to an embodiment of this application is shown. Figure 13 As shown, the chip includes the following components: impedance matching unit 1310, radio frequency energy harvesting unit 1320, energy management unit 1330, decoder 1340, encoder 1350, microprocessor 1360, memory 1370, and photosensitive unit 1380.
[0161] Impedance matching unit 1310 performs impedance matching on the received radio frequency signal (i.e., the CW mentioned above) via the antenna; radio frequency energy harvesting unit 1320 collects the radio frequency signal; energy management unit 1330 converts the energy of the radio frequency signal into DC energy to power the sensor and sends the power supply status to microprocessor 1360, or stores the power supply status in memory 1370; decoder 1340 converts the radio frequency signal into a baseband signal and transmits the baseband signal to microprocessor 1360 for processing; photosensitive unit 1380 senses the emitted light. Microprocessor 1360 also sends the baseband signal (i.e., the backscattered signal carrying sensing information) to encoder 1350, which converts the baseband signal into a radio frequency signal and sends it to controller via antenna.
[0162] In summary, the sensor 1100 provided in this application can achieve... Figure 6 The corresponding sensor-side method embodiments and optional methods, their content and effects can be found in [reference]. Figure 6 The corresponding method implementations and optional methods will not be described in detail here.
[0163] This application embodiment also provides a controller for: receiving sensing information transmitted by the antenna of a second tag of a sensor; and determining the opening / closing state of a structure including a fixed component and a moving component based on the sensing information. The sensor includes two tags, which are respectively disposed on the fixed component and the moving component. A first tag has a light-emitting unit, and the second tag has a photosensitive unit, a chip, and an antenna. The light-emitting unit of the first tag generates emitted light. The photosensitive unit of the second tag senses the emitted light, and the chip of the second tag obtains the sensing information.
[0164] Optionally, the sensing information is used to indicate whether the sensing unit has sensed light or to indicate whether the RSSI of the sensed light is greater than a preset intensity.
[0165] Optionally, the controller is specifically configured to: determine that the structure is in a closed state if the controller determines that the sensing unit senses light; and determine that the structure is in an open state if the controller determines that the sensing unit does not sense light.
[0166] Optionally, the controller is specifically configured to: determine that the structure is in a closed state if the controller determines that the RSSI of the light sensed by the sensing unit is greater than a preset intensity; and determine that the structure is in an open state if the controller determines that the RSSI of the light sensed by the sensing unit is less than or equal to a preset intensity.
[0167] Optionally, the controller is specifically configured to: determine that the structure is in a closed state if the controller determines that the RSSI of the light sensed by the sensing unit is greater than or equal to a preset intensity; and determine that the structure is in an open state if the controller determines that the RSSI of the light sensed by the sensing unit is less than a preset intensity.
[0168] In summary, the controller provided in this application can achieve... Figure 6 The corresponding controller-side method embodiments and optional approaches, their content and effects can be found in [reference]. Figure 6 The corresponding method implementations and optional methods will not be described in detail here.
[0169] Figure 14 This is a schematic structural diagram of the device according to an embodiment of this application. Figure 14 The illustrated apparatus 1400 includes a processor 1410, which can call and run computer programs from memory to implement the methods in the embodiments of this application.
[0170] Optionally, such as Figure 14 As shown, the device 1400 may further include a memory 1420. The processor 1410 can retrieve and run computer programs from the memory 1420 to implement the methods described in the embodiments of this application.
[0171] The memory 1420 can be a separate device independent of the processor 1410, or it can be integrated into the processor 1410.
[0172] Optionally, the device 1400 may further include an input interface 1430. The processor 1410 can control the input interface 1430 to communicate with other devices or chips; specifically, it can acquire information or data sent by other devices or chips.
[0173] Optionally, the device 1400 may further include an output interface 1440. The processor 1410 can control the output interface 1440 to communicate with other devices or chips; specifically, it can output information or data to other devices or chips.
[0174] Optionally, the device can be applied to the sensor in the embodiments of this application, and the device can implement the corresponding processes implemented by the sensor in the various methods of the embodiments of this application. For the sake of brevity, it will not be described in detail here.
[0175] Optionally, the device mentioned in the embodiments of this application can also be a chip. For example, it can be a system-on-a-chip, a system-on-a-chip, a chip system, or a system-on-a-chip, etc.
[0176] Figure 15 This is a schematic block diagram of a communication system 1500 provided in an embodiment of this application. Figure 15As shown, the communication system 1500 includes a sensor 1510 and a controller 1520.
[0177] The sensor 1510 can be used to implement the corresponding functions implemented by the sensor in the above method, and the controller 1520 can be used to implement the corresponding functions implemented by the controller in the above method. For the sake of brevity, it will not be described in detail here.
[0178] It should be understood that the processor in the embodiments of this application may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method embodiments can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor described above can 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 can 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 executed by a combination of hardware and software modules in the decoding processor. The software modules can 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, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.
[0179] It is understood that the memory 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 (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0180] It should be understood that the above-described memory is exemplary and not a limiting description. For example, the memory in the embodiments of this application may also be static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DR RAM), etc. That is to say, the memory in the embodiments of this application is intended to include, but is not limited to, these and any other suitable types of memory.
[0181] This application also provides a computer-readable storage medium for storing computer programs.
[0182] Optionally, the computer-readable storage medium can be applied to the sensor or controller in the embodiments of this application, and the computer program causes the computer to execute the corresponding processes implemented by the sensor or controller in the various methods of the embodiments of this application. For the sake of brevity, it will not be described in detail here.
[0183] This application also provides a computer program product, including computer program instructions.
[0184] Optionally, the computer program product can be applied to the sensor or controller in the embodiments of this application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the sensor or controller in the various methods of the embodiments of this application. For the sake of brevity, it will not be described in detail here.
[0185] This application also provides a computer program.
[0186] Optionally, the computer program can be applied to the sensor or controller in the embodiments of this application. When the computer program is run on a computer, it causes the computer to execute the corresponding processes implemented by the sensor or controller in the various methods of the embodiments of this application. For the sake of brevity, it will not be described in detail here.
[0187] Those skilled in the art will 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, or a combination of computer software and electronic hardware. 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.
[0188] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0189] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0190] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0191] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0192] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0193] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A wireless communication method, characterized in that, The method is applied to a sensor comprising two tags, the two tags being respectively disposed on a fixed component and a moving component, the method comprising: The sensor receives continuous waves sent by the controller; The sensor sends backscattered signals from the two tags to the controller via backscattering, enabling the controller to determine the opening / closing state of the structure including the fixed and moving components based on the backscattered signals from the two tags. The opening / closing state of the structure is determined by the controller through the following methods: acquiring the Received Signal Strength Indication (RSSI) and phase information of the backscattered signals from the two tags; acquiring the RSSI and phase information of the backscattered signals from the two tags when the structure is closed; determining a fourth value based on the RSSI of the backscattered signals from the two tags at a first time, a second time, and when the structure is closed; determining a fifth value based on the phase information of the backscattered signals from the two tags at the first time, the second time, and when the structure is closed; determining a sixth value based on the fourth and fifth values; and determining the opening / closing state of the structure of the fixed and moving components based on the relationship between the sixth value and a preset threshold. The second time is earlier than the first time.
2. The method according to claim 1, characterized in that, The backscattered signal of each tag includes: the tag's identifier.
3. The method according to claim 2, characterized in that, The tag is identified by its access address and the sensor's identifier.
4. The method according to claim 2, characterized in that, The backscattered signal of each tag also includes: a preamble and / or a cyclic redundancy check (CRC) code of the backscattered signal.
5. The method according to any one of claims 2-4, characterized in that, Also includes: The sensor receives control information sent by the controller, which instructs the sensor to send backscatter signals from each of the two tags.
6. The method according to any one of claims 1-4, characterized in that, Also includes: The sensor converts the energy of the continuous wave into DC energy to power the sensor.
7. A wireless communication method, characterized in that, The method is applied to a controller, and the method includes: The controller sends continuous waves; The controller receives backscattered signals from two tags sent by the sensor via backscattering, wherein the sensor includes the two tags, which are respectively disposed on a fixed component and a moving component; The controller determines the opening and closing state of the structure, including the fixed component and the moving component, based on the backscattered signals of the two tags respectively. The controller determines the opening / closing state of the structure including the fixed component and the moving component based on the backscattered signals of the two tags, including: The controller acquires the Received Signal Strength Indication (RSSI) and phase information of the backscattered signals of the two tags at a first time and the RSSI and phase information of the backscattered signals of the two tags at a second time; wherein the second time is earlier than the first time. The controller acquires the RSSI and phase information of the backscattered signals of the two tags when the structure is in the closed state; The controller determines the opening / closing state of the structure based on the RSSI and phase information of the backscattered signals of the two tags at the first time, the RSSI and phase information of the backscattered signals at the second time, and the RSSI and phase information of the backscattered signals of the two tags when the structure is in the closed state. The controller determines the opening / closing state of the structure based on the RSSI and phase information of the backscattered signals of the two tags at a first time, the RSSI and phase information of the backscattered signals at a second time, and the RSSI and phase information of the backscattered signals of the two tags when the structure is in the closed state, including: The controller determines a fourth value based on the RSSI of the backscattered signals of the two tags at a first time, the RSSI of the backscattered signals at a second time, and the RSSI of the backscattered signals of the two tags when the structure is in the closed state. The controller determines a fifth value based on the phase information of the backscattered signals of the two tags at the first time, the phase information of the backscattered signals at the second time, and the phase information of the backscattered signals of the two tags when the structure is in the closed state. The controller determines the sixth value based on the fourth and fifth values; The controller determines the opening and closing state of the structure of the fixed component and the moving component based on the relationship between the sixth value and the preset threshold.
8. The method according to claim 7, characterized in that, The controller determines the fourth value using the following formula: in, Indicates the fourth value. , , and These are parameters that can be freely selected. and These represent the two labels respectively. and The RSSI of each backscattered signal at the first moment. and These represent the two labels respectively. and The RSSI of the backscattered signals at the second time point, and These represent the two labels when the structure is in the closed state. and The RSSI of their respective backscattered signals.
9. The method according to claim 7, characterized in that, The controller determines the fifth value using the following formula: in, Indicates the fifth value. , , and These are parameters that can be freely selected. and These represent the two labels respectively. and The phase information of the backscattered signals at the first moment, and These represent the two labels respectively. and The phase information of the backscattered signals at the second time interval, and These represent the two labels when the structure is in the closed state. and The phase information of their respective backscattered signals.
10. The method according to claim 7, characterized in that, The controller determines the sixth value using the following formula: in, Indicates the sixth value. and These are parameters that can be freely selected. Indicates the fourth value. This represents the fifth numerical value.
11. A sensor, characterized in that, The system includes two tags, one disposed on a fixed component and the other on a moving component. Each tag includes an antenna and a chip. For any one of the tags: The antenna is used to receive continuous waves sent by the controller; The chip is used to generate backscattered signals; The antenna is also used to transmit the backscattered signal to the controller via backscattering, so that the controller determines the opening / closing state of the structure including the fixed component and the moving component based on the backscattered signals of the two tags respectively; wherein the opening / closing state of the structure of the fixed component and the moving component is determined by the controller in the following manner: acquiring the Received Signal Strength Indication (RSSI) and phase information of the backscattered signals of the two tags respectively; acquiring the RSSI and phase information of the backscattered signals of the two tags respectively when the structure is in the closed state; determining a fourth value based on the RSSI of the backscattered signals of the two tags at a first time, the RSSI of the backscattered signals at a second time, and the RSSI of the backscattered signals of the two tags respectively when the structure is in the closed state; determining a fifth value based on the phase information of the backscattered signals of the two tags at the first time, the phase information of the backscattered signals at the second time, and the phase information of the backscattered signals of the two tags respectively when the structure is in the closed state; determining a sixth value based on the fourth value and the fifth value; and determining the opening / closing state of the structure of the fixed component and the moving component based on the relationship between the sixth value and a preset threshold; wherein the second time is earlier than the first time.
12. The sensor according to claim 11, characterized in that, The backscattered signal of each tag includes: the tag's identifier.
13. The sensor according to claim 12, characterized in that, The tag is identified by its access address and the sensor's identifier.
14. The sensor according to claim 12, characterized in that, The backscatter signal of each tag also includes: a preamble and / or a CRC of the backscatter signal.
15. The sensor according to any one of claims 12-14, characterized in that, The antenna is also used to receive control information sent by the controller, which instructs the sensor to send backscattered signals from the two tags respectively.
16. The sensor according to any one of claims 11-14, characterized in that, The chip is also used to convert the energy of the continuous wave into DC energy to power the sensor.
17. A controller, characterized in that, The controller is used for: Sending continuous waves; The sensor receives backscattered signals from two tags transmitted by a backscattering method, wherein the sensor includes the two tags, which are respectively disposed on a fixed component and a moving component; The opening and closing state of the structure including the fixed component and the moving component is determined based on the backscattered signals of the two tags respectively; Specifically, the controller is used for: The received signal strength index (RSSI) and phase information of the backscattered signals of the two tags at a first time and the RSSI and phase information of the backscattered signals of the two tags at a second time are obtained; wherein the second time is earlier than the first time. Obtain the RSSI and phase information of the backscattered signals of the two tags when the structure is in the closed state; The opening and closing state of the structure is determined based on the RSSI and phase information of the backscattered signals of the two tags at the first time, the RSSI and phase information of the backscattered signals of the two tags at the second time, and the RSSI and phase information of the backscattered signals of the two tags when the structure is in the closed state. Specifically, the controller is also used for: A fourth value is determined based on the RSSI of the backscattered signals of the two tags at the first time, the RSSI of the backscattered signals at the second time, and the RSSI of the backscattered signals of the two tags when the structure is in the closed state. The controller determines a fifth value based on the phase information of the backscattered signals of the two tags at the first time, the phase information of the backscattered signals at the second time, and the phase information of the backscattered signals of the two tags when the structure is in the closed state. The controller determines the sixth value based on the fourth and fifth values; The controller determines the opening and closing state of the structure of the fixed component and the moving component based on the relationship between the sixth value and the preset threshold.
18. The controller according to claim 17, characterized in that, The controller is specifically used for: The fourth value is determined using the following formula: in, Indicates the fourth value. , , and These are parameters that can be freely selected. and These represent the two labels respectively. and The RSSI of each backscattered signal at the first moment. and These represent the two labels respectively. and The RSSI of the backscattered signals at the second time interval, and These represent the two labels when the structure is in the closed state. and The RSSI of their respective backscattered signals.
19. The controller according to claim 17, characterized in that, The controller is specifically used for: The fifth value is determined using the following formula: in, Indicates the fifth value. , , and These are parameters that can be freely selected. and These represent the two labels respectively. and The phase information of the backscattered signals at the first moment, and These represent the two labels respectively. and The phase information of the backscattered signals at the second time interval, and These represent the two labels when the structure is in the closed state. and The phase information of their respective backscattered signals.
20. The controller according to claim 17, characterized in that, The controller is specifically used for: The sixth value is determined using the following formula: in, Indicates the sixth value. and These are parameters that can be freely selected. Indicates the fourth value. This represents the fifth numerical value.
21. A wireless communication system, characterized in that, include: The sensor as claimed in any one of claims 11-16, and the controller as claimed in any one of claims 17-20.
22. An apparatus, characterized in that, include: A processor for retrieving and running a computer program from memory, causing a device equipped with the means to perform the method as described in any one of claims 1 to 6.
23. An apparatus, characterized in that, include: A processor for retrieving and running a computer program from memory, causing a device equipped with the means to perform the method as described in any one of claims 7 to 10.
24. A computer-readable storage medium, characterized in that, Used to store a computer program that causes a computer to perform the method as described in any one of claims 1 to 6.
25. A computer-readable storage medium, characterized in that, Used to store a computer program that causes a computer to perform the method as described in any one of claims 7 to 10.
26. A computer program product, characterized in that, It includes computer program instructions that cause a computer to perform the method as described in any one of claims 1 to 6.
27. A computer program product, characterized in that, It includes computer program instructions that cause a computer to perform the method as described in any one of claims 7 to 10.
Citation Information
Patent Citations
Anti-tamper cargo container locator system
CN102017437A
RFID-based door opening / closing state detection method and device
CN107491799A
Industrial environment liquid leakage detection method and device based on double RFID tags
CN109580134A
Enclosure door status detection
US20100163731A1
