An information processing method, device and readable storage medium

By actively adjusting the power output mode of the power charging device, the problem of the adapter lacking real-time interactivity in electronic device interaction is solved, thereby improving charging efficiency and system energy efficiency.

CN114598017BActive Publication Date: 2026-05-29LENOVO (BEIJING) LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
LENOVO (BEIJING) LTD
Filing Date
2022-03-31
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Existing adapters lack real-time interactivity when interacting with electronic devices, leading to system overload and affecting efficiency.

Method used

The power charging device determines the operating mode of the electronic device, obtains the corresponding target parameters, and actively adjusts the power output mode to match the operating mode of the electronic device and reduce power consumption.

Benefits of technology

This enables the adapter to actively adjust its power output mode, reducing power consumption and improving the charging efficiency of electronic devices and the energy efficiency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114598017B_ABST
    Figure CN114598017B_ABST
Patent Text Reader

Abstract

The application provides an information processing method, device and readable storage medium, which is applied to a power charging device. The power charging device obtains a target parameter corresponding to a working mode of an electronic device in the electronic device based on the current working mode of the electronic device connected to the power charging device. At least based on the target parameter, a power output mode matched with the working mode is determined. The electronic device is charged based on the power output mode, so as to realize control of the corresponding power output mode based on the working mode of the electronic device. Compared with an adapter that can only passively accept control of the electronic device, the adapter in the present application actively adjusts the power output mode output to the electronic device, thereby reducing power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information technology, and more specifically, to an information processing method, apparatus and readable storage medium. Background Technology

[0002] An adapter, as a stand-alone hardware interface device, allows hardware or electronic interfaces to connect with other hardware or electronic interfaces, and it can also receive instructions from the electronic devices connected to it.

[0003] Generally, during data interaction with connected electronic devices, the adapter is a passive component and lacks real-time interaction with the electronic device system. This often leads to the system overloading the adapter, affecting its efficiency. Summary of the Invention

[0004] In view of this, this application provides an information processing method, as follows:

[0005] An information processing method applied to a power charging device, the method comprising:

[0006] Determine the current operating mode of the connected electronic device;

[0007] Based on the operating mode of the electronic device, obtain the target parameters corresponding to the operating mode in the electronic device;

[0008] Based at least on the target parameters, determine the power output mode that matches the operating mode;

[0009] The electronic device is charged based on the power output method described above.

[0010] Optionally, the above methods also include:

[0011] Obtain operational information from the power charging device;

[0012] Determining the power output mode that matches the operating mode, at least based on the target parameters, includes:

[0013] Based on the operational information and the target parameters, the target power output to the electronic device is determined.

[0014] Optionally, in the above method, the working mode includes a first working mode and a second working mode. The target parameters of the first working mode include at least one of battery parameters, temperature information, and power information requested by the electronic device. The target parameters of the second working mode include at least one of battery parameters, usage scenario, user historical operation behavior, and power information requested by the electronic device.

[0015] Optionally, the above method, based on the operating information and the target parameters, determines the target power output to the electronic device, including:

[0016] Based on the operational information and the target parameters, the first loss value and the corresponding first power are obtained by searching in the preset database;

[0017] The second loss value of the power charging device is determined based on the operating information of the power charging device.

[0018] Based on the first loss value and the corresponding first power, and the second loss value, the target power output to the electronic device is determined.

[0019] Optionally, the above methods also include:

[0020] Output a prompt message to the electronic device;

[0021] Receive feedback information from an electronic device, wherein the feedback information represents the user's feedback to the prompt information in the electronic device;

[0022] Respond to the feedback information.

[0023] Optionally, in the above method, when the electronic device is in the second operating mode, the output of prompt information to the electronic device includes:

[0024] Before determining the power output mode that matches the operating mode of the electronic device, a first prompt message is generated. The first prompt message is used to prompt the user of the electronic device whether to adjust the power output mode of the power charging device based on the operating mode of the electronic device.

[0025] Output the first prompt message to the electronic device.

[0026] Optionally, in the above method, when the electronic device is in the third operating mode, the output of prompt information to the electronic device includes:

[0027] After determining the current operating mode of the connected electronic device, the target operating time of the electronic device in the third operating mode is detected;

[0028] When the target running time exceeds a time threshold, a second prompt message is generated and sent to the electronic device, the second prompt message being related to the target running time;

[0029] Output the second prompt message to the electronic device.

[0030] An information processing device, applied to a power charging device, includes:

[0031] The mode determination module is used to determine the current operating mode of the connected electronic device;

[0032] The first acquisition module is used to acquire target parameters in the electronic device that correspond to the operating mode of the electronic device.

[0033] The mode determination module is used to determine, based at least on the target parameters, a power output mode that matches the operating mode;

[0034] A charging module is used to charge electronic devices based on the power output method described above.

[0035] Optionally, the above-mentioned apparatus further includes:

[0036] The second acquisition module is used to acquire the operating information of the power charging device;

[0037] The method determination module is used for:

[0038] Based on the operational information and the target parameters, the target power output to the electronic device is determined.

[0039] A readable storage medium having a computer program stored thereon, the computer program being invoked and executed by a processor to implement the steps of the information processing method as described in any of the preceding claims.

[0040] As can be seen from the above technical solutions, this application provides an information processing method. This method is applied to a power charging device. The power charging device obtains target parameters corresponding to the operating mode of the connected electronic device based on the current operating mode of the electronic device. Based on the target parameters, it determines a power output mode that matches the operating mode. Based on the power output mode, it charges the electronic device to achieve control of the corresponding power output mode based on the operating mode of the electronic device. Compared with an adapter that can only passively accept the control of the electronic device, in this solution, the adapter actively adjusts the power output mode to the electronic device, thereby reducing power consumption. Attached Figure Description

[0041] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0042] Figure 1 This is a flowchart of an embodiment 1 of an information processing method provided in this application;

[0043] Figure 2 This is a flowchart of an embodiment 2 of an information processing method provided in this application;

[0044] Figure 3 This is a flowchart of an embodiment 3 of an information processing method provided in this application;

[0045] Figure 4 This is a flowchart of embodiment 4 of the information processing method provided in this application;

[0046] Figure 5 This is a flowchart of embodiment 5 of the information processing method provided in this application;

[0047] Figure 6 This is a flowchart of an embodiment 6 of an information processing method provided in this application;

[0048] Figure 7 This is a schematic diagram of the structure of an embodiment of an information processing device provided in this application;

[0049] Figure 8 This is a schematic diagram of an information processing method scenario provided in this application. Detailed Implementation

[0050] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0051] like Figure 1 The diagram shown is a flowchart of an embodiment 1 of an information processing method provided in this application. The method is applied to a power charging device and includes the following steps:

[0052] Step S101: Determine the current operating mode of the connected electronic device;

[0053] The power charging device is connected to the electronic device and is used to charge the electronic device.

[0054] After the power charging device is connected to the electronic device, the PD (USB Power Delivery) 3.0 protocol is established first to complete the power supply relationship between the adapter and the electronic device.

[0055] Among them, the power charging device can connect to the electronic device's operating mode information to determine its current operating mode.

[0056] Electronic devices have multiple operating modes, such as charging mode, normal operating mode, and high-power operating mode.

[0057] It should be noted that the power requirements of electronic devices may be the same or different depending on their operating mode.

[0058] Step S102: Based on the working mode of the electronic device, obtain the target parameters in the electronic device corresponding to the working mode;

[0059] Specifically, after determining the current operating mode of the electronic device, the target parameters corresponding to the operating mode are obtained based on the operating mode.

[0060] The target parameter is related to the operating mode of the electronic device, and it characterizes the features of the electronic device in that operating mode.

[0061] The target parameters of electronic devices include battery parameters, temperature information, operating parameters, usage scenarios, user history operation behavior, power consumption, power request information of electronic devices, etc.

[0062] It should be noted that the types of target parameters may differ under different working modes.

[0063] The target parameter is obtained according to a preset cycle.

[0064] In practice, under the same working mode, the target parameters of the electronic device will change dynamically. Therefore, the target parameters collected in different cycles may be different.

[0065] Moreover, under the same working mode, the value of the same parameter will change dynamically. Therefore, the value of the same target parameter may be different or the same in different cycles.

[0066] Step S103: Determine the power output mode that matches the operating mode, at least based on the target parameters;

[0067] Among them, the power output mode is determined by analyzing the operating mode of the electronic device and its target parameters.

[0068] When the electronic device switches its operating mode, it determines the new operating mode and then obtains the target parameters corresponding to the new operating mode in order to further determine the power output mode that matches the new operating mode.

[0069] Step S104: Charge the electronic device based on the power output method.

[0070] Among them, the power output mode is determined based on the target parameters of different operating modes, and different operating modes can select different power output modes.

[0071] Therefore, different power output methods can be used to charge electronic devices according to their different operating modes, and the power output method can be actively adjusted when powering electronic devices.

[0072] It should be noted that in this embodiment, the power output mode of the electronic charging device is actively adjusted to the electronic device, and the data processing function is transferred to the electronic charging device, which reduces the data processing burden of the electronic device and simplifies the layout complexity of the electronic device. Moreover, since the power charging device can be connected to multiple electronic devices, the layout complexity of each electronic device can be reduced. In addition, the electronic charging device actively obtains the target parameters corresponding to the working mode in the electronic device, which has a faster response speed than waiting for the electronic device to detect and upload, which helps to reduce power consumption.

[0073] In summary, this embodiment provides an information processing method applied to a power charging device. The power charging device obtains target parameters corresponding to the operating mode of the connected electronic device based on its current operating mode. Based at least on these target parameters, it determines a power output mode that matches the operating mode. The device then charges the electronic device based on this power output mode, thereby achieving control of the corresponding power output mode based on the electronic device's operating mode. Compared to an adapter that can only passively accept control from the electronic device, this solution allows the adapter to actively adjust the power output mode sent to the electronic device, reducing power consumption.

[0074] like Figure 2 The diagram shown is a flowchart of an embodiment 2 of an information processing method provided in this application. The method includes the following steps:

[0075] Step S201: Determine the current operating mode of the connected electronic device;

[0076] Step S202: Based on the operating mode of the electronic device, obtain the target parameters in the electronic device corresponding to the operating mode;

[0077] Steps S201-202 are the same as steps S101-102 in Example 1, and will not be described again in this example.

[0078] Step S203: Obtain the operating information of the power charging device;

[0079] In this embodiment, when determining the power output method for the electronic device, the situation of the power charging device itself and the situation of the electronic device are considered, and the analysis is carried out from the perspective of two devices.

[0080] The operating information of the power charging device includes at least one of the following: input voltage, input current, output voltage, output current, and temperature value.

[0081] This power charging device typically uses AC power. The input voltage is AC (Alternating Current), and the output voltage is DC (Direct Current), the output current is DC, and the temperature value is [not specified].

[0082] The order of steps S203 and S201-202 is not limited to the order in this embodiment; they can be executed simultaneously or in reverse order.

[0083] Step S204: Based on the operating information and the target parameters, determine the target power to be output to the electronic device;

[0084] The electronic device has two operating modes: a first operating mode and a second operating mode. The target parameters of the first operating mode include at least one of the following: battery parameters, temperature information, and power information requested by the electronic device. The target parameters of the second operating mode include at least one of the following: battery parameters, usage scenario, user's historical operation behavior, and power information requested by the electronic device.

[0085] In the first operating mode, the electronic device receives electrical energy primarily to charge the battery, while ensuring the system's power supply.

[0086] In the second operating mode, the electronic devices primarily supply the system with the received electrical energy. Different usage scenarios, such as gaming and office work, require different power outputs. User habits are also considered, and the power requirements of the electronic devices are predicted based on historical user behavior.

[0087] Based on the target parameters of the electronic device and the operating information of the power charging device, a comprehensive analysis of the power charging device as a whole is achieved, taking into account the needs and operation of the electronic device and the operation of the power charging device, to determine the target power output to the electronic device.

[0088] In particular, considering the electronic devices and power charging devices as a whole, the determined target power output to the electronic devices is more energy efficient than considering only the power requested by the electronic devices.

[0089] Step S205: Charge the electronic device based on the power output method.

[0090] Step S205 is the same as step S103 in Example 1, and will not be described again in this example.

[0091] In summary, the information processing method provided in this embodiment includes: acquiring the operating information of a power charging device; and determining the target power output to an electronic device based on the operating information and the target parameters. This solution combines the operating information of the power charging device and the target parameters of the electronic device to determine the target power output to the electronic device from two dimensions, resulting in higher energy efficiency compared to considering only the power requested by the electronic device.

[0092] like Figure 3 The diagram shown is a flowchart of an embodiment 3 of an information processing method provided in this application. The method includes the following steps:

[0093] Step S301: Determine the current operating mode of the connected electronic device;

[0094] Step S302: Based on the operating mode of the electronic device, obtain the target parameters in the electronic device corresponding to the operating mode;

[0095] Step S303: Obtain the operating information of the power charging device;

[0096] Steps S301-303 are the same as steps S201-203 in Example 2, and will not be described again in this example.

[0097] Step S304: Based on the operating information and the target parameters, find the first loss value and the corresponding first power in the preset database;

[0098] The power charging device is equipped with a database that stores loss values ​​and power corresponding to different target parameter values ​​for different working modes.

[0099] The data stored in the database can be factory-preset data for the power charging device. During the use of the power charging device, the stored data can be updated based on the actual data collected during operation.

[0100] The first loss value can be the amount of electricity lost by the power charging device, or it can be the amount of electricity lost by the power charging device and the electronic device as a whole.

[0101] When the electronic device is in the first operating mode, the target parameters of the electronic device include at least one of the following: battery parameters, temperature information, and power information requested by the electronic device.

[0102] Accordingly, in the database, the data stored for the first operating mode of the electronic device uses one or more of the target parameters to store the corresponding loss values.

[0103] Specifically, the database contains multiple sets of stored data, with different working modes corresponding to different stored data. In the second working mode, different usage scenarios can also be configured with different stored data, such as a set of stored data for the gaming scenario and a set of stored data for the office scenario.

[0104] The values ​​corresponding to the target parameters in the stored data are range values ​​and are not fixed at a specific value.

[0105] In practice, each set of stored data can be stored in the form of a table, and multiple data tables can be set up in the database for different working modes and different usage scenarios.

[0106] The data table contains multiple entries, each with a range of values ​​for one or more target parameters / operational information. The corresponding content of each entry in the table is the range of power values ​​and the range of loss values ​​of the power charging device. The correspondence between these ranges indicates that if the power value is output to an electronic device, the electronic charging device will have a corresponding loss value.

[0107] Specifically, based on the current operating mode of the electronic device, the database is searched for the data table corresponding to the operating mode. In the data table, the ranges of each interval of the operating information and the ranges of each value of the target parameter are found. By determining the entries in the data table, the corresponding content of the entries (power value range and power charging device loss value range) can be obtained.

[0108] Within the same entry, there is a correspondence between the power value and the loss value of the power charging device. This correspondence can be linear or nonlinear. This application does not limit the specific form of this correspondence.

[0109] As an example, in the first operating mode, the target parameters are battery voltage and temperature, and the operating information used is input voltage. Specifically, the battery voltage in the electronic device is 5V, the temperature of the electronic device is 39℃, and the input voltage of the power charging device is 200V. Therefore, in the stored data corresponding to the first operating mode, an entry is defined. This entry includes the electronic device's voltage range of 4.5-5.5V, temperature of 30℃-40℃, and the power charging device's input voltage range of 190V-210V. The corresponding power value for this entry is 20-23W, and the power charging device's power loss is 4.5-5.5W.

[0110] In another example, in addition to battery voltage and temperature, the target parameters also include requested power information. Based on the above three target parameters and combined with the operating information, an entry is determined in the stored data corresponding to the first working mode. Each entry in this entry contains the range of values ​​for the above target parameters and operating information. The power value corresponding to this entry is 20-25W, and the power loss value of the power charging device is 4.0-5.5W.

[0111] It should be noted that in practice, users can restrict the values ​​of certain target parameters of the electronic device according to the actual situation. Accordingly, when searching for table entries in the database, the target parameter can only be within the range of values.

[0112] For example, if the battery temperature of an electronic device is limited to no higher than 40°C, then the corresponding battery temperature in the table entries for the first loss value and the first power value found in the database cannot be higher than 40°C.

[0113] Step S305: Determine the second loss value of the power charging device based on the operating information of the power charging device;

[0114] The operating information of the power charging device includes input voltage, input current, output voltage, and output current.

[0115] Specifically, the second loss value of the power supply charging device is calculated based on the input voltage, input current, output voltage, and output current.

[0116] The second power that is actually output to the power charging device can be obtained based on the output voltage and output current of the power charging device.

[0117] Step S306: Based on the first loss value and the corresponding first power, and the second loss value of the power charging device, determine the target power output to the electronic device;

[0118] Specifically, based on the second loss value, a third loss value smaller than the second loss value is determined within the range of the determined first loss value. Furthermore, based on the correspondence between the first loss value and the first power, the target power corresponding to the third loss value is determined within the range of the first power.

[0119] The target power is either less than or greater than the second power.

[0120] The sum of the second power and the second loss value is the total electrical energy provided by the power source to the power system consisting of the power charging device and electronic equipment. The sum of the third loss value and the target power is adjusted to provide the total electrical energy to the user system.

[0121] Since the third loss value is less than the second loss value, the power consumption efficiency of the system consisting of the power charging device and electronic equipment is improved.

[0122] Furthermore, after determining the target power to be output to the electronic device based on the first loss value and the corresponding first power, and the second loss value of the power charging device, the method further includes receiving the requested power information sent by the electronic device, and adjusting the target power of the electronic device according to the requested power information, so as to reduce power consumption while taking into account the needs of the electronic device.

[0123] It should be noted that, in specific implementation, when the power charging device charges the electronic device at the target power, the power charging device continues to collect the target parameters of the electronic device and its own operating information, and calculates the actual loss of the power charging device and updates the database. Specifically, the collected target parameters and operating information are used as table entries, and the content of the entries is the actual loss of the power charging device and its output target power.

[0124] The target parameters of the current electronic device and the operating information of the power charging device are used as table entries, and the second loss value and the second power are used as content to update the data stored in the database.

[0125] In this embodiment, only the loss of the power charging device is considered. In actual implementation, in order to improve the overall power consumption efficiency of the system composed of the power charging device and electronic equipment, the internal loss of the electronic equipment can also be considered.

[0126] The internal losses of this electronic device can be determined by monitoring the temperature rise of each part; the higher the temperature rise, the greater the losses.

[0127] For example, monitoring the temperature rise of components such as batteries, CPUs (central processing units), and GPUs (graphics processing units).

[0128] Step S307: Charge the electronic device based on the target power.

[0129] Step S307 is the same as step S205 in Example 2, and will not be described again in this example.

[0130] In summary, the information processing method provided in this embodiment includes: based on the operating information and the target parameters, searching a preset database to obtain a first loss value and a corresponding first power; determining a second loss value of the power charging device based on the operating information of the power charging device; and determining a target power output to the electronic device based on the first loss value, the corresponding first power, and the second loss value. In this solution, based on the operating information, the target parameters, and data stored in the preset database, the target power output to the electronic device is determined, and the electronic device is charged based on the determined target power, thereby improving the power consumption efficiency of the system composed of the power charging device and the electronic device.

[0131] like Figure 4 The diagram shown is a flowchart of an embodiment 4 of an information processing method provided in this application. The method includes the following steps:

[0132] Step S401: Determine the current operating mode of the connected electronic device;

[0133] Step S401 is the same as step S101 in Embodiment 1, and will not be described again in this embodiment.

[0134] Step S402: Output a prompt message to the electronic device;

[0135] The electronic charging device can also provide prompts for electronic devices.

[0136] Specifically, when the agreed conditions are met, the electronic charging device can automatically generate a prompt message and output it to the electronic device.

[0137] The prompt information can be voice prompts, image prompts, etc.

[0138] Step S403: Receive feedback information from the electronic device;

[0139] The feedback information represents the user's response to the prompt information in the electronic device.

[0140] The electronic device outputs the corresponding prompt message after receiving it.

[0141] For example, visual prompts can be displayed in the form of dialog boxes, or voice prompts can be played. Correspondingly, the user of the electronic device can provide feedback on the prompt information, and the electronic device receives the user's feedback, such as voice or clicks.

[0142] Among them, the electronic device can analyze the feedback content in advance to obtain feedback information, or it can send the feedback content directly to the electronic charging device as feedback information.

[0143] For example, the electronic device analyzes the feedback content in advance, such as confirming the click operation, and sends the confirmation information as feedback to the electronic device.

[0144] Step S404: Respond to the feedback information;

[0145] Among them, the response is based on feedback information from electronic devices.

[0146] For example, if the feedback is a confirmation, then respond using the corresponding confirmation response method.

[0147] Step S405: Determine the current operating mode of the connected electronic device;

[0148] Step S406: Based on the operating mode of the electronic device, obtain the target parameters in the electronic device corresponding to the operating mode;

[0149] Step S407: Determine the power output mode that matches the operating mode, at least based on the target parameters;

[0150] Step S408: Charge the electronic device based on the power output method.

[0151] Steps S405-407 are the same as steps S102-104 in Example 1, and will not be described again in this example.

[0152] In summary, in the information processing method provided in this embodiment, the electronic charging device can also output prompt information to the electronic device to prompt the user of the electronic device, and respond to the feedback information when it receives the feedback information from the electronic device, thereby realizing the proactive prompting of certain information of the electronic device.

[0153] like Figure 5 The flowchart shown is a 5th embodiment of an information processing method provided in this application. The method includes the following steps:

[0154] Step S501: Determine the current operating mode of the connected electronic device;

[0155] Step S501 is the same as step S401 in Example 4, and will not be described again in this example.

[0156] Step S502: When the electronic device is in the second working mode, generate the first prompt message;

[0157] The first prompt message is used to prompt the user of the electronic device whether to adjust the power output mode of the power charging device based on the working mode of the electronic device.

[0158] In the case of the electronic device in the second working mode, the user of the electronic device has high requirements for the stability of the electronic device and the user experience. Therefore, in the second working mode, before determining the power output mode that matches the working mode of the electronic device, a prompt message is generated to prompt the user whether to adjust the power output mode of the power charging device.

[0159] Step S503: Output the first prompt information to the electronic device;

[0160] Specifically, the first prompt message is output to the electronic device, so that the electronic device outputs the corresponding prompt message after receiving the prompt message.

[0161] Users of electronic devices can receive this prompt and provide feedback according to their needs, such as clicking the "Confirm" button to confirm their agreement to adjust the power output mode of the charging device; or clicking the "Cancel" button to disagree with the adjustment of the power output mode of the charging device.

[0162] Step S504: Receive feedback information from the electronic device;

[0163] Step S505: Respond to the feedback information;

[0164] If the feedback information is a confirmation, that is, the user of the electronic device agrees to adjust the power output mode of the power charging device based on the operating mode of the electronic device, then step S505 is executed; otherwise, step S505 is not executed, and the power charging device provides the power requested by the electronic device.

[0165] Step S506: Based on the operating mode of the electronic device, obtain the target parameters in the electronic device corresponding to the operating mode;

[0166] Step S507: Determine the power output mode that matches the operating mode, at least based on the target parameters;

[0167] Step S508: Charge the electronic device based on the power output method.

[0168] Steps S504-508 are the same as steps S403-407 in Example 4, and will not be described again in this example.

[0169] In summary, in the information processing method provided in this embodiment, when the electronic device is in a second operating mode, before determining the power output mode matching the operating mode, a first prompt message is generated. This first prompt message prompts the user of the electronic device whether to adjust the power output mode of the power charging device based on the operating mode of the electronic device; the first prompt message is then output to the electronic device. In this solution, when the electronic device is in a second operating mode, a prompt message is generated asking the user whether they agree to adjust the power output mode of the power charging device based on the operating mode of the electronic device. This prompts the user, and the process of adjusting the power output mode of the power charging device is only executed after receiving confirmation from the user, ensuring the user's right to know the operating status of the electronic device.

[0170] like Figure 6 The flowchart shown is a sample of embodiment 6 of an information processing method provided in this application. The method includes the following steps:

[0171] Step S601: Determine the current operating mode of the connected electronic device;

[0172] Step S601 is the same as step S401 in Example 4, and will not be described again in this example.

[0173] Step S602: When the electronic device is in the third working mode, detect the target running time of the electronic device in the third working mode;

[0174] In the third operating mode, the electronic device operates at maximum power.

[0175] Specifically, after determining that the electronic device is in the third working mode, the target running time of the electronic device in the third working mode is detected. Specifically, the time can be calculated from the time the electronic device is detected to switch to the third working mode, or the time can be calculated from the time the electronic device switches to the third working mode. The electronic charging device obtains the target running time from the electronic device.

[0176] Step S603: When the target running time exceeds the time threshold, generate a second prompt message and send it to the electronic device;

[0177] The second prompt message is related to the target running time.

[0178] If the target running time exceeds the time threshold, the electronic device is determined to be in a rest mode; otherwise, the electronic device is in a healthy mode.

[0179] If the target running time is not greater than the time threshold, it indicates that the electronic device operates at maximum power for a relatively short period of time. Therefore, it can be concluded that the electronic device has a large amount of battery power remaining, and the electronic device can continue to operate for a period of time, while the user's usage time is relatively short.

[0180] If the target running time is greater than the time threshold, it indicates that the electronic device has been running at maximum power for a long time, and the user has been using the electronic device for a long time, then a second prompt message is generated.

[0181] The second notification message is used to indicate that the electronic device has been running for a long time, the user needs to take a break, or to remind the user to charge the battery, among other things.

[0182] Step S604: Output the second prompt information to the electronic device;

[0183] Specifically, the second prompt message is sent to the electronic device so that the electronic device outputs the second prompt message to the user.

[0184] After receiving the second notification, the user can provide feedback as needed.

[0185] For example, switching the electronic device to a lower power operating mode, putting the electronic device to sleep, or ignoring the second prompt message.

[0186] Step S605: Receive feedback information from the electronic device;

[0187] Step S606: Respond to the feedback information;

[0188] Step S607: Based on the operating mode of the electronic device, obtain the target parameters in the electronic device corresponding to the operating mode;

[0189] Step S608: Determine the power output mode that matches the operating mode, at least based on the target parameters;

[0190] Step S609: Charge the electronic device based on the power output method.

[0191] Steps S605-609 are the same as steps S403-407 in Example 4, and will not be described again in this example.

[0192] In summary, in the information processing method provided in this embodiment, when the electronic device is in a third operating mode, after determining the current operating mode of the connected electronic device, the target running time of the electronic device in the third operating mode is detected; when the target running time is greater than a time threshold, a second prompt message is generated and sent to the electronic device, the second prompt message being related to the target running time; and the second prompt message is output to the electronic device. In this solution, if the electronic device runs for a long time in the third operating mode, the user is prompted, and a response is made after receiving user feedback, guiding the user to develop good usage habits.

[0193] Corresponding to the above-described embodiment of an information processing method provided in this application, this application also provides an embodiment of an apparatus for applying the information processing method.

[0194] like Figure 7 The diagram shown is a structural schematic of an embodiment of an information processing device provided in this application. The device is applied to a power charging device and includes the following structure: a mode determination module 701, a first acquisition module 702, a mode determination module 703, and a charging module 704.

[0195] The mode determination module 701 is used to determine the current operating mode of the connected electronic device.

[0196] The first acquisition module 702 is used to acquire target parameters in the electronic device that correspond to the working mode based on the working mode of the electronic device.

[0197] The method determination module 703 is used to determine the power output mode that matches the operating mode, based at least on the target parameters.

[0198] The charging module 704 is used to charge electronic devices based on the power output method.

[0199] Optional, also includes:

[0200] The second acquisition module is used to acquire the operating information of the power charging device;

[0201] The method determination module is used for:

[0202] Based on the operational information and the target parameters, the target power output to the electronic device is determined.

[0203] Optionally, the operating mode includes a first operating mode and a second operating mode. The target parameters of the first operating mode include at least one of battery parameters, temperature information, and power information requested by the electronic device. The target parameters of the second operating mode include at least one of battery parameters, usage scenario, user historical operation behavior, and power information requested by the electronic device.

[0204] Optionally, the method determining module is specifically used for:

[0205] Based on the operational information and the target parameters, the first loss value and the corresponding first power are obtained by searching in the preset database;

[0206] The second loss value of the power charging device is determined based on the operating information of the power charging device.

[0207] Based on the first loss value and the corresponding first power, and the second loss value, the target power output to the electronic device is determined.

[0208] Optional, also includes:

[0209] The output module is used to output prompt information to electronic devices;

[0210] A receiving module is used to receive feedback information from an electronic device, wherein the feedback information represents the user's feedback to the prompt information in the electronic device;

[0211] A response module is used to respond to the feedback information.

[0212] Optionally, when the electronic device is in the second operating mode, the output module is specifically used for:

[0213] Before determining the power output mode that matches the operating mode of the electronic device, a first prompt message is generated. The first prompt message is used to prompt the user of the electronic device whether to adjust the power output mode of the power charging device based on the operating mode of the electronic device.

[0214] Output the first prompt message to the electronic device.

[0215] Optionally, when the electronic device is in the third operating mode, the output module is specifically used for:

[0216] After determining the current operating mode of the connected electronic device, the target operating time of the electronic device in the third operating mode is detected;

[0217] When the target running time exceeds a time threshold, a second prompt message is generated and sent to the electronic device, the second prompt message being related to the target running time;

[0218] Output the second prompt message to the electronic device.

[0219] For an explanation of the functions of each component in the information processing device, please refer to the method embodiment; they will not be described in detail in this embodiment.

[0220] In summary, this application provides an information processing device applied to a power charging device. The power charging device obtains target parameters corresponding to the operating mode of the connected electronic device based on the current operating mode of the electronic device. Based on at least the target parameters, it determines a power output mode that matches the operating mode and charges the electronic device based on the power output mode. This achieves control of the corresponding power output mode based on the operating mode of the electronic device. Compared to an adapter that can only passively accept the control of the electronic device, in this solution, the adapter actively adjusts the power output mode to the electronic device, thereby reducing power consumption.

[0221] like Figure 8 The diagram shown is an application scenario diagram of a power charging device provided in this application. In this scenario, the power supply 801, the power charging device 802, and the electronic device 803 are connected in sequence.

[0222] The power charging device is connected to the electronic device through four lines: line 1 is Vbus, line 2 is CC (Configuration Channel), line 3 is ground, and line 4 is used to sample the electronic device's sampling signal.

[0223] The power charging device includes an AC / DC rectifier and a rectifier chip, which is used to control the rectifier. There is also a charging control chip that establishes a PD3.0 protocol between the power charging device and the electronic device through line 2 (CC) based on the DC voltage Vdc and DC current Idc information of the power charging device. It controls the shutdown of the MOS and realizes the power supply of the system by the power charging device through line 1 (Vbus) and line 3 (GND). The charging control chip provides feedback to the rectifier chip to realize closed-loop control. It collects the voltage Ta of the thermistor NTC (Negative Temperature Coefficient) to realize temperature monitoring and protection of the power charging device.

[0224] The information processing method of this application is applied in an MCU (Microcontroller Unit). This MCU collects the AC voltage Vac, DC voltage Vdc, DC current Idc, and temperature Ta of the power charging device in real time. It obtains the charging information Ts, battery information Td, and commands from the electronic device in real time via line 4. After calculation and comparison, it transmits Ta and issues commands to the electronic device via line 4. The electronic device updates the relevant information to its EM (Enterprise Messaging) software in real time according to the commands. Users can then interact with and control the electronic device system and the power charging device through the EM software.

[0225] Corresponding to the above-described embodiment of an information processing method provided in this application, this application also provides a readable storage medium corresponding to the information processing method.

[0226] The readable storage medium stores a computer program that is invoked and executed by a processor to implement the steps of the information processing method as described in any of the preceding claims.

[0227] For details on the specific implementation of the information processing method by executing the computer program stored in the readable storage medium, please refer to the aforementioned information processing method embodiments.

[0228] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. The apparatus provided in the embodiments is described simply because it corresponds to the method provided in the embodiments; relevant parts can be found in the method section.

[0229] The above description of the provided embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features provided herein.

Claims

1. An information processing method applied to a power charging device, the method comprising: Determine the current operating mode of the connected electronic device; Based on the operating mode of the electronic device, obtain the target parameters corresponding to the operating mode in the electronic device; Obtain operational information from the power charging device; Based on the operational information and the target parameters, the first loss value and the corresponding first power are obtained by searching in the preset database; The second loss value of the power charging device is determined based on the operating information of the power charging device. Based on the first loss value and the corresponding first power, and the second loss value, the target power output to the electronic device is determined; The electronic device is charged based on the target power.

2. The method according to claim 1, wherein the working mode includes a first working mode and a second working mode, wherein the target parameters of the first working mode include at least one of battery parameters, temperature information, and power information requested by the electronic device, and the target parameters of the second working mode include at least one of battery parameters, usage scenario, user historical operation behavior, and power information requested by the electronic device.

3. The method according to claim 1, further comprising: Output a prompt message to the electronic device; Receive feedback information from an electronic device, wherein the feedback information represents the user's feedback to the prompt information in the electronic device; Respond to the feedback information.

4. The method according to claim 3, wherein when the electronic device is in the second operating mode, the step of outputting a prompt message to the electronic device includes: Before determining the power output mode that matches the operating mode of the electronic device, a first prompt message is generated. The first prompt message is used to prompt the user of the electronic device whether to adjust the power output mode of the power charging device based on the operating mode of the electronic device. Output the first prompt message to the electronic device.

5. The method according to claim 3, wherein when the electronic device is in the third operating mode, the step of outputting a prompt message to the electronic device includes: After determining the current operating mode of the connected electronic device, the target operating time of the electronic device in the third operating mode is detected; When the target running time exceeds a time threshold, a second prompt message is generated and sent to the electronic device, the second prompt message being related to the target running time; Output the second prompt message to the electronic device.

6. An information processing device applied to a power charging device, comprising: The mode determination module is used to determine the current operating mode of the connected electronic device; The first acquisition module is used to acquire target parameters in the electronic device that correspond to the working mode based on the working mode of the electronic device. The second acquisition module is used to acquire the operating information of the power charging device; The mode determination module is used to search a preset database for a first loss value and a corresponding first power based on the operating information and the target parameters; The second loss value of the power charging device is determined based on the operating information of the power charging device. Based on the first loss value and the corresponding first power, and the second loss value, the target power output to the electronic device is determined; A charging module is used to charge electronic devices based on the target power.

7. A readable storage medium having a computer program stored thereon, the computer program being invoked and executed by a processor to implement the steps of the information processing method as described in any one of claims 1-5.