CN-121985403-A - Method and device for controlling transmitting power of ad hoc network equipment
Abstract
The embodiment of the invention discloses a method and a device for controlling the transmitting power of an ad hoc network device, which utilize the characteristic that the ad hoc network device has different communication requirements under the condition of different network distribution states, and under the condition of no network distribution, and transmitting the communication message with lower transmitting power, and under the condition of the matched network, adaptively adjusting the transmitting power of the target communication message according to the historical communication data, thereby effectively reducing unnecessary power loss and reducing system power consumption. In a further improvement, for different communication objects, the power attribute information of the communication objects is determined according to the transmitting power information in the historical communication messages sent by the communication objects and the receiving signal strength of the historical communication messages, so that the channel state between the communication objects can be judged according to the loss condition of the historical communication messages in the transmission process, the proper transmitting power is determined to send the communication messages, and the communication quality is improved.
Inventors
- SU XIANG
- CHEN WENBING
- NIU YUE
Assignees
- 浙江未来精灵人工智能科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260109
Claims (11)
- 1. A method for controlling transmit power of an ad hoc network device, the method comprising: And transmitting communication messages by adopting different transmitting powers according to the distribution network state of the self-organizing network equipment, wherein the transmitting power in the non-distribution network state is smaller than or equal to the transmitting power in the distribution network state.
- 2. The method of claim 1, wherein transmitting the communication message with different transmit powers based on the distribution network state of the ad hoc network device comprises: Determining a ligand network state; responding to the distribution network state as the non-distribution network, and controlling the transmitting power of the communication message as the non-distribution network power; responding to the distribution network state as the distributed network, and adaptively controlling the transmitting power of the target communication message according to the power information of the historical communication message of the communication object; And the unassigned network power is smaller than or equal to the self-adaptively controlled transmitting power.
- 3. The method according to claim 1, wherein the communication message includes a device identifier of a transmitting device and transmit power information, and the transmit power information is used to characterize a transmit power used by the transmitting device to transmit the communication message; The self-adaptive control of the transmitting power of the communication message according to the power information of the historical communication message of the communication object comprises the following steps: determining a communication object of a target communication message; Determining power attribute information of the communication object, wherein the power attribute information is determined according to transmitting power information and receiving signal strength information of historical communication messages sent by the communication object; And determining the transmitting power of the target communication message according to the power attribute information.
- 4. A method according to claim 3, wherein determining the power attribute information of the communication object comprises: determining the average value of the transmitting power and the average value of the receiving signal intensity of at least one historical communication message sent by the communication object, wherein the historical communication message is a historical communication message or a preset number of historical communication messages in a preset time period; And determining the power attribute information of the communication object according to the relative relation between the transmitting power average value and the receiving signal intensity average value.
- 5. The method of claim 4, wherein the power attribute information is a function of a difference or a ratio of the transmit power average and a receive power average corresponding to the receive signal strength information average, or And the power attribute information is a gear corresponding to the difference or the ratio of the transmitting power average value and the receiving power average value corresponding to the receiving signal intensity information average value.
- 6. The method of claim 3, wherein the power attribute information is a transmit power average and a received signal strength average of at least one historical communication message transmitted by the communication object; determining the transmitting power of the target communication message according to the power attribute information comprises the following steps: and determining the transmitting power of the target communication message according to the relative relation between the transmitting power average value and the receiving signal intensity average value.
- 7. The method of claim 3, wherein adaptively controlling the transmit power of the target communication message based on the power information of the historical communication message of the communication object further comprises: And sending a test message to the communication object to instruct the communication object to send at least one test response message in response to the power attribute information of the communication object not being present or not meeting a preset condition.
- 8. The method according to any one of claims 1-7, wherein the ad hoc network device is a bluetooth mesh device, and the communication message is a bluetooth mesh communication message.
- 9. A transmit power control apparatus for an ad hoc network device, the apparatus comprising: a state determining unit for determining the distribution network state of the ad hoc network equipment, and And the power control unit is used for transmitting the communication message by adopting different transmitting powers according to the distribution network state, wherein the transmitting power in the non-distribution network state is smaller than or equal to the transmitting power in the distribution network state.
- 10. An electronic device comprising a communication component, a memory, and a processor, wherein the memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method of any of claims 1-8.
- 11. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, implements the method according to any of claims 1-8.
Description
Method and device for controlling transmitting power of ad hoc network equipment Technical Field The invention relates to the field of ad hoc network communication, in particular to a method and a device for controlling the transmitting power of ad hoc network equipment. Background With the development of short-range communication technology, ad hoc networks are increasingly used. An Ad Hoc Network (Ad Hoc Network) is a distributed Network architecture without center, self-organization and multi-hop transmission, nodes have the functions of terminals and routing, and Network connection is automatically established and maintained through a dynamic discovery and collaboration mechanism. The network topology is adaptively adjusted along with the node movement or state change without presetting an infrastructure or centralized control nodes. Each node can actively discover adjacent nodes and negotiate to establish connection, and data is transmitted to a target through multi-hop relay, so that the method has the characteristics of rapid deployment, flexible expansion and the like. Based on the ad hoc network technology, different electrical equipment can be flexibly networked, and equipment control can be flexibly performed, so that the method is widely applied to the field of intelligent home. However, in the prior art, the ad hoc network device generally transmits the communication message with a preset fixed power, which increases unnecessary energy consumption in some situations, and causes communication interference between devices in other situations, so that the ad hoc network communication quality is poor. Disclosure of Invention In view of this, the embodiments of the present invention provide a method and an apparatus for controlling the transmit power of an ad hoc network device, which are expected to reduce the energy consumption of an ad hoc network system on the premise of ensuring the communication quality. In a first aspect, a method for controlling transmit power of an ad hoc network device is provided, where the method includes: And transmitting communication messages by adopting different transmitting powers according to the distribution network state of the self-organizing network equipment, wherein the transmitting power in the non-distribution network state is smaller than or equal to the transmitting power in the distribution network state. In some embodiments, transmitting the communication message with different transmit powers according to the configuration state of the ad hoc network device includes: Determining a ligand network state; responding to the distribution network state as the non-distribution network, and controlling the transmitting power of the communication message as the non-distribution network power; responding to the distribution network state as the distributed network, and adaptively controlling the transmitting power of the target communication message according to the power information of the historical communication message of the communication object; And the unassigned network power is smaller than or equal to the self-adaptively controlled transmitting power. In some embodiments, the communication message includes a device identifier of the sending device and transmit power information, where the transmit power information is used to characterize transmit power employed by the sending device to send the communication message; The self-adaptive control of the transmitting power of the communication message according to the power information of the historical communication message of the communication object comprises the following steps: determining a communication object of a target communication message; Determining power attribute information of the communication object, wherein the power attribute information is determined according to transmitting power information and receiving signal strength information of historical communication messages sent by the communication object; And determining the transmitting power of the target communication message according to the power attribute information. In some embodiments, determining the power attribute information of the communication object includes: Determining a transmitting power average value and a receiving signal intensity average value of at least one historical communication message sent by the communication object, wherein the plurality of historical communication messages are historical communication messages or a preset number of historical communication messages in a preset time period; And determining the power attribute information of the communication object according to the relative relation between the transmitting power average value and the receiving signal intensity average value. In some embodiments, the power attribute information is a function of the difference or a function of the ratio of the transmit power average and the receive power average corresponding to the receive signal stren