Intelligent door and window target security domain management method based on UWB technology
Through the intelligent door and window target security domain management method based on UWB technology, the existing system has solved the problem of complex settings and weak protection capabilities in the entrance boundary, and has achieved improvements in wireless communication security between doors and windows and enhanced system protection capabilities.
Patent Information
- Application Number
- CN202411891083.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-03-28
AI Technical Summary
The existing smart door and window systems are difficult to achieve complex functions such as automatic arming, relay communication and resource support when the entrance boundary is complex and the protection capabilities are weak, which poses safety hazards.
The intelligent door and window target security domain management method based on UWB technology is adopted. By obtaining the position information in the UWB signal sent by the second door and window, calculating the azimuth angle and relative distance between the door and window, judging the relative position relationship between the door and window in the target security domain, and receiving external messages to determine whether they are in the target security domain. If they do not belong, the message will be rejected.
It improves the security of wireless communication between smart doors and windows, prevents illegal packets from being interfered with and attacks from outside, and enhances the protection capabilities of the system.
Smart Images

Figure CN119729488A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to a method for managing target security domains of intelligent doors and windows based on UWB technology. Background Art
[0002] Currently, smart doors are popular because they have automatic arming functions. They can count the number of people in the home by deploying "people counting technology" and automatically arm when no one is at home. The multiple entrance doors, fire doors, floor-to-ceiling windows and other factors of townhouses make the setting of entrance boundaries complicated, affecting the effectiveness of smart security systems. A single entrance security device cannot achieve complex functions such as automatic arming, relay communication, and resource support. The existing system has weak protection capabilities when interfered with and attacked, and there are security risks. Summary of the invention
[0003] In view of this, the present invention provides a smart door and window target security domain management method based on UWB technology to improve the security of wireless communication between smart doors and windows.
[0004] In the first aspect, the present invention provides a method for managing a target security domain of an intelligent door and window based on UWB technology, the method being executed by a first door and window, members of the target security domain including the first door and window and a second door and window, the method comprising: obtaining first position information in a UWB signal sent by the second door and window; the first position information including phase information and flight time; based on the first position information, calculating the azimuth and relative distance between the first door and window and the second door and window; judging the relative position relationship between the first door and window and the second door and window in the target security domain by comparing the azimuth and the relative distance; receiving an external message, and judging whether the external message is in the target security domain based on the relative position relationship; if the external message does not belong to the target security domain, rejecting the external message.
[0005] In an optional implementation, receiving an external message and judging whether the external message is in the target security domain based on the relative position relationship includes: when receiving the external message, extracting external position information corresponding to the external message. Comparing the external phase information with the first position information in the target security domain. If the external phase information matches the first position information, judging that the external message is in the target security domain.
[0006] In an optional implementation, the method further includes: detecting a newly created domain; identifying a name of the newly created domain and comparing it with the name of the target security domain; if the names are inconsistent, saving the name and password of the newly created domain as the security domain.
[0007] In an optional implementation, the method also includes: if the names are consistent, comparing the password of the newly created domain with the password of the target security domain; if the passwords are consistent, adding the members of the newly created domain to the target security domain; the members of the newly created domain include the third door and window; if the passwords are inconsistent, issuing a re-enter password instruction.
[0008] In an optional implementation, the method further includes: setting verification parameters in the target security domain; the verification parameters include communication format rules of the UWB signal; and verifying the UWB signal sent by the members of the target security domain based on the verification parameters.
[0009] In an optional embodiment, the method is executed by the first door and window to verify the UWB signal sent by the members of the target security domain based on the verification parameters, including: receiving the UWB signal of the second door and window, and verifying its communication format based on the verification parameters; if the communication format does not comply with the rules, discarding the UWB signal of the second door and window.
[0010] In an optional embodiment, members of the newly created domain are added to the target security domain, including: the first door and window and the second door and window receive and save the azimuth and relative distance of the third door and window; the third door and window receives and saves the azimuth and relative distance of the first door and window; the third door and window receives and saves the azimuth and relative distance of the second door and window.
[0011] In the second aspect, the present invention provides a smart door and window target security domain management device based on UWB technology, the device including: an information acquisition module, used to obtain the first position information in the UWB signal sent by the second door and window; the first position information includes phase information and flight time; an information calculation module, used to calculate the azimuth and relative distance between the first door and window and the second door and window based on the first position information; a position judgment module, used to judge the relative position relationship between the first door and window and the second door and window in the target security domain by comparing the azimuth and the relative distance; a message judgment module, used to receive external messages, and based on the relative position relationship, judge whether the external messages are in the target security domain; a message processing module, used to reject the external messages if the external messages do not belong to the target security domain.
[0012] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to execute a smart door and window target security domain management method based on UWB technology according to the first aspect or any corresponding embodiment thereof.
[0013] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute a method for managing target security domains of smart doors and windows based on UWB technology according to the first aspect or any corresponding embodiment thereof.
[0014] In a fifth aspect, the present invention provides a computer program product, including computer instructions, which are used to enable a computer to execute a method for managing target security domains of smart doors and windows based on UWB technology according to the first aspect or any corresponding embodiment thereof.
[0015] The technical solution provided by this application may have the following beneficial effects:
[0016] The present invention provides a method for managing a target security domain of smart doors and windows based on UWB technology, and the method is executed by a first door and window. The first position information in the UWB signal sent by the second door and window is obtained as the basis for subsequent calculation and judgment. Based on the first position information, the azimuth and relative distance between the first door and window and the second door and window are calculated to achieve the measurement of the spatial position between the doors and windows, and provide data for the subsequent relative position relationship judgment. By comparing the azimuth and relative distance, the relative position relationship between the first door and window and the second door and window in the target security domain is judged as the basis for the subsequent judgment of the source of the external message. The external message is received, and based on the relative position relationship, it is judged whether the external message is in the target security domain, thereby achieving the judgment of the source of the message. If the external message does not belong to the target security domain, the external message is rejected and security protection is performed. The above scheme calculates the relative position relationship between the doors and windows by using the phase information of the UWB signal, and judges whether the external message is in the target security domain based on the position relationship, thereby preventing interference and attack from illegal messages from the outside, and improving the security of wireless communication between smart doors and windows. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 is a flow chart of a method for managing target security domains of smart doors and windows based on UWB technology according to an embodiment of the present invention;
[0019] Figure 2 is a flowchart of a method for processing a newly created domain according to an optional embodiment of the present invention;
[0020] Figure 3is a flow chart of a UWB signal verification method according to an optional implementation manner of the present invention;
[0021] Figure 4 It is a structural block diagram of a smart door and window target security domain management device based on UWB technology according to an embodiment of the present invention;
[0022] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0024] According to an embodiment of the present invention, an embodiment of a method for managing target security domains of smart doors and windows based on UWB technology is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0025] In this embodiment, a method for managing target security domains of smart doors and windows based on UWB technology is provided. Figure 1 is a flow chart of a method for managing a target security domain of an intelligent door and window based on UWB technology according to an embodiment of the present invention. The method is executed by a first door and window. The members of the target security domain include the first door and window and the second door and window. Figure 1 As shown, the process includes the following steps:
[0026] Step S101, obtaining first position information in a UWB signal sent by a second door or window; the first position information includes phase information and flight time.
[0027] The first door and window and the second door and window are both members of the target security domain, which is an area with a clear range and security protection level that includes smart doors and windows. Members in the security area achieve internal security communication through UWB (ultra-wideband) technology. The first door and window and the second door and window are both equipped with UWB near-field communication modules for communication between the doors and windows. When the second door and window sends a UWB signal, the first door and window receives the signal and obtains the first position information. Optionally, the first position information includes the phase information and flight time of the UWB signal.
[0028] Step S102: Calculate the azimuth angle and relative distance between the first door and window and the second door and window based on the first position information.
[0029] The azimuth angle represents the direction of the second window relative to the first window. The azimuth angle of the second window relative to the first window can be calculated by calculating the phase and the position of the first window. The flight time is the propagation time of the UWB signal from the second window to the first window. Combined with the propagation speed of the signal, the relative distance between the two windows can be calculated.
[0030] Step S103, determining the relative position relationship between the first door and window and the second door and window in the target safety zone by comparing the azimuth angle and the relative distance.
[0031] Combining the comparison results of the azimuth and relative distance, the relative position relationship of the two doors and windows in the target security domain can be determined. For example, they may be located adjacent to each other in the same room, diagonally in the room, or distributed in different rooms but with clear relative positions.
[0032] Step S104: receiving an incoming message, and judging whether the incoming message is in the target security domain based on the relative position relationship.
[0033] Based on the relative position relationship determined previously, the position of the received external message is determined. The scope of the target security domain is the set of relative position relationships of all members in the target security domain. An external message is a UWB signal sent by a device that is not a member of the target security domain temporarily. After receiving the UWB signal of the external message, the relative position relationship of the external message relative to the members in the security domain is calculated, and matched with the scope of the target security domain to determine whether the external message is in the target security domain. If the external message matches the relative position relationship in the target security domain, it is considered that the message is in the target security domain; otherwise, it is considered that the message is outside the target security domain.
[0034] Step S105: If the incoming message does not belong to the target security domain, the incoming message is rejected.
[0035] If it is determined that the incoming message does not belong to the target security domain, that is, the message comes from an unknown or unauthorized device outside the target security domain, rejecting the incoming message means refusing to add the sending device of the incoming message as a member of the target security domain.
[0036] The present embodiment provides a method for managing target security domains of smart doors and windows based on UWB technology. The method calculates the relative position relationship between doors and windows by utilizing the phase information of UWB signals, and determines whether external messages are within the target security domain based on the position relationship, thereby preventing interference and attacks from illegal external messages and improving the security of wireless communications between smart doors and windows.
[0037] In an optional implementation, the process of step S104 includes:
[0038] Step S1041, when an external message is received, extracting external location information corresponding to the external message.
[0039] When an external message is received, the corresponding external phase information is first extracted from it. The external phase information can reflect the relative position relationship between the message source and the first door and window, and is the basis for subsequent judgment of the message source device.
[0040] Step S1042, comparing the external phase information with the first position information in the target security domain.
[0041] After the external phase information is extracted, it is compared with the known first position information in the target security domain. The comparison process may include calculating the phase difference, analyzing the phase change trend, etc., to determine the similarity between the external phase information and the phase information in the target security domain.
[0042] Step S1043: If the external phase information matches the first position information, it is determined that the external message is in the target security domain.
[0043] If the external phase information matches the first position information in the target security domain, which means that the two are consistent in position, it can be determined that the external message comes from a member in the target security domain.
[0044] In an optional embodiment, Figure 2 is a flow chart of a method for processing a newly created domain according to an optional implementation mode of the present invention, such as Figure 2 As shown, the process includes the following steps:
[0045] Step S201: Detecting a new domain.
[0046] The smart door and window security system detects that a new security domain has been created or added to the system environment. At this time, it is necessary to first determine whether there is a domain with this name nearby and perform corresponding processing.
[0047] Step S202: Identify the name of the newly created domain and compare it with the name of the target security domain.
[0048] The name of the new domain is identified (it may be an identifier, domain name, or other form of name) and compared with the name of the existing target security domain to confirm whether the new domain should be integrated into the security domain of the system.
[0049] Step S203A: If the names are inconsistent, the name and password of the newly created domain are saved as the security domain.
[0050] If the name of the newly created domain does not match the name of the target security domain, the system treats the newly created domain as a new, independent security domain and saves its name and password.
[0051] Step 203B: If the names are consistent, compare the password of the newly created domain with the password of the target security domain.
[0052] Step 204A, if the passwords are consistent, then the members of the newly created domain are added to the target security domain; the members of the newly created domain include the third door and window.
[0053] If the password of the newly created domain matches the password of the target security domain, the system will add the members of the newly created domain (including the third door and window in this embodiment) to the target security domain. This is a key step in integrating the newly created domain into the target security domain. After adding members, these members will have the permissions and resources of the target security domain.
[0054] Step 204B: If the passwords are inconsistent, a re-enter password instruction is issued.
[0055] If the password for the newly created domain does not match the password for the target security domain, a command is issued to prompt the user to re-enter the password.
[0056] In an optional embodiment, Figure 3 is a flow chart of a UWB signal verification method according to an optional embodiment of the present invention, such as Figure 3 As shown, the process includes the following steps:
[0057] Step S301, setting verification parameters in the target security domain; the verification parameters include communication format rules of UWB signals.
[0058] A check parameter is set in the target security domain. The check specifies the communication format of the UWB signal and clarifies the specific rules that the signal must follow during transmission. In UWB communication, multiple bits are combined into a data packet or data frame according to the rules to ensure that the structure and format of the data packet are consistent with the receiving end. In order to increase the reliability of the signal, redundant bits can be introduced into the communication format rules of the UWB signal. Redundant bits can be implemented through various coding techniques (such as Hamming code, CRC code, etc.) for error detection or correction. At the receiving end, the system can use these redundant bits to determine whether the signal is erroneous and perform corresponding processing.
[0059] Step S302: verifying the UWB signal sent by the member of the target security domain based on the verification parameter.
[0060] According to the previously set verification parameters, the UWB signals sent by all members in the target security domain are verified to confirm whether each received signal fully complies with the previously set communication format rules. The verification process may include receiving and parsing the signal, and comparing the parsed signal information with the preset verification parameters.
[0061] In an optional implementation, the process of step S302 includes:
[0062] Step S3021, receiving the UWB signal of the second door or window, and verifying its communication format based on the verification parameters.
[0063] Step S3022: If the communication format does not conform to the rules, the UWB signal of the second door and window is discarded.
[0064] If the signal completely matches the verification parameters and complies with the communication format rules, the signal will be considered a valid signal and the subsequent processing flow will continue; if the signal does not match the verification parameters, the signal will be considered an invalid signal, and the system may trigger the corresponding error handling mechanism, such as alarm, signal discard or request for resending. Invalid signals will not be used for subsequent processing or control processes to prevent invalid signals from interfering with the normal operation of the system.
[0065] In an optional implementation, the process of step S204A includes:
[0066] Step a11: the first door and window and the second door and window receive and save the azimuth angle and relative distance of the third door and window.
[0067] Step a12: the third door and window receives and stores the azimuth angle and relative distance of the first door and window.
[0068] Step a13: the third door and window receives and stores the azimuth and relative distance of the second door and window.
[0069] When the third door and window appears, during the domain joining operation, the third door and window needs to save the azimuth and relative distance of the first door and window, and also save the azimuth and relative distance of the second door and window. Similarly, when the members in the target security domain are increased, any member saves the azimuth and relative distance of any other members in the domain.
[0070] In this embodiment, a smart door and window target security domain management device based on UWB technology is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0071] This embodiment provides a smart door and window target security domain management device based on UWB technology, such as Figure 4 As shown, including:
[0072] The information acquisition module 401 is used to acquire the first position information in the UWB signal sent by the second door or window.
[0073] An information calculation module 402 is used to calculate the azimuth and relative distance between the first door and window and the second door and window based on the first position information;
[0074] The position determination module 403 is used to determine the relative position relationship between the first door and window and the second door and window in the target safety zone by comparing the azimuth and the relative distance;
[0075] The message determination module 404 is used to receive an external message and determine whether the external message is in a target security domain based on a relative position relationship;
[0076] The message processing module 405 is used to reject the external message if the external message does not belong to the target security domain.
[0077] In an optional implementation, the message determination module 404 includes:
[0078] The first message judging unit is used to extract the external location information corresponding to the external message when receiving the external message.
[0079] The second message judgment unit is used to compare the external phase information with the first position information in the target security domain.
[0080] The third message judgment unit is used to judge that the external message is in the target security domain if the external phase information matches the first position information.
[0081] In an optional implementation, the device further includes a new domain processing module, and the new domain processing module includes:
[0082] The newly created domain detection unit is used to detect a newly created domain.
[0083] The name identification unit is used to identify the name of the newly created domain and compare it with the name of the target security domain.
[0084] The password saving unit is used to save the name and password of the newly created domain as a security domain if the names are inconsistent.
[0085] The password comparison unit is used to compare the password of the newly created domain with the password of the target security domain if the names are consistent.
[0086] The member adding unit is used to add the members of the newly created domain into the target security domain if the passwords are consistent; the members of the newly created domain include the third door and window.
[0087] The re-entry unit is used to issue a re-entry password instruction if the passwords are inconsistent.
[0088] In an optional implementation, the device further includes a signal verification module, and the signal verification module includes:
[0089] The rule setting unit is used to set verification parameters in the target security domain; the verification parameters include communication format rules of the UWB signal.
[0090] The signal verification unit is used to verify the UWB signal sent by the member of the target security domain based on the verification parameter.
[0091] In an optional implementation, the signal verification unit includes:
[0092] The first signal verification subunit is used to receive the UWB signal of the second door or window and verify its communication format based on the verification parameters.
[0093] The second signal verification subunit is used to discard the UWB signal of the second door and window if the communication format does not comply with the rules.
[0094] In an optional implementation, the member adding unit includes:
[0095] The first member adding subunit is used for the first door and window and the second door and window to receive and save the azimuth and relative distance of the third door and window.
[0096] The second member adds a subunit, which is used for the third door and window to receive and save the azimuth and relative distance of the first door and window.
[0097] The third member adding subunit is used for the third door and window to receive and save the azimuth and relative distance of the second door and window.
[0098] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0099] In this embodiment, a smart door and window target security domain management device based on UWB technology is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0100] The embodiment of the present invention also provides a computer device having the above Figure 4 A smart door and window target security domain management device based on UWB technology is shown.
[0101] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.
[0102] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0103] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0104] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0105] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0106] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.
[0107] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0108] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0109] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0110] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for managing target security domains of smart doors and windows based on UWB technology, characterized in that: The method is performed by the first door and window, the members of the target security domain include the first door and window and the second door and window, and the method includes: Acquire first position information in the UWB signal sent by the second door and window; the first position information includes phase information and flight time; Based on the first position information, calculating the azimuth and relative distance between the first door and window and the second door and window; By comparing the azimuth angle and the relative distance, determining the relative position relationship between the first door and window and the second door and window in the target safety zone; Receiving an incoming message, and judging whether the incoming message is in the target security domain based on the relative position relationship; If the incoming message does not belong to the target security domain, the incoming message is rejected.
2. The method according to claim 1, characterized in that The receiving the external message and judging whether the external message is in the target security domain based on the relative position relationship comprises: When the external message is received, extracting the external location information corresponding to the external message; comparing the external phase information with the first position information in the target security domain; If the external phase information matches the first position information, it is determined that the external message is within the target security domain.
3. The method according to claim 1, characterized in that The method further comprises: A new domain was detected; Identify the name of the newly created domain and compare it with the name of the target security domain; If the names are inconsistent, the name and password of the newly created domain are saved as the security domain.
4. The method according to claim 3, characterized in that The method further comprises: If the names are consistent, compare the password of the newly created domain with the password of the target security domain; If the passwords are consistent, the members of the newly created domain are added to the target security domain; the members of the newly created domain include the third door and window; If the passwords do not match, a re-enter password instruction is issued.
5. The method according to claim 1, characterized in that The method further comprises: Setting verification parameters in the target security domain; the verification parameters include communication format rules of the UWB signal; The UWB signal sent by the member of the target security domain is verified based on the verification parameter.
6. The method according to claim 5, characterized in that The method is performed by the first door and window, and the verification of the UWB signal sent by the member of the target security domain based on the verification parameter includes: receiving the UWB signal of the second door and window, and verifying its communication format based on the verification parameter; If the communication format does not comply with the rules, the UWB signal of the second door and window is discarded.
7. The method according to claim 4, characterized in that Adding the members of the newly created domain into the target security domain includes: The first door and window and the second door and window receive and store the azimuth and relative distance of the third door and window; The third door and window receives and stores the azimuth and relative distance of the first door and window; The third door and window receives and stores the azimuth angle and relative distance of the second door and window.
8. A smart door and window target security domain management device based on UWB technology, characterized in that: The device comprises: An information acquisition module, used to acquire first position information in the UWB signal sent by the second door or window; the first position information includes phase information and flight time; An information calculation module, used to calculate the azimuth and relative distance between the first door and window and the second door and window based on the first position information; A position determination module, configured to determine a relative position relationship between the first door and window and the second door and window in the target safety zone by comparing the azimuth and the relative distance; A message judgment module, used for receiving an incoming message, and judging whether the incoming message is in the target security domain based on the relative position relationship; The message processing module is used to reject the incoming message if the incoming message does not belong to the target security domain.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.