[go: up one dir, main page]

CN118801543A - Method for identifying the cause of abnormal charging, electronic device, chip system, storage medium and program product - Google Patents

Method for identifying the cause of abnormal charging, electronic device, chip system, storage medium and program product Download PDF

Info

Publication number
CN118801543A
CN118801543A CN202411273750.6A CN202411273750A CN118801543A CN 118801543 A CN118801543 A CN 118801543A CN 202411273750 A CN202411273750 A CN 202411273750A CN 118801543 A CN118801543 A CN 118801543A
Authority
CN
China
Prior art keywords
charging
data
electronic device
cloud server
cause
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411273750.6A
Other languages
Chinese (zh)
Inventor
荆莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202411273750.6A priority Critical patent/CN118801543A/en
Publication of CN118801543A publication Critical patent/CN118801543A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00038Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange using passive battery identification means, e.g. resistors or capacitors
    • H02J7/00041Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange using passive battery identification means, e.g. resistors or capacitors in response to measured battery parameters, e.g. voltage, current or temperature profile
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00045Authentication, i.e. circuits for checking compatibility between one component, e.g. a battery or a battery charger, and another component, e.g. a power source
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the application provides a charging abnormality cause identification method, electronic equipment, a chip system, a storage medium and a program product, which are applied to the technical field of terminals, can automatically carry out charging abnormality identification in response to user trigger, are beneficial to the convenience and the rapidness of the user for processing such problems, and are beneficial to the improvement of user experience. The method comprises the following steps: displaying a first interface under the condition that the electronic equipment is being charged, wherein the first interface comprises a first control, and when the first control is triggered, the electronic equipment executes a charging abnormality cause identification flow; and responding to the triggering operation of the first control, displaying a second interface, wherein the second interface comprises a recognition result, and the recognition result comprises a charging abnormality reason and a solution proposal.

Description

充电异常原因识别方法、电子设备、芯片系统、存储介质及程 序产品Method for identifying abnormal charging causes, electronic equipment, chip system, storage medium and program product

技术领域Technical Field

本申请涉及终端技术领域,尤其涉及一种充电异常原因识别方法、电子设备、芯片系统、存储介质及程序产品。The present application relates to the field of terminal technology, and in particular to a method for identifying the cause of abnormal charging, an electronic device, a chip system, a storage medium and a program product.

背景技术Background Art

电子设备可以配备电池,在电子设备所配备的电池的电量不足时,需要给电池充电。一些实现中,电子设备可以通过有线充电器或无线充电器为电子设备充电,电子设备在充电过程中,电池的电量通常以一定速率增长,用户可以通过用户界面(user interface,UI)设置的充电动画、显示屏上方设置的电量的数字显示或者已充电量在电池容量中的占比显示,观察到这一现象。An electronic device may be equipped with a battery. When the battery of the electronic device is low on power, the battery needs to be charged. In some implementations, the electronic device may be charged by a wired charger or a wireless charger. During the charging process of the electronic device, the power of the battery usually increases at a certain rate. The user may observe this phenomenon through the charging animation set in the user interface (UI), the digital display of the power set above the display screen, or the display of the proportion of the charged amount in the battery capacity.

但一些实现中,在给电子设备充电的过程中,用户可能会发现会电子设备电量增长速率慢,或者出现电量不增长等现象。通常这种情况需要专业检修人员通过专用的检测仪器,检测出现此类充电异常现象的原因,而后才能给出修理建议。However, in some implementations, when charging an electronic device, the user may find that the power of the electronic device increases slowly or does not increase at all. Usually, this situation requires professional maintenance personnel to use special testing instruments to detect the cause of such abnormal charging phenomenon and then give repair suggestions.

然而,这样的处理方式效率低下,用户体验较差。However, this processing method is inefficient and provides a poor user experience.

发明内容Summary of the invention

本申请实施例提供一种充电异常原因识别方法、电子设备、芯片系统、存储介质及程序产品,应用于终端技术领域,可以响应于用户触发自动进行充电异常识别,有利于用户方便快捷的处理此类问题,有利于提升用户体验。The embodiments of the present application provide a method for identifying the cause of abnormal charging, an electronic device, a chip system, a storage medium and a program product, which are applied to the field of terminal technology and can automatically identify abnormal charging in response to a user trigger, thereby facilitating users to handle such problems quickly and conveniently and improving user experience.

第一方面,本申请实施例提出一种充电异常原因识别方法,应用于电子设备,包括:在所述电子设备正在充电的情况下,显示第一界面,所述第一界面包括第一控件,所述第一控件被触发时,所述电子设备执行充电异常原因识别流程;响应于对所述第一控件的触发操作,显示第二界面,所述第二界面包括识别结果,所述识别结果包括充电异常原因和解决方案建议。In a first aspect, an embodiment of the present application proposes a method for identifying the cause of charging abnormality, which is applied to an electronic device, comprising: when the electronic device is charging, displaying a first interface, the first interface including a first control, when the first control is triggered, the electronic device executes a process for identifying the cause of charging abnormality; in response to the triggering operation of the first control, displaying a second interface, the second interface including an identification result, and the identification result including the cause of the charging abnormality and a solution suggestion.

这样,用户在发现电子设备充电慢或停止充电等充电异常现象时,可以触发电子设备自动进行充电异常原因识别,并输出包括充电异常原因和解决建议的识别结果,在一些简单场景中可以无需用户求助专业修理人员,有利于帮助用户方便快捷的处理此类问题,有利于提升用户体验。In this way, when users find that their electronic devices are charging slowly or stop charging, for example, they can trigger the electronic devices to automatically identify the causes of the abnormal charging and output identification results including the causes of the abnormal charging and solutions. In some simple scenarios, users do not need to seek help from professional repair personnel, which helps users deal with such problems quickly and conveniently and improves user experience.

结合第一方面,在第一方面的某些实现方式中,所述第二界面还包括第二控件,所述第二控件用于选择是否执行与所述解决方案建议对应的流程。In combination with the first aspect, in some implementations of the first aspect, the second interface also includes a second control, and the second control is used to select whether to execute a process corresponding to the solution suggestion.

第二控件例如可以包括图6中示出的控件601和控件602,用户可以通过触发控件601,以指示电子设备执行与解决方案建议对应的流程,或者用户也可以通过触发控件602放弃该流程,本申请对此不作限定。The second control may include, for example, control 601 and control 602 shown in FIG. 6 . The user may trigger control 601 to instruct the electronic device to execute a process corresponding to the solution suggestion, or the user may trigger control 602 to abandon the process. This application does not limit this.

本申请实施例中第二控件的设置,针对电子设备识别出的充电异常原因和解决方案建议,给用户可以一键执行或放弃的选择,在用户需要执行解决方案建议对应的流程时,无需用户进行其他复杂操作,方便快捷,有利于快速解决问题。The setting of the second control in the embodiment of the present application provides the user with the option of executing or giving up the abnormal charging cause and solution suggested by the electronic device with one click. When the user needs to execute the process corresponding to the solution suggestion, the user does not need to perform other complex operations, which is convenient and fast, and is conducive to quickly solving the problem.

结合第一方面,在第一方面的某些实现方式中,所述第一界面为所述电子设备的锁屏界面、通知栏界面或设置应用界面。这样,不论用户锁屏充电,解锁后充电,均可以较为快速的找到触发电子设备执行充电异常原因识别流程的第一控件,以便进一步触发该流程,有利于提升用户体验。In combination with the first aspect, in some implementations of the first aspect, the first interface is a lock screen interface, a notification bar interface, or a settings application interface of the electronic device. In this way, regardless of whether the user charges with the screen locked or unlocked, the user can quickly find the first control that triggers the electronic device to execute the charging abnormality cause identification process, so as to further trigger the process, which is conducive to improving the user experience.

结合第一方面,在第一方面的某些实现方式中,在显示第二桌面之前,所述方法还包括:获取预设时间段内所述电子设备的充电相关数据;向云端服务器上传所述充电相关数据;接收来自所述云端服务器的所述识别结果,所述识别结果是所述云端服务器基于第一充电数据查找预设映射关系得到的,所述预设映射关系包括充电相关数据中的每个数据与各自对应的识别结果之间的映射关系,所述充电相关数据中包括第一充电数据,所述第一充电数据不满足预设条件中为所述第一充电数据设置的门限条件,所述预设条件是所述云端服务器利用决策树对群体用户的充电相关数据进行分析得到的。In combination with the first aspect, in certain implementations of the first aspect, before displaying the second desktop, the method also includes: obtaining charging-related data of the electronic device within a preset time period; uploading the charging-related data to a cloud server; receiving the recognition result from the cloud server, the recognition result is obtained by the cloud server based on the first charging data looking up a preset mapping relationship, the preset mapping relationship includes a mapping relationship between each data in the charging-related data and the corresponding recognition result, the charging-related data includes first charging data, the first charging data does not meet a threshold condition set for the first charging data in a preset condition, and the preset condition is obtained by the cloud server analyzing the charging-related data of a group of users using a decision tree.

这样,在用户发现电子设备充电异常的情况下,可以通过触发异常原因识别流程来使得电子设备自行检测充电异常原因,可以无需用户自行分析,在一些简单场景下可以无需求助网点,有利于提升用户体验。In this way, when a user finds that the electronic device is charging abnormally, the abnormal cause identification process can be triggered to enable the electronic device to detect the cause of the abnormal charging by itself, without the need for the user to analyze it by themselves. In some simple scenarios, there is no need to seek help from outlets, which is conducive to improving user experience.

结合第一方面,在第一方面的某些实现方式中,向云端服务器上传所述电子设备的设备类型信息;所述预设条件是所述云端服务器基于所述设备类型信息确定的,所述云端服务器维护有与不同设备类型信息对应的预设条件。In combination with the first aspect, in certain implementations of the first aspect, the device type information of the electronic device is uploaded to a cloud server; the preset condition is determined by the cloud server based on the device type information, and the cloud server maintains preset conditions corresponding to different device type information.

可选地,设备类型信息可以包括品牌名称、系列名称、设备的型号、设备序列号(serial number,SN)等,本申请对此不作限定。Optionally, the device type information may include a brand name, a series name, a model of the device, a device serial number (SN), etc., which is not limited in this application.

也就是说,云端服务器可以针对不同的设备类型,维护不同的预设条件,这样,有利于减小由于设备类型不同、硬件软件能力不同却使用统一预设条件进行判断,而导致的充电异常原因误判,有利于提升充电异常原因识别的准确性,有利于提升用户体验。In other words, the cloud server can maintain different preset conditions for different device types. This will help reduce the misjudgment of the cause of abnormal charging due to the use of unified preset conditions for judgments based on different device types and different hardware and software capabilities, and will help improve the accuracy of identifying the cause of abnormal charging and improve user experience.

结合第一方面,在第一方面的某些实现方式中,所述充电相关数据包括以下一项或多项:与硬件温度有关的数据、与系统温度有关的数据、与前台应用功耗有关的数据、与后台应用功耗有关的数据、与充电器有关的数据、与充电设置有关的数据、与充电电流有关的数据、与电池和电量有关的数据或者与屏幕用电有关的数据。In combination with the first aspect, in certain implementations of the first aspect, the charging-related data includes one or more of the following: data related to hardware temperature, data related to system temperature, data related to foreground application power consumption, data related to background application power consumption, data related to the charger, data related to charging settings, data related to charging current, data related to the battery and power level, or data related to screen power consumption.

结合第一方面,在第一方面的某些实现方式中,所述预设映射关系包括以下一项或多项:在所述第一充电数据包括与所述后台应用功耗有关的数据的情况下,与所述第一充电数据对应的识别结果中,所述充电异常原因包括后台应用耗电过高,所述解决方案建议包括清理后台应用;在所述第一充电数据包括与所述前台应用功耗有关的数据的情况下,与所述第一充电数据对应的识别结果中,所述充电异常原因包括前台应用耗电过高,所述解决方案建议包括关闭前台应用;在所述第一充电数据包括与硬件温度有关的数据和/或与系统温度有关的数据的情况下,与所述第一充电数据对应的识别结果中,所述充电异常原因包括充电温度过高,所述解决方案建议包括等待所述电子设备降温后再充电;在所述第一充电数据包括与屏幕用电有关的数据的情况下,与所述第一充电数据对应的识别结果中,所述充电异常原因包括屏幕耗电过高,所述解决方案建议包括熄灭电子设备屏幕;在所述第一充电数据包括与充电器有关的数据的情况下,与所述第一充电数据对应的识别结果中,所述充电异常原因包括充电器不适配,所述解决方案建议包括更换充电器;或者,在所述第一充电数据包括与充电设置有关的数据和/或与充电电流有关的数据的情况下,与所述第一充电数据对应的识别结果中,所述充电异常原因包括充电电流不满足要求,所述解决方案建议包括更换充电器或送网点检修。In combination with the first aspect, in some implementations of the first aspect, the preset mapping relationship includes one or more of the following: when the first charging data includes data related to the power consumption of the background application, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes that the background application consumes too much power, and the solution suggestion includes clearing the background application; when the first charging data includes data related to the power consumption of the foreground application, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes that the foreground application consumes too much power, and the solution suggestion includes closing the foreground application; when the first charging data includes data related to hardware temperature and/or data related to system temperature, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes that the charging temperature is too high, and the solution suggestion includes clearing the background application; The solution suggestion includes waiting for the electronic device to cool down before charging; when the first charging data includes data related to screen power consumption, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes excessive screen power consumption, and the solution suggestion includes turning off the screen of the electronic device; when the first charging data includes data related to the charger, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes an incompatible charger, and the solution suggestion includes replacing the charger; or, when the first charging data includes data related to charging settings and/or data related to charging current, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes charging current not meeting requirements, and the solution suggestion includes replacing the charger or sending the charger to a network point for repair.

第二方面,本申请还提供一种充电异常原因识别方法,应用于云端服务器,该方法包括:接收来自电子设备的充电相关数据;基于预设条件,判断充电相关数据中的每个数据是否均满足各自对应的门限条件,所述预设条件是所述云端服务器利用决策树对群体用户的充电相关数据进行分析得到的;在判断出第一充电数据不满足预设条件中为所述第一充电数据设置的门限条件的情况下,基于所述第一充电数据查找预设映射关系,得到与第一充电数据对应的识别结果,所述充电相关数据包括所述第一充电数据,所述预设映射关系包括充电相关数据中的每个数据与各自对应的识别结果之间的映射关系;向所述电子设备发送所述识别结果。In a second aspect, the present application also provides a method for identifying the cause of charging abnormality, which is applied to a cloud server, and the method includes: receiving charging-related data from an electronic device; based on preset conditions, determining whether each data in the charging-related data satisfies the corresponding threshold conditions, wherein the preset conditions are obtained by the cloud server analyzing the charging-related data of a group of users using a decision tree; when it is determined that the first charging data does not satisfy the threshold conditions set for the first charging data in the preset conditions, searching for a preset mapping relationship based on the first charging data to obtain an identification result corresponding to the first charging data, the charging-related data including the first charging data, and the preset mapping relationship including a mapping relationship between each data in the charging-related data and the corresponding identification results; and sending the identification result to the electronic device.

结合第二方面,在第二方面的某些实现方式中,方法还包括:获取群体用户上报的充电相关数据,群体用户的充电相关数据中包括充电正常数据和充电异常数据;利用群体用户的充电相关数据构建决策树;将所述决策树中,节点的样本量满足第一阈值和/或节点的充电异常数据占样本量的比例满足第二阈值的充电相关数据及其对应的节点门限条件作为预设条件。In combination with the second aspect, in certain implementations of the second aspect, the method further includes: obtaining charging-related data reported by a group of users, the charging-related data of the group of users including normal charging data and abnormal charging data; building a decision tree using the charging-related data of the group of users; and using the charging-related data and its corresponding node threshold conditions in the decision tree, in which the sample size of the node satisfies a first threshold and/or the proportion of the abnormal charging data of the node in the sample size satisfies a second threshold, as preset conditions.

结合第二方面,在第二方面的某些实现方式中,方法还包括:接收来自电子设备的设备类型信息;基于预设条件,判断充电相关数据中的每个数据是否均满足各自对应的门限条件之前,所述方法还包括:基于所述设备类型信息确定的与所述设备类型信息对应的所述预设条件,所述云端服务器维护有与不同设备类型信息各自对应的预设条件,每个预设条件是利用决策树对设备类型信息相同的群体用户的充电相关数据进行分析得到的。In combination with the second aspect, in certain implementations of the second aspect, the method also includes: receiving device type information from an electronic device; based on preset conditions, before determining whether each data in the charging-related data satisfies the respective corresponding threshold conditions, the method also includes: determining the preset conditions corresponding to the device type information based on the device type information, the cloud server maintaining preset conditions corresponding to different device type information, each preset condition being obtained by analyzing the charging-related data of a group of users with the same device type information using a decision tree.

第三方面,本申请还提供一种充电异常原因识别方法,应用于包括电子设备和云端服务器的系统,方法包括:在所述电子设备正在充电的情况下,所述电子设备响应于用户操作,获取预设时间段内所述电子设备的充电相关数据,并向云端服务器上传所述充电相关数据;所述云端服务器接收所述充电相关数据,并基于预设条件,判断充电相关数据中的每个数据是否均满足各自对应的门限条件,所述预设条件是所述云端服务器利用决策树对群体用户的充电相关数据进行分析得到的;所述云端服务器在判断出第一充电数据不满足预设条件中为所述第一充电数据设置的门限条件的情况下,基于所述第一充电数据查找预设映射关系,得到与第一充电数据对应的识别结果,所述充电相关数据包括所述第一充电数据,所述预设映射关系包括充电相关数据中的每个数据与各自对应的识别结果之间的映射关系;所述云端服务器向所述电子设备发送所述识别结果;所述电子设备接收并显示所述识别结果,所述识别结果包括充电异常原因和解决方案建议。In a third aspect, the present application also provides a method for identifying the cause of abnormal charging, which is applied to a system including an electronic device and a cloud server, and the method includes: when the electronic device is charging, the electronic device responds to a user operation, obtains charging-related data of the electronic device within a preset time period, and uploads the charging-related data to the cloud server; the cloud server receives the charging-related data, and based on preset conditions, determines whether each data in the charging-related data satisfies the corresponding threshold conditions, wherein the preset conditions are obtained by the cloud server analyzing the charging-related data of a group of users using a decision tree; when the cloud server determines that the first charging data does not meet the threshold conditions set for the first charging data in the preset conditions, the cloud server searches for a preset mapping relationship based on the first charging data to obtain an identification result corresponding to the first charging data, wherein the charging-related data includes the first charging data, and the preset mapping relationship includes a mapping relationship between each data in the charging-related data and the corresponding identification results; the cloud server sends the identification result to the electronic device; the electronic device receives and displays the identification result, and the identification result includes the cause of the abnormal charging and a solution suggestion.

结合第三方面,在第三方面的某些实现方式中,在所述电子设备向云端服务器上传所述充电相关数据之前,所述方法还包括:所述云端服务器获取群体用户上报的充电相关数据,群体用户的充电相关数据中包括充电正常数据和充电异常数据;所述云端服务器利用群体用户的充电相关数据构建决策树;将所述决策树中,节点的样本量满足第一阈值和/或节点的充电异常数据占样本量的比例满足第二阈值的充电相关数据及其对应的节点门限条件作为预设条件。In combination with the third aspect, in certain implementations of the third aspect, before the electronic device uploads the charging-related data to the cloud server, the method also includes: the cloud server obtains the charging-related data reported by the group users, the charging-related data of the group users including normal charging data and abnormal charging data; the cloud server uses the charging-related data of the group users to build a decision tree; and the charging-related data and its corresponding node threshold conditions in the decision tree, in which the sample size of the node meets the first threshold and/or the proportion of the abnormal charging data of the node in the sample size meets the second threshold, are used as preset conditions.

可选地,构建决策树的算法可以包括分类与回归树(classification andregression tree,CART)算法、迭代二叉树3代(iterative dichotomiser 3,ID3)算法或者C4.5算法。Optionally, the algorithm for constructing the decision tree may include a classification and regression tree (CART) algorithm, an iterative dichotomiser 3 (ID3) algorithm or a C4.5 algorithm.

结合第三方面,在第三方面的某些实现方式中,所述方法还包括:所述电子设备还向云端服务器上传所述电子设备的设备类型信息;所述云端服务器基于预设条件,判断充电相关数据中的每个数据是否均满足各自对应的门限条件之前,所述方法还包括:所述云端服务器接收所述电子设备的设备类型信息,并基于所述设备类型信息确定的与所述设备类型信息对应的所述预设条件,所述云端服务器维护有与不同设备类型信息各自对应的预设条件,每个预设条件是利用决策树对设备类型信息相同的群体用户的充电相关数据进行分析得到的。In combination with the third aspect, in certain implementations of the third aspect, the method further includes: the electronic device also uploads the device type information of the electronic device to the cloud server; before the cloud server determines whether each data in the charging-related data satisfies the respective corresponding threshold conditions based on preset conditions, the method further includes: the cloud server receives the device type information of the electronic device, and determines the preset conditions corresponding to the device type information based on the device type information, the cloud server maintains preset conditions corresponding to different device type information, and each preset condition is obtained by analyzing the charging-related data of a group of users with the same device type information using a decision tree.

结合第三方面,在第三方面的某些实现方式中,所述充电相关数据包括以下一项或多项:与硬件温度有关的数据、与系统温度有关的数据、与前台应用功耗有关的数据、与后台应用功耗有关的数据、与充电器有关的数据、与充电设置有关的数据、与充电电流有关的数据或者与屏幕用电有关的数据。In combination with the third aspect, in certain implementations of the third aspect, the charging-related data includes one or more of the following: data related to hardware temperature, data related to system temperature, data related to foreground application power consumption, data related to background application power consumption, data related to the charger, data related to charging settings, data related to charging current, or data related to screen power consumption.

第四方面,本申请实施例提供一种充电异常原因识别装置,该充电异常原因识别装置可以是电子设备,也可以是电子设备内的芯片或者芯片系统。该充电异常原因识别装置可以包括显示单元和处理单元。当该充电异常原因识别装置是电子设备时,该处显示单元可以是显示屏。该显示单元用于执行显示的步骤,以使该电子设备实现第一方面或第一方面的任意一种可能的实现方式中描述的一种充电异常原因识别方法。当该充电异常原因识别装置是电子设备时,该处理单元可以是处理器。该充电异常原因识别装置还可以包括存储单元,该存储单元可以是存储器。该存储单元用于存储指令,该处理单元执行该存储单元所存储的指令,以使该电子设备实现第一方面或第一方面的任意一种可能的实现方式中描述的一种充电异常原因识别方法。当该充电异常原因识别装置是电子设备内的芯片或者芯片系统时,该处理单元可以是处理器。该处理单元执行存储单元所存储的指令,以使该电子设备实现第一方面或第一方面的任意一种可能的实现方式中描述的一种充电异常原因识别方法。该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是该电子设备内的位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。In a fourth aspect, an embodiment of the present application provides a device for identifying a charging abnormality cause, which may be an electronic device, or a chip or chip system in an electronic device. The device for identifying a charging abnormality cause may include a display unit and a processing unit. When the device for identifying a charging abnormality cause is an electronic device, the display unit may be a display screen. The display unit is used to perform the display step so that the electronic device implements a method for identifying a charging abnormality cause described in the first aspect or any possible implementation of the first aspect. When the device for identifying a charging abnormality cause is an electronic device, the processing unit may be a processor. The device for identifying a charging abnormality cause may also include a storage unit, which may be a memory. The storage unit is used to store instructions, and the processing unit executes the instructions stored in the storage unit so that the electronic device implements a method for identifying a charging abnormality cause described in the first aspect or any possible implementation of the first aspect. When the device for identifying a charging abnormality cause is a chip or chip system in an electronic device, the processing unit may be a processor. The processing unit executes the instructions stored in the storage unit so that the electronic device implements a method for identifying a charging abnormality cause described in the first aspect or any possible implementation of the first aspect. The storage unit may be a storage unit within the chip (eg, a register, a cache, etc.), or a storage unit within the electronic device that is located outside the chip (eg, a read-only memory, a random access memory, etc.).

第五方面,本申请实施例提供一种电子设备,包括一个或多个处理器和存储器,存储器与一个或多个处理器耦合,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,一个或多个处理器调用计算机指令,以使得电子设备执行第一方面或第一方面的任意一种可能的实现方式中描述的方法,以及第三方面或第三方面的任一种可能的实现中由电子设备执行的方法。In a fifth aspect, an embodiment of the present application provides an electronic device, comprising one or more processors and a memory, wherein the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions so that the electronic device executes the method described in the first aspect or any possible implementation of the first aspect, as well as the method executed by the electronic device in the third aspect or any possible implementation of the third aspect.

第六方面,本申请实施例提供一种服务器,包括一个或多个处理器和存储器,存储器与一个或多个处理器耦合,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,一个或多个处理器调用计算机指令,以使得服务器执行第二方面或第二方面的任意一种可能的实现方式中描述的方法,以及第三方面或第三方面的任一种可能的实现中由云端服务器执行的方法。In the sixth aspect, an embodiment of the present application provides a server, comprising one or more processors and a memory, the memory being coupled to the one or more processors, the memory being used to store computer program code, the computer program code comprising computer instructions, and the one or more processors calling the computer instructions so that the server executes the method described in the second aspect or any possible implementation of the second aspect, as well as the method executed by the cloud server in the third aspect or any possible implementation of the third aspect.

第七方面,本申请实施例提供一种充电异常原因识别系统,包括电子设备和云端服务器,该电子设备用于执行第一方面或第一方面的任意一种可能的实现方式中描述的方法,以及第三方面或第三方面的任一种可能的实现中由电子设备执行的方法,该云端服务器用于执行第二方面或第二方面的任意一种可能的实现方式中描述的方法,以及第三方面或第三方面的任一种可能的实现中由云端服务器执行的方法。In the seventh aspect, an embodiment of the present application provides a system for identifying the cause of abnormal charging, including an electronic device and a cloud server, the electronic device being used to execute the method described in the first aspect or any possible implementation of the first aspect, and the method executed by the electronic device in the third aspect or any possible implementation of the third aspect, and the cloud server being used to execute the method described in the second aspect or any possible implementation of the second aspect, and the method executed by the cloud server in the third aspect or any possible implementation of the third aspect.

第八方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质包括计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行第一方面或第一方面的任意一种可能的实现方式中描述的方法、第二方面或第二方面的任意一种可能的实现方式中描述的方法、或者第三方面或第三方面的任一种可能的实现中描述的方法。In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium comprising a computer program or instructions, which, when the computer program or instructions are run on a computer, enables the computer to execute the method described in the first aspect or any possible implementation of the first aspect, the method described in the second aspect or any possible implementation of the second aspect, or the method described in the third aspect or any possible implementation of the third aspect.

第九方面,本申请实施例提供一种计算机程序产品,计算机程序产品包括计算机程序代码,当计算机程序代码在计算机上运行时,使得计算机执行第一方面或第一方面的任意一种可能的实现方式中描述的方法、第二方面或第二方面的任意一种可能的实现方式中描述的方法、或者第三方面或第三方面的任一种可能的实现中描述的方法。In the ninth aspect, an embodiment of the present application provides a computer program product, which includes computer program code. When the computer program code runs on a computer, it enables the computer to execute the method described in the first aspect or any possible implementation of the first aspect, the method described in the second aspect or any possible implementation of the second aspect, or the method described in the third aspect or any possible implementation of the third aspect.

第十方面,本申请提供一种芯片或者芯片系统,该芯片或者芯片系统包括一个或多个处理器,以及通信接口,通信接口和一个或多个处理器通过线路互联,一个或多个处理器用于运行计算机程序或指令,以执行第一方面或第一方面的任意一种可能的实现方式中描述的方法、第二方面或第二方面的任意一种可能的实现方式中描述的方法、或者第三方面或第三方面的任一种可能的实现中描述的方法。其中,芯片中的通信接口可以为输入/输出接口、管脚或电路等。In the tenth aspect, the present application provides a chip or a chip system, which includes one or more processors and a communication interface, wherein the communication interface and the one or more processors are interconnected by lines, and the one or more processors are used to run computer programs or instructions to execute the method described in the first aspect or any possible implementation of the first aspect, the method described in the second aspect or any possible implementation of the second aspect, or the method described in the third aspect or any possible implementation of the third aspect. The communication interface in the chip can be an input/output interface, a pin or a circuit, etc.

在一种可能的实现中,本申请中上述描述的芯片或者芯片系统还包括至少一个存储器,该至少一个存储器中存储有指令。该存储器可以为芯片内部的存储单元,例如,寄存器、缓存等,也可以是该芯片的存储单元(例如,只读存储器、随机存取存储器等)。In a possible implementation, the chip or chip system described above in the present application further includes at least one memory, in which instructions are stored. The memory may be a storage unit inside the chip, such as a register, a cache, etc., or a storage unit of the chip (such as a read-only memory, a random access memory, etc.).

应当理解的是,本申请的第二方面至第十方面与本申请的第一方面的技术方案相对应,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述。It should be understood that the second to tenth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本申请实施例提供的应用场景示意图;FIG1 is a schematic diagram of an application scenario provided by an embodiment of the present application;

图2为本申请实施例提供的一种电子设备的软件结构示例性框图;FIG2 is an exemplary block diagram of a software structure of an electronic device provided in an embodiment of the present application;

图3为本申请实施例提供的一种充电异常原因识别方法的示意流程图;FIG3 is a schematic flow chart of a method for identifying the cause of abnormal charging provided in an embodiment of the present application;

图4为本申请实施例提供的一种电子设备的界面示例图;FIG4 is an example diagram of an interface of an electronic device provided in an embodiment of the present application;

图5为本申请实施例提供的另一种电子设备的界面示例图;FIG5 is an example diagram of an interface of another electronic device provided in an embodiment of the present application;

图6为本申请实施例提供的又一种电子设备的界面示例图;FIG6 is an example diagram of an interface of another electronic device provided in an embodiment of the present application;

图7为本申请实施例提供的一种得到充电异常原因判断条件的示例性流程图;FIG7 is an exemplary flow chart of obtaining a condition for determining a charging abnormality cause according to an embodiment of the present application;

图8为本申请实施例提供的一种决策树;FIG8 is a decision tree provided in an embodiment of the present application;

图9为本申请实施例提供的一种电子设备的硬件结构示例性框图;FIG9 is an exemplary block diagram of the hardware structure of an electronic device provided in an embodiment of the present application;

图10为本申请实施例提供的一种芯片结构示例性框图。FIG. 10 is an exemplary block diagram of a chip structure provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

为了便于清楚描述本申请实施例的技术方案,以下,对本申请实施例中所涉及的部分术语和技术进行简单介绍:In order to clearly describe the technical solutions of the embodiments of the present application, some terms and technologies involved in the embodiments of the present application are briefly introduced below:

1、决策树:决策树是一种用于决策分析和机器学习的模型。它通过将数据分割成更小的子集来进行分类或回归。1. Decision tree: A decision tree is a model used for decision analysis and machine learning. It performs classification or regression by splitting data into smaller subsets.

决策树的构建过程通常包括以下步骤:①选择最佳特征:根据某种标准(如信息增益、基尼指数等)选择最能分割数据的特征;②分割数据:根据选择的特征将数据分割成子集;③递归构建子树:对每个子集重复上述步骤,直到满足停止条件(如达到最大深度或叶节点中的样本数小于某个阈值)。The process of building a decision tree usually includes the following steps: ① Select the best feature: select the feature that can best segment the data according to a certain standard (such as information gain, Gini index, etc.); ② Split the data: split the data into subsets according to the selected features; ③ Recursively build subtrees: repeat the above steps for each subset until the stopping condition is met (such as reaching the maximum depth or the number of samples in the leaf node is less than a certain threshold).

决策树中节点(node)是构成决策树的基本单元,节点的类型可以不包括根节点(起始节点)、内部节点和叶节点(终端节点),叶节点不再进一步分割。The node in the decision tree is the basic unit that constitutes the decision tree. The node type may not include the root node (starting node), internal node and leaf node (terminal node), and the leaf node is no longer further divided.

本申请实施例中,利用群体用户上报的充电过程数据集构建决策树,得到基于群体用户上报的充电过程数据集的充电异常原因判断条件。In the embodiment of the present application, a decision tree is constructed using a charging process data set reported by a group of users to obtain a charging abnormality cause judgment condition based on the charging process data set reported by the group of users.

2、其他术语2. Other terms

在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。例如,第一芯片和第二芯片仅仅是为了区分不同的芯片,并不对其先后顺序进行限定。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. For example, the first chip and the second chip are only used to distinguish different chips, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a--c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character "/" generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, a-b, a--c, b-c, or a-b-c, where a, b, c can be single or multiple.

3、电子设备3. Electronic equipment

本申请实施例的电子设备可以包括可充电的手持式设备、车载设备等。例如,一些电子设备为:手机(mobile phone)、平板电脑、掌上电脑、笔记本电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,5G网络中的电子设备或者未来演进的公用陆地移动通信网络(public landmobile network,PLMN)中的电子设备等,本申请实施例对此并不限定。The electronic device of the embodiment of the present application may include a rechargeable handheld device, a vehicle-mounted device, etc. For example, some electronic devices are: mobile phones, tablet computers, PDAs, laptop computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, electronic devices in 5G networks or future evolved public land mobile communication networks (public landmobile networks). The electronic devices in the network (PLMN) and the like are not limited to this in the embodiments of the present application.

作为示例而非限定,在本申请实施例中,该电子设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example but not limitation, in the embodiments of the present application, the electronic device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.

此外,在本申请实施例中,电子设备还可以是物联网(internet of things,IoT)系统中的电子设备,IoT是未来信息技术发展的重要组成部分,其主要技术特点是将物品通过通信技术与网络连接,从而实现人机互连,物物互连的智能化网络。In addition, in the embodiments of the present application, the electronic device may also be an electronic device in an Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.

本申请实施例中的电子设备也可以称为:电子设备、用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置等。The electronic device in the embodiments of the present application may also be referred to as: electronic device, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.

设备通常需要电池进行供电,电池电量不足时需要进行充电,以保证电子设备的正常使用。Devices usually require batteries to power them, and when the batteries are low on power, they need to be charged to ensure normal use of the electronic device.

图1示例性的示出了本申请实施例提供的一种电子设备充电场景示意图。如图1所示,当电子设备需要进行充电时,用户可以将充电线101的充电接口(例如图1中示出的Type-C公头)与电子设备的充电接口(例如图1中示出的Type-C母头)连接,并将充电线101连接在电源适配器102上再将电源适配器连接电源,以使得电子设备可以从电源得到电流输入。在电子设备接入电源的情况下,电子设备可以显示如图1所示出的显示界面100。在用户想要查看电量时,可以通过电子设备设置的充电动画103、显示屏上方设置的电量的数字显示104或者已充电量在电池容量中的占比显示105,观察电子设备的电量情况,当电量充满到100%时,用户可以及时拔掉充电线。FIG1 exemplarily shows a schematic diagram of an electronic device charging scenario provided by an embodiment of the present application. As shown in FIG1 , when the electronic device needs to be charged, the user can connect the charging interface of the charging cable 101 (e.g., the Type-C male connector shown in FIG1 ) to the charging interface of the electronic device (e.g., the Type-C female connector shown in FIG1 ), and connect the charging cable 101 to the power adapter 102 and then connect the power adapter to the power supply, so that the electronic device can obtain current input from the power supply. When the electronic device is connected to the power supply, the electronic device can display the display interface 100 shown in FIG1 . When the user wants to check the power, the power status of the electronic device can be observed through the charging animation 103 set by the electronic device, the digital display 104 of the power set above the display screen, or the display 105 of the proportion of the charged amount in the battery capacity. When the power is fully charged to 100%, the user can unplug the charging cable in time.

在一些可能的实现中,在给电子设备充电的过程中,用户可能会发现会电子设备电量增长速率慢,或者出现电量不增长的现象,花费了较长的时间也未能找到其原因,故而不得不将电子设备带至专业检修场所,通过专业检修人员利用专用的检测仪器,检测出现此类充电异常现象的原因,而后才能给出解决该问题的建议。这样的处理方式,用户需要投入较多的时间的精力,效率低下,用户体验较差。In some possible implementations, during the process of charging an electronic device, the user may find that the power of the electronic device increases slowly or does not increase at all. After spending a long time, the user still cannot find the cause. Therefore, the user has to take the electronic device to a professional maintenance site. Professional maintenance personnel use special testing instruments to detect the cause of such abnormal charging phenomenon and then give suggestions for solving the problem. This processing method requires users to invest more time and energy, is inefficient, and has a poor user experience.

有鉴于此,本申请提出一种充电异常原因识别方法、电子设备、芯片系统、存储介质及程序产品,电子设备正在充电的情况下,可以响应于用户对电子设备第一界面上设置的用于触发电子设备执行充电异常原因识别流程的第一控件的触发,启动该流程,而后在第二界面显示包括充电异常原因和解决方案建议的识别结果。这样,用户在发现电子设备充电慢或停止充电等充电异常现象时,可以触发电子设备自动检测充电异常原因,并输出充电异常原因和解决建议,在一些场景中可能无需用户求助专业修理人员,有利于用户方便快捷的处理此类问题,有利于提升用户体验。In view of this, the present application proposes a method for identifying the cause of abnormal charging, an electronic device, a chip system, a storage medium and a program product. When the electronic device is charging, the process can be started in response to the user triggering the first control set on the first interface of the electronic device for triggering the electronic device to execute the abnormal charging cause identification process, and then the identification result including the abnormal charging cause and solution suggestions are displayed on the second interface. In this way, when the user finds abnormal charging phenomena such as slow charging or stopping charging of the electronic device, the electronic device can be triggered to automatically detect the cause of the abnormal charging, and output the abnormal charging cause and solution suggestions. In some scenarios, the user may not need to seek help from professional repair personnel, which is conducive to users to deal with such problems conveniently and quickly, and is conducive to improving user experience.

可选地,上述图1中所示出的充电方式和充电界面仅为示例性地,电子设备的充电方式还可以是无线充电,充电界面还可以设计为其他形式,本申请对此不作具体限定。Optionally, the charging method and charging interface shown in FIG. 1 are merely exemplary, and the electronic device may also be charged wirelessly, and the charging interface may also be designed in other forms, which is not specifically limited in this application.

为了便于理解本申请,下面首先对本申请涉及的电子设备进行介绍。在本申请实施例中,电子设备包括硬件层、运行在硬件层之上的操作系统层,以及运行在操作系统层上的应用层。该硬件层包括中央处理器(central processing unit,CPU)、内存管理单元(memory management unit,MMU)和内存(也称为主存)等硬件。该操作系统可以是任意一种或多种通过进程(process)实现业务处理的计算机操作系统,例如,Linux操作系统、Unix操作系统、Android操作系统、iOS操作系统或windows操作系统等。该应用层包含浏览器、通讯录、文字处理软件、即时通信软件等应用。In order to facilitate the understanding of the present application, the electronic device involved in the present application is first introduced below. In the embodiment of the present application, the electronic device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system. The application layer includes applications such as a browser, an address book, a word processing software, and an instant messaging software.

本申请实施例所涉及的电子设备,其软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。下面,以分层架构的Android系统为例,示例性说明电子设备的软件结构。The electronic device involved in the embodiments of the present application may have a software system that adopts a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. Below, the Android system with a layered architecture is taken as an example to illustrate the software structure of the electronic device.

图2是示例性的示出了本申请实施例提供的电子设备软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,硬件抽象层,以及内核层。FIG2 is an exemplary block diagram of the software structure of an electronic device provided in an embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, namely, the application layer, the application framework layer, the hardware abstraction layer, and the kernel layer from top to bottom.

应用程序层可以包括一系列应用程序包。应用程序层可以至少包括系统桌面应用,在本申请实施例中,系统桌面应用可以用于显示电量。The application layer may include a series of application packages. The application layer may include at least a system desktop application. In the embodiment of the present application, the system desktop application may be used to display the power level.

应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。例如可以至少包括电池管理服务(BatteryManagerService)和视图系统等。在本申请实施例中,电池管理服务可以用于在充电状态发生变化时,接收到来自硬件抽象层的通知,更新系统的电池状态信息,并向视图系统输出电量更新后的缓冲图像(buffer)。The application framework layer provides an application programming interface (API) and a programming framework for the applications of the application layer. The application framework layer includes some predefined functions. For example, it may include at least a battery management service (BatteryManagerService) and a view system. In an embodiment of the present application, the battery management service can be used to receive a notification from the hardware abstraction layer when the charging state changes, update the battery status information of the system, and output a buffered image (buffer) after the power is updated to the view system.

硬件抽象层可以包括电池访问接口和显示合成服务(surfaceflinger)等,应用层和应用程序框架层可以通过电池访问接口访问电池,电池、充电接口等硬件可以通过电池访问接口向上层传递电池电量相关信息。本申请实施例中,电池访问接口可以基于来自内核层电池接口驱动的充电状态通知,获取充电策略,并将该充电策略反馈给充电接口驱动;显示合成服务可以通视图系统获取图像buffer,以合成界面UI,通过显示驱动显示在显示屏。The hardware abstraction layer may include a battery access interface and a display synthesis service (surfaceflinger), etc. The application layer and the application framework layer may access the battery through the battery access interface, and the battery, charging interface and other hardware may pass battery charge related information to the upper layer through the battery access interface. In the embodiment of the present application, the battery access interface may obtain the charging strategy based on the charging status notification from the battery interface driver of the kernel layer, and feed the charging strategy back to the charging interface driver; the display synthesis service may obtain the image buffer through the image system to synthesize the interface UI, and display it on the display screen through the display driver.

内核层是硬件和软件之间的层。内核层至少包含充电接口驱动、显示驱动等。The kernel layer is the layer between hardware and software. The kernel layer at least includes the charging interface driver, display driver, etc.

电子设备还包括硬件层,本申请实施例中,硬件层中可以包括充电接口、电池和显示屏等,本申请对此不作限定。The electronic device also includes a hardware layer. In the embodiment of the present application, the hardware layer may include a charging port, a battery, a display screen, etc., but the present application does not limit this.

下面结合充电场景,示例性说明电子设备软件以及硬件的工作流程。The following is an example of the workflow of electronic device software and hardware in conjunction with the charging scenario.

当充电接口接入电源时,充电接口通过充电接口驱动将充电状态通知传递给硬件抽象层的电池访问接口,电池访问接口与充电线一侧的充电接口进行通信,识别充电协议,并确定充电器的类型和所能提供的最大电流、电压,将此充电策略通过充电接口驱动进行反馈,以使充电接口基于此充电策略进行充电。进一步地,电池访问接口还将通电状态信息反馈给应用程序框架层的电池管理服务,电池管理服务更新系统的电池状态信息,将电量变化后的图像buffer传递给视图系统,以便显示合成服务合成界面UI,在系统桌面应用显示充电进度和电量信息。这样,用户即可以通过显示屏查看充电过程中的电量变化。When the charging interface is connected to a power source, the charging interface passes the charging status notification to the battery access interface of the hardware abstraction layer through the charging interface driver. The battery access interface communicates with the charging interface on one side of the charging line, identifies the charging protocol, and determines the type of charger and the maximum current and voltage that can be provided. This charging strategy is fed back through the charging interface driver so that the charging interface can charge based on this charging strategy. Furthermore, the battery access interface also feeds back the power-on status information to the battery management service of the application framework layer. The battery management service updates the battery status information of the system and passes the image buffer after the power change to the view system in order to display the synthesis service synthesis interface UI, and display the charging progress and power information on the system desktop application. In this way, users can view the changes in power during the charging process through the display screen.

下面结合图3,从电子设备与云端服务器交互的角度,对本申请实施例提供的一种充电异常原因识别方法300进行详细说明。方法300中涉及的电子设备,其电子设备的软件架构可以如图2所示出的那样,硬件结构可以如图9所示出的那样。In conjunction with FIG3 , a charging abnormality cause identification method 300 provided in an embodiment of the present application is described in detail from the perspective of interaction between an electronic device and a cloud server. The electronic device involved in the method 300 may have a software architecture as shown in FIG2 , and a hardware structure as shown in FIG9 .

作为一种可能的场景,本申请实施例提供的电子设备,在充电界面中还设置有“充电异常检测”按钮(例如图4中所示出的控件401),用户在观察到电池电量增长缓慢或电量不增长的情况下,可以点击这一按钮,以触发电子设备充电异常原因识别的流程。As a possible scenario, the electronic device provided in the embodiment of the present application is also provided with a "Charging Abnormality Detection" button (such as the control 401 shown in Figure 4) in the charging interface. When the user observes that the battery power increases slowly or does not increase, the user can click this button to trigger the process of identifying the cause of the abnormal charging of the electronic device.

应理解,“充电异常检测”按钮的名称仅为示例,本申请对此名称不作限定,能实现上述功能的按钮,不论什么名称,均在本申请保护范围之内。It should be understood that the name of the "Charging Abnormality Detection" button is only an example, and this application does not limit this name. Any button that can achieve the above function, regardless of its name, is within the protection scope of this application.

可选地,在电子设备处于锁屏状态的情况下,“充电异常检测”按钮可以显示于显示屏上,例如图4所示出的那样,在电子设备处于解锁的状态的情况下,用户可以在任意界面(例如图5中的a所示的界面)通过下拉操作呼出通知栏(或称为状态栏,其界面可以如图5中的b所示),在充电进行过程中,该“充电异常检测”按钮可以常驻于通知栏,例如图5中的b中控件501所示出的那样。用户在观察到电池电量增长缓慢或电量不增长的情况下,可以通过下拉操作呼出通知栏,点击通知栏中的“充电异常检测”按钮,以触发电子设备进行充电异常检测。Optionally, when the electronic device is in a locked screen state, the "Charging Abnormality Detection" button may be displayed on the display screen, such as shown in FIG. 4. When the electronic device is in an unlocked state, the user may call out the notification bar (or status bar, whose interface may be shown in FIG. 5 b) by pulling down in any interface (such as the interface shown in FIG. 5 a). During the charging process, the "Charging Abnormality Detection" button may be resident in the notification bar, such as shown in the control 501 in FIG. 5 b. When the user observes that the battery power increases slowly or does not increase, the user may call out the notification bar by pulling down and click the "Charging Abnormality Detection" button in the notification bar to trigger the electronic device to perform charging abnormality detection.

在另一种可能的场景中,电子设备在接入电源进行充电的情况下,可以自行基于电量增长情况判断充电是否异常,并在检测出充电异常的情况下在屏幕顶部或其他任意位置弹窗显示“充电异常检测”按钮,以供用户选择是否进行充电异常检测。In another possible scenario, when the electronic device is connected to a power source for charging, it can determine whether the charging is abnormal based on the increase in power. If a charging abnormality is detected, a "Charging Abnormality Detection" button will pop up at the top of the screen or anywhere else for the user to choose whether to perform a charging abnormality detection.

在用户点击该“充电异常检测”按钮的情况下,电子设备执行方法300中对应的步骤。When the user clicks the “Charging Abnormality Detection” button, the electronic device executes the corresponding steps in method 300 .

方法300包括如下步骤:The method 300 includes the following steps:

S301、电子设备响应于用户操作,获取电子设备在时段1内的充电过程数据。S301 . The electronic device obtains charging process data of the electronic device in time period 1 in response to a user operation.

S302、电子设备向云端服务器传输电子设备的基本信息以及该充电过程数据,电子设备的基本信息中包括电子设备的型号1;对应地,云端服务器接收电子设备的基本信息和充电过程数据。S302, the electronic device transmits basic information of the electronic device and the charging process data to the cloud server, wherein the basic information of the electronic device includes the model 1 of the electronic device; correspondingly, the cloud server receives the basic information of the electronic device and the charging process data.

S303、云端服务器基于电子设备的型号1,获取与该型号1对应的判断条件。S303. The cloud server obtains a judgment condition corresponding to the model 1 based on the model 1 of the electronic device.

S304、云端服务器基于该判断条件,判断该充电过程数据中是否存在至少一个数据不满足判断条件中为该数据设定的门限值,判断条件是基于群体用户上报的充电过程数据通过决策树得到的。S304. The cloud server determines, based on the judgment condition, whether there is at least one data in the charging process data that does not satisfy the threshold value set for the data in the judgment condition, wherein the judgment condition is obtained through a decision tree based on the charging process data reported by the group of users.

S305、在充电过程数据中存在至少一个数据不满足判断条件中为该数据设定的门限值的情况下,得到该数据对应的检测结果。S305: When there is at least one data in the charging process data that does not satisfy the threshold value set for the data in the judgment condition, obtain the detection result corresponding to the data.

S306、云端服务器向电子设备输出与该数据对应的检测结果。对应地,电子设备接收该检测结果。S306: The cloud server outputs the detection result corresponding to the data to the electronic device. Correspondingly, the electronic device receives the detection result.

S307、电子设备显示检测结果,检测结果包括充电异常原因和解决方法建议。S307. The electronic device displays the detection result, which includes the cause of the abnormal charging and a suggested solution.

可选地,显示检测结果的界面例如可以如图6所示出的那样,用户可以操作控件601,以选择是否执行该建议。Optionally, the interface displaying the detection result may be, for example, as shown in FIG. 6 , and the user may operate control 601 to select whether to execute the suggestion.

在一种可能的实现中,云端服务器维护有各个型号的电子设备所对应的充电异常原因判断条件,由于不同的电子设备在硬件和软件能力上可能有差别,充电速率以及充电过程数据可能存在差异,为不同的型号对应不同的判断条件,可以实现针对不同型号的电子设备的个性化适配,有利于提升充电异常原因的准确判别,也有利于给出准确的解决方法建议。In one possible implementation, the cloud server maintains the abnormal charging cause judgment conditions corresponding to each model of electronic device. Since different electronic devices may have different hardware and software capabilities, the charging rates and charging process data may differ. Different judgment conditions correspond to different models, which can achieve personalized adaptation for different models of electronic devices, which is conducive to improving the accurate judgment of the cause of abnormal charging and also conducive to providing accurate solution suggestions.

下面,以设备型号为型号1的电子设备为示例,对云端服务器获取针对型号1的电子设备的充电异常原因判断条件进行详细描述,这一流程可以如图7所示。这一流程可以执行于上述方法300之前。Below, taking the electronic device of model 1 as an example, the cloud server obtains the charging abnormality cause judgment condition for the electronic device of model 1 in detail, and this process can be shown in Figure 7. This process can be executed before the above method 300.

如图7所示,云端服务器获取设备型号为型号1的电子设备的群体用户充电过程数据集,该数据集为群体用户中各个用户分别在时段1内得到的充电过程数据,该充电过程数据中包括电量增长率(或者充电起始电量),基于该电量增长率进行识别,将时段1内电量增长率小于预设值1的用户数据确定为充电异常数据,进一步地,通过决策树模型分析该数据集中充电异常数据与充电正常数据之间的差异,利用通过构建决策树得到该型号的电子设备对应的充电异常原因判断条件。As shown in FIG7 , the cloud server obtains a group user charging process data set of an electronic device whose device model is model 1. The data set is the charging process data obtained by each user in the group user in time period 1. The charging process data includes a power growth rate (or a charging starting power). Based on the power growth rate, identification is performed, and user data whose power growth rate in time period 1 is less than a preset value 1 is determined as abnormal charging data. Furthermore, the difference between the abnormal charging data and the normal charging data in the data set is analyzed through a decision tree model, and the abnormal charging cause judgment condition corresponding to the electronic device of this model is obtained by constructing a decision tree.

可选地,时段1可以是10min,本申请对时段1的具体时长不作限定。Optionally, time period 1 may be 10 minutes, and this application does not limit the specific duration of time period 1.

可选地,充电过程数据可以包括如下表1中示出的参数中的全部或部分。Optionally, the charging process data may include all or part of the parameters shown in Table 1 below.

表1 充电过程数据表Table 1 Charging process data table

可选地,上述部分充电过程数据(或称为特征数据)的对应的异常原因(或称为特征类别)及解决方案建议可以如表2所示。Optionally, the corresponding abnormal causes (or characteristic categories) and solution suggestions of the above-mentioned partial charging process data (or characteristic data) may be as shown in Table 2.

表2 充电过程数据与异常原因、解决方案建议的对应关系表Table 2 Correspondence between charging process data, abnormal causes, and solution suggestions

在一种可能的实现中,可以利用包括有一定数量的充电正常数据和一定数量的充电异常数据的、设备型号为型号1的电子设备的群体用户充电过程数据集构建决策树,示例性地,决策树算法可以根据充电过程数据集中每种数据计算该种数据对应的信息增益,将信息增益最大的数据最为分割的节点,直至不存在满足分割条件的数据,这一算法可以称为迭代二叉树3代(iterative dichotomiser 3,ID3)算法。In a possible implementation, a decision tree may be constructed using a charging process data set of a group of users of an electronic device of model 1, which includes a certain amount of normal charging data and a certain amount of abnormal charging data. Exemplarily, the decision tree algorithm may calculate the information gain corresponding to each type of data in the charging process data set, and use the data with the largest information gain as the node for segmentation until there is no data that meets the segmentation condition. This algorithm may be called an iterative dichotomiser 3 (ID3) algorithm.

示例性地,图8示例性的示出决策树分割节点的过程。Exemplarily, FIG8 illustrates an exemplary process of splitting nodes of a decision tree.

如图8所示,云端服务器收集的、群体用户上报的充电过程数据的数据集中可以包括8327548个充电正常的数据和672452个充电异常的数据,在这900万个样本(一个用户的充电过程数据称为一个样本)中,决策树根据上述ID3算法,计算这900万个样本中每个样本所包括的多个充电过程数据的信息增益,例如信息增益最大的数据为“用户界面显示的充电起始电量”且该数据以取值4.5为分割条件,分割后,在用户界面显示的充电起始电量小于或等于4.5的样本中包括96298个充电正常的数据和235418个充电异常的数据,也就是说充电异常的数据在用户界面显示的充电起始电量小于或等于4.5的样本中的比例约为71%,在用户界面显示的充电起始电量大于4.5的样本中包括8231250个充电正常的数据和437034个充电异常的数据,也就是说充电异常的数据在用户界面显示的充电起始电量大于4.5的样本中的比例约为5%。As shown in FIG8 , the data set of charging process data collected by the cloud server and reported by group users may include 8,327,548 pieces of normal charging data and 672,452 pieces of abnormal charging data. In these 9 million samples (the charging process data of one user is called one sample), the decision tree calculates the information gain of the multiple charging process data included in each of the 9 million samples according to the above-mentioned ID3 algorithm. For example, the data with the largest information gain is "the charging start power displayed on the user interface" and the data is segmented with a value of 4.5. After segmentation, the samples in which the charging start power displayed on the user interface is less than or equal to 4.5 include 96,298 pieces of normal charging data and 235,418 pieces of abnormal charging data, that is, the proportion of abnormal charging data in the samples in which the charging start power displayed on the user interface is less than or equal to 4.5 is about 71%, and the samples in which the charging start power displayed on the user interface is greater than 4.5 include 8,231,250 pieces of normal charging data and 437,034 pieces of abnormal charging data, that is, the proportion of abnormal charging data in the samples in which the charging start power displayed on the user interface is greater than 4.5 is about 5%.

进一步地,再分别针对用户界面显示的检测过程起始电量小于或等于4.5的样本、用户界面显示的检测过程起始电量大于4.5的样本,计算每个样本对应的充电过程数据的信息增益。示例性地,如图6所示,在用户界面显示的充电起始电量小于或等于4.5的样本中,信息增益最大的数据例如可以是“检测过程中亮屏时长占总检测时长的比例”且该数据以取值97.5为分割条件,在检测过程中亮屏时长占总检测时长的比例大于97.5的样本中包括32967个充电正常的数据和234079个充电异常的数据,也就是说充电异常的数据在检测过程中亮屏时长占总检测时长的比例大于97.5的样本中的比例约为87%;而在检测过程中亮屏时长占总检测时长的比例小于或等于97.5的样本中包括63331个充电正常的数据和1339个充电异常的数据,也就是说充电异常的数据在检测过程中亮屏时长占总检测时长的比例大于97.5的样本中的比例约为2%。Furthermore, for samples whose initial power level of the detection process displayed on the user interface is less than or equal to 4.5 and samples whose initial power level of the detection process displayed on the user interface is greater than 4.5, the information gain of the charging process data corresponding to each sample is calculated. Exemplarily, as shown in FIG6 , in the samples in which the charging starting power displayed on the user interface is less than or equal to 4.5, the data with the largest information gain may be, for example, “the proportion of the screen-on time in the detection process to the total detection time” and the data is segmented based on the value of 97.5. The samples in which the proportion of the screen-on time in the detection process to the total detection time is greater than 97.5 include 32,967 normal charging data and 234,079 abnormal charging data, that is, the proportion of abnormal charging data in the samples in which the proportion of the screen-on time in the detection process to the total detection time is greater than 97.5 is approximately 87%; and the samples in which the proportion of the screen-on time in the detection process to the total detection time is less than or equal to 97.5 include 63,331 normal charging data and 1,339 abnormal charging data, that is, the proportion of abnormal charging data in the samples in which the proportion of the screen-on time in the detection process to the total detection time is greater than 97.5 is approximately 2%.

在用户界面显示的充电起始电量大于4.5的样本中,信息增益最大的数据例如可以是“检测结束时电量”且该数据以取值80.5为分割条件,在检测结束时电量小于或等于80.5的样本中包括129413个充电正常的数据和345311个充电异常的数据,也就是说充电异常的数据在检测结束时电量小于或等于80.5的样本中所占的比例约为73%;而在检测结束时电量大于80.5的样本中包括6937107个充电正常的数据和91723个充电异常的数据,也就是说充电异常的数据在检测结束时电量大于80.5的样本中的比例约为1%。Among the samples with a charging starting power greater than 4.5 displayed on the user interface, the data with the largest information gain may be, for example, the "power at the end of detection" and the data is segmented based on the value of 80.5. The samples with a power less than or equal to 80.5 at the end of detection include 129,413 normal charging data and 345,311 abnormal charging data, that is, the proportion of abnormal charging data in the samples with a power less than or equal to 80.5 at the end of detection is approximately 73%; and the samples with a power greater than 80.5 at the end of detection include 6,937,107 normal charging data and 91,723 abnormal charging data, that is, the proportion of abnormal charging data in the samples with a power greater than 80.5 at the end of detection is approximately 1%.

进一步地,还可以针对检测过程中亮屏时长占总检测时长的比例大于97.5的样本、检测过程中亮屏时长占总检测时长的比例小于或等于97.5的样本、检测结束时电量小于或等于80.5的样本、检测结束时电量大于80.5的样本,计算每个样本对应的数据的信息增益,并根据信息增益最大的数据继续分割节点,其部分割过程可以如图6所示,此处不再赘述。Furthermore, for samples in which the proportion of screen-on time during the detection process to the total detection time is greater than 97.5, samples in which the proportion of screen-on time during the detection process to the total detection time is less than or equal to 97.5, samples in which the battery level is less than or equal to 80.5 at the end of the detection, and samples in which the battery level is greater than 80.5 at the end of the detection, the information gain of the data corresponding to each sample can be calculated, and the nodes can be further split according to the data with the largest information gain. The partial splitting process can be shown in Figure 6, which will not be repeated here.

在一种可能的实现中,可以将充电正常的数据数量为0和/或充电异常的数据数量为0,作为结束分割节点的条件。In a possible implementation, the number of data indicating normal charging is 0 and/or the number of data indicating abnormal charging is 0 can be used as a condition for ending the node splitting.

在一种可能的实现中,可以将分割节点处充电异常数据所占的比例大于阈值1的节点分割条件作为充电异常原因是否为该节点所对应的数据类别的判断条件。In a possible implementation, the node splitting condition that the proportion of abnormal charging data at the splitting node is greater than a threshold value 1 may be used as a judgment condition for whether the cause of the abnormal charging is the data category corresponding to the node.

可选地,在阈值1为50%的情况下,结合表2,可以将检测过程中亮屏时长占总检测时长的比例(son)是否大于97.5作为充电异常原因是否为亮屏充电的判断条件,可以将用户界面显示的充电起始电量(suisoc)是否小于或等于4.5、检测开始时电量(selectric)是否大于80.5、或者检测结束时电量(felectric)是否小于或等于80.5作为充电异常原因是否为充电电流影响的判断条件,可以将检测过程中系统最大温度(system_h)是否大于37.5作为充电异常原因是否为充电温度过高的判断条件,可以将检测过程中后台运行的应用中功耗最大的应用的功耗(app_energy)是否大于12317.5作为充电异常原因是否为后台应用耗电的判断条件,本申请对阈值1的取值不作具体限定。Optionally, when threshold 1 is 50%, in combination with Table 2, whether the ratio of the screen-on time during the detection process to the total detection time (son) is greater than 97.5 can be used as a judgment condition for whether the cause of the charging abnormality is charging with the screen on; whether the charging start power (suisoc) displayed on the user interface is less than or equal to 4.5, whether the power at the start of the detection (selectric) is greater than 80.5, or whether the power at the end of the detection (felectric) is less than or equal to 80.5 can be used as a judgment condition for whether the cause of the charging abnormality is the influence of the charging current; whether the maximum system temperature (system_h) during the detection process is greater than 37.5 can be used as a judgment condition for whether the cause of the charging abnormality is too high a charging temperature; whether the power consumption (app_energy) of the application with the largest power consumption among the applications running in the background during the detection process is greater than 12317.5 can be used as a judgment condition for whether the cause of the charging abnormality is power consumption of the background application. This application does not specifically limit the value of threshold 1.

应理解,上文所描述的检测过程可以是指时段1期间,时段1例如可以是10分钟。It should be understood that the detection process described above may refer to the period 1, and the period 1 may be, for example, 10 minutes.

在一种可能的实现方式中,电子设备上报的充电过程数据可以是表1中所示出的全部数据。In a possible implementation, the charging process data reported by the electronic device may be all the data shown in Table 1.

在另一种可能的实现中,电子设备上报的充电过程数据可以是与云端服务器筛选出的判断条件相关的数据,这样,有利于节约电子设备信令开销和能耗。In another possible implementation, the charging process data reported by the electronic device may be data related to the judgment conditions screened by the cloud server, which is helpful to save the signaling overhead and energy consumption of the electronic device.

示例性地,一些实现中,充电异常原因判断条件、充电异常原因及解决方法建议的对应可以包括一下一项或多项:判断检测过程中亮屏时长占总检测时长的比例是否大于97.5,若是,则充电异常原因为亮屏充电,解决方法建议可以是熄灭屏幕;判断检测过程中最大系统温度是否大于37.5,若是,则充电异常原因为充电温度过高,解决方法建议可以是暂停充电,待电子设备降温后再充电;判断检测过程中后台运行的应用中功耗最大的应用的功耗是否大于12317.5,若是,则充电异常原因为后台应用耗电,解决方法建议可以是清理后台应用进程;判断用户界面显示的充电起始电量是否小于或等于4.5、检测开始时电量是否大于80.5、检测结束时电量是否小于或等于80.5、检测过程中电流峰值是否小于80.5,若存在任一项是,则充电异常原因是充电电流影响,解决方法建议可以是更换充电器、更换电源或到网点检修。Exemplarily, in some implementations, the correspondence between the conditions for judging the cause of abnormal charging, the cause of abnormal charging and the suggested solution may include one or more of the following: judging whether the proportion of the screen-on time in the detection process to the total detection time is greater than 97.5, if so, the cause of the abnormal charging is charging with the screen on, and the suggested solution may be to turn off the screen; judging whether the maximum system temperature in the detection process is greater than 37.5, if so, the cause of the abnormal charging is that the charging temperature is too high, and the suggested solution may be to suspend charging and charge the electronic device after it cools down; judging whether the power consumption of the application with the highest power consumption among the applications running in the background during the detection process is greater than 12317.5, if so, the cause of the abnormal charging is the power consumption of the background application, and the suggested solution may be to clean up the background application process; judging whether the starting charging power displayed on the user interface is less than or equal to 4.5, whether the power at the start of the detection is greater than 80.5, whether the power at the end of the detection is less than or equal to 80.5, and whether the current peak during the detection process is less than 80.5, if any of the items is yes, the cause of the abnormal charging is the influence of the charging current, and the suggested solution may be to replace the charger, replace the power supply or go to the outlet for maintenance.

在一种可能的实现中,电子设备在上述S307之后,可以自动基于充电异常对应的解决方案建议进行处理。例如在充电异常原因为亮屏充电的情况下电子设备可以自动熄屏或响应于用户选择执行熄屏,在充电异常原因为后台应用耗电的情况下,电子设备可以自动清理后台应用进程或响应于用户选择(例如用户触发如图6中的控件601)执行清理后台应用的流程,这样,电子设备的自动化程度更高,有利于提升用户体验。In a possible implementation, after S307, the electronic device can automatically handle the charging abnormality based on the solution suggestion corresponding to the abnormality. For example, if the abnormal charging reason is charging with the screen on, the electronic device can automatically turn off the screen or respond to the user's selection to turn off the screen. If the abnormal charging reason is power consumption of background applications, the electronic device can automatically clean up the background application process or respond to the user's selection (for example, the user triggers the control 601 in Figure 6) to execute the process of cleaning up the background application. In this way, the electronic device has a higher degree of automation, which is conducive to improving the user experience.

在一种可能的实现中,云端服务器可以基于群体用户最新上报的充电过程数据集,对判断条件进行更新,也就是说,各个型号的电子设备,其对应的充电异常判断条件不是一成不变的,而是可以持续更新的。In one possible implementation, the cloud server can update the judgment conditions based on the latest charging process data set reported by the group users. That is to say, the corresponding charging abnormality judgment conditions for each model of electronic device are not fixed, but can be continuously updated.

值得注意的是,上述方法300中由云端服务器执行的步骤也可以由电子设备执行。此种情况下,充电异常原因判断条件、充电异常原因及解决方法建议的对应关系可以由电子设备自行维护,云端服务器在对这一对应关系的内容进行更新之后,可以通过系统更新或参数更新的方式下发给电子设备,本申请对此更新方式不作限定。It is worth noting that the steps executed by the cloud server in the above method 300 can also be executed by the electronic device. In this case, the corresponding relationship between the charging abnormality cause judgment condition, the charging abnormality cause and the solution suggestion can be maintained by the electronic device itself. After the cloud server updates the content of this corresponding relationship, it can send it to the electronic device through system update or parameter update. This application does not limit this update method.

下面,对本申请实施例提供的又一种充电异常原因识别方法进行详细说明。该方法可以应用于电子设备,该电子设备的软件结构可以如图2所示出的那样,硬件结构可以如图9示出的那样。Next, another method for identifying the cause of abnormal charging provided by an embodiment of the present application is described in detail. The method can be applied to an electronic device, the software structure of the electronic device can be as shown in FIG. 2 , and the hardware structure can be as shown in FIG. 9 .

该方法包括:在电子设备正在充电的情况下,显示第一界面,第一界面包括第一控件,第一控件被触发时,电子设备执行充电异常原因识别流程;响应于对第一控件的触发操作,显示第二界面,第二界面包括识别结果,识别结果包括充电异常原因和解决方案建议。The method includes: when the electronic device is charging, displaying a first interface, the first interface includes a first control, when the first control is triggered, the electronic device executes a charging abnormality cause identification process; in response to the triggering operation of the first control, displaying a second interface, the second interface includes an identification result, and the identification result includes the charging abnormality cause and a solution suggestion.

可选地,第一界面例如可以是图4所示出的那样,第一控件例如可以是图4中的控件401,第一界面还可以是图5中的b所示出的那样,第一控件例如可以是图5中的b所示出的控件501,第一界面以及第一界面中的第一控件还可以其他形式,本申请对此不作限定。Optionally, the first interface may be, for example, as shown in Figure 4, the first control may be, for example, control 401 in Figure 4, the first interface may also be as shown in b in Figure 5, the first control may be, for example, control 501 shown in b in Figure 5, the first interface and the first control in the first interface may also be in other forms, which are not limited in the present application.

可选地,第二界面例如可以图6所示出的那样,但本申请对此不作限定。Optionally, the second interface may be as shown in FIG. 6 , for example, but the present application does not limit this.

本申请实施例中,用户在发现电子设备充电慢或停止充电等充电异常现象时,可以触发电子设备自动检测充电异常原因,并输出充电异常原因和解决建议,在一些场景中可能无需用户求助专业修理人员,有利于用户方便快捷的处理此类问题,有利于提升用户体验。In the embodiments of the present application, when a user discovers that an electronic device is charging slowly or stops charging, for example, the electronic device can be triggered to automatically detect the cause of the abnormal charging and output the cause and solution suggestions. In some scenarios, the user may not need to seek help from professional repair personnel, which is beneficial for the user to deal with such problems conveniently and quickly, and is beneficial for improving the user experience.

进一步地,第一控件的设置旨在为用户发现充电异常现象后,通过用户主动选择,触发充电异常原因识别流程,而后提供识别结果。如果电子设备在接入充电后主动识别充电是否异常并显示识别结果,可能出现用户不觉得充电异常但显示了充电异常原因的现象,给用户带来疑惑,影响用户用机体验。故而本申请实施例设置第一控件供用户触发,在用户已经认为充电异常之后进行识别、提供识别结果,有利于提升用户体验与用机满意度。Furthermore, the setting of the first control is intended to trigger the charging abnormality cause identification process through the user's active selection after the user discovers the charging abnormality, and then provide the identification result. If the electronic device actively identifies whether the charging is abnormal and displays the identification result after connecting to the charger, the user may not feel that the charging is abnormal but the cause of the charging abnormality is displayed, which may cause confusion to the user and affect the user's experience of using the device. Therefore, the embodiment of the present application sets the first control for the user to trigger, and performs identification and provides identification results after the user has already considered the charging abnormality, which is conducive to improving the user experience and satisfaction with the device.

应理解,这里描述充电相关数据与上文描述的充电过程数据可以是相同的含义,这里描述的识别结果与上文描述的检测结果也可以是相同的含义,这里描述的预设条件与上文描述的判断条件可以是相同的含义,这里描述的第一数据与上文描述的至少一个数据可以是相同的含义,后续不再重复说明。It should be understood that the charging-related data described here may have the same meaning as the charging process data described above, the identification result described here may have the same meaning as the detection result described above, the preset condition described here may have the same meaning as the judgment condition described above, and the first data described here may have the same meaning as at least one data described above, and the explanation will not be repeated later.

作为一个可选的实施例,第二界面还包括第二控件,第二控件用于选择是否执行与解决方案建议对应的流程。第二控件例如可以包括图6中示出的控件601和控件602,用户可以通过触发控件601,以指示电子设备执行与解决方案建议对应的流程,或者用户也可以通过触发控件602放弃该流程,本申请对此不作限定。As an optional embodiment, the second interface also includes a second control, and the second control is used to select whether to execute the process corresponding to the solution suggestion. The second control may include, for example, control 601 and control 602 shown in FIG. 6, and the user may trigger control 601 to instruct the electronic device to execute the process corresponding to the solution suggestion, or the user may trigger control 602 to abandon the process, and this application does not limit this.

本申请实施例中第二控件的设置,针对电子设备识别出的充电异常原因和解决方案建议,给用户可以一键执行或放弃的选择,在用户需要执行解决方案建议对应的流程时,无需用户进行其他操作,方便快捷,有利于快速解决问题。The setting of the second control in the embodiment of the present application provides the user with the option of executing or giving up with one click, with respect to the cause of abnormal charging and the solution suggestion identified by the electronic device. When the user needs to execute the process corresponding to the solution suggestion, the user does not need to perform other operations, which is convenient and quick, and is conducive to quickly solving the problem.

作为一个可选的实施例,第一界面为电子设备的锁屏界面,例如图4示出的那样、通知栏界面,例如图5中的b所示出的那样,或设置应用界面。As an optional embodiment, the first interface is a lock screen interface of the electronic device, such as that shown in FIG. 4 , a notification bar interface, such as that shown in b in FIG. 5 , or an application settings interface.

作为一个可选的实施例,在显示第二桌面之前,方法还包括:获取预设时间段内电子设备的充电相关数据;向云端服务器上传充电相关数据;接收来自云端服务器的识别结果,识别结果是云端服务器基于第一充电数据查找预设映射关系得到的,预设映射关系包括充电相关数据中的每个数据与各自对应的识别结果之间的映射关系,充电相关数据中包括第一充电数据,第一充电数据不满足预设条件中为第一充电数据设置的门限条件,预设条件是云端服务器利用决策树对群体用户的充电相关数据进行分析得到的。As an optional embodiment, before displaying the second desktop, the method also includes: obtaining charging-related data of the electronic device within a preset time period; uploading the charging-related data to a cloud server; receiving an identification result from the cloud server, the identification result being obtained by the cloud server searching for a preset mapping relationship based on the first charging data, the preset mapping relationship including a mapping relationship between each data in the charging-related data and each corresponding identification result, the charging-related data including first charging data, the first charging data not satisfying a threshold condition set for the first charging data in a preset condition, the preset condition being obtained by the cloud server analyzing the charging-related data of a group of users using a decision tree.

预设时间段例如可以是第一控件被触发之后的时间段,预设时间段与上文时段1含义可以相似,预设时间段的时长可以是10分钟。The preset time period may be, for example, a time period after the first control is triggered. The preset time period may be similar to the above time period 1, and the duration of the preset time period may be 10 minutes.

这样,在用户发现电子设备充电异常的情况下,可以通过触发异常原因识别流程来使得电子设备自行检测充电异常原因,可以无需用户自行分析,在一些简单场景下可以无需求助网点,有利于提升用户体验。In this way, when a user finds that the electronic device is charging abnormally, the abnormal cause identification process can be triggered to enable the electronic device to detect the cause of the abnormal charging by itself, without the need for the user to analyze it by themselves. In some simple scenarios, there is no need to seek help from outlets, which is conducive to improving user experience.

作为一个可选的实施例,在充电异常原因识别流程触发之后,电子设备还可以向云端服务器上传电子设备的设备类型信息;预设条件是云端服务器基于设备类型信息确定的,云端服务器维护有与不同设备类型信息对应的预设条件。As an optional embodiment, after the abnormal charging cause identification process is triggered, the electronic device can also upload the device type information of the electronic device to the cloud server; the preset condition is determined by the cloud server based on the device type information, and the cloud server maintains preset conditions corresponding to different device type information.

可选地,设备类型信息可以包括品牌名称、系列名称、设备的型号、设备序列号(serial number,SN)等,本申请对此不作限定。Optionally, the device type information may include a brand name, a series name, a model of the device, a device serial number (SN), etc., which is not limited in this application.

作为一个可选的实施例,充电相关数据包括以下一项或多项:与硬件温度有关的数据、与系统温度有关的数据、与前台应用功耗有关的数据、与后台应用功耗有关的数据、与充电器有关的数据、与充电设置有关的数据、与充电电流有关的数据、电池与电量相关数据或者与屏幕用电有关的数据。As an optional embodiment, the charging-related data includes one or more of the following: data related to hardware temperature, data related to system temperature, data related to foreground application power consumption, data related to background application power consumption, data related to the charger, data related to charging settings, data related to charging current, battery and power related data, or data related to screen power consumption.

具体地,与硬件温度有关的数据可以包括上文表1示出的序号1~序号5、以及序号45对应的数据,与系统温度有关的数据表1中序号13对应的数据,与前台应用功耗有关的数据可以是序号6~序号9对应的数据,与后台应用功耗有关的数据可以是表1中序号10~序号12对应的数据,与充电器有关的数据可以是表1中序号22、序号30、序号33、序号35、序号36、序号38、序号42对应的数据,与充电设置有关的数据可以包括表1中与序号18~序号21、序号43对应的数据,与充电电流有关的数据可以是表1中序号16、序号2、8序号31对应的数据,电池与电量相关数据可以是序号14、序号15、序号17、序号23、序号29、序号32、序号37、序号39、序号41以及序号44对应的数据,与屏幕用电有关的数据可以是序号26、序号27。Specifically, the data related to the hardware temperature may include the data corresponding to the serial numbers 1 to 5 and 45 shown in Table 1 above, the data related to the system temperature may include the data corresponding to the serial number 13 in Table 1, the data related to the foreground application power consumption may be the data corresponding to the serial numbers 6 to 9, the data related to the background application power consumption may be the data corresponding to the serial numbers 10 to 12 in Table 1, and the data related to the charger may be the data corresponding to the serial numbers 22, 30, 33, 35, 36, 38, The data corresponding to serial number 42 and the data related to the charging settings may include the data corresponding to serial numbers 18 to 21 and 43 in Table 1, the data related to the charging current may be the data corresponding to serial numbers 16, 2, 8 and 31 in Table 1, the data related to the battery and power may be the data corresponding to serial numbers 14, 15, 17, 23, 29, 32, 37, 39, 41 and 44, and the data related to the screen power consumption may be serial numbers 26 and 27.

作为一个可选的实施例,预设映射关系包括以下一项或多项:在第一充电数据包括与后台应用功耗有关的数据的情况下,与第一充电数据对应的识别结果中,充电异常原因包括后台应用耗电过高,解决方案建议包括清理后台应用;在第一充电数据包括与前台应用功耗有关的数据的情况下,与第一充电数据对应的识别结果中,充电异常原因包括前台应用耗电过高,解决方案建议包括关闭前台应用;在第一充电数据包括与硬件温度有关的数据和/或与系统温度有关的数据的情况下,与第一充电数据对应的识别结果中,充电异常原因包括充电温度过高,解决方案建议包括等待电子设备降温后再充电;在第一充电数据包括与屏幕用电有关的数据的情况下,与第一充电数据对应的识别结果中,充电异常原因包括屏幕耗电过高,解决方案建议包括熄灭电子设备屏幕;在第一充电数据包括与充电器有关的数据的情况下,与第一充电数据对应的识别结果中,充电异常原因包括充电器不适配,解决方案建议包括更换充电器;或者,在第一充电数据包括与充电设置有关的数据和/或与充电电流有关的数据的情况下,与第一充电数据对应的识别结果中,充电异常原因包括充电电流不满足要求,解决方案建议包括更换充电器或送网点检修。As an optional embodiment, the preset mapping relationship includes one or more of the following: when the first charging data includes data related to the power consumption of background applications, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes that the background application consumes too much power, and the solution suggestion includes cleaning up the background application; when the first charging data includes data related to the power consumption of foreground applications, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes that the foreground application consumes too much power, and the solution suggestion includes closing the foreground application; when the first charging data includes data related to hardware temperature and/or data related to system temperature, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes that the charging temperature is too high, and the solution suggestion includes Including waiting for the electronic device to cool down before charging; when the first charging data includes data related to screen power consumption, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes excessive screen power consumption, and the solution suggestion includes turning off the screen of the electronic device; when the first charging data includes data related to the charger, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes incompatible charger, and the solution suggestion includes replacing the charger; or, when the first charging data includes data related to charging settings and/or data related to charging current, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes charging current not meeting requirements, and the solution suggestion includes replacing the charger or sending it to a network point for repair.

在一些实现中,预设映射关系可以是研发人员总结的,也可以是云端服务器根据群体用户历史反馈的充电异常大数据分析得到的,本申请对得到该预设映射关系的方式不作限定。In some implementations, the preset mapping relationship may be summarized by R&D personnel, or may be obtained by a cloud server based on a big data analysis of charging anomalies based on historical feedback from group users. This application does not limit the method for obtaining the preset mapping relationship.

示例性地,表2示出了部分具体的充电相关数据对应的识别结果。Exemplarily, Table 2 shows the recognition results corresponding to some specific charging-related data.

本申请实施例还提供了一种充电异常原因识别方法,该系统包括电子设备和云端服务器,该电子设备的软件架构可以如图2所示出的那样,硬件结构可以如图9所示出的那样。An embodiment of the present application also provides a method for identifying the cause of abnormal charging. The system includes an electronic device and a cloud server. The software architecture of the electronic device can be as shown in FIG. 2 , and the hardware structure can be as shown in FIG. 9 .

该方法包括,在电子设备正在充电的情况下,电子设备响应于用户操作,获取预设时间段内电子设备的充电相关数据,并向云端服务器上传充电相关数据;云端服务器接收该充电相关数据,并基于预设条件,判断充电相关数据中的每个数据是否均满足各自对应的门限条件,预设条件是云端服务器利用决策树对群体用户的充电相关数据进行分析得到的;云端服务器在判断出第一充电数据不满足预设条件中为第一充电数据设置的门限条件的情况下,基于第一充电数据查找预设映射关系,得到与第一充电数据对应的识别结果,充电相关数据包括第一充电数据,预设映射关系包括充电相关数据中的每个数据与各自对应的识别结果之间的映射关系;云端服务器向电子设备发送识别结果;电子设备接收并显示识别结果,识别结果包括充电异常原因和解决方案建议。The method includes: when the electronic device is being charged, the electronic device responds to user operations, obtains charging-related data of the electronic device within a preset time period, and uploads the charging-related data to a cloud server; the cloud server receives the charging-related data, and based on preset conditions, determines whether each data in the charging-related data meets the corresponding threshold conditions, the preset conditions are obtained by the cloud server using a decision tree to analyze the charging-related data of a group of users; when the cloud server determines that the first charging data does not meet the threshold conditions set for the first charging data in the preset conditions, the cloud server searches for a preset mapping relationship based on the first charging data to obtain an identification result corresponding to the first charging data, the charging-related data includes the first charging data, and the preset mapping relationship includes a mapping relationship between each data in the charging-related data and the corresponding identification results; the cloud server sends the identification result to the electronic device; the electronic device receives and displays the identification result, the identification result includes the cause of the abnormal charging and a solution suggestion.

可选地,用户操作可以是指用户触发上文描述的第一控件。Optionally, the user operation may refer to the user triggering the first control described above.

作为一个可选的实施例,在电子设备向云端服务器上传充电相关数据之前,方法还包括:云端服务器获取群体用户上报的充电相关数据,群体用户的充电相关数据中包括充电正常数据和充电异常数据;云端服务器利用群体用户的充电相关数据构建决策树;将决策树中,节点的样本量满足第一阈值和/或节点的充电异常数据占样本量的比例满足第二阈值的充电相关数据及其对应的节点门限条件作为预设条件。As an optional embodiment, before the electronic device uploads charging-related data to the cloud server, the method also includes: the cloud server obtains charging-related data reported by a group of users, wherein the charging-related data of the group of users includes normal charging data and abnormal charging data; the cloud server constructs a decision tree using the charging-related data of the group of users; and the charging-related data and its corresponding node threshold conditions in the decision tree, in which the sample size of the node satisfies a first threshold and/or the proportion of abnormal charging data of the node in the sample size satisfies a second threshold, are used as preset conditions.

应理解,样本总量可以是指上报群体用户充电相关数据的群体用户的数量,每一个用户上报的充电相关数据可以是一个或多个,节点的样本量可以是指满足该节点条件的群体用户的数量。第一阈值可以理解为节点样本量占样本总量的比值,将这第一阈值作为预设条件的筛选条件,可以保证选中的节点具有一定的代表性,有利于提升基于预设条件得到的结果的准确程度。It should be understood that the total sample size may refer to the number of group users who report group user charging-related data, and each user may report one or more charging-related data. The sample size of a node may refer to the number of group users who meet the conditions of the node. The first threshold value may be understood as the ratio of the node sample size to the total sample size. Using this first threshold value as a screening condition for the preset condition can ensure that the selected node has a certain degree of representativeness, which is conducive to improving the accuracy of the results obtained based on the preset conditions.

可选地,第一阈值例如可以是样本总量的50%,第二阈值与上文阈值1可以具有相同的含义,但本申请对第一阈值和第二阈值的具体取值不作限定。Optionally, the first threshold may be, for example, 50% of the total sample volume, and the second threshold may have the same meaning as the above threshold 1, but the present application does not limit the specific values of the first threshold and the second threshold.

示例性地,本申请实施例中提供的构建决策树的具体方法可以参照图8以及与图8相关的文字描述,此处不再赘述。Exemplarily, the specific method for constructing a decision tree provided in the embodiments of the present application can refer to FIG. 8 and the text description related to FIG. 8 , which will not be repeated here.

作为一个可选的实施例,电子设备还向云端服务器上传电子设备的设备类型信息;云端服务器基于预设条件,判断充电相关数据中的每个数据是否均满足各自对应的门限条件之前,方法还包括:云端服务器该设备类型信息,并基于设备类型信息确定的与设备类型信息对应的预设条件,云端服务器维护有与不同设备类型信息各自对应的预设条件,每个预设条件是利用决策树对设备类型信息相同的群体用户的充电相关数据进行分析得到的。As an optional embodiment, the electronic device also uploads the device type information of the electronic device to the cloud server; before the cloud server determines whether each data in the charging-related data satisfies the corresponding threshold conditions based on the preset conditions, the method also includes: the cloud server obtains the device type information, and determines the preset conditions corresponding to the device type information based on the device type information, the cloud server maintains preset conditions corresponding to different device type information, and each preset condition is obtained by analyzing the charging-related data of a group of users with the same device type information using a decision tree.

也就是说,云端服务器针对不同的设备类型,维护不同的预设条件,这样,有利于减小由于设备类型不同、硬件软件能力不同却利用统一的预设条件进行判断,而导致的充电异常原因误判,有利于提升充电异常原因识别的准确性,有利于提升用户体验。In other words, the cloud server maintains different preset conditions for different device types. This helps reduce the misjudgment of the cause of abnormal charging due to the use of unified preset conditions for judgment due to different device types and different hardware and software capabilities, and helps improve the accuracy of identifying the cause of abnormal charging and improve user experience.

需要说明的是,本申请实施例所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据,并且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准,并提供有相应的操作入口,供用户选择授权或者拒绝。It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

上面已对本申请实施例的充电异常原因识别方法进行了说明,下面对本申请实施例提供的执行上述方法的装置进行描述。本领域技术人员可以理解,方法和装置可以相互结合和引用,本申请实施例提供的相关装置可以执行上述方法中的步骤。The above is a description of the method for identifying the cause of abnormal charging in the embodiment of the present application. The following is a description of the device for executing the above method provided in the embodiment of the present application. Those skilled in the art can understand that the method and the device can be combined and referenced with each other, and the relevant device provided in the embodiment of the present application can execute the steps in the above method.

图9示出了本申请实施例提供的一种电子设备900的硬件结构的示意图。如图9所示,电子设备可以包括处理器910,存储器920,显示屏930,传感器模块940,通用串行总线(universal serial bus,USB)接口950,充电管理模块960,电源管理模块961,电池962等。Fig. 9 shows a schematic diagram of the hardware structure of an electronic device 900 provided in an embodiment of the present application. As shown in Fig. 9, the electronic device may include a processor 910, a memory 920, a display screen 930, a sensor module 940, a universal serial bus (USB) interface 950, a charging management module 960, a power management module 961, a battery 962, etc.

处理器910可以包括一个或多个处理单元,例如:处理器910可以包括中央处理器(central processing unit, CPU)应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signalprocessor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 910 may include one or more processing units, for example, the processor 910 may include a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

存储器920可以用于存储计算机可执行程序代码,可执行程序代码包括指令,例如本申请实施例中的方法所对应的程序代码。The memory 920 may be used to store computer executable program codes, where the executable program codes include instructions, such as program codes corresponding to the methods in the embodiments of the present application.

显示屏930用于显示图像,视频等。显示屏930包括显示面板。在一些实施例中,电子设备可以包括1个或Q个显示屏930,Q为大于1的正整数。电子设备通过GPU,显示屏930,以及应用处理器等实现显示功能。本申请实施例中,显示屏930可以用于显示第一控件、第二控件、以及识别结果等。The display screen 930 is used to display images, videos, etc. The display screen 930 includes a display panel. In some embodiments, the electronic device may include 1 or Q display screens 930, where Q is a positive integer greater than 1. The electronic device implements the display function through a GPU, a display screen 930, and an application processor. In the embodiment of the present application, the display screen 930 can be used to display the first control, the second control, and the recognition result.

应理解,为了实现上述实施例所描述的功能,电子设备可以包含执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的方法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It should be understood that in order to implement the functions described in the above embodiments, the electronic device may include hardware structures and/or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the method steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

本申请实施例可以根据上述方法示例对实现该方法的装置进行功能模块的划分,例如可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application can divide the functional modules of the device implementing the method according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

本申请实施例提供的充电异常原因识别方法,可以应用于可以充电的电子设备中,电子设备的软件结构可以如图2中所示出的那样,硬件结构可以如图9中所示出的那样,电子设备的具体形态可以参照上文的说明,此处不再赘述。The method for identifying the cause of abnormal charging provided in the embodiment of the present application can be applied to electronic devices that can be charged. The software structure of the electronic device can be as shown in Figure 2, and the hardware structure can be as shown in Figure 9. The specific form of the electronic device can refer to the above description and will not be repeated here.

图10示例性的示出了实施例提供的一种芯片1000的结构示意图。芯片1000包括一个或两个以上(包括两个)处理器1001、通信线路1002、通信接口1003和存储器1004。10 exemplarily shows a schematic diagram of the structure of a chip 1000 provided in an embodiment. The chip 1000 includes one or more (including two) processors 1001 , a communication line 1002 , a communication interface 1003 and a memory 1004 .

在一些实施方式中,存储器1004存储了如下的元素:可执行模块或者数据结构,或者他们的子集,或者他们的扩展集。In some implementations, the memory 1004 stores the following elements: executable modules or data structures, or a subset thereof, or an extended set thereof.

上述本申请实施例描述的方法可以应用于处理器1001中,或者由处理器1001实现。处理器1001可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1001中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1001可以是通用处理器(例如,微处理器或常规处理器)、数字信号处理器(digitalsignal processing,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field-programmable gate array,FPGA)或者其他可编程逻辑器件、分立门、晶体管逻辑器件或分立硬件组件,处理器1001可以实现或者执行本申请实施例中的公开的各处理相关的方法、步骤及逻辑框图。The method described in the above embodiment of the present application can be applied to the processor 1001, or implemented by the processor 1001. The processor 1001 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 1001 or an instruction in the form of software. The above processor 1001 can be a general processor (for example, a microprocessor or a conventional processor), a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), a field-programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gates, transistor logic devices or discrete hardware components. The processor 1001 can implement or execute the methods, steps and logic block diagrams related to each processing disclosed in the embodiment of the present application.

结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。其中,软件模块可以位于随机存储器、只读存储器、可编程只读存储器或带电可擦写可编程存储器(electricallyerasable programmable read only memory,EEPROM)等本领域成熟的存储介质中。该存储介质位于存储器1004,处理器1001读取存储器1004中的信息,结合其硬件完成上述方法的步骤。The steps of the method disclosed in the embodiment of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. Among them, the software module can be located in a mature storage medium in the field such as a random access memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable read only memory (EEPROM). The storage medium is located in the memory 1004, and the processor 1001 reads the information in the memory 1004 and completes the steps of the above method in combination with its hardware.

处理器1001、存储器1004以及通信接口1003之间可以通过通信线路1002进行通信。The processor 1001 , the memory 1004 , and the communication interface 1003 may communicate with each other via the communication line 1002 .

在上述实施例中,存储器存储的供处理器执行的指令可以采用计算机程序产品的形式实现。其中,计算机程序产品可以是事先写入在存储器中,也可以是以软件形式下载并安装在存储器中。In the above embodiments, the instructions stored in the memory for execution by the processor may be implemented in the form of a computer program product, wherein the computer program product may be pre-written in the memory, or may be downloaded and installed in the memory in the form of software.

在本申请的实施例中,上述芯片1000也可以是芯片系统,例如:片上系统(systemon chip,SOC),本申请对此不做限定。In the embodiment of the present application, the chip 1000 may also be a chip system, such as a system on chip (SOC), which is not limited in the present application.

本申请实施例提供一种电子设备,该电子设备包括:包括:一个或多个处理器和存储器;存储器与一个或多个处理器耦合,存储器存储计算机程序代码,计算机程序代码包括计算机指令;一个或多个处理器调用计算机指令以使得电子设备执行上述实施例中的方法。An embodiment of the present application provides an electronic device, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory stores computer program code, and the computer program code includes computer instructions; the one or more processors call the computer instructions to enable the electronic device to execute the method in the above embodiment.

本申请实施例提供一种芯片或芯片系统。芯片或芯片系统应用于电子设备,该芯片或芯片系统包括一个或多个处理器,一个或多个处理器用于调用计算机指令以使得电子设备执行上述实施例中的方法。其实现原理和技术效果与上述相关实施例类似,此处不再赘述。The embodiment of the present application provides a chip or a chip system. The chip or chip system is applied to an electronic device, and the chip or chip system includes one or more processors, and the one or more processors are used to call computer instructions to enable the electronic device to execute the method in the above embodiment. Its implementation principle and technical effect are similar to those of the above-mentioned related embodiments, and will not be repeated here.

本申请实施例还提供了一种计算机可读存储介质。计算机可读存储介质包括计算机指令。当该计算机指令在电子设备上运行时,使得电子设备执行上述实施例中的方法。上述实施例中描述的方法可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。如果在软件中实现,则功能可以作为一个或多个指令或代码存储在计算机可读介质上或者在计算机可读介质上传输。计算机可读介质可以包括计算机存储介质和通信介质,还可以包括任何可以将计算机程序从一个地方传送到另一个地方的介质。存储介质可以是可由计算机访问的任何目标介质。The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium includes computer instructions. When the computer instructions are run on an electronic device, the electronic device executes the method in the above embodiment. The method described in the above embodiment can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the function can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.

一种可能的实现方式中,计算机可读介质可以包括RAM,ROM,只读光盘(compactdisc read-only memory,CD-ROM)或其它光盘存储器,磁盘存储器或其它磁存储设备,或目标于承载的任何其它介质或以指令或数据结构的形式存储所需的程序代码,并且可由计算机访问。而且,任何连接被适当地称为计算机可读介质。例如,如果使用同轴电缆,光纤电缆,双绞线,数字用户线(digital subscriber line,DSL)或无线技术(如红外,无线电和微波)从网站,服务器或其它远程源传输软件,则同轴电缆,光纤电缆,双绞线,DSL或诸如红外,无线电和微波之类的无线技术包括在介质的定义中。如本文所使用的磁盘和光盘包括光盘,激光盘,光盘,数字通用光盘(digital versatile disc,DVD),软盘和蓝光盘,其中磁盘通常以磁性方式再现数据,而光盘利用激光光学的方式再现数据。上述的组合也应包括在计算机可读介质的范围内。In one possible implementation, a computer readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that is intended to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer readable medium. For example, if the software is transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave), the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile discs (DVD), floppy disks and Blu-ray discs, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included in the scope of computer readable media.

本申请实施例提供一种计算机程序产品,计算机程序产品包括计算机程序代码,当计算机程序代码在电子设备上运行时,使得电子设备执行上述实施例中的方法。An embodiment of the present application provides a computer program product, which includes a computer program code. When the computer program code runs on an electronic device, the electronic device executes the method in the above embodiment.

本申请实施例是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程设备的处理单元以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理单元执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The embodiments of the present application are described with reference to the flowcharts and/or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the processes and/or boxes in the flowchart and/or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate a device for implementing the functions specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.

以上的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.

Claims (15)

1. A charging abnormality cause identification method applied to an electronic device, characterized by comprising:
Displaying a first interface under the condition that the electronic equipment is being charged, wherein the first interface comprises a first control, and when the first control is triggered, the electronic equipment executes a charging abnormality cause identification flow;
And responding to the triggering operation of the first control, displaying a second interface, wherein the second interface comprises a recognition result, and the recognition result comprises a charging abnormality reason and a solution proposal.
2. The method of claim 1, wherein the second interface further comprises a second control for selecting whether to execute a flow corresponding to the solution suggestion.
3. The method of claim 1, wherein the first interface is a lock screen interface, a notification bar interface, or a setup application interface of the electronic device.
4. A method according to any one of claims 1 to 3, wherein prior to displaying the second desktop, the method further comprises:
acquiring charging related data of the electronic equipment within a preset time period;
uploading the charging related data to a cloud server;
The identification result from the cloud server is received, the identification result is obtained by the cloud server searching for a preset mapping relation based on first charging data, the preset mapping relation comprises a mapping relation between each piece of charging related data and the corresponding identification result, the charging related data comprises first charging data, the first charging data does not meet a threshold condition set for the first charging data in preset conditions, and the preset conditions are obtained by the cloud server analyzing the charging related data of the group users by utilizing a decision tree.
5. The method according to claim 4, wherein the method further comprises:
uploading the equipment type information of the electronic equipment to a cloud server; the preset conditions are determined by the cloud server based on the equipment type information, and the cloud server maintains preset conditions corresponding to different equipment type information.
6. The method of claim 5, wherein the charging-related data comprises one or more of: data relating to hardware temperature, data relating to system temperature, data relating to foreground application power consumption, data relating to background application power consumption, data relating to a charger, data relating to a charging setting, data relating to a charging current, or data relating to screen power consumption.
7. The method of claim 6, wherein the preset mapping relationship comprises one or more of:
In the case that the first charging data includes data related to power consumption of the background application, in the identification result corresponding to the first charging data, the cause of the abnormal charging includes that the power consumption of the background application is too high, and the solution proposal includes that the background application is cleaned;
In the case that the first charging data includes data related to power consumption of the foreground application, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes that power consumption of the foreground application is excessively high, and the solution proposal includes that the foreground application is closed;
In the case that the first charging data comprises data related to hardware temperature and/or data related to system temperature, in the identification result corresponding to the first charging data, the reason for the abnormal charging comprises that the charging temperature is too high, and the proposal of the solution comprises that the electronic equipment is charged after waiting for cooling;
In the case that the first charging data includes data related to screen electricity consumption, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes that screen electricity consumption is excessively high, and the solution proposal includes that the screen of the electronic device is extinguished;
In the case where the first charging data includes data related to a charger, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes a charger discomfort, and the solution proposal includes replacement of the charger; or alternatively
In the case that the first charging data includes data related to charging settings and/or data related to charging current, in the identification result corresponding to the first charging data, the cause of the charging abnormality includes that the charging current does not meet the requirement, and the solution proposal includes replacement of a charger or overhaul of a network.
8. The method for identifying the reason of the abnormal charging is characterized by being applied to a system comprising electronic equipment and a cloud server, and comprises the following steps:
Under the condition that the electronic equipment is being charged, the electronic equipment responds to user operation, acquires charging related data of the electronic equipment within a preset time period, and uploads the charging related data to a cloud server;
The cloud server receives the charging related data and judges whether each data in the charging related data meets a corresponding threshold condition or not based on preset conditions, wherein the preset conditions are obtained by analyzing the charging related data of the group users by utilizing a decision tree;
The cloud server searches a preset mapping relation based on the first charging data to obtain an identification result corresponding to the first charging data under the condition that the first charging data does not meet a threshold condition set for the first charging data in preset conditions, wherein the charging related data comprises the first charging data, and the preset mapping relation comprises a mapping relation between each data in the charging related data and the corresponding identification result;
The cloud server sends the identification result to the electronic equipment;
the electronic equipment receives and displays the identification result, wherein the identification result comprises a charging abnormality reason and a solution proposal.
9. The method of claim 8, wherein prior to the electronic device uploading the charging-related data to a cloud server, the method further comprises:
the cloud server acquires charging related data reported by group users, wherein the charging related data of the group users comprises charging normal data and charging abnormal data;
the cloud server builds a decision tree by using charging related data of group users;
And the cloud server takes the charging related data and the corresponding node threshold conditions of which the sample size of the nodes meets a first threshold and/or the proportion of the charging abnormal data of the nodes to the sample size meets a second threshold in the decision tree as preset conditions.
10. The method according to claim 8 or 9, characterized in that the method further comprises:
the electronic equipment also uploads equipment type information of the electronic equipment to a cloud server;
Before the cloud server judges whether each data in the charging related data meets the corresponding threshold condition or not based on the preset condition, the method further comprises:
The cloud server receives the equipment type information of the electronic equipment, and based on the preset conditions corresponding to the equipment type information, which are determined by the equipment type information, the cloud server maintains the preset conditions corresponding to different equipment type information, and each preset condition is obtained by analyzing charging related data of group users with the same equipment type information by utilizing a decision tree.
11. The method of claim 8, wherein the charging-related data comprises one or more of: data relating to hardware temperature, data relating to system temperature, data relating to foreground application power consumption, data relating to background application power consumption, data relating to a charger, data relating to a charging setting, data relating to a charging current, or data relating to screen power consumption.
12. An electronic device, the electronic device comprising: one or more processors and memory;
the memory being coupled to the one or more processors, the memory being for storing computer program code comprising computer instructions that are invoked by the one or more processors to cause the electronic device to perform the method of any one of claims 1 to 7 or to perform the steps performed by the electronic device in the method of any one of claims 8 to 11.
13. A chip system for application to an electronic device, the chip system comprising one or more processors to invoke computer instructions to cause the electronic device to perform the method of any of claims 1 to 7 or to perform the steps performed by the electronic device in the method of any of claims 8 to 11.
14. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any one of claims 1 to 7 or to perform the steps performed by the electronic device in the method of any one of claims 8 to 11.
15. A computer program product, characterized in that it comprises computer program code which, when run on an electronic device, causes the electronic device to perform the method according to any one of claims 1 to 7 or to perform the steps performed by the electronic device in the method according to any one of claims 8 to 11.
CN202411273750.6A 2024-09-12 2024-09-12 Method for identifying the cause of abnormal charging, electronic device, chip system, storage medium and program product Pending CN118801543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411273750.6A CN118801543A (en) 2024-09-12 2024-09-12 Method for identifying the cause of abnormal charging, electronic device, chip system, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411273750.6A CN118801543A (en) 2024-09-12 2024-09-12 Method for identifying the cause of abnormal charging, electronic device, chip system, storage medium and program product

Publications (1)

Publication Number Publication Date
CN118801543A true CN118801543A (en) 2024-10-18

Family

ID=93021747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411273750.6A Pending CN118801543A (en) 2024-09-12 2024-09-12 Method for identifying the cause of abnormal charging, electronic device, chip system, storage medium and program product

Country Status (1)

Country Link
CN (1) CN118801543A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132401A (en) * 2017-12-28 2018-06-08 广东欧珀移动通信有限公司 Charging abnormity detection method and device, storage medium and mobile terminal
CN108808765A (en) * 2018-05-02 2018-11-13 青岛海信移动通信技术股份有限公司 A kind of charge prompting method and apparatus
US20220147035A1 (en) * 2020-11-11 2022-05-12 Honda Research Institute Europe Gmbh Method and system for detecting faults in a charging infrastructure system for electric vehicles
CN117130808A (en) * 2023-02-22 2023-11-28 荣耀终端有限公司 Log acquisition method and electronic equipment
CN117648661A (en) * 2024-01-30 2024-03-05 长春汽车工业高等专科学校 Battery fault classification and identification method and system based on big data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132401A (en) * 2017-12-28 2018-06-08 广东欧珀移动通信有限公司 Charging abnormity detection method and device, storage medium and mobile terminal
CN108808765A (en) * 2018-05-02 2018-11-13 青岛海信移动通信技术股份有限公司 A kind of charge prompting method and apparatus
US20220147035A1 (en) * 2020-11-11 2022-05-12 Honda Research Institute Europe Gmbh Method and system for detecting faults in a charging infrastructure system for electric vehicles
CN117130808A (en) * 2023-02-22 2023-11-28 荣耀终端有限公司 Log acquisition method and electronic equipment
CN117648661A (en) * 2024-01-30 2024-03-05 长春汽车工业高等专科学校 Battery fault classification and identification method and system based on big data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王睿等: "基于聚类分析的电动汽车充电负荷预测方法", 《电力系统保护与控制》, vol. 48, no. 16, 16 August 2020 (2020-08-16), pages 37 - 43 *

Similar Documents

Publication Publication Date Title
CN111310562B (en) Vehicle driving risk management and control method based on artificial intelligence and related equipment thereof
CN111816312B (en) Health state detection method, device and readable storage medium based on model interpretation
CN104541293A (en) Architecture for client-cloud behavior analyzer
WO2021120875A1 (en) Search method and apparatus, terminal device and storage medium
CN107291337A (en) A kind of method and device that Operational Visit is provided
CN108288208A (en) The displaying object of image content-based determines method, apparatus, medium and equipment
CN103854031A (en) Method and device for identifying image content
CN108133734A (en) A kind of analysis method, device and the equipment of medical expense big data
CN116229188A (en) Image processing display method, classification model generation method and equipment thereof
CN112053216A (en) A risk management method for financial products and related devices
CN105764101A (en) Method for switching network route of mobile terminal and mobile terminal
CN111984803A (en) Multimedia resource processing method and device, computer equipment and storage medium
US10769694B2 (en) Systems and methods for identifying candidates for item substitution
CN118801543A (en) Method for identifying the cause of abnormal charging, electronic device, chip system, storage medium and program product
CN109039714A (en) The management method and device of resource in cloud computing system
CN117724941A (en) Model evaluation method, electronic device, and storage medium
CN116613881A (en) A method and system for early warning of electricity safety based on fusion of data and mechanism
CN108701401A (en) Alarm method, device, system and electronic equipment
CN109754319A (en) Credit score determines system, method, terminal and server
CN115097345A (en) Battery health determination method, system, electronic device and readable storage medium
US20230115677A1 (en) Systems and methods for mitigating display of non-compliant information
CN112348532A (en) Optimal recommendation information processing method and device, storage medium and electronic equipment
CN203967792U (en) Portable power source and working state monitoring system thereof
CN117149362B (en) Process control method and related device
US11948164B2 (en) Automatically measuring quality scores for connected components using machine learning models

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Applicant after: Honor Terminal Co.,Ltd.

Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong

Applicant before: Honor Device Co.,Ltd.

Country or region before: China

CB02 Change of applicant information