Mesh password updating method and device and electronic equipment
By using BLE modules to synchronize the target Mesh password in the Mesh network, the problem of low security of Mesh network is solved, automatic update and secure recovery of node passwords are realized, and the security of the entire network is improved.
Patent Information
- Application Number
- CN202411332171.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2025-01-10
AI Technical Summary
After any node in the Mesh network is compromised, the security of the entire network is low, and the attacker can threaten the entire network for a long time.
By setting up a BLE module in the Mesh node, receiving and sending password update broadcasts, synchronizing the target Mesh password to the entire network, ensuring that all nodes continuously update passwords at the target broadcast frequency, and preventing security threats caused by the single node being compromised.
Improves the security of the Mesh network, ensuring that even if the current password of a certain node is compromised, security will be restored in the next password update, avoiding long-term security threats to the entire network.
Smart Images

Figure CN119300015A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a Mesh password updating method, updating device and electronic device. Background Art
[0002] Currently, Mesh networks are widely used in home and enterprise environments due to their high coverage and stable connection advantages.
[0003] In a Mesh network, all Mesh nodes are interconnected, and each Mesh node has multiple connection channels. All Mesh nodes form an integrated network. Therefore, when any Mesh node in the Mesh network is compromised, the security of the entire network will be threatened. Attackers can use this vulnerability to threaten the entire network for a long time, resulting in low security of the Mesh network.
[0004] Therefore, how to improve the security of Mesh networks has become an urgent problem to be solved. Summary of the invention
[0005] The embodiments of the present application provide a Mesh password updating method, an updating device, and an electronic device, aiming to solve the problem of low security of the Mesh network.
[0006] In the first aspect, an embodiment of the present application provides a Mesh password update method, which is applied to a target Mesh node, wherein the target Mesh node is any Mesh node in a Mesh network, and the Mesh node is provided with a BLE module. The method comprises: receiving, through the BLE module, a password update broadcast sent by a BLE control module based on a target broadcast frequency, wherein the password update broadcast carries a target Mesh password; the target Mesh password is set through a device and sent to the BLE control module; a password is updated based on the target Mesh password; and the target Mesh password is synchronized to other Mesh nodes in the Mesh network.
[0007] In a possible implementation, the password update based on the target Mesh password includes: comparing the target Mesh password with the current Mesh password; when the target Mesh password is different from the current Mesh password, updating the current Mesh password with the target Mesh password.
[0008] In the second aspect, an embodiment of the present application provides a Mesh password update method, which is applied to a BLE control module, wherein the BLE control module is communicatively connected to a Mesh network, wherein the Mesh network includes multiple Mesh nodes, and the Mesh nodes are provided with a BLE module; the method includes: receiving password update configuration information sent by a device end, wherein the password update configuration information includes a target Mesh password and a target broadcast frequency; sending a password update broadcast to the Mesh network based on the target broadcast frequency, wherein the password update broadcast carries the target Mesh password, so that the target Mesh node in the Mesh network receives the password update broadcast through the BLE module, performs a password update based on the target Mesh password, and synchronizes the target Mesh password to other Mesh nodes in the Mesh network.
[0009] In a possible implementation, the password update configuration information includes multiple target Mesh passwords and a target broadcast frequency; sending a password update broadcast to the Mesh network based on the target broadcast frequency includes: generating a corresponding password update broadcast according to each target Mesh password; and sending each password update broadcast to the Mesh network in turn according to the target broadcast frequency.
[0010] In a possible implementation, the password update configuration information includes multiple target Mesh passwords and target broadcast frequencies corresponding to each target Mesh password; sending a password update broadcast to the Mesh network based on the target broadcast frequency includes: generating a corresponding password update broadcast according to each target Mesh password; and sending each password update broadcast to the Mesh network in turn according to the target broadcast frequency corresponding to each target Mesh password.
[0011] In a possible implementation, before sending the password update broadcast to the Mesh network based on the target broadcast frequency, the method further includes: processing the password update broadcast using an encryption algorithm and / or a signature algorithm.
[0012] In the third aspect, an embodiment of the present application provides a Mesh password update method, which is applied to a device side, wherein the device side is communicatively connected to a BLE control module, and the BLE control module is communicatively connected to a Mesh network, and the Mesh network includes multiple Mesh nodes, and the Mesh nodes are provided with BLE modules; the method includes: obtaining a target broadcast frequency and a target Mesh password; using the target broadcast frequency and the target Mesh password to generate password update configuration information, and sending the password update configuration information to the BLE control module; so that the BLE control module sends a password update broadcast to the Mesh network based on the target broadcast frequency, and the password update broadcast carries the target Mesh password; the target Mesh node in the Mesh network receives the password update broadcast through the BLE module, updates the password based on the target Mesh password, and synchronizes the target Mesh password to other Mesh nodes in the Mesh network; the target Mesh node is any Mesh node in the Mesh network.
[0013] In the fourth aspect, an embodiment of the present application provides a Mesh password update device, which is applied to a target Mesh node, wherein the target Mesh node is any Mesh node in the Mesh network, and the Mesh node is provided with a BLE module. The device includes: a broadcast receiving unit, which is used to receive, through the BLE module, a password update broadcast sent by the BLE control module based on the target broadcast frequency, and the password update broadcast carries a target Mesh password; the target Mesh password is set by the device side and sent to the BLE control module; a password update unit, which is used to update the password based on the target Mesh password; and a password synchronization unit, which is used to synchronize the target Mesh password to other Mesh nodes in the Mesh network.
[0014] In the fifth aspect, an embodiment of the present application provides a Mesh password update system, the system comprising a Mesh network, a BLE control module and a device end, the Mesh network is communicatively connected to the BLE control module, and the BLE control module is communicatively connected to the device end; the Mesh network comprises multiple Mesh nodes; the Mesh node is provided with a BLE module; the device end is used to obtain a target broadcast frequency and a target Mesh password; the password update configuration information is generated using the target broadcast frequency and the target Mesh password, and the password update configuration information is sent to the BLE control module; the BLE control module is used to receive the password update configuration information sent by the device end, and send a password update broadcast to the Mesh network based on the target broadcast frequency; the password update broadcast carries the target Mesh password; the target Mesh node is used to receive the password update broadcast sent by the BLE control module based on the target broadcast frequency through the BLE module, update the password based on the target Mesh password, and synchronize the target Mesh password to other Mesh nodes in the Mesh network; the target Mesh node is any Mesh node in the Mesh network.
[0015] In a sixth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described in the first aspect, the second aspect, the third aspect, or any one of the implementation methods thereof is implemented.
[0016] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the method described in the first aspect, the second aspect, the third aspect, or any one of the implementation methods thereof.
[0017] In an eighth aspect, an embodiment of the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the method described in the first aspect, the second aspect, the third aspect, or any one of the implementation methods thereof.
[0018] Compared with the prior art, the beneficial effects of the embodiments of the present application are as follows: all Mesh nodes in the Mesh network are provided with a BLE module, the target Mesh password is set on the device side, and the target Mesh password is sent to the BLE control module, the BLE control module sends a password update broadcast based on the target broadcast frequency, and the password update broadcast carries the target Mesh password; the target Mesh node in the Mesh network receives the password update broadcast through the BLE module, that is, obtains the target Mesh password, updates the password based on the target Mesh password, and synchronizes the target Mesh password to other Mesh nodes in the Mesh network. In other words, any Mesh node in the Mesh network can use the target Mesh password received based on the target broadcast frequency to update the Mesh password of all Mesh nodes in the Mesh network, so that the Mesh password of all Mesh nodes in the Mesh network can be continuously updated at the target broadcast frequency, so even if the current Mesh password of a Mesh node is hacked, it will be restored to security when the password is updated according to the target broadcast frequency next time, and the security of the entire Mesh network will not be threatened for a long time because a certain Mesh node is hacked. Therefore, the technical solution provided by the present application can improve the security of the Mesh network.
[0019] It can be understood that the Mesh password update device, Mesh password update system, electronic device, computer-readable storage medium and computer program product provided in the embodiments of the present application have the same beneficial effects as the above-mentioned Mesh password update method, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1 A Mesh password update system provided in one embodiment of the present application;
[0022] Figure 2 A flowchart of a Mesh password update method provided in an embodiment of the present application;
[0023] Figure 3 A flowchart of another Mesh password update method provided in an embodiment of the present application;
[0024] Figure 4 A flowchart of another Mesh password update method provided in an embodiment of the present application;
[0025] Figure 5 A timing diagram of a Mesh password update method provided in an embodiment of the present application;
[0026] Figure 6 A structural block diagram of a Mesh password update device provided in one embodiment of the present application;
[0027] Figure 7 A structural block diagram of another Mesh password update device provided in an embodiment of the present application;
[0028] Figure 8 A structural block diagram of another Mesh password updating device provided in an embodiment of the present application;
[0029] Fig. 9 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0030] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0031] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0032] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0033] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0034] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0035] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0036] Mesh networks are widely used in home and enterprise environments due to their high coverage and stable connection advantages. In a Mesh network, all Mesh nodes are connected to each other, each Mesh node has multiple connection channels, and all Mesh nodes form an integrated network. Therefore, when any Mesh node in the Mesh network is compromised, the security of the entire network will be threatened. Attackers can use this vulnerability to threaten the entire network for a long time, resulting in low security of the Mesh network.
[0037] In order to solve the above technical problems, the present application proposes a Mesh password update method, which is applied to a target Mesh node. The target Mesh node is any Mesh node in the Mesh network. The Mesh node is provided with a Bluetooth Low Energy (BLE) module. The target Mesh node receives the password update broadcast sent by the BLE control module based on the target broadcast frequency through the BLE module. The password update broadcast carries the target Mesh password; the target Mesh password is set through the device side and sent to the BLE control module; the password is updated based on the target Mesh password; the target Mesh password is synchronized to other Mesh nodes in the Mesh network, thereby improving the security of the Mesh network.
[0038] For ease of understanding, the technical solution of the present application will be described in detail below with reference to the accompanying drawings.
[0039] Figure 1 A Mesh password update system is provided in one embodiment of the present application. Figure 1As shown, the Mesh password update system 100 includes a Mesh network 110, a BLE control module 120 and a device end 130. The Mesh network 110 is connected to the BLE control module 120 in communication, and the BLE control module 120 is connected to the device end 130 in communication; the Mesh network 110 includes a plurality of Mesh nodes 111; and the Mesh node 111 is provided with a BLE module. Among them, any Mesh node 111 in the Mesh network 110 adds a low-cost BLE module based on the Mesh network technology, and is expanded on the basis of the Mesh protocol to realize password update based on the target Mesh password, and synchronize the target Mesh password to other Mesh nodes 111 in the Mesh network 110.
[0040] Specifically, the device end 130 is used to obtain the target broadcast frequency and the target Mesh password; generate password update configuration information using the target broadcast frequency and the target Mesh password, and send the password update configuration information to the BLE control module 120.
[0041] Exemplarily, the device end 130 may be a mobile phone, a tablet, a laptop computer, a wearable device, etc. In some embodiments, the device end 130 may have a good user interaction interface, for example, a touch screen, a camera, etc.
[0042] Specifically, the BLE control module 120 is used to receive the password update configuration information sent by the device end 130, and send a password update broadcast to the Mesh network 110 based on the target broadcast frequency; the password update broadcast carries the target Mesh password.
[0043] Specifically, any Mesh node 111 in the Mesh network 110 is used to receive through the BLE module the password update broadcast carrying the target Mesh password sent by the BLE control module 120 based on the target broadcast frequency, update the password based on the target Mesh password, and synchronize the target Mesh password to other Mesh nodes 111 in the Mesh network 110; after obtaining the target Mesh password, other Mesh nodes 111 also update the password based on the target Mesh password, and synchronize the target Mesh password to other Mesh nodes 111 in the Mesh network 110; so that each Mesh node in the Mesh network 110 is updated to the target Mesh password.
[0044] In one possible implementation, after the device end 130 is authorized by management, it obtains the target broadcast frequency and the target Mesh password through the user interaction interface; sends the password update configuration information including the target broadcast frequency and the target Mesh password to the BLE control module 120, and the BLE control module 120 sends a password update broadcast to the Mesh network 110 based on the target broadcast frequency, and the password update broadcast carries the target Mesh password; any Mesh node 111 in the Mesh network 110 receives the password update broadcast through the BLE module, updates the password based on the target Mesh password, and synchronizes the target Mesh password to other Mesh nodes 111 in the Mesh network 110.
[0045] In another possible implementation, when the device 130 is authorized by the application, the current Mesh password of the Mesh network 110 is obtained through the BLE control module 120, and a communication connection is established with any Mesh node 111 in the Mesh network 110 through the current Mesh password of the Mesh network 110.
[0046] Understandably, Figure 1 The system architecture shown is only an example of the Mesh password update system provided by the present application. In other embodiments of the present application, the Mesh password update system 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware, and the present application does not limit this.
[0047] The present embodiment provides a Mesh password updating system, in which any Mesh node in the Mesh network can use the target Mesh password received based on the target broadcast frequency to update the Mesh passwords of all Mesh nodes in the Mesh network, so that the Mesh passwords of all Mesh nodes in the Mesh network can be continuously updated at the target broadcast frequency. Therefore, even if the current Mesh password of a Mesh node is hacked, security will be restored the next time the password is updated according to the target broadcast frequency. The security of the entire Mesh network will not be threatened for a long time due to the hacking of a Mesh node, thereby improving the security of the Mesh network.
[0048] Figure 2 A flow chart of a Mesh password update method provided in an embodiment of the present application is shown. For the sake of convenience, only the part related to the present embodiment is shown. The method provided in the present embodiment is applied to a target Mesh node. The target Mesh node is any Mesh node in the Mesh network. The Mesh node is provided with a BLE module. As an example, the Mesh network and the target Mesh node can be respectively Figure 1The Mesh network 110 and the Mesh node 111 in the Mesh password update system 100 shown in the figure, the method provided in this embodiment includes the following steps:
[0049] S210, receiving, through the BLE module, a password update broadcast sent by the BLE control module based on the target broadcast frequency, where the password update broadcast carries a target Mesh password; the target Mesh password is set by the device side and sent to the BLE control module.
[0050] Specifically, any Mesh node in the Mesh network is equipped with a BLE module. The BLE module is a wireless communication module widely used in IoT devices, supporting Bluetooth protocol 4.0 or higher, with the characteristics of low power consumption, low cost and long-distance communication; it supports multiple working modes, including master mode, slave mode, master-slave mode, broadcast mode, etc. In this embodiment, a low-cost BLE module is added on the basis of Mesh network technology, and it is expanded on the basis of Mesh protocol.
[0051] In the specific implementation, the BLE module starts broadcast scanning and reception in real time. The target Mesh node in the Mesh network receives the password update broadcast sent by the BLE control module based on the target broadcast frequency through the BLE module. The password update broadcast carries the target Mesh password set by the device side and sent to the BLE control module.
[0052] As an example, before the target Mesh node receives the password update broadcast sent by the BLE control module based on the target broadcast frequency through the BLE module, the password management enable broadcast sent by the BLE control module is received through the BLE module. The password management enable broadcast carries a password management enable instruction set by the device side and sent to the BLE control module. The password management enable instruction is used to instruct the target Mesh node to enable the password management function. After the target Mesh node turns on the password management function based on the password management enable instruction, the password update broadcast sent by the BLE control module based on the target broadcast frequency can be identified through the BLE module.
[0053] As an example, the target Mesh node can also receive the password management shutdown broadcast sent by the BLE control module through the BLE module. The password management shutdown broadcast carries the password management shutdown instruction set by the device side and sent to the BLE control module. The password management shutdown instruction is used to instruct the target Mesh node to turn off the password management function.
[0054] S220: Update the password based on the target Mesh password.
[0055] In a specific implementation, the target Mesh node parses the received password update broadcast, obtains the target Mesh password, and uses the target Mesh password to update the current Mesh password. The current Mesh password of the target Mesh node is the Mesh password currently being used by the target Mesh node.
[0056] As an example, when the target Mesh node parses the received password update broadcast and obtains the target Mesh password, it directly changes the current Mesh password to the target Mesh password.
[0057] As another example, when the target Mesh node parses the received password update broadcast and obtains the target Mesh password, it first compares the current Mesh password with the target Mesh password. When the current Mesh password is different from the target Mesh password, the current Mesh password is replaced with the target Mesh password.
[0058] Optionally, after the current Mesh password is changed to the target Mesh password, the current Mesh password is stored.
[0059] S230, synchronizing the target Mesh password to other Mesh nodes in the Mesh network.
[0060] In a specific implementation, the target Mesh node synchronizes the parsed target Mesh password to all Mesh nodes in the Mesh network, so that the Mesh passwords of all Mesh nodes in the Mesh network are updated to the target Mesh password.
[0061] The technical solution provided by this embodiment is that any Mesh node in the Mesh network can use the target Mesh password received based on the target broadcast frequency to update the Mesh password of all Mesh nodes in the Mesh network, so that the Mesh passwords of all Mesh nodes in the Mesh network can be continuously updated at the target broadcast frequency. Therefore, even if the current Mesh password of a Mesh node is cracked, it will be restored to security when the password is updated next time according to the target broadcast frequency, and the security of the entire Mesh network will not be threatened for a long time because of the cracking of a Mesh node. Therefore, the technical solution provided by this embodiment can improve the security of the Mesh network.
[0062] Based on the above embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, the password is updated based on the target Mesh password, including:
[0063] Compare the target Mesh password with the current Mesh password;
[0064] When the target Mesh password is different from the current Mesh password, the current Mesh password is updated with the target Mesh password.
[0065] In the specific implementation, after the target Mesh node obtains the target Mesh password by parsing the password update broadcast, it compares the target Mesh password with the current Mesh password. When the target Mesh password is different from the current Mesh password, the current Mesh password is replaced with the target Mesh password; when the target Mesh password is the same as the current Mesh password, there is no need to update the password.
[0066] The technical solution provided in this embodiment is that when the target Mesh password is different from the current Mesh password of the target Mesh node, the current Mesh password is updated using the target Mesh password; when the target Mesh password is the same as the current Mesh password of the target Mesh node, the password is not updated, which improves the efficiency of password update and saves network resources.
[0067] Figure 3 A flow chart of another Mesh password update method provided in an embodiment of the present application is shown. For the sake of convenience, only the part related to the present embodiment is shown. The method provided in the present embodiment is applied to a BLE control module, and the BLE control module is connected to the Mesh network for communication. As an example, the BLE control module and the Mesh network can be respectively Figure 1 The BLE control module 120 and the Mesh network 110 in the Mesh password update system 100 shown in the figure, the method provided in this embodiment includes the following steps:
[0068] S310, receiving password update configuration information sent by the device, where the password update configuration information includes a target Mesh password and a target broadcast frequency.
[0069] In the specific implementation, the BLE control module first establishes an authentication connection with the device. After the authentication connection is established, the BLE control module determines whether the device has management authority. After determining that the device has management authority, the BLE control module receives the password update configuration information sent by the device. The password update configuration information includes the target Mesh password and the target broadcast frequency. Among them, the authentication connection adopts an encrypted authentication method.
[0070] As an example, after completing the authentication connection with the device and determining that the device has management authority, the BLE control module also receives a password management enable instruction or a password management disable instruction sent by the device. The password management enable instruction is used to instruct the target Mesh node to enable the password management function, and the password management disable instruction is used to instruct the target Mesh node to disable the password management function.
[0071] As another example, after the BLE control module completes the authentication connection with the device end, it is determined that the device end has application permissions. The BLE control module can receive a Mesh password request message sent by the device end with application permissions, and based on the Mesh password request message, send the current Mesh password of the Mesh network to the device end with application permissions, so that the device end with application permissions can establish a communication connection with any Mesh node in the Mesh network through the current Mesh password.
[0072] S320, sending a password update broadcast to the Mesh network based on the target broadcast frequency, the password update broadcast carries the target Mesh password, so that the target Mesh node in the Mesh network receives the password update broadcast through the BLE module, updates the password based on the target Mesh password, and synchronizes the target Mesh password to other Mesh nodes in the Mesh network.
[0073] In a specific implementation, the BLE control module sends a password update broadcast carrying a target Mesh password to the Mesh network according to the target broadcast frequency set therein based on the received password update configuration information.
[0074] As an example, the BLE control module first sends a password management enable broadcast to the Mesh network. The password management enable broadcast carries a password management enable instruction set by the device and sent to the BLE control module, so that the target Mesh node in the Mesh network enables the password management function based on the password management enable instruction, and then sends a password update broadcast carrying the target Mesh password to the Mesh network based on the target broadcast frequency.
[0075] As another example, the BLE control module sends a password management shutdown broadcast to the Mesh network, and the password management shutdown broadcast carries a password management shutdown instruction set by the device side and sent to the BLE control module, so that the target Mesh node in the Mesh network shuts down the password management function based on the password management shutdown instruction.
[0076] In one possible implementation, the password update configuration information sent by the device received by the BLE control module includes a target Mesh password and a target broadcast frequency. The BLE control module sends a password update broadcast to the Mesh network based on the target broadcast frequency, and the password update broadcast carries the target Mesh password.
[0077] In another possible implementation, the BLE control module receives the password update configuration information sent by the device according to the target broadcast frequency. The password update configuration information only includes a target Mesh password. After receiving the password update configuration information, the BLE control module immediately sends a password update broadcast to the Mesh network. The password update broadcast carries the target Mesh password, so that the Mesh network can update the password according to the target broadcast frequency.
[0078] In the technical solution provided by this embodiment, the BLE control module and the device end use an encrypted authentication method to authenticate the connection, thereby improving the security of the network connection; in addition, the BLE control module sends a password update broadcast to the Mesh network based on the target broadcast frequency, which enables the Mesh network to continuously update the Mesh password according to the target broadcast frequency, thereby improving the security of the Mesh network.
[0079] Based on the above embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, the password update configuration information includes multiple target Mesh passwords and a target broadcast frequency; sending a password update broadcast to the Mesh network based on the target broadcast frequency includes:
[0080] Generate corresponding password update broadcasts according to each target Mesh password;
[0081] Send each password update broadcast to the Mesh network in sequence according to the target broadcast frequency.
[0082] In a specific implementation, the password update configuration information sent by the device side received by the BLE control module includes multiple target Mesh passwords and a target broadcast frequency, indicating that multiple target Mesh passwords are sent to the Mesh network in sequence according to the same target broadcast frequency. The BLE control module generates corresponding password update broadcasts according to each target Mesh password, and then sends each password update broadcast to the Mesh network in sequence according to the target broadcast frequency, so that the Mesh password of the Mesh network is updated in sequence to the target Mesh password corresponding to each password update broadcast according to the target broadcast frequency.
[0083] As an example, the password update configuration information includes three target Mesh passwords and a target broadcast frequency, where the three target Mesh passwords are 123, 456, and 789 respectively, and the target broadcast frequency is 6 times / hour, that is, once every 10 minutes. The BLE control module sends a password update broadcast to the Mesh network 10 minutes after receiving the password update configuration information, carrying the target Mesh password 123; after another 10 minutes, it sends a password update broadcast to the Mesh network, carrying the target Mesh password 456; after another 10 minutes, it sends a password update broadcast to the Mesh network, carrying the target Mesh password 789.
[0084] The technical solution provided in this embodiment is that the device side can set multiple target Mesh passwords at the same time by sending a password update configuration information to the BLE control module, so that the BLE control module generates corresponding multiple password update broadcasts according to the multiple target Mesh passwords, and sends them to the Mesh network in sequence according to the target broadcast frequency, thereby improving the efficiency of password update and saving network resources.
[0085] Based on the above embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, the password update configuration information includes multiple target Mesh passwords and target broadcast frequencies corresponding to each target Mesh password; sending a password update broadcast to the Mesh network based on the target broadcast frequency includes:
[0086] Generate corresponding password update broadcasts according to each target Mesh password;
[0087] Each password update broadcast is sent to the Mesh network in sequence according to the target broadcast frequency corresponding to each target Mesh password.
[0088] In a specific implementation, the password update configuration information sent by the device side received by the BLE control module includes multiple target Mesh passwords and target broadcast frequencies corresponding to each target Mesh password, indicating that the target Mesh passwords are broadcast to the Mesh network in sequence according to the target broadcast frequencies corresponding to each target Mesh password. The BLE control module generates corresponding password update broadcasts according to each target Mesh password, and then sends each password update broadcast to the Mesh network in sequence according to the target broadcast frequencies corresponding to each target Mesh password, so that the Mesh password of the Mesh network is updated to the target Mesh password corresponding to each password update broadcast in sequence according to different target broadcast frequencies.
[0089] As an example, the password update configuration information includes 3 target Mesh passwords and 3 target broadcast frequencies corresponding to the 3 target Mesh passwords, wherein the 3 target Mesh passwords are 123, 456, and 789 respectively. The target broadcast frequency corresponding to the target Mesh password 123 is 6 times / hour, that is, it is sent once every 10 minutes; the target broadcast frequency corresponding to the target Mesh password 456 is 3 times / hour, that is, it is sent once every 20 minutes; the target broadcast frequency corresponding to the target Mesh password 789 is 2 times / hour, that is, it is sent once every 30 minutes; then the BLE control module sends a password update broadcast to the Mesh network 10 minutes after receiving the password update configuration information, carrying the target Mesh password 123; after another 20 minutes, it sends a password update broadcast to the Mesh network, carrying the target Mesh password 456; after another 30 minutes, it sends a password update broadcast to the Mesh network, carrying the target Mesh password 789.
[0090] The technical solution provided in this embodiment is that the device side can simultaneously set multiple target Mesh passwords and target broadcast frequencies corresponding to each target Mesh password by sending a password update configuration information to the BLE control module, so that the BLE control module can send password update broadcasts to the Mesh network according to different target broadcast frequencies, and the Mesh network can update the password according to different target broadcast frequencies, thereby improving the efficiency and flexibility of the password update and saving network resources.
[0091] Based on the above embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, before sending a password update broadcast to the Mesh network based on the target broadcast frequency, it also includes:
[0092] The password update broadcast is processed using an encryption algorithm and / or a signature algorithm.
[0093] In a specific implementation, before sending a password update broadcast to the Mesh network based on the target broadcast frequency, the BLE control module uses an encryption algorithm to process the password update broadcast, or uses a signature algorithm to process the password update broadcast, or uses an encryption algorithm and a signature algorithm to process the password update broadcast at the same time, wherein the encryption algorithm uses a symmetric encryption algorithm or an asymmetric encryption algorithm.
[0094] As an example, when a symmetric encryption algorithm is used, the BLE control module uses its own key to encrypt the password update broadcast and sends the encrypted password update broadcast to the Mesh network. The target Mesh node uses the same key to decrypt the password update broadcast to obtain the target Mesh password.
[0095] As another example, when an asymmetric encryption algorithm is used, the BLE control module uses a public key to encrypt the password update broadcast and sends the encrypted password update broadcast to the Mesh network. The target Mesh node uses a private key to decrypt the password update broadcast to obtain the target Mesh password.
[0096] As another example, when a signature algorithm is used, the BLE control module uses a hash function to generate a summary value for the password update broadcast, and then uses its own private key to encrypt the summary value to form a digital signature, and sends the password update broadcast and the digital signature to the target Mesh node. The target Mesh node uses the public key of the BLE control module to decrypt the digital signature to obtain the original summary value, and at the same time uses the same hash function to generate a new summary value for the received password update broadcast. If the two summary values are the same, the signature verification is successful, and the password update broadcast is considered to be complete and the source is trusted.
[0097] The technical solution provided in this embodiment uses an encryption algorithm and a signature algorithm to double encrypt the password update broadcast, thereby ensuring the security of the password update broadcast and improving the security of the Mesh network.
[0098] Figure 4 A flow chart of another Mesh password update method provided in an embodiment of the present application is shown. For the sake of convenience, only the part related to the present embodiment is shown. The method provided in the present embodiment is applied to the device side, the device side is connected to the BLE control module for communication, and the BLE control module is connected to the Mesh network for communication. As an example, the device side, the BLE control module and the Mesh network can be respectively Figure 1 The device end 130, the BLE control module 120 and the Mesh network 110 in the Mesh password update system 100 shown in the figure, the method provided in this embodiment includes the following steps:
[0099] S410, obtaining a target broadcast frequency and a target Mesh password.
[0100] In a specific implementation, the device side has a user interaction interface, and the device side with management authority obtains the target broadcast frequency and the target Mesh password through the user interaction interface.
[0101] Exemplarily, the user interaction interface in the device side is a touch screen, and the device side with management authority obtains the target broadcast frequency and target Mesh password input by the user through the touch screen.
[0102] Exemplarily, a specific application is provided in the device end, and communication with the BLE control module is performed through the specific application.
[0103] S420, generate password update configuration information using the target broadcast frequency and the target Mesh password, and send the password update configuration information to the BLE control module; so that the BLE control module sends a password update broadcast to the Mesh network based on the target broadcast frequency, and the password update broadcast carries the target Mesh password; the target Mesh node in the Mesh network receives the password update broadcast through the BLE module, updates the password based on the target Mesh password, and synchronizes the target Mesh password to other Mesh nodes in the Mesh network; the target Mesh node is any Mesh node in the Mesh network.
[0104] In a specific implementation, the device generates password update configuration information based on the acquired target broadcast frequency and target Mesh password, and sends the password update configuration information to the BLE control module.
[0105] As an example, before sending the password update configuration information to the BLE control module, the device sends a password management enable instruction to the BLE control module, so that the BLE control module forwards the password management enable instruction to the target Mesh node, and the target Mesh node enables the password management function based on the password management enable instruction.
[0106] As an example, the device sends password update configuration information to the BLE control module based on the acquired target broadcast frequency, and the password update configuration information only includes a target Mesh password; so that the BLE control module immediately sends the target Mesh password to the Mesh network after receiving the password update configuration information.
[0107] As an example, the password update configuration information sent by the device to the BLE control module includes a target Mesh password and a target broadcast frequency, so that the BLE control module sends a password update broadcast carrying the target Mesh password to the Mesh network based on the target broadcast frequency.
[0108] As an example, the password update configuration information sent by the device to the BLE control module includes multiple target Mesh passwords and a target broadcast frequency, so that the BLE control module generates corresponding password update broadcasts according to each target Mesh password, and sends each password update broadcast to the Mesh network in turn according to the target broadcast frequency.
[0109] As an example, the password update configuration information sent by the device to the BLE control module includes multiple target Mesh passwords and target broadcast frequencies corresponding to each target Mesh password, so that the BLE control module generates corresponding password update broadcasts according to each target Mesh password, and then sends each password update broadcast to the Mesh network in turn according to the target broadcast frequency corresponding to each target Mesh password.
[0110] As an example, the device sends a password management shutdown instruction to the BLE control module, so that the BLE control module forwards the password management shutdown instruction to the target Mesh node, and the target Mesh node shuts down the password management function based on the password management shutdown instruction.
[0111] In the technical solution provided in this embodiment, the device with management authority obtains the target broadcast frequency and the target Mesh password, and sends the password update configuration information including the target broadcast frequency and the target Mesh password to the BLE control module, so that the BLE control module sends the password update broadcast to the Mesh network based on the target broadcast frequency, and each Mesh node in the Mesh network updates the current Mesh password to the target Mesh password according to the target broadcast frequency, thereby improving the security of the Mesh network.
[0112] Figure 5 A timing diagram of a Mesh password update method provided in an embodiment of the present application, combined with Figure 5 As shown, based on the above embodiment, this embodiment further illustrates and optimizes the technical solution. As an example, the Mesh network, the target Mesh node, the BLE control module and the device end in this embodiment can be respectively Figure 1 The Mesh network 110, Mesh node 111, BLE control module 120 and device end 130 in the Mesh password update system 100 are shown. Specifically, the method provided in this embodiment includes:
[0113] The BLE control module performs authentication connection with the device end;
[0114] After completing the authentication connection, the BLE control module determines the permissions of the device.
[0115] When the device has application permission, the BLE control module receives the Mesh password request message sent by the device, and sends the current Mesh password of the Mesh network to the device based on the Mesh password request message; the device establishes a communication connection with the target Mesh node in the Mesh network based on the current Mesh password of the Mesh network;
[0116] When the device has management authority, the device sends a password management enable command to the BLE control module, and the BLE control module sends a password management enable broadcast carrying the password management enable command to the Mesh network. The target Mesh node in the Mesh network enables the password management function based on the password management enable command.
[0117] The device obtains the target broadcast frequency and target Mesh password, generates password update configuration information using the target broadcast frequency and target Mesh password, and sends the password update configuration information to the BLE control module; the BLE control module uses encryption and signature algorithms to encrypt the password update broadcast carrying the target Mesh password, and sends the encrypted password update broadcast to the Mesh network based on the target broadcast frequency, and the encrypted password update broadcast carries the target Mesh password;
[0118] The target Mesh node in the Mesh network decrypts the encrypted password update broadcast to obtain the target Mesh password; compares the target Mesh password with the current Mesh password, and when the target Mesh password is different from the current Mesh password, uses the target Mesh password to update the current Mesh password;
[0119] The target Mesh node in the Mesh network synchronizes the target Mesh password to other Mesh nodes in the Mesh network.
[0120] The technical solution provided in this embodiment adds multiple layers of security protection. Only the device with management authority can set the password update configuration information. The BLE control module and the device need to be connected for authentication. The password update broadcast uses an encryption algorithm and a signature algorithm for double encryption, ensuring the security of the Mesh network password update.
[0121] Figure 6 The structure block diagram of a Mesh password update device provided in an embodiment of the present application is shown. For the sake of convenience, only the parts related to the embodiment of the present application are shown. The Mesh password update device 600 is applied to a target Mesh node. The target Mesh node is any Mesh node in the Mesh network. The Mesh node is provided with a BLE module. As an example, the Mesh network and the target Mesh node can be respectively Figure 1 The mesh network 110 and the mesh node 111 in the mesh password update system 100 are shown. Figure 6 The Mesh password updating device 600 may include a broadcast receiving unit 601 , a password updating unit 602 , and a password synchronization unit 603 .
[0122] The broadcast receiving unit 601 is used to receive the password update broadcast sent by the BLE control module based on the target broadcast frequency through the BLE module, and the password update broadcast carries the target Mesh password; the target Mesh password is set by the device side and sent to the BLE control module.
[0123] The password updating unit 602 is used to update the password based on the target Mesh password.
[0124] The password synchronization unit 603 is used to synchronize the target Mesh password to other Mesh nodes in the Mesh network.
[0125] A Mesh password updating device provided in an embodiment of the present application has the same beneficial effects as the above-mentioned Mesh password updating method.
[0126] In one embodiment, the password update unit 602 includes:
[0127] The password comparison subunit is used to compare the target Mesh password with the current Mesh password;
[0128] The password update subunit is used to update the current Mesh password using the target Mesh password when the target Mesh password is different from the current Mesh password.
[0129] Figure 7 The structural block diagram of another Mesh password update device provided in one embodiment of the present application is shown only for the sake of convenience. The Mesh password update device 700 is applied to a BLE control module, and the BLE control module is connected to the Mesh network for communication. As an example, the BLE control module and the Mesh network can be respectively Figure 1 The BLE control module 120 and the Mesh network 110 in the Mesh password update system 100 are shown. Figure 7 The Mesh password updating device 700 may include an information receiving unit 701 and a broadcast sending unit 702 .
[0130] The information receiving unit 701 is used to receive the password update configuration information sent by the device end, where the password update configuration information includes the target Mesh password and the target broadcast frequency;
[0131] The broadcast sending unit 702 is used to send a password update broadcast to the Mesh network based on the target broadcast frequency. The password update broadcast carries the target Mesh password, so that the target Mesh node in the Mesh network receives the password update broadcast through the BLE module, updates the password based on the target Mesh password, and synchronizes the target Mesh password to other Mesh nodes in the Mesh network.
[0132] A Mesh password updating device provided in an embodiment of the present application has the same beneficial effects as the above-mentioned Mesh password updating method.
[0133] In one embodiment, the password update configuration information includes multiple target Mesh passwords and a target broadcast frequency, and the broadcast sending unit 702 includes:
[0134] The first broadcast generation subunit is used to generate corresponding password update broadcasts according to each target Mesh password;
[0135] The first broadcast sending subunit is used to send each password update broadcast to the Mesh network in sequence according to the target broadcast frequency.
[0136] In one embodiment, the password update configuration information includes multiple target Mesh passwords and target broadcast frequencies corresponding to the target Mesh passwords, and the broadcast sending unit 702 includes:
[0137] The second broadcast generation subunit is used to generate corresponding password update broadcasts according to each target Mesh password;
[0138] The second broadcast sending subunit is used to send each password update broadcast to the Mesh network in sequence according to the target broadcast frequency corresponding to each target Mesh password.
[0139] In one embodiment, the Mesh password updating device 700 further includes:
[0140] The broadcast processing unit is used to process the password update broadcast using an encryption algorithm and / or a signature algorithm.
[0141] Figure 8 The structural block diagram of another Mesh password update device provided in one embodiment of the present application is shown only for the sake of convenience. The Mesh password update device 800 is applied to the device end, the device end is connected to the BLE control module, and the BLE control module is connected to the Mesh network. As an example, the device end, the BLE control module and the Mesh network can be respectively Figure 1 The device end 130, the BLE control module 120 and the Mesh network 110 in the Mesh password update system 100 are shown. Figure 8 , the Mesh password updating device 800 may include an acquiring unit 801 and an information sending unit 802.
[0142] The information acquisition unit 801 is used to acquire the target broadcast frequency and the target Mesh password;
[0143] The information sending unit 802 is used to generate password update configuration information using the target broadcast frequency and the target Mesh password, and send the password update configuration information to the BLE control module; so that the BLE control module sends a password update broadcast to the Mesh network based on the target broadcast frequency, and the password update broadcast carries the target Mesh password; the target Mesh node in the Mesh network receives the password update broadcast through the BLE module, updates the password based on the target Mesh password, and synchronizes the target Mesh password to other Mesh nodes in the Mesh network; the target Mesh node is any Mesh node in the Mesh network.
[0144] A Mesh password updating device provided in an embodiment of the present application has the same beneficial effects as the above-mentioned Mesh password updating method.
[0145] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0146] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0147] Fig. 9 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Fig. 9 As shown, the electronic device 9 of this embodiment includes: at least one processor 90 ( Fig. 9 Only one is shown), a memory 91, and a computer program 92 stored in the memory 91 and executable on at least one processor 90, the processor 90 executes the computer program 92 to implement the above Figure 2 , Figure 3 , Figure 4 or Figure 5 The steps in the method embodiment, or the implementation of the above Figure 6, Figure 7 or Figure 8 Functions of each module / unit in the device embodiment.
[0148] As an example, the electronic device 9 may be Figure 1 The Mesh node 111, the BLE control module 120 or the device end 130 in the BLE control module 120. The electronic device 9 may include but is not limited to a processor 90 and a memory 91. Those skilled in the art will understand that Fig. 9 It is only an example of the electronic device 9 and does not constitute a limitation on the electronic device 9. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.
[0149] The processor 90 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0150] In some embodiments, the memory 91 may be an internal storage unit of the electronic device 9, such as a hard disk or memory of the electronic device 9. In other embodiments, the memory 91 may also be an external storage device of the electronic device 9, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 9. Further, the memory 91 may also include both an internal storage unit of the electronic device 9 and an external storage device. The memory 91 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of a computer program. The memory 91 may also be used to temporarily store data that has been output or is to be output.
[0151] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0152] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include at least: any entity or device capable of carrying the computer program code to an electronic device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.
[0153] A computer-readable storage medium provided in an embodiment of the present application has the same beneficial effects as the above-mentioned Mesh password updating method.
[0154] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0155] A computer program product provided in an embodiment of the present application has the same beneficial effects as the above-mentioned Mesh password updating method.
[0156] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0157] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0158] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0159] 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 distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0160] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application 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. 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 application, and should all be included in the protection scope of the present application.
Claims
1. A Mesh password update method, characterized in that: Applied to a target Mesh node, the target Mesh node is any Mesh node in a Mesh network, and the Mesh node is provided with a BLE module, the method comprising: Receiving, through the BLE module, a password update broadcast sent by the BLE control module based on a target broadcast frequency, wherein the password update broadcast carries a target Mesh password; the target Mesh password is set by the device end and sent to the BLE control module; Update the password based on the target Mesh password; The target Mesh password is synchronized to other Mesh nodes in the Mesh network.
2. The method according to claim 1, characterized in that The updating of the password based on the target Mesh password includes: Compare the target Mesh password with the current Mesh password; When the target Mesh password is different from the current Mesh password, the current Mesh password is updated using the target Mesh password.
3. A Mesh password update method, characterized in that: Applied to a BLE control module, the BLE control module is communicatively connected to a Mesh network, the Mesh network includes a plurality of Mesh nodes, and the Mesh nodes are provided with a BLE module; the method includes: Receiving password update configuration information sent by the device, wherein the password update configuration information includes a target Mesh password and a target broadcast frequency; A password update broadcast is sent to the Mesh network based on the target broadcast frequency, and the password update broadcast carries the target Mesh password, so that the target Mesh node in the Mesh network receives the password update broadcast through the BLE module, updates the password based on the target Mesh password, and synchronizes the target Mesh password to other Mesh nodes in the Mesh network.
4. The method according to claim 3, characterized in that The password update configuration information includes a plurality of target Mesh passwords and a target broadcast frequency; The sending a password update broadcast to the Mesh network based on the target broadcast frequency includes: Generate corresponding password update broadcasts according to each target Mesh password; Each of the password update broadcasts is sent to the Mesh network in sequence according to the target broadcast frequency.
5. The method according to claim 3, characterized in that: The password update configuration information includes a plurality of target Mesh passwords and target broadcast frequencies corresponding to the target Mesh passwords; The sending a password update broadcast to the Mesh network based on the target broadcast frequency includes: Generate corresponding password update broadcasts according to each target Mesh password; The password update broadcasts are sent to the Mesh network in sequence according to the target broadcast frequencies corresponding to the target Mesh passwords.
6. The method according to any one of claims 3 to 5, characterized in that: Before sending a password update broadcast to the Mesh network based on the target broadcast frequency, the method further includes: The password update broadcast is processed using an encryption algorithm and / or a signature algorithm.
7. A Mesh password update method, characterized in that: Applied to a device end, the device end is connected to a BLE control module for communication, the BLE control module is connected to a Mesh network for communication, the Mesh network includes a plurality of Mesh nodes, and the Mesh nodes are provided with a BLE module; the method includes: Get the target broadcast frequency and target Mesh password; Generate password update configuration information using the target broadcast frequency and the target Mesh password, and send the password update configuration information to the BLE control module; so that the BLE control module sends a password update broadcast to the Mesh network based on the target broadcast frequency, and the password update broadcast carries the target Mesh password; the target Mesh node in the Mesh network receives the password update broadcast through the BLE module, updates the password based on the target Mesh password, and synchronizes the target Mesh password to other Mesh nodes in the Mesh network; the target Mesh node is any Mesh node in the Mesh network.
8. A Mesh password updating device, characterized in that: Applied to a target Mesh node, the target Mesh node is any Mesh node in a Mesh network, the Mesh node is provided with a BLE module, and the device comprises: A broadcast receiving unit, configured to receive, through the BLE module, a password update broadcast sent by the BLE control module based on a target broadcast frequency, wherein the password update broadcast carries a target Mesh password; the target Mesh password is set by a device end and sent to the BLE control module; A password updating unit, configured to update the password based on the target Mesh password; A password synchronization unit is used to synchronize the target Mesh password to other Mesh nodes in the Mesh network.
9. A Mesh password update system, characterized in that: The system includes a Mesh network, a BLE control module and a device end, wherein the Mesh network is communicatively connected to the BLE control module, and the BLE control module is communicatively connected to the device end; the Mesh network includes a plurality of Mesh nodes; and the Mesh nodes are provided with a BLE module; The device end is used to obtain a target broadcast frequency and a target Mesh password; generate password update configuration information using the target broadcast frequency and the target Mesh password, and send the password update configuration information to the BLE control module; The BLE control module is used to receive the password update configuration information sent by the device end, and send a password update broadcast to the Mesh network based on the target broadcast frequency; the password update broadcast carries the target Mesh password; The target Mesh node is used to receive the password update broadcast sent by the BLE control module based on the target broadcast frequency through the BLE module, update the password based on the target Mesh password, and synchronize the target Mesh password to other Mesh nodes in the Mesh network; the target Mesh node is any Mesh node in the Mesh network.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 2 or 3 to 6 or 7 is implemented.