Intelligent sensor network system based on star flash and intelligent home connection method
By adopting a smart sensor network system based on Star Flash in the smart home system and using Star Flash communication module to connect smart home devices and gateways, the problems of low stability, reliability and data transmission rate of smart home systems in complex electromagnetic environments are solved, and higher system stability and data transmission efficiency are achieved.
Patent Information
- Application Number
- CN202411740969.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-03-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing smart home systems have poor stability, low reliability and low data transmission rates, especially in complex electromagnetic environments.
It adopts a smart sensor network system based on Star Flash, which is connected through the Star Flash communication module between smart home devices, smart home control middle platform and smart terminal devices. It supports multi-hop transmission, has strong anti-interference and can transmit data at high speed.
It improves the stability, reliability and data transmission rate of the intelligent sensor network system, can stabilize data transmission in a complex electromagnetic environment, and meets the needs of real-time data transmission such as high-definition video equipment control.
Smart Images

Figure CN119603090A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a StarFlash-based intelligent sensor network system and a smart home connection method. Background Art
[0002] With the development of science and technology, smart home systems have gradually become popular, bringing great convenience to people's lives. The current smart home systems are mainly based on Wi-Fi connection, Bluetooth connection, and Zigbee connection.
[0003] However, for Wi-Fi connection, Wi-Fi network is susceptible to interference, and in complex electromagnetic environments, problems such as unstable signals and packet loss may occur, affecting the stability of the smart home system. For Bluetooth connection, the data transmission range of the Bluetooth network is limited. When the devices are far away or blocked by obstacles, the connection quality will decrease, affecting the reliability of the smart home system. For Zigbee connection, the Zigbee network cannot transmit large amounts of data in real time, affecting the data transmission rate of the smart home system. Therefore, the current smart home system has poor stability, low reliability and low data transmission rate. Summary of the invention
[0004] The present invention provides a star-flash-based intelligent sensor network system and a smart home connection method, aiming to improve the stability, reliability and data transmission rate of the intelligent sensor network system.
[0005] In a first aspect, the present invention provides a smart sensor network system based on Star Flash, comprising a smart home device, a smart home control center and a smart terminal device; the smart home device comprises a smart sensor and a first Star Flash communication module; the smart home control center comprises an edge gateway, a regional gateway and a central gateway, the edge gateway, the regional gateway and the central gateway are connected based on a second Star Flash communication module; the central gateway is connected to the smart terminal device based on a third Star Flash communication module;
[0006] Establishing a communication connection between a first Star Flash communication module of a first smart home device and a corresponding target edge gateway; the target edge gateway is an edge gateway of any target area, and the first smart home device is any smart home device in the target area;
[0007] Based on the smart sensor in the first smart home device, the device information of the first smart home device and the environmental information of the target area are collected, and based on the first Star Flash communication module of the first smart home device, the environmental information and the device information are transmitted to the target edge gateway;
[0008] Controlling a second smart home device based on the target edge gateway according to the environmental information, and transmitting the device information to the regional gateway based on the second Star Flash communication module;
[0009] Performing an abnormality analysis on the device information based on the regional gateway to obtain an abnormality analysis result, and transmitting the abnormality analysis result to the central gateway based on the second star flash communication module;
[0010] The abnormal analysis result is encrypted by protocol based on the central gateway to obtain encrypted data, and the encrypted data is transmitted to the smart terminal device based on the third Star Flash communication module.
[0011] According to the Star Flash-based smart sensor network system provided by an embodiment of the present invention, the environmental information includes an environmental temperature value, an environmental humidity value and human body sensing information, the human body sensing information represents whether there is a user in the target area, and the second smart home device includes a dehumidification device;
[0012] The target edge gateway is used to perform the following steps:
[0013] If it is determined based on the human body sensing information that there is a user in the target area, then determining the indoor water vapor generation rate of the target area based on the number of users in the target area and a preset average value of the rate at which each user generates water vapor per unit time;
[0014] Determine the current total humidity of the target area based on the ambient temperature value and the ambient humidity value;
[0015] Determining a dehumidification rate of the target area based on the indoor water vapor generation rate and the current total humidity, and controlling the dehumidification device to operate at the dehumidification rate;
[0016] Accordingly, the calculation formula of the dehumidification rate is as follows:
[0017]
[0018] Among them, F out represents the dehumidification rate, t represents the target time to adjust the humidity value to the preset humidity comfort threshold, H cur Indicates the ambient humidity value of the target area, H target represents the preset humidity comfort threshold, V represents the volume of the target area, ρ air represents the air density, T cur represents the ambient temperature value of the target area, n represents the number of users, F in Indicates the average rate at which each preset user generates water vapor per unit time.
[0019] According to the Star Flash-based smart sensor network system provided by an embodiment of the present invention, the environmental information includes an environmental temperature value, an environmental humidity value and human body sensing information, the human body sensing information represents whether there is a user in the target area, and the second smart home device includes a temperature control device;
[0020] The target edge gateway is used to perform the following steps:
[0021] If it is determined based on the human body sensing information that there is a user in the target area, determining a human body metabolic rate according to the state information of the user in the target area, and determining an ambient water vapor partial pressure based on the ambient temperature value and the ambient humidity value;
[0022] Determining a current temperature comfort value of a user in the target area according to the human body metabolic rate and the ambient water vapor partial pressure;
[0023] The final operating power is determined based on the current temperature comfort value, and the temperature control device is controlled to operate at the final operating power; accordingly, the calculation formula of the final operating power is as follows:
[0024] P all =P base +K p (PMV cur -PMV target );
[0025] PMV cur =[0.303*exp(-0.036M)+0.028]*{M-3.05*10 -3 *[5733-6.99Mp a ]-1.7*10 -5 *M*[5867-p a ]-0.42*(M-58.15)};
[0026]
[0027] Among them, P all Indicates the final operating power, P base Indicates the basic operating power of the temperature control equipment, K p Indicates preset parameters, PMV cur Indicates the current temperature comfort value, PMV target represents the preset temperature comfort threshold; M represents the human metabolic rate, which is determined based on the user's status information; p a represents the ambient water vapor partial pressure, H cur Indicates the ambient humidity value of the target area, T cur Indicates the ambient temperature value of the target area.
[0028] According to the Star Flash-based intelligent sensor network system provided by an embodiment of the present invention, the device information includes device temperature information, device current information, device voltage information and device power information; the regional gateway includes an abnormal analysis model, and the abnormal analysis model includes a feature conversion layer, a correlation analysis layer and an abnormal tendency assessment layer; the regional gateway performs the following steps:
[0029] The device information is input into the abnormality analysis model, and based on the feature conversion layer, the device temperature information, the device current information, the device voltage information and the device power information are feature converted to obtain converted temperature information, converted current information, converted voltage information and converted power information output by the feature conversion layer respectively;
[0030] Performing correlation analysis on the characteristic converted information based on the correlation analysis layer, and outputting a cross term between any two characteristic converted information among the converted temperature information, the converted current information, the converted voltage information and the converted power information;
[0031] Based on the abnormal tendency assessment layer, the abnormal probability is calculated according to each of the cross items, and the abnormal analysis result is output.
[0032] According to the Star Flash-based intelligent sensor network system provided by an embodiment of the present invention, the protocol encryption is quantum bit protocol encryption; the central gateway performs the following steps:
[0033] Converting the abnormality analysis result into a corresponding angle value, and determining a target two-dimensional vector based on the angle value;
[0034] Perform quantum bit encryption based on the target two-dimensional vector to obtain a target quantum bit state parameter;
[0035] A binary code is determined based on the target quantum bit state parameter, and the encrypted data is determined based on the binary code.
[0036] In a second aspect, the present invention further provides a smart home connection method, which is applied to the Star Flash-based smart sensor network system described in the first aspect, and the smart home connection method comprises:
[0037] Based on the target edge gateway, a connection signal is broadcasted to the smart home device through the first Star Flash communication module in a broadcasting form; the target edge gateway is an edge gateway in any target area, and the connection signal includes at least shared key protocol mode information and encrypted message data encrypted based on the encryption key information corresponding to the shared key protocol mode information;
[0038] After the first smart home device receives the connection signal through the first Star Flash communication module, the decryption key information corresponding to the shared key protocol mode information is obtained according to the analysis result of the connection signal; the first smart home device is any smart home device in the target area;
[0039] Decrypting the encrypted message data based on the decryption key information by the first smart home device to obtain decryption information, and broadcasting the decryption information as a request signal to the target edge gateway through the first Star Flash communication module;
[0040] After the target edge gateway receives the request signal through the first Star Flash communication module, a communication connection with the first smart home device is established according to the authentication result of the decrypted information.
[0041] According to the smart home connection method provided by an embodiment of the present invention, establishing a communication connection with the first smart home device according to the authentication result of the decrypted information includes:
[0042] Processing the decrypted information based on a preset hash function to obtain a hash processing result;
[0043] generating a feature vector based on the hash processing result, and determining an authentication result of the decrypted information based on the feature vector;
[0044] If the authentication result is matched in the threshold vector of the target edge gateway, a communication connection between the target edge gateway and the first smart home device is established.
[0045] According to the smart home connection method provided by an embodiment of the present invention, the specific steps of generating the connection signal are as follows:
[0046] Obtaining the location coordinates of each smart home device in the target area and the unique identifier of the target edge gateway;
[0047] Generate encryption key information according to a preset mapping function in combination with the shared key protocol mode information and the unique identifier of the target edge gateway;
[0048] Encrypting the preset original message data based on the encryption key information to obtain the encrypted message data;
[0049] The connection signal is generated based on the fusion of the location coordinates, the shared key protocol mode information and the encrypted message data.
[0050] In a third aspect, the present invention further provides an electronic device, comprising: a memory for storing a computer software program; a processor for reading and executing the computer software program, thereby implementing any of the smart home connection methods described above.
[0051] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium, wherein the storage medium stores a computer software program, and when the computer software program is executed by a processor, the smart home connection method as described above is implemented.
[0052] In a fifth aspect, the present invention further provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the smart home connection methods described above.
[0053] In the Starflash-based smart sensor network system provided by the embodiment of the present invention, the smart home devices and gateways, gateways and gateways, and gateways and smart terminal devices are all connected through the Starflash communication module. Since the Starflash communication module supports multi-hop transmission, it effectively expands the coverage of the smart sensor network system and improves the reliability of the smart sensor network system. At the same time, the Starflash communication module has strong anti-interference ability and can transmit data stably even in complex electromagnetic environments, reducing signal packet loss and interruption, and improving the stability of the smart sensor network system. At the same time, the Starflash communication module can transmit data at high speed, which can meet the needs of real-time transmission of large amounts of data such as high-definition video equipment control, and improve the data transmission rate of the smart sensor network system. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 It is a structural schematic diagram of the intelligent sensor network system based on Star Flash provided by the present invention;
[0055] Figure 2 It is a flowchart of the smart home connection method provided by the present invention;
[0056] Figure 3 An embodiment diagram of an electronic device provided by an embodiment of the present invention;
[0057] Figure 4 An embodiment diagram of a computer-readable storage medium provided for an embodiment of the present invention. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0059] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0060] In the description of the present invention, the term "for example" is used to mean "used as an example, illustration or explanation". Any embodiment described as "for example" in the present invention is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any technician in the field to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present invention.
[0061] Optional, see Figure 1 As shown, Figure 1 1 is a schematic diagram of the structure of the intelligent sensor network system based on Star Flash provided by the present invention, and the intelligent sensor network system based on Star Flash includes intelligent home devices, intelligent home control middle platform and intelligent terminal devices. The intelligent home device includes an intelligent sensor and a first Star Flash communication module. In one embodiment, the intelligent home device is such as an intelligent light, and the intelligent home device may include an intelligent temperature sensor, an intelligent voltage sensor, an intelligent current sensor, an intelligent power sensor, etc.
[0062] Furthermore, the smart home control center includes an edge gateway, a regional gateway and a central gateway. The edge gateway, the regional gateway and the central gateway are connected through a second Star Flash communication module, and the central gateway is connected to the smart terminal device through a third Star Flash communication module.
[0063] Furthermore, in order to improve the data transmission efficiency and edge computing efficiency, the embodiment of the present invention manages smart home devices in zones. Therefore, before data transmission, it is necessary to establish a communication connection between each first smart home device and its corresponding target edge gateway through the first Star Flash communication module of each first smart home device, wherein the target edge gateway is an edge gateway of any target area, and the first smart home device is any smart home device in the target area. Therefore, in the subsequent data transmission process, after each first smart home device obtains the data, it transmits the data to the target edge gateway in its target area through its first Star Flash communication module.
[0064] Furthermore, the first smart home device is such as a smart environment device and a smart power device. Therefore, the smart sensor of the first smart home device may include a smart environment sensor and a smart device sensor, wherein the smart environment sensor can collect the temperature, humidity, etc. of the environment in the area, and the smart device sensor can collect the voltage, current, temperature, power, etc. of the smart home device.
[0065] Therefore, the first smart home device collects device information of the first smart home device through the smart device sensor, and collects environmental information of the target area through the smart environmental sensor, wherein the data collection period is pre-set, such as a collection period of 30 minutes, 1 hour, 2 hours, etc., device information such as device temperature information, device current information, device voltage information and device power information, environmental information such as ambient temperature value, ambient humidity value and human body sensing information, the human body sensing information represents whether there is a user in the target area, the human body sensing information is 0 or 1, when the human body sensing information is 0, it represents that there is no user in the target area, when the human body sensing information is 1, it represents that there is a user in the target area.
[0066] Furthermore, the environmental information and device information are transmitted to the target edge gateway through the first Star Flash communication module of the first smart home device.
[0067] Furthermore, before transmitting the data to the regional gateway, the edge gateway needs to perform a device control judgment, that is, after the target edge gateway receives the environmental information, it performs an abnormal analysis based on the environmental information to determine whether the conditions for controlling the smart home device are met. If satisfied, the target edge gateway controls the second smart home device based on the environmental information, as described in steps 301 to 306, and transmits the device information to the regional gateway through the second Star Flash communication module. If not satisfied, the target edge gateway does not control the second smart home device, and directly transmits the device information to the regional gateway through the second Star Flash communication module.
[0068] Further, after receiving the device information of each target area through the second Star Flash communication module, the regional gateway performs an abnormal analysis on the device information of each target area to obtain the abnormal analysis results of the smart home devices in each target area, as described in steps 401 to 403. Further, the regional gateway transmits the abnormal analysis results to the central gateway through the second Star Flash communication module.
[0069] Furthermore, the central gateway performs protocol encryption on the abnormal analysis results to obtain encrypted data, as specifically described in steps 501 to 503, and transmits the encrypted data to the smart terminal device through the third Star Flash communication module, wherein the smart terminal device is such as a smart phone, a smart tablet, a smart computer, etc.
[0070] Furthermore, the smart terminal device receives the encrypted data through the third Star Flash communication module, parses the encrypted data, and feeds back the parsing result to the user. The user can trigger the control instruction of the third smart home device according to the parsing result, and transmit the control instruction to the central gateway through the third Star Flash communication module. The central gateway controls the third smart home device according to the control instruction.
[0071] In the embodiment of the present invention, the smart home devices and gateways, gateways and gateways, and gateways and smart terminal devices are all connected through the Star Flash communication module. Since the Star Flash communication module supports multi-hop transmission, it effectively expands the coverage of the smart sensor network system and improves the reliability of the smart sensor network system. At the same time, the Star Flash communication module has strong anti-interference ability and can stably transmit data even in complex electromagnetic environments, reducing signal packet loss and interruption, and improving the stability of the smart sensor network system. At the same time, the Star Flash communication module can transmit data at high speed, which can meet the needs of real-time transmission of large amounts of data such as high-definition video equipment control, and improve the data transmission rate of the smart sensor network system.
[0072] In one embodiment, the environmental information includes human body sensing information and the environmental temperature value and the environmental humidity value of the target area. If there is no user in the target area, that is, when the human body sensing information is 0, there is no need to control the second smart home device. If there is a user in the target area, that is, when the human body sensing information is 1, it is necessary to adjust the humidity and temperature of the target area according to the environmental information.
[0073] Therefore, the process for adjusting the humidity of the target area includes steps 301 to 303:
[0074] Step 301: If it is determined based on human body sensing information that there are users in the target area, the indoor water vapor generation rate of the target area is determined based on the number of users in the target area and a preset average rate of water vapor generation per user per unit time.
[0075] Specifically, the target edge gateway of the embodiment of the present invention stores a preset average rate of water vapor generation per user per unit time. Therefore, after the target edge gateway determines that there are users in the target area according to the human body sensing information, it calculates the indoor water vapor generation rate according to the number of users in the target area and the average rate of water vapor generation per user per unit time. Therefore, the indoor water vapor generation rate can be expressed as the number of users*the average rate of water vapor generation per user per unit time.
[0076] Step 302: determine the current total humidity of the target area based on the ambient temperature value and the ambient humidity value.
[0077] Further, the target edge gateway matches the preset mapping table according to the ambient humidity value to obtain the target time for adjusting the humidity value from the current ambient humidity value to the preset humidity comfort threshold, wherein the preset humidity comfort threshold is set according to the actual situation, such as 2%, etc. The preset mapping table is an association mapping table of the ambient humidity value and its corresponding target time. In one embodiment, the preset mapping table is such as {[ambient humidity value: 3-5%, target time: 2 hours], [ambient humidity value: 6-8%, target time: 1.5 hours], [ambient humidity value: 9-10%, target time: 1 hour], [ambient humidity value: 10-15%, target time: 30 minutes]}.
[0078] Further, the target edge gateway determines the current total humidity of the target area according to the target time and the ambient temperature value and the ambient humidity value of the target area.
[0079] Step 303: determine the dehumidification rate of the target area based on the indoor water vapor generation rate and the current total humidity, and control the dehumidification equipment to operate at the dehumidification rate.
[0080] Furthermore, the target edge gateway calculates the dehumidification rate of the target area within the target time according to the indoor water vapor generation rate and the current total humidity. The specific calculation formula is as follows:
[0081]
[0082] Among them, F out represents the dehumidification rate, t represents the target time to adjust the humidity value to the preset humidity comfort threshold, H cur Indicates the ambient humidity value of the target area, H target represents the preset humidity comfort threshold, V represents the volume of the target area, and ρ air represents the air density, T cur represents the ambient temperature value of the target area, n represents the number of users, F in Indicates the average rate at which each preset user generates water vapor per unit time.
[0083] Further, the target edge gateway controls the dehumidification device to operate at a dehumidification rate.
[0084] In the process of transmitting device information to the regional gateway through the second Star Flash communication module, the embodiment of the present invention controls the operation of the local dehumidification equipment after judging through environmental information whether the conditions for controlling the dehumidification equipment are met, thereby achieving rapid local automatic control while ensuring the stability, reliability and data transmission rate of the intelligent sensor network system.
[0085] Therefore, the process for adjusting the temperature of the target area includes steps 304 to 306:
[0086] Step 304: If it is determined based on the human body sensing information that there is a user in the target area, the human body metabolic rate is determined based on the state information of the user in the target area, and the ambient water vapor partial pressure is determined based on the ambient temperature value and the ambient humidity value.
[0087] Specifically, the embodiment of the present invention stores a human metabolic rate set according to the state information. In one embodiment, the state information is a motion state, and the human metabolic rate is 100; the state information is a non-motion state, and the human metabolic rate is 48, etc. Therefore, if it is determined that there is a user in the target area according to the human body sensing information, the target edge gateway obtains the state information of the user in the target area, wherein the state information of the user in the target area can be obtained by image recognition, specifically: the target edge gateway collects the video stream data of the user in the target area, performs image recognition analysis on the video stream data, and determines the maximum front swing amplitude, maximum rear swing amplitude and thigh inclination angle of the leg of the user in the target area.
[0088] Furthermore, the target edge gateway analyzes the motion probability values of the maximum front swing, the maximum rear swing and the thigh inclination angle as follows: The maximum front swing is A f , the maximum back swing is A b , thigh inclination angle θ L , the pre-swing threshold is T f , the post-swing threshold is T b , thigh inclination angle θ L The inclination angle change within the time interval Δt is Δθ, and the thigh inclination angle change rate threshold is A θ Therefore, according to the maximum front swing of A f , the maximum back swing is A b 、Thigh inclination angle θ L , the pre-swing threshold is T f , the post-swing threshold is T b , inclination angle change Δθ and thigh inclination angle change rate threshold A θ , calculate the comprehensive score, the specific formula is as follows:
[0089]
[0090] ω f represents the preset pre-swing weight, ω b Represents the preset post-swing weight, ω θ Indicates the preset tilt weight.
[0091] Further, if the motion probability value is greater than or equal to a preset scoring threshold, the state information of the user in the target area is determined to be in motion. If the motion probability value is less than the preset scoring threshold, the state information of the user in the target area is determined to be in a non-motion state.
[0092] In one embodiment, the preset scoring threshold is 0.5, ω f =0.3,ω b =0.3,ω θ =0.4, the maximum front swing is A f =4°, the maximum back swing is A b =4°, thigh inclination angle θ L =3°, the front swing threshold is T f =5°, the back swing threshold is T b =5°, inclination angle change Δθ=3°, thigh inclination angle change rate threshold A θ =3° / s, time interval Δt=1s, therefore, the comprehensive score is:
[0093]
[0094] Since Sorce=0.88 is greater than the preset score threshold 0.5, the state information is a motion state.
[0095] Furthermore, the target edge gateway determines the human body metabolic rate according to the status information of the user in the target area, and determines the ambient water vapor partial pressure according to the ambient temperature value and the ambient humidity value.
[0096] The specific calculation formula for the ambient water vapor partial pressure is as follows:
[0097]
[0098] Among them, p a represents the ambient water vapor partial pressure, H cur Indicates the ambient humidity value of the target area, T cur Indicates the ambient temperature value of the target area.
[0099] Step 305 , determining the current temperature comfort value of the user in the target area according to the human body metabolic rate and the ambient water vapor partial pressure.
[0100] Furthermore, the target edge gateway determines the current temperature comfort value of the user in the target area according to the human body metabolic rate and the ambient water vapor partial pressure. The specific calculation formula is as follows:
[0101] PMV cur =[0.303*exp(-0.036M)+0.028]*{M-3.05*10 -3 *[5733-6.99Mp a ]-1.7*10 -5 *M*[5867-p a ]-0.42*(M-58.15)};
[0102] Among them, PMV cur It represents the current temperature comfort value, and M represents the human body metabolic rate.
[0103] Step 306 , determining a final operating power based on the current temperature comfort value, and controlling the temperature control device to operate at the final operating power.
[0104] Furthermore, the target edge gateway determines the final operating power according to the current temperature comfort value, and controls the temperature control device to operate at the final operating power. The calculation formula of the final operating power is as follows:
[0105] P all =P base +K p (PMV cur -PMV target );
[0106] Among them, P all Indicates the final operating power, P base Indicates the basic operating power of the temperature control equipment, K p Indicates preset parameters, PMV target Indicates the preset temperature comfort threshold.
[0107] In the process of transmitting device information to the regional gateway through the second Star Flash communication module, the embodiment of the present invention controls the operation of the local temperature control device after determining through environmental information whether the conditions for controlling the temperature control device are met, thereby achieving rapid local automatic control while ensuring the stability, reliability and data transmission rate of the intelligent sensor network system.
[0108] In one embodiment, the device information includes device temperature information, device current information, device voltage information, and device power information. The regional gateway includes an abnormality analysis model, which includes a feature conversion layer, a correlation analysis layer, and an abnormal tendency assessment layer. Therefore, the specific steps of performing abnormality analysis on the device information based on the regional gateway and obtaining the abnormality analysis result include:
[0109] Step 401, input the device information into the abnormal analysis model, perform feature conversion on the device temperature information, device current information, device voltage information and device power information based on the feature conversion layer, and obtain converted temperature information, converted current information, converted voltage information and converted power information output by the feature conversion layer respectively.
[0110] Specifically, the regional gateway inputs the device temperature information, device current information, device voltage information and device power information into the abnormal analysis model. The feature conversion layer performs feature conversion on the device temperature information to obtain the converted temperature information. The specific formula is as follows:
[0111]
[0112] Among them, T new Indicates the converted temperature information, T h Indicates device temperature information.
[0113] Optionally, the feature conversion layer performs feature conversion on the device current information to obtain converted current information. The specific formula is as follows:
[0114]
[0115] Among them, I new represents the converted current information, and I represents the device current information.
[0116] Optionally, the feature conversion layer performs feature conversion on the device voltage information to obtain converted voltage information. The specific formula is as follows:
[0117]
[0118] Among them, V new Indicates the converted voltage information, V h Indicates device voltage information.
[0119] Optionally, the feature conversion layer performs feature conversion on the device power information to obtain converted power information. The specific formula is as follows:
[0120]
[0121] Among them, P new Indicates the power information after conversion, and P indicates the device power information.
[0122] Step 402 , performing correlation analysis on the characteristic converted information based on the correlation analysis layer, and outputting the cross term between any two characteristic converted information among the converted temperature information, the converted current information, the converted voltage information and the converted power information.
[0123] Furthermore, the correlation analysis layer performs correlation analysis on the feature converted information, that is, analyzes the correlation between the converted temperature information, the converted current information, the converted voltage information and the converted power information, and obtains the cross term between any two feature converted information in the converted temperature information, the converted current information, the converted voltage information and the converted power information. The specific formula is as follows:
[0124] C TI =T new *I new *[1+sin(T new -I new )];
[0125] Among them, C TI Represents the cross term between the converted temperature information and the converted current information.
[0126] C TV =T new *V new *[1+cos(T new +V new )];
[0127] Among them, C TI Represents the cross term between the converted temperature information and the converted voltage information.
[0128] C TP =T new *P new *[1+tanh(T new -P new )];
[0129] Among them, C TI Represents the cross term between the converted temperature information and the converted power information.
[0130]
[0131] Among them, C IV Represents the cross term between the converted current information and the converted voltage information.
[0132]
[0133] Among them, C IP Represents the cross term between the converted current information and the converted power information.
[0134]
[0135] Among them, C VP Represents the cross term between the converted voltage information and the converted power information.
[0136] Step 403: Based on the abnormal tendency assessment layer, the abnormal probability is calculated according to each cross item, and the abnormal analysis result is output.
[0137] Furthermore, the abnormal tendency assessment layer performs weighted summation on each cross term to obtain the weighted sum of all cross terms. The specific formula is as follows:
[0138] S=∑ i,j∈{T,I,V,P},i≠j w ij C ij ;
[0139] Among them, S represents the weighted sum of all cross terms, C ij Represents each cross entropy, w ij Indicates the preset weight value corresponding to each cross entropy.
[0140] Furthermore, the abnormal tendency assessment layer calculates the abnormal probability according to the weighted sum of all cross terms, and outputs the abnormal probability as the abnormal analysis result. The calculation formula of the abnormal probability is as follows:
[0141]
[0142] Among them, P ad represents the abnormal probability, α and β represent the model parameters, and F ad Represents the comprehensive eigenvalue.
[0143] The embodiment of the present invention performs abnormal analysis on smart home devices through a pre-trained abnormal analysis model combined with device information, and can accurately predict abnormal results of smart home devices. Therefore, users can quickly understand the situation of abnormal smart home devices, thereby improving maintenance efficiency.
[0144] In one embodiment, the protocol encryption in the embodiment of the present invention is quantum bit protocol encryption. Therefore, based on the central gateway, the abnormal analysis result is subjected to protocol encryption to obtain encrypted data, including:
[0145] Step 501: convert the abnormality analysis result into a corresponding angle value, and determine the target two-dimensional vector based on the angle value.
[0146] The abnormal analysis result in the embodiment of the present invention is an abnormal probability value, that is, 0≤P ad ≤1, therefore, the central gateway converts the abnormal analysis result into the corresponding angle value θ, which can be expressed as θ=2πP ad .
[0147] Furthermore, the central gateway constructs a mapping relationship between the angle value θ and the radius r according to the spiral equation. The mapping relationship can be expressed as r = 1 / 1 + cos(θ), and calculates the coordinates (x, y) of the point on the spiral line according to the radius r, x = rcos(θ)*(1+sin(θ)2 ), y = rsin(θ)*(1+cos(θ) 2 ).
[0148] Furthermore, the central gateway determines the target two-dimensional vector V according to the coordinates (x, y) ad =(x,y).
[0149] Step 502, perform quantum bit encryption based on the target two-dimensional vector to obtain target quantum bit state parameters.
[0150] Furthermore, the central gateway performs quantum bit encryption according to the target two-dimensional vector to obtain the target quantum bit state parameter, specifically: the central gateway converts the two-dimensional vector target two-dimensional vector V ad Mapped to the initial quantum bit state, in one embodiment, the initial quantum bit state is |ψ>=α|0>+β|1>, where |0> and |1> represent two basic states of the quantum bit, α and β represent complex coefficients, satisfying |α| 2 +|β| 2 =1.
[0151] Therefore, α and β can be expressed as
[0152] Further, the central gateway rotates the initial quantum bit state to obtain a rotated quantum bit state. In one embodiment, the rotated quantum bit state is in, represents the rotation angle, Represents a rotation matrix.
[0153]
[0154] Therefore, the rotated quantum bit state |ψ new > can be expressed as:
[0155]
[0156] Furthermore, the central gateway calculates the quantum bit state after rotation |ψ new >Calculate and obtain the target quantum bit state parameter α new and β new , where α new and β new It can be expressed as:
[0157]
[0158] Step 503, determine the binary code based on the target quantum bit state parameter, and determine the encrypted data based on the binary code.
[0159] Furthermore, the central gateway calculates the target quantum bit state parameter α new and β new Determine a first encoding parameter A1 and a second encoding parameter A2, wherein the first encoding parameter A1 and the second encoding parameter A2 can be expressed as:
[0160] Furthermore, the central gateway converts the first encoding parameter and the second encoding parameter into binary respectively to obtain a first binary code and a second binary code.
[0161] Furthermore, the central gateway concatenates the first binary code and the second binary code to obtain a binary code sequence, and determines the binary code sequence as encrypted data.
[0162] The embodiment of the present invention encrypts the abnormal analysis results through quantum bit protocol encryption, thereby preventing the abnormal results from being tampered with and cracked during transmission, and improving the security of the sensor network system.
[0163] Optional, see Figure 2 , Figure 2 : is a flow chart of the smart home connection method provided by the present invention. The execution subject of the smart home connection method in the embodiment of the present invention is an edge gateway, so the specific steps of the smart home connection method include:
[0164] Step 21, based on the target edge gateway, broadcast the connection signal to the smart home device in a broadcasting form through the first Star Flash communication module.
[0165] Specifically, the target edge gateway in the embodiment of the present invention is an edge gateway in any target area. The target edge gateway broadcasts the connection signal generated by it to the smart home device in real time through the first Star Flash communication module in broadcast form, wherein the generation process of the connection signal is specifically as described in steps a1 to a4. The purpose of broadcasting information in the embodiment of the present invention is to enable multiple smart home devices to receive the connection signal at the same time, and the connection signal includes at least shared key protocol mode information and encrypted message data encrypted based on the encryption key information corresponding to the shared key protocol mode information.
[0166] In one embodiment, steps a1 to a4 are described as follows:
[0167] Step a1, obtain the location coordinates of each smart home device in the target area and the unique identifier of the target edge gateway.
[0168] It should be noted that the target edge gateway in the embodiment of the present invention is represented by G. After each smart home device is installed, its corresponding location coordinates will be entered into the location list of the database.
[0169] Therefore, the target edge gateway G traverses the location list in the database and obtains the smart home device set H in the target area. all =(H1,H2,...,H m ), m represents the number of smart home devices, and the location coordinates of smart home devices are
[0170] Furthermore, the target edge gateway obtains its own unique identification ID G .
[0171] Step a2: Generate encryption key information according to a preset mapping function combined with the shared key protocol mode information and the unique identifier of the target edge gateway.
[0172] Further, the target edge gateway G combines the shared key protocol mode information M and the unique identification ID of the target edge gateway G according to a preset mapping function. G Generate encryption key information K c , where the shared key agreement mode information M includes various parameters such as key generation algorithm type, key length, number of encryption rounds, etc. The shared key agreement mode information M is expressed as Where k represents the number of parameters, therefore, the encryption key information K c It can be expressed as f(·) represents a mapping function. The mapping function in the embodiment of the present invention may be a hash function, a pseudo-random function, etc.
[0173] Step a3: encrypt the preset original message data based on the encryption key information to obtain encrypted message data.
[0174] Furthermore, the target edge gateway G randomly obtains a preset original message data D, and divides the original message data D into q data block sequences {D1, D2, ..., D q}, and encrypt the q data block sequences respectively to obtain the encrypted data to Represents an encryption operation.
[0175] Furthermore, the target edge gateway G will encrypt the data to After concatenation, the encrypted message data E(D) is obtained. Therefore, the encrypted message data E(D) can be expressed as in, Indicates the encryption key information K c The data obtained after encrypting the qth data block, || represents the concatenation operation.
[0176] Step a4, generating a connection signal based on the fusion of the location coordinates, the shared key protocol mode information and the encrypted message data.
[0177] Furthermore, the target edge gateway sends the location coordinates of the smart home device The shared key protocol mode information M and the encrypted message data E(D) are merged to generate a connection signal Sigal(D). Therefore, the connection signal can be expressed as
[0178] Step 22, after the first smart home device receives the connection signal through the first Star Flash communication module, the decryption key information corresponding to the shared key protocol mode information is obtained according to the analysis result of the connection signal.
[0179] Furthermore, the first smart home device in the embodiment of the present invention is any smart home device in the target area. Therefore, after receiving the connection signal through the first Star Flash communication module, the first smart home device parses the connection signal to obtain the parsing result, and can obtain the shared key protocol mode information and encrypted message data in the connection signal. The connection signal in the embodiment of the present invention can also include the location coordinates of the smart home device. Therefore, the parsing result obtained by the first smart home device also includes the location coordinates.
[0180] Therefore, the first smart home device compares the location coordinates with its own location coordinates to obtain a comparison result. Further, if the comparison result shows that its own location coordinates do not belong to the location coordinates in the analysis result, the first smart home device terminates the device connection.
[0181] Furthermore, if the comparison result shows that the location coordinates of the first smart home device belong to the location coordinates in the parsing result, the first smart home device matches the shared key protocol mode information in the locally pre-stored key mapping table to obtain the decryption key information K corresponding to the shared key protocol mode information. d Among them, the key mapping table is set when the smart home device leaves the factory, and the key mapping table stores various protocol mode information and its corresponding encryption key information and decryption key information.
[0182] Step 23, based on the first smart home device, the encrypted message data is decrypted according to the decryption key information to obtain decryption information, and the decryption information is broadcast to the target edge gateway through the first Star Flash communication module as a request signal.
[0183] Furthermore, the first smart home device decrypts the encrypted message data according to the decryption key information to obtain the decrypted information D L , where the decrypted information D L It can be expressed as D L =η(E(D),Kd ,ID G ), η(·) represents a decryption operation. Further, the first smart home device uses the decrypted information D L The request signal is broadcast to the target edge gateway through the first star flash communication module. Therefore, the request signal can be expressed as Sigal(B)=D L .
[0184] Step 24, after the target edge gateway receives the request signal through the first Star Flash communication module, a communication connection with the first smart home device is established according to the authentication result of the decrypted information.
[0185] Further, after receiving the request signal through the first Star Flash communication module, the target edge gateway parses the request signal to obtain the decryption information D in the request signal. L , and decrypt the information D L Authentication is performed to obtain an authentication result. Further, the target edge gateway establishes a communication connection with the first smart home device according to the authentication result of the decrypted information, as described in steps b1 to b3.
[0186] In one embodiment, steps b1 to b3 are described as follows:
[0187] Step b1, processing the decrypted information based on a preset hash function to obtain a hash processing result.
[0188] Optionally, the target edge gateway processes the decrypted information according to a preset hash function to obtain a hash processing result, wherein the preset hash function can be expressed as:
[0189]
[0190] Among them, H(D L ) represents the hash processing result, D L [i] indicates decrypted information D L The i-th byte of n represents the decrypted information D L The byte length of
[0191] Step b2, generating a feature vector based on the hash processing result, and determining the authentication result of the decrypted information based on the feature vector.
[0192] Further, the target edge gateway hashes the result H(D L ) is converted into a w-bit binary number. In one embodiment, the binary number can represent b w-1 b w-2 ...b0, where w can be set according to actual conditions, such as w=256. Further, the target edge gateway converts the binary number b w-1b w-2 ...b0 is divided into z fields of equal length, such as z = 8, etc. Therefore, the length of each field is d z =w / z, therefore, each element g[i], (0≤i≤z) in the feature vector g is an integer represented by the corresponding field.
[0193] The target edge gateway of the embodiment of the present invention pre-stores a key matrix C, whose dimension is z*z, and the elements in the key matrix C are integers randomly generated when the target edge gateway is initialized, such as 0 to 2 31 -1.
[0194] Furthermore, the target edge gateway generates an authentication result of the decrypted information according to the feature vector g and the key matrix C. The authentication result is an authentication vector, which is represented as authentication vector A. The calculation formula of the jth element of the authentication vector A is:
[0195]
[0196] Among them, C ij represents the element in the i-th row and j-th column of the key matrix C, R = 2 64 +31.
[0197] Step b3: If the authentication result is matched in the threshold vector of the target edge gateway, a communication connection is established between the target edge gateway and the first smart home device.
[0198] Further, the target edge gateway matches each element A[j] in the authentication vector A with each element in the threshold vector T of the target edge gateway, and determines whether there is T[j] matching the element A[j] in the threshold vector T. If it is determined that there is T[j] matching the element A[j] in the threshold vector T, the target edge gateway establishes a communication connection with the first smart home device, otherwise it does not establish a communication connection with the first smart home device.
[0199] The embodiment of the present invention establishes a communication connection between a smart home device and an edge gateway through a Star Flash communication module. Since the Star Flash communication module supports multi-hop transmission, it effectively expands the coverage of the smart sensor network system and improves the reliability of the smart sensor network system. At the same time, the Star Flash communication module has strong anti-interference ability and can stably transmit data even in a complex electromagnetic environment, reducing signal packet loss and interruption, and improving the stability of the smart sensor network system. At the same time, the Star Flash communication module can transmit data at high speed, which can meet the needs of real-time transmission of large amounts of data such as high-definition video equipment control, and improve the data transmission rate of the smart sensor network system.
[0200] See also Figure 3 , Figure 3 FIG. 1 is an embodiment diagram of an electronic device provided by an embodiment of the present invention. Figure 3 As shown, an embodiment of the present invention provides an electronic device 300, including a memory 310, a processor 320, and a computer program 311 stored in the memory 310 and executable on the processor 320. When the processor 320 executes the computer program 311, the following steps are implemented:
[0201] Based on the target edge gateway, the connection signal is broadcasted to the smart home device through the first Star Flash communication module in a broadcasting form; the target edge gateway is an edge gateway in any target area, and the connection signal includes at least shared key protocol mode information and encrypted message data encrypted based on the encryption key information corresponding to the shared key protocol mode information;
[0202] After the first smart home device receives the connection signal through the first star flash communication module, the decryption key information corresponding to the shared key protocol mode information is obtained according to the analysis result of the connection signal; the first smart home device is any smart home device in the target area;
[0203] Decrypting the encrypted message data based on the decryption key information of the first smart home device to obtain decryption information, and broadcasting the decryption information as a request signal to the target edge gateway through the first Star Flash communication module;
[0204] After the target edge gateway receives the request signal through the first Star Flash communication module, a communication connection with the first smart home device is established according to the authentication result of the decrypted information.
[0205] See also Figure 4 , Figure 4 Detailed description of an embodiment of a computer-readable storage medium provided by an embodiment of the present invention. Figure 4 As shown, this embodiment provides a computer-readable storage medium 400, on which a computer program 311 is stored. When the computer program 311 is executed by a processor, the following steps are implemented:
[0206] Based on the target edge gateway, the connection signal is broadcasted to the smart home device through the first Star Flash communication module in a broadcasting form; the target edge gateway is an edge gateway in any target area, and the connection signal includes at least shared key protocol mode information and encrypted message data encrypted based on the encryption key information corresponding to the shared key protocol mode information;
[0207] After the first smart home device receives the connection signal through the first star flash communication module, the decryption key information corresponding to the shared key protocol mode information is obtained according to the analysis result of the connection signal; the first smart home device is any smart home device in the target area;
[0208] Decrypting the encrypted message data based on the decryption key information of the first smart home device to obtain decryption information, and broadcasting the decryption information as a request signal to the target edge gateway through the first Star Flash communication module;
[0209] After the target edge gateway receives the request signal through the first Star Flash communication module, a communication connection with the first smart home device is established according to the authentication result of the decrypted information.
[0210] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the smart home connection method provided by the above methods, the method includes:
[0211] Based on the target edge gateway, the connection signal is broadcasted to the smart home device through the first Star Flash communication module in a broadcasting form; the target edge gateway is an edge gateway in any target area, and the connection signal includes at least shared key protocol mode information and encrypted message data encrypted based on the encryption key information corresponding to the shared key protocol mode information;
[0212] After the first smart home device receives the connection signal through the first star flash communication module, the decryption key information corresponding to the shared key protocol mode information is obtained according to the analysis result of the connection signal; the first smart home device is any smart home device in the target area;
[0213] Decrypting the encrypted message data based on the decryption key information of the first smart home device to obtain decryption information, and broadcasting the decryption information as a request signal to the target edge gateway through the first Star Flash communication module;
[0214] After the target edge gateway receives the request signal through the first Star Flash communication module, a communication connection with the first smart home device is established according to the authentication result of the decrypted information.
[0215] The system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0216] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0217] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A smart sensor network system based on star flash, characterized in that: It includes smart home devices, a smart home control center and smart terminal devices; the smart home devices include smart sensors and a first Star Flash communication module; the smart home control center includes an edge gateway, a regional gateway and a central gateway, and the edge gateway, the regional gateway and the central gateway are connected based on the second Star Flash communication module; the central gateway is connected to the smart terminal device based on the third Star Flash communication module; Establishing a communication connection between a first Star Flash communication module of a first smart home device and a corresponding target edge gateway; the target edge gateway is an edge gateway of any target area, and the first smart home device is any smart home device in the target area; Based on the smart sensor in the first smart home device, the device information of the first smart home device and the environmental information of the target area are collected, and based on the first Star Flash communication module of the first smart home device, the environmental information and the device information are transmitted to the target edge gateway; Controlling a second smart home device based on the target edge gateway according to the environmental information, and transmitting the device information to the regional gateway based on the second Star Flash communication module; Performing an abnormality analysis on the device information based on the regional gateway to obtain an abnormality analysis result, and transmitting the abnormality analysis result to the central gateway based on the second star flash communication module; The abnormal analysis result is encrypted by protocol based on the central gateway to obtain encrypted data, and the encrypted data is transmitted to the smart terminal device based on the third Star Flash communication module.
2. The intelligent sensor network system based on star flash according to claim 1 is characterized in that: The environmental information includes an environmental temperature value, an environmental humidity value and human body sensing information, wherein the human body sensing information indicates whether there is a user in the target area, and the second smart home device includes a dehumidification device; The target edge gateway is used to perform the following steps: If it is determined based on the human body sensing information that there is a user in the target area, then determining the indoor water vapor generation rate of the target area based on the number of users in the target area and a preset average value of the rate at which each user generates water vapor per unit time; Determine the current total humidity of the target area based on the ambient temperature value and the ambient humidity value; Determining a dehumidification rate of the target area based on the indoor water vapor generation rate and the current total humidity, and controlling the dehumidification device to operate at the dehumidification rate; Accordingly, the calculation formula of the dehumidification rate is as follows: Among them, F out represents the dehumidification rate, t represents the target time to adjust the humidity value to the preset humidity comfort threshold, H cur Indicates the ambient humidity value of the target area, H target represents the preset humidity comfort threshold, V represents the volume of the target area, ρ air represents the air density, T cur represents the ambient temperature value of the target area, n represents the number of users, F in Indicates the average rate at which each preset user generates water vapor per unit time.
3. The intelligent sensor network system based on star flash according to claim 1 is characterized in that: The environmental information includes an environmental temperature value, an environmental humidity value, and human body sensing information, wherein the human body sensing information indicates whether there is a user in the target area, and the second smart home device includes a temperature control device; The target edge gateway is used to perform the following steps: If it is determined based on the human body sensing information that there is a user in the target area, determining a human body metabolic rate according to the state information of the user in the target area, and determining an ambient water vapor partial pressure based on the ambient temperature value and the ambient humidity value; Determining a current temperature comfort value of a user in the target area according to the human body metabolic rate and the ambient water vapor partial pressure; determining a final operating power based on the current temperature comfort value, and controlling the temperature control device to operate at the final operating power; Accordingly, the calculation formula of the final operating power is as follows: P all =P base +K p (PMV cur -PMV target ); PMV cur =[0.303*exp(-0.036M)+0.028]*{M-3.05*10 -3 *[5733-6.99M-p a ]-1.7*10 -5 *M*[5867-p a ]-0.42*(M-58.15)}; Among them, P all Indicates the final operating power, P base Indicates the basic operating power of the temperature control equipment, K p Indicates preset parameters, PMV cur Indicates the current temperature comfort value, PMV target represents the preset temperature comfort threshold; M represents the human metabolic rate, which is determined based on the user's status information; p a represents the ambient water vapor partial pressure, H cur Indicates the ambient humidity value of the target area, T cur Indicates the ambient temperature value of the target area.
4. The intelligent sensor network system based on star flash according to claim 1 is characterized in that: The device information includes device temperature information, device current information, device voltage information and device power information; the regional gateway includes an abnormality analysis model, and the abnormality analysis model includes a feature conversion layer, a correlation analysis layer and an abnormal tendency assessment layer; The regional gateway performs the following steps: The device information is input into the abnormality analysis model, and based on the feature conversion layer, the device temperature information, the device current information, the device voltage information and the device power information are feature converted to obtain converted temperature information, converted current information, converted voltage information and converted power information output by the feature conversion layer respectively; Performing correlation analysis on the characteristic converted information based on the correlation analysis layer, and outputting a cross term between any two characteristic converted information among the converted temperature information, the converted current information, the converted voltage information and the converted power information; Based on the abnormal tendency assessment layer, the abnormal probability is calculated according to each of the cross items, and the abnormal analysis result is output.
5. The intelligent sensor network system based on star flash according to claim 1 is characterized in that: The protocol encryption is quantum bit protocol encryption; the central gateway performs the following steps: Converting the abnormality analysis result into a corresponding angle value, and determining a target two-dimensional vector based on the angle value; Perform quantum bit encryption based on the target two-dimensional vector to obtain a target quantum bit state parameter; A binary code is determined based on the target quantum bit state parameter, and the encrypted data is determined based on the binary code.
6. A smart home connection method, applied to the StarFlash-based smart sensor network system as claimed in any one of claims 1 to 5, characterized in that: The smart home connection method comprises: Based on the target edge gateway, a connection signal is broadcasted to the smart home device through the first Star Flash communication module in a broadcasting form; the target edge gateway is an edge gateway in any target area, and the connection signal includes at least shared key protocol mode information and encrypted message data encrypted based on the encryption key information corresponding to the shared key protocol mode information; After the first smart home device receives the connection signal through the first Star Flash communication module, the decryption key information corresponding to the shared key protocol mode information is obtained according to the analysis result of the connection signal; the first smart home device is any smart home device in the target area; Decrypting the encrypted message data based on the decryption key information by the first smart home device to obtain decryption information, and broadcasting the decryption information as a request signal to the target edge gateway through the first Star Flash communication module; After the target edge gateway receives the request signal through the first Star Flash communication module, a communication connection with the first smart home device is established according to the authentication result of the decrypted information.
7. The smart home connection method according to claim 6, characterized in that: The establishing a communication connection with the first smart home device according to the authentication result of the decrypted information includes: Processing the decrypted information based on a preset hash function to obtain a hash processing result; generating a feature vector based on the hash processing result, and determining an authentication result of the decrypted information based on the feature vector; If the authentication result is matched in the threshold vector of the target edge gateway, a communication connection between the target edge gateway and the first smart home device is established.
8. The smart home connection method according to claim 6 or 7, characterized in that: The specific steps of generating the connection signal are as follows: Obtaining the location coordinates of each smart home device in the target area and the unique identifier of the target edge gateway; Generate encryption key information according to a preset mapping function in combination with the shared key protocol mode information and the unique identifier of the target edge gateway; Encrypting the preset original message data based on the encryption key information to obtain the encrypted message data; The connection signal is generated based on the fusion of the location coordinates, the shared key protocol mode information and the encrypted message data.
9. An electronic device, comprising: A memory and a processor, characterized in that a computer software program is stored in the memory, and when the processor reads and executes the computer software program, the smart home connection method as described in any one of claims 6 to 8 is implemented.
10. A non-transitory computer-readable storage medium, characterized in that: The storage medium stores a computer software program, and when the computer software program is executed by the processor, the smart home connection method according to any one of claims 6 to 8 is implemented.
Citation Information
Patent Citations
Intelligent home control method and system, and computer-readable storage medium
CN110806708A
Intelligent household authentication and encryption method based on local area network and system thereof
CN113890778A
Smart home regulation and control system based on edge computing
CN115469557A
Intelligent gateway, equipment monitoring method based on intelligent gateway and electronic equipment
CN115541965A
Air conditioner and fresh air control method of air conditioner
CN115789774A