Power regulation method and device of MiFi equipment, electronic equipment and storage medium
By slicing spectrum and power modulation of MiFi devices, the problem of insufficient battery life of MiFi devices is solved, power efficiency optimization and battery life extension are achieved, and user experience is improved.
Patent Information
- Application Number
- CN202411561531.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-01-07
AI Technical Summary
The battery life of MiFi devices is poor, which affects the user experience. The existing technology extends the battery life by reducing the transmission power or data transmission rate, but cannot meet scenarios that require higher performance and long battery life.
By slicing the spectrum of the MiFi device and modulating the sliced transmission spectrum according to the distance of the link terminal, matching different wireless transmission power values, in order to achieve adaptive power matching, reduce power consumption and extend battery life.
It realizes the power efficiency optimization of MiFi devices, improves battery life, meets users' high performance and long battery life needs, avoids waste of resources, and improves user experience.
Smart Images

Figure CN119277535A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology or other related fields, and in particular to a power regulation method and device for a MiFi device, an electronic device and a storage medium. Background Art
[0002] With the rapid development of mobile communication technology, mobile hotspot devices have gradually been widely used due to their portability, mobility and flexibility. MiFi devices are portable wireless broadband devices that allow multiple WiFi-enabled devices in the area to access the network at the same time, and are particularly suitable for Internet application scenarios without wired networks. Since MiFi devices are often carried and used outside, they usually have built-in batteries. When charging is inconvenient, the battery life of MiFi devices is crucial, and battery life anxiety even directly affects the user experience.
[0003] In the related art, MiFi devices (mobile hotspot devices) improve their battery life mainly through the following two methods: First, reduce the transmission power of MiFi devices: Transmission power is one of the key factors affecting the battery life of MiFi devices. When the device transmits a signal, the higher the power, the faster the battery is consumed. Therefore, some MiFi devices use the method of reducing transmission power to extend battery life, which usually means that the signal coverage of the device will be reduced, or the connection stability with the terminal device will be reduced, especially in environments with long distances or large signal interference. Second, reduce the transmission rate of MiFi devices: The higher the communication rate of MiFi devices, the more power is consumed during data transmission. In order to extend battery life, some devices will reduce their data transmission rate, which can be achieved by limiting the available network bandwidth or reducing the operating frequency of the modem. Reducing the rate may affect the user's network experience, such as slower web page loading speed and choppy video streaming.
[0004] The above two solutions for improving the battery life of MiFi devices extend the use time of the devices at the expense of certain performance of the devices (such as signal strength or data transmission speed). However, for scenarios that require high performance and long battery life, these methods cannot fully meet the needs.
[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0006] The embodiments of the present invention provide a power regulation method and apparatus for a MiFi device, an electronic device, and a storage medium, so as to at least solve the technical problem in the related art that the battery life of the MiFi device is poor, affecting the user experience.
[0007] According to one aspect of an embodiment of the present invention, a power regulation method for a MiFi device is provided, comprising: slicing the spectrum of the MiFi device, and allocating the transmission spectrum obtained after slicing to different link terminals; and modulating the sliced transmission spectrum according to the distance between the MiFi device and the link terminal to match the wireless transmission power value of the MiFi device to the link terminal.
[0008] Optionally, slicing the spectrum of the MiFi device includes: counting the number of all linked terminals that have raised network link requirements; counting the rate parameters of the linked terminal requirements to obtain the terminal requirement rate; and slicing the transmission spectrum of the MiFi device based on the number of terminals and the terminal requirement rate.
[0009] Optionally, slicing the transmission spectrum of the MiFi device based on the number of terminals and the terminal demand rate includes: slicing the transmission spectrum of the MiFi device according to a preset ratio value based on the number of terminals and the terminal demand rates of different linked terminals to obtain a spectrum set.
[0010] Optionally, slicing the spectrum of the MiFi device includes: obtaining the terminal number, terminal type and terminal address information of the linked terminals that raise network link requirements; grouping all the linked terminals based on the terminal number, the terminal address and the terminal type; and slicing the spectrum of the MiFi device according to the grouping results, and allocating each sliced transmission spectrum to a corresponding terminal group.
[0011] Optionally, modulating the sliced transmission spectrum according to the distance between the MiFi device and the link terminal includes: modulating the sliced transmission spectrum based on a distance alternation strategy and / or a priority strategy, wherein the distance alternation strategy includes: for link terminals with a distance greater than a first distance threshold, allocating a wireless transmission power value higher than a first power threshold, and for link terminals with a distance less than a second distance threshold, allocating a wireless transmission power value lower than a second power threshold, the first distance threshold is greater than the second distance threshold, and the first power threshold is greater than the second power threshold.
[0012] Optionally, it also includes: counting the terminal information of each of the linked terminals, and recording the terminal information into a terminal mapping table, wherein the terminal information includes the terminal identification, the bandwidth of the transmission spectrum after slicing, and the wireless transmission power value corresponding to each bandwidth; obtaining the target linked terminal in the terminal mapping table where the status update appears, and reading the terminal communication information of the target linked terminal, wherein the terminal communication information includes at least one of the following: the terminal demand rate, the distance between the target linked terminal and the MiFi device; based on the terminal communication information, adjusting the bandwidth slicing ratio of the transmission spectrum and the matching wireless transmission power value.
[0013] Optionally, after recording the terminal information into the terminal mapping table, it also includes: monitoring the quantity update information of all the linked terminals, the required rate update information of each of the linked terminals, and the distance update information between the linked terminals and the MiFi device; and updating the terminal mapping table based on the quantity update information, the required rate update information and the distance update information.
[0014] According to another aspect of an embodiment of the present invention, a power regulation device for a MiFi device is also provided, including: a spectrum slicing unit, used to slice the spectrum of the MiFi device, and distribute the transmission spectrum obtained after slicing to different link terminals; a power matching unit, used to modulate the sliced transmission spectrum according to the distance between the MiFi device and the link terminal to match the wireless transmission power value of the MiFi device to the link terminal.
[0015] Optionally, the spectrum slicing unit includes: a first statistical module, used to count the number of linked terminals that raise network link requirements, and count the rate parameters of the linked terminal requirements to obtain the terminal requirement rate; a spectrum slicing module, used to slice the transmission spectrum of the MiFi device based on the number of terminals and the terminal requirement rate.
[0016] Optionally, the spectrum slicing module includes: a slicing submodule, used to slice the transmission spectrum of the MiFi device according to a preset ratio value based on the number of terminals and the terminal demand rates of different linked terminals to obtain a spectrum set.
[0017] Optionally, the spectrum slicing unit includes: a first acquisition module, used to obtain the terminal quantity, terminal type and terminal address information of the linked terminals that raise network link requirements; a terminal grouping module, used to group all the linked terminals based on the terminal quantity, the terminal address and the terminal type; a spectrum grouping slicing module, used to slice the spectrum of the MiFi device according to the grouping results, and the transmission spectrum after each slice is allocated to the corresponding terminal group.
[0018] Optionally, the power matching unit includes: a spectrum modulation module, used to modulate the sliced transmission spectrum based on a distance alternation strategy and / or a priority strategy, wherein the distance alternation strategy includes: for link terminals with a distance greater than a first distance threshold, allocating a wireless transmission power value higher than a first power threshold; for link terminals with a distance less than a second distance threshold, allocating a wireless transmission power value lower than a second power threshold, the first distance threshold is greater than the second distance threshold, and the first power threshold is greater than the second power threshold.
[0019] Optionally, the power regulation device of the MiFi device also includes: a second statistical module, used to count the terminal information of each of the linked terminals, and record the terminal information in a terminal mapping table, wherein the terminal information includes a terminal identifier, a bandwidth of the transmission spectrum after slicing, and a wireless transmission power value corresponding to each bandwidth; a second acquisition module, used to obtain a target linked terminal with a status update in the terminal mapping table, and read the terminal communication information of the target linked terminal, wherein the terminal communication information includes at least one of the following: a terminal demand rate, a distance between the target linked terminal and the MiFi device; an adjustment module, used to adjust the bandwidth slicing ratio of the transmission spectrum and the matching wireless transmission power value based on the terminal communication information.
[0020] Optionally, the power regulation device of the MiFi device also includes: a terminal monitoring module, used to monitor the quantity update information of all the linked terminals, the required rate update information of each of the linked terminals, and the distance update information between the linked terminals and the MiFi device; a table update module, used to update the terminal mapping table based on the quantity update information, the required rate update information and the distance update information.
[0021] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned power regulation methods for MiFi devices.
[0022] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned power regulation methods for MiFi devices.
[0023] According to another aspect of an embodiment of the present invention, a computer program product is further provided, including a computer program, wherein when the computer program is executed by a processor, the steps of the power regulation method of a MiFi device described in any one of the above are implemented.
[0024] In the present disclosure, the spectrum of the MiFi device is sliced, and the transmission spectrum obtained after slicing is allocated to different link terminals. According to the distance between the MiFi device and the link terminal, the sliced transmission spectrum is modulated to match the wireless transmission power value of the MiFi device to the link terminal.
[0025] Based on the above-mentioned public content, the spectrum of the MiFi device can be sliced, and the transmission spectrum obtained after slicing can be allocated to different link terminals. The sliced transmission spectrum is then modulated according to the distance to match different wireless transmission powers to meet the communication needs of link terminals at different distances. Based on spectrum slicing, power adaptive matching is performed to achieve no waste of transmission power, reduce the power consumption of MiFi devices, and improve the battery life of MiFi devices, thereby solving the technical problem in the related technology that the battery life of MiFi devices is poor and affects the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0027] Figure 1 is a flow chart of an optional power regulation method for a MiFi device according to an embodiment of the present invention;
[0028] Figure 2 is a schematic diagram of another optional power regulation method of a MiFi device according to an embodiment of the present invention;
[0029] Figure 3 is a schematic diagram of spectrum division for optimizing power consumption of MiFi devices according to an embodiment of the present invention;
[0030] Figure 4 is a schematic diagram of an optional power regulation device of a MiFi device according to an embodiment of the present invention;
[0031] Figure 5 It is a hardware structure block diagram of an electronic device (or mobile device) for a power regulation method for a MiFi device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only 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 technicians in this field without creative work should fall within the scope of protection of the present invention.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] To facilitate those skilled in the art to understand the present invention, some terms or nouns involved in the embodiments of the present invention are explained below:
[0035] MiFi devices are portable wireless routers usually provided by mobile network operators. Users can use MiFi devices to convert mobile network signals into Wi-Fi signals, thereby enabling wireless networking of multiple devices. MiFi devices are usually small and easy to carry, suitable for use outdoors, traveling or in temporary offices. Users only need to insert a SIM card and start the device to enjoy a fast wireless network connection.
[0036] It should be noted that the power regulation method and apparatus of the MiFi device in the present invention can be used in the field of communication technology to optimize the power consumption of the MiFi device and improve the battery life of the MiFi device. It can also be used in any field other than the field of communication technology to optimize the power consumption of the MiFi device and improve the battery life of the product. The application field of the power regulation method and apparatus of the MiFi device is not limited in the present disclosure.
[0037] The following embodiments of the present invention can be applied to various power regulation systems / applications / devices of MiFi devices. The present invention remodulates the transmission spectrum of MiFi devices, divides the spectrum according to frequency bands, and allocates different wireless transmission power values to different spectrums. In actual work, low-power spectrum is allocated to terminals closer to MiFi devices, and high-power spectrum is allocated to terminals farther from MiFi devices. Without losing user experience, the power consumption of MiFi devices is reduced, the temperature of MiFi devices is optimized, and the endurance of MiFi devices is improved.
[0038] The present invention is described in detail below in conjunction with various embodiments.
[0039] Embodiment 1
[0040] According to an embodiment of the present invention, an embodiment of a power regulation method for a MiFi device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown here.
[0041] Figure 1 is a flow chart of an optional power regulation method for a MiFi device according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:
[0042] It should be noted that this embodiment is a solution that is executed after the MiFi device is started. Optionally, after the MiFi device is started, terminal identifiers are allocated to different linked terminals according to the terminal physical addresses and terminal network addresses.
[0043] The terminal physical address mentioned in this embodiment may refer to the device address of the MiFi device itself, for example, it may be a MAC (Media Access Control) address, which is used to identify the hardware address of the network device. The terminal network address may refer to the communication protocol address of the MiFi device, for example, it may be an IP address (Internet Protocol), which is used to uniquely identify the logical address of the device on the network and is used for communication on the network. When the MiFi device is working, wifi will connect to multiple different terminals, and the terminal physical address and terminal network address will be assigned different terminal identifiers to different terminals.
[0044] Here, the types of terminal identification can be diversified, for example, terminal number, terminal name, etc. Different terminal numbers are assigned to different linked terminals through terminal physical addresses and terminal network addresses, in preparation for subsequent spectrum division and power matching.
[0045] Step S101, slicing the spectrum of the MiFi device, and allocating the transmission spectrum obtained after slicing to different link terminals.
[0046] It should be noted that the sliceable spectrum width provided by the MiFi device provided in this embodiment is fixed at the factory. Afterwards, as the user turns on and uses the MiFi device in different scenarios, the number of spectrum slices and the spectrum division bandwidth need to be adjusted in real time due to the influence of weather, environment, obstructions, number of terminals, etc. Therefore, before slicing, the MiFi device first needs to determine the total bandwidth and which frequency bands can be sliced. Slicing the transmission spectrum of the MiFi device is intended to more efficiently utilize the wireless communication spectrum, while reducing power consumption and optimizing the endurance of the device.
[0047] This embodiment provides two solutions for MiFi devices. The first slicing solution, when slicing the spectrum of MiFi devices, includes: counting the number of all linked terminals that have raised network link requirements, and counting the rate parameters of the linked terminal requirements to obtain the terminal requirement rate; based on the number of terminals and the terminal requirement rate, slicing the transmission spectrum of the MiFi device.
[0048] When dividing the transmission spectrum of the MiFi device in this embodiment, it is necessary to refer to the number of terminals in use and the required rates of different terminals. Therefore, it is necessary to perform statistics on the number of terminals and the required rates of the terminals. Terminals with high rate requirements require high bandwidth support, and terminals with low rate requirements can meet communication needs with narrow bandwidth. The transmission spectrum slices of the MiFi device are allocated according to the number of terminals and rate requirements.
[0049] The rate parameters required by the terminal include, but are not limited to: rate limit (maximum rate that the terminal can use), peak rate (maximum transmission rate required by the terminal), packet loss rate (ratio of packet loss when the terminal transmits data), jitter (degree of variation of the time interval between data packets when the terminal transmits data), bandwidth (maximum transmission bandwidth that the terminal can use), etc. By counting the transmission rate requirement data of different link terminals, the rate requirement level can be analyzed, and then the high / narrow allocated bandwidth can be determined.
[0050] Through the first slicing scheme mentioned above, the transmission spectrum of MiFi devices can be sliced according to the number of terminals and the rate required by each terminal, which can realize flexible configuration of spectrum resources of MiFi devices, improve the utilization rate of spectrum resources, and enhance the user experience of using MiFi devices.
[0051] Optionally, based on the number of terminals and the terminal demand rate, the transmission spectrum of the MiFi device is sliced, including: based on the number of terminals and the terminal demand rates of different linked terminals, the transmission spectrum of the MiFi device is sliced according to a preset ratio value to obtain a spectrum set.
[0052] In the process of slicing the transmission spectrum of the MiFi device in this embodiment, it is necessary to divide the spectrum according to a preset ratio and allocate it to different link terminals to ensure that the connection of multiple link terminals can be supported simultaneously on different frequency bands.
[0053] Among them, the preset ratio mentioned in this embodiment can be set according to the terminal demand rate, and the specific preset ratio and the rate demand ratio can correspond to each other. For example, the rate demand ratio of 4 linked terminals is 7:1:1:1. Here, the ratio of spectrum slices can also be 7:1:1:1. At this time, the bandwidth ratio is also 7:1:1:1. This spectrum division method can improve the overall performance and stability of MiFi devices while reducing the possibility of interference and conflict. By dividing the spectrum at a preset ratio, MiFi devices can more effectively manage and optimize wireless network resources, improve users' Internet experience and data transmission speed, and ensure that each linked terminal can obtain a stable and high-quality network connection.
[0054] It should be noted that this embodiment also provides another spectrum slicing scheme. Optionally, slicing the spectrum of the MiFi device includes: obtaining the terminal number, terminal type and terminal address information of the linked terminals that raise network link requirements; grouping all linked terminals based on the terminal number, terminal address and terminal type; according to the grouping results, slicing the spectrum of the MiFi device, and allocating each sliced transmission spectrum to the corresponding terminal group.
[0055] Here, the MiFi device can identify and classify connected terminal devices through its built-in network management function, for example, grouping them according to the terminal's address information (such as MAC address, IP address), terminal type, etc., and then based on the number of divided terminal groups and the rate requirements of different terminal groups, the MiFi device slices the spectrum, and each slice can be allocated to different types of terminals to meet their specific communication needs.
[0056] Furthermore, in this embodiment, when determining the required rate of the different terminal groups, the MiFi device can continuously monitor the data transmission status of each linked terminal, including but not limited to upload and download rates, data traffic, communication type (such as video streaming, file transfer, web browsing, etc.), and perform statistical analysis on the monitoring data to identify the peak and low peak periods of data transmission, as well as the average data transmission requirements of each terminal. Then, according to factors such as the distance between the linked terminal and the MiFi device, the communication frequency, and the data transmission type, the terminals are divided into different groups, and the terminals in each group have similar communication behavior patterns and data transmission requirements. Afterwards, for each terminal group, the average data transmission rate within a specific time window is calculated. In addition to the average rate, the peak rate requirements that may exist in each linked terminal in the group must also be considered to ensure that the communication quality of the terminal is not affected under high load conditions. The MiFi device maintains real-time monitoring of the network load and terminal requirements so that when the data requirements of the linked terminal change, the rate allocation can be adjusted in a timely manner, and the spectrum bandwidth and power allocation of each group can be dynamically adjusted according to the latest rate requirement evaluation to ensure efficient use of resources.
[0057] Through the above implementation, the MiFi device can manage its wireless resources more intelligently and flexibly, ensuring that power consumption is minimized and battery life is maximized while meeting user communication needs.
[0058] By dynamically allocating the spectrum resources required by different linked terminals, we can avoid resource waste, improve spectrum utilization efficiency, adjust power according to distance and rate requirements, achieve refined management, reduce unnecessary power consumption, and extend device life.
[0059] Step S102, modulate the sliced transmission spectrum according to the distance between the MiFi device and the linked terminal to match the wireless transmission power value of the MiFi device to the linked terminal.
[0060] Optionally, the sliced transmission spectrum is modulated according to the distance between the MiFi device and the linked terminal, including: based on a distance alternation strategy and / or a priority strategy, the sliced transmission spectrum is modulated, wherein the distance alternation strategy includes: for linked terminals with a distance greater than a first distance threshold, a wireless transmission power value higher than a first power threshold is allocated; for linked terminals with a distance less than a second distance threshold, a wireless transmission power value lower than a second power threshold is allocated, the first distance threshold is greater than the second distance threshold, and the first power threshold is greater than the second power threshold.
[0061] It should be noted that this embodiment uses a distance alternation strategy and a priority strategy during the spectrum modulation process. The distance alternation strategy mentioned in this embodiment may refer to terminals that are far away, which require higher power to support communication, and terminals that are close, which require lower power to support communication. According to the distance of the terminal, the sliced transmission spectrum is modulated to match different power values.
[0062] Priority strategy can refer to the spectrum division level allocated to each linked terminal before linking to MiFi devices, based on device type, device parameters, user information, usage scenarios and other information. The specific division method includes: based on the communication needs of the terminal (such as the terminal demand rate) and the priority rules set by the user, the terminals are divided into different priority categories. Terminals with higher priorities will be allocated wider spectrum bandwidths and higher transmission powers to ensure that their communication quality is not affected. Terminals with lower priorities are allocated fewer spectrum resources and lower power to achieve reasonable use of resources. At the same time, different modulation and coding schemes are used for terminals of different priorities. High-priority terminals can use more efficient coding and modulation methods, while low-priority terminals may use higher-fidelity modulation methods to sacrifice bandwidth in exchange for more stable data transmission.
[0063] In practical applications, distance-based and priority-based strategies can be used in combination to achieve more refined resource management and fairer network services. For example, for high-priority terminals at the near end, low-power, high-bandwidth spectrum slices can be allocated, and high-order modulation methods can be used to achieve high-speed, low-power communication effects; while for low-priority terminals at the far end, high-power, low-bandwidth spectrum slices can be allocated, and robust modulation methods can be used to ensure their basic communication needs. Through the above strategies, MiFi devices can significantly reduce overall power consumption while ensuring communication quality, extend the battery life of the device, and provide users with more stable, efficient and lasting wireless network connection services.
[0064] Here, when matching the wireless transmission power value of the MiFi device to the linked terminal, it can include determining the WiFi transmission power of the MiFi device to each linked terminal device, so as to adjust the WiFi transmission power of the MiFi device to adapt to the WiFi transmission power of the linked terminal, thereby realizing automatic adjustment of the WiFi transmission power of the MiFi device, thereby reducing power consumption, increasing battery life, and the transmission information rate is not affected, which can meet the user's usage needs.
[0065] In addition, the method in this embodiment also includes: counting the terminal information of each linked terminal and recording the terminal information in a terminal mapping table, wherein the terminal information includes the terminal identification, the bandwidth of the transmission spectrum after slicing, and the wireless transmission power value corresponding to each bandwidth; obtaining the target linked terminal in the terminal mapping table where the status update appears, and reading the terminal communication information of the target linked terminal, wherein the terminal communication information includes at least one of the following: the terminal demand rate, the distance between the target linked terminal and the MiFi device; based on the terminal communication information, adjusting the bandwidth slicing ratio of the transmission spectrum and the matching wireless transmission power value.
[0066] That is, statistics are collected on the information of each linked terminal, and an information mapping table is processed, which may include the terminal number, the spectrum bandwidth after slicing, the power value corresponding to each bandwidth, etc. Here, the terminal identification in the terminal information of the linked terminal generally refers to the unique identification code of the terminal device, which may be a number, letter, or mixed character combination, for example, the terminal number.
[0067] When dynamically adjusting the bandwidth slice ratio of the transmission spectrum and the matching wireless transmission power value, real-time optimization can be performed based on factors such as the location of the terminal, network load, and channel conditions to ensure the effective use of network resources and improve user experience. Through the updated terminal mapping table, the connection status and signal quality of the terminal can be monitored in real time, and the bandwidth slice ratio of the transmission spectrum and the wireless transmission power value can be adjusted based on this information. This dynamic adjustment can effectively optimize the use of network resources, improve the capacity and coverage of the network, and also improve the communication quality and experience of the linked terminals. Through continuous optimization and adjustment, intelligent management and optimization of the network can be achieved, providing more stable and efficient communication services for linked terminals.
[0068] Optionally, after recording the terminal information into the terminal mapping table, it also includes: monitoring the quantity update information of all linked terminals, the required rate update information of each linked terminal, and the distance update information between the linked terminal and the MiFi device; updating the terminal mapping table based on the quantity update information, the required rate update information and the distance update information.
[0069] By real-time monitoring of changes in the number of terminals, changes in rate requirements, and changes in distance, the terminal mapping table can be adjusted in real time, thereby adjusting the ratio of spectrum slicing and adjusting the transmission power after re-slicing based on the updated distance information to meet the communication needs of terminals at different distances.
[0070] This dynamic adjustment can effectively optimize the use of network resources, improve network capacity and coverage, and also improve the communication quality and experience of connected terminals. Through continuous optimization and adjustment, intelligent management and optimization of the network can be achieved, providing more stable and efficient communication services for connected terminals.
[0071] Through the above steps, the spectrum of the MiFi device can be sliced, and the transmission spectrum obtained after slicing can be allocated to different link terminals. According to the distance between the MiFi device and the link terminal, the sliced transmission spectrum can be modulated to match the wireless transmission power value of the MiFi device to the link terminal. In this embodiment, the spectrum of the MiFi device can be sliced, and the transmission spectrum obtained after slicing can be allocated to different link terminals, and then the sliced transmission spectrum can be modulated according to the distance to match different wireless transmission powers to meet the communication needs of link terminals at different distances. Based on spectrum slicing, power adaptive matching is performed to achieve no waste of transmission power, reduce the power consumption of MiFi devices, and improve the endurance of MiFi devices, thereby solving the technical problem that the endurance of MiFi devices in related technologies is poor and affects the user experience.
[0072] The present invention is described below by another specific solution for optimizing the power consumption of a MiFi device.
[0073] Figure 2 is a schematic diagram of another optional power regulation method of a MiFi device according to an embodiment of the present invention, such as Figure 2 As shown, including:
[0074] The first step is terminal numbering. When the MiFi device starts working, it needs to connect to multiple different terminals and number the different terminals (based on MAC addresses and IP addresses).
[0075] In the second step, the MiFi device collects statistics on the rate requirements of different terminals.
[0076] The third step is spectrum slicing, which is divided into different terminals according to their needs. Terminals with high rate requirements need high bandwidth support, while terminals with low rate requirements can meet communication needs with narrow bandwidth. Here, the transmission spectrum slices of MiFi devices are allocated and divided and allocated to terminals in proportion according to the number of terminals and rate requirements.
[0077] In the fourth step, the MiFi device performs distance statistics on different terminals.
[0078] The fifth step is to adjust the sliced spectrum to match different power values. Terminals that are far away require higher power to support communication, while terminals that are close require lower power to support communication. Here, the sliced transmission spectrum can be modulated to match different power values according to the distance of the terminal.
[0079] Figure 3 is a schematic diagram of spectrum division for optimizing power consumption of MiFi devices according to an embodiment of the present invention. Figure 3As shown, the transmission spectrum of the MiFi device is remodulated and the spectrum is divided according to the frequency band. Figure 3 In the figure, spectrum is divided for terminal 1, terminal 2, and terminal 3 respectively, and different power values are assigned to different spectrums. In actual work, low-power spectrum is assigned to terminals closer to the MiFi device, and high-power spectrum is assigned to terminals farther away from the MiFi device.
[0080] Step 6: Process the peripheral terminal information mapping table. Make information statistics of peripheral terminals and process the peripheral information mapping table, which includes the terminal number, the spectrum bandwidth after slicing, and the power corresponding to each bandwidth; dynamically adjust the bandwidth slicing ratio and power matching value according to the table;
[0081] Step 7: Monitor the changes in the number, rate, and distance of terminals, and adjust the terminal information mapping table in real time. In this embodiment, the changes in the number of terminals, rate requirements, and distances can be monitored in real time, and the table obtained in step 6 can be adjusted in real time.
[0082] Through the above implementation steps, the communication needs of terminals at different distances can be met, the power consumption of MiFi devices can be reduced, the temperature of MiFi devices can be optimized, and the battery life of MiFi devices can be improved. At the same time, the communication needs of terminals at different distances can be met, and power adaptive matching can be performed based on bandwidth slicing, and different terminals can be segmented to ensure that power is not wasted, reduce the power consumption of MiFi devices, and improve the battery life of MiFi devices.
[0083] The following is a detailed description in conjunction with another embodiment.
[0084] Embodiment 2
[0085] A power regulation device for a MiFi device provided in this embodiment includes multiple implementation units, each of which corresponds to each implementation step in the above-mentioned embodiment 1.
[0086] Figure 4 is a schematic diagram of an optional power regulation device of a MiFi device according to an embodiment of the present invention, such as Figure 4 As shown, the power adjustment device of the MiFi device may include: a spectrum slicing unit 41 and a power matching unit 42.
[0087] The spectrum slicing unit 41 is used to slice the spectrum of the MiFi device and distribute the transmission spectrum obtained after slicing to different link terminals.
[0088] The power matching unit 42 is used to modulate the sliced transmission spectrum according to the distance between the MiFi device and the linked terminal to match the wireless transmission power value of the MiFi device to the linked terminal.
[0089] The power adjustment device of the above-mentioned MiFi device can slice the spectrum of the MiFi device through the spectrum slicing unit 41, allocate the transmission spectrum obtained after slicing to different link terminals, and modulate the sliced transmission spectrum according to the distance between the MiFi device and the link terminal through the power matching unit 42 to match the wireless transmission power value of the MiFi device to the link terminal. In this embodiment, the transmission spectrum can be divided and allocated to the terminal in proportion according to the number of link terminals and the required rate, and then the segmented spectrum can be modulated according to the distance to match different powers to meet the communication needs of terminals at different distances. Based on bandwidth slicing, power adaptive matching is performed, and different terminals are subdivided to ensure that power is not wasted, reduce the power consumption of MiFi devices, and improve the battery life of MiFi devices, thereby solving the technical problem that the battery life of MiFi devices in related technologies is poor and affects the user experience.
[0090] Optionally, the spectrum slicing unit includes: a first statistical module, used to count the number of linked terminals that raise network link requirements, and count the rate parameters of the linked terminal requirements to obtain the terminal requirement rate; a spectrum slicing module, used to slice the transmission spectrum of the MiFi device based on the number of terminals and the terminal requirement rate.
[0091] Optionally, the spectrum slicing module includes: a slicing submodule, which is used to slice the transmission spectrum of the MiFi device according to a preset ratio value based on the number of terminals and the terminal demand rates of different linked terminals to obtain a spectrum set.
[0092] Optionally, the spectrum slicing unit includes: a first acquisition module, used to obtain the terminal quantity, terminal type and terminal address information of the linked terminals that raise network link requirements; a terminal grouping module, used to group all the linked terminals based on the terminal quantity, the terminal address and the terminal type; a spectrum grouping slicing module, used to slice the spectrum of the MiFi device according to the grouping results, and the transmission spectrum after each slice is allocated to the corresponding terminal group.
[0093] Optionally, the power regulation device of the MiFi device also includes: a terminal identification allocation unit, which is used to allocate terminal identifications to different linked terminals according to the terminal physical address and the terminal network address before slicing the spectrum of the MiFi device and after the MiFi device starts working.
[0094] Optionally, the power matching unit includes: a spectrum modulation module, used to modulate the sliced transmission spectrum based on a distance alternation strategy and / or a priority strategy, wherein the distance alternation strategy includes: for a link terminal with a distance greater than a first distance threshold, allocating a wireless transmission power value higher than a first power threshold; for a link terminal with a distance less than a second distance threshold, allocating a wireless transmission power value lower than a second power threshold, the first distance threshold is greater than the second distance threshold, and the first power threshold is greater than the second power threshold.
[0095] Optionally, the power regulation device of the MiFi device also includes: a second statistical module, used to count the terminal information of each linked terminal, and record the terminal information in a terminal mapping table, wherein the terminal information includes the terminal identification, the bandwidth of the transmission spectrum after slicing, and the wireless transmission power value corresponding to each bandwidth; a second acquisition module, used to obtain the target linked terminal with a status update in the terminal mapping table, and read the terminal communication information of the target linked terminal, wherein the terminal communication information includes at least one of the following: the terminal demand rate, the distance between the target linked terminal and the MiFi device; an adjustment module, used to adjust the bandwidth slicing ratio of the transmission spectrum and the matching wireless transmission power value based on the terminal communication information.
[0096] Optionally, the power regulation device of the MiFi device also includes: a terminal monitoring module, which is used to monitor the quantity update information of all linked terminals, the required rate update information of each linked terminal, and the distance update information between the linked terminal and the MiFi device; a table update module, which is used to update the terminal mapping table based on the quantity update information, the required rate update information and the distance update information.
[0097] The power regulation device of the above-mentioned MiFi device may also include a processor and a memory. The above-mentioned spectrum slicing unit 41, power matching unit 42, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0098] The above processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the power consumption of the MiFi device can be optimized by adjusting the kernel parameters to improve the battery life of the MiFi device.
[0099] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.
[0100] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the power adjustment method of the MiFi device of any one of the above-mentioned embodiments 1.
[0101] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement the power regulation method of the MiFi device of any one of the above-mentioned embodiments one.
[0102] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the power regulation method of the MiFi device described in each embodiment of the present application.
[0103] The present application also provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the power regulation method of the MiFi device described in each embodiment of the present application are implemented.
[0104] Figure 5 1 is a hardware structure block diagram of an electronic device (or mobile device) for executing a power regulation method for a MiFi device according to an embodiment of the present invention. Figure 5 As shown, the electronic device may include one or more ( Figure 5 502a, 502b, ..., 502n are used to illustrate) a processor (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 504 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a keyboard, a power supply and / or a camera. A person skilled in the art can understand that Figure 5 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 5 More or fewer components as shown, or with Figure 5 Different configurations are shown.
[0105] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0106] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0107] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0108] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0109] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0110] 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. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0111] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A power regulation method for a MiFi device, characterized in that: include: Slice the spectrum of the MiFi device and allocate the obtained transmission spectrum to different link terminals; According to the distance between the MiFi device and the link terminal, the sliced transmission spectrum is modulated to match the wireless transmission power value of the MiFi device to the link terminal.
2. The power regulation method according to claim 1, characterized in that: The slicing of the spectrum of the MiFi device includes: Count the number of terminals that have requested a network connection; Counting the rate parameters required by the link terminal to obtain the terminal required rate; The transmission spectrum of the MiFi device is sliced based on the number of terminals and the terminal demand rate.
3. The power regulation method according to claim 2, characterized in that: The slicing of the transmission spectrum of the MiFi device based on the number of terminals and the terminal demand rate includes: Based on the number of terminals and the terminal demand rates of different linked terminals, the transmission spectrum of the MiFi device is sliced according to a preset ratio value to obtain a spectrum set.
4. The power regulation method according to claim 1, characterized in that: The slicing of the spectrum of the MiFi device includes: Obtain the terminal quantity, terminal type and terminal address information of the link terminal that raises the network link requirement; grouping all the linked terminals based on the number of terminals, the terminal addresses and the terminal types; According to the grouping result, the spectrum of the MiFi device is sliced, and each sliced transmission spectrum is allocated to the corresponding terminal group.
5. The power regulation method according to claim 1, characterized in that: The step of modulating the sliced emission spectrum according to the distance between the MiFi device and the link terminal includes: Based on a distance alternation strategy and / or a priority strategy, the sliced transmission spectrum is modulated, wherein the distance alternation strategy includes: for a link terminal whose distance is greater than a first distance threshold, a wireless transmission power value higher than a first power threshold is allocated; for a link terminal whose distance is less than a second distance threshold, a wireless transmission power value lower than a second power threshold is allocated, the first distance threshold is greater than the second distance threshold, and the first power threshold is greater than the second power threshold.
6. The power regulation method according to claim 1, characterized in that: Also includes: Counting the terminal information of each of the linked terminals, and recording the terminal information in a terminal mapping table, wherein the terminal information includes a terminal identifier, a bandwidth of the transmission spectrum after slicing, and a wireless transmission power value corresponding to each bandwidth; Acquire the target link terminal in which the status update occurs in the terminal mapping table, and read the terminal communication information of the target link terminal, wherein the terminal communication information includes at least one of the following: the terminal required rate, and the distance between the target link terminal and the MiFi device; Based on the terminal communication information, the bandwidth slicing ratio of the transmission spectrum and the matching wireless transmission power value are adjusted.
7. The power regulation method according to claim 6, characterized in that: After recording the terminal information into the terminal mapping table, the method further includes: Monitor the updated information of the number of all the linked terminals, the updated information of the required rate of each of the linked terminals, and the updated information of the distance between the linked terminals and the MiFi device; The terminal mapping table is updated based on the quantity update information, the required rate update information, and the distance update information.
8. A power regulating device for a MiFi device, characterized in that: include: The spectrum slicing unit is used to slice the spectrum of the MiFi device and distribute the obtained transmission spectrum to different link terminals; A power matching unit is used to modulate the sliced transmission spectrum according to the distance between the MiFi device and the link terminal to match the wireless transmission power value of the MiFi device to the link terminal.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the power regulation method of the MiFi device according to any one of claims 1 to 7.
10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the power regulation method of the MiFi device according to any one of claims 1 to 7.