Information prompt method and related device
By detecting power consumption data between devices and reducing the transmission power and displaying prompt information when the power consumption exceeds the threshold, the high power consumption problem of portable broadband wireless devices when the devices are used at close range is solved, and the battery life and user experience are improved.
Patent Information
- Application Number
- CN202310382803.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-11
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2043-04-11
AI Technical Summary
Portable broadband wireless devices consume high power in certain scenarios, resulting in reduced battery life, especially when the device is used in close proximity.
By detecting real-time power consumption data between devices, when the power consumption data exceeds the threshold, the transmission power is reduced, and a prompt message is displayed on the second device to guide the user to adjust the device position to optimize communication quality and battery life.
Without affecting the communication quality, the device's battery life and user experience are improved by adjusting the transmission power and prompt information.
Smart Images

Figure CN116367284B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to an information prompting method and related devices. Background Art
[0002] With the development of technology, people's demand for wireless networks is increasing. Now, people can generally carry portable broadband wireless devices to provide wireless networks for user devices. However, current portable broadband wireless devices consume a lot of power in some scenarios. For example, when the portable broadband wireless device is placed in a drawer, it requires greater transmission power to provide a normal network for the user device, resulting in a decrease in battery life. Summary of the Invention
[0003] In view of this, the present application provides an information prompt method and related devices, which can prompt users to adjust their positions, save power consumption, and improve battery life.
[0004] In a first aspect, an embodiment of the present application provides an information prompting method, the method comprising:
[0005] If the first device and the second device are in a first interconnection scenario, determining real-time power consumption data of the first device, where the first interconnection scenario is used to indicate a scenario in which a user can easily adjust the relative positions of the first device and the second device;
[0006] If the real-time power consumption data is greater than a preset power consumption threshold, reducing the first transmission power to a second transmission power, and the battery life of the first device at the second transmission power is equal to the preset battery life;
[0007] Target prompt information is displayed on the second device until the communication quality between the first device and the second device meets a preset quality threshold, and the target prompt information is used to prompt a user to adjust the relative position of the first device and the second device.
[0008] In a second aspect, an embodiment of the present application provides an information prompting device, the device comprising:
[0009] a determining unit, configured to determine the real-time power consumption data of the first device if the first device and the second device are in a first interconnection scenario, wherein the first interconnection scenario is used to indicate a scenario in which a user can easily adjust the relative positions of the first device and the second device;
[0010] an adjusting unit, configured to reduce the first transmit power to a second transmit power if the real-time power consumption data is greater than a preset power consumption threshold, wherein the battery life of the first device at the second transmit power is equal to the preset battery life;
[0011] A prompting unit is configured to display target prompt information on the second device until the communication quality between the first device and the second device meets a preset quality threshold, wherein the target prompt information is used to prompt a user to adjust the relative position of the first device and the second device.
[0012] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program comprises instructions for executing the steps of any method of the first aspect of the embodiment of the present application.
[0013] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables a computer to execute part or all of the steps described in any method of the first aspect of the embodiment of the present application.
[0014] In a fifth aspect, embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing 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 embodiments of the present application. The computer program product may be a software installation package.
[0015] It can be seen that through the above-mentioned information prompt method and related devices, first, if the first device and the second device are in a first interconnected scenario, the real-time power consumption data of the first device is determined, and the first interconnected scenario is used to indicate a scenario in which the user can adjust the relative position of the first device and the second device; if the real-time power consumption data is greater than the preset power consumption threshold, the first transmission power is reduced to the second transmission power, and the battery life of the first device at the second transmission power is equal to the preset battery life; finally, the target prompt information is displayed on the second device until the communication quality between the first device and the second device meets the preset quality threshold, and the target prompt information is used to prompt the user to adjust the relative position of the first device and the second device. In a scenario where it is convenient to adjust the relative position, prompt information can be displayed in a timely manner based on real-time power consumption data to trigger the user to adjust the position of the two devices, thereby improving battery life and user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 A system architecture diagram of an information prompt method provided in an embodiment of the present application;
[0018] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0019] Figure 3 A flowchart of an information prompting method provided in an embodiment of the present application;
[0020] Figure 4 A flowchart of another information prompting method provided in an embodiment of the present application;
[0021] Figure 5 A block diagram of the functional units of a communication interaction device provided in an embodiment of the present application;
[0022] Figure 6 A block diagram of the functional units of another communication interaction device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. 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 are within the scope of protection of this application.
[0024] The terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish between different objects, not to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.
[0025] It should be understood that the term "and / or" in this document is merely a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this document indicates that the associated objects are in an "or" relationship. The "plurality" appearing in the embodiments of this application refers to two or more.
[0026] In the embodiments of the present application, "at least one item" or similar expressions refers to any combination of these items, including any combination of single items or plural items, and refers to one or more, and multiple refers to two or more. For example, at least one item (item) of a, b, or c can represent the following seven situations: a, b, c, a and b, a and c, b and c, a, b, and c. Among them, each of a, b, and c can be an element or a set containing one or more elements.
[0027] The "connection" appearing 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.
[0028] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0029] The background technology and related terms of this application are explained below.
[0030] MiFi (Mobile Wi-Fi) is a portable broadband wireless device about the size of a credit card that combines the functions of a modem, router, and access point in one. The built-in modem connects to a wireless signal, and the internal router shares the connection among multiple users and wireless devices.
[0031] Existing MiFi devices often use a fixed transmission power, which can reach a coverage radius of 50m-100m. However, in actual use, MiFi devices are often carried by users and used in close proximity to their devices. The distance between the user's device and the device is usually within a radius of 1-5m. Therefore, a fixed transmission power wastes the MiFi's power consumption, thereby reducing the MiFi's standby time.
[0032] To solve the above problems, the embodiments of the present application provide an information method and related devices, which can automatically identify the current scene, and adjust the transmission power based on the real-time power consumption data of the first device only when the current scene is a scene that allows the user to adjust the relative position of the first device and the second device, and display target prompt information on the second device, so that the user can adjust the relative position of the first device and the second device in time, thereby reducing the power consumption of the first device and improving the battery life of the first device without affecting the communication quality, thereby improving the user experience.
[0033] The following combination Figure 1The system architecture of an information prompt method in an embodiment of the present application is described. Figure 1 A system architecture diagram of an information prompt method provided in an embodiment of the present application includes a first device 110 and a second device 120, and the first device 110 and the second device 120 are wirelessly connected, and the first device 110 is used to provide a wireless network for the second device 120, wherein the first device 110 can be MiFi, and the second device 120 can include but is not limited to smartphones with data transmission functions (such as Android phones, iOS phones, Windows Phone phones, etc.), tablet computers, PDAs, laptops, video matrices, mobile Internet devices (MID, Mobile Internet Devices) or wearable devices, etc., which are not specifically limited here.
[0034] It should be noted that the first device 110 and the second device 120 can determine each other's status, such as movement status, usage status, etc. when they are connected to each other. The user understands through the target prompt information on the second device 120 that the relative positions of the first device and the second device need to be adjusted at this time, and adjusts the relative positions of the first device 110 and the second device 120 to a reasonable state through the target prompt information.
[0035] The following combination Figure 2 The electronic device in the embodiment of the present application is described. Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the electronic device includes one or more application processors 220, a memory 230, a communication module 240 and one or more programs 231. The application processor 220 is communicatively connected with the memory 230 and the communication module 240 via an internal communication bus.
[0036] The one or more programs 231 are stored in the memory 230 and configured to be executed by the application processor 220 . The one or more programs 231 include instructions for executing any step in the above method embodiment.
[0037] Among them, the application processor 220 can be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute the various exemplary logic blocks, units and circuits described in conjunction with the disclosure of this application. The application processor 220 can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication unit can be a communication module 240, a transceiver, a transceiver circuit, etc., and the storage unit can be a memory 230.
[0038] The memory 230 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM).
[0039] It is understood that the electronic device 20 may include more or fewer structural elements than those in the above structural block diagram, for example, including a power module, physical buttons, a Wi-Fi module, a speaker, a Bluetooth module, a sensor, a display module, etc., which are not limited here. It is understood that the electronic device 20 can be the first device in the embodiment of the present application, or the second device in the embodiment of the present application.
[0040] The following combination Figure 3 An information prompting method in an embodiment of the present application is described. Figure 3 A flowchart of an information prompting method provided in an embodiment of the present application specifically includes the following steps:
[0041] Step 301: If a first device and a second device are in a first interconnected scenario, determine real-time power consumption data of the first device.
[0042] Among them, the first interconnection scenario is used to indicate a scenario in which the user can easily adjust the relative positions of the first device and the second device. For example, when the first device and the second device are both in fixed positions in the room, the user can easily adjust the relative positions of the first device and the second device.
[0043] Among them, the first device can first determine a minimum sampling time based on its current power level. The minimum sampling time is positively correlated with the current power level. That is, the greater the current power level of the first device, the longer the minimum sampling time can be, and the less the current power level of the first device, the shorter the minimum sampling time can be. This can improve the flexibility of the real-time power consumption data calculation process. Then, the power consumption of the first device for at least the minimum sampling time can be counted to determine the real-time power consumption data. It can be understood that real-time power consumption data can be understood as power consumption within a certain period of time. For example, if the minimum sampling time is ten minutes and the power consumption in ten minutes is a, then the power consumption in one hour can be calculated as 6a, which can be used as real-time power consumption data. It can be understood that as power consumption is continuously counted, real-time power consumption data will fluctuate. When the minimum sampling time is reached, the first real-time power consumption data can be determined. Then, as power consumption is continuously counted, the real-time power consumption data will also fluctuate accordingly. By setting a minimum sampling time, it is also to eliminate the interference of small fluctuations in power consumption. Subsequent information prompts are only required when power consumption exceeds a certain time.
[0044] In a possible embodiment, the first device can connect to the second device with the first transmission power, where the first transmission power is the transmission power at which the communication quality meets the preset quality threshold, and then determine the first application scenario based on at least one of the first mobile data, first usage status data, and first spatial data of the first device, and determine the second application scenario based on at least one of the second mobile data, second usage status data, and second spatial data of the second device. Finally, if the first application scenario and the second application scenario meet the first interconnection condition, it is determined that the first device and the second device are in the first interconnection scenario.
[0045] Among them, the first movement data may include the movement speed and movement time of the first device, the second movement data may include the movement speed and movement time of the second device, the first usage status may include the charging status and the non-charging status, the second usage status may include the in-vehicle usage status, the indoor usage status, etc., the first space data may include the in-vehicle space, the indoor space, etc., the first application scenario may include data such as the space where the first device is located, whether it is charged, whether it is moving, etc., the second application scenario may include data such as the space where the second device is located, whether it is charged, whether it is moving, etc., the first interconnection condition may be a condition to facilitate the user to adjust the relative position of the first device and the second device, which generally may include that the first device and the second device are not in a moving state, not in the in-vehicle space, etc., which will not be elaborated here.
[0046] In a possible embodiment, if the first application scenario and the second application scenario meet the second interconnection condition, it is determined that the first device and the second device are in the second interconnection scenario; if the first device and the second device are in the second interconnection scenario, the target prompt information is not displayed.
[0047] This can reduce the frequency of information prompts in some scenarios, and only perform subsequent information prompt steps when it is convenient for the user to adjust the relative positions of the first device and the second device, thereby improving the user experience.
[0048] It can be seen that if the first device and the second device are in the first interconnected scenario, the real-time power consumption data of the first device can be determined, and the data required for information prompts can be collected only in specific scenarios to avoid useless prompts affecting the user experience.
[0049] Step 302: If the real-time power consumption data is greater than a preset power consumption threshold, reduce the first transmit power to a second transmit power.
[0050] Among them, the battery life of the first device at the second transmission power is equal to the preset battery life. It can be understood that when the real-time power consumption data of the first device is equal to the preset power consumption threshold, the battery life of the first device can be equal to the preset battery life. When the real-time power consumption data of the first device is less than the preset power consumption threshold, the battery life of the first device can be greater than the preset battery life. Here, since the real-time power consumption data of the first device is greater than the preset power consumption threshold, it is equivalent to maintaining this real-time power consumption data. The battery life of the first device will definitely be less than the preset battery life. At this time, the first transmission power of the first device can be reduced to the second transmission power, and the specific reduction value can be calculated. When the first device maintains the second transmission power, its battery life is equal to the preset battery life. It can be understood that under the second transmission power, the communication quality between the first device and the second device will be reduced, but the battery life of the first device can be guaranteed to meet the preset battery life.
[0051] In a possible embodiment, the first device can obtain the networking configuration information of the second device, and the networking configuration information may include the battery life requirement for the first device, and then determine the preset power consumption threshold based on the battery life requirement and the current power of the first device. For example, the user sets the battery life requirement for the first device to 9 hours on the second device, then the current power of the first device is divided by 9 hours to get the preset power consumption threshold corresponding to each hour. Similarly, the preset power consumption threshold corresponding to every ten minutes can also be obtained. The preset power consumption threshold corresponding to each minute is not elaborated here. In a possible embodiment, the preset power consumption threshold can also be a default configuration, which is not specifically limited here.
[0052] It can be seen that if the real-time power consumption data is greater than the preset power consumption threshold, the first transmission power is reduced to the second transmission power, which can ensure that the battery life of the first device meets the user's needs.
[0053] Step 303: Display target prompt information on the second device until the communication quality between the first device and the second device meets a preset quality threshold.
[0054] The target prompt information is used to prompt the user to adjust the relative position of the first device and the second device, and the display method of the target prompt information may include at least one of text, picture, video, audio, vibration, etc.
[0055] In a possible embodiment, the first device can determine the real-time battery life difference data based on the difference between the real-time power consumption data and the preset power consumption threshold, and display the target prompt information on the second device until the real-time battery life difference data is less than or equal to the preset difference threshold.
[0056] The target prompt information can be in the form of a percentage or a progress bar. As the percentage increases from 0% to 100%, it can be considered that the real-time power consumption data is gradually approaching the preset power consumption threshold, that is, the real-time battery life difference data is gradually decreasing. The preset difference threshold can be 95%, which is not specifically limited here. The user can adjust the relative position of the first and second devices in real time based on the target prompt information. Because the target prompt information changes in real time, the user can easily adjust the relative position of the first and second devices to a reasonable state. The target prompt information stops displaying when the real-time battery life difference data is less than or equal to the preset difference threshold to prevent affecting the user experience. For example, the target prompt information "Battery life abnormality" and "Position adjustment progress bar 0%" can be displayed on the second device to prompt the user to adjust the relative position of the first and second devices. During the user's relative position adjustment, target prompt information such as "Position adjustment progress bar 30%", "Position adjustment progress bar 35%", and "Position adjustment progress bar 25%" can be displayed. This allows the user to determine whether the adjustment direction and distance are correct based on the changes in the position adjustment progress bar, greatly improving the user experience.
[0057] It can be seen that through the above-mentioned information prompt method, the current scene can be automatically identified. When the current scene is a scene that is convenient for the user to adjust the relative position of the first device and the second device, the transmission power is adjusted based on the real-time power consumption data of the first device, and the target prompt information is displayed on the second device, so that the user can adjust the relative position of the first device and the second device in time, reducing the power consumption of the first device and improving the battery life of the first device without affecting the communication quality, thereby improving the user experience.
[0058] The following combination Figure 4 Another information prompting method in the embodiment of the present application is described. Figure 4 A flowchart of another information prompting method provided in an embodiment of the present application specifically includes the following steps:
[0059] Step 401: If a first device and a second device are in a first interconnected scenario, determine real-time power consumption data of the first device.
[0060] Step 402: If the real-time power consumption data is greater than a preset power consumption threshold, target prompt information is displayed on the second device until the communication quality between the first device and the second device is higher than the preset quality threshold.
[0061] Among them, the target prompt information can be directly displayed on the second device when the real-time power consumption data is greater than the preset power consumption threshold, allowing the user to adjust the relative position of the first device and the second device, and the target prompt information can be stopped from being displayed when the communication quality between the first device and the second device is higher than the preset quality threshold and higher than a certain level. The communication quality can be determined based on the signal strength. When the signal strength is higher than the preset quality threshold and the difference between the signal strength and the preset quality threshold is greater than the signal strength difference threshold, at this time, the transmission power of the first device can be reduced to improve the battery life while ensuring the communication quality.
[0062] Step 403: Reduce the first transmit power to a third transmit power.
[0063] The battery life of the first device at the third transmit power is equal to the preset battery life, and the communication quality between the first device and the second device is equal to the preset quality threshold. It will be understood that when the signal quality is equal to the preset quality threshold at the third transmit power, the battery life of the first device can be improved while maintaining communication quality.
[0064] It can be seen that through the above-mentioned information prompt method, the user can be prompted to adjust the relative positions of the first device and the second device first, and then the transmission power of the first device can be reduced after the relative positions of the first device and the second device meet the requirements. This can ensure the user's networking experience during the adjustment process, and at the same time improve the battery life of the first device while ensuring the communication quality.
[0065] The steps not described above can be found in Figure 3 The description of the steps of the method is not repeated here.
[0066] The above mainly introduces the solution of the embodiment of the present application from the perspective of the execution process of 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. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment 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 a hardware or computer software driven hardware manner 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 this application.
[0067] The embodiment of the present application can divide the functional units of the electronic device 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.
[0068] In the case of dividing each functional module into corresponding functional modules, Figure 5 This is a block diagram of the functional units of an information prompting device provided in an embodiment of the present application. The information prompting device 500 includes:
[0069] A determining unit 510 is configured to determine real-time power consumption data of the first device if the first device and the second device are in a first interconnection scenario, where the first interconnection scenario indicates a scenario in which a user can easily adjust the relative positions of the first device and the second device;
[0070] an adjusting unit 520, configured to reduce the first transmit power to a second transmit power if the real-time power consumption data is greater than a preset power consumption threshold, wherein the battery life of the first device at the second transmit power is equal to the preset battery life;
[0071] The prompt unit 530 is used to display target prompt information on the second device until the communication quality between the first device and the second device meets a preset quality threshold, and the target prompt information is used to prompt the user to adjust the relative position of the first device and the second device.
[0072] It can be seen that through the above-mentioned information prompt method and related devices, first, if the first device and the second device are in a first interconnected scenario, the real-time power consumption data of the first device is determined, and the first interconnected scenario is used to indicate a scenario in which the user can adjust the relative position of the first device and the second device; if the real-time power consumption data is greater than the preset power consumption threshold, the first transmission power is reduced to the second transmission power, and the battery life of the first device at the second transmission power is equal to the preset battery life; finally, the target prompt information is displayed on the second device until the communication quality between the first device and the second device meets the preset quality threshold, and the target prompt information is used to prompt the user to adjust the relative position of the first device and the second device. In a scenario where it is convenient to adjust the relative position, prompt information can be displayed in a timely manner based on real-time power consumption data to trigger the user to adjust the position of the two devices, thereby improving battery life and user experience.
[0073] It should be noted that the specific implementation of each operation can adopt the corresponding description of the method embodiment shown above, and the information prompt device 500 can be used to execute the above method embodiment of the present application, which will not be described in detail.
[0074] In the case of using an integrated unit, the following combination Figure 6 Another information prompting device 600 in an embodiment of the present application is described in detail. The information prompting 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-mentioned method embodiment, and when performing data transmission such as sending, the communication unit 602 can be optionally called to complete the corresponding operation.
[0075] The information prompting device 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 transceiver, and the storage unit 603 may be a memory. The processing unit 601 is specifically configured to:
[0076] If the first device and the second device are in a first interconnection scenario, determining real-time power consumption data of the first device, where the first interconnection scenario is used to indicate a scenario in which a user can easily adjust the relative positions of the first device and the second device;
[0077] If the real-time power consumption data is greater than a preset power consumption threshold, reducing the first transmission power to a second transmission power, and the battery life of the first device at the second transmission power is equal to the preset battery life;
[0078] Target prompt information is displayed on the second device until the communication quality between the first device and the second device meets a preset quality threshold, and the target prompt information is used to prompt a user to adjust the relative position of the first device and the second device.
[0079] It can be seen that through the above-mentioned information prompt method and related devices, first, if the first device and the second device are in a first interconnected scenario, the real-time power consumption data of the first device is determined, and the first interconnected scenario is used to indicate a scenario in which the user can adjust the relative position of the first device and the second device; if the real-time power consumption data is greater than the preset power consumption threshold, the first transmission power is reduced to the second transmission power, and the battery life of the first device at the second transmission power is equal to the preset battery life; finally, the target prompt information is displayed on the second device until the communication quality between the first device and the second device meets the preset quality threshold, and the target prompt information is used to prompt the user to adjust the relative position of the first device and the second device. In a scenario where it is convenient to adjust the relative position, prompt information can be displayed in a timely manner based on real-time power consumption data to trigger the user to adjust the position of the two devices, thereby improving battery life and user experience.
[0080] It should be noted that the specific implementation of each operation can adopt the corresponding description of the method embodiment shown above, and the information prompt device 600 can be used to execute the above method embodiment of this application, which will not be described in detail.
[0081] 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 described in the above method embodiments, and the above computer includes an electronic device.
[0082] The present application also provides a computer program product comprising a non-transitory computer-readable storage medium storing a computer program, wherein the computer program is operable to cause a computer to perform some or all of the steps of any of the methods described in the above method embodiments. The computer program product may be a software installation package, and the computer may comprise an electronic device.
[0083] It should be noted that, for the above-mentioned various embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations. Those skilled in the art should know that this application is not limited by the order of the actions described, because some steps in the embodiments of the present application can be performed in other orders or simultaneously. In addition, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions, steps, modules or units involved are not necessarily required by the embodiments of the present application.
[0084] In the above embodiments, the embodiments of the present application have different focuses on the description of each embodiment. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0085] The steps of the method or algorithm described in the embodiments of the present application can be implemented in hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, which can be stored in RAM, flash memory, ROM, EPROM, electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and storage medium can be located in an ASIC. In addition, the ASIC can be located in a terminal device or a management device. Of course, the processor and storage medium can also be present in a terminal device or a management device as discrete components.
[0086] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, they can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0087] The modules / units included in the devices and products described in the above embodiments may be software modules / units, hardware modules / units, or partly software modules / units and partly hardware modules / units. For example, for the devices and products applied to or integrated in the chip, the modules / units included therein may all be implemented in the form of hardware such as circuits, or at least part of the modules / units may be implemented in the form of software programs, which run on the processor integrated inside the chip, and the remaining (if any) modules / units may be implemented in the form of hardware such as circuits; for the devices and products applied to or integrated in the chip module, the modules / units included therein may all be implemented in the form of hardware such as circuits, and different modules / units may be located in the same component (such as chip, circuit module, etc.) or different components of the chip module, or at least part of the modules / units may be It is implemented in the form of a software program, which runs on the processor integrated inside the chip module, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated in the terminal equipment, the various modules / units contained therein can be implemented in the form of hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or different components in the terminal equipment, or, at least some modules / units can be implemented in the form of a software program, which runs on the processor integrated inside the terminal equipment, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits.
[0088] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the embodiments of the present application. It should be understood that the above description is only a specific implementation method of the embodiments of the present application and is not intended to limit the scope of protection of the embodiments of the present application. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the embodiments of the present application should be included in the scope of protection of the embodiments of the present application.
Claims
1. An information prompting method, characterized in that: The method comprises: If the first device and the second device are in a first interconnection scenario, determining real-time power consumption data of the first device, where the first interconnection scenario is used to indicate a scenario in which a user can easily adjust the relative positions of the first device and the second device; If the real-time power consumption data is greater than a preset power consumption threshold, reducing the first transmission power to a second transmission power, and the battery life of the first device at the second transmission power is equal to the preset battery life; Target prompt information is displayed on the second device until the communication quality between the first device and the second device meets a preset quality threshold, and the target prompt information is used to prompt a user to adjust the relative position of the first device and the second device.
2. The method according to claim 1, characterized in that If the first device and the second device are in a first interconnected scenario, determining the real-time power consumption data of the first device includes: If the first device and the second device are in a first interconnected scenario, a minimum sampling duration is determined according to a current power level of the first device, and the minimum sampling duration is positively correlated with the current power level; The power consumption of the first device for at least the minimum sampling time period is counted to determine the real-time power consumption data.
3. The method according to claim 1, characterized in that The displaying of the target prompt information on the second device until the communication quality between the first device and the second device meets a preset quality threshold includes: Determining real-time endurance difference data based on a difference between the real-time power consumption data and the preset power consumption threshold; The target prompt information is displayed on the second device until the real-time endurance difference data is less than or equal to a preset difference threshold.
4. The method according to claim 1, wherein If the first device and the second device are in the first interconnected scenario, before determining the real-time power consumption data of the first device, the method further includes: connecting to the second device at the first transmit power, where the first transmit power is a transmit power at which the communication quality meets the preset quality threshold; Determining a first application scenario based on at least one of first movement data, first usage status data, and first spatial data of the first device, and determining a second application scenario based on at least one of second movement data, second usage status data, and second spatial data of the second device; If the first application scenario and the second application scenario meet a first interconnection condition, it is determined that the first device and the second device are in the first interconnection scenario.
5. The method according to claim 4, characterized in that After determining the first application scenario based on at least one of the first movement data, the first usage status data, and the first spatial data of the first device, and determining the second application scenario based on at least one of the second movement data, the second usage status data, and the second spatial data of the second device, the method further includes: If the first application scenario and the second application scenario meet the second interconnection condition, determining that the first device and the second device are in the second interconnection scenario; If the first device and the second device are in the second interconnection scenario, the target prompt information is not displayed.
6. The method according to claim 1, characterized in that If the first device and the second device are in the first interconnected scenario, after determining the real-time power consumption data of the first device, the method further includes: If the real-time power consumption data is greater than the preset power consumption threshold, displaying target prompt information on the second device until the communication quality between the first device and the second device is higher than the preset quality threshold; The first transmission power is reduced to a third transmission power, at which the battery life of the first device is equal to a preset battery life and the communication quality between the first device and the second device is equal to the preset quality threshold.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: Obtaining networking configuration information of the second device, the networking configuration information including a battery life requirement for the first device; The preset power consumption threshold is determined according to the battery life requirement and the current power of the first device.
8. An information prompting device, characterized in that: The device comprises: a determining unit, configured to determine the real-time power consumption data of the first device if the first device and the second device are in a first interconnection scenario, wherein the first interconnection scenario is used to indicate a scenario in which a user can easily adjust the relative positions of the first device and the second device; an adjusting unit, configured to reduce the first transmit power to a second transmit power if the real-time power consumption data is greater than a preset power consumption threshold, wherein the battery life of the first device at the second transmit power is equal to the preset battery life; A prompting unit is configured to display target prompt information on the second device until the communication quality between the first device and the second device meets a preset quality threshold, wherein the target prompt information is used to prompt a user to adjust the relative position of the first device and the second device.
9. An electronic device, characterized in that: include: A processor, a memory, and one or more programs; the one or more programs are stored in the memory and are configured to be executed by the processor, the programs comprising instructions for executing 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
Power control method and device and storage medium
CN112188603A
Method for reducing power consumption in node devices of a condition monitoring system
US20130137378A1