CN111405650A - Method and system for setting zigbee equipment power - Google Patents
Method and system for setting zigbee equipment power Download PDFInfo
- Publication number
- CN111405650A CN111405650A CN202010153574.8A CN202010153574A CN111405650A CN 111405650 A CN111405650 A CN 111405650A CN 202010153574 A CN202010153574 A CN 202010153574A CN 111405650 A CN111405650 A CN 111405650A
- Authority
- CN
- China
- Prior art keywords
- power
- gateway
- setting
- reference value
- sub
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/18—TPC being performed according to specific parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/54—Signalisation aspects of the TPC commands, e.g. frame structure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a zigbee equipment power setting method, which comprises the following steps: the gateway acquires a power number reference value; and when the sub-equipment is connected with the gateway, the gateway sets the maximum power of the sub-equipment according to the power value reference value. Compared with the prior art, the method has the following beneficial effects: the method and the device realize that the power of the device is adjusted to the maximum within the legal standard range based on different regulations of the maximum value of the transmitting power of different countries, and realize the optimal performance of the device.
Description
Technical Field
The application relates to the field of Internet of things, in particular to a method for setting zigbee equipment power.
Background
Zigbee is a wireless network protocol for transmission, so in practical applications, the distance is transmitted. Is an important parameter, and the transmission distance is directly related to the transmission power of the device, the transmission is further the greater the transmission power, and the transmission is shorter the smaller the transmission power.
In the prior art, according to the capability of a device chip and the characteristics of a device, the power of the device is adjusted to the maximum when the device leaves a factory, and the performance of the device is ensured. However, according to the wireless transmission power safety standard, different countries have corresponding limits on the maximum power, so if the maximum power exceeds the value, the illegal and non-compliant situation is determined.
Disclosure of Invention
The main purpose of the present application is to provide a method for setting zigbee device power, including:
the gateway acquires a power number reference value;
when the sub-equipment is connected with the gateway, the gateway sets the maximum power of the sub-equipment according to the power value reference value;
optionally, in the method for setting zigbee device power, the method for setting zigbee device power further includes:
and the sub-equipment sends a setting result to the gateway.
Optionally, in the method for setting zigbee device power, the acquiring, by the gateway, the power reference value includes:
the gateway acquires a country code;
and acquiring the corresponding power reference value according to the country code.
Optionally, in the method for setting the zigbee device power, the power reference value is a maximum power value.
Optionally, in the method for setting zigbee device power, the acquiring, by the gateway, the country code includes:
storing the country code when the gateway device is produced, or storing the country code when the gateway device is activated.
Optionally, in the method for setting zigbee device power, the method for setting zigbee device power further includes:
and judging whether the sub-equipment is connected with the gateway or not.
According to another aspect of the present application, there is also provided a zigbee device power setting system, including:
the acquisition module is used for acquiring a power number reference value by the gateway;
and the setting module is used for setting the maximum power of the sub-equipment by the gateway according to the power value reference value when the sub-equipment is connected with the gateway.
The application also discloses a computer device, which comprises a memory, a processor and a computer program stored in the memory and capable of being executed by the processor, wherein the processor realizes the method of any one of the above items when executing the computer program.
The application also discloses a computer-readable storage medium, a non-volatile readable storage medium, having stored therein a computer program which, when executed by a processor, implements the method of any of the above.
The present application also discloses a computer program product comprising computer readable code which, when executed by a computer device, causes the computer device to perform the method of any of the above.
Compared with the prior art, the method has the following beneficial effects:
the method and the device realize that the power of the device is adjusted to the maximum within the legal standard range based on different regulations of the maximum value of the transmitting power of different countries, and realize the optimal performance of the device.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
FIG. 1 is a schematic flow chart diagram of a method for setting zigbee device power according to an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram illustrating a method for setting zigbee device power according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a computer device according to one embodiment of the present application; and
FIG. 4 is a schematic diagram of a computer-readable storage medium according to one embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to fig. 1-2, an embodiment of the present application provides a method for setting zigbee device power, including:
s2: the gateway acquires a power number reference value;
s4: and when the sub-equipment is connected with the gateway, the gateway sets the maximum power of the sub-equipment according to the power value reference value.
For example, the gateway obtains a power reference value of 200w, and when the child device is connected to the gateway, the gateway sets the maximum power of the child device according to the value of 200 w. If this reference value is half the maximum power, then the maximum power is set to 400. If this reference value is twice the maximum power, the maximum power is set to 100. That is, the power reference value is not necessarily equal to the maximum power, and the maximum power of the sub-device can be set according to the power reference value as long as the power reference value and the relationship between the power reference value and the maximum power are obtained, and all of the sub-devices are within the scope of the present application.
In addition, the maximum power may be the maximum power allowed by the law of the country where the device is located, may also be the maximum power allowed by the region where the device is used, and may even be the maximum power allowed by the environment where the device is used, all of which are within the scope of the present application.
In an embodiment of the present application, in the method for setting zigbee device power, the method for setting zigbee device power further includes:
and the sub-equipment sends a setting result to the gateway.
When the method is used, the maximum power of the sub-equipment is set successfully or not, and a setting result is generated. The kid device will send the result of this setting to the gateway to let the gateway record the relevant result. For example, the gateway obtains a power reference value of 200w, and when the child device is connected to the gateway, the gateway sets the maximum power of the child device according to the value of 200 w. If this reference value is half of the maximum power, the maximum power is set to 400 w. Take the maximum power of 400w as an example. When the maximum power of the child device is set to 400w, the setting is not described to be successful, and the child device transmits information that the setting is successful to the gateway. When the maximum power of the child device is not set to 400w, the child device transmits information of setting failure to the gateway. The setting failure here may be that the maximum power before the setting of the sub-device is assumed to be 300, and the maximum power after the setting is 300, that is, the original maximum power is unchanged; the original maximum power can be modified from 300 to 350, namely, an error is set; or otherwise, are within the scope of the present application as claimed.
In an embodiment of the present application, in the method for setting zigbee device power, the acquiring, by the gateway, a power reference value includes:
the gateway acquires a country code;
and acquiring the corresponding power reference value according to the country code.
For example, when the maximum power is the maximum power allowed by the country for the device, it is known in which country the device is. The country in which the device is located can be known from the country code. Therefore, when the gateway equipment is used, the country code is firstly obtained by the gateway equipment, and then the maximum power specified by the law of the country is obtained according to the country code. Also, that is, the power reference value is not necessarily equal to the maximum power, and it is within the scope of the present application that the maximum power of the sub-device can be set according to the power reference value as long as the power reference value and the relationship between the power reference value and the maximum power are obtained.
In an embodiment of the present application, in the method for setting the zigbee device power, the power reference value is a maximum power value.
In this embodiment, the power reference value is the maximum power value. For example, the gateway obtains a power reference value of 200w, and when the child device is connected to the gateway, the gateway sets the maximum power of the child device according to the value of 200 w. Since this reference value is the maximum power value, the maximum power is 200w, and the gateway sets the maximum power of the kid device to 200. In an embodiment of the present application, in the method for setting zigbee device power, the acquiring, by the gateway, the country code includes:
storing the country code when the gateway device is produced, or storing the country code when the gateway device is activated.
There are various methods for acquiring the country code. For example, the information may be stored in the gateway in advance, or may be transmitted to the gateway when used.
When the country code is stored in the gateway in advance, the country code may be stored at the time of manufacturing the device, or may be stored at other stages, all of which are within the scope of the present application.
When the country code is sent when the gateway is in use, the gateway obtains the country code sent from any third party through the network, and the method belongs to the protection scope of the application.
In an embodiment of the present application, in the method for setting zigbee device power, the method for setting zigbee device power further includes:
s3: and judging whether the sub-equipment is connected with the gateway or not.
When setting the maximum power of a kid device, it is necessary to know whether the kid device has been added to the gateway. For example, the gateway obtains a power reference value of 200w, determines whether the sub-device is connected to the gateway, and when the sub-device is connected to the gateway, the gateway sets the maximum power of the sub-device according to the value of 200 w.
In an embodiment of the present application, a system for setting zigbee device power is further provided, including:
the acquisition module is used for acquiring a power number reference value by the gateway;
and the setting module is used for setting the maximum power of the sub-equipment by the gateway according to the power value reference value when the sub-equipment is connected with the gateway.
Compared with the prior art, the method has the following beneficial effects:
the method and the device realize that the power of the device is adjusted to the maximum within the legal standard range based on different regulations of the maximum value of the transmitting power of different countries, and realize the optimal performance of the device.
Referring to fig. 3, the present application further provides a computer device including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method of any one of the above methods when executing the computer program.
Referring to fig. 4, a computer-readable storage medium, a non-volatile readable storage medium, having stored therein a computer program which, when executed by a processor, implements any of the methods described above.
A computer program product comprising computer readable code which, when executed by a computer device, causes the computer device to perform the method of any of the above.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
1. A method for setting zigbee equipment power is characterized by comprising the following steps:
the gateway acquires a power number reference value;
and when the sub-equipment is connected with the gateway, the gateway sets the maximum power of the sub-equipment according to the power value reference value.
2. The method for setting zigbee device power according to claim 1, wherein the method for setting zigbee device power further comprises:
and the sub-equipment sends a setting result to the gateway.
3. The zigbee device power setting method of claim 2, wherein the gateway obtaining the power reference value comprises:
the gateway acquires a country code;
and acquiring the corresponding power reference value according to the country code.
4. The method for setting zigbee device power according to claim 3, wherein the power reference value is a maximum power value.
5. The zigbee device power setting method of claim 4, wherein the gateway obtaining the country code comprises:
storing the country code when the gateway device is produced, or storing the country code when the gateway device is activated.
6. The method for setting zigbee device power according to claim 5, wherein the method for setting zigbee device power further comprises:
and judging whether the sub-equipment is connected with the gateway or not.
7. A zigbee device power setting system, comprising:
the acquisition module is used for acquiring a power number reference value by the gateway;
and the setting module is used for setting the maximum power of the sub-equipment by the gateway according to the power value reference value when the sub-equipment is connected with the gateway.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable by the processor, wherein the processor implements the method of any one of claims 1-6 when executing the computer program.
9. A computer-readable storage medium, a non-transitory readable storage medium, having stored therein a computer program, characterized in that the computer program, when executed by a processor, implements the method according to any one of claims 1-6.
10. A computer program product comprising computer readable code that, when executed by a computer device, causes the computer device to perform the method of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010153574.8A CN111405650A (en) | 2020-03-06 | 2020-03-06 | Method and system for setting zigbee equipment power |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010153574.8A CN111405650A (en) | 2020-03-06 | 2020-03-06 | Method and system for setting zigbee equipment power |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111405650A true CN111405650A (en) | 2020-07-10 |
Family
ID=71413268
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010153574.8A Pending CN111405650A (en) | 2020-03-06 | 2020-03-06 | Method and system for setting zigbee equipment power |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111405650A (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1692611A (en) * | 2002-10-15 | 2005-11-02 | 英特尔公司 | Operating an ad-hoc wireless network in one or more regulatory regions |
CN1757028A (en) * | 2002-12-27 | 2006-04-05 | 美商亚瑟罗斯通讯股份有限公司 | System and method of conforming wireless devices to worldwide regulations |
CN101715229A (en) * | 2009-11-23 | 2010-05-26 | 杭州华三通信技术有限公司 | Method, device and system for regulating power of Station dynamically |
CN101854673A (en) * | 2010-05-28 | 2010-10-06 | 杭州华三通信技术有限公司 | Self-adaptive wireless local area network (WLAN) channel and power control method and device |
WO2012061358A2 (en) * | 2010-11-02 | 2012-05-10 | Alcatel-Lucent Usa Inc. | Methods of setting maximum output power for user equipment and reporting power headroom, and the user equipment |
CN103415055A (en) * | 2012-11-01 | 2013-11-27 | 上海物联网有限公司 | Wireless sensor network coordinator re-selection algorithm based on assistance of cellular network |
US20140323108A1 (en) * | 2013-04-25 | 2014-10-30 | Control4 Corporation | Systems and methods for adjusting power settings of a wireless device |
CN104412664A (en) * | 2014-05-05 | 2015-03-11 | 华为终端有限公司 | Wi-Fi network connection method, Wi-Fi controller and Wi-Fi device |
US20160095103A1 (en) * | 2014-09-30 | 2016-03-31 | Qualcomm Incorporated | Country code selection logic for wi-fi stations |
WO2018103466A1 (en) * | 2016-12-07 | 2018-06-14 | 广东欧珀移动通信有限公司 | Method for applying wireless fidelity country code, apparatus, intelligent terminal and storage medium |
CN109068346A (en) * | 2018-08-27 | 2018-12-21 | 出门问问信息科技有限公司 | A kind of method and device configuring WiFi parameter |
CN109088781A (en) * | 2018-10-26 | 2018-12-25 | 广东美的制冷设备有限公司 | Configuration method, device and the intelligent appliance equipment of less radio-frequency parameter |
CN110401975A (en) * | 2019-07-05 | 2019-11-01 | 深圳市中电数通智慧安全科技股份有限公司 | A kind of method, apparatus and electronic equipment of the transmission power adjusting internet of things equipment |
-
2020
- 2020-03-06 CN CN202010153574.8A patent/CN111405650A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1692611A (en) * | 2002-10-15 | 2005-11-02 | 英特尔公司 | Operating an ad-hoc wireless network in one or more regulatory regions |
CN1757028A (en) * | 2002-12-27 | 2006-04-05 | 美商亚瑟罗斯通讯股份有限公司 | System and method of conforming wireless devices to worldwide regulations |
CN101715229A (en) * | 2009-11-23 | 2010-05-26 | 杭州华三通信技术有限公司 | Method, device and system for regulating power of Station dynamically |
CN101854673A (en) * | 2010-05-28 | 2010-10-06 | 杭州华三通信技术有限公司 | Self-adaptive wireless local area network (WLAN) channel and power control method and device |
WO2012061358A2 (en) * | 2010-11-02 | 2012-05-10 | Alcatel-Lucent Usa Inc. | Methods of setting maximum output power for user equipment and reporting power headroom, and the user equipment |
CN103415055A (en) * | 2012-11-01 | 2013-11-27 | 上海物联网有限公司 | Wireless sensor network coordinator re-selection algorithm based on assistance of cellular network |
US20140323108A1 (en) * | 2013-04-25 | 2014-10-30 | Control4 Corporation | Systems and methods for adjusting power settings of a wireless device |
CN104412664A (en) * | 2014-05-05 | 2015-03-11 | 华为终端有限公司 | Wi-Fi network connection method, Wi-Fi controller and Wi-Fi device |
US20160095103A1 (en) * | 2014-09-30 | 2016-03-31 | Qualcomm Incorporated | Country code selection logic for wi-fi stations |
WO2018103466A1 (en) * | 2016-12-07 | 2018-06-14 | 广东欧珀移动通信有限公司 | Method for applying wireless fidelity country code, apparatus, intelligent terminal and storage medium |
CN109068346A (en) * | 2018-08-27 | 2018-12-21 | 出门问问信息科技有限公司 | A kind of method and device configuring WiFi parameter |
CN109088781A (en) * | 2018-10-26 | 2018-12-25 | 广东美的制冷设备有限公司 | Configuration method, device and the intelligent appliance equipment of less radio-frequency parameter |
CN110401975A (en) * | 2019-07-05 | 2019-11-01 | 深圳市中电数通智慧安全科技股份有限公司 | A kind of method, apparatus and electronic equipment of the transmission power adjusting internet of things equipment |
Non-Patent Citations (2)
Title |
---|
刘玉铭: "基于ZigBee技术的人体生理信息传输***的设计与实现", pages 2 * |
安中文;时立锋;郝晓强;张华健;: "一种无线通信发射功率控制方法设计", 软件, no. 04 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107612909B (en) | Information interaction method, device and equipment about Internet of things equipment | |
CN110784450A (en) | Single sign-on method and device based on browser | |
CN109041140B (en) | Method for rapidly switching wireless network, intelligent hardware and terminal equipment | |
CN109586962B (en) | Device and method for processing HTTPS (hypertext transfer protocol secure) outer chain problem of upgrading IPv4 to IPv6 and electronic equipment | |
CN111885115A (en) | Equipment binding change method and device | |
EP2858326A1 (en) | Service information discovery method and device | |
CN103634935A (en) | WPS (Wi-Fi protected setup) or QSS (quick secure setup)-based network accessing method and device | |
CN112532711A (en) | Edge computing application deployment method, terminal, edge computing node and storage medium | |
CN111654399A (en) | Networking method, device and equipment based on SD-WAN and storage medium | |
CN105141627B (en) | Data sending and receiving method, device and equipment | |
CN110139274A (en) | A kind of method for authenticating of bluetooth equipment, electronic equipment and can storage medium | |
CN114598750B (en) | Data request processing method, device and storage medium | |
CN111740963B (en) | Data communication method and device | |
CN110888892B (en) | Block synchronization method, device and storage medium | |
CN111405650A (en) | Method and system for setting zigbee equipment power | |
CN113243097B (en) | Equipment binding method, cloud server and first equipment | |
JP6951380B2 (en) | Gateway device, communication method and program | |
CN109389306B (en) | User order synchronization method and device | |
CN114285890B (en) | Cloud platform connection method, device, equipment and storage medium | |
CN106341861B (en) | Method, server and system for identifying wireless access point | |
CN113132333B (en) | Networking login method, household appliance equipment, household appliance system and storage medium | |
CN112416619A (en) | Interface configuration method, equipment, terminal and storage medium | |
CN106204261A (en) | A kind of information processing method, terminal and server | |
CN110881213A (en) | Method and system for transmitting network test process information | |
CN110580172A (en) | Configuration rule verification method and device, storage medium and electronic device |
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 |