Determination method and first electronic equipment

By receiving and analyzing the power information and historical data of the headphone box, generating prompt information reminding users to charge, solving the problem of interruption caused by insufficient power of the headphones, and improving the accuracy of power management and equipment reliability.

CN120475358APending Publication Date: 2025-08-12LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510399867.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

When the headphones cannot obtain sufficient power from the headphone box, they cannot support the user's usage time, resulting in interruption of use.

Method used

The first electronic device receives the power quantity information and historical information of the second electronic device, determines whether the power quantity meets the target conditions, and generates a prompt information to remind the user to charge.

Benefits of technology

Accurately identify the remaining battery of the headphone box and headphones, optimize the lag of traditional low-voltage reminders, adaptively adjust the warning threshold, improve users' initiative in power management and the reliability of equipment use, prevent excessive discharge, and extend the healthy life of the battery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120475358A_ABST
    Figure CN120475358A_ABST
Patent Text Reader

Abstract

The invention provides a determination method and a first electronic device, the method is applied to the first electronic device, and the method comprises the following steps: receiving first information sent by a second electronic device based on a first connection channel, the first connection channel being a channel between the first electronic device and the second electronic device, the first information at least comprises electric quantity information of the second electronic equipment; and generating first prompt information when determining that the first information meets a target condition based on the first information and historical information of the second electronic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to a determination method and a first electronic device. Background Art

[0002] The earphone case usually has a battery that can store a certain amount of electricity, which can be used directly to charge the earphones placed in the earphone case. Therefore, when the earphone case has residual power, the earphones can be charged through the earphone case without having to connect the earphones or the earphone case to a power source for charging. However, this convenience also brings another problem. Due to the above convenience, the earphone case can be charged once and can power the earphones for a period of time, for example, 4 to 5 days. This may result in a situation where the user is using the earphones and takes them out of the earphone case. Since the remaining power of the earphone case is very low after the last use, the earphones cannot obtain enough power from the earphone case, resulting in the earphones not having enough power to support the user's usage time this time. Summary of the Invention

[0003] The present application provides a determination method and a first electronic device.

[0004] In one aspect, an embodiment of the present application provides a determination method, which is applied to a first electronic device. The method includes:

[0005] receiving first information sent by the second electronic device over a first connection channel, where the first connection channel is a channel between the first electronic device and the second electronic device, the first information including at least power information of the second electronic device;

[0006] When it is determined based on the first information and the historical information of the second electronic device that the first information meets the target condition, first prompt information is generated.

[0007] The determining, based on the first information and the historical information of the second electronic device, that the first information meets the target condition includes:

[0008] determining historical power information of the second electronic device based on the historical information;

[0009] If the power information is less than the historical power information, it is determined that the first information meets the target condition.

[0010] Wherein, the first information and the historical information further include environmental information and / or device information;

[0011] The determining, based on the first information and the historical information of the second electronic device, that the first information satisfies the target condition includes:

[0012] Filtering out, from the historical information, historical information that matches the environment information and / or device information in the first information as target historical information;

[0013] determining target historical power information based on the target historical information;

[0014] If the power information is less than the target historical power information, it is determined that the first information meets the target condition.

[0015] The power information includes at least one of the available power and available duration of the second electronic device, and the historical power information includes at least one of the historical used power and historical usage duration.

[0016] The historical power information is determined according to at least one of the following methods:

[0017] Determining a historical average single power consumption based on the historical single power consumption, and determining a historical power consumption of the second electronic device based on the historical average single power consumption, and determining the historical power consumption as historical power information, wherein the historical information includes the historical single power consumption;

[0018] Or, determine the historical average single usage duration based on the historical single usage duration, and determine the historical usage duration of the second electronic device based on the historical average single usage duration, and determine the historical usage duration as historical power information, and the historical information includes the historical single usage duration.

[0019] The method further includes:

[0020] detecting that the second electronic device starts charging, and obtaining current location information of the second electronic device;

[0021] The current positioning information is determined as the target location and stored.

[0022] The method further includes:

[0023] Obtaining current location information of the second electronic device;

[0024] If the location indicated by the current positioning information is the same as at least one target location, second prompt information is generated.

[0025] Another aspect of the present application provides a determination method, which is applied to a second electronic device, where the second electronic device includes a first sub-device and a second sub-device. The method includes:

[0026] In response to the first sub-device being electrically connected to the second sub-device, determining first information, the first information including at least power information of the first sub-device and power information of the second sub-device;

[0027] sending the first information to the first electronic device based on a first connection channel, where the first connection channel is a channel between the first electronic device and the second electronic device;

[0028] receiving a target result returned by the first electronic device based on the first connection channel, where the target result indicates that the first information meets a target condition;

[0029] Generating third prompt information according to the target result.

[0030] Another aspect of the present application provides a first electronic device, comprising a communication module, a processor, and a display screen;

[0031] The communication module receives first information sent by the second electronic device based on a first connection channel, where the first connection channel is a channel between the first electronic device and the second electronic device, and the first information includes at least power information of the second electronic device;

[0032] When the processor determines, based on the first information and historical information of the second electronic device, that the first information meets a target condition, it generates first prompt information;

[0033] The first prompt information is displayed to the user through the display screen, and the first prompt information indicates that the second electronic device is in a charging state.

[0034] Wherein, the first electronic device includes: at least two display screens;

[0035] determining at least one target display screen among the at least two display screens;

[0036] The first prompt information is displayed in a display area of the at least one target display screen.

[0037] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The above and other objects, features and advantages of the exemplary embodiments of the present application will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present application are shown in an illustrative and non-limiting manner, in which:

[0039] In the drawings, the same or corresponding reference numerals denote the same or corresponding parts.

[0040] Figure 1 A flow chart showing a determination method according to an embodiment of the present application is shown;

[0041] Figure 2 A schematic diagram showing prompt information according to an embodiment of the present application is shown;

[0042] Figure 3 A flow chart showing a determination method according to another embodiment of the present application is shown;

[0043] Figure 4 A flow chart showing a determination method according to another embodiment of the present application is shown;

[0044] Figure 5 A flow chart showing a determination method according to another embodiment of the present application is shown;

[0045] Figure 6 A flow chart showing a determination method according to another embodiment of the present application is shown;

[0046] Figure 7 A flow chart showing a determination method according to another embodiment of the present application is shown;

[0047] Figure 8 A schematic diagram showing prompt information according to another embodiment of the present application is shown;

[0048] Figure 9 A flow chart showing a determination method according to another embodiment of the present application is shown;

[0049] Figure 10 A schematic diagram of the structure of a first electronic device according to an embodiment of the present application is shown;

[0050] Figure 11 A schematic structural diagram of a determination device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0051] In order to make the purpose, features, and advantages of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of this application.

[0052] In order to remind the user to charge the earphones and the earphone box when the earphones cannot obtain enough power from the earphone box, resulting in the earphones being unable to use the power to support the user's current usage time, an embodiment of the present application provides a determination method applied to a first electronic device, such as Figure 1 As shown, the method includes:

[0053] Step 101: Receive first information sent by the second electronic device based on a first connection channel, where the first connection channel is a channel between the first electronic device and the second electronic device, and the first information at least includes power information of the second electronic device.

[0054] In this embodiment, the first electronic device may be a mobile electronic device such as a mobile phone or tablet computer, and the second electronic device may be an electronic device including an earphone box and earphones. The first connection channel may be a channel established between the first electronic device and the second electronic device via Bluetooth, NFC, or Wi-Fi, for transmitting data. The first information may include at least power information of the second electronic device. In other embodiments, the first information may also include signal information, environmental information, device information, etc.

[0055] For example, a mobile phone receives first information sent by a wireless headset via Bluetooth, which includes the battery level information of the headset box in the wireless headset as battery_level: 20% and the battery level information of the headset as battery_level: 15%, respectively indicating that the remaining battery level of the headset box is 20% and the remaining battery level of the headset is 15%.

[0056] Step 102: When it is determined based on the first information and the historical information of the second electronic device that the first information meets a target condition, first prompt information is generated.

[0057] In this embodiment, the first information meeting the target condition means that the remaining power of the second electronic device does not support the current power usage, or the remaining available time of the second electronic device does not support the current usage time. The current power usage or usage time can be determined based on historical information of the second electronic device.

[0058] When it is determined that the first information meets the target condition, a first prompt message is generated, which is used to prompt the user that the remaining power of the second electronic device is low and needs to be charged. The first prompt message can be in the form of light, sound, image or text.

[0059] When the first prompt information is in the form of images or text, it can be displayed on the display screen of the first electronic device in the form of a pop-up window. Figure 2 As shown, Figure 2The prompt information is in text form, and a pop-up window is used to remind the user that the available time of the second electronic device is insufficient and needs to be charged.

[0060] In the above scheme, the first information received through the first connection channel is judged and monitored in real time based on the historical information of the first information and the second electronic device, which significantly improves the user's initiative in managing the power of the second electronic device and the reliability of the use of the second electronic device. Based on the power information in the currently received first information (such as the remaining 20% of the headphone power) and historical information (such as the average single-use power consumption of 25%), when it is determined that the remaining power cannot meet the power usage determined based on the historical information, the first electronic device is used to actively warn through a single or multi-modal prompt (such as a flashing red LED light on the headphone box + a pop-up text warning on the mobile phone + a short vibration prompt sound), avoiding the user experience interruption caused by a sudden power outage of the second electronic device during use. At the same time, differentiated prompt forms can be adapted to different scenarios (such as giving priority to light prompts at night and vibration feedback in noisy environments), which can not only prevent over-discharge and extend the healthy life of the battery, but also reduce the loss of user experience caused by insufficient power.

[0061] In an example of this application, a determination method is also provided, such as Figure 3 As shown, determining that the first information meets the target condition based on the first information and the historical information of the second electronic device includes:

[0062] Step 201: Determine historical power information of the second electronic device based on the historical information.

[0063] The historical power information may be the power required to be used by the second electronic device this time, which is determined based on historical information, or may be the duration for which the second electronic device is required to be used this time.

[0064] Step 202: If the power information is less than the historical power information, it is determined that the first information meets the target condition.

[0065] Similar to the historical power information, the power information may be the remaining available power of the second electronic device, or may be the available time converted based on the remaining available power.

[0066] If the power information is less than the historical power information, it is determined that the first information meets the target condition, that is, the remaining power of the second electronic device is insufficient to support this use.

[0067] In the above solution, by comparing power information in real time with historical information (for example, the current power level is 20%, and the power level to be used this time is determined to be 30% based on historical information), it can accurately identify whether the remaining power of the second electronic device is insufficient for this use. This not only optimizes the lag of traditional low-battery reminders, but also adaptively adjusts the warning threshold based on the user's historical information, ultimately improving the reliability of the second electronic device and the user's perception of power management efficiency.

[0068] In an example of this application, a determination method is also provided, such as Figure 4 As shown, the first information and the historical information further include environmental information and / or device information, and determining that the first information meets the target condition based on the first information and the historical information of the second electronic device includes:

[0069] Step 301 : Filter out historical information that matches the environment information and / or device information in the first information from the historical information as target historical information.

[0070] In this embodiment, the environmental information in the first information may include ambient temperature, signal interference intensity, etc., and the device information in the first information may include device volume, device power consumption, operating mode, whether active noise reduction is enabled, Bluetooth connection distance, audio format, etc. In other embodiments, the first information may include any environmental information and / or device information that may affect the battery life of the second electronic device.

[0071] The historical information may be screened for historical information that is completely identical to the environment information and / or device information in the first information.

[0072] For example, if the environment information includes the environment temperature, the device information includes the device volume, and the environment temperature is 30 degrees Celsius and the device volume is 60%, then historical information with the same environment temperature of 30 degrees Celsius and the device volume of 60% is selected from the historical information and used as the target historical information.

[0073] It is also possible to filter historical information for historical information that matches the environmental information and / or device information in the first information (eg, a corresponding range value is determined based on the environmental information and / or device information in the first information, and a match is considered to be satisfied if the range value is met).

[0074] For example, if the environment information includes the ambient temperature and the device information includes the device volume, the ambient temperature is 30 degrees Celsius and the device volume is 60%. The matching range for the ambient temperature is determined to be 28-32 degrees Celsius and the matching range for the device volume is 55%-65%. The historical information is then filtered for historical information with the same ambient temperature range of 28-32 degrees Celsius and the device volume range of 55%-65% as the target historical information.

[0075] Step 302: Determine target historical power information based on the target historical information.

[0076] Likewise, the target historical power information may be the power required to be used by the second electronic device this time, determined based on the target historical information, or may be the duration for which the second electronic device needs to be used this time.

[0077] Step 303: If the power information is less than the target historical power information, it is determined that the first information meets the target condition.

[0078] Similarly, like the target historical power information, the power information may be the remaining available power of the second electronic device, or may be the available time converted based on the remaining available power.

[0079] If the power information is less than the target historical power information, it is determined that the first information meets the target condition, that is, the remaining power of the second electronic device is insufficient to support this use.

[0080] Due to different environments and different device parameters, the battery life of the second electronic device will be affected. For example, with the same power level, the battery life will be different when the device volume of the second electronic device is 20%, 50%, and 100%. Therefore, in the above scheme, historical information that matches the environmental information and / or device information in the first information is filtered out from the historical information as the target historical information. The power information is then compared with the target historical information in real time to more accurately identify whether the remaining power of the second electronic device is insufficient for this use. Not only does it optimize the lag of traditional low-battery reminders, and adaptively adjust the warning threshold based on the user's historical information, it can also take into account the impact of the environment and device parameters on the battery life of the second electronic device, further improving the reliability of the use of the second electronic device and the user's perceived efficiency of power management.

[0081] In an example of the present application, a determination method is also provided, the method comprising:

[0082] The power information includes at least one of available power and available duration of the second electronic device, and the historical power information includes at least one of historically used power and historically used duration.

[0083] For example, the power information includes available power, which is 75%, and the historical power information includes historical power usage, which is 45% (ie, the power required for this time).

[0084] For another example, the power information includes available power, which is 40%. The historical power information includes historical power usage, which is 32%. The current power usage rate of the second electronic device is 8% / h. Therefore, it can be inferred that the available time is 5 hours, and the historical usage time (i.e., the time required for this time) is 4 hours.

[0085] In this solution, by obtaining the current available power of the second electronic device in real time and the power usage based on historical information statistics, or further introducing the power usage rate and dynamically calculating the available time and the current usage time, accurate prediction and adaptive management of the device's battery life are achieved. This significantly improves the real-time performance and prediction accuracy of device power monitoring, reducing user interruptions caused by low battery in the second electronic device.

[0086] In an example of this application, a determination method is also provided, such as Figure 5 As shown, the historical power information is determined according to at least one of the following methods:

[0087] Step 401: determine the historical average single power consumption based on the historical single power consumption, and determine the historical power consumption of the second electronic device based on the historical average single power consumption, and determine the historical power consumption as historical power information, wherein the historical information includes the historical single power consumption.

[0088] For example, if the historical information of the second electronic device includes three historical single power usage records, namely 18%, 22%, and 20%, and the historical average single power usage is determined to be 20%, the historical average single power usage is directly determined as the historical power usage of the second electronic device.

[0089] Alternatively, after determining the historical average single-trip power usage, you can further adjust it by adjusting the weight. Adjustment weights can be set based on user behavior data, battery health, and other factors. For example, if the battery health is at 80% of its initial value, the weight would be adjusted to 1.1 to adjust the historical average single-trip power usage to more closely match the actual power usage.

[0090] Or, step 402, determine the historical average single usage duration based on the historical single usage duration, and determine the historical usage duration of the second electronic device based on the historical average single usage duration, and determine the historical usage duration as historical power information, and the historical information includes the historical single usage duration.

[0091] For example, the history information of the second electronic device includes three historical single usage durations of 2.1 hours, 1.9 hours, and 2 hours, respectively, and the historical average single usage duration is determined to be 2 hours. The historical average single usage duration is directly determined as the historical usage duration of the second electronic device.

[0092] Similarly, after determining the historical average single usage duration, it can be further adjusted by adjusting the weights.

[0093] In the above solution, a historical average model is established using historical single-session power consumption or single-session duration data to accurately quantify the usage characteristics of the second electronic device. Based on this historical information, the device's historical power usage patterns can be derived, providing a quantitative basis for battery life prediction. This effectively improves prediction accuracy and device management efficiency, reduces prediction bias caused by data discreteness, and ensures the user's reliable judgment of the second electronic device's remaining available power or available time.

[0094] In an example of this application, a determination method is also provided, such as Figure 6 As shown, the method further includes:

[0095] Step 501: Detect that the second electronic device starts charging, and obtain current location information of the second electronic device.

[0096] Step 502: Determine the current positioning information as the target location and store it.

[0097] For example, when the user charges the second electronic device, the first electronic device detects that the second electronic device starts charging and obtains the current positioning information of the second electronic device in real time. The current positioning information is the longitude and latitude, specifically 121.4737°E, 31.2304°N. The current positioning information is determined as the target location and stored.

[0098] It should be noted that after obtaining the current location information of the second electronic device while charging, if the location information has been stored, the number of times corresponding to the location information is increased. Subsequently, a threshold can be set, and only location information with a number exceeding the threshold is determined as the target location (the user's frequently used charging location).

[0099] In the above solution, by acquiring and storing the precise geographic coordinates of the second electronic device while it is charging, a database of the user's charging habits can be effectively constructed, providing data support for a technical solution that reminds the user to charge based on the target location.

[0100] In an example of this application, a determination method is also provided, such as Figure 7 As shown, the method further includes:

[0101] Step 601: Obtain current location information of the second electronic device.

[0102] The current location information of the second electronic device is obtained in real time.

[0103] Step 602: If the location indicated by the current positioning information is the same as at least one target location, generate second prompt information.

[0104] For example, the current location of the second electronic device is 121.4737°E, 31.2304°N. This location is matched against three stored target locations within a 50-meter radius: 1. Home charging point: 121.4735°E, 31.2306°N, 2. Office charging station: 121.4752°E, 31.2289°N, and 3. Cafe charging station: 121.4701°E, 31.2323°N. If the current location is within a 50-meter radius of the home charging point, a second prompt is generated.

[0105] The second prompt information can also be information in the form of light, sound, image or text. When the second prompt information is information in the form of image or text, it can be displayed on the display screen of the first electronic device in the form of a pop-up window. Figure 8 As shown, Figure 8 The second prompt message is in text form, and a pop-up window is used to remind users that there are common charging points available nearby.

[0106] In the above solution, by acquiring the current location information of the second electronic device in real time and matching it with a pre-stored database of target locations, a second prompt is generated when the location indicated by the current location information of the second electronic device is within a preset range of any target location. This ensures real-time and reliable identification of whether the user is at a commonly used charging location, and thus enables the generation of a second prompt message, notifying the user of an available commonly used charging spot nearby.

[0107] In an example of the present application, a determination method is also provided, which is applied to a second electronic device, wherein the second electronic device includes a first sub-device and a second sub-device, such as Figure 9 As shown, the method includes:

[0108] Step 701: In response to the first sub-device being electrically connected to the second sub-device, first information is determined, where the first information at least includes power information of the first sub-device and power information of the second sub-device.

[0109] In this embodiment, the first sub-device and the second sub-device are electrically connected, which means that the first sub-device and the second sub-device establish a channel between the first sub-device and the second sub-device via Bluetooth, NFC, or Wi-Fi. The first information includes at least the power information of the second electronic device. In other embodiments, the first information may also include signal information, environmental information, device information, etc.

[0110] Step 702: Send the first information to the first electronic device based on a first connection channel, where the first connection channel is a channel between the first electronic device and the second electronic device.

[0111] The first information may be sent by the first sub-device to the first electronic device, or by the second sub-device to the first electronic device, or the first sub-device and the second sub-device may respectively send their own first information to the first electronic device, and then the first electronic device may collect the overall first information.

[0112] Step 703: Receive a target result returned by the first electronic device based on the first connection channel, where the target result indicates that the first information meets a target condition.

[0113] After the first electronic device determines the target result, it returns the target result to the second electronic device through the first connection channel. The target result indicates that the first information meets the target condition.

[0114] In this embodiment, the first information meeting the target condition means that the remaining power of the second electronic device does not support the current power usage, or the remaining available time of the second electronic device does not support the current usage time. The current power usage or usage time can be determined based on historical information of the second electronic device.

[0115] Step 704: Generate third prompt information according to the target result.

[0116] Upon receiving the target result, a third prompt is generated to inform the user that the remaining power of the second electronic device is low and needs to be charged. Similarly, the third prompt can be in the form of a light or sound. If the second electronic device has a display, the third prompt can also be in the form of an image or text.

[0117] Similarly, when the third prompt information is in the form of images or text, it can be displayed on the display screen of the third electronic device in the form of a pop-up window. Figure 2 As shown, Figure 2 The prompt information is in text form, and a pop-up window is used to remind the user that the available time of the second electronic device is insufficient and needs to be charged.

[0118] In the above scheme, the first information of the second electronic device is determined when the first sub-device is electrically connected to the second sub-device. The first information of the second electronic device is then sent to the first electronic device through the first connection channel. After receiving the target result returned by the first electronic device indicating that the first information meets the target condition, that is, when it is determined that the remaining power cannot meet the power usage determined based on historical information, the second electronic device will actively warn through a single-mode or multi-modal prompt, thereby avoiding the user experience interruption caused by a sudden power outage of the second electronic device during use. At the same time, it can also adapt to different scenarios through differentiated prompt forms, which can not only prevent over-discharge and extend the healthy life of the battery, but also reduce the loss of user experience caused by insufficient power.

[0119] An example of the present application provides a first electronic device, Figure 10 A schematic block diagram of an example first electronic device 800 that can be used to implement embodiments of the present disclosure is shown.

[0120] like Figure 10 As shown, the first electronic device 800 includes a communication module 801, a processor 802 and a display screen 803;

[0121] The communication module 801 receives first information sent by the second electronic device over a first connection channel, where the first connection channel is a channel between the first electronic device and the second electronic device, and the first information includes at least power information of the second electronic device;

[0122] The processor 802 generates first prompt information when determining that the first information meets a target condition based on the first information and historical information of the second electronic device;

[0123] The first prompt information is displayed to the user via the display screen 803 , where the first prompt information indicates that the second electronic device is in a state of waiting to be charged.

[0124] The first electronic device 800 includes: at least two display screens 803;

[0125] Determining at least one target display screen 803 among the at least two display screens 803;

[0126] The first prompt information is displayed in the display area of the at least one target display screen 803 .

[0127] The processor 802 determines historical power information of the second electronic device based on the historical information; and determines that the first information meets the target condition when the power information is less than the historical power information.

[0128] In which, the processor 802 filters out historical information from the historical information that matches the environmental information and / or device information in the first information as the target historical information; determines the target historical power information based on the target historical information; and determines that the first information meets the target condition when the power information is less than the target historical power information.

[0129] The power information received by the communication module 801 includes at least one of the available power and available duration of the second electronic device, and the historical power information includes at least one of the historical usage power and historical usage duration.

[0130] The processor 802 determines the historical average single power usage based on the historical single power usage, and determines the historical power usage of the second electronic device based on the historical average single power usage, and determines the historical power usage as historical power information, and the historical information includes the historical single power usage; or, determines the historical average single usage duration based on the historical single usage duration, and determines the historical usage duration of the second electronic device based on the historical average single usage duration, and determines the historical usage duration as historical power information, and the historical information includes the historical single usage duration.

[0131] The processor 802 detects that the second electronic device starts charging, obtains current positioning information of the second electronic device, and determines the current positioning information as the target location for storage.

[0132] The communication module 801 obtains the current location information of the second electronic device;

[0133] The processor 802 generates second prompt information when the location indicated by the current positioning information is the same as at least one target location.

[0134] In order to implement the above determination method, Figure 11 As shown, an example of the present application provides a determination device, including:

[0135] The communication module 901 is configured to receive first information sent by the second electronic device via a first connection channel, where the first connection channel is a channel between the first electronic device and the second electronic device, and the first information includes at least power information of the second electronic device;

[0136] The calculation module 902 is configured to generate first prompt information when it is determined that the first information meets a target condition based on the first information and historical information of the second electronic device.

[0137] The calculation module 902 is further configured to determine historical power information of the second electronic device based on the historical information;

[0138] The calculation module 902 is further configured to determine that the first information meets a target condition when the power information is less than the historical power information.

[0139] The calculation module 902 is further configured to filter out, from the historical information, historical information that matches the environment information and / or device information in the first information as target historical information;

[0140] The calculation module 902 is further configured to determine target historical power information based on the target historical information;

[0141] The calculation module 902 is further configured to determine that the first information meets a target condition when the power information is less than the target historical power information.

[0142] Among them, the communication module 901 is also used to receive the power information, which includes at least one of the available power and available time of the second electronic device, and the historical power information includes at least one of the historical usage power and historical usage time.

[0143] The calculation module 902 is further configured to determine a historical average single power consumption based on the historical single power consumption, and determine a historical power consumption of the second electronic device based on the historical average single power consumption, and determine the historical power consumption as historical power information, wherein the historical information includes the historical single power consumption;

[0144] The calculation module 902 is also used to determine the historical average single usage duration based on the historical single usage duration, and determine the historical usage duration of the second electronic device based on the historical average single usage duration, and determine the historical usage duration as historical power information, and the historical information includes the historical single usage duration.

[0145] The calculation module 902 is further configured to detect that the second electronic device starts charging and obtain current location information of the second electronic device;

[0146] The calculation module 902 is further configured to determine the current positioning information as a target location for storage.

[0147] The communication module 901 is further configured to obtain current location information of the second electronic device;

[0148] The calculation module 902 is further configured to generate second prompt information if the location indicated by the current positioning information is the same as at least one target location.

[0149] Various embodiments of the systems and techniques described above can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0150] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0151] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0152] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0153] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0154] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact through a communication network. The client-server relationship arises through computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, a server in a distributed system, or a server integrated with a blockchain.

[0155] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved. This is not a limitation herein.

[0156] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. Throughout the present disclosure, "plurality" means two or more, unless otherwise specifically defined.

[0157] The above description is merely a specific embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.

Claims

1. A determination method, applied to a first electronic device, comprising: receiving first information sent by the second electronic device over a first connection channel, where the first connection channel is a channel between the first electronic device and the second electronic device, the first information including at least power information of the second electronic device; When it is determined based on the first information and the historical information of the second electronic device that the first information meets the target condition, first prompt information is generated.

2. The method according to claim 1, wherein determining that the first information meets the target condition based on the first information and historical information of the second electronic device comprises: determining historical power information of the second electronic device based on the historical information; If the power information is less than the historical power information, it is determined that the first information meets the target condition.

3. The method according to claim 1, wherein the first information and the historical information further include environmental information and / or device information; The determining, based on the first information and the historical information of the second electronic device, that the first information satisfies the target condition includes: Filtering out, from the historical information, historical information that matches the environment information and / or device information in the first information as target historical information; determining target historical power information based on the target historical information; If the power information is less than the target historical power information, it is determined that the first information meets the target condition.

4. The method according to claim 2 or 3, wherein the power information includes at least one of the available power and available duration of the second electronic device, and the historical power information includes at least one of the historical usage power and historical usage duration.

5. The method according to claim 2 or 3, wherein the historical power information is determined according to at least one of the following methods: Determining a historical average single power consumption based on the historical single power consumption, and determining a historical power consumption of the second electronic device based on the historical average single power consumption, and determining the historical power consumption as historical power information, wherein the historical information includes the historical single power consumption; Or, determine the historical average single usage duration based on the historical single usage duration, and determine the historical usage duration of the second electronic device based on the historical average single usage duration, and determine the historical usage duration as historical power information, and the historical information includes the historical single usage duration.

6. The method according to claim 2 or 3, further comprising: detecting that the second electronic device starts charging, and obtaining current location information of the second electronic device; The current positioning information is determined as the target location and stored.

7. The method according to claim 6, further comprising: Obtaining current location information of the second electronic device; If the location indicated by the current positioning information is the same as at least one target location, second prompt information is generated.

8. A determination method, applied to a second electronic device, the second electronic device including a first sub-device and a second sub-device, the method comprising: In response to the first sub-device being electrically connected to the second sub-device, determining first information, the first information including at least power information of the first sub-device and power information of the second sub-device; sending the first information to the first electronic device based on a first connection channel, where the first connection channel is a channel between the first electronic device and the second electronic device; receiving a target result returned by the first electronic device based on the first connection channel, where the target result indicates that the first information meets a target condition; Generating third prompt information according to the target result.

9. A first electronic device, comprising a communication module, a processor, and a display screen; The communication module receives first information sent by the second electronic device based on a first connection channel, where the first connection channel is a channel between the first electronic device and the second electronic device, and the first information includes at least power information of the second electronic device; When the processor determines, based on the first information and historical information of the second electronic device, that the first information meets a target condition, it generates first prompt information; The first prompt information is displayed to the user through the display screen, and the first prompt information indicates that the second electronic device is in a charging state.

10. The first electronic device according to claim 9, comprising: At least two display screens; determining at least one target display screen among the at least two display screens; The first prompt information is displayed in a display area of the at least one target display screen.