CN113342370B - Configuration updating method and device, electronic equipment and storage medium - Google Patents
Configuration updating method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113342370B CN113342370B CN202110571697.8A CN202110571697A CN113342370B CN 113342370 B CN113342370 B CN 113342370B CN 202110571697 A CN202110571697 A CN 202110571697A CN 113342370 B CN113342370 B CN 113342370B
- Authority
- CN
- China
- Prior art keywords
- configuration information
- node
- configuration
- sub
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 147
- 230000004044 response Effects 0.000 claims abstract description 64
- 230000006870 function Effects 0.000 claims description 51
- 238000013507 mapping Methods 0.000 claims description 36
- 238000004891 communication Methods 0.000 description 50
- 238000010586 diagram Methods 0.000 description 21
- 238000012545 processing Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 8
- 230000003993 interaction Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 241000282326 Felis catus Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the disclosure discloses a method for configuration update, which is applied to a master control node in a Mesh network and comprises the following steps: acquiring configuration information; the configuration information is used for configuring a functional module of a network node in the Mesh network; the network node comprises: the system comprises a main control node and at least one proxy node connected with the main control node; in response to the configuration information being obtained, sending an update command carrying the configuration information to the proxy node; the update command is used for triggering the proxy node to update the configuration of the functional module of the proxy node by using the configuration information. In the embodiment of the disclosure, the master control node can update the configuration of the function module of the proxy node connected with the master control node by using the configuration information, so that the efficiency of configuring and updating the node is improved.
Description
Technical Field
The present disclosure relates to the field of wireless communications, and in particular, but not limited to a method, an apparatus, an electronic device, and a storage medium for updating configuration.
Background
In the wireless communication technology, for wireless communication in a large-scale or multi-story building, a signal of a single router cannot cover every corner in the large-scale or multi-story building, and a solution for expanding the signal coverage is required. Before the Mesh technology, schemes such as a power cat and wireless relay are adopted to expand the signal coverage range, but the defects of poor network speed experience, complex configuration, high wiring difficulty and the like still exist, and the Mesh network networking is rapidly and widely applied due to the advantages of synchronous configuration, network self-repair, seamless roaming and the like.
In related applications of Mesh networks, the Mesh network needs to be initially configured or in some scenarios, the network needs to be reconfigured. When the Mesh network is configured, the problem of low configuration efficiency exists.
Disclosure of Invention
The embodiment of the disclosure discloses a method for configuration update, which is applied to a master control node in a Mesh network and comprises the following steps:
Acquiring configuration information; the configuration information is used for configuring a functional module of a network node in the Mesh network; the network node comprises: the system comprises a main control node and at least one proxy node connected with the main control node;
in response to the configuration information being obtained, sending an update command carrying the configuration information to the proxy node; the update command is used for triggering the proxy node to update the configuration of the functional module of the proxy node by using the configuration information.
In one embodiment, after obtaining the configuration information, the method further comprises:
Generating at least one piece of sub-configuration information based on the configuration information; wherein different sub-configuration information is used for configuring different functional modules;
the sending the update command carrying the configuration information to the proxy node includes:
Sending an update command carrying the sub-configuration information to the proxy node; wherein, the update command also carries the information of the mapping relation; and the information of the mapping relation indicates the relation between the sub-configuration information and the functional module.
In one embodiment, the method further comprises:
Generating standard configuration information of the sub-configuration information by utilizing a coding rule; wherein the standard configuration information is configuration information with a predetermined format;
The sending the update command carrying the sub-configuration information to the proxy node of the main control node comprises the following steps:
and sending an update command carrying the standard configuration information to the proxy node of the main control node.
In one embodiment, different sub-configuration information corresponds to different configuration identifiers, wherein the configuration identifiers are used for indicating the sub-configuration information of the corresponding functional module.
In one embodiment, the method further comprises:
Receiving a feedback configuration identifier sent by the proxy node; wherein the feedback configuration identifier is generated according to the currently configured sub-configuration information of the first designated functional module of the proxy node;
and responding to the fact that the configuration identifier corresponding to the first appointed functional module in the main control node is inconsistent with the feedback configuration identifier, and determining to send the update command for updating the configuration of the first appointed functional module to the proxy node.
In one embodiment, the method further comprises:
Responding to the sub-configuration information update of a second designated functional module in the main control node, and updating the configuration identifier of the second designated functional module;
And/or the number of the groups of groups,
And responding to the update of the sub-configuration information of the second designated functional module in the main control node, and sending the updated sub-configuration information of the second designated functional module to the proxy node.
In one embodiment, the method further comprises:
and in response to the update command sent to the proxy node, triggering the main control node to update the configuration of the functional module of the main control node by using the configuration information.
According to a second aspect of embodiments of the present disclosure, there is provided a method of configuration update, the method being applied to a proxy node in a Mesh network, comprising:
Receiving an update command carrying configuration information sent by a main control node in a Mesh network; the configuration information is used for configuring a functional module of the proxy node;
and in response to receiving the update command, updating the configuration of the functional module of the proxy node with the configuration information.
In one embodiment, the receiving the update command carrying the configuration information sent by the master node in the Mesh network includes:
receiving an update command carrying sub-configuration information sent by the main control node;
Wherein different sub-configuration information is used for configuring different functional modules; the update command also carries information of a mapping relation, wherein the information of the mapping relation indicates the relation between the sub-configuration information and the functional module.
In one embodiment, the receiving the update command carrying the sub-configuration information sent by the master node includes:
Receiving an update command carrying standard configuration information sent by the main control node;
wherein the standard configuration information is configuration information with a predetermined format generated based on the sub-configuration information.
In one embodiment, different sub-configuration information corresponds to different configuration identifiers, wherein the configuration identifiers are used for indicating the sub-configuration information of the corresponding functional module.
In one embodiment, the method further comprises:
sending a feedback configuration identifier to the main control node;
wherein the feedback configuration identifier is generated according to the currently configured sub-configuration information of the first designated functional module of the proxy node;
and receiving the update command which is sent by the main control node to the proxy node and used for updating the configuration of the first designated functional module.
In one embodiment, the method further comprises:
and in response to receiving the updated sub-configuration information of the second designated function module sent by the main control node, updating the sub-configuration information of the function module corresponding to the second designated function module in the proxy node.
According to a third aspect of embodiments of the present disclosure, there is provided an apparatus for configuration update, the apparatus being applied to a master node in a Mesh network, including an acquisition module and a first transmission module, where,
The acquisition module is used for acquiring configuration information; the configuration information is used for configuring a functional module of a network node in the Mesh network; the network node comprises: the system comprises a main control node and at least one proxy node connected with the main control node;
The first sending module is configured to: in response to the configuration information being obtained, sending an update command carrying the configuration information to the proxy node; the update command is used for triggering the proxy node to update the configuration of the functional module of the proxy node by using the configuration information.
In one embodiment, the apparatus further comprises a generation module, wherein,
The generating module is used for generating at least one piece of sub-configuration information based on the configuration information; wherein different sub-configuration information is used for configuring different functional modules;
The first sending module is further configured to send an update command carrying the sub-configuration information to the proxy node; wherein, the update command also carries the information of the mapping relation; and the information of the mapping relation indicates the relation between the sub-configuration information and the functional module.
In one embodiment of the present invention, in one embodiment,
The generating module is further configured to: generating standard configuration information of the sub-configuration information by utilizing a coding rule; wherein the standard configuration information is configuration information with a predetermined format;
the first sending module is further configured to send an update command carrying the standard configuration information to the proxy node of the master control node.
In one embodiment, the generating module is further configured to correspond to different configuration identifiers for different sub-configuration information, where the configuration identifiers are used to indicate the sub-configuration information of the corresponding functional module.
In one embodiment, the apparatus further comprises a first receiving module and a determining module, wherein,
The first receiving module is used for receiving the feedback configuration identifier sent by the proxy node; wherein the feedback configuration identifier is generated according to the currently configured sub-configuration information of the first designated functional module of the proxy node;
The determining module is used for: and responding to the fact that the configuration identifier corresponding to the first appointed functional module in the main control node is inconsistent with the feedback configuration identifier, and determining to send the update command for updating the configuration of the first appointed functional module to the proxy node.
In one embodiment, the apparatus further comprises a first update module, wherein,
The first updating module is configured to: responding to the sub-configuration information update of a second designated functional module in the main control node, and updating the configuration identifier of the second designated functional module;
And/or the number of the groups of groups,
The first sending module is configured to: and responding to the update of the sub-configuration information of the second designated functional module in the main control node, and sending the updated sub-configuration information of the second designated functional module to the proxy node.
In one embodiment, the apparatus further comprises a trigger module, wherein,
The triggering module is used for: and in response to the update command sent to the proxy node, triggering the main control node to update the configuration of the functional module of the main control node by using the configuration information.
According to a fourth aspect of embodiments of the present disclosure, there is provided an apparatus for configuration update, the apparatus being applied to a proxy node in a Mesh network, the apparatus comprising a second receiving module and a second updating module, wherein,
The second receiving module is used for receiving an update command carrying configuration information sent by a main control node in the Mesh network; the configuration information is used for configuring a functional module of the proxy node;
the second updating module is configured to: and in response to receiving the update command, updating the configuration of the functional module of the proxy node with the configuration information.
In one embodiment of the present invention, in one embodiment,
The second receiving module is further configured to receive an update command carrying sub-configuration information sent by the master control node;
Wherein different sub-configuration information is used for configuring different functional modules; the update command also carries information of a mapping relation, wherein the information of the mapping relation indicates the relation between the sub-configuration information and the functional module.
In one embodiment, the second receiving module is further configured to:
Receiving an update command carrying standard configuration information sent by the main control node;
wherein the standard configuration information is configuration information with a predetermined format generated based on the sub-configuration information.
In one embodiment, the second receiving module is further configured to: different sub-configuration information corresponds to different configuration identifiers, wherein the configuration identifiers are used for indicating the sub-configuration information of the corresponding functional module.
In one embodiment, the apparatus further comprises a second transmitting module, wherein,
The second sending module is used for sending a feedback configuration identifier to the main control node;
wherein the feedback configuration identifier is generated according to the currently configured sub-configuration information of the first designated functional module of the proxy node;
The second receiving module is further configured to receive the update command sent by the master control node to the proxy node to update the configuration of the first specified functional module.
In one embodiment, the second updating module is further configured to:
and in response to receiving the updated sub-configuration information of the second designated function module sent by the main control node, updating the sub-configuration information of the function module corresponding to the second designated function module in the proxy node.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic device, including:
A processor;
A memory for storing the processor-executable instructions;
wherein the processor is configured to: for executing the executable instructions, implementing the methods described in any of the embodiments of the present disclosure.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer storage medium storing a computer executable program which, when executed by a processor, implements the method of any embodiment of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
In the embodiment of the disclosure, configuration information is acquired; the configuration information is used for configuring a functional module of a network node in the Mesh network; the network node comprises: the system comprises a main control node and at least one proxy node connected with the main control node; in response to the configuration information being obtained, sending an update command carrying the configuration information to the proxy node; the update command is used for triggering the proxy node to update the configuration of the functional module of the proxy node by using the configuration information. Here, after the master node obtains the configuration information, the configuration of the proxy node connected to the master node may be updated in a unified manner by sending an update command carrying the configuration information to the proxy node, and compared with a manner in which each proxy node needs to be configured separately, the efficiency of configuring the update node may be improved by using the master node as an interaction interface for configuration to configure the proxy node in a unified manner.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic diagram of a wireless communication system, shown in accordance with an exemplary embodiment.
Fig. 2 is a flow diagram illustrating a method of configuration updating, according to an example embodiment.
Fig. 3 is a schematic diagram of a wireless communication system, according to an example embodiment.
Fig. 4 is a flow diagram illustrating a method of configuration updating according to an exemplary embodiment.
Fig. 5 is a flow diagram illustrating a method of configuration updating according to an exemplary embodiment.
Fig. 6 is a flow diagram illustrating a method of configuration updating according to an exemplary embodiment.
Fig. 7 is a flow diagram illustrating a method of configuration updating according to an exemplary embodiment.
Fig. 8 is a flow diagram illustrating a method of configuration updating according to an exemplary embodiment.
Fig. 9 is a flow diagram illustrating a method of configuration updating according to an exemplary embodiment.
Fig. 10 is a flow diagram illustrating a method of configuration updating, according to an example embodiment.
FIG. 11 is a flow diagram illustrating a method of configuration updating, according to an example embodiment.
Fig. 12 is a flow diagram illustrating a method of configuration updating according to an exemplary embodiment.
Fig. 13 is a flow diagram illustrating a method of configuration updating according to an exemplary embodiment.
Fig. 14 is a flow diagram illustrating a method of configuration updating according to an exemplary embodiment.
Fig. 15 is a flow diagram illustrating a method of configuration updating according to an exemplary embodiment.
Fig. 16 is a schematic diagram illustrating a configuration update according to an example embodiment.
Fig. 17 is a flow diagram illustrating a method of configuration updating according to an example embodiment.
Fig. 18 is a block diagram illustrating an apparatus for configuration updating according to an example embodiment.
Fig. 19 is a block diagram illustrating an apparatus for configuration updating according to an example embodiment.
Fig. 20 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
For ease of understanding by those skilled in the art, the embodiments of the present disclosure enumerate a plurality of implementations to clearly illustrate the technical solutions of the embodiments of the present disclosure. Of course, those skilled in the art will appreciate that the various embodiments provided in the embodiments of the disclosure may be implemented separately, may be implemented in combination with the methods of other embodiments of the disclosure, and may be implemented separately or in combination with some methods of other related technologies; the embodiments of the present disclosure are not so limited.
To facilitate an understanding of any of the embodiments of the present disclosure, first, a Mesh network will be described.
Referring to fig. 1, in one exemplary embodiment, a Mesh network includes an extranet and five access points. The five access points are respectively an AP1, an AP2, an AP3, an AP4 and an AP5, wherein the AP1 is a root access point, and the AP2, the AP3, the AP4 and the AP5 are sub-access points; the hop count of AP2, AP3 and AP4 is 1, and the hop count of AP5 is 2.
In one embodiment, when each access point needs to be initially configured or reconfigured, the access points need to be configured through configuration interfaces connected with each access point, which is low in configuration efficiency. For example, in fig. 1, it is necessary to configure each of the AP1, the AP2, the AP3, the AP4, and the AP5 with a configuration interface.
As shown in fig. 2, in this embodiment, a method for updating configuration is provided, where the method is applied to a master node in a Mesh network, and the method includes:
Step 21, acquiring configuration information; the configuration information is used for configuring a functional module of a network node in the Mesh network; the network node comprises: the system comprises a main control node and at least one proxy node connected with the main control node;
Step 22, in response to the configuration information being obtained, an update command carrying the configuration information is sent to the proxy node; the update command is used for triggering the proxy node to update the configuration of the functional module of the proxy node by using the configuration information.
Here, the network nodes may be divided into a master node and a proxy node, which may be access points in the Mesh network. Here, the access point may be a router. It should be noted that, the proxy node may also be connected to other proxy nodes, for example, please refer to fig. 1 again, and the proxy node AP3 may also be connected to the proxy node AP5.
Here, each of the access points may be connected to at least one terminal. Here, the terminal may be, but is not limited to, a computer, a mobile phone, a wearable device, a vehicle-mounted terminal, a Road Side Unit (RSU), a smart home terminal, an industrial sensing device, and/or a medical device, etc.
In one embodiment, the master node may be a root access point that establishes a connection with an external network, and the proxy node may be a proxy node that directly or indirectly connects with the root access point. For example, referring again to fig. 1, the master node may be a root access point AP1 and the proxy nodes may be child access points AP2, AP3, AP4 and AP5 connected directly or indirectly to the root access point.
In one embodiment, the master node may also be a sub-access point, and the proxy node may be a root access point directly or indirectly connected to the sub-access point. For example, referring again to fig. 1, the master node may be a sub-access point AP3, and the proxy nodes may be sub-access points AP2, AP4, AP5 and a root access point AP1.
In one embodiment, the master node is determined from the computational capabilities of the access points in the Mesh network.
In one embodiment, in response to an operational capability of an access point in a Mesh network being greater than a capability threshold, determining the access point as a master node; and determining that the access point is a proxy node in response to the computing capability of the access point in the Mesh network being smaller than a capability threshold.
In some embodiments, the master node may also be determined based on the storage capability, signal coverage capability (or power size), the number of terminals to which the access point is connected, and the like.
In one embodiment, the master node is determined based on predetermined configuration information of the access point.
In one embodiment, determining an access point as a master node in response to predetermined configuration information of the access point indicating a first value; and determining the access point to be a proxy node in response to the predetermined configuration information of the access point indicating the second value. Wherein the first value is different from the second value.
In one embodiment, the master node is determined randomly. For example, one access point is randomly selected from a plurality of access points in the Mesh network as the master node.
In one embodiment, each network node includes a plurality of functional modules, such as a wireless module, a communication module, an authentication module, and the like.
In an embodiment, the configuration information is used to configure a functional module of the network node. For example, the configuration information may configure power parameters of the wireless module; the configuration information can also configure the communication frequency of the communication module; the configuration information may also configure password information and account information of the authentication module. In one embodiment, the configuration information comprises configuration parameters of at least one functional module of the network node.
In one embodiment, the master control node obtains the configuration information sent by the cloud through an external network; the configuration information may be sent to the cloud by the terminal.
In one embodiment, the terminal is directly connected with the master control node through a wired interface or a wireless interface; the terminal may send the configuration information to the master node using a wireless interface. Here, the terminal may be a mobile phone or the like that establishes a communication connection with the master node.
Referring to fig. 3, the master control node connects the proxy node 1 and the proxy node 2, and the master control node may obtain the configuration information sent by the terminal 1 through an external network; or the master control node can obtain the configuration information sent by the terminal 2 through a wired interface.
In one embodiment, the master node may periodically detect whether the wired interface or the wireless interface has the configuration information.
In one embodiment, in response to acquiring the configuration information, an update command carrying the configuration information is sent to a part of the proxy nodes; or in response to the configuration information being acquired, sending an update command carrying the configuration information to all the proxy nodes.
In one embodiment, after sending the update command carrying the configuration information to the proxy node, a response message that the proxy node receives the update command is also received.
Here, the proxy node updates the configuration of the function module of the proxy node using the configuration information after receiving the update command.
In one embodiment, the master node may resend the update command to the proxy node in response to not receiving the response message within a predetermined period of time after sending the update command carrying the configuration information to the proxy node.
In one embodiment, the configuration information is used by the master control module to update the configuration of the functional modules of the master control node in response to the update command being sent.
In one embodiment, the master node encodes the configuration information using encoding rules; and sending an update command carrying the encoded configuration information to the proxy node. After receiving the update command carrying the encoded configuration information, the proxy node can decode the encoded configuration information by utilizing the encoding rule to obtain the configuration information. Here, since the master node and the proxy node encode and decode configuration information using the same set of encoding rules, there is no problem that the configuration information between the proxy node and the master node is not compatible.
In the embodiment of the present disclosure, after the master node obtains the configuration information, the configuration of the proxy node connected to the master node may be uniformly updated by sending an update command carrying the configuration information to the proxy node, which may improve efficiency of configuring the update node in comparison with a method in which each proxy node needs to be configured separately, in which the master node is used as an interaction interface for configuration to uniformly configure the proxy node.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
As shown in fig. 4, in this embodiment, a method for updating configuration is provided, where the method is applied to a master node in a Mesh network, and the method includes:
step 41, receiving the configuration information sent by the user equipment by using the wireless communication interface.
In one embodiment, the user equipment sends the configuration information to a cloud server; and the cloud server transmits the configuration information transmitted by the user equipment to the main control node by utilizing a wireless interface.
In one embodiment, the user device sends the configuration information to the cloud server; the main control node can send a request message for acquiring the configuration information to the cloud server; and the main control node receives the configuration information sent by the cloud device based on the request message.
In one embodiment, the configuration information sent by the user equipment using the wireless communication interface may be received periodically.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
As shown in fig. 5, in this embodiment, a method for updating configuration is provided, where the method is applied to a master node in a Mesh network, and the method includes:
Step 51, generating at least one piece of sub-configuration information based on the configuration information; wherein different sub-configuration information is used for configuring different functional modules;
the sending the update command carrying the configuration information to the proxy node includes:
Step 52, sending an update command carrying the sub-configuration information to the proxy node; wherein, the update command also carries the information of the mapping relation; and the information of the mapping relation indicates the relation between the sub-configuration information and the functional module.
In one embodiment, each network node includes a plurality of functional modules, such as a wireless module, a communication module, an authentication module, and the like. The sub-configuration information is used for configuring a functional module. For example, if the sub-configuration information is configuration information of the wireless module, the sub-configuration information may configure a power parameter of the wireless module. If the sub-configuration information is the configuration information of the communication module, the sub-configuration information may configure the communication frequency of the communication module. If the sub-configuration information is the configuration information of the authentication module, the sub-configuration information may configure password information and account information of the authentication module.
In one embodiment, the update command further carries information of a mapping relationship; and the information of the mapping relation indicates the relation between the sub-configuration information and the functional module.
In an embodiment, the update command may further carry information of a mapping relationship between the sub-configuration information and the functional module. For example, the sub-configuration information includes first sub-configuration information, second sub-configuration information and third sub-configuration information, the function module configured by the first configuration information is a wireless module, the function module configured by the second configuration information is a communication module, and the function module configured by the third configuration information is an authentication module. The update command may carry information including a mapping relationship between the first configuration information and the wireless module, a mapping relationship between the second configuration information and the communication module, and a mapping relationship between the third configuration information and the authentication module.
In one embodiment, the field of the configuration information includes a plurality of information fields, each of the information fields corresponding to one of the configuration information. It is possible to separate each configuration information in a plurality of information domains to obtain a plurality of individual sub-configuration information. The separate sub-configuration information is used to configure the different functional modules of the proxy node.
Here, after receiving the update command carrying the sub-configuration information, the proxy node may configure the function module based on the sub-configuration information and a mapping relationship between the sub-configuration information and the function module. Here, the mapping relationship may be carried in the update command or may be stored in the proxy node in advance.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
As shown in fig. 6, in this embodiment, a method for updating configuration is provided, where the method is applied to a master node in a Mesh network, and the method includes:
Step 61, generating standard configuration information of the sub-configuration information by using a coding rule; wherein the standard configuration information is configuration information with a predetermined format;
The sending the update command carrying the sub-configuration information to the proxy node of the main control node comprises the following steps:
and step 62, sending an update command carrying the standard configuration information to the proxy node of the main control node.
In one embodiment, the encoding rules of the master node correspond to the decoding rules of the proxy node. After the proxy node receives the update command carrying the standard configuration information, the standard configuration information can be decoded by utilizing a decoding rule to obtain the sub-configuration information.
In one embodiment, the master node encodes the sub-configuration information using encoding rules; and sending an update command carrying the encoded standard configuration information to the proxy node. After receiving the update command carrying the encoded standard configuration information, the proxy node can decode the encoded standard configuration information by utilizing the encoding rule to obtain the sub-configuration information. Here, since the master node and the proxy node encode and decode the sub-configuration information by using the same set of encoding rules, there is no problem that the sub-configuration information between the proxy node and the master node is not compatible.
Here, since the standard configuration information of the sub configuration information is generated based on the same set of encoding rules, an incompatibility problem does not occur when different functional modules of the proxy node are configured using the standard configuration information.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
In one embodiment, different sub-configuration information corresponds to different configuration identifiers, wherein the configuration identifiers are used for indicating the sub-configuration information of the corresponding functional module.
For example, the sub-configuration information includes first sub-configuration information, second sub-configuration information and third sub-configuration information, the function module configured by the first configuration information is a wireless module, the function module configured by the second configuration information is a communication module, and the function module configured by the third configuration information is an authentication module. The configuration identifier corresponding to the first sub-configuration information may be "001" for indicating the sub-configuration information of the wireless module; the configuration identifier corresponding to the second sub-configuration information may be "010" for indicating sub-configuration information of the communication module; the configuration identifier corresponding to the third sub-configuration information may be "011" for indicating the sub-configuration information of the authentication module.
As shown in fig. 7, in this embodiment, a method for updating configuration is provided, where the method is applied to a master node in a Mesh network, and the method includes:
And step 71, generating the configuration identification of the sub-configuration information by utilizing the coding rule.
In one embodiment, each piece of sub-configuration information generates a configuration identifier based on the encoding rule. The configuration identifier is used for uniquely indicating the sub-configuration information.
In one embodiment, the configuration identities of any two pieces of sub-configuration information are different, the two pieces of sub-configuration information being different pieces of sub-configuration information. Thus, it is possible to determine whether the sub-configuration information is identical or not based on the configuration identification of any two words of configuration information.
For example, if the configuration of the first sub-configuration information is identified as a, and the configuration of the second sub-configuration information is identified as B, the first sub-configuration information and the second sub-configuration information are different sub-configuration information. For another example, if the configuration identifier of the first sub-configuration information is a and the configuration identifier of the second sub-configuration information is a, the first sub-configuration information and the second sub-configuration information are the same sub-configuration information.
In one embodiment, the master node may receive a configuration identifier of the sub-configuration information of the functional module sent by the proxy node; the main control node can determine whether the sub-configuration information of the function module of the main control node is identical to the sub-configuration information of the proxy node by comparing whether the configuration identifier of the function module of the main control node is identical to the received configuration identifier. And determining that the sub-configuration information of the function module of the main control node is the same as the sub-configuration information of the proxy node in response to the configuration identifier of the function module of the main control node being the same as the received configuration identifier. And determining that the sub-configuration information of the function module of the main control node is different from the sub-configuration information of the proxy node in response to the configuration identifier of the function module of the main control node being different from the received configuration identifier.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
As shown in fig. 8, in this embodiment, a method for updating configuration is provided, where the method is applied to a master node in a Mesh network, and the method includes:
Step 81, receiving a feedback configuration identifier sent by the proxy node; wherein the feedback configuration identifier is generated according to the currently configured sub-configuration information of the first designated functional module of the proxy node;
and step 82, determining to send the update command for updating the configuration of the first function module to the proxy node in response to the configuration identifier corresponding to the first designated function module in the master node not being consistent with the feedback configuration identifier.
In one embodiment, the first designated functional module may be any one or more of the functional modules of the master node.
In one embodiment, the master node may receive the feedback configuration identifier of the sub-configuration information of the functional module sent by the proxy node; the main control node can determine whether the sub-configuration information of the first functional module of the main control node is identical to the sub-configuration information of the first functional module of the proxy node by comparing whether the configuration identifier of the first functional module of the main control node is identical to the received feedback configuration identifier. And determining that the sub-configuration information of the first functional module of the main control node is the same as the sub-configuration information of the first functional module of the proxy node in response to the configuration identifier of the first functional module of the main control node being the same as the received feedback configuration identifier. And determining that the sub-configuration information of the first functional module of the main control node is different from the sub-configuration information of the first functional module of the proxy node in response to the configuration identifier of the functional module of the main control node being different from the received feedback configuration identifier.
In one embodiment, the proxy node is not capable of receiving the configuration information sent by the user equipment using the wireless communication interface in response to a power loss or a network connection disconnection. In response to the processing node being unable to receive the configuration information sent by the user equipment using the wireless communication interface, the configuration update of the first functional module of the proxy node fails, which may result in the configuration identity of the functional module of the master node itself being different from the feedback configuration identity received.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
As shown in fig. 9, in this embodiment, a method for updating configuration is provided, where the method is applied to a master node in a Mesh network, and the method includes:
step 91, updating the configuration identifier of the second designated functional module in response to the update of the sub-configuration information of the second designated functional module in the master control node;
And/or the number of the groups of groups,
And responding to the update of the sub-configuration information of the second designated functional module in the main control node, and sending the updated sub-configuration information of the second designated functional module to the proxy node.
In one embodiment, the second designated functional module may be any one or more of the functional modules of the master node.
In one embodiment, a sub-configuration information update of the second designated functional module is determined in response to obtaining the sub-configuration information of the second designated functional module.
In one embodiment, the configuration identifier of the second specified functional module may be generated using a coding rule and the obtained sub-configuration information of the second specified functional module.
In one embodiment, the main control node obtains the sub-configuration information sent by the cloud through an external network; the sub-configuration information may be sent to the cloud by the terminal.
In one embodiment, the terminal is directly connected with the master control node through a wired interface or a wireless interface; the terminal may send the sub-configuration information to the master node using a wireless interface. Here, the terminal may be a mobile phone or the like that establishes a communication connection with the master node.
In one embodiment, an update command carrying updated sub-configuration information of the second designated function module may be sent to the proxy node.
In one embodiment, after sending the update command carrying the sub-configuration information to the proxy node, a response message that the proxy node receives the update command is also received.
In one embodiment, the master node may resend the update command to the proxy node in response to not receiving the response message within a predetermined period of time after sending the update command carrying the configuration information to the proxy node.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
As shown in fig. 10, in this embodiment, a method for updating configuration is provided, where the method is applied to a master node in a Mesh network, and the method includes:
and step 101, responding to the update command sent to the proxy node, and triggering the main control node to update the configuration of the functional module of the main control node by using the configuration information.
In one embodiment, the master node generates at least one piece of sub-configuration information based on the configuration information and updates the configuration of each functional module of the master node with the sub-configuration information in response to sending the update command to the proxy node; wherein different sub-configuration information is used to configure different functional modules.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
As shown in fig. 11, in this embodiment, a method for updating configuration is provided, where the method is applied to a proxy node in a Mesh network, and includes:
Step 111, receiving an update command carrying configuration information sent by a master control node; the configuration information is used for configuring a functional module of a network node in the Mesh network; the network node comprises: the system comprises a main control node and at least one proxy node connected with the main control node;
and step 112, in response to receiving the update command, updating the configuration of the functional module of the proxy node by using the configuration information.
Here, the network nodes may be divided into a master node and a proxy node, which may be access points in the Mesh network. Here, the access point may be a router. It should be noted that, the proxy node may also be connected to other proxy nodes, for example, please refer to fig. 1 again, and the proxy node AP3 may also be connected to the proxy node AP5.
Here, each of the access points may be connected to at least one terminal. Here, the terminal may be, but is not limited to, a computer, a mobile phone, a wearable device, a vehicle-mounted terminal, a Road Side Unit (RSU), a smart home terminal, an industrial sensing device, and/or a medical device, etc.
In one embodiment, the master node may be a root access point that establishes a connection with an external network, and the proxy node may be a proxy node that directly or indirectly connects with the root access point. For example, referring again to fig. 1, the master node may be a root access point AP1 and the proxy nodes may be child access points AP2, AP3, AP4 and AP5 connected directly or indirectly to the root access point.
In one embodiment, the master node may also be a sub-access point, and the proxy node may be a root access point directly or indirectly connected to the sub-access point. For example, referring again to fig. 1, the master node may be a sub-access point AP3, and the proxy nodes may be sub-access points AP2, AP4, AP5 and a root access point AP1.
In one embodiment, the master node is determined from the computational capabilities of the access points in the Mesh network.
In one embodiment, in response to an operational capability of an access point in a Mesh network being greater than a capability threshold, determining the access point as a master node; and determining that the access point is a proxy node in response to the computing capability of the access point in the Mesh network being smaller than a capability threshold.
In some embodiments, the master node may also be determined based on the storage capability, signal coverage capability (or power size), the number of terminals to which the access point is connected, and the like.
In one embodiment, the master node is determined based on predetermined configuration information of the access point.
In one embodiment, determining an access point as a master node in response to predetermined configuration information of the access point indicating a first value; and determining the access point to be a proxy node in response to the predetermined configuration information of the access point indicating the second value.
In one embodiment, the master node is determined randomly. For example, one access point is randomly selected from a plurality of access points in the Mesh network as the master node.
In one embodiment, each network node includes a plurality of functional modules, such as a wireless module, a communication module, an authentication module, and the like.
In an embodiment, the configuration information is used to configure a functional module of the network node. For example, the configuration information may configure power parameters of the wireless module; the configuration information can also configure the communication frequency of the communication module; the configuration information page may configure password information and account information of the authentication module. In one embodiment, the configuration information comprises configuration parameters of at least one functional module of the network node.
In one embodiment, the master control node obtains the configuration information sent by the cloud through an external network; the configuration information may be sent to the cloud by the terminal.
In one embodiment, the terminal is directly connected with the master control node through a wired interface or a wireless interface; the terminal may send the configuration information to the master node using a wireless interface. Here, the terminal may be a mobile phone or the like that establishes a communication connection with the master node.
Referring to fig. 3 again, the master control node connects the proxy node 1 and the proxy node 2, and the master control node may obtain the configuration information sent by the terminal 1 through an external network; or the master control node can obtain the configuration information sent by the terminal 2 through a wired interface.
In one embodiment, the master node may periodically detect whether the wired interface or the wireless interface has the configuration information.
In one embodiment, in response to acquiring the configuration information, an update command carrying the configuration information is sent to a part of the proxy nodes; or in response to the configuration information being acquired, sending an update command carrying the configuration information to all the proxy nodes.
In one embodiment, after sending the update command carrying the configuration information to the proxy node, a response message that the proxy node receives the update command is also received.
Here, the proxy node updates the configuration of the function module of the proxy node using the configuration information after receiving the update command.
In one embodiment, the master node may resend the update command to the proxy node in response to not receiving the response message within a predetermined period of time after sending the update command carrying the configuration information to the proxy node.
In one embodiment, the configuration information is used by the master control module to update the configuration of the functional modules of the master control node in response to the update command being sent.
In one embodiment, the master node encodes the configuration information using encoding rules; and sending an update command carrying the encoded configuration information to the proxy node. After receiving the update command carrying the encoded configuration information, the proxy node can decode the encoded configuration information by utilizing the encoding rule to obtain the configuration information. Here, since the master node and the proxy node encode and decode configuration information using the same set of encoding rules, there is no problem that the configuration information between the proxy node and the master node is not compatible.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
As shown in fig. 12, in this embodiment, a method for updating configuration is provided, where the method is applied to a proxy node in a Mesh network, and the method includes:
step 121, receiving an update command carrying sub-configuration information sent by the master control node;
Wherein different sub-configuration information is used for configuring different functional modules; the update command also carries information of the mapping relation; and the information of the mapping relation indicates the relation between the sub-configuration information and the functional module.
In one embodiment, each network node includes a plurality of functional modules, such as a wireless module, a communication module, an authentication module, and the like. The sub-configuration information is used for configuring a functional module. For example, if the sub-configuration information is configuration information of the wireless module, the sub-configuration information may configure a power parameter of the wireless module. If the sub-configuration information is the configuration information of the communication module, the sub-configuration information may configure the communication frequency of the communication module. If the sub-configuration information is the configuration information of the authentication module, the sub-configuration information may configure password information and account information of the authentication module.
In one embodiment, the update command further carries information of a mapping relationship; and the information of the mapping relation indicates the relation between the sub-configuration information and the functional module.
In an embodiment, the update command may further carry information of a mapping relationship between the sub-configuration information and the functional module. For example, the sub-configuration information includes first sub-configuration information, second sub-configuration information and third sub-configuration information, the function module configured by the first configuration information is a wireless module, the function module configured by the second configuration information is a communication module, and the function module configured by the third configuration information is an authentication module. The update command may carry information including a mapping relationship between the first configuration information and the wireless module, a mapping relationship between the second configuration information and the communication module, and a mapping relationship between the third configuration information and the authentication module.
In one embodiment, the field of the configuration information includes a plurality of information fields, each of the information fields corresponding to one of the configuration information. It is possible to separate each configuration information in a plurality of information domains to obtain a plurality of individual sub-configuration information. The separate sub-configuration information is used to configure the different functional modules of the proxy node.
Here, after receiving the update command carrying the sub-configuration information, the proxy node may configure the function module based on the sub-configuration information and a mapping relationship between the sub-configuration information and the function module. Here, the mapping relationship may be carried in the update command or may be stored in the proxy node in advance.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
As shown in fig. 13, in this embodiment, a method for updating configuration is provided, where the method is applied to a proxy node in a Mesh network, and the method includes:
step 131, receiving an update command carrying the standard configuration information sent by the master control node;
wherein the standard configuration information is configuration information with a predetermined format generated based on the sub-configuration information.
In one embodiment, the encoding rules of the master node correspond to the decoding rules of the proxy node. After the proxy node receives the update command carrying the standard configuration information, the standard configuration information can be decoded by utilizing a decoding rule to obtain the sub-configuration information.
In one embodiment, the master node encodes the sub-configuration information using encoding rules; and sending an update command carrying the encoded standard configuration information to the proxy node. After receiving the update command carrying the encoded standard configuration information, the proxy node can decode the encoded standard configuration information by utilizing the encoding rule to obtain the sub-configuration information. Here, since the master node and the proxy node encode and decode the sub-configuration information by using the same set of encoding rules, there is no problem that the sub-configuration information between the proxy node and the master node is not compatible.
Here, since the standard configuration information of the sub configuration information is generated based on the same set of encoding rules, an incompatibility problem does not occur when different functional modules of the proxy node are configured using the standard configuration information.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
In one embodiment, different sub-configuration information corresponds to different configuration identifiers, wherein the configuration identifiers are used for indicating the sub-configuration information of the corresponding functional module.
For example, the sub-configuration information includes first sub-configuration information, second sub-configuration information and third sub-configuration information, the function module configured by the first configuration information is a wireless module, the function module configured by the second configuration information is a communication module, and the function module configured by the third configuration information is an authentication module. The configuration identifier corresponding to the first sub-configuration information may be "001" for indicating the sub-configuration information of the wireless module; the configuration identifier corresponding to the second sub-configuration information may be "010" for indicating sub-configuration information of the communication module; the configuration identifier corresponding to the third sub-configuration information may be "011" for indicating the sub-configuration information of the authentication module.
As shown in fig. 14, in this embodiment, a method for updating configuration is provided, where the method is applied to a proxy node in a Mesh network, and the method includes:
Step 141, sending a feedback configuration identifier to the master control node;
wherein the feedback configuration identifier is generated according to the currently configured sub-configuration information of the first designated functional module of the proxy node;
And step 142, receiving the update command sent by the master control node to the proxy node for updating the configuration of the first designated functional module.
In one embodiment, each piece of sub-configuration information generates a configuration identifier based on the encoding rule. The configuration identifier is used for uniquely indicating the sub-configuration information.
In one embodiment, the configuration identities of any two pieces of sub-configuration information are different, the two pieces of sub-configuration information being different pieces of sub-configuration information. Thus, it is possible to determine whether the sub-configuration information is identical or not based on the configuration identification of any two words of configuration information.
For example, if the configuration of the first sub-configuration information is identified as a, and the configuration of the second sub-configuration information is identified as B, the first sub-configuration information and the second sub-configuration information are different sub-configuration information. For another example, if the configuration identifier of the first sub-configuration information is a and the configuration identifier of the second sub-configuration information is a, the first sub-configuration information and the second sub-configuration information are the same sub-configuration information.
In one embodiment, the master node may receive a configuration identifier of the sub-configuration information of the functional module sent by the proxy node; the main control node can determine whether the sub-configuration information of the function module of the main control node is identical to the sub-configuration information of the proxy node by comparing whether the configuration identifier of the function module of the main control node is identical to the received configuration identifier. And determining that the sub-configuration information of the function module of the main control node is the same as the sub-configuration information of the proxy node in response to the configuration identifier of the function module of the main control node being the same as the received configuration identifier. And determining that the sub-configuration information of the function module of the main control node is different from the sub-configuration information of the proxy node in response to the configuration identifier of the function module of the main control node being different from the received configuration identifier.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
As shown in fig. 15, in this embodiment, a method for updating configuration is provided, where the method is applied to a proxy node in a Mesh network, and the method includes:
And step 151, in response to receiving the updated sub-configuration information of the second designated function module sent by the master control node, updating the sub-configuration information of the function module corresponding to the second designated function module in the proxy node.
In one embodiment, the method may further include receiving an update command that is sent by the master node to the proxy node and carries updated sub-configuration information of the second designated function module.
In one embodiment, after receiving the update command carrying the sub-configuration information, a response message for receiving the update command is further sent to the master node.
In one embodiment, in response to the master node not receiving the response message within a predetermined period of time after sending an update command carrying the configuration information to the proxy node, the master node may resend the update command to the proxy node.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
For ease of understanding of embodiments of the present disclosure, the following is further described by way of one exemplary embodiment:
Example 1
Referring to fig. 16, the proxy node and the master node each include: the configuration partitioning module, the function modules (1 to n), the encoding module (or the decoding module), the communication module and the configuration validating module.
Referring to fig. 17, a method for updating configuration is provided in this embodiment, and the method includes:
Step 171, the main control node receives configuration information; the configuration information is used for configuring a functional module of a network node in the Mesh network; the network node comprises: the system comprises a main control node and at least one proxy node connected with the main control node.
Step 172, a configuration blocking module of the master control node generates at least one piece of sub-configuration information based on the configuration information; wherein different sub-configuration information is used to configure different functional modules.
Step 173, the encoding module of the master control node generates standard configuration information of the sub configuration information by using an encoding rule; wherein the standard configuration information is configuration information having a predetermined format.
Step 174, the communication module of the master control node sends an update command carrying the standard configuration information to the proxy node of the master control node.
Step 175, the communication module of the proxy node receives the update command carrying the standard configuration information sent by the main control node.
Step 176, the decoding module of the proxy node decodes the standard configuration information to obtain sub-standard configuration information.
Step 177, updating the configuration of the function module of the proxy node by using the sub-configuration information.
It should be noted that, as those skilled in the art may understand, the methods provided in the embodiments of the present disclosure may be performed alone or together with some methods in the embodiments of the present disclosure or some methods in the related art.
As shown in fig. 18, in this embodiment, an apparatus for updating configuration is provided, where the apparatus is applied to a master node in a Mesh network, and includes an acquisition module 181 and a first sending module 182, where,
The acquiring module 181 is configured to acquire configuration information; the configuration information is used for configuring a functional module of a network node in the Mesh network; the network node comprises: the system comprises a main control node and at least one proxy node connected with the main control node;
the first sending module 182 is configured to: in response to the configuration information being obtained, sending an update command carrying the configuration information to the proxy node; the update command is used for triggering the proxy node to update the configuration of the functional module of the proxy node by using the configuration information.
In one embodiment, the apparatus further comprises a generation module 183, wherein,
The generating module 183 is configured to generate at least one piece of sub-configuration information based on the configuration information; wherein different sub-configuration information is used for configuring different functional modules;
The first sending module 182 is further configured to send an update command carrying the sub-configuration information to the proxy node; wherein, the update command also carries the information of the mapping relation; and the information of the mapping relation indicates the relation between the sub-configuration information and the functional module.
In one embodiment, the generating module 183 is further configured to: generating standard configuration information of the sub-configuration information by utilizing a coding rule; wherein the standard configuration information is configuration information with a predetermined format;
the first sending module 182 is further configured to send an update command carrying the standard configuration information to a proxy node of the master node.
In one embodiment, the generating module 183 is further configured to correspond to different configuration identifiers for different sub-configuration information, where the configuration identifiers are used to indicate the sub-configuration information of the corresponding functional module.
In one embodiment, the apparatus further comprises a first receiving module 184 and a determining module 185, wherein,
The first receiving module 184 is configured to receive a feedback configuration identifier sent by the proxy node; wherein the feedback configuration identifier is generated according to the currently configured sub-configuration information of the first designated functional module of the proxy node;
The determining module 185 is configured to: and responding to the fact that the configuration identifier corresponding to the first appointed functional module in the main control node is inconsistent with the feedback configuration identifier, and determining to send the update command for updating the configuration of the first appointed functional module to the proxy node.
In one embodiment, the apparatus further includes a first update module 186, wherein,
The first updating module 186 is configured to: responding to the sub-configuration information update of a second designated functional module in the main control node, and updating the configuration identifier of the second designated functional module;
And/or the number of the groups of groups,
The first sending module 182 is configured to: and responding to the update of the sub-configuration information of the second designated functional module in the main control node, and sending the updated sub-configuration information of the second designated functional module to the proxy node.
In one embodiment, the apparatus further comprises a trigger module 187, wherein,
The triggering module 187 is configured to: and in response to the update command sent to the proxy node, triggering the main control node to update the configuration of the functional module of the main control node by using the configuration information.
As shown in fig. 19, in this embodiment, an apparatus for configuration update is provided, which is applied to a proxy node in a Mesh network, and includes a second receiving module 191 and a second updating module 192, where,
The second receiving module 191 is configured to receive an update command carrying configuration information sent by a master control node in the Mesh network; the configuration information is used for configuring a functional module of the proxy node;
The second update module 192 is configured to: and in response to receiving the update command, updating the configuration of the functional module of the proxy node with the configuration information.
In one embodiment, the second receiving module 191 is further configured to receive an update command carrying sub-configuration information sent by the master node;
Wherein different sub-configuration information is used for configuring different functional modules; the update command also carries information of a mapping relation, wherein the information of the mapping relation indicates the relation between the sub-configuration information and the functional module.
In one embodiment, the second receiving module 191 is further configured to:
Receiving an update command carrying standard configuration information sent by the main control node;
wherein the standard configuration information is configuration information with a predetermined format generated based on the sub-configuration information.
In one embodiment, the second receiving module 191 is further configured to: different sub-configuration information corresponds to different configuration identifiers, wherein the configuration identifiers are used for indicating the sub-configuration information of the corresponding functional module.
In one embodiment, the apparatus further comprises a second transmission module 193, wherein,
The second sending module 193 is configured to send a feedback configuration identifier to the master node;
wherein the feedback configuration identifier is generated according to the currently configured sub-configuration information of the first designated functional module of the proxy node;
the second receiving module 191 is further configured to receive the update command sent by the master node to the proxy node to update the configuration of the first specified functional module.
In one embodiment, the second updating module 192 is further configured to:
and in response to receiving the updated sub-configuration information of the second designated function module sent by the main control node, updating the sub-configuration information of the function module corresponding to the second designated function module in the proxy node.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The embodiment of the disclosure also provides a communication device, including:
An antenna;
A memory;
And the processor is respectively connected with the antenna and the memory, and is used for controlling the antenna to transmit and receive wireless signals by executing executable programs stored in the memory and executing the steps of the wireless network access method provided by any embodiment.
The communication device provided in this embodiment may be the aforementioned terminal or base station. The terminal may be various personal or vehicle-mounted terminals. The base station may be various types of base stations, such as a 4G base station or a 5G base station, etc.
The antenna may be various types of antennas, such as a 3G antenna, a 4G antenna, or a 5G antenna; the antenna may further include: wiFi antennas or wireless charging antennas, etc.
The memory may include various types of storage media, which are non-transitory computer storage media capable of continuing to memorize information stored thereon after a power down of the communication device.
The processor may be coupled to the antenna and the memory via a bus or the like for reading an executable program stored on the memory, for example, at least one of the methods shown in any of the embodiments of the present disclosure.
The embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing an executable program, where the executable program when executed by a processor implements the steps of the wireless network access method provided in any of the foregoing embodiments, for example, at least one of the methods shown in any of the embodiments of the present disclosure.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 20 is a block diagram illustrating an electronic device 600, according to an example embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 20, the electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the electronic device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 606 provides power to the various components of the electronic device 600. The power supply components 606 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 600.
The multimedia component 608 includes a screen between the electronic device 600 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and/or a rear camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 600 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 614 includes one or more sensors for providing status assessment of various aspects of the electronic device 600. For example, the sensor assembly 614 may detect an on/off state of the device 600, a relative positioning of the components, such as a display and keypad of the electronic device 600, the sensor assembly 614 may also detect a change in position of the electronic device 600 or a component of the electronic device 600, the presence or absence of a user's contact with the electronic device 600, an orientation or acceleration/deceleration of the electronic device 600, and a change in temperature of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communication between the electronic device 600 and other devices, either wired or wireless. The electronic device 600 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as memory 604, including instructions executable by processor 820 of electronic device 600 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (16)
1. A method for configuration update, wherein the method is applied to a master node in a Mesh network, and comprises:
Acquiring configuration information; the configuration information is used for configuring a functional module of a network node in the Mesh network; the network node comprises: the system comprises a main control node and at least one proxy node connected with the main control node;
In response to the configuration information being obtained, sending an update command carrying the configuration information to the proxy node; the update command is used for triggering the proxy node to update the configuration of the functional module of the proxy node by using the configuration information;
and in response to the update command sent to the proxy node, triggering the main control node to update the configuration of the functional module of the main control node by using the configuration information.
2. The method of claim 1, wherein after obtaining the configuration information, the method further comprises:
Generating at least one piece of sub-configuration information based on the configuration information; wherein different sub-configuration information is used for configuring different functional modules;
the sending the update command carrying the configuration information to the proxy node includes:
Sending an update command carrying the sub-configuration information to the proxy node; wherein, the update command also carries the information of the mapping relation; and the information of the mapping relation indicates the relation between the sub-configuration information and the functional module.
3. The method according to claim 2, characterized in that the method further comprises:
Generating standard configuration information of the sub-configuration information by utilizing a coding rule; wherein the standard configuration information is configuration information with a predetermined format;
The sending the update command carrying the sub-configuration information to the proxy node of the main control node comprises the following steps:
and sending an update command carrying the standard configuration information to the proxy node of the main control node.
4. The method of claim 2, wherein different ones of the sub-configuration information correspond to different configuration identifications, wherein the configuration identifications are used to indicate the sub-configuration information of the corresponding functional module.
5. The method according to claim 4, further comprising:
Receiving a feedback configuration identifier sent by the proxy node; wherein the feedback configuration identifier is generated according to the currently configured sub-configuration information of the first designated functional module of the proxy node;
and responding to the fact that the configuration identifier corresponding to the first appointed functional module in the main control node is inconsistent with the feedback configuration identifier, and determining to send the update command for updating the configuration of the first appointed functional module to the proxy node.
6. The method according to claim 4, further comprising:
Responding to the sub-configuration information update of a second designated functional module in the main control node, and updating the configuration identifier of the second designated functional module;
And/or the number of the groups of groups,
And responding to the update of the sub-configuration information of the second designated functional module in the main control node, and sending the updated sub-configuration information of the second designated functional module to the proxy node.
7. A method for configuration update, wherein the method is applied to a proxy node in a Mesh network, and comprises:
Receiving an update command carrying configuration information sent by a main control node in a Mesh network; the configuration information is used for configuring a functional module of the proxy node;
In response to receiving the update command, updating a configuration of the functional module of the proxy node with the configuration information; wherein, in response to the master node sending the update command to the proxy node, the configuration of the functional module of the master node is updated based on the configuration information.
8. The method of claim 7, wherein the receiving the update command carrying the configuration information sent by the master node in the Mesh network includes:
receiving an update command carrying sub-configuration information sent by the main control node;
Wherein different sub-configuration information is used for configuring different functional modules; the update command also carries information of a mapping relation, wherein the information of the mapping relation indicates the relation between the sub-configuration information and the functional module.
9. The method of claim 8, wherein the receiving the update command carrying the sub-configuration information sent by the master node comprises:
Receiving an update command carrying standard configuration information sent by the main control node;
wherein the standard configuration information is configuration information with a predetermined format generated based on the sub-configuration information.
10. The method of claim 8, wherein different ones of the sub-configuration information correspond to different configuration identifications, wherein the configuration identifications are used to indicate the sub-configuration information of corresponding functional modules.
11. The method of claim 8, wherein the method further comprises:
Sending a feedback configuration identifier to the main control node; wherein the feedback configuration identifier is generated according to the currently configured sub-configuration information of the first designated functional module of the proxy node;
and receiving the update command which is sent by the main control node to the proxy node and used for updating the configuration of the first designated functional module.
12. The method of claim 8, wherein the method further comprises:
and in response to receiving the updated sub-configuration information of the second designated function module sent by the main control node, updating the sub-configuration information of the function module corresponding to the second designated function module in the proxy node.
13. The device for configuration updating is characterized by being applied to a main control node in a Mesh network and comprising an acquisition module and a first sending module,
The acquisition module is used for acquiring configuration information; the configuration information is used for configuring a functional module of a network node in the Mesh network; the network node comprises: the system comprises a main control node and at least one proxy node connected with the main control node;
the first sending module is configured to: in response to the configuration information being obtained, sending an update command carrying the configuration information to the proxy node; the update command is used for triggering the proxy node to update the configuration of the functional module of the proxy node by using the configuration information;
the apparatus is further configured to: and in response to the update command sent to the proxy node, triggering the main control node to update the configuration of the functional module of the main control node by using the configuration information.
14. An apparatus for configuration update, wherein the apparatus is applied to a proxy node in a Mesh network, the apparatus comprises a second receiving module and a second updating module, wherein,
The second receiving module is used for receiving an update command carrying configuration information sent by a main control node in the Mesh network; the configuration information is used for configuring a functional module of the proxy node;
The second updating module is configured to: in response to receiving the update command, updating a configuration of the functional module of the proxy node with the configuration information; wherein, in response to the master node sending the update command to the proxy node, the configuration of the functional module of the master node is updated based on the configuration information.
15. An electronic device, the electronic device comprising: a processor and a memory for storing a computer service capable of running on the processor, wherein the processor is configured to implement the method of any one of claims 1 to 6, or 7 to 12 when running the computer service.
16. A storage medium having computer-executable instructions embodied therein, the computer-executable instructions being executable by a processor to perform the method of any one of claims 1 to 6, or 7 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110571697.8A CN113342370B (en) | 2021-05-25 | 2021-05-25 | Configuration updating method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110571697.8A CN113342370B (en) | 2021-05-25 | 2021-05-25 | Configuration updating method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113342370A CN113342370A (en) | 2021-09-03 |
CN113342370B true CN113342370B (en) | 2024-09-03 |
Family
ID=77471294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110571697.8A Active CN113342370B (en) | 2021-05-25 | 2021-05-25 | Configuration updating method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113342370B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114531477B (en) * | 2022-04-22 | 2022-08-30 | 深圳丰尚智慧农牧科技有限公司 | Method and device for configuring functional components, computer equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110691331A (en) * | 2019-08-30 | 2020-01-14 | 国家电网有限公司 | Conference demonstration method and device based on Bluetooth mesh technology and terminal equipment |
Family Cites Families (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080123586A1 (en) * | 2006-08-29 | 2008-05-29 | Manser David B | Visualization of ad hoc network nodes |
US20090070425A1 (en) * | 2007-09-12 | 2009-03-12 | Hewlett-Packard Development Company, L.P. | Data processing system, method of updating a configuration file and computer program product |
CN102307113B (en) * | 2007-12-28 | 2014-04-02 | 华为技术有限公司 | System upgrading method, system and device |
JP5217966B2 (en) * | 2008-11-28 | 2013-06-19 | 富士通株式会社 | Storage system update processing program, update processing method, and storage system |
CN101917492B (en) * | 2010-08-06 | 2013-06-05 | 北京乾唐视联网络科技有限公司 | Communication method and communication system of novel network |
CN105320527A (en) * | 2014-06-12 | 2016-02-10 | 中兴通讯股份有限公司 | Configuration file renewing method, device and system based on zookeeper distributed type search engine |
CN106021375B (en) * | 2016-05-11 | 2019-11-26 | 深圳市永兴元科技股份有限公司 | Data bank access method and database broker node |
CN106603281A (en) * | 2016-12-07 | 2017-04-26 | 乐视控股(北京)有限公司 | Configuration file management method and system |
CN113347651A (en) * | 2017-01-20 | 2021-09-03 | 无线通信与技术公司 | System and method for setting up mesh network using universal gateway node |
CN109257319B (en) * | 2017-07-12 | 2022-04-26 | 斑马智行网络(香港)有限公司 | Internet of things, and routing and identifier distribution method, device, equipment and medium thereof |
US11317469B2 (en) * | 2017-11-28 | 2022-04-26 | Telefonaktiebolaget Lm Ericsson (Publ) | Radio access network node technology |
CN108958885A (en) * | 2018-06-27 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of management method and device of configuration information |
CN109361558B (en) * | 2018-12-19 | 2021-09-21 | 上海智格网通信科技有限公司 | Distributed wireless ad hoc network management method based on grid network equipment proxy node |
CN110417870B (en) * | 2019-07-05 | 2022-05-13 | 北京达佳互联信息技术有限公司 | Configuration file management method, device, equipment and storage medium |
CN110531984B (en) * | 2019-08-08 | 2023-06-23 | 金蝶软件(中国)有限公司 | Code compiling method, device, system, computer equipment and storage medium |
CN112822748B (en) * | 2019-11-18 | 2023-08-15 | 中国移动通信有限公司研究院 | Routing method and device |
CN111459510A (en) * | 2020-03-30 | 2020-07-28 | 招商局金融科技有限公司 | Cross-network operating system installation method and device, electronic equipment and medium |
CN111614729B (en) * | 2020-04-28 | 2023-06-02 | 北京金山云网络技术有限公司 | Method and device for controlling kubernetes container cluster and electronic equipment |
CN112616140A (en) * | 2020-12-16 | 2021-04-06 | 江苏惠通集团有限责任公司 | Information display system |
CN112654103B (en) * | 2021-01-12 | 2022-06-21 | 杭州雅观科技有限公司 | Method for enhancing reliability of mesh intelligent home ad hoc network |
-
2021
- 2021-05-25 CN CN202110571697.8A patent/CN113342370B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110691331A (en) * | 2019-08-30 | 2020-01-14 | 国家电网有限公司 | Conference demonstration method and device based on Bluetooth mesh technology and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113342370A (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111837425B (en) | Access method, access device and storage medium | |
CN112166634B (en) | Paging cause sending method and device, and paging cause obtaining method and device | |
CN114097259B (en) | Communication processing method, communication processing device and storage medium | |
US11647425B2 (en) | Methods and devices for reducing temperature for user equipment | |
CN106454998B (en) | Wireless local area network access method, device and terminal | |
CN107926000B (en) | Information receiving and transmitting method, device and system | |
CN110622612A (en) | Information reporting method and device, configuration method and device, multi-card terminal and base station | |
CN115633343A (en) | Tracking area updating method and device, communication equipment and storage medium | |
CN105049219A (en) | Network traffic ordering method and system, mobile terminal and server | |
CN113342370B (en) | Configuration updating method and device, electronic equipment and storage medium | |
CN113747395B (en) | Method and device for broadcasting and receiving configuration information of synchronous signal block | |
CN113395745A (en) | Method, device, terminal and storage medium for accessing Mesh network | |
CN112039604A (en) | Equipment rapid networking technology based on intelligent home scene | |
CN109168329A (en) | System information alteration notification method, device and computer readable storage medium | |
CN111279778A (en) | Communication processing method, device and computer storage medium | |
CN113115402B (en) | Access method and device of access point, electronic equipment and storage medium | |
CN113163467B (en) | Node hop count updating method, device, terminal and storage medium in Mesh network | |
CN113016200B (en) | Capability interaction method and device, interaction triggering method and device | |
CN111294230B (en) | Parameter acquisition method and device | |
US10904797B2 (en) | Communication method and device | |
CN111800836A (en) | Communication method, communication device, electronic equipment and storage medium | |
EP3086528B1 (en) | Method and device for controlling access of smart device | |
CN111601363A (en) | Method, device and storage medium for assisting intelligent equipment to automatically access wireless network | |
CN113424485B (en) | Indication information configuration and receiving method and device, user equipment, base station and medium | |
CN117596712B (en) | Method, device, system, electronic equipment and medium for network node to access network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |