Transmission power adjustment method and related device of mobile router MiFi
By detecting the scene and device status in the mobile router MiFi and dynamically adjusting the transmit power, the problem of short standby time of the existing MiFi is solved, and more stable and longer standby time is achieved, improving the user experience.
Patent Information
- Application Number
- CN202211283380.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-19
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-10-19
AI Technical Summary
The transmission power of existing mobile router MiFi is constant, resulting in short standby time and affecting the user's user experience, especially when it is inconvenient to charge when going out.
When determining that the current scenario is a mobile networking scenario, the transmission power is reduced, and by detecting the number of disconnected devices, the type of equipment, and the transmission quality level of undisconnected devices, it is determined whether to maintain the reduced transmission power.
By dynamically adjusting the transmission power, the stability of transmitted data is ensured, while reducing the energy consumption of MiFi, extending the standby time, and improving the user experience.
Smart Images

Figure CN115460681B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a transmission power adjustment method and related devices of a mobile router MiFi. Background Art
[0002] Mobile wifi (MiFi) is a portable broadband wireless device that integrates the functions of a modem, a router and an access point, and can provide network connection for terminal devices at any time. In order to make MiFi easy to carry, MiFi often uses a built-in battery to provide power, so that MiFi can provide network connection for terminal devices at any time. However, it is often inconvenient to charge when going out, and because the existing MiFi's transmission power is constant, the MiFi's standby time is short, affecting the user experience. Summary of the invention
[0003] The present application provides a transmission power adjustment method and related devices for a mobile router MiFi. When it is determined that the current scene is a mobile networking scene, the first transmission power is reduced to the second transmission power, and whether to maintain the reduced transmission power is determined by the number of offline devices, or the device type of each offline device, and the transmission quality level of the non-offline devices, thereby ensuring the stability of transmitted data while reducing MiFi energy consumption and increasing standby time.
[0004] In a first aspect, the present application provides a method for adjusting the transmission power of a mobile router MiFi, comprising:
[0005] If it is determined that the current scenario is a mobile networking scenario, reducing the first transmit power to a second transmit power, where the second transmit power is a maximum transmit power corresponding to the mobile networking scenario;
[0006] Determining the number of offline devices and the device type of each offline device at the second transmit power;
[0007] If the number of offline devices is 0 or the device type of each offline device is a fixed device type, determine the transmission quality level between each non-offline device and the MiFi, each transmission quality level is used to characterize the stability of data transmission between the MiFi and the corresponding non-offline device;
[0008] If each of the transmission quality levels reaches a preset quality level, the transmission power of the MiFi is maintained at the second transmission power.
[0009] In a second aspect, the present application provides a transmission power adjustment device for a mobile router MiFi, comprising:
[0010] A first control unit, configured to reduce the first transmit power to a second transmit power if it is determined that the current scenario is a mobile networking scenario, where the second transmit power is a maximum transmit power corresponding to the mobile networking scenario;
[0011] A first determining unit, configured to determine the number of offline devices and the device type of each offline device at the second transmit power;
[0012] A second determining unit is used to determine the transmission quality level between each non-offline device and the MiFi if the number of the offline devices is 0 or the device type of each offline device is a fixed device type, wherein each transmission quality level is used to characterize the stability of data transmission between the MiFi and the corresponding non-offline device;
[0013] The second control unit is used to maintain the transmission power of the MiFi at the second transmission power if each transmission quality level reaches a preset quality level.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and one or more programs; the one or more programs are stored in the above-mentioned memory and are configured to be executed by the processor, and the program includes instructions for executing the steps described in any method of the first aspect of the embodiment of the present application.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program specifically includes instructions, and the instructions are used to execute part or all of the steps described in any method of the first aspect of the embodiment of the present application.
[0016] In a fifth aspect, the present application provides a computer program, wherein the computer program is operable to cause a computer to execute some or all of the steps described in any method of the first aspect of the present application. The computer program may be a software installation package.
[0017] The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:
[0018] In an embodiment of the present application, first, if it is determined that the current scenario is a mobile networking scenario, the first transmission power is reduced to the second transmission power, and then the number of offline devices and the device type of each offline device at the second transmission power are determined to determine whether the number of offline devices is 0, or to determine whether to reduce the transmission power by obtaining the device type of the offline device, which is in line with the actual use scenario and prevents the user experience from being affected when the transmission power is reduced. If the number of offline devices is 0 or the device type of the offline device is a fixed device type, the transmission quality level between each non-offline device and MiFi is determined. If each transmission quality level reaches the preset quality level, the transmission power of MiFi is maintained at the second transmission power. Whether to reduce the transmission power is further determined by detecting the transmission quality level of the non-offline device, thereby ensuring the stability of the transmitted data while increasing the standby time of MiFi, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 It is a system architecture diagram of a transmission power adjustment method of a mobile router MiFi provided in an embodiment of the present application;
[0021] Figure 2 A flow chart of a method for adjusting the transmission power of a mobile router MiFi provided in an embodiment of the present application;
[0022] Figure 3 A schematic diagram of a flow chart of another method for adjusting the transmission power of a mobile router MiFi provided in an embodiment of the present application;
[0023] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0024] Figure 5 A block diagram of the functional units of a transmission power adjustment device of a mobile router MiFi provided in an embodiment of the present application;
[0025] Figure 6 This is a block diagram of the functional units of another transmission power adjustment device of a mobile router MiFi provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0027] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. 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 limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0028] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article indicates that the associated objects before and after are in an "or" relationship. The "plurality" appearing in the embodiments of the present application refers to two or more.
[0029] The "connection" that appears in the embodiments of the present application refers to various connection methods such as direct connection or indirect connection to achieve communication between devices, and the embodiments of the present application do not impose any limitations on this.
[0030] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0031] The background technology and related terms of this application are explained below.
[0032] Background technology related:
[0033] Existing MiFi often uses fixed transmission power, and its coverage radius can reach 50m-100m. However, in actual use, MiFi is often carried by users and used in a relatively close range of devices. The distance from the user's device is often within a radius of 1-5m. Therefore, fixed transmission power will waste MiFi's power consumption, thereby reducing MiFi's standby time.
[0034] To solve the above problems, the embodiments of the present application provide a method and related devices for adjusting the transmission power of a mobile router MiFi, which can intelligently adjust the transmission power of MiFi when determining that the current scene is a mobile networking scene, in line with user usage habits, ensuring the user experience while extending the standby time of MiFi.
[0035] Please combine the following Figure 1 The system architecture of a method for adjusting the transmission power of a mobile router MiFi in an embodiment of the present application is described. Figure 1 : is a system architecture diagram of a transmission power adjustment method of a mobile router MiFi provided in an embodiment of the present application, such as Figure 1 The system architecture shown may include MiFi 120 and at least one device, each of which is connected to the MiFi 120 network. Specifically, the at least one device may include device 110a, device 110b, ... device 110n, and the number of devices connected to MiFi 120 is not limited here. In terms of actual hardware, the at least one device may include but is not limited to smart phones (such as Android phones, iOS phones, Windows Phone phones, etc.) with data transmission functions, tablet computers, PDAs, laptops, video matrices, mobile Internet devices (MID, Mobile Internet Devices) or wearable devices, etc., which are not specifically limited here.
[0036] Functionally, the device in the at least one device can have a functional component for obtaining pictures and voices of the environment in which the device is located in real time to determine the scene in which the device is located, thereby generating scene detection information and sending it to MiFi120. And each of the at least one device can detect the moving speed and displacement length of the device to calculate the moving speed value, moving length value and other values, and then send them to MiFi120.
[0037] After understanding the software and hardware architecture of the embodiment of the present application, Figure 2 A method for adjusting the transmission power of a mobile router MiFi in an embodiment of the present application is described. Figure 2 A flow chart of a method for adjusting the transmission power of a mobile router MiFi provided in an embodiment of the present application. Specifically, the following steps are included:
[0038] Step 210: If it is determined that the current scenario is a mobile networking scenario, the first transmission power is reduced to a second transmission power.
[0039] Among them, the second transmission power is the maximum transmission power corresponding to the mobile networking scenario. The mobile networking scenario is a scenario determined by MiFi to be used in close connection with the device, so that the MiFi transmission power can be reduced without affecting the device's access to the Internet through the wireless network created by MiFi. For example, the mobile networking scenario can be a scenario where MiFi is located in a vehicle, and the user carries MiFi and moves quickly. The specific scenario is not limited here. If it is determined that the current scenario is a mobile networking scenario, the first transmission power is reduced to the second transmission power, and the second transmission power is the maximum transmission power corresponding to the mobile networking scenario to prevent the transmission power from being too low and affecting the user experience.
[0040] It can be seen that if it is a mobile networking scenario, the first transmission power is reduced to the second transmission power, which provides a network for the user's device while reducing the power consumption of MiFi and increasing the usage time of MiFi.
[0041] Step 220: Determine the number of offline devices and the device type of each offline device at the second transmit power.
[0042] Among them, in order to ensure the stability of the transmission data of the devices that have not been disconnected after reducing the transmission power of MiFi, it is necessary to determine the number of disconnected devices at the second transmission power and the device type of each disconnected device, and provide data support for the subsequent distinction between the disconnected devices as fixed device type devices or mobile device type devices, so as to prevent the disconnected devices from being the devices that users need to use in the current scenario and ensure the user experience.
[0043] In a possible embodiment, determining the number of offline devices and the device type of each offline device at the second transmission power includes: counting the number of offline devices at the second transmission power; obtaining a moving distance value of each offline device within a preset time period; if the moving distance value is less than or equal to a preset moving distance value, determining that the device type of each offline device is the fixed device type; if the moving distance value is greater than the preset moving distance value, determining that the device type of each offline device is the mobile device type.
[0044] The method for determining the device type of the device may be: obtaining a moving distance value of each offline device within a preset time period, and if the moving distance value is less than or equal to a preset moving distance value, determining that the device is a fixed device type device, and a fixed device type device is a device that is not carried around, such as a smart refrigerator, a smart TV, a desktop computer, etc. If the moving distance value is greater than the preset moving distance value, determining that the device type of the offline device is a mobile device type.
[0045] It can be seen that by obtaining the moving distance value of the offline device within the preset time period to determine the device type of the offline device, the judgment result is more accurate, thereby improving the accuracy of the determination result of maintaining the second transmission power.
[0046] In a possible embodiment, determining the number of offline devices at the second transmission power and the device type of each offline device includes: counting the number of offline devices at the second transmission power; obtaining the first service set identifier of each offline device; if a second service set identifier identical to the first service set identifier is matched from a preset fixed device identifier set, determining that the device type of each offline device is the fixed device type, the fixed device identifier set including different service set identifiers corresponding to the fixed device type; if a second service set identifier identical to the first service set identifier is not matched from the preset fixed device identifier set, determining that the device type of each offline device is the mobile device type.
[0047] Among them, the method for determining the device type of a device can be: first, after the offline device is offline, the first service set identifier of each offline device can be obtained, and then the second service set identifier that is identical to the first service set identifier can be matched from a preset fixed device identifier set. If the second service set identifier that is identical to the first service set identifier is matched, it is determined that the offline device is a fixed device type device. If no match is found, it is determined that the offline device is a mobile device type device. The fixed device identifier set includes service set identifiers corresponding to different devices that are pre-set as fixed device types.
[0048] It can be seen that by obtaining the service set identifier of the offline device to determine the device type of the offline device, the judgment result is more accurate, thereby improving the accuracy of the result of determining to maintain the second transmit power.
[0049] Step 230: If the number of offline devices is 0 or the device type of each offline device is a fixed device type, determine the transmission quality level between each non-offline device and the MiFi.
[0050] Among them, each transmission quality level is used to characterize the stability of data transmission between the MiFi and the corresponding non-offline device. MiFi determines that the number of offline devices is 0, which indicates that after reducing MiFi, the device connected to MiFi has not been disconnected, so it is preliminarily judged that it can be maintained at the second transmission power. In order to further improve the user experience, the transmission quality level between each non-offline device and MiFi can be further judged to ensure the stability of data transmission between each non-offline device and MiFi after reducing the MiFi transmission power, so that the result of determining to maintain the second transmission power is more reasonable.
[0051] In actual use, MiFi is mostly used to provide network for portable mobile devices, so when fixed devices are disconnected, the user experience is less affected. Therefore, fixed devices can be set as disconnectable devices to increase the usage time of MiFi. After reducing the transmission power of MiFi to the second transmission power, MiFi determines that the number of disconnected devices is not 0, and then further determines the device type of the disconnected device. If the device type of each disconnected device is a fixed device type, the impact of the disconnected device can be ignored. In order to improve the user experience, the transmission quality level between each non-disconnected device and MiFi can be further determined to ensure the stability of data transmission between each non-disconnected device and MiFi after reducing the MiFi transmission power.
[0052] It can be seen that if the number of offline devices is 0, or the device type of each offline device is a fixed device type, the transmission quality level between each non-offline device and MiFi is further judged, so as to ensure the stability of data transmission between each non-offline device and MiFi after reducing the MiFi transmission power, while reducing the MiFi energy consumption and extending the MiFi usage time.
[0053] Step 240: If each transmission quality level reaches a preset quality level, the transmission power of the MiFi is maintained at the second transmission power.
[0054] Among them, the transmission quality level is used to characterize the stability of data transmission between MiFi and the corresponding non-offline device. Specifically, the process of determining the transmission quality level can be: first, the packet loss rate, bit error rate and transmission efficiency of each non-offline device when transmitting data at the second transmission power are obtained, and the corresponding transmission quality level is determined according to the packet loss rate, bit error rate and transmission efficiency. For example, the transmission quality level is pre-divided into 1 to 5 levels, when the packet loss rate is 0 to 20%, the bit error rate is 0 to 20% and the transmission efficiency is 80% to 90%, the transmission efficiency is level 5; when the packet loss rate is 21 to 40%, the bit error rate is 21 to 40% and the transmission efficiency is 60 to 79%, the transmission efficiency is level 4, and so on, the higher the packet loss rate, the higher the bit error rate and the lower the transmission efficiency, the lower the transmission quality level. If the packet loss rate, bit error rate and transmission efficiency of the non-offline device when transmitting data at the second transmission power are 33%, 33%, and 66%, then the transmission quality level of the non-offline device is determined to be level 4. If the preset quality level is level 4, then the transmission quality level of the non-offline device is determined to reach the preset quality level. After determining that each transmission quality level has reached the preset quality level, the transmission power of MiFi is maintained at the second transmission power. It is understandable that the transmission quality level can be set according to actual usage requirements, and there is no specific limitation here.
[0055] It can be seen that in this example, whether to maintain the transmission power of MiFi at the second transmission power is determined by each transmission quality level, which reduces the energy consumption of MiFi, extends the standby time of MiFi, and improves the user experience while ensuring the stability of data transmission.
[0056] It is understandable that the transmission quality level between each non-disconnected device and MiFi can be prioritized. If each transmission quality level reaches the preset quality level, then it is determined whether the device type of each disconnected device is a fixed device type. The specific order of determination is not limited here.
[0057] Combine the following Figure 3 Another method for adjusting the transmission power of a mobile router MiFi in an embodiment of the present application is exemplarily described. Figure 3 A flow chart of another method for adjusting the transmission power of a mobile router MiFi provided in an embodiment of the present application specifically includes the following steps:
[0058] Step 301, obtaining at least one of a moving speed value of each device connected to the MiFi within a preset time and a displacement length value within the preset time.
[0059] Among them, if it is determined that the current scene is a mobile networking scene, before reducing the first transmission power to the second transmission power, it is necessary to determine whether the current scene in which MiFi is located is a mobile networking scene. The specific determination process can be: obtaining at least one of the moving speed value and the displacement length value within a preset time of each device connected to MiFi. The moving speed value and the displacement length value of the device can be values detected and calculated by the device side. MiFi obtains the moving speed value and the displacement length value from the device side to provide data support for the subsequent judgment of whether it is a mobile networking scene.
[0060] Step 302: If the moving speed value exceeds the preset moving speed value, or the displacement length value exceeds the preset displacement length value, it is determined that the current scene is the mobile networking scene.
[0061] Among them, when the device is in a fast-moving state, MiFi can still obtain the moving speed value sent by the device, which proves that the distance between MiFi and the device is short and is in a mobile networking scenario. For example, when a user takes the subway with MiFi and the device, the device determines the moving speed value in real time, MiFi obtains the moving speed value on the device side, and determines whether the moving speed value exceeds the preset moving speed value. If the moving speed value exceeds the preset moving speed value, the current scene is determined to be a mobile networking scene. Similarly, if the displacement length value within the preset time exceeds the preset displacement length value, the current scene is determined to be a mobile networking scene.
[0062] It can be seen that whether it is a mobile networking scenario is determined by the moving speed value of the device within the preset time and the displacement length within the preset time, so as to improve the accuracy of the determination result, and trigger the operation of reducing the MiFi transmission power according to the determination result, thereby improving intelligence and improving the user experience.
[0063] Step 303: If scene detection information sent by at least one device connected to the MiFi is received, determine that the current scene is the mobile networking scene.
[0064] Wherein, the scene detection information is used to indicate a physical scene or an application scene, the physical scene is a physical space corresponding to the mobile networking scene, and the application scene is a scene that needs to interact with the MiFi at a short distance. If the current scene is determined to be a mobile networking scene, the first transmission power is reduced to before the second transmission power. If the scene detection information is received, it is determined that the current scene where the MiFi is located is a mobile networking scene. The specific determination step can be: each device of at least one device connected to the MiFi detects the scene where the device is located in real time. Specifically, the user can apply for the device's camera permission, voice permission or device application detection permission to obtain photo information, voice information or application usage information. The physical space where the device is located is determined by at least one of the photo information and voice information. If the physical space is a physical space corresponding to the mobile networking scene, the scene detection information is sent to the MiFi. For example, the photo information obtained from the photo obtained by the device determines that the device is located in the car. In the narrow environment in the car, the distance between the device and the MiFi is limited, and it is determined to be the physical space corresponding to the mobile networking scene, so the scene detection information is sent to the MiFi. The device uses application detection permissions to determine whether there is an application that interacts with MiFi in a short distance among the applications being launched by the device, such as detecting that the device is connected to MiFi via Bluetooth, or detecting that a charging application is started, and the device provides power to MiFi. Specific applications that interact with MiFi in a short distance are not limited here. After detecting that there is an application that interacts with MiFi in a short distance, scene detection information is generated and sent to MiFi. MiFi receives scene detection information sent by at least one device connected to MiFi, and determines that the current scene is a mobile networking scene.
[0065] It can be seen that the scene detection information received from at least one device connected to MiFi is determined to be a mobile networking scene, which improves the accuracy of the determination result, and the determination result triggers the operation of reducing the MiFi transmission power, thereby improving intelligence and improving user experience.
[0066] Step 304: reduce the first transmit power to a second transmit power.
[0067] If it is determined that the current scenario is a mobile networking scenario, the first transmission power is reduced to the second transmission power.
[0068] Step 305: Determine the number of offline devices and the device type of each offline device at the second transmission power.
[0069] Step 306: If the number of offline devices is 0 or the device type of each offline device is a fixed device type, determine the transmission quality level between each non-offline device and the MiFi.
[0070] Step 307: If each transmission quality level reaches a preset quality level, the transmission power of the MiFi is maintained at the second transmission power.
[0071] Step 308: If the number of the offline devices is not 0 and the device type of at least one offline device is a mobile device type, display prompt information to prompt the user that the device type of at least one offline device is the mobile device type.
[0072] If the number of offline devices is not 0 and the device type of at least one offline device is a mobile device type, MiFi displays a prompt message to prompt the user that a offline device of the mobile device type is offline.
[0073] In a possible example, after displaying the prompt information, MiFi can adjust back to the first transmission power from the second transmission power by itself, or, when obtaining the user's instruction to adjust back to the first transmission power, adjust back to the first transmission power, thereby improving the user's experience.
[0074] Step 309: If each transmission quality level is higher than the preset quality level, a distance value set between each of the devices that are not offline and the MiFi is obtained, and a maximum distance value in the distance value set is determined.
[0075] Among them, after maintaining the transmission power of the MiFi at the second transmission power, determine whether each transmission quality level is higher than the preset quality level. If each transmission quality level is higher than the preset quality level, obtain a distance value set between each non-disconnected device and the MiFi, and determine the maximum distance value in the distance value set, which distance value set includes the distance value between each non-disconnected device and the MiFi.
[0076] Step 310: Determine a third transmit power corresponding to the maximum distance value.
[0077] Each different distance value is set with a corresponding third transmission power, and after determining the maximum distance value in the distance value set, the third transmission power corresponding to the maximum distance value is determined.
[0078] Step 311: If the third transmit power is less than the second transmit power, reduce the second transmit power to the third transmit power.
[0079] The third transmission power is compared with the second transmission power, and if the third transmission power is less than the second transmission power, the second transmission power is reduced to the third transmission power. If the third transmission power is greater than or equal to the second transmission power, the second transmission power is maintained.
[0080] It can be seen that the third transmission power is determined by the distance between the connected devices, and whether there is an applicable smaller transmission power is determined according to the comparison result between the third transmission power and the second transmission power, thereby further reducing the MiFi power consumption and extending the usage time.
[0081] In one possible example, if the third transmission power is less than the second transmission power, after the second transmission power is reduced to the third transmission power, the transmission quality level between each non-disconnected device and the MiFi can be determined again. If each re-determined transmission quality level reaches the preset quality level, the third transmission power is maintained to ensure stability during data transmission.
[0082] In one possible example, after maintaining the transmission power of MiFi at the second transmission power, determine whether each transmission quality level is higher than the preset quality level. If each transmission quality level is higher than the preset quality level, obtain the distance value between each non-disconnected device and MiFi, and determine the fourth transmission power corresponding to each distance value. If the fourth transmission power corresponding to each non-disconnected device is less than the second transmission power, MiFi sends the corresponding fourth transmission power to each non-disconnected device in turn in time periods, so that the provided transmission power is more reasonable and accurate, and further reduces power consumption.
[0083] Combine the following Figure 4 An electronic device in an embodiment of the present application is described. Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the electronic device 400 includes a processor 401, a communication module 402 and a memory 403, wherein the processor 401, the communication module 402 and the memory 403 are interconnected, wherein the electronic device 400 may also include a bus 404, through which the processor 401, the communication module 402 and the memory 403 may be interconnected, and the bus 404 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus 404 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 The memory 403 is used to store computer programs, which include program instructions. The processor is configured to call the program instructions to execute the above Figure 2 , Figure 3 All or part of the methods described in .
[0084] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0085] The embodiment of the present application can divide the electronic device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0086] In the case of dividing each functional module according to each function, please combine Figure 5 A transmission power adjustment device of a mobile router MiFi in an embodiment of the present application is described in detail. Figure 5 A functional unit composition block diagram of a transmission power adjustment device of a mobile router MiFi provided in an embodiment of the present application, wherein the transmission power adjustment device of the mobile router MiFi includes:
[0087] The first control unit 510 is configured to reduce the first transmit power to a second transmit power if it is determined that the current scenario is a mobile networking scenario, where the second transmit power is a maximum transmit power corresponding to the mobile networking scenario;
[0088] A first determining unit 520, configured to determine the number of offline devices and the device type of each offline device at the second transmit power;
[0089] A second determining unit 530 is used to determine the transmission quality level between each non-offline device and the MiFi if the number of the offline devices is 0 or the device type of each offline device is a fixed device type, each transmission quality level is used to characterize the stability of data transmission between the MiFi and the corresponding non-offline device;
[0090] The second control unit 540 is configured to maintain the transmission power of the MiFi at the second transmission power if each transmission quality level reaches a preset quality level.
[0091] It can be seen that through the transmission power adjustment device of the mobile router MiFi, if the current scene is determined to be a mobile networking scene, the first transmission power is reduced to the second transmission power; then, the number of offline devices and the device type of each offline device under the second transmission power started by the application are determined; after that, if the number of offline devices started by the application is 0 or the device type of the offline device started by the application is a fixed device type, the transmission quality level between each non-offline device and the application-started MiFi is determined, and finally, when each transmission quality level reaches the preset quality level, the transmission power of the application-started MiFi is maintained at the second transmission power started by the application. While ensuring the stability of the transmitted data, the energy consumption of MiFi is reduced, the standby time is extended, and the user experience is improved.
[0092] In the case of integrated units, see Figure 6 , Figure 6 This is a functional unit block diagram of another transmission power adjustment device of a mobile router MiFi provided in an embodiment of the present application. Figure 6 A device 600 in an embodiment of the present application is described in detail. The device 600 includes a processing unit 601 and a communication unit 602, wherein the processing unit 601 is used to execute any step in the above method embodiment.
[0093] The apparatus 600 may further include a storage unit 603 for storing program codes and data. The processing unit 601 may be a processor, the communication unit 602 may be a wireless communication module, and the storage unit 603 may be a memory.
[0094] The processing unit 601 is specifically used for:
[0095] If it is determined that the current scenario is a mobile networking scenario, reducing the first transmit power to a second transmit power, where the second transmit power is a maximum transmit power corresponding to the mobile networking scenario;
[0096] Determining the number of offline devices and the device type of each offline device at the second transmit power;
[0097] If the number of offline devices is 0 or the device type of each offline device is a fixed device type, determine the transmission quality level between each non-offline device and the MiFi, each transmission quality level is used to characterize the stability of data transmission between the MiFi and the corresponding non-offline device;
[0098] If each of the transmission quality levels reaches a preset quality level, the transmission power of the MiFi is maintained at the second transmission power.
[0099] It can be seen that through the transmission power adjustment device of the mobile router MiFi, if the current scene is determined to be a mobile networking scene, the first transmission power is reduced to the second transmission power; then, the number of offline devices and the device type of each offline device under the second transmission power started by the application are determined; after that, if the number of offline devices started by the application is 0 or the device type of the offline device started by the application is a fixed device type, the transmission quality level between each non-offline device and the application-started MiFi is determined, and finally, when each transmission quality level reaches the preset quality level, the transmission power of the application-started MiFi is maintained at the second transmission power started by the application. While ensuring the stability of the transmitted data, the energy consumption of MiFi is reduced, the standby time is extended, and the user experience is improved.
[0100] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments.
[0101] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an electronic device.
[0102] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0103] In the above embodiments, 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.
[0104] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as 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, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0105] The units described above 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 network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0106] In addition, each functional unit in each embodiment of the present application 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.
[0107] If the above-mentioned 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 memory. Based on this understanding, the technical solution of the present application is essentially 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 memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.
[0108] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.
[0109] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for adjusting the transmission power of a mobile router MiFi, characterized in that: include: If it is determined that the current scenario is a mobile networking scenario, reducing the first transmit power to a second transmit power, where the second transmit power is a maximum transmit power corresponding to the mobile networking scenario; Determining the number of offline devices and the device type of each offline device at the second transmit power; If the number of offline devices is 0 or the device type of each offline device is a fixed device type, determine the transmission quality level between each non-offline device and the MiFi, each transmission quality level is used to characterize the stability of data transmission between the MiFi and the corresponding non-offline device; If each of the transmission quality levels reaches a preset quality level, the transmission power of the MiFi is maintained at the second transmission power.
2. The method according to claim 1, characterized in that After determining the number of offline devices and the device type of each offline device at the second transmit power, the method further includes: If the number of the offline devices is not 0 and the device type of at least one offline device is a mobile device type, prompt information is displayed to prompt the user that the device type of at least one offline device is the mobile device type.
3. The method according to claim 2, characterized in that The determining the number of offline devices and the device type of each offline device at the second transmission power includes: Counting the number of the offline devices at the second transmit power; Obtaining a moving distance value of each offline device within a preset time period; If the moving distance value is less than or equal to the preset moving distance value, determining that the device type of each offline device is the fixed device type; If the moving distance value is greater than the preset moving distance value, it is determined that the device type of each offline device is the mobile device type.
4. The method according to claim 2, characterized in that: The determining the number of offline devices and the device type of each offline device at the second transmission power includes: Counting the number of the offline devices at the second transmit power; Obtaining a first service set identifier of each offline device; If a second service set identifier that is the same as the first service set identifier is matched from a preset fixed device identifier set, determining that the device type of each offline device is the fixed device type, and the fixed device identifier set includes different service set identifiers corresponding to the fixed device type; If no second service set identifier that is the same as the first service set identifier is matched from the preset fixed device identifier set, it is determined that the device type of each offline device is the mobile device type.
5. The method according to claim 1, characterized in that If it is determined that the current scenario is a mobile networking scenario, the first transmission power is reduced to before the second transmission power, and the method further includes: Obtain at least one of a moving speed value of each device connected to the MiFi within a preset time and a displacement length value within the preset time; If the moving speed value exceeds the preset moving speed value, or the displacement length value exceeds the preset displacement length value, it is determined that the current scene is the mobile networking scene.
6. The method according to claim 1, characterized in that If it is determined that the current scenario is a mobile networking scenario, the first transmission power is reduced to before the second transmission power, and the method further includes: If scene detection information is received from at least one device connected to the MiFi, the current scene is determined to be the mobile networking scene, and the scene detection information is used to indicate a physical scene or an application scene. The physical scene is a physical space corresponding to the mobile networking scene, and the application scene is a scene that requires short-distance interaction with the MiFi.
7. The method according to claim 1, characterized in that After maintaining the transmission power of the MiFi at the second transmission power, the method further includes: If each of the transmission quality levels is higher than the preset quality level, obtaining a distance value set between each of the non-dropped devices and the MiFi, and determining a maximum distance value in the distance value set; Determining a third transmit power corresponding to the maximum distance value; If the third transmit power is less than the second transmit power, the second transmit power is reduced to the third transmit power.
8. A transmission power adjustment device for a mobile router MiFi, characterized in that: include: A first control unit, configured to reduce the first transmit power to a second transmit power if it is determined that the current scenario is a mobile networking scenario, where the second transmit power is a maximum transmit power corresponding to the mobile networking scenario; A first determining unit, configured to determine the number of offline devices and the device type of each offline device at the second transmit power; A second determining unit is used to determine the transmission quality level between each non-offline device and the MiFi if the number of the offline devices is 0 or the device type of each offline device is a fixed device type, wherein each transmission quality level is used to characterize the stability of data transmission between the MiFi and the corresponding non-offline device; The second control unit is used to maintain the transmission power of the MiFi at the second transmission power if each transmission quality level reaches a preset quality level.
9. An electronic device, characterized in that: The method comprises a processor configured to execute instructions of the steps in the method according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that: The computer storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Portable wireless device and power saving control method
CN103516911A
Power control method and device for wireless local area network access point device
CN103957585A