A routing relay method and a routing relay device
By establishing a routing relay link between nodes and nodes using carrier and Bluetooth communication capabilities for relay connection, the problem of carrier communication technology caused by complex and changing electricity environment can not be normalized, and the reliability of communication is improved.
Patent Information
- Application Number
- CN202110186625.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-10
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2041-02-10
AI Technical Summary
In the case of complex and changeable power consumption environment, low-voltage power line high-speed carrier communication technology cannot communicate normally, resulting in communication connection problems.
Provide a route relay method and device, which uses nodes with carrier communication capabilities and Bluetooth communication capabilities to determine whether preset requirements are met after receiving relay requests. If so, relay connections are made through Bluetooth communication to complete the relay task. .
The problem of carrier communication technology caused by the complex and changing electric environment of the electricity environment cannot communicate normally, and improves the reliability of communication.
Smart Images

Figure CN114915945B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a routing relay method and a routing relay device. Background Art
[0002] The construction of the power user electricity consumption information collection system includes the main station, communication channels, collection terminals, electric energy meters and auxiliary projects. In the related technology, the collection of power information is generally achieved through low-voltage carrier communication. However, the power consumption environment is complex and changeable. There are environmental conditions where low-voltage power line high-speed carrier communication technology alone cannot communicate normally. Therefore, it is urgent to propose a routing relay method to solve the problem that low-voltage power line high-speed carrier communication technology cannot communicate normally. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a routing relay method and a routing relay device to solve the communication connection problem when the carrier communication technology in the prior art cannot communicate normally.
[0004] According to the first aspect, an embodiment of the present invention provides a routing relay method, which is applied to a node that responds to a relay request, and the node that responds to the relay request is a node with carrier communication capability and Bluetooth communication capability, including the following steps: when a relay request is received, determine whether the number of times the relay request is received within a preset time meets preset requirements; when the preset requirements are met, connect via Bluetooth communication capability and execute the relay task corresponding to the relay request.
[0005] Optionally, the routing relay method also includes: when the number of relay requests received within the preset time does not meet the preset number, determining whether the current load rate is less than a first preset load threshold; when the load rate is less than the first preset load threshold, connecting via Bluetooth communication capability to execute the relay task corresponding to the relay request.
[0006] Optionally, the routing relay method also includes: determining whether the load rate during the execution of the relay task exceeds a second preset load threshold; when the load rate of the relay node during the execution of the relay task exceeds the second preset load threshold, sending an early warning message to the node that initiates the relay request, and the early warning message is used to prompt the node that initiates the relay request to find a new node to respond to the relay request.
[0007] Optionally, the Bluetooth communication capabilities of the relay node that receives the relay request include networking communication capabilities and point-to-point communication capabilities; the method also includes: when receiving information indicating that there is no new link sent by the node that initiates the relay request, reducing the networking communication parameters; when the networking communication parameters are reduced to a preset value, sending a warning.
[0008] According to the second aspect, an embodiment of the present invention provides a routing relay method, which is applied to a node that initiates a relay request, wherein the node that initiates the relay request is a node with carrier communication capability and Bluetooth communication capability, and includes the following steps: when the carrier communication link with the target communication node is blocked, the Bluetooth communication capability is used to scan the connectable communication nodes within the first target range, and the first target communication node among the connectable communication nodes is used as a relay node and a relay request is initiated to the relay node.
[0009] Optionally, the routing relay method also includes: when receiving a warning message sent by the first target communication node, scanning the communication nodes within the second target range, and initiating a relay request to the second target communication node, the warning information indicates that the load rate of the first target communication node is higher than a preset load rate; when a relay link is formed with the second target communication node, the relay task is allocated to the first target communication node and the second target communication node.
[0010] Optionally, the routing relay method also includes: receiving the load rate of the first target communication node and the load rate of the second target communication node; when the load rate of the first target communication node is lower than a third preset load threshold and the load rate of the second target communication node is lower than a fourth preset load threshold, determining whether the total load rate formed by executing the relay task is lower than a fifth preset load threshold; when the total load rate formed by executing the relay task is lower than the fifth preset load threshold, interrupting the relay link formed by connecting to the first target communication node or interrupting the relay link formed by connecting to the second target communication node according to the target condition.
[0011] According to the third aspect, an embodiment of the present invention provides a routing relay device, which is applied to a node that responds to a relay request, and the node that responds to the relay request is a node with carrier communication capability and Bluetooth communication capability, including: a first judgment module, which is used to determine whether the number of times the relay request is received within a preset time meets preset requirements when a relay request is received; a relay execution module, which is used to connect via Bluetooth communication capability and execute the relay task corresponding to the relay request when the preset requirements are met.
[0012] According to the fourth aspect, an embodiment of the present invention provides a routing relay device, which is applied to a node that initiates a relay request, and the node that initiates the relay request is a node with carrier communication capability and Bluetooth communication capability, including: a relay request initiating module, which is used to scan the connectable communication nodes within the first target range through the Bluetooth communication capability when the carrier communication link with the target communication node is blocked, and use the first target communication node among the connectable communication nodes as a relay node and initiate a relay request to the relay node.
[0013] According to the fifth aspect, an embodiment of the present invention provides a communication device, including: a carrier communication module, used to connect with other communication node devices to form a carrier communication link; a Bluetooth module, used to connect with other communication node devices to form a Bluetooth communication link; a processor, used to execute the routing relay method described in the first aspect or any implementation method of the first aspect, or the second aspect or any implementation method of the second aspect.
[0014] The technical solution of the present invention has the following advantages:
[0015] 1. The routing relay method / device provided in the embodiment of the present invention determines whether the preset requirements are met after receiving the relay request by the node that responds to the relay request (a node with carrier communication capability and Bluetooth communication capability). If the preset requirements are met, a relay connection is performed according to the Bluetooth communication capability to complete the relay task, thereby solving the defect that the carrier communication technology cannot communicate normally due to the complex and changeable power environment, and improving the reliability of communication.
[0016] 2. The routing relay method / device provided in the embodiment of the present invention enables the node that initiates the relay request to initiate the relay request through the Bluetooth function to establish a relay link when the communication link is blocked, thereby solving the problem of complex and changeable power usage environment, which leads to the defect that normal communication cannot be performed by carrier communication technology, and improving the reliability of communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A flowchart of a specific example of the routing relay method in an embodiment of the present invention;
[0019] Figure 2 is a specific example principle block diagram of a routing relay device in an embodiment of the present invention;
[0020] Figure 3 The figure is a specific example principle block diagram of a communication device in an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0023] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0024] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0025] This embodiment provides a routing relay method, which can be specifically applied to collecting electricity consumption information in the comprehensive power market, such as Figure 1 As shown, the method is applied to a node that responds to a relay request, and the node that responds to the relay request is a node that has carrier communication capability and Bluetooth communication capability, and includes the following steps:
[0026] S101, when a relay request is received, determining whether the number of times the relay request is received within a preset time meets a preset requirement; if the preset requirement is met, executing S102;
[0027] Exemplarily, the carrier communication capability of the node may indicate that the node is capable of low-voltage power line high-speed carrier communication (HPLC), and the Bluetooth communication capability of the node may indicate that the node has a low-power Bluetooth BLE point-to-point relay connection function. The preset time may be 5 minutes, and the preset requirement may be that the same relay request is received more than twice within the preset time. The method for determining the number of relay requests received within the preset time may be that when a relay request is received, first determine whether the same request address has issued the same request within the preset time, and when the same request address has issued the request within the preset time, then determine whether the number of times the request is initiated within the preset time exceeds the preset number. This embodiment does not limit the preset time length and the preset requirement, and those skilled in the art can determine as needed.
[0028] S102, connecting via Bluetooth communication capability, and executing a relay task corresponding to the relay request.
[0029] Exemplarily, when the preset requirements are met, the connection is made through the Bluetooth communication capability, and the way to perform the relay task corresponding to the relay request can be: first, according to the Bluetooth communication capability of the current node, a point-to-point link connection is made with the node that initiates the relay request. The way to make the point-to-point link connection can be to start the low-power Bluetooth BLE point-to-point relay connection function through Bluetooth. Then, using the carrier communication capability of the current node, a connection request based on low-voltage power line high-speed carrier communication technology is initiated to the target address in the relay request, a relay communication link is established, and the corresponding data is transmitted according to the transmission task in the relay request.
[0030] The routing relay method provided in this embodiment determines whether the preset requirements are met after receiving the relay request by the node that responds to the relay request (a node with carrier communication capability and Bluetooth communication capability). If the preset requirements are met, the relay connection is performed according to the Bluetooth communication capability to complete the relay task, thereby solving the defect that the carrier communication technology cannot communicate normally due to the complex and changeable power environment, and improving the reliability of communication.
[0031] As an optional implementation of this embodiment, when the preset requirements are met, the connection is made through the Bluetooth communication capability, and the relay task corresponding to the relay request is executed, including:
[0032] As an optional implementation of this embodiment, the routing relay method further includes:
[0033] When the number of relay requests received within the preset time does not meet the preset number, it is determined whether the current load rate is less than the first preset load threshold; when the load rate is less than the first preset load threshold, the relay task corresponding to the relay request is executed.
[0034] Exemplarily, a method for determining whether the current load state is less than a first preset load threshold may be to count the load rate of the current node, and compare the load rate with a pre-stored first preset load threshold. The first preset load threshold may be 60% of the maximum load rate that the current node can bear. The load rate may be determined in units of minutes, communication load rate = total duration of executing communication services / 60S*100%, wherein the executed communication services include executing other relay tasks or other communication services, such as data transmission services executed when multiple devices are connected, etc. When the load rate is less than the first preset load threshold, the relay task corresponding to the relay request is executed. This embodiment does not limit the size of the first preset load threshold, and those skilled in the art may determine it as needed.
[0035] As an optional implementation of this embodiment, the routing relay method also includes: determining whether the load rate during the execution of the relay task exceeds a second preset load threshold; when the load rate of the relay node during the execution of the relay task exceeds the second preset load threshold, sending an early warning message to the node that initiates the relay request, and the early warning message is used to prompt the node that initiates the relay request to find a new node to respond to the relay request.
[0036] Exemplarily, the second preset load threshold represents that the load rate of the current node has basically reached the upper limit, and the specific numerical value may be 80% of the maximum load of the current node. This embodiment does not limit the value of the second preset load threshold, and those skilled in the art may determine it as needed. The method for judging whether the load rate in the process of executing the relay task exceeds the second preset load threshold may be: first, the load of the current node in the process of executing the relay task is monitored to obtain the communication data of the node, and then, according to the communication data of the node, it is judged whether the load rate in the process of executing the relay task exceeds the second preset load threshold. When the load rate of the relay node exceeds the second preset load threshold during the execution of the relay task, an early warning message is sent to the node that initiates the relay request to prompt the node that initiates the relay request, so as to facilitate the node that initiates the relay request to find a new node and form a new communication link to reduce the communication pressure of the current link.
[0037] As an optional implementation of this embodiment, the Bluetooth communication capabilities possessed by the relay node that receives the relay request include networking communication capabilities and point-to-point communication capabilities. The method also includes: when receiving information indicating that there is no new link sent by the node that initiates the relay request, reducing the networking communication parameters; when the networking communication parameters are reduced to a preset value, sending a warning.
[0038] Exemplarily, the networking communication capability indicates that the node has mesh Bluetooth networking function, and the Bluetooth sensor devices under the mesh Bluetooth sensor network can connect with other Bluetooth smart devices to form a network. Mesh Bluetooth is a networking mode based on flooding broadcast. Bluetooth nodes with the same configuration parameters can automatically form a mesh network. The broadcast signal works under three broadcast channels. In the mesh network, lightweight sensor data or smart device data within 11 bytes are transmitted each time. The point-to-point communication capability indicates that the node has a low-power Bluetooth BLE protocol working mode. The BLE protocol is a point-to-point connection protocol with a communication relay function.
[0039] When information indicating that there is no new link is received from the node that initiated the relay request, in order to ensure the priority of executing the relay task, the networking communication parameters are reduced. The networking communication parameters can be reduced by reducing the processing frequency of communication services in the mesh sensing networking mode. This embodiment does not limit the method of reducing the networking communication parameters, and technical personnel in this field can determine it as needed.
[0040] When the networking communication parameter is reduced to a preset value, a warning is sent, wherein the preset value may be 0, that is, when the processing frequency of the communication service in the mesh sensing networking mode is reduced to 0, a warning is sent. The warning may be sent to the node that initiates the relay request, or may be sent to the HPLC network coordination terminal to prompt network optimization and increase of communication nodes with relay capabilities.
[0041] The routing relay method provided in this embodiment is that the Bluetooth communication capabilities possessed by the relay node that receives the relay request include networking communication capabilities and point-to-point communication capabilities, thereby ensuring that each relay node can complete the networking function in addition to completing the relay task. The networking function can allow larger-scale node devices to access the network when performing applications such as wireless sensor networks and building automation networks, and perform reliable and secure transmission, and supports the access of smart devices, thereby improving the scalability of intelligent functions.
[0042] This embodiment provides a routing relay method, which is applied to a node that initiates a relay request, wherein the node that initiates the relay request is a node that has carrier communication capability and Bluetooth communication capability, and includes the following steps:
[0043] When the carrier communication link with the target communication node is blocked, the connectable communication nodes within the first target range are scanned through the Bluetooth communication capability, and the first target communication node among the connectable communication nodes is used as a relay node and a relay request is initiated to the relay node.
[0044] Exemplarily, the first target range can be determined by the connectable range of different Bluetooth modes themselves, and in this embodiment, it can be the connectable range in the low-power Bluetooth BLE point-to-point mode. When the carrier communication link between the node that initiates the relay request and the target communication node is not connected, the connectable communication nodes within the first target range are scanned by Bluetooth. If there are multiple connectable communication nodes, the first target communication node can be determined according to the signal strength, for example, the communication node with the strongest signal is selected as the first target communication node; it can also be determined according to the current load rate of multiple connectable communication nodes, for example, the communication node with the lowest current load rate among multiple connectable communication nodes is selected as the first target communication node. This embodiment does not limit the method of selecting the first target communication node, and those skilled in the art can determine it as needed. When the first target communication node is determined, a relay request is initiated to the node so that the node performs the corresponding relay task.
[0045] The routing relay method provided in this embodiment is that when the communication link is blocked, the node that initiates the relay request initiates the relay request through the Bluetooth function to establish a relay link, thereby solving the defect that the carrier communication technology cannot communicate normally due to the complex and changeable power environment, and improving the reliability of communication.
[0046] As an optional implementation of this embodiment, the routing relay method further includes:
[0047] First, when receiving the warning information sent by the first target communication node, scanning the communication nodes within the second target range, and initiating a relay request to the second target communication node, the warning information indicates that the load rate of the first target communication node performing the relay task is higher than the preset load rate;
[0048] Exemplarily, the second target range can be determined by the connectable range of different Bluetooth modes themselves, and in this embodiment, it can be the connectable range in the low-power Bluetooth BLE point-to-point mode. When the warning information sent by the first target communication node is received, it means that the load rate of the first target communication node is too high, higher than the preset load rate, and it is necessary to find other relay links to collaboratively complete the relay task. At this time, the communication nodes within the second target range are scanned, and a relay request is initiated to the second target communication node, wherein the preset load rate can be 80% of the current node's maximum load. The specific method of selecting the second target communication node is the same as the method of selecting the first target communication node, which will not be repeated here.
[0049] Secondly, when a relay link is formed with the second target communication node, the relay task is allocated to the first target communication node and the second target communication node.
[0050] Exemplarily, the relay task can be allocated to the first target communication node and the second target communication node by an equal distribution, or can be determined according to the current load rate of the first target communication node and the second target communication node. The higher the load rate, the fewer relay tasks are allocated. This embodiment does not limit the manner in which the relay task is allocated to the first target communication node and the second target communication node, and those skilled in the art can determine it as needed. Allocating the relay task to the two communication nodes improves the reliability of executing the relay task.
[0051] As an optional implementation of this embodiment, the routing relay method further includes:
[0052] First, receiving the load rate of the first target communication node and the load rate of the second target communication node; when the load rate of the first target communication node is lower than the third preset load threshold and the load rate of the second target communication node is lower than the fourth preset load threshold, determining whether the total load rate formed by executing the relay task is lower than the fifth preset load threshold;
[0053] Exemplarily, the third preset load threshold and the fourth preset load threshold may be 40% of the current node's maximum load, indicating that there is a lot of redundancy in the current node load, and the fifth preset load threshold may be 60% of the current node's maximum load rate, indicating that the relay task can be completed normally through one communication node. The total load rate formed by executing the relay task can be obtained by adding the load rate of the first target communication node and the load rate of the second target communication node.
[0054] When the first target communication node and the second target communication node are both performing relay tasks, the node that initiates the relay request will receive the load rate data of the first target communication node and the second target communication node, and adjust the task allocation according to the load rate data. When the load rate of the first target communication node is lower than the third preset load threshold and the load rate of the second target communication node is lower than the fourth preset load threshold, it indicates that there is a lot of redundancy when the first target communication node and the second target communication node perform relay tasks. At this time, it is determined whether the total load rate formed by the relay task is lower than the fifth preset load threshold. If it is lower than the fifth preset load threshold, the characterization can be completed by any one of the first target communication node and the second target communication node alone.
[0055] First, when the total load rate formed by executing the relay task is lower than the fifth preset load threshold, the relay link formed by connecting with the first target communication node or the relay link formed by connecting with the second target communication node is interrupted according to the target condition.
[0056] Exemplarily, the method for determining whether to interrupt the relay link formed by the connection of the first target communication node or the relay link formed by the connection of the second target communication node may be a random interruption, or an interruption according to the signal strength of the link connection, such as interrupting a link with a poor signal; it may also be determined based on the load rate of the communication node, such as interrupting a relay link with a higher current load rate. This embodiment does not limit the method for determining whether to interrupt the relay link, and those skilled in the art may determine it as needed.
[0057] This embodiment provides a routing relay device, such as Figure 2 As shown, it is applied to a node responding to a relay request, and the node responding to the relay request is a node with carrier communication capability and Bluetooth communication capability, including: For specific contents, please refer to the corresponding part of the above embodiment, which will not be repeated here.
[0058] The first judgment module 201 is used to judge whether the number of times the relay request is received within a preset time meets a preset requirement when a relay request is received; the specific content refers to the corresponding part of the above embodiment, which will not be repeated here.
[0059] The relay execution module 202 is used to connect via Bluetooth communication capability and execute the relay task corresponding to the relay request when the preset requirements are met. The specific contents refer to the corresponding part of the above embodiment, which will not be repeated here.
[0060] As an optional implementation of this embodiment, the following further includes:
[0061] The load rate judgment module is used to judge whether the current load rate is less than the first preset load threshold when the number of relay requests received within the preset time does not meet the preset number; the specific content refers to the corresponding part of the above embodiment, which will not be repeated here.
[0062] The second relay execution submodule is used to execute the relay task corresponding to the relay request when the load rate is less than the first preset load threshold. For details, please refer to the corresponding part of the above embodiment, which will not be repeated here.
[0063] As an optional implementation of this embodiment, the following further includes:
[0064] The relay task monitoring module is used to determine whether the load rate during the execution of the relay task exceeds the second preset load threshold; the specific content refers to the corresponding part of the above embodiment, which will not be repeated here.
[0065] The early warning module is used to send an early warning message to the node that initiates the relay request when the load rate of the relay node exceeds the second preset load threshold during the execution of the relay task, and the early warning message is used to prompt the node that initiates the relay request to find a new node to respond to the relay request. For details, please refer to the corresponding part of the above embodiment, which will not be repeated here.
[0066] As an optional implementation manner of this embodiment, the Bluetooth communication capability of the relay node that receives the relay request includes networking communication capability and point-to-point communication capability; the device also includes:
[0067] The parameter adjustment module is used to reduce the networking communication parameters when receiving the information indicating that there is no new link sent by the node initiating the relay request; the specific content refers to the corresponding part of the above embodiment, which will not be repeated here.
[0068] The alarm module is used to send a warning when the networking communication parameter drops to a preset value. For details, please refer to the corresponding part of the above embodiment, which will not be repeated here.
[0069] This embodiment provides a routing relay device, which is applied to a node that initiates a relay request, wherein the node that initiates the relay request is a node that has carrier communication capability and Bluetooth communication capability, including:
[0070] The relay request initiation module is used to scan the connectable communication nodes within the first target range through the Bluetooth communication capability when the carrier communication link with the target communication node is not connected, and use the first target communication node among the connectable communication nodes as a relay node and initiate a relay request to the relay node. For details, please refer to the corresponding part of the above embodiment, which will not be repeated here.
[0071] As an optional implementation of this embodiment, the routing relay device further includes:
[0072] The second target communication node connection module is used to scan the communication nodes within the second target range and initiate a relay request to the second target communication node when receiving the early warning information sent by the first target communication node. The early warning information indicates that the load rate of the first target communication node performing the relay task is higher than the preset load rate. For the specific content, please refer to the corresponding part of the above embodiment and will not be repeated here.
[0073] The task allocation module is used to allocate the relay task to the first target communication node and the second target communication node when a relay link is formed with the second target communication node. For details, please refer to the corresponding part of the above embodiment, which will not be repeated here.
[0074] As an optional implementation of this embodiment, the routing relay device further includes:
[0075] The load rate receiving module is used to receive the load rate of the first target communication node and the load rate of the second target communication node; the specific content refers to the corresponding part of the above embodiment and will not be repeated here.
[0076] A total load rate determination module is used to determine whether the total load rate formed by executing the relay task is lower than the fifth preset load threshold when the load rate of the first target communication node is lower than the third preset load threshold and the load rate of the second target communication node is lower than the fourth preset load threshold; the specific content refers to the corresponding part of the above embodiment, which will not be repeated here.
[0077] The link interruption module is used to interrupt the relay link formed by connecting to the first target communication node or interrupt the relay link formed by connecting to the second target communication node according to the target condition when the total load rate formed by executing the relay task is lower than the fifth preset load threshold. For details, please refer to the corresponding part of the above embodiment, which will not be repeated here.
[0078] This embodiment provides a communication device, including:
[0079] The carrier communication module 301 is used to connect with other communication node devices to form a carrier communication link;
[0080] Bluetooth module 302, used to connect with other communication node devices to form a Bluetooth communication link;
[0081] The processor 303 is configured to execute the routing relay method of the above embodiment.
[0082] For example, the carrier communication module 301 can perform low-voltage power line high-speed carrier communication. The Bluetooth module 302 can have a low-power Bluetooth BLE point-to-point relay connection function. Figure 3 As shown, the processor 303 can be in the form of an independent module, connected to the carrier communication module and the Bluetooth module, and executes the routing relay method of the above embodiment; the processor 303 can also be a processor in the carrier communication module 301; the processor 303 can also be a processor in the Bluetooth module 302. This embodiment does not limit the appearance of the processor, and those skilled in the art can determine it as needed. The routing relay task performed by the processor is specifically referred to the above routing relay method, which will not be repeated here.
[0083] As an optional implementation manner of this embodiment, the communication device further includes:
[0084] The external interface module is connected to the processor and is used for data exchange with external devices.
[0085] Exemplarily, the external device may be some peripheral sensor circuits or external data acquisition communication interfaces. This embodiment does not limit the type of the external device, and those skilled in the art may determine it as needed.
[0086] As an optional implementation manner of this embodiment, the communication device further includes:
[0087] The storage module is connected to the processor and is used for data storage.
[0088] As an optional implementation manner of this embodiment, the communication device further includes:
[0089] A power supply is used to supply power to the carrier communication module, the Bluetooth module and the processor.
[0090] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.
Claims
1. A routing relay method, characterized in that: The method is applied to a node that responds to a relay request, wherein the node that responds to the relay request is a node that has carrier communication capability and Bluetooth communication capability, and comprises the following steps: When a relay request is received, determining whether the number of times the relay request is received within a preset time meets a preset requirement; When the preset requirements are met, a connection is made via the Bluetooth communication capability to execute the relay task corresponding to the relay request; Determining whether the load rate during the execution of the relay task exceeds a second preset load threshold; When the load rate of the relay node exceeds a second preset load threshold during the execution of the relay task, an early warning message is sent to the node that initiates the relay request; The warning information is used to enable the node initiating the relay request to scan the communication nodes within the second target range and initiate a relay request to the second target communication node; The warning information indicates that the load rate of the first target communication node performing the relay task is higher than the preset load rate; when the node initiating the relay request forms a relay link with the second target communication node, the node initiating the relay request allocates the relay task to the first target communication node and the second target communication node; The first target communication node and the second target communication node send the load rate to the node that initiates the relay request; the load rate of the first target communication node and the second target communication node is used to make the node that initiates the relay request determine whether the total load rate formed by executing the relay task is lower than the fifth preset load threshold when the load rate of the first target communication node is lower than the third preset load threshold and the load rate of the second target communication node is lower than the fourth preset load threshold; when the total load rate formed by executing the relay task is lower than the fifth preset load threshold, the node that initiates the relay request interrupts the relay link formed by connecting to the first target communication node or interrupts the relay link formed by connecting to the second target communication node according to the target condition.
2. The method according to claim 1, characterized in that Also includes: When the number of relay requests received within the preset time does not meet the preset number, determining whether the current load rate is less than a first preset load threshold; When the load rate is less than the first preset load threshold, a connection is made via Bluetooth communication capability to execute a relay task corresponding to the relay request.
3. The method according to any one of claims 1 to 2, characterized in that: The Bluetooth communication capability of the relay node that receives the relay request includes networking communication capability and point-to-point communication capability; the method further includes: When receiving information indicating that there is no new link sent by the node initiating the relay request, the network communication parameters are reduced; When the networking communication parameters drop to the preset values, a warning is sent.
4. A routing relay method, characterized in that: The method is applied to a node initiating a relay request, wherein the node initiating the relay request is a node having carrier communication capability and Bluetooth communication capability, and comprises the following steps: When the carrier communication link with the target communication node is disconnected, the connectable communication nodes within the first target range are scanned through the Bluetooth communication capability, and the first target communication node among the connectable communication nodes is used as a relay node and a relay request is initiated to the relay node; When receiving the warning information sent by the first target communication node, scanning the communication nodes within the second target range, and initiating a relay request to the second target communication node, the warning information indicates that the load rate of the first target communication node performing the relay task is higher than the preset load rate; when forming a relay link with the second target communication node, allocating the relay task to the first target communication node and the second target communication node; Receive the load rate of the first target communication node and the load rate of the second target communication node; when the load rate of the first target communication node is lower than the third preset load threshold and the load rate of the second target communication node is lower than the fourth preset load threshold, determine whether the total load rate formed by executing the relay task is lower than the fifth preset load threshold; when the total load rate formed by executing the relay task is lower than the fifth preset load threshold, interrupt the relay link formed by connecting to the first target communication node or interrupt the relay link formed by connecting to the second target communication node according to the target condition.
5. A routing relay device, characterized in that: Applied to a node that responds to a relay request, the node that responds to the relay request is a node that has carrier communication capability and Bluetooth communication capability, including: A first judgment module is used to determine whether the number of times the relay request is received within a preset time meets a preset requirement when a relay request is received; A relay execution module, used to connect via Bluetooth communication capability and execute the relay task corresponding to the relay request when the preset requirements are met; Determine whether the load rate during the execution of the relay task exceeds a second preset load threshold; when the load rate of the relay node during the execution of the relay task exceeds the second preset load threshold, send an early warning message to the node that initiates the relay request; the early warning message is used to enable the node that initiates the relay request to scan the communication nodes within the second target range and initiate a relay request to the second target communication node; the early warning message indicates that the load rate of the first target communication node that performs the relay task is higher than the preset load rate; when the node that initiates the relay request forms a relay link with the second target communication node, the node that initiates the relay request allocates the relay task to the first target communication node and the second target communication node; The first target communication node and the second target communication node send the load rate to the node that initiates the relay request; the load rate of the first target communication node and the second target communication node is used to make the node that initiates the relay request determine whether the total load rate formed by executing the relay task is lower than the fifth preset load threshold when the load rate of the first target communication node is lower than the third preset load threshold and the load rate of the second target communication node is lower than the fourth preset load threshold; when the total load rate formed by executing the relay task is lower than the fifth preset load threshold, the node that initiates the relay request interrupts the relay link formed by connecting to the first target communication node or interrupts the relay link formed by connecting to the second target communication node according to the target condition.
6. A routing relay device, characterized in that: Applicable to a node initiating a relay request, wherein the node initiating the relay request is a node having carrier communication capability and Bluetooth communication capability, including: A relay request initiating module, used to scan connectable communication nodes within a first target range through Bluetooth communication capability when the carrier communication link with the target communication node is disconnected, and use the first target communication node among the connectable communication nodes as a relay node and initiate a relay request to the relay node; When receiving the warning information sent by the first target communication node, scanning the communication nodes within the second target range, and initiating a relay request to the second target communication node, the warning information indicates that the load rate of the first target communication node performing the relay task is higher than the preset load rate; when forming a relay link with the second target communication node, allocating the relay task to the first target communication node and the second target communication node; Receive the load rate of the first target communication node and the load rate of the second target communication node; when the load rate of the first target communication node is lower than the third preset load threshold and the load rate of the second target communication node is lower than the fourth preset load threshold, determine whether the total load rate formed by executing the relay task is lower than the fifth preset load threshold; when the total load rate formed by executing the relay task is lower than the fifth preset load threshold, interrupt the relay link formed by connecting to the first target communication node or interrupt the relay link formed by connecting to the second target communication node according to the target condition.
7. A communication device, characterized in that: include: A carrier communication module, used to connect with other communication node devices to form a carrier communication link; A Bluetooth module is used to connect with other communication node devices to form a Bluetooth communication link; A processor, used to execute the routing relay method described in any one of claims 1-4.
Citation Information
Patent Citations
Relay device, wireless communication network access method and wireless communication system
CN101242637A
Trigger conditions for measurement reports for relay selection
CN107431941A
Data transmission method and data transmission device
CN108881042A
A D2D communication relay node selection method in an electric power communication system
CN109862542A