Power consumption control method and device based on FTTR, equipment and medium
By obtaining the signal strength and position information between the terminal device and the sub-network device, determining the actual distance and adopting corresponding power consumption control strategies, the accuracy and intelligence of power consumption control in the dynamic Mesh network environment are solved, and efficient power consumption management and stable network connection are achieved.
Patent Information
- Application Number
- CN202411985771.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-02
AI Technical Summary
The prior art cannot achieve accurate and intelligent power consumption control in a dynamic Mesh network environment, resulting in large complexity and errors in power consumption management, which cannot meet the needs of high precision, low power consumption and low latency.
By obtaining network signal strength and position information between the terminal device and the sub-network device, the actual distance is determined using the pre-calibrated mapping relationship, and different power consumption control strategies are adopted based on the comparison results of the actual distance and the preset distance threshold.
It realizes more accurate and intelligent power consumption control in a dynamic Mesh network environment, ensuring optimal power consumption management and stable network connections in different scenarios, enhancing the user experience.
Smart Images

Figure CN119922671A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to a power consumption control method, device, equipment and medium based on FTTR. Background Art
[0002] FTTR (Fiber to the Room) technology is a new technology architecture that has gradually gained attention in the field of smart home and wireless communication in recent years. In the context of FTTR technology, dynamic power consumption control is performed by combining multiple network devices. However, since network devices need to continuously participate in the forwarding and processing of data in the network and dynamically changing user behaviors, it not only leads to high energy consumption, but also increases the complexity of power consumption management.
[0003] At present, existing technologies usually implement power consumption control based on the change of signal strength between network devices and users. These traditional methods usually rely on rough estimation of signal strength in the process of power consumption control, and fail to make full use of accurate positioning information for intelligent power consumption control, thus failing to meet the requirements of high precision, low power consumption and low latency, resulting in large errors and affecting the power consumption optimization effect. Therefore, how to achieve more accurate and intelligent power consumption control in a dynamic Mesh network environment is a technical problem that needs to be solved urgently. Summary of the invention
[0004] Based on this, it is necessary to address the above technical problems. The embodiments of the present invention provide a power consumption control method, device, equipment and medium based on FTTR to solve the problem that the prior art cannot achieve more accurate and intelligent power consumption control in a dynamic Mesh network environment.
[0005] A first aspect of an embodiment of the present application provides a power consumption control method based on FTTR, and the power consumption control method based on FTTR includes: Obtain the network signal strength of all sub-network devices connected to the terminal device for communication, as well as the location information of all sub-network devices; Determine the actual distances between all the sub-network devices and the terminal device respectively according to the location information, the network signal strength and a pre-calibrated mapping relationship, wherein the mapping relationship is a correspondence between the pre-calibrated network signal strength and the predicted distance, and the predicted distance is a theoretical distance between all the sub-network devices and the terminal device respectively; Based on the comparison result between the actual distance and the preset distance threshold, corresponding different power consumption control strategies are adopted for all the sub-network devices.
[0006] A second aspect of an embodiment of the present application provides a power consumption control device based on FTTR, and the power consumption control device based on FTTR includes: An acquisition module is used to acquire the network signal strength of all sub-network devices that are connected to the terminal device for communication, as well as the location information of all sub-network devices; A determination module, configured to determine the actual distances between all the sub-network devices and the terminal device respectively according to the location information, the network signal strength and a pre-calibrated mapping relationship, wherein the mapping relationship is a correspondence between the pre-calibrated network signal strength and the predicted distance, and the predicted distance is a theoretical distance between all the sub-network devices and the terminal device respectively; The control module is used to adopt corresponding different power consumption control strategies for all sub-network devices based on the comparison result between the actual distance and the preset distance threshold.
[0007] In a third aspect, an electronic device is provided, comprising a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the power consumption control method based on FTTR as described in the first aspect is implemented.
[0008] In a fourth aspect, a readable storage medium is provided, wherein the readable storage medium stores a program, and when the program is executed by a processor, the power consumption control method based on FTTR as described in the first aspect is implemented.
[0009] In summary, the present invention provides a power consumption control method, device, equipment and medium based on FTTR. The power consumption control method can be implemented based on the FTTR system, FTTR-B system or broadband converged terminal, obtain the network signal strength of all sub-network devices connected to the terminal device, and the location information of all sub-network devices, and determine the actual distance between all sub-network devices and the terminal device according to the location information, network signal strength and pre-calibrated mapping relationship, wherein the mapping relationship is the correspondence between the pre-calibrated network signal strength and the predicted distance, and the predicted distance is the theoretical distance between all sub-network devices and the terminal device, and based on the comparison result of the actual distance and the preset distance threshold, adopt corresponding different power consumption control strategies for all sub-network devices. It can be seen that the present application determines the actual distance between all sub-network devices and the terminal device according to the location information, network signal strength and pre-calibrated mapping relationship, and then compares the actual distance with the preset distance threshold, so as to realize more accurate and intelligent power consumption control for all sub-network devices in a dynamic Mesh network environment, ensure the best power consumption management and stable network connection in different scenarios, and enhance the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0011] Figure 1 It is a flowchart of a power consumption control method based on FTTR provided by one embodiment of the present invention; Figure 2 It is a structural schematic diagram of a power consumption control device based on FTTR provided by one embodiment of the present invention; Figure 3 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0012] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technical personnel in this field without creative work are within the scope of protection of the present invention.
[0013] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0014] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0015] As used in the present specification and the appended claims, the term “if” may be interpreted as “when” or “uponce” or “in response to determining”, depending on the context. Similarly, the phrases “if it is determined” or “if matched to [described condition or event]” may be interpreted as meaning “upon determination” or “in response to determination” or “uponce matched to [described condition or event]” or “in response to matching to [described condition or event]”, depending on the context.
[0016] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0017] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0018] It should be understood that the order of execution of the steps in the following embodiments does not imply a precedence of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0019] In order to illustrate the technical solution of the present invention, specific embodiments are provided below for illustration.
[0020] See also Figure 1 , is a flow chart of a power consumption control method based on FTTR provided by an embodiment of the present invention, such as Figure 1 As shown, the FTTR-based power consumption control method can be implemented through the following steps.
[0021] S201: Obtain the network signal strength of all sub-network devices that are in communication connection with the terminal device, and the location information of all sub-network devices.
[0022] In step S201, the network signal strength refers to the strength of the wireless network signal, which is usually represented by the RSSI (Received Signal Strength Indicator) value. The terminal device includes a fixed terminal device or a mobile terminal device. The fixed terminal device can be a personal computer and a terminal, etc., and the mobile terminal device can be a smart phone and a tablet computer, etc. All sub-network devices include but are not limited to Mesh devices or broadband converged terminals, etc. Since the Mesh network is a distributed network topology structure in which each node (device) can communicate directly with other nodes, this structure creates a multi-path, highly redundant network environment, ensuring fast and stable data transmission. Therefore, in the Mesh network, data can be forwarded through multiple intermediate nodes (such as routers) and finally reach the target device. The terminal device is connected to all sub-network devices by using FTTR technology. Once the connection is successful, the network signal strength between all sub-network devices and the terminal device is measured and recorded. Among them, FTTR technology is used to provide the infrastructure of the high-speed backbone network, connecting each room through optical fiber to ensure that each room has a high-quality network connection. With a high-speed backbone network (such as FTTR), Mesh nodes can be deployed in each room, and Mesh network technology can be used to wirelessly transmit high-speed network signals to every corner, ensuring wireless signal coverage and stability throughout the building, thereby providing users with high-speed, low-latency network access services, greatly improving the quality and stability of the network. FTTR technology can not only support more devices online at the same time, but also effectively solve the bandwidth bottleneck problem in traditional wireless access technology through the high bandwidth advantage of optical fiber.
[0023] In an embodiment of the invention, before obtaining the network signal strength of all sub-network devices in communication connection with the terminal device, the method includes: Obtaining the current network signal strength of the current network device that is in communication connection with the terminal device within a preset period; Determine whether the fluctuation range of the current network signal strength is less than a preset network threshold; If the fluctuation range of the current network signal strength is less than the preset network threshold, the step of obtaining the network signal strength of all sub-network devices in communication connection with the terminal device is performed; If the fluctuation range of the current network signal strength is greater than the preset network threshold, power consumption control is performed on all sub-network devices until the fluctuation range of the current network signal strength is less than the preset network threshold.
[0024] Specifically, in a Mesh network environment, in order to optimize network performance, save energy, and provide stable services, the system periodically collects the current network signal strength between the terminal device (also known as a mobile device or client device) and the current network device (also known as a router or node). This process is usually performed by a central controller in the Mesh network or by each network device itself, depending on the design and implementation of the network. First, determine a suitable collection period, which should be short enough to capture the rapid changes in signal strength, but not too short to avoid consuming too many computing resources and network resources. In each collection period, the network device measures the network signal strength between the terminal device and the terminal device, which is usually achieved by reading the physical layer parameters of the wireless interface, such as the RSSI (received signal strength indication) value of Wi-Fi. The measured network signal strength data will be stored for subsequent analysis and processing, and this data may include timestamps, signal strength values, and related device identification information. In the process of periodically collecting signal strength, the system will monitor the stability of these data. If the current network signal strength remains relatively stable within the preset time (also called the observation window), that is, the fluctuation range of the current network signal strength is less than the preset network threshold, then it can be considered that the user is in a relatively fixed position during this period of time. When the user is in a fixed position for a long time, the Mesh network can adjust the power consumption of the device according to the stability of the signal strength, that is, it can be considered to reduce the power of the network device far away from the user, and keep the original power consumption of the network device at a lower distance from the user. This operation effectively avoids the continuous high power consumption of the network device when the signal is stable, thereby reducing the overall power consumption of the system. When the current network signal strength fluctuates significantly within the preset time, that is, the fluctuation range of the current network signal strength is greater than the preset network threshold, it means that the user is far away from the current network device, and the power consumption of all sub-network devices is controlled, that is, it can be considered to restore the original power consumption of all network devices. When it is detected again that the signal strength remains relatively stable within the preset time (that is, the fluctuation range of the signal strength is less than the threshold), the power consumption control logic less than the preset network threshold is executed, and this is repeated to achieve dynamic power consumption adjustment.
[0025] In the embodiment of the present application, the time window is used to observe the stability of the signal strength, and this time window should be long enough to capture the long-term stability of the user's position. By defining a preset network threshold for signal strength fluctuation, if the fluctuation range of the signal strength within the time window is less than the preset network threshold, the signal is considered to be stable. For network devices far away from the user, since they may have less communication needs with the user, the transmit power of these devices can be reduced. This not only saves energy, but also reduces interference with other devices. For network devices closer to the user, since they need to maintain a stable communication connection with the user, the original power consumption of these devices should be maintained or appropriately adjusted to ensure the quality of communication. It can be seen that the present application analyzes the stability of the user's position according to the signal strength data collected periodically, and then determines which network devices need to adjust the power consumption and the specific strategy of the adjustment according to the analysis results, and sends the power consumption adjustment instruction to the corresponding network device. These instructions may include new transmit power settings, working mode adjustments, etc. After adjusting the power consumption, the performance of the network and the stability of the user's position are continuously monitored, and further adjustments are made as needed. In this way, the adaptability of the system is further enhanced. By judging the amplitude of signal fluctuations, the system can dynamically switch power consumption states to avoid rashly reducing power consumption when the signal is unstable, thereby ensuring the stability of network communications. This feedback mechanism based on real-time signal strength fluctuations improves the system's adaptability in different usage scenarios and avoids excessive power consumption adjustments caused by external interference or user movement.
[0026] It should be noted that the time window and the preset network threshold can be set according to actual conditions, and this application does not impose any limitation on this.
[0027] In this embodiment, through continuous signal strength monitoring and dynamic adjustment, the power consumption of network devices can be flexibly adjusted according to the actual location changes of users and signal fluctuations. If the user is far away from certain network devices and the signal strength is unstable, the system can automatically restore the original power consumption of the network devices to ensure network stability and reduce misjudgment. Conversely, when the signal is stable, the system can appropriately reduce the power consumption of the distant devices according to the distance judgment to achieve energy saving.
[0028] In an embodiment of the invention, obtaining the network signal strength of all sub-network devices in communication connection with the terminal device includes: Sending a detection instruction to all sub-network devices, wherein the detection instruction is used to request to establish a communication connection with all the sub-network devices, and all the sub-network devices are located around the terminal device; Receive response information of the detection instruction, and obtain network signal strength of all sub-network devices that are communicatively connected to the terminal device according to the response information.
[0029] Specifically, the current network device (we assume that it is a network device near the user's current location) will periodically (for example, every minute or every hour) send a detection instruction to the main network device. The purpose of this instruction is to start a signal strength collection process and to request to establish a communication connection with all sub-network devices. After receiving this detection instruction, the main network device will forward it to all sub-network devices in the network. These sub-network devices should be located around the terminal device so that they can receive signals from the terminal device. After receiving the detection instruction, each sub-network device will try to establish a communication connection with the terminal device. This usually involves sending a connection request to the terminal device and waiting for the response of the terminal device. Once a communication connection is established with the terminal device, the sub-network device will measure the network signal strength between the terminal device and the terminal device. This can be achieved by reading the physical layer parameters of the communication interface, such as Wi-Fi signal strength indication (RSSI), Bluetooth signal strength, etc. Then the sub-network device will encapsulate the measured network signal strength and possible other related information (such as connection status, delay, etc.) into a response information packet and send it back to the main network device. The main network device receives the response information packets from all sub-network devices, parses these response information packets, and extracts the network signal strength between each sub-network device and the terminal device. Then, based on the information of network signal strength, the main network device can perform a series of analysis and processing, such as determining the location of the terminal device, optimizing the network configuration, selecting the best communication path, etc. Through the above steps, this helps to ensure that the terminal device can obtain a stable network connection at any location, improve the overall network performance, and thus ensure the stability and efficiency of data transmission.
[0030] In one embodiment of the invention, obtaining location information of all sub-network devices includes: The location information of all sub-network devices is obtained through a low-power communication method, wherein the low-power communication method includes at least one of RFID, WLAN, GPRS, Bluetooth or narrowband Internet of Things.
[0031] Specifically, low power consumption means that when the terminal device communicates with all sub-network devices, the traffic, power and other related quantities consumed are relatively small. For example, an RFID tag is installed on each sub-network device, and an RFID reader is deployed in the area where location information needs to be obtained. The RFID reader activates the RFID tag by sending a radio frequency signal and reads the location information in the tag. In the low-power mode of the present application, all sub-network devices communicate in a low-power mode, and their energy consumption will be much lower than that of GPS positioning. Low-power transmission methods include point-to-point mode (AD-HOC) and low-power Bluetooth, etc. At the same time, big data is used to monitor the switching frequency to determine the time period when the user accesses the location information. The low-power transmission method is only activated during peak hours, thereby significantly reducing the power consumption of sub-network devices.
[0032] In an embodiment of the present application, by obtaining the network signal strength of all sub-network devices that are connected to the terminal device for communication, as well as the location information of all sub-network devices, intelligent distribution of network traffic can be achieved to avoid situations where some sub-network devices are overloaded while other devices are idle, so that the distances between all sub-network devices and the terminal device can be quickly and accurately determined subsequently, thereby performing reasonable power consumption control.
[0033] S202: Determine the actual distances between all the sub-network devices and the terminal device respectively according to the location information, the network signal strength and a pre-calibrated mapping relationship, wherein the mapping relationship is a correspondence between the pre-calibrated network signal strength and the predicted distance, and the predicted distance is a theoretical distance between all the sub-network devices and the terminal device respectively.
[0034] In step S202, the correspondence between the pre-calibrated network signal strength and the predicted distance is used, wherein the predicted distance is the theoretical distance between all sub-network devices and the terminal device respectively. This theoretical distance is only used to distinguish the relative distance between the user and different sub-network devices, so high-precision distance data is not required. It is only a rough distance estimate. Therefore, the actual distance between all sub-network devices and the terminal device is determined based on the location information, network signal strength and the pre-calibrated mapping relationship.
[0035] In an embodiment of the invention, determining the actual distances between all sub-network devices and the terminal device respectively includes: Determining predicted distances between all sub-network devices and the terminal device respectively according to the network signal strength and a pre-calibrated mapping relationship; The location information of the terminal device is calculated using a triangulation positioning algorithm according to the location information of all the sub-network devices and the predicted distances between all the sub-network devices and the terminal device; According to the location information of all the sub-network devices and the location information of the terminal device, the actual distances between all the sub-network devices and the terminal device are determined.
[0036] Specifically, after obtaining the network signal strength of all sub-network devices connected to the terminal device for communication and the location information of all sub-network devices, the mapping relationship between the network signal strength and the predicted distance is pre-calibrated, which is usually obtained through experiments or simulations, that is, the sub-network device is placed at a known distance, and the network signal strength at different distances is measured and recorded. The terminal device finds the corresponding predicted distance in the mapping relationship according to the received network signal strength, and then calculates the location information of the terminal device using a triangulation positioning algorithm based on the location information of all sub-network devices and the predicted distances between all sub-network devices and the terminal device. Once the location of the terminal device is determined, the actual distances between all sub-network devices and the terminal device can be determined using the Euclidean distance formula or other appropriate distance calculation methods based on the location information of all sub-network devices and the location information of the terminal device. The triangulation positioning algorithm usually involves three or more known location points (sub-network devices), and the location of the unknown location point (terminal device) is determined by measuring the distances to these points (more accurate actual measurement values). In this process, iterative calculation and optimization may be required to obtain more accurate actual distances and terminal device locations.
[0037] It should be noted that the method of calculating the location information and actual distance of the terminal device can be set according to actual conditions, and this application does not impose any restrictions on this.
[0038] For example, sub-network devices A, B, and C are located at coordinates (x1, y1), (x2, y2), and (x3, y3), respectively. The preliminary location information of terminal device P is unavailable. Terminal device P receives signals from sub-network devices A, B, and C, and measures their network signal strengths as RSSI_A, RSSI_B, and RSSI_C, respectively. Now, by looking up the mapping relationship, the predicted distance between RSSI_A of sub-network device A and the terminal device is d1, the predicted distance between RSSI_B of sub-network device B and the terminal device is d2, and the predicted distance between RSSI_C of sub-network device C and the terminal device is d3. According to the distance formula, the following three equations can be established: Then, by solving these three equations, the coordinates (x, y) of the mobile terminal P can be obtained. Finally, the actual distance between the mobile terminal and all sub-network devices is calculated. It can be seen that when estimating the distance, a rough positioning algorithm based on the triangulation positioning principle is adopted. By measuring the network signal strength between the terminal device and multiple sub-network devices with known positions and converting it into an estimated distance, combined with the known positions of all sub-network devices, a simple triangulation positioning calculation can quickly and efficiently obtain the distance information of the terminal device relative to each sub-network device. This rough positioning method can meet the power consumption optimization requirements, and in practical applications, the calculation complexity is low and will not cause excessive calculation burden on the system.
[0039] It should be noted that the mapping relationship is obtained based on experiments or simulations and may be affected by a variety of factors (such as environmental obstacles, signal interference, etc.). Therefore, in practical applications, the mapping relationship may need to be regularly calibrated or adjusted to adapt to environmental changes. In addition, the triangulation positioning algorithm also needs to consider factors such as measurement errors and computational complexity.
[0040] In this embodiment, the actual distance between all sub-network devices and the terminal device can be quickly and accurately determined based on location information, network signal strength and a pre-calibrated mapping relationship, so that power consumption can be controlled based on distance judgment, thereby achieving energy saving.
[0041] S203: Based on the comparison result between the actual distance and the preset distance threshold, adopt corresponding different power consumption control strategies for all the sub-network devices.
[0042] In step S203, one or more preset distance thresholds are set according to the requirements of the application scenario. These thresholds can be determined based on factors such as communication range, power consumption requirements, network performance, etc. The actual distance between each sub-network device and the terminal device is compared with the preset distance threshold to determine the comparison result, and then the sub-network devices are divided into different categories according to the comparison result, such as "short distance" and "long distance", etc., and then different power consumption control strategies are adopted for all sub-network devices according to "short distance" and "long distance", so as to reduce the overall power consumption while ensuring the communication quality. For example, suppose there is a smart home system, which includes a central controller (which can be regarded as a "terminal device") and two sub-network devices (respectively marked as GW1 and GW2), which are responsible for providing network connection and sensor data collection in different rooms. In order to reduce power consumption and improve network efficiency, two preset distance thresholds are pre-set: distance threshold: 15 meters, if the actual distance between the sub-network device and the central controller is less than 15 meters, it is regarded as "short distance"; if the distance is greater than 15 meters, it is regarded as "long distance".
[0043] It should be noted that the preset distance threshold can be set according to actual conditions, and this application does not impose any limitation on this.
[0044] In an embodiment of the invention, based on the comparison result between the actual distance and the preset distance threshold, different power consumption control strategies are adopted for all sub-network devices, including: When the actual distance between the sub-network device and the terminal device is greater than the preset distance threshold, the power consumption parameter of the sub-network device is reduced to a preset low power consumption parameter threshold; When the distance between the sub-network device and the terminal device is less than or equal to the preset distance threshold, the power consumption parameter of the sub-network device is maintained at the original power consumption parameter.
[0045] Specifically, when the actual distance between the sub-network device and the terminal device is greater than the preset distance threshold, the power consumption parameter of the sub-network device is reduced to the preset low power consumption parameter threshold, that is, the transmission power can be reduced, the communication frequency can be reduced, or a more energy-saving communication protocol can be adopted. When the distance between the sub-network device and the terminal device is less than or equal to the preset distance threshold, the power consumption parameter of the sub-network device is maintained at the original power consumption parameter, that is, normal communication performance is maintained. For example, suppose we have a smart home system that includes a central controller (terminal device) and two sub-network devices (GW1 and GW2). The preset distance threshold is set to 10 meters, and the low power consumption parameter threshold is set to reduce the transmission power to 50% of the original power. The power consumption parameters of GW1 and GW2 are both set at the original power consumption parameters. The distance between GW1 and the central controller is 8 meters, and the distance between GW2 and the central controller is 12 meters. The distance of GW1 is less than the preset distance threshold of 10 meters, so the original power consumption parameters are maintained. The distance of GW2 is greater than the preset distance threshold of 10 meters, so the power consumption parameters need to be adjusted to the low power consumption parameter threshold. GW1 maintains the original power consumption parameters unchanged, and GW2 reduces the transmission power to 50% of the original power to meet the requirements of the low power consumption parameter threshold. Through the above steps, the purpose of dynamically adjusting the power consumption parameters according to the actual distance between the sub-network device and the terminal device can be achieved, thereby reducing the overall power consumption while ensuring the communication quality.
[0046] In this embodiment, it is not only applicable to Mesh networks in home and office environments, but can also be extended to multiple scenarios such as industrial Internet of Things and smart homes. By adapting to changes in signal strength in different environments, the system can intelligently adjust power consumption to ensure optimal power consumption management and stable network connection in different scenarios. Through reasonable power consumption control, not only can the service life of network equipment be extended and the need for frequent charging and maintenance be reduced, but also the power consumption management of the overall system can be optimized, the battery burden can be reduced, and the user experience can be enhanced.
[0047] In summary, the present invention provides a power consumption control method, device, equipment and medium based on FTTR. The power consumption control method can be implemented based on the FTTR system, FTTR-B system or broadband converged terminal, obtain the network signal strength of all sub-network devices connected to the terminal device, and the location information of all sub-network devices, and determine the actual distance between all sub-network devices and the terminal device according to the location information, network signal strength and pre-calibrated mapping relationship, wherein the mapping relationship is the correspondence between the pre-calibrated network signal strength and the predicted distance, and the predicted distance is the theoretical distance between all sub-network devices and the terminal device, and based on the comparison result of the actual distance and the preset distance threshold, adopt corresponding different power consumption control strategies for all sub-network devices. It can be seen that the present application determines the actual distance between all sub-network devices and the terminal device according to the location information, network signal strength and pre-calibrated mapping relationship, and then compares the actual distance with the preset distance threshold, so as to realize more accurate and intelligent power consumption control for all sub-network devices in a dynamic Mesh network environment, ensure the best power consumption management and stable network connection in different scenarios, and enhance the user experience.
[0048] See also Figure 2 , Figure 2 is a schematic diagram of the structure of the FTTR-based power consumption control device provided in an embodiment of the present invention. The FTTR-based power consumption control device corresponds to the FTTR-based power consumption control method in the above embodiment. Figure 1 as well as Figure 1 For the convenience of explanation, only the parts related to this embodiment are shown. Figure 2 The power consumption control device 20 based on FTTR includes: an acquisition module 21, a determination module 22, and a control module 23.
[0049] The acquisition module 21 is used to acquire the network signal strength of all sub-network devices that are connected to the terminal device for communication, and the location information of all sub-network devices; A determination module 22, configured to determine the actual distances between all the sub-network devices and the terminal device respectively according to the location information, the network signal strength and a pre-calibrated mapping relationship, wherein the mapping relationship is a correspondence between the pre-calibrated network signal strength and the predicted distance, and the predicted distance is a theoretical distance between all the sub-network devices and the terminal device respectively; The control module 23 is used to adopt different power consumption control strategies for all sub-network devices based on the comparison result between the actual distance and the preset distance threshold.
[0050] Optionally, the acquisition module 21 is previously specifically used for: Obtaining the current network signal strength of the current network device that is in communication connection with the terminal device within a preset period; Determine whether the fluctuation range of the current network signal strength is less than a preset network threshold; If the fluctuation range of the current network signal strength is less than the preset network threshold, the step of obtaining the network signal strength of all sub-network devices in communication connection with the terminal device is performed; If the fluctuation range of the current network signal strength is greater than the preset network threshold, power consumption control is performed on all sub-network devices until the fluctuation range of the current network signal strength is less than the preset network threshold.
[0051] Optionally, the acquisition module 21 is specifically used for: Sending a detection instruction to all sub-network devices, wherein the detection instruction is used to request to establish a communication connection with all the sub-network devices, and all the sub-network devices are located around the terminal device; Receive response information of the detection instruction, and obtain network signal strength of all sub-network devices that are communicatively connected to the terminal device according to the response information.
[0052] Optionally, the acquisition module 21 is further used for: The location information of all sub-network devices is obtained through a low-power communication method, wherein the low-power communication method includes at least one of RFID, WLAN, GPRS, Bluetooth or narrowband Internet of Things.
[0053] Optionally, the determination module 22 is specifically configured to: Determining predicted distances between all sub-network devices and the terminal device respectively according to the network signal strength and a pre-calibrated mapping relationship; The location information of the terminal device is calculated using a triangulation positioning algorithm according to the location information of all the sub-network devices and the predicted distances between all the sub-network devices and the terminal device; According to the location information of all the sub-network devices and the location information of the terminal device, the actual distances between all the sub-network devices and the terminal device are determined.
[0054] Optionally, the control module 23 is specifically used for: When the actual distance between the sub-network device and the terminal device is greater than the preset distance threshold, the power consumption parameter of the sub-network device is reduced to a preset low power consumption parameter threshold; When the distance between the sub-network device and the terminal device is less than or equal to the preset distance threshold, the power consumption parameter of the sub-network device is maintained at the original power consumption parameter.
[0055] It should be noted that the information interaction, execution process and other contents between the above-mentioned units are based on the same concept as the embodiment of the method of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0056] Figure 3 Schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 3 As shown, the electronic device of this embodiment includes: at least one processor ( Figure 3 Only one is shown in the figure), a memory, and a program stored in the memory and executable on at least one processor, and when the processor executes the program, the steps in any of the above-mentioned power consumption control method embodiments based on FTTR are implemented.
[0057] The electronic device may include, but is not limited to, a processor and a memory. It can be understood by those skilled in the art that Figure 3 These are merely examples of electronic devices and do not constitute limitations on the electronic devices. The electronic devices may include more or fewer components than those shown in the figures, or a combination of certain components, or different components. For example, they may also include a network interface, a display screen, and an input system.
[0058] In one embodiment, a readable storage medium is provided, and when the instructions in the readable storage medium are executed by a processor in an electronic device, the electronic device can perform the steps of any embodiment of a power consumption control method based on FTTR disclosed in the present invention, which will not be repeated here. The readable storage medium can be non-volatile or volatile.
[0059] The processor may be a CPU, or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0060] The memory includes a readable storage medium, an internal memory, etc., wherein the internal memory may be the memory of an electronic device, and the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the readable storage medium. The readable storage medium may be a hard disk of an electronic device, and in other embodiments, it may also be an external storage device of the electronic device, for example, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory may also include both an internal storage unit of the electronic device and an external storage device. The memory is used to store an operating system, a cooperative application, a boot loader (BootLoader), data, and other programs, such as the program code of the program, etc. The memory may also be used to temporarily store data that has been output or is to be output.
[0061] It can be understood by ordinary technical personnel in the art that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0062] The technical business in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the system is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0063] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A power consumption control method based on FTTR, characterized in that: include: Obtain the network signal strength of all sub-network devices connected to the terminal device for communication, as well as the location information of all sub-network devices; Determine the actual distances between all the sub-network devices and the terminal device respectively according to the location information, the network signal strength and a pre-calibrated mapping relationship, wherein the mapping relationship is a correspondence between the pre-calibrated network signal strength and the predicted distance, and the predicted distance is a theoretical distance between all the sub-network devices and the terminal device respectively; Based on the comparison result between the actual distance and the preset distance threshold, corresponding different power consumption control strategies are adopted for all the sub-network devices.
2. The FTTR-based power consumption control method according to claim 1, characterized in that: Before obtaining the network signal strength of all sub-network devices in communication connection with the terminal device, the method includes: Obtaining the current network signal strength of the current network device that is in communication connection with the terminal device within a preset period; Determine whether the fluctuation range of the current network signal strength is less than a preset network threshold; If the fluctuation range of the current network signal strength is less than the preset network threshold, the step of obtaining the network signal strength of all sub-network devices in communication connection with the terminal device is performed; If the fluctuation range of the current network signal strength is greater than the preset network threshold, power consumption control is performed on all sub-network devices until the fluctuation range of the current network signal strength is less than the preset network threshold.
3. The FTTR-based power consumption control method according to claim 1, characterized in that: The obtaining of the network signal strength of all sub-network devices in communication connection with the terminal device includes: Sending a detection instruction to all sub-network devices, wherein the detection instruction is used to request to establish a communication connection with all the sub-network devices, and all the sub-network devices are located around the terminal device; Receive response information of the detection instruction, and obtain network signal strength of all sub-network devices that are communicatively connected to the terminal device according to the response information.
4. The FTTR-based power consumption control method according to claim 1, characterized in that: The adopting corresponding different power consumption control strategies for all sub-network devices based on the comparison result between the actual distance and the preset distance threshold includes: When the actual distance between the sub-network device and the terminal device is greater than the preset distance threshold, the power consumption parameter of the sub-network device is reduced to a preset low power consumption parameter threshold; When the distance between the sub-network device and the terminal device is less than or equal to the preset distance threshold, the power consumption parameter of the sub-network device is maintained at the original power consumption parameter.
5. The FTTR-based power consumption control method according to claim 1, characterized in that: The determining, according to the location information, the network signal strength and a pre-calibrated mapping relationship, actual distances between all sub-network devices and the terminal device respectively includes: Determining predicted distances between all sub-network devices and the terminal device respectively according to the network signal strength and a pre-calibrated mapping relationship; The location information of the terminal device is calculated using a triangulation positioning algorithm according to the location information of all the sub-network devices and the predicted distances between all the sub-network devices and the terminal device; According to the location information of all the sub-network devices and the location information of the terminal device, the actual distances between all the sub-network devices and the terminal device are determined.
6. The FTTR-based power consumption control method according to claim 1, characterized in that: The terminal device includes a fixed terminal device or a mobile terminal device.
7. The FTTR-based power consumption control method according to claim 1, characterized in that: The obtaining of location information of all sub-network devices includes: The location information of all sub-network devices is obtained through a low-power communication method, wherein the low-power communication method includes at least one of RFID, WLAN, GPRS, Bluetooth or narrowband Internet of Things.
8. A power consumption control device based on FTTR, characterized in that: include: An acquisition module is used to acquire the network signal strength of all sub-network devices that are connected to the terminal device for communication, as well as the location information of all sub-network devices; A determination module, configured to determine the actual distances between all the sub-network devices and the terminal device respectively according to the location information, the network signal strength and a pre-calibrated mapping relationship, wherein the mapping relationship is a correspondence between the pre-calibrated network signal strength and the predicted distance, and the predicted distance is a theoretical distance between all the sub-network devices and the terminal device respectively; The control module is used to adopt corresponding different power consumption control strategies for all sub-network devices based on the comparison result between the actual distance and the preset distance threshold.
9. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the power consumption control method based on FTTR as claimed in any one of claims 1 to 7 is implemented.
10. A readable storage medium storing a program, characterized in that: When the program is executed by a processor, the power consumption control method based on FTTR as claimed in any one of claims 1 to 7 is implemented.