Intelligent lock linkage control system based on wireless communication
Through the frequency modulation unlocking control module and signal enhancement control module, the frequency band and signal transmission path are dynamically adjusted, and combined with user habits and environmental data, the signal stability and efficiency of the smart lock in dynamic interference and occlusion environments is solved, and the efficient unlocking of the smart lock is achieved.
Patent Information
- Application Number
- CN202510736151.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-04
- Publication Date
- 2025-08-15
AI Technical Summary
The existing wireless communication system of smart locks cannot effectively optimize the frequency band and signal transmission path when facing dynamic interference and occlusion environments, resulting in insecure unlocking stability and inefficiency, and failure to use peripheral smart devices to build relay paths.
The frequency modulation unlocking control module and signal enhancement control module are adopted to collect user equipment usage data and environmental characteristic data, dynamically adjust the frequency band priority and signal transmission direction, build the optimal signal transmission path, and use peripheral smart devices to build a relay path.
It improves the stability and unlocking efficiency of smart lock wireless communication, reduces the impact of signal interference on unlocking, and enhances the stability and user experience of remote unlocking.
Smart Images

Figure CN120496210A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent lock linkage control, and in particular to an intelligent lock linkage control system based on wireless communication. Background Art
[0002] With the popularization of Internet of Things technology, smart locks based on wireless communication have been widely used in homes, offices, hotels and other scenarios. Their core relies on wireless signals to achieve communication and unlocking between user devices and lock bodies. Therefore, a smart lock linkage control system based on wireless communication is needed.
[0003] Existing technologies use a preset frequency band list or a fixed frequency modulation order, and do not dynamically optimize based on user usage habits and real-time environmental interference data. Traditional solutions cannot prioritize the frequency bands required by users. At the same time, when encountering sudden interference, existing technologies cannot quickly identify the interference source and adjust the frequency band priority. Environmental feature data is not incorporated into the frequency modulation strategy, making it difficult to cope with dynamically changing interference scenarios.
[0004] When the signal is blocked, traditional solutions usually only attempt to unlock by increasing the transmission power or repeatedly sending the signal, which may lead to increased power consumption or unlocking delays. They do not dynamically adjust the signal transmission direction based on spatial location information and building models, and cannot actively avoid obstructions. Faced with complex obstruction environments, existing technologies lack the ability to coordinate multi-device relays and cannot use surrounding smart devices to build temporary relay paths, resulting in a single signal transmission path and insufficient reliability. Summary of the Invention
[0005] In view of the above-mentioned technical deficiencies, the purpose of the present invention is to provide an intelligent lock linkage control system based on wireless communication.
[0006] In order to solve the above technical problems, the present invention adopts the following technical solutions: The present invention provides a smart lock linkage control system based on wireless communication, including the following modules: a frequency modulation unlocking control module, which is used to collect user device usage data, analyze the user device usage data, and set a multi-frequency smart lock control scheme according to the analysis results, and then collect the historical interference data and environmental feature data of the smart lock. Based on the multi-frequency smart lock control scheme, the historical interference data of the smart lock is analyzed to obtain an intelligent basic frequency modulation scheme. Based on the intelligent basic frequency modulation scheme, the environmental feature data of the smart lock is analyzed to set an intelligent optimized frequency modulation scheme.
[0007] The signal enhancement control module is used to collect signal blocking data during the unlocking process of the smart lock, analyze the signal blocking data during the unlocking process, dynamically adjust the signal transmission direction inside the smart lock, and collect signal transmission data at the same time, analyze the signal transmission data, and determine whether the current signal transmission is abnormal. If the signal transmission is abnormal, the smart device signal usage data is collected and analyzed, the signal transmission path is constructed, and the signal is transmitted stably to unlock the lock.
[0008] Preferably, the signal transmission path is constructed, and the specific construction process is as follows: the smart lock is recorded as the source node, the user device is recorded as the target node, and each relay device is recorded as each relay node. All relay nodes are traversed to generate all possible paths from the source node to the target node to obtain each signal transmission path, and the average is calculated for the relay connection usage index of each relay device in each signal transmission path to obtain the transmission path usage index of each signal transmission path, and the signal transmission path with the largest transmission path usage index is selected as the signal usage transmission path, and each relay device in the signal usage transmission path is recorded as each using relay device, and a relay request is sent to each using relay device to establish a temporary signal usage transmission path.
[0009] The beneficial effects of the present invention are: 1. The present invention collects user device usage data through the frequency modulation unlocking control module and sets a multi-frequency smart lock control scheme; collects historical interference data and environmental feature data of the smart lock, and obtains an intelligent basic frequency modulation scheme and an intelligent optimized frequency modulation scheme through analysis. The signal enhancement control module collects signal blocking data, and dynamically adjusts the signal transmission direction after analysis; collects signal transmission data, and collects smart device signal usage data after judging the abnormality, analyzes to obtain the relay device, constructs and selects the optimal signal transmission path to stably transmit the signal to achieve unlocking. This system effectively copes with signal interference and blocking problems by dynamically adjusting the frequency band and signal transmission path, thereby improving the stability of wireless communication and unlocking efficiency of the smart lock.
[0010] 2. The present invention combines user device usage data and real-time environmental data to construct a multi-frequency signal sequence and dynamically adjust frequency band priorities, realizing intelligent frequency modulation driven by both user habits and environmental interference. This improves the use effect of the unlocking frequency band, enhances the stability of remote unlocking, reduces the impact of signal interference, and thus reduces the delay of remote unlocking, improving the user experience.
[0011] 3. Analyze signal obstruction paths through Bluetooth direction finding and building models, and dynamically adjust the transmission direction to avoid obstacles. Use surrounding smart devices to build relay paths to achieve multi-path optimization of signal transmission, which can effectively reduce signal transmission delay and signal strength attenuation in complex obstruction environments. From frequency band selection, transmission direction to relay path, full-link intelligent control is implemented to improve the stability of wireless communication and unlocking efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0013] Figure 1 This is a schematic diagram of the system structure connection of the present invention. DETAILED DESCRIPTION
[0014] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only 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 ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0015] according to Figure 1 As shown, the present invention provides an intelligent lock linkage control system based on wireless communication, including the following modules: a frequency modulation unlocking control module, a signal enhancement control module and a database.
[0016] The frequency modulation unlocking control module is connected to the signal enhancement control module, and both the frequency modulation unlocking control module and the signal enhancement control module are connected to a database.
[0017] The frequency modulation unlocking control module is used to collect user device usage data, analyze the user device usage data, set a multi-frequency smart lock control scheme based on the analysis results, and then collect historical interference data and environmental characteristic data of the smart lock. Based on the multi-frequency smart lock control scheme, the historical interference data of the smart lock is analyzed to obtain an intelligent basic frequency modulation scheme. Based on the intelligent basic frequency modulation scheme, the environmental characteristic data of the smart lock is analyzed to set an intelligent optimized frequency modulation scheme.
[0018] In a specific embodiment, the user device usage data is collected, and the specific collection process is as follows: the user device usage data includes the number of times the user uses each frequency band signal to unlock, the number of times the user uses each frequency band signal to switch to unlock, the number of times the device uses each frequency band signal, and the number of times the device switches between each frequency band signal. When the user unlocks the smart lock through a certain frequency band signal, the number of times the user uses the frequency band signal to unlock is obtained, thereby obtaining the number of times the user uses each frequency band signal to unlock. When the user switches the frequency to a certain frequency band signal to unlock the smart lock, the number of times the user uses the frequency band signal to switch to unlock is obtained, thereby obtaining the number of times the user uses each frequency band signal to switch to unlock. When the user uses a certain frequency band signal on the device, the number of times the device uses the frequency band signal is recorded, thereby obtaining the number of times the device uses the frequency band signal, thereby obtaining the number of times the device uses each frequency band signal. During the signal use process of a device, if the device's signal switches to the frequency band, the number of times the device switches between the frequency band signals is recorded, thereby obtaining the number of times the device switches between the frequency band signals, thereby obtaining the number of times the device switches between the frequency band signals.
[0019] In a specific embodiment, the user device usage data is analyzed, and the specific analysis process is as follows: the number of times the user unlocks the signal of each frequency band, the number of times the user switches to unlock using the signal of each frequency band, the number of times the device uses the signal of each frequency band, and the number of times the device switches using the signal of each frequency band are substituted into the frequency band signal usage index calculation formula to obtain the signal usage index of each frequency band.
[0020] It should be noted that the calculation formula for the frequency band signal usage index is:
[0021]
[0022] , where α 1a is the signal usage index of frequency band a, a is the number of each frequency band, the value of a is a positive integer, A 1a 、A 2a 、A 3a and A 4a A′1, A′2, A′3 and A′4 are respectively the number of times a user unlocks using frequency band a signal, the number of times a user switches to unlocking using frequency band a signal, the number of times a device uses frequency band a signal and the number of times a device switches using frequency band a signal. A′1, A′2, A′3 and A′4 are respectively the number of times a preset standard frequency band signal is unlocked, the number of times a standard frequency band signal is switched to unlock, the number of standard frequency band signals and the number of standard frequency band signal switches. ε1 and ε2 are respectively the weight factors of the preset number of times a user unlocks using frequency band signals and the weight factors of the number of times a device uses frequency band signals. ε1>0, ε2>0, ε1+ε2=1.
[0023] The standard parameters A′1, A′2, A′3 and A′4 are the frequency band signal unlocking times threshold for normal frequency band signals, the frequency band signal switching unlocking times threshold, the frequency band signal number threshold and the frequency band signal switching times threshold, respectively. When the frequency band signal unlocking times of a certain frequency band is greater than the threshold, or the frequency band signal switching unlocking times threshold is greater than the threshold, or the frequency band signal number is greater than the threshold, or the frequency band signal switching times threshold is greater than the threshold, it indicates that the frequency band is used more frequently and the smart lock can be unlocked by the frequency band signal. The specific values are set by the staff, for example, A′1 is 0.97, A′2 is 0.94, A′3 is 0.96 and A′4 is 0.98. The weight factors ε1 and ε2 are both set according to the number of signal software used by the user's device. The more signal software the user uses, the larger ε2 is, and the fewer signal software the user uses, the larger ε1 is. The specific values are set by the staff, for example, ε1 is 0.45 and ε2 is 0.55.
[0024] Substitute the number of times the user switches and unlocks using each frequency band signal and the number of times the device switches using each frequency band signal into the frequency band signal preference index calculation formula to obtain the signal preference index of each frequency band.
[0025] It should be noted that the calculation formula for the frequency band signal preference index is:
[0026] Among them, α 2a is the signal preference index of frequency band a, and e is a natural constant.
[0027] In a specific embodiment, the multi-frequency smart lock control scheme is set up, and the specific setting process is as follows: the signal usage index of the preset standard frequency band is obtained from the database. If the signal usage index of a frequency band is greater than the signal usage index of the preset standard frequency band, the frequency band is recorded as an available frequency band, thereby obtaining each available frequency band, and then obtaining the signal preference index of each available frequency band from the signal preference index of each frequency band. The available frequency bands are sorted in descending order according to the corresponding signal preference index to obtain a multi-frequency signal sequence.
[0028] The multi-frequency smart lock control scheme is: when the user needs to input the unlocking signal, the unlocking signal is transmitted according to the multi-frequency signal sequence and the first available frequency band in the sequence. If the feedback signal of the corresponding available frequency band is not received within the preset time, the signal of the second available frequency band in the sequence is transmitted according to the multi-frequency signal sequence, and the frequency is modulated in sequence according to the multi-frequency signal sequence until the feedback signal of the corresponding available frequency band is received within the preset time.
[0029] In a specific embodiment, the historical interference data and environmental characteristic data of the smart lock are collected, and the specific collection process is as follows: the historical interference data of the smart lock includes the signal strength, packet loss rate, bit error rate and behavior data type at each historical time point. The power intensity of the signal received by the antenna is converted into a voltage value through the RSSI detection circuit, and then quantified into a digital signal strength value through the analog-to-digital converter, so as to obtain the signal strength at each historical time point.
[0030] When the user device sends an unlock request, a serial number is added to the data packet header. After the smart lock receives the data packet, the serial number is stored in the buffer and the receiving timestamp is recorded. Every fixed time window, the total number of data packets that the user device should send and the actual number of data packets received within the window are counted. The difference between the total number of data packets sent and the actual number of data packets received is subtracted from the total number of data packets sent, and the result is divided by the total number of data packets sent to obtain the packet loss rate. In this way, the packet loss rate at each historical time point is obtained.
[0031] After the smart lock receives the data packet sent by the user device, it first determines whether the data packet is complete through hardware CRC check. If the CRC check fails, the original bit length of the data packet is parsed, and then the number of error bits is obtained through the protocol stack. The total number of transmitted bits and the number of error bits in the time window are counted, and the number of error bits is divided by the total number of transmitted bits to obtain the bit error rate, thereby obtaining the bit error rate at each historical time point.
[0032] The smart lock scene video is collected through the smart lock camera, and the feature vector of the current smart lock scene is obtained through machine vision. The cosine similarity calculation is performed between the feature vector of the current smart lock scene and the feature vector corresponding to each behavior data type to obtain the similarity of each behavior data type. The behavior data type with the maximum similarity is selected as the behavior data type of the smart lock scene, so as to obtain the behavior data type at each historical time point.
[0033] The environmental characteristic data of the smart lock includes the communication success rate, signal strength, communication success rate change trend index and signal strength change trend index of each available frequency band in the current time period.
[0034] The signal of each available frequency band is transmitted at each time point in the current time period, and the signal strength, packet loss rate and bit error rate of each available frequency band signal at each time point in the current time period are collected. If the signal strength of a certain available frequency band signal at a certain time point in the current time period is greater than the preset signal strength and the packet loss rate is less than the preset packet loss rate and the bit error rate is less than the preset bit error rate, it indicates that the communication of the available frequency band signal is successful at that time point. The number of successful communications and the number of communications of each available frequency band in the current time period are statistically obtained, and the number of successful communications of each available frequency band in the current time period is divided by the number of communications to obtain the communication success rate of each available frequency band in the current time period. The signal strength average of each available frequency band signal at each time point in the current time period is calculated to obtain the signal strength of each available frequency band signal in the current time period.
[0035] The communication success rate of each available frequency band in each time period is fitted into a graph according to time to obtain a communication success rate change curve graph of each available frequency band. Through image recognition technology, the slope of the communication success rate change curve of each available frequency band in the current time period is obtained. The change trend index corresponding to each slope is obtained from the database to obtain the communication success rate change trend index of each available frequency band in the current time period. The signal strength of each available frequency band signal at each time point in the current time period is fitted into a graph according to time to obtain a signal strength change curve graph of each available frequency band. Through image recognition technology, the slope of the signal strength change curve of each available frequency band in the current time period is obtained, and then the signal strength change trend index of each available frequency band in the current time period is obtained.
[0036] In a specific embodiment, the historical interference data of the smart lock is analyzed, and the specific analysis process is as follows: the signal strength, packet loss rate, and bit error rate at each historical time point are substituted into the signal quality index calculation formula to obtain the signal quality index at each historical time point. If the signal quality index at a certain time point is less than a preset value, it indicates signal interference at that time point. If a certain timestamp is in signal interference, the timestamp is recorded as an interference timestamp, and the historical frequency band of each timestamp is obtained from the database to obtain the historical frequency band of each interference timestamp.
[0037] It should be noted that the signal quality index calculation formula is:
[0038] Among them, β 1b is the signal quality index at the historical time point b, b is the number of each historical time point, and the value of b is a positive integer. 1b 、B 2b and B 3b are the signal strength, packet loss rate, and bit error rate at the historical time point b, respectively. B′1, B′2, and B′3 are the preset standard signal strength, standard packet loss rate, and standard bit error rate, respectively. φ1, φ2, and φ3 are the preset signal strength weight factor, packet loss rate weight factor, and bit error rate weight factor, respectively. φ1>0, φ2>0, φ3>0, and φ1+φ2+φ3=1.
[0039] The setting process of standard parameters B′1, B′2 and B′3 is the same as that of standard parameter A′1, and they are all set by staff, for example, B′1 is 1.87, B′2 is 0.42 and B′3 is 0.32. The setting process of weight factors φ1, φ2 and φ3 is the same as that of weight factor ε1, and they are all set by staff, for example, φ1 is 0.4, φ2 is 0.2 and φ3 is 0.4.
[0040] The behavior data types that appear at each historical time point of each timestamp are counted to obtain each behavior data type of each timestamp, and then each behavior data type of each interference timestamp is obtained. According to the historical frequency band of each interference timestamp, each behavior data type is associated with the historical frequency band to obtain each interference frequency band of each behavior data type.
[0041] The current smart lock environment video collected by the camera is used to obtain the behavioral data type of the current environment through image recognition technology, thereby obtaining the various interference frequency bands of the current environment, and setting a preset interference correction factor for each interference frequency band. Then, the signal preference index of the available frequency band corresponding to each interference frequency band in the multi-frequency signal sequence is multiplied by the interference correction factor to obtain the signal preference index of each available frequency band after interference correction. The available frequency bands are sorted according to the signal preference index after interference correction to obtain the multi-frequency signal sequence after interference correction. The intelligent basic frequency modulation scheme is: frequency modulation according to the multi-frequency signal sequence after interference correction.
[0042] In a specific embodiment, the environmental characteristic data of the smart lock is analyzed, and the specific analysis process is as follows: the communication success rate, signal strength, communication success rate change trend index and signal strength change trend index of each available frequency band in the current time period are substituted into the signal dynamic interference intensity index calculation formula to obtain the signal dynamic interference intensity index of each available frequency band in the current time period.
[0043] It should be noted that the calculation formula for the signal dynamic interference strength index is:
[0044]
[0045] Among them, β 2c is the signal dynamic interference strength index of the available frequency band c in the current time period, c is the number of each available frequency band, and the value of c is a positive integer. 5c 、B 1c 、B 6c and B 7c are the communication success rate, signal strength, communication success rate change trend index, and signal strength change trend index of the available frequency band in the current time period c, respectively. B′5, B′6, and B′7 are the preset standard communication success rate, standard communication success rate change trend index, and standard signal strength change trend index, respectively. and are respectively the preset weight factor of communication success rate and the weight factor of the second signal strength,
[0046] The setting process of standard parameters B′5, B′6 and B′7 is the same as that of standard parameter A′1. They are all set by staff, for example, B′5 is 0.8, B′6 is 0.4 and B′7 is 0.3. The weight factor and The setting process of is the same as that of the weight factor ε1, both of which are set by the staff, for example 0.45 and is 0.55.
[0047] The signal dynamic interference strength index interval corresponding to each environmental correction index is obtained from the database. If the signal dynamic interference strength index of an available frequency band in the current time period belongs to the signal dynamic interference strength index interval corresponding to a certain environmental correction index, it indicates that the environmental correction index of the available frequency band in the current time period is the environmental correction index. In this way, the environmental correction index of each available frequency band in the current time period is obtained, and the signal preference index of the multi-frequency signal sequence after interference correction is multiplied by the environmental correction index corresponding to the current time period to obtain the signal preference index of each available frequency band after environmental correction in the current time period. The available frequency bands are sorted according to the signal preference index after environmental correction in the current time period to obtain the multi-frequency signal sequence after environmental correction in the current time period. The intelligent optimization frequency modulation scheme is: in the current time period, frequency modulation is performed according to the multi-frequency signal sequence after environmental correction.
[0048] The signal enhancement control module is used to collect signal blocking data during the unlocking process of the smart lock, analyze the signal blocking data during the unlocking process, dynamically adjust the signal transmission direction inside the smart lock, and collect signal transmission data at the same time, analyze the signal transmission data, and determine whether the current signal transmission is abnormal. If the signal transmission is abnormal, the smart device signal usage data is collected and analyzed, the signal transmission path is constructed, and the signal is transmitted stably to unlock the lock.
[0049] In a specific embodiment, the signal shielding data is collected during the unlocking process of the smart lock, and the specific collection process is as follows: the signal shielding data includes the signal power strength, signal-to-noise ratio, bit error rate and signal transmission delay time of each available frequency band in each signal transmission direction. Each signal transmission direction is preset. When the internal signal transmission direction is each signal transmission direction, a test signal is transmitted, and the signal power strength, signal-to-noise ratio, bit error rate and signal transmission delay time of each available frequency band in each signal transmission direction are collected. The signal power strength, signal-to-noise ratio, bit error rate and signal transmission delay time of each available frequency band in each signal transmission direction are collected through a network tester to obtain the signal power strength, signal-to-noise ratio, bit error rate and signal transmission delay time of each available frequency band in each signal transmission direction.
[0050] In a specific embodiment, the signal blocking data during the unlocking process is analyzed, and the specific analysis process is as follows: the signal power strength, signal-to-noise ratio, bit error rate and signal transmission delay time of each available frequency band in each signal transmission direction are substituted into the signal blocking index calculation formula to obtain the signal blocking index of each signal transmission direction.
[0051] It should be noted that the calculation formula for the signal obstruction index is:
[0052]
[0053] , where γd is the signal shielding index of the d signal transmission direction, d is the number of each signal transmission direction, the value of d is a positive integer, c is the number of each available frequency band, c = 1, 2, ... m, m > 2, the value of m is the total number of available frequency bands, C1cd, C2cd, C3cd and C4cd are respectively the signal power strength, signal-to-noise ratio, bit error rate and signal transmission delay of the c available frequency band in the d signal transmission direction, C′1, C′2, C′3 and C′4 are respectively the preset standard signal power strength, standard signal-to-noise ratio, standard bit error rate and standard signal transmission delay, δ1, δ2, δ3 and δ4 are respectively the preset signal power strength weight factor, signal-to-noise ratio weight factor, bit error rate weight factor and signal transmission delay weight factor, δ1>0, δ2>0, δ3>0, δ4>0, δ1+δ2+δ3+δ4=1, ηc is the weight factor of the c available frequency band, ηc>0,
[0054] The setting process of standard parameters C′1, C′2, C′3 and C′4 is the same as that of standard parameter A′1, and they are all set by staff, for example, C′1 is 0.7, C′2 is 0.77, C′3 is 0.72 and C′4 is 0.82. The setting process of weight factors δ1, δ2, δ3 and δ4 is the same as that of weight factor ε1, and they are all set by staff, for example, δ1 is 0.2, δ2 is 0.2, δ3 is 0.2 and δ4 is 0.4.
[0055] In a specific embodiment, the dynamic adjustment of the internal signal transmission direction of the smart lock is carried out as follows: the spatial position coordinates of the user device are obtained through Bluetooth direction finding technology, the spatial position coordinates of the user device are connected with the coordinates of the smart lock in the database, and the signal transmission reference path is obtained. With the smart lock as the center and the signal transmission reference path as the baseline, the various angles are the offset angles of the various offset directions, and the various offset directions of the smart lock are obtained. Then, the number of interference sources in each offset direction of the signal transmission reference path is obtained through the building model.
[0056] Each offset direction with a number of interference sources less than a preset number is recorded as an available offset direction. According to the signal blocking index of each signal transmission direction, the signal blocking index of each available offset direction is obtained, and the available offset direction with the smallest signal blocking index is selected as the internal signal transmission direction of the smart lock.
[0057] In a specific embodiment, the signal transmission data is collected, and the specific collection process is as follows: the signal transmission data is the signal strength of each available frequency band.
[0058] In a specific embodiment, the signal transmission data is analyzed, and the specific analysis process is as follows: if the signal strength of each available frequency band is less than the preset signal strength, it indicates that the signal transmission is abnormal.
[0059] In a specific embodiment, the smart device signal usage data is collected, and the specific collection process is as follows: the smart device signal usage data includes the distance, average signal strength, average power consumption, average delay and number of connections of each smart device, the indoor picture is collected by the camera, and the distance from each smart device to the smart lock is obtained by image recognition technology, which is recorded as the distance of each smart device, the average signal strength of each smart device is collected by the network tester, the average power consumption of each smart device is collected by the power meter, and the average delay of each smart device is collected by the network performance tester. During each relay connection process, the number of times each smart device is used is recorded, and the number of connections of each smart device is obtained by statistics.
[0060] In a specific embodiment, the signal usage data of the smart device is analyzed, and the specific analysis process is as follows: the distance, average signal strength, average power consumption, average delay and number of connections of each smart device are substituted into the relay connection usage index calculation formula to obtain the relay connection usage index of each smart device, and the standard relay connection usage index is obtained from the database. If the relay connection usage index of a smart device is greater than the standard relay connection usage index, it indicates that the smart device is a relay device, and each relay device is obtained in this way.
[0061] It should be noted that the formula for calculating the relay connection usage index is:
[0062]
[0063] , where f g is the relay connection usage index of g smart devices, g is the number of each smart device, and the value of g is a positive integer. 1g 、D 2g 、D 3g 、D 4g and D 5g are the distance, average signal strength, average power consumption, average delay and number of connections of the g smart device, respectively. D′1, D′2, D′3, D′4 and D′5 are the preset distance, average signal strength, average power consumption, average delay and number of connections, respectively. θ1, θ2 and θ3 are the preset distance weight factor, performance weight factor and number of connections weight factor, respectively. θ1>0, θ2>0, θ3>0, θ1+θ2+θ3=1. μ1, μ2 and μ3 are the preset average signal strength weight factor, power consumption weight factor and delay weight factor, respectively. μ1>0, μ2>0, μ3>0, μ1+μ2+μ3=1.
[0064] In a specific embodiment, the signal transmission path is constructed, and the specific construction process is as follows: the smart lock is recorded as the source node, the user device is recorded as the target node, and each relay device is recorded as each relay node. All relay nodes are traversed to generate all possible paths from the source node to the target node to obtain each signal transmission path, and the average is calculated for the relay connection usage index of each relay device in each signal transmission path to obtain the transmission path usage index of each signal transmission path. The signal transmission path with the maximum transmission path usage index is selected as the signal usage transmission path, and each relay device in the signal usage transmission path is recorded as each using relay device. A relay request is sent to each using relay device to establish a temporary signal usage transmission path.
[0065] The database is used to store the signal usage index of the standard frequency band, the historical frequency band of each time stamp, the signal dynamic interference strength index range corresponding to each environmental correction index, the smart lock coordinates and the standard relay connection usage index.
[0066] The above content is merely an example and explanation of the concept of the present invention. Those skilled in the art may make various modifications or additions to the described specific embodiments or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined in this specification, they should all fall within the scope of protection of the present invention.
Claims
1. A smart lock linkage control system based on wireless communication, characterized in that: Includes the following modules: The frequency modulation unlocking control module is used to collect user device usage data, analyze the user device usage data, set a multi-frequency smart lock control plan based on the analysis results, and then collect historical interference data and environmental characteristic data of the smart lock. Based on the multi-frequency smart lock control plan, the historical interference data of the smart lock is analyzed to obtain an intelligent basic frequency modulation plan. Based on the intelligent basic frequency modulation plan, the environmental characteristic data of the smart lock is analyzed to set an intelligent optimized frequency modulation plan; The signal enhancement control module is used to collect signal blocking data during the unlocking process of the smart lock, analyze the signal blocking data during the unlocking process, dynamically adjust the signal transmission direction inside the smart lock, and collect signal transmission data at the same time, analyze the signal transmission data, and determine whether the current signal transmission is abnormal. If the signal transmission is abnormal, the smart device signal usage data is collected and analyzed, the signal transmission path is constructed, and the signal is transmitted stably to unlock the lock.
2. The intelligent lock linkage control system based on wireless communication according to claim 1, characterized in that: The specific analysis process of analyzing the user device usage data is as follows: The user device usage data includes the number of times a user unlocks signals of each frequency band, the number of times a user switches to unlock signals of each frequency band, the number of times a device uses signals of each frequency band, and the number of times a device switches signals of each frequency band. Substitute the number of times a user unlocks signals of each frequency band, the number of times a user switches to unlock signals of each frequency band, the number of times a device uses signals of each frequency band, and the number of times a device switches signals of each frequency band into the frequency band signal usage index calculation formula to obtain the signal usage index of each frequency band; Substitute the number of times the user switches and unlocks using each frequency band signal and the number of times the device switches using each frequency band signal into the frequency band signal preference index calculation formula to obtain the signal preference index of each frequency band.
3. The intelligent lock linkage control system based on wireless communication according to claim 2, characterized in that: The specific setting process of setting the multi-frequency smart lock control solution is as follows: Obtaining a signal usage index of a preset standard frequency band from a database; if the signal usage index of a frequency band is greater than the signal usage index of the preset standard frequency band, marking the frequency band as an available frequency band, thereby obtaining each available frequency band; and then obtaining a signal preference index of each available frequency band from the signal preference index of each frequency band; sorting each available frequency band in descending order according to the corresponding signal preference index to obtain a multi-frequency signal sequence; The multi-frequency smart lock control scheme is: when the user needs to input the unlocking signal, the unlocking signal is transmitted according to the multi-frequency signal sequence and the first available frequency band in the sequence. If the feedback signal of the corresponding available frequency band is not received within the preset time, the signal of the second available frequency band in the sequence is transmitted according to the multi-frequency signal sequence, and the frequency is modulated in sequence according to the multi-frequency signal sequence until the feedback signal of the corresponding available frequency band is received within the preset time.
4. The intelligent lock linkage control system based on wireless communication according to claim 3, characterized in that: The historical interference data of the smart lock is analyzed, and the specific analysis process is as follows: The historical interference data of the smart lock includes the signal strength, packet loss rate, bit error rate and behavior data type at each historical time point. The signal strength, packet loss rate and bit error rate at each historical time point are substituted into the signal quality index calculation formula to obtain the signal quality index at each historical time point. If the signal quality index at a certain time point is less than the preset value, it indicates that the signal interference at that time point occurs. If a certain timestamp is in signal interference, this timestamp is recorded as an interference timestamp. The historical frequency band of each timestamp is obtained from the database to obtain the historical frequency band of each interference timestamp. Count the behavior data types that appear at each historical time point of each timestamp to obtain each behavior data type of each timestamp, and then obtain each behavior data type of each interference timestamp; according to the historical frequency band of each interference timestamp, associate each behavior data type with the historical frequency band to obtain each interference frequency band of each behavior data type; The current smart lock environment video collected by the camera is used to obtain the behavioral data type of the current environment through image recognition technology, thereby obtaining the various interference frequency bands of the current environment, and setting a preset interference correction factor for each interference frequency band. Then, the signal preference index of the available frequency band corresponding to each interference frequency band in the multi-frequency signal sequence is multiplied by the interference correction factor to obtain the signal preference index of each available frequency band after interference correction. The available frequency bands are sorted according to the signal preference index after interference correction to obtain the multi-frequency signal sequence after interference correction. The intelligent basic frequency modulation scheme is: frequency modulation according to the multi-frequency signal sequence after interference correction.
5. The intelligent lock linkage control system based on wireless communication according to claim 4, characterized in that: The environmental characteristic data of the smart lock is analyzed, and the specific analysis process is as follows: The environmental characteristic data of the smart lock include the communication success rate, signal strength, communication success rate change trend index and signal strength change trend index of each available frequency band in the current time period. The communication success rate, signal strength, communication success rate change trend index and signal strength change trend index of each available frequency band in the current time period are substituted into the signal dynamic interference intensity index calculation formula to obtain the signal dynamic interference intensity index of each available frequency band in the current time period; The signal dynamic interference strength index interval corresponding to each environmental correction index is obtained from the database. If the signal dynamic interference strength index of an available frequency band in the current time period belongs to the signal dynamic interference strength index interval corresponding to a certain environmental correction index, it indicates that the environmental correction index of the available frequency band in the current time period is the environmental correction index. In this way, the environmental correction index of each available frequency band in the current time period is obtained, and the signal preference index of the multi-frequency signal sequence after interference correction is multiplied by the environmental correction index corresponding to the current time period to obtain the signal preference index of each available frequency band after environmental correction in the current time period. The available frequency bands are sorted according to the signal preference index after environmental correction in the current time period to obtain the multi-frequency signal sequence after environmental correction in the current time period. The intelligent optimization frequency modulation scheme is: in the current time period, frequency modulation is performed according to the multi-frequency signal sequence after environmental correction.
6. The intelligent lock linkage control system based on wireless communication according to claim 1, characterized in that: The signal blocking data during the unlocking process is analyzed, and the specific analysis process is as follows: The signal blocking data includes the signal power strength, signal-to-noise ratio, bit error rate and signal transmission delay time of each available frequency band in each signal transmission direction. The signal power strength, signal-to-noise ratio, bit error rate and signal transmission delay time of each available frequency band in each signal transmission direction are substituted into the signal blocking index calculation formula to obtain the signal blocking index of each signal transmission direction.
7. The intelligent lock linkage control system based on wireless communication according to claim 6, characterized in that: The dynamic adjustment of the internal signal transmission direction of the smart lock is as follows: The spatial location coordinates of the user device are obtained through Bluetooth direction finding technology. The spatial location coordinates of the user device are connected with the coordinates of the smart lock in the database to obtain the signal transmission reference path. With the smart lock as the center and the signal transmission reference path as the baseline, the angles are the offset angles of each offset direction, and the offset directions of the smart lock are obtained. Then, the number of interference sources in each offset direction of the signal transmission reference path is obtained through the building model; Each offset direction with a number of interference sources less than a preset number is recorded as an available offset direction. According to the signal blocking index of each signal transmission direction, the signal blocking index of each available offset direction is obtained, and the available offset direction with the smallest signal blocking index is selected as the internal signal transmission direction of the smart lock.
8. The intelligent lock linkage control system based on wireless communication according to claim 6, characterized in that: The specific analysis process of analyzing the smart device signal usage data is as follows: The smart device signal usage data includes the distance, average signal strength, average power consumption, average delay and number of connections of each smart device. The distance, average signal strength, average power consumption, average delay and number of connections of each smart device are substituted into the relay connection usage index calculation formula to obtain the relay connection usage index of each smart device. The standard relay connection usage index is obtained from the database. If the relay connection usage index of a smart device is greater than the standard relay connection usage index, it indicates that the smart device is a relay device, and each relay device is obtained in this way.
9. The intelligent lock linkage control system based on wireless communication according to claim 6, characterized in that: The specific construction process of constructing the signal transmission path is as follows: The smart lock is recorded as the source node, the user device is recorded as the target node, and each relay device is recorded as each relay node. All relay nodes are traversed to generate all possible paths from the source node to the target node to obtain each signal transmission path. The average value of the relay connection usage index of each relay device in each signal transmission path is calculated to obtain the transmission path usage index of each signal transmission path. The signal transmission path with the largest transmission path usage index is selected as the signal usage transmission path. Each relay device in the signal usage transmission path is recorded as each using relay device. A relay request is sent to each using relay device to establish a temporary signal usage transmission path.
10. The intelligent lock linkage control system based on wireless communication according to claim 1, characterized in that: It also includes a database for storing the signal usage index of the standard frequency band, the historical frequency band of each time stamp, the signal dynamic interference strength index range corresponding to each environmental correction index, the smart lock coordinates and the standard relay connection usage index.