Charging diagnosis method and device, and storage medium

By detecting the charging device signals and status in the mobile device and generating diagnostic events, the problem of abnormal charging of mobile robots is solved, and charging stability and operation and maintenance efficiency are improved.

CN119171571APending Publication Date: 2024-12-20YOUDI ROBOT (WUXI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411215548.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

Mobile robots often experience abnormal situations during charging, resulting in the inability to successfully charge. The existing technology fails to comprehensively detect and diagnose these abnormal situations, affecting operation and maintenance efficiency.

Method used

Provide a charging diagnosis method, which generates a pile diagnostic event by detecting the current status of the mobile device and the signal of the charging device, and stores it in the mobile device to represent the charging results and reasons, helps users understand abnormal situations, and thus perform operation and maintenance. Adjustment.

Benefits of technology

Effectively identify and diagnose charging abnormalities in mobile devices, improve charging stability, simplify operation and maintenance processes, and improve charging success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119171571A_ABST
    Figure CN119171571A_ABST
Patent Text Reader

Abstract

The invention provides a charging diagnosis method and device and a storage medium. The method comprises the steps that the current state of a mobile device is detected; when the current state is a charging preparation state, detecting an equipment guide signal and a charging signal of charging equipment, and generating a pile-on diagnosis event corresponding to the mobile equipment according to the detection conditions of the equipment guide signal and the charging signal, the charging preparation state is a state in which the mobile device and the charging device are docked to prepare for charging, the on-pile diagnosis event is used for representing an on-pile charging result of the mobile device and a reason corresponding to the on-pile charging result, and the on-pile diagnosis event is stored in the mobile device. According to the technical scheme, a user can fully know the reason of abnormal charging of the mobile equipment, so that operation and maintenance adjustment is performed on the mobile equipment or the charging equipment, and the charging stability of the mobile equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of charging technology, and in particular to a charging diagnosis method, device and storage medium. Background Art

[0002] Mobile robots are robots that can move autonomously and perform various tasks. They are usually equipped with components such as sensors, controllers, drives, and power supplies, and can autonomously navigate in different environments, perceive the surrounding environment, avoid obstacles, and complete various tasks such as transporting items, patrolling, cleaning, etc.

[0003] Since the mobile robot's moving position is not fixed, the traction charging technology is usually used to charge the mobile robot. The traction charging technology mainly consists of the charging device sending a device guidance signal, and the robot moves and controls autonomously according to the device guidance signal to achieve automatic docking and charging between the charging device and the mobile robot. During the process of automatic docking and charging with the charging device, some abnormal situations may occur, resulting in the mobile robot being unable to charge successfully. Summary of the invention

[0004] The present application provides a charging diagnosis method, device and storage medium, which are intended to detect and diagnose abnormal charging conditions of a mobile robot.

[0005] In a first aspect, a charging diagnosis method is provided, comprising:

[0006] Detect the current state of the mobile device;

[0007] When the current state is the charging preparation state, the device guidance signal and the charging signal of the charging device are detected, and according to the detection of the device guidance signal and the charging signal, a charging pile diagnostic event corresponding to the mobile device is generated, wherein the charging preparation state is a state in which the mobile device is docked with the charging device and is ready for charging, and the charging pile diagnostic event is used to indicate the charging pile result of the mobile device and the reason corresponding to the charging pile result, wherein the charging pile diagnostic event is stored in the mobile device.

[0008] In this technical solution, the current state of the mobile device is detected. When the current state of the mobile device is a charging preparation state, the device guidance signal and the charging signal of the charging device are detected, and based on the detection of the device guidance signal and the charging signal of the charging device, a pile-on diagnostic event of the mobile device is generated. The pile-on diagnostic event is used to indicate the pile-on charging result of the mobile device and the reason corresponding to the pile-on charging result, and the pile-on diagnostic event is stored in the mobile device. Since some abnormal conditions in the process of docking between the mobile device and the charging device are often the reason why the mobile device cannot be successfully charged, by generating a method for indicating the pile-on charging result and the reason for the pile-on charging result of the mobile device, and storing the pile-on diagnostic event in the mobile device, it is possible for the user to fully understand the reason for the abnormal charging of the mobile device, thereby making operation and maintenance adjustments to the mobile device or the charging device, thereby improving the charging stability of the mobile device.

[0009] In combination with the first aspect, in a possible implementation, the device guide signal and the charging signal of the charging device are detected, and a pile-mounting diagnostic event corresponding to the mobile device is generated according to the detection status of the device guide signal and the charging signal, including: judging whether the device guide signal is detected; if the device guide signal is not detected, generating a first pile-mounting diagnostic event corresponding to the mobile device, the first pile-mounting diagnostic event being used to indicate that the pile charging of the mobile device has failed, and the reason for the pile charging failure is that the device guide signal is not detected; if the device guide signal is detected, judging whether an electrode abutment signal is received within a first preset time length; if the electrode abutment signal is not received within the first preset time length, generating a second pile-mounting diagnostic event corresponding to the mobile device, the second pile-mounting diagnostic event being used to indicate that the pile charging of the mobile device has failed, and the reason for the pile charging failure is a pile docking timeout. When the device guidance signal of the charging device is not detected, a first charging pile diagnostic event is generated to indicate that charging on the pile has failed and the reason for the failure is that the device guidance signal is not detected. When the device guidance signal of the charging device is detected but the electrode abutment signal is not received within a limited time, a second charging pile diagnostic event is generated to indicate that charging on the pile has failed and the reason for the failure is that the charging pile docking timeout. This allows users to understand the reasons for the failure of the mobile device to charge on the pile during subsequent operation and maintenance, thereby better operating and maintaining the mobile device.

[0010] In combination with the first aspect, in a possible implementation, the device guide signal and charging signal of the charging device are detected, and a corresponding pile-mounting diagnostic event of the mobile device is generated according to the detection of the device guide signal and the charging signal, and further includes: if the device guide signal is detected, determining whether the device guide signal disappears within the first preset time length; if the device guide signal disappears within the first preset time length, generating a third pile-mounting diagnostic event corresponding to the mobile device, the third pile-mounting diagnostic event is used to indicate that the mobile device fails to charge on the pile, and the reason for the failure to charge on the pile is the loss of the device guide signal. When the guide signal of the charging device is detected but the guide signal of the charging device disappears midway, a third pile-mounting diagnostic event is generated to indicate that the charging on the pile fails and the reason for the failure to charge on the pile is the loss of the device guide signal, which can facilitate the user to understand the reason for the failure of the mobile device to charge on the pile in the subsequent operation and maintenance process, so as to better operate and maintain the mobile device.

[0011] In combination with the first aspect, in a possible implementation, the device guide signal and the charging signal of the charging device are detected, and a corresponding pile-on diagnostic event of the mobile device is generated according to the detection of the device guide signal and the charging signal, and also includes: if the electrode abutment signal is received within the first preset time period, determining whether a charging input signal is received within a second preset time period; if the charging input signal is not received within the second preset time period, generating a fourth pile-on diagnostic event corresponding to the mobile device, the fourth pile-on diagnostic event being used to indicate that the pile charging of the mobile device has failed, and the reason for the pile charging failure is that the charging input signal has not been detected; if the charging input signal is received within the second preset time period, generating a fifth pile-on diagnostic event corresponding to the mobile device, the fifth pile-on diagnostic event being used to indicate that the pile charging of the mobile device has been successful. When an electrode contact signal is received within a limited time, but a charging input signal is not received within a limited time, a fourth charging pile diagnostic event is generated to indicate that charging on a charging pile has failed and the reason for the failure is that the charging input signal is not detected; when an electrode contact signal is received within a limited time and a charging input signal is received within a limited time, a fifth charging pile diagnostic event is generated to indicate that charging on a charging pile has succeeded, which allows users to understand whether the mobile device has been successfully charged and the reason for the failure in subsequent operation and maintenance, thereby better operating and maintaining the mobile device.

[0012] In combination with the first aspect, in a possible implementation, the device guide signal and charging signal of the charging device are detected, and a pile-mounting diagnostic event corresponding to the mobile device is generated according to the detection of the device guide signal and the charging signal, and further includes: if it is detected that a preset switch is triggered, a sixth pile-mounting diagnostic event corresponding to the mobile device is generated, and the sixth pile-mounting diagnostic event is used to indicate that the mobile device has failed to charge on the pile, and that the reason for the failure to charge on the pile is that the charging on the pile is manually stopped. When it is detected that the preset switch is triggered, a sixth pile-mounting diagnostic event is generated to indicate that the mobile device has failed to charge on the pile and that the reason for the failure to charge on the pile is that the charging on the pile is manually stopped, which can facilitate the user to understand the reason for the failure of the mobile device to charge on the pile during the subsequent operation and maintenance process, thereby better operating and maintaining the mobile device.

[0013] In combination with the first aspect, in a possible implementation, the detecting the current state of the mobile device includes: determining whether a charging input signal of a charging device is received; if the charging input signal is not received, determining whether a battery charging mark of the mobile device is detected; if the battery charging mark is not detected, detecting whether the mobile device is docked with the charging device; if the mobile device is docked with the charging device, determining that the current state of the mobile device is a charging ready state. By sequentially determining whether a charging input signal of a charging device is received, whether a battery charging mark of a mobile device is detected, and whether the mobile device is docked with a charging device, an accurate determination of the charging state of the mobile device can be achieved.

[0014] In combination with the first aspect, in a possible implementation, the detecting the current state of the mobile device further includes: if the mobile device is not docked with the charging device, reading the device identification of the charging device; if the device identification of the charging device is read, determining that the current state of the mobile device is a state with a device guide signal; if the device identification of the charging device is not read, determining that the current state of the mobile device is a state without a device guide signal. When the mobile device is not docked with the charging device, judging whether the device identification of the charging device is read to judge whether the mobile device has a device guide signal can determine the charging state of the mobile device in detail, so that the user can accurately understand the charging state of the mobile device.

[0015] In combination with the first aspect, in a possible implementation, the charging input signal is a voltage signal; the detecting the current state of the mobile device further includes: if the charging input signal is received and the battery current of the mobile device is less than a first current threshold value within a third continuous preset time length, determining that the current state of the mobile device is a state with voltage but no battery current; if the charging input signal is received and the charging current of the charging device is less than a second current threshold value within a fourth continuous preset time length, determining that the current state of the mobile device is a state with voltage but no charging current.

[0016] In combination with the first aspect, in a possible implementation manner, the detecting the current state of the mobile device further includes: if the battery charging mark is detected, determining that the current state of the mobile device is a wired charging state.

[0017] In a second aspect, a computer device is provided, comprising a memory and one or more processors, wherein the memory is connected to the one or more processors, and the one or more processors are used to execute one or more computer programs stored in the memory, and when the one or more processors execute the one or more computer programs, the computer device implements the charging diagnosis method of the first aspect.

[0018] In a third aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the charging diagnosis method of the first aspect.

[0019] The present application can achieve the following technical effects: since some abnormal situations during the docking process between a mobile device and a charging device are often the reason why the mobile device cannot be successfully charged, by generating a charging result and the reason for the charging result for the mobile device, and storing the charging diagnostic event in the mobile device, it is convenient for the user to fully understand the reason for the abnormal charging of the mobile device, thereby making operation and maintenance adjustments to the mobile device or the charging device, thereby improving the charging stability of the mobile device. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0021] Figure 1 A flow chart of a charging diagnosis method provided in an embodiment of the present application;

[0022] Figure 2 A flowchart for detecting the current state of a mobile device provided in an embodiment of the present application;

[0023] Figure 3 A flowchart of generating a pile diagnosis event provided in an embodiment of the present application;

[0024] Figure 4 A flowchart of generating a charging diagnostic event provided by an embodiment of the present application;

[0025] Figure 5 is a structural schematic diagram of a charging diagnostic device provided in an embodiment of the present application;

[0026] Figure 6 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0028] It should be noted that, if there is no conflict, the various features in the embodiments of the present application can be combined with each other, all within the scope of protection of the present application. In addition, although the functional module division is performed in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a sequence different from the module division in the device or the flow chart. Furthermore, the words "first", "second", "third", etc. used in this application do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.

[0029] The technical solution of the present application is applicable to charging scenarios of mobile devices. Mobile devices refer to devices that can move autonomously to complete certain tasks. Mobile devices include but are not limited to cleaning robots, transport robots, unmanned transport vehicles and other devices.

[0030] When mobile devices perform corresponding services, they will consume electricity and face charging problems. In some charging solutions, mobile devices are charged by traction charging, that is, the charging device sends a device guidance signal, and the mobile device moves to the location of the charging device according to the device guidance signal sent by the charging device and docks with the charging output terminal of the charging device for charging. In actual charging scenarios, some abnormal charging situations may occur when charging mobile devices, resulting in the failure of the mobile robot to charge successfully.

[0031] Conventional charging anomaly detection schemes mostly detect whether the mobile device is charging normally after the mobile device and the charging device are docked. That is, whether the mobile device is charging normally is detected only during the process of the charging device charging the mobile device. This charging anomaly detection scheme does not take into account abnormal situations during the docking process between the mobile device and the charging device. The inventors of the present application found that some abnormal situations may occur during the docking process between the mobile device and the charging device. These abnormal situations usually result in the mobile device being unable to charge successfully. Therefore, the charging anomaly detection of the conventional charging anomaly detection scheme is not comprehensive enough, which is not conducive to subsequent operation and maintenance analysis.

[0032] In view of this, the present application proposes a charging anomaly detection solution, which can comprehensively detect and diagnose abnormal charging conditions of mobile devices, which is beneficial to subsequent operation and maintenance analysis. The following specifically introduces the technical solution of the present application, which can be applied to mobile devices.

[0033] See also Figure 1 , Figure 1 A flow chart of a charging diagnosis method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method comprises the following steps:

[0034] S101, detecting the current state of the mobile device.

[0035] Here, regarding the concept and specific form of mobile devices, please refer to the above description and will not be repeated here.

[0036] The current state of the mobile device is used to reflect whether the mobile device is currently in a charging state and the specific charging stage that the mobile device is currently in.

[0037] Among them, Figure 2 The process shown in Figure 1 detects the current status of the mobile device. Figure 2 As shown, the following steps A1-A13 are included:

[0038] A1. Determine whether a charging input signal from a charging device is received.

[0039] Here, the charging input signal refers to an electrical signal input by the charging device to the mobile device after the charging device establishes a charging connection with the mobile device. The charging input signal may be a voltage signal.

[0040] If the charging input signal of the charging device is not received, it means that there is no charging connection between the mobile device and the charging device, and step A2 is executed; if the charging input signal of the charging device is received, it means that there is a charging connection between the mobile device and the charging device, and steps A9 and A11 are executed.

[0041] A2. Determine whether a battery charging mark of the mobile device is detected.

[0042] Here, the battery charging mark of the mobile device is a mark indicating that the battery of the mobile device is being charged, and the battery charging mark is reported by the battery of the mobile device. The mobile device can determine whether the battery charging mark of the mobile device is detected by determining whether the charging mark reported by the battery of the mobile device is received. If the charging mark reported by the battery of the mobile device is received, it is determined that the battery charging mark of the mobile device is detected; if the charging mark reported by the battery of the mobile device is not received, it is determined that the battery charging mark of the mobile device is not detected.

[0043] If the battery charging mark of the mobile device is not detected, it means that the battery of the mobile device is not in a charging state, and step A3 is executed; if the battery charging mark is detected, it means that the battery of the mobile device is in a charging state, and step A8 is executed.

[0044] A3. Check whether the mobile device is connected to the charging device.

[0045] Here, detecting whether the mobile device is docked with the charging device refers to detecting whether the mobile device is approaching the charging device and is ready to establish a physical connection with the charging device.

[0046] In a feasible implementation, it can be detected whether the distance between the mobile device and the charging device is less than a preset distance. If the distance between the mobile device and the charging device is less than the preset distance, it is determined that the mobile device and the charging device are docked; if the distance between the mobile device and the charging device is greater than or equal to the preset distance, it is determined that the mobile device and the charging device are not docked.

[0047] In another feasible implementation, the signal strength of the device guidance signal sent by the charging device can also be detected. If the signal strength of the device guidance signal sent by the charging device is greater than the preset signal strength, it is determined that the mobile device and the charging device are connected to the charging device; if the signal strength of the device guidance signal sent by the charging device is less than or equal to the preset signal strength, it is determined that the mobile device and the charging device are not connected to the charging device. The device guidance signal refers to a signal sent by the charging device to guide the mobile device to find the charging device and then determine the location of the charging device. The device guidance signal includes but is not limited to infrared signals, Bluetooth signals, etc.

[0048] Detecting whether a mobile device is docked with a charging device is not limited to the above implementations, and this application does not impose any limitation thereto.

[0049] If the mobile device and the charging device are connected to the charging pile, step A4 is executed; if the mobile device and the charging device are not connected to the charging pile, step A5 is executed.

[0050] A4. Determine that the current state of the mobile device is a charging ready state.

[0051] A5. Determine whether the device identification of the charging device is read.

[0052] Here, the device identification of the charging device is used to uniquely identify the identity information of the charging device.

[0053] If the device identification of the charging device is read, step A6 is executed; if the device identification of the charging device is not read, step A7 is executed.

[0054] A6. Determine that the current state of the mobile device is a state of having a device boot signal.

[0055] A7. Determine that the current state of the mobile device is a state of no device boot signal.

[0056] Through the above steps A5-A7, when the mobile device is not docked with the charging device, it is determined whether the device identification of the charging device is read to determine whether the mobile device has a device guidance signal, so that the charging status of the mobile device can be determined in detail, which is convenient for the user to accurately understand the charging status of the mobile device.

[0057] A8. Determine that the current state of the mobile device is a wired charging state.

[0058] A9. Determine whether the battery current of the mobile device is less than the first current threshold value within a continuous third preset time period.

[0059] Here, the third preset time length is the time length for determining whether the battery has been without current for a long time, and the third preset time length may be, for example, 20 seconds.

[0060] If the battery current of the mobile device is less than the first current threshold value within a continuous third preset time period, it means that the battery of the mobile device has no current, and step A10 is executed; otherwise, step A13 is executed.

[0061] A10. Determine that the current state of the mobile device is a state with voltage but no battery current.

[0062] A11. Determine whether the charging current of the charging device is less than a second current threshold value within a fourth preset time period.

[0063] Here, the fourth preset time length is the time length for determining whether there is continuous absence of charging current. The fourth preset time length may be, for example, 20 seconds.

[0064] If the charging current of the charging device is less than the second current threshold value within a continuous fourth preset time period, it means that the mobile device has no charging current. Execute step A12; otherwise, execute step A13.

[0065] A12. Determine that the current state of the mobile device is a state of having voltage but no charging current.

[0066] A13. Determine that the current state of the mobile device is a normal charging state.

[0067] Through the above steps A1-A13, by successively determining whether the charging input signal of the charging device is received, whether the battery charging mark of the mobile device is detected, and whether the mobile device is docked with the charging device, the charging status of the mobile device can be accurately determined.

[0068] S102, when the current state of the mobile device is the charging preparation state, detecting the device guide signal and the charging signal of the charging device, and generating a corresponding pile-mounting diagnostic event of the mobile device according to the detection conditions of the device guide signal and the charging signal of the charging device.

[0069] Here, the charging preparation state is the state in which the mobile device is docked with the charging device and is ready to charge. The charging diagnosis event corresponding to the mobile device is used to indicate the charging result of the mobile device and the reason corresponding to the charging result. The charging diagnosis event of the mobile device is stored in the mobile device.

[0070] Among them, Figure 3 The process shown in the figure generates a corresponding pile diagnosis event for the mobile device. Figure 3 As shown, it includes the following steps B1-B11:

[0071] B1. Determine whether a device guidance signal of a charging device is detected.

[0072] If the device guidance signal of the charging device is not detected, it means that the mobile device cannot determine the location of the charging device according to the device guidance signal and then dock with the charging device, and step B2 is executed; if the device guidance signal of the charging device is detected, steps B3 and B10 are executed.

[0073] B2. Generate a first mounting diagnosis event corresponding to the mobile device.

[0074] Here, the first charging-on-pile diagnostic event is used to indicate that charging-on-pile charging of the mobile device fails, and the reason for the charging-on-pile failure is that the device boot signal is not detected.

[0075] B3. Determine whether the device guidance signal of the charging device disappears within a first preset time period.

[0076] Here, the first preset time length may be the total time length required for the mobile device to be docked with the charging device, and the first preset time length may be, for example, 15 seconds.

[0077] If the device guidance signal of the charging device disappears within the first preset time period, execute step B4; if the device guidance signal of the charging device does not disappear within the first preset time period, execute step B5.

[0078] B4. Generate a third mounting diagnosis event corresponding to the mobile device.

[0079] Here, the third charging-on-pile diagnostic event is used to indicate that charging-on-pile charging of the mobile device fails, and the reason for the charging-on-pile failure is that the device boot signal is lost.

[0080] B5. Determine whether an electrode contact signal is received within a first preset time period.

[0081] Here, the electrode abutment signal refers to a signal applied by the charging output end of the charging device to the charging input end of the mobile device when the charging output end of the charging device establishes a physical connection with the charging input end of the mobile device. The electrode abutment signal can be, for example, an infrared electrode abutment signal.

[0082] If the electrode contact signal is not received within the first preset time, execute step B6; if the electrode contact signal is received within the first preset time, it indicates that a physical connection is established between the charging device and the mobile device, and execute step B7.

[0083] B6. Generate a second mounting diagnosis event corresponding to the mobile device.

[0084] Here, the second charging diagnostic event is used to indicate that charging of the mobile device on the charging pole fails, and the reason for the charging failure on the charging pole is the charging pole docking timeout.

[0085] B7. Determine whether a charging input signal is received within a second preset time period.

[0086] The charging input signal here may be a voltage signal.

[0087] If the charging input signal is not received within the second preset time period, execute step B8; if the charging input signal is received within the second preset time period, execute step B9.

[0088] B8. Generate a fourth mounting diagnosis event corresponding to the mobile device.

[0089] Here, the fourth charging-on-pile diagnostic event is used to indicate that charging-on-pile charging of the mobile device fails, and the reason for the charging-on-pile failure is that the charging input signal is not detected.

[0090] B9. Generate a fifth mounting diagnosis event corresponding to the mobile device.

[0091] Here, the fifth charging-on-charging diagnostic event is used to indicate that the charging of the mobile device on the charging station is successful.

[0092] B10, detects whether the preset switch is triggered.

[0093] Here, the preset switch is a switch for stopping charging of the mobile device on the charging station.

[0094] If it is detected that the preset switch is triggered, execute step B11; if it is detected that the preset switch is not triggered, execute step B1.

[0095] B11. Generate a sixth mounting diagnosis event corresponding to the mobile device.

[0096] Here, the sixth charging-on-charging diagnostic event is used to indicate that the charging-on-charging of the mobile device fails, and the reason for the charging-on-charging failure is that the charging-on-charging is stopped manually.

[0097] Through the above steps B1-B11, different charging pile diagnostic events are generated according to different situations, and the reasons for the failure of charging on the pile are prompted, which can help users understand the reasons for the failure of charging on the mobile device during the subsequent operation and maintenance process, so as to better operate and maintain the mobile device.

[0098] In some possible situations, the pile-mounting diagnostic event can also be processed accordingly according to the event type of the pile-mounting diagnostic event. Among them, the pile-mounting diagnostic event can be divided into two categories: processable pile-mounting diagnostic events and unprocessable pile-mounting diagnostic events. The processable pile-mounting diagnostic event refers to the pile-mounting diagnostic event that the charging device can try to re-pile and dock after some adjustment strategies, and the unprocessable pile-mounting diagnostic event refers to the pile-mounting diagnostic event that the charging device cannot try to re-pile and dock. For example, the first pile-mounting diagnostic event, the second pile-mounting diagnostic event, the third pile-mounting diagnostic event, the fourth pile-mounting diagnostic event, and the sixth pile-mounting diagnostic event involved in the aforementioned steps B1-B11, although they all indicate that the mobile device failed to charge on the pile, the first pile-mounting diagnostic event and the sixth pile-mounting diagnostic event can be classified as unprocessable pile-mounting diagnostic events, and the second pile-mounting diagnostic event, the third pile-mounting diagnostic event, and the fourth pile-mounting diagnostic event can be classified as processable pile-mounting diagnostic events.

[0099] For a handleable pile diagnosis event, the mobile device may re-execute the above-mentioned adjustment strategies after executing adjustment strategies such as adjusting the posture of the mobile device, adjusting the first preset time length and / or the second preset time length. Figure 3 By retrying the docking, the probability of successful docking between the mobile device and the charging device can be increased, thereby increasing the success rate of the mobile device. For unprocessable docking diagnosis events, the mobile device can do nothing.

[0100] In some possible situations, operation and maintenance suggestions corresponding to the pile-mounting diagnostic events can also be generated according to different pile-mounting diagnostic events. For example, for the first pile-mounting diagnostic event, the generated operation and maintenance suggestions can be: repair the device guide device of the charging device and the guide signal receiving device of the charging device, the device guide device refers to the sensor device that sends the device guide signal, and the guide signal receiving device refers to the sensor device that receives the device guide signal; for the second pile-mounting diagnostic event, the generated operation and maintenance suggestions can be: repair the charging port of the mobile device and / or the charging device; for the third pile-mounting diagnostic event, the generated operation and maintenance suggestions can be: repair the device guide device of the charging device and the guide signal receiving device of the charging device; for the fourth pile-mounting diagnostic event, the generated operation and maintenance suggestions can be: repair the charging circuit of the charging device and / or the charging circuit of the mobile device; for the sixth pile-mounting diagnostic event, the generated operation and maintenance suggestions can be: no maintenance suggestions. Generating operation and maintenance suggestions corresponding to the pile-mounting diagnostic events according to different pile-mounting diagnostic events can facilitate users to quickly locate the faults that cause charging abnormalities and improve the maintenance speed.

[0101] In the above Figure 1 In the corresponding technical solution, the current state of the mobile device is detected. When the current state of the mobile device is the charging preparation state, the device guidance signal and the charging signal of the charging device are detected, and according to the detection of the device guidance signal and the charging signal of the charging device, a pile-on diagnostic event of the mobile device is generated. The pile-on diagnostic event is used to indicate the pile-on charging result of the mobile device and the reason corresponding to the pile-on charging result, and the pile-on diagnostic event is stored in the mobile device. Since some abnormal conditions in the process of docking between the mobile device and the charging device are often the reason why the mobile device cannot be successfully charged, by generating a method for indicating the pile-on charging result and the reason for the pile-on charging result of the mobile device, and storing the pile-on diagnostic event in the mobile device, it is possible for the user to fully understand the reason for the abnormal charging of the mobile device, thereby making operation and maintenance adjustments to the mobile device or the charging device, thereby improving the charging stability of the mobile device.

[0102] In some possible situations, after the mobile device is successfully charged on the charging pile, the mobile device in the charging process can also be detected for charging anomalies. After the above step B7, if the charging input signal is received within the second preset time, the device guide signal and the charging signal of the charging device can continue to be detected, and according to the detection of the device guide signal and the charging signal of the charging device, a charging diagnosis event corresponding to the mobile device is generated. The charging diagnosis event corresponding to the mobile device is used to indicate the charging detection result of the mobile device and the reason corresponding to the charging detection result, and the charging diagnosis event is stored in the mobile device.

[0103] Among them, Figure 4 The process steps for generating a charging diagnosis event corresponding to the mobile device include the following steps C1-C6:

[0104] C1. Determine whether a device guidance signal of a charging device is detected.

[0105] If the device guiding signal of the charging device is not detected, step C2 is executed; if the device guiding signal of the charging device is detected, step C3 is executed.

[0106] C2. Generate a first charging diagnosis event corresponding to the mobile device.

[0107] Here, the first charging diagnosis event is used to indicate that the mobile device fails to charge, and the reason for the charging failure is that the device boot signal is lost.

[0108] C3. Determine whether no voltage signal from the charging device is received within a first continuous time period.

[0109] Here, the first continuous time duration is the time duration for determining whether the voltage signal of the charging device is lost. The first continuous time duration may be, for example, 500 milliseconds.

[0110] If the voltage signal of the charging device is not received within the first continuous time period, execute step C4; otherwise, execute step C5.

[0111] C4. Generate a second charging diagnosis event corresponding to the mobile device.

[0112] The second charging diagnosis event is used to indicate that the mobile device fails to charge, and the reason for the charging failure is that there is a device boot signal but no charging voltage.

[0113] After the second diagnostic event corresponding to the mobile device is generated, the mobile device may also adjust its posture and execute step C1 to retry charging.

[0114] C5. Determine whether the charging current of the charging device is less than the third current threshold value within the second continuous time period.

[0115] Here, the second continuous time length is the time length for determining whether the charging current of the charging device is lost, and the second continuous time length may be, for example, 10 seconds.

[0116] If the charging current of the charging device is less than the third current threshold value during the second continuous time period, execute step C6; otherwise, execute step C1.

[0117] C6. Generate a third charging diagnosis event corresponding to the mobile device.

[0118] Here, the third charging diagnosis event is used to indicate that the mobile device fails to charge, and the reason for the charging failure is that there is a charging voltage but no charging current.

[0119] Through the above steps C1-C6, different charging diagnostic events are generated according to different situations during the charging process of the mobile device, and the reasons for charging failure are prompted, which can help users understand the reasons for the charging failure of the mobile device in the subsequent operation and maintenance process, so as to better operate and maintain the mobile device.

[0120] The method of the present application is introduced above, and the device of the present application is introduced below.

[0121] See also Figure 5 , Figure 5 It is a structural schematic diagram of a charging diagnostic device provided in an embodiment of the present application.

[0122] like Figure 5 As shown, the charging diagnosis device 20 includes:

[0123] The charging status detection module 201 is used to detect the current status of the mobile device;

[0124] The diagnostic event generation module 202 is used to detect the device guidance signal and the charging signal of the charging device when the current state is the charging preparation state, and generate a corresponding charging pile diagnostic event for the mobile device according to the detection of the device guidance signal and the charging signal. The charging preparation state is the state in which the mobile device is docked with the charging device and is ready for charging. The charging pile diagnostic event is used to indicate the charging pile result of the mobile device and the reason corresponding to the charging pile result, and the charging pile diagnostic event is stored in the mobile device.

[0125] In one possible design, the above-mentioned diagnostic event generation module 202 is specifically used to: determine whether the device guidance signal is detected; if the device guidance signal is not detected, generate a first charging pile diagnostic event corresponding to the mobile device, the first charging pile diagnostic event is used to indicate that the charging of the mobile device fails, and the reason for the failure of charging on the pile is that the device guidance signal is not detected; if the device guidance signal is detected, determine whether an electrode abutment signal is received within a first preset time length; if the electrode abutment signal is not received within the first preset time length, generate a second charging pile diagnostic event corresponding to the mobile device, the second charging pile diagnostic event is used to indicate that the charging of the mobile device fails, and the reason for the failure of charging on the pile is a timeout of docking.

[0126] In one possible design, the diagnostic event generation module 202 is specifically used for: if the device boot signal is detected, determining whether the device boot signal disappears within the first preset time period; if the device boot signal disappears within the first preset time period, generating a third charging pile diagnostic event corresponding to the mobile device, wherein the third charging pile diagnostic event is used to indicate that the mobile device has failed to charge on the charging pile, and the reason for the failure to charge on the charging pile is the loss of the device boot signal.

[0127] In one possible design, the above-mentioned diagnostic event generation module 202 is specifically used for: if the electrode contact signal is received within the first preset time period, determining whether a charging input signal is received within the second preset time period; if the charging input signal is not received within the second preset time period, generating a fourth charging pile diagnostic event corresponding to the mobile device, the fourth charging pile diagnostic event being used to indicate that charging of the mobile device has failed, and the reason for the failure of charging on the charging pile is that the charging input signal is not detected; if the charging input signal is received within the second preset time period, generating a fifth charging pile diagnostic event corresponding to the mobile device, the fifth charging pile diagnostic event being used to indicate that charging of the mobile device has succeeded.

[0128] In a possible design, the diagnostic event generation module 202 is also used to: if the charging input signal is received within the second preset time period, continue to detect the device boot signal and the charging signal of the charging device, and generate a charging diagnostic event corresponding to the mobile device based on the detection of the device boot signal and the charging signal, wherein the charging diagnostic event is used to indicate the charging detection result of the mobile device and the cause corresponding to the charging detection result, and the charging diagnostic event is stored in the mobile device.

[0129] In one possible design, the diagnostic event generation module 202 is specifically used to: if it is detected that a preset switch is triggered, generate a sixth charging pile diagnostic event corresponding to the mobile device, and the sixth charging pile diagnostic event is used to indicate that the mobile device has failed to charge on the charging pile, and the reason for the failure to charge on the charging pile is that the charging on the charging pile was manually stopped.

[0130] In one possible design, the charging status detection module 201 is specifically used to: determine whether a charging input signal of a charging device is received; if the charging input signal is not received, determine whether a battery charging mark of the mobile device is detected; if the battery charging mark is not detected, detect whether the mobile device is docked with the charging device; if the mobile device is docked with the charging device, determine that the current state of the mobile device is a charging preparation state.

[0131] In a possible design, the charging status detection module 201 is specifically used for: if the mobile device is not docked with the charging device, reading the device identification of the charging device; if the device identification of the charging device is read, determining that the current state of the mobile device is a state with a device guidance signal; if the device identification of the charging device cannot be read, determining that the current state of the mobile device is a state without a device guidance signal.

[0132] In a possible design, the charging input signal is a voltage signal; the above-mentioned charging status detection module 201 is specifically used to: if the charging input signal is received, and the battery current of the mobile device is less than the first current threshold value within a third consecutive preset time length, determine that the current state of the mobile device is a state with voltage but no battery current; if the charging input signal is received, and the charging current of the charging device is less than the second current threshold value within a fourth consecutive preset time length, determine that the current state of the mobile device is a state with voltage but no charging current.

[0133] In a possible design, the charging status detection module 201 is specifically used to: if the battery charging mark is detected, determine that the current status of the mobile device is a wired charging status.

[0134] It should be noted that Figure 5 For the contents not mentioned in the corresponding embodiments, please refer to the description of the aforementioned method embodiments, which will not be repeated here.

[0135] The above-mentioned device detects the current state of the mobile device, and when the current state of the mobile device is the charging preparation state, detects the device guidance signal and the charging signal of the charging device, and generates a pile-on diagnostic event of the mobile device according to the detection of the device guidance signal and the charging signal of the charging device, and the pile-on diagnostic event is used to indicate the pile-on charging result of the mobile device and the reason corresponding to the pile-on charging result, and the pile-on diagnostic event is stored in the mobile device; because some abnormal conditions in the process of docking between the mobile device and the charging device are often the reason why the mobile device cannot be successfully charged, by generating a method for indicating the pile-on charging result and the reason for the pile-on charging result of the mobile device, and storing the pile-on diagnostic event in the mobile device, it is convenient for the user to fully understand the reason for the abnormal charging of the mobile device, thereby making operation and maintenance adjustments to the mobile device or the charging device, thereby improving the charging stability of the mobile device.

[0136] See also Figure 6 , Figure 6 3 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application, wherein the computer device 30 includes a processor 301 and a memory 302. The memory 302 is connected to the processor 301, for example, via a bus.

[0137] The processor 301 is configured to support the computer device 30 to perform the corresponding functions in the method in the above method embodiment. The processor 301 can be a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof. The above hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0138] The memory 302 is used to store program codes, etc. The memory 302 may include a volatile memory (VM), such as a random access memory (RAM); the memory 302 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory 302 may also include a combination of the above-mentioned types of memories.

[0139] The memory 302 can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the charging diagnosis method in the embodiment of the present application. The processor executes various functional applications and data processing of the charging diagnosis method by running the non-volatile software programs, instructions and modules stored in the memory, that is, realizes the functions of the charging diagnosis method provided by the above method embodiment.

[0140] The memory 302 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function. The data storage area may store data created according to the use of the charging diagnostic device, etc. In some embodiments, the memory may include a memory remotely arranged relative to the processor, and these remote memories may be connected to the charging diagnostic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0141] The one or more modules are stored in the memory, and when executed by the one or more processors, the charging diagnosis method in any of the above method embodiments is executed, for example, the method steps described in the above method embodiments are executed to realize the functions of the modules described in the above device embodiments.

[0142] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method described in the above embodiment.

[0143] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0144] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A charging diagnosis method, characterized in that: include: Detect the current state of the mobile device; When the current state is the charging preparation state, the device guidance signal and the charging signal of the charging device are detected, and according to the detection of the device guidance signal and the charging signal, a charging pile diagnostic event corresponding to the mobile device is generated, wherein the charging preparation state is a state in which the mobile device is docked with the charging device and is ready for charging, and the charging pile diagnostic event is used to indicate the charging pile result of the mobile device and the reason corresponding to the charging pile result, wherein the charging pile diagnostic event is stored in the mobile device.

2. The method according to claim 1, characterized in that: The detecting of the device guide signal and the charging signal of the charging device, and generating a corresponding pile-mounting diagnostic event of the mobile device according to the detection conditions of the device guide signal and the charging signal, comprises: Determining whether the device boot signal is detected; If the device guide signal is not detected, a first charging pile diagnostic event corresponding to the mobile device is generated, wherein the first charging pile diagnostic event is used to indicate that the charging pile of the mobile device fails, and the reason for the charging pile failure is that the device guide signal is not detected; If the device guidance signal is detected, determining whether an electrode contact signal is received within a first preset time period; If the electrode abutment signal is not received within the first preset time period, a second charging diagnostic event corresponding to the mobile device is generated, and the second charging diagnostic event is used to indicate that the charging failure of the mobile device is caused by a charging docking timeout.

3. The method according to claim 2, characterized in that The detecting of the device guide signal and the charging signal of the charging device, and generating a corresponding pile-mounting diagnostic event of the mobile device according to the detection of the device guide signal and the charging signal, further includes: If the device guidance signal is detected, determining whether the device guidance signal disappears within the first preset time period; If the device guidance signal disappears within the first preset time period, a third charging pile diagnostic event corresponding to the mobile device is generated, and the third charging pile diagnostic event is used to indicate that the charging pile of the mobile device fails, and the reason for the charging pile failure is the loss of the device guidance signal.

4. The method according to claim 2, characterized in that: The detecting of the device guide signal and the charging signal of the charging device, and generating a corresponding pile-mounting diagnostic event of the mobile device according to the detection of the device guide signal and the charging signal, further includes: If the electrode contact signal is received within the first preset time period, determining whether a charging input signal is received within a second preset time period; If the charging input signal is not received within the second preset time period, a fourth charging pile diagnostic event corresponding to the mobile device is generated, wherein the fourth charging pile diagnostic event is used to indicate that the charging pile of the mobile device fails, and the reason for the charging pile failure is that the charging input signal is not detected; If the charging input signal is received within the second preset time period, a fifth charging charging event corresponding to the mobile device is generated, and the fifth charging charging event is used to indicate that the mobile device is successfully charged.

5. The method according to claim 2, characterized in that: The detecting of the device guide signal and the charging signal of the charging device, and generating a corresponding pile-mounting diagnostic event of the mobile device according to the detection of the device guide signal and the charging signal, further includes: If it is detected that the preset switch is triggered, a sixth charging pile diagnostic event corresponding to the mobile device is generated, and the sixth charging pile diagnostic event is used to indicate that the mobile device fails to charge on the charging pile, and the reason for the failure to charge on the charging pile is that the charging on the charging pile is stopped manually.

6. The method according to any one of claims 1 to 5, characterized in that: The detecting the current state of the mobile device comprises: Determining whether a charging input signal from a charging device is received; If the charging input signal is not received, determining whether a battery charging mark of the mobile device is detected; If the battery charging mark is not detected, detecting whether the mobile device is docked with the charging device; If the mobile device is docked with the charging device, it is determined that the current state of the mobile device is a charging preparation state.

7. The method according to claim 6, characterized in that The detecting the current state of the mobile device further includes: If the mobile device is not docked with the charging device, read the device identification of the charging device; If the device identification of the charging device is read, determining that the current state of the mobile device is a state with a device guidance signal; If the device identification of the charging device cannot be read, it is determined that the current state of the mobile device is a state without a device guidance signal.

8. The method according to claim 6, characterized in that The charging input signal is a voltage signal; The detecting the current state of the mobile device further includes: If the charging input signal is received and the battery current of the mobile device is less than the first current threshold value within a continuous third preset time period, determining that the current state of the mobile device is a state with voltage but no battery current; If the charging input signal is received and the charging current of the charging device is less than the second current threshold value within a fourth preset time period, it is determined that the current state of the mobile device is a state with voltage but no charging current.

9. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory is connected to the processor, and the processor is used to execute one or more computer programs stored in the memory. When the processor executes the one or more computer programs, the computer device implements the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 8.