Equipment protection method, equipment protection device and storage medium

By issuing alerts and implementing damage prevention measures when a risk of damage is detected at the external ports of electronic devices, the problem of easily damaged peripheral interfaces is solved, extending the service life of the devices.

CN120832287APending Publication Date: 2025-10-24BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410491930.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-23
Publication Date
2025-10-24

AI Technical Summary

Technical Problem

The peripheral interfaces of electronic devices are susceptible to damage from external or internal factors, leading to device failure. Existing technologies are unable to effectively prevent such damage.

Method used

When the device detects a risk of damage to an external port, it issues a prompt message and reminds the user to perform anti-damage operations through the display interface, vibration, and sound, and provides anti-damage protection based on the user's response.

Benefits of technology

By providing prompts and user responses, users are made more aware of the importance of the equipment, enabling timely protection against damage and extending the equipment's lifespan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120832287A_ABST
    Figure CN120832287A_ABST
Patent Text Reader

Abstract

The invention relates to an equipment protection method, an equipment protection device and a storage medium. The equipment protection method comprises the steps that an external connection port of equipment is responded to be connected with external equipment, the equipment determines that the external connection port is damaged, the equipment is controlled to send out prompt information, and the prompt information is used for reminding a user to execute damage prevention operation; and carrying out anti-damage protection on the external connection port based on response operation of a user on the prompt information. According to the invention, when it is determined that the external connection port has the risk of being damaged, a user is effectively prompted to carry out anti-damage operation, so that anti-damage protection is carried out on the external connection port in time, and the service life of equipment is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the field of electronic devices, and in particular, to a device protection method, a device protection apparatus, and a storage medium. BACKGROUND

[0002] With the wide application of electronic devices, more and more peripheral interfaces are provided by electronic devices. Due to external factors or internal factors of the electronic device, the peripheral interface of the electronic device is easily damaged to different degrees, thereby damaging the electronic device. Therefore, how to effectively prevent the peripheral interface from being damaged is a problem to be solved. SUMMARY

[0003] To overcome the problems in the related art, the present disclosure provides a device protection method, a device protection apparatus, and a storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a device protection method is provided, including: in response to that a connection port of a device is connected with an external device, and the device determines that the connection port is at a risk of being damaged, the device sends prompt information, the prompt information is used to remind a user to perform a damage prevention operation; and based on a response operation of the user to the prompt information, the connection port is protected against damage.

[0005] In an implementation manner, the device sending the prompt information includes: the device sending the prompt information based on at least one of the following: a display interface displaying prompt content; the display interface displaying an operation processing control, the operation processing control being used to respond to a response operation performed by the user based on the prompt information; sending a vibration prompt; and sending a sound prompt.

[0006] In an implementation manner, the prompt content includes at least one of the following: an identifier of the device being damaged; a cause of the damage; an operation prompt for removing the external device; operation content of performing a damage prevention operation; and prompt content of performing a response operation based on the operation processing control.

[0007] In an implementation manner, the display interface displaying the operation processing control is controlled in the following manner: the display interface is controlled to display an operation processing control in a first form, where the first form indicates that the operation processing control currently does not support performing an operation processing of a response operation; in response to detecting that the external device is removed, and / or in response to a time length of displaying the prompt information reaching a time length threshold, the display interface is controlled to display an operation processing control in a second form, where the second form indicates that the operation processing control currently supports performing an operation processing of a response operation.

[0008] In one embodiment, the anti-damage protection of the external connection port based on the response operation of the user to the prompt information comprises: detecting an electronic protection device in the device that performs the anti-damage protection; if the electronic protection device is detected in the device, performing first anti-damage protection of the external connection port based on whether the user performs the response operation to the prompt information; and if the electronic protection device is not detected in the device, performing second anti-damage protection of the external connection port based on whether the user performs the response operation to the prompt information.

[0009] In one embodiment, the first anti-damage protection of the external connection port based on whether the user performs the response operation to the prompt information comprises: enabling the electronic protection device, disabling the interaction function with the external device, and monitoring the temperature of the external connection port in response to that the user does not remove the external device and performs the response operation to the prompt information; enabling the electronic protection device and disabling the interaction function with the external device in response to that the user does not remove the external device and does not perform the response operation to the prompt information; releasing the electronic protection device and enabling the interaction function with the external device in response to that the user removes the external device and performs the response operation to the prompt information; and enabling the electronic protection device and disabling the interaction function with the external device in response to that the user removes the external device and does not perform the response operation to the prompt information.

[0010] In one embodiment, the second anti-damage protection of the external connection port based on whether the user performs the response operation to the prompt information comprises: disabling the interaction function with the external device, disabling the charging function, and monitoring the temperature of the external connection port in response to that the user does not remove the external device and performs the response operation to the prompt information; disabling the interaction function with the external device in response to that the user does not remove the external device and does not perform the response operation to the prompt information; enabling the interaction function with the external device in response to that the user removes the external device and performs the response operation to the prompt information; and disabling the interaction function with the external device in response to that the user removes the external device and does not perform the response operation to the prompt information.

[0011] According to a second aspect of the embodiments of the present disclosure, a device protection apparatus is provided, comprising a control unit configured to, in response to that an external connection port of a device is connected with an external device and the device determines that the external connection port has a risk of being damaged, the device sends a prompt information, the prompt information being used to remind a user to perform an anti-damage operation; and a protection unit configured to perform anti-damage protection of the external connection port based on a response operation of the user to the prompt information.

[0012] In an implementation, the control unit controls the device to send the prompt information in the following manner: controls the device to send the prompt information based on at least one of the following: the display interface displays prompt content; the display interface displays an operation processing control, the operation processing control is used to respond to a response operation performed by a user based on the prompt information; sends a vibration prompt; sends a sound prompt.

[0013] In an implementation, the prompt content includes at least one of the following: an identifier of the device generating damage; a cause of the damage; an operation prompt for removing the external device; operation content for performing an anti-damage operation; prompt content for performing a response operation based on an operation processing control.

[0014] In an implementation, the display interface displays the operation processing control in the following manner: controls the display interface to display an operation processing control in a first form, wherein the first form indicates that the operation processing control currently does not support performing an operation processing of a response operation; in response to detecting that the external device is removed, and / or in response to a time length of displaying the prompt information reaching a time length threshold, controls the display interface to display an operation processing control in a second form, the second form indicating that the operation processing control currently supports performing an operation processing of a response operation.

[0015] In an implementation, the protection unit performs anti-damage protection on the external connection port based on a response operation of a user on the prompt information in the following manner: detects an electronic protection device in the device that performs anti-damage protection; if it is detected that the device has an electronic protection device, performs first anti-damage protection on the external connection port based on whether the user has performed a response operation on the prompt information; if it is detected that the device does not have an electronic protection device, performs second anti-damage protection on the external connection port based on whether the user has performed a response operation on the prompt information.

[0016] In an implementation, the protection unit performs first anti-damage protection on the external connection port based on whether the user has performed a response operation on the prompt information in the following manner: in response to the user not removing the external device and performing a response operation on the prompt information, enables the electronic protection device, closes the interaction function with the external device, and monitors the temperature of the external connection port; in response to the user not removing the external device and not performing a response operation on the prompt information, enables the electronic protection device and closes the interaction function with the external device; in response to the user removing the external device and performing a response operation on the prompt information, releases the electronic protection device and opens the interaction function with the external device; in response to the user removing the external device and not performing a response operation on the prompt information, enables the electronic protection device and closes the interaction function with the external device.

[0017] In one implementation, the protection unit performs second damage protection on the external connection port based on whether the user performs a response operation on the prompt information in the following manner: in response to the user not removing the external device and performing a response operation on the prompt information, the device closes the interaction function with the external device, closes the charging function, and monitors the temperature of the external connection port; in response to the user not removing the external device and not performing a response operation on the prompt information, the device closes the interaction function with the external device, and closes the charging function; in response to the user removing the external device and performing a response operation on the prompt information, the device opens the interaction function with the external device, and opens the charging function; and in response to the user removing the external device and not performing a response operation on the prompt information, the device closes the interaction function with the external device, and closes the charging function.

[0018] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; and wherein the processor is configured to perform the device protection method in the first aspect or any one of the implementation manners of the first aspect.

[0019] According to a fourth aspect of the embodiments of the present disclosure, a storage medium is provided, and the storage medium stores instructions, and when the instructions in the storage medium are executed by a processor, the processor can perform the device protection method in the first aspect or any one of the implementation manners of the first aspect.

[0020] The technical solutions provided by the embodiments of the present disclosure can have the following beneficial effects: in response to the external connection port of the device connecting an external device, and the device determining that the external connection port has a damage risk, the device is controlled to issue a prompt information, effectively prompting the user to perform a damage prevention operation, and then performing damage prevention protection on the external connection port in a timely manner based on the damage prevention operation. The prompt information of the present disclosure prompts the user to perform the damage prevention operation, enhances the prompt, makes the user pay more attention to the device, and at the same time completes the damage prevention operation and performs the damage prevention protection in a timely manner, thereby increasing the service life of the device. It should be understood that the above general description and the detailed description below are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0021] The accompanying drawings, which are incorporated into and form a part of the specification, illustrate one embodiment consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.

[0022] Figure 1 is a flowchart of a device protection method according to an exemplary embodiment.

[0023] Figure 2 The figure is a schematic diagram showing a prompt information display position according to an exemplary embodiment.

[0024] Figure 3 The figure is a schematic diagram showing prompt information content according to an exemplary embodiment.

[0025] Figure 4 The figure is a flowchart showing a control operation processing control according to an exemplary embodiment.

[0026] Figure 5 The diagram is a schematic diagram showing an operation processing control that supports operation processing according to an exemplary embodiment.

[0027] Figure 6 The figure is a flowchart showing a control operation processing control according to an exemplary embodiment.

[0028] Figure 7 The figure is a block diagram showing an apparatus for protecting equipment according to an exemplary embodiment.

[0029] Figure 8 The figure is a block diagram showing an apparatus for protecting equipment according to an exemplary embodiment. DETAILED DESCRIPTION

[0030] Exemplary embodiments are described in detail herein, with examples illustrated in the accompanying drawings. When the following description refers to the drawings, identical numerals in different drawings represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present disclosure.

[0031] The device protection method provided in the embodiments of the present disclosure is applicable to scenarios where the external connection port of a device is protected. For example, the external connection port of the device is used as a charging port, and the external device is a charger. When the charger is connected to the charging port, the charging port is protected.

[0032] In related technologies, the external connection port of an electronic device may be a Type-C port. If the Type-C port is used as a charging port, it is inevitable that other problems such as dust and moisture may occur, causing the external connection port of the electronic device to show signs of being burned or to have been burned, thereby causing varying degrees of damage, thereby damaging the electronic device.

[0033] In view of this, the present disclosure proposes a device protection method, so that when the external port of an electronic device detects the presence of a foreign object, the device sends a prompt message to remind the user to perform corresponding operations and protect the electronic device.

[0034] Figure 1is a flowchart of a device protection method according to an exemplary embodiment. As shown in Figure 1 The method includes steps S11-S12.

[0035] In step S11, in response to the external connection port of the device connecting an external device, and the device determining that the external connection port is at risk of being damaged, the device issues prompt information for reminding a user to perform a damage prevention operation.

[0036] In the embodiments of the present disclosure, the external connection port of the device can be a charging port of the device, for example, a type-c port, which can be connected to an external device through a data connection line and used to charge the device and transmit data, and can also be used to charge other external devices.

[0037] The device determining that the external connection port is at risk of being damaged can be that the device predicts that the external connection port is at risk of being damaged based on the state of the external connection port. For example, when a negative temperature coefficient (NTC) thermistor arranged near the external connection port in the device reaches a preset temperature threshold, the device determines that the external connection port is at risk of being damaged, and the device issues prompt information. Or the device detects that there is foreign matter or liquid in the external connection port, determines that the external connection port is at risk of being damaged, and the device issues prompt information. Or the device determines that the external connection port is at risk of being damaged through other detection mechanisms, and the device issues prompt. The present disclosure does not limit the implementation process of the device determining that the external connection port is at risk of being damaged.

[0038] In the embodiments of the present disclosure, the external connection port of the device being at risk of being damaged can be understood as the external connection port of the device being damaged, burned, corroded, or other situations that may cause damage to the external connection port.

[0039] In the embodiments of the present disclosure, when the external connection port of the device connects an external device and the device determines that the external connection port is at risk of being damaged, the device issues prompt information, which can be understood as information for reminding a user to perform a damage prevention operation.

[0040] In step S12, based on the response operation of the user to the prompt information, the external connection port is protected against damage.

[0041] In the embodiments of the present disclosure, when the device determines that the external connection port is at risk of being damaged, the device issues prompt information, and the user needs to cooperate and respond according to the prompt information issued by the device, and based on the response operation of the user to the prompt information, the external connection port is protected against damage. The damage prevention protection can be understood as, after the device issues prompt information for reminding a user to perform a damage prevention operation, based on the corresponding operation of the user, the device is continuously monitored and protected until the external connection port of the device is not at risk of being damaged.

[0042] In the embodiments of the present disclosure, the device determines that the external connection port is at risk of being damaged, and the device sends a prompt information, thereby enhancing the prompt and improving the user's attention to the device. Based on the user's response operation to the prompt information, the external connection port of the device is protected from damage, thereby increasing the service life of the device and improving the proportion of damaged external connection ports in after-sales.

[0043] In the embodiments of the present disclosure, when the external connection port of the device is connected to an external device, and the device determines that the external connection port is at risk of being damaged, the device sends a prompt information, and prompts the user to perform a damage prevention operation through the prompt information, thereby strengthening the user's attention.

[0044] In the embodiments of the present disclosure, the device sends a prompt information based on at least one of the following: display interface prompt content, display interface display operation processing control, send vibration prompt, send sound prompt. The external device connected to the external connection port of the device can be a charger, and the external connection port can be used as a charging interface. When the charger is connected to the charging interface, there will inevitably be dust, moisture and other problems, which will cause the external connection port of the device to be at risk of being damaged. Based on the risk of being damaged, the device displays a prompt information on the user interface (UI) near the charging interface of the device, and the device vibrates and makes a sound based on the device condition, prompting the user to perform a damage prevention operation. Figure 2 FIG. 1 is a schematic diagram of a prompt information according to an example embodiment. As shown in FIG. 1, Figure 2 Figure 2 The box near the charging interface in FIG. 1 can be the position of the interface prompt information, which prompts the user to perform a damage prevention operation. In the embodiments of the present disclosure, the display position of the interface display content is not limited, and the display position of the interface display content can be adjusted according to actual conditions. The display interface includes an operation processing control. The operation processing control can be used to respond to the user's response operation based on the prompt information. The response operation can be, for example, an operation performed by the user to confirm that the damage prevention operation has been completed after the user performs the damage prevention operation according to the prompt information. For example, it can be a user click operation, a user voice input confirmation completion operation, etc.

[0045] ​In the above embodiments of the present disclosure, the vibration prompt can be understood as the device performing long vibration or short vibration several times based on a preset condition if the user does not perform a corresponding response operation based on the prompt information, for example, the prompt information indicates to remove the charger, and the user does not remove the charger. If the device detects that the user has removed the charger, the device performs short vibration or does not perform vibration when detecting removal of the charger. The sound prompt can be understood as an enhanced prompt, and the device performs a sound prompt. For example, if the user does not perform a corresponding response operation based on the prompt information, for example, the prompt information indicates to remove the charger, and the user does not remove the charger, the device issues a sharp sound with a warning based on a preset condition, prompting the user to not remove the charger.

[0046] In the embodiments of the present disclosure, based on the prompt information arranged near the external connection port, and the vibration prompt and the sound prompt, the prompt effect is more obvious, and the user cooperates to complete the execution action of the prompt information, thereby improving the safety of the user using the device.

[0047] In the embodiments of the present disclosure, the prompt content includes at least one of the following: an identifier of device damage, a cause of damage, an operation prompt for removing an external device, operation content for performing an anti-damage operation, and prompt content for performing a response operation based on an operation processing control. When the external device is a charger and the external connection port is used as a charging interface, as shown in Figure 3 Figure 3 is a schematic diagram of prompt information content according to an exemplary embodiment. The identifier of device damage can be a safety icon related to charging, the cause of damage can be a cause of damage risk of the charging interface, such as the presence of foreign matter or liquid. The operation prompt for removing the external device can be an operation prompt content such as prompting the user to pull out the charger, the operation content for performing the anti-damage operation can be related operation content for solving the damage risk of the charging interface, and the prompt content for performing the response operation based on the operation processing control can be clicking a button, and the button is used to perform the anti-damage operation.

[0048] In the embodiments of the present disclosure, as shown in Figure 3 The prompt information involved can be regarded as four modules, each module occupies a row, that is, four rows of prompt information. The identifier of device damage in the first row can be a safety icon, which improves the user's attention to the damage phenomenon of the external connection port of the device, for example, Figure 3 corresponding to the safety icon in the first row. The cause of damage in the second row can be a cause of the damage phenomenon of the external connection port of the device, for example, Figure 3 “detecting foreign matter or liquid” in the second row. The operation prompt for removing the external device and the operation content for performing the anti-damage operation in the third row can be operations that need to be performed by the user when it is determined that the external connection port of the device exists a damage phenomenon, for example,​Figure 3 Corresponding to the third row: please remove the charger and the connecting line, and click "I have cleaned up" after cleaning and drying all interfaces. The fourth row is the prompt content of the operation processing control based on the operation processing control to perform the response operation, which can be an operation processing control to perform the damage prevention operation, which contains the operation content to perform the damage prevention operation, for example, Figure 3 The "I have cleaned up" button in the fourth row.

[0049] In an example, the four modules of the prompt content correspond to the display content and the role, which can be as shown in Table 1, where the text, language, font, and size of the display content are not limited and can be customized by the user:

[0050]

[0051] Table 1

[0052] In the embodiments of the present disclosure, multiple information contents are displayed in the prompt information close to the external connection port, avoiding user negligence, and based on the indication of the prompt content, the user's attention to the damage phenomenon of the determined external connection port of the device is improved, and the service life of the device is increased.

[0053] In the embodiments of the present disclosure, the display interface is controlled to display the operation processing control in the following manner. Figure 4 is a flowchart of controlling an operation processing control according to an example embodiment. As shown in Figure 4 , it includes steps S21 to S22.

[0054] In step S21, the display interface is controlled to display the operation processing control in a first form.

[0055] In the embodiments of the present disclosure, in the display interface of the prompt information close to the external connection port, the device controls the display interface to display the operation processing control in a first form, where the first form indicates that the operation processing control currently does not support the operation processing to perform the response operation. For example, when the operation processing control is a touch button, the display interface displays the touch button in the first form in an unclickable state, i.e., it is currently inoperable.

[0056] In step S22, in response to detecting that the external device is removed, and / or in response to the time length of displaying the prompt information reaching a time length threshold, the display interface is controlled to display the operation processing control in a second form.

[0057] In the embodiments of the present disclosure, the display interface can display the operation processing control in the second form in response to detecting that the external device is removed, and / or in response to the time length of displaying the prompt information reaching a time length threshold. The second form can be understood as an operation processing that the operation processing control currently supports to perform a response operation. For example, when the operation processing control is a touch button, the display interface displays the touch button in the second form in a clickable state. In an example, Figure 5 is a schematic diagram of displaying an operation processing control supporting operation processing according to an example embodiment. As shown in Figure 5 When the external device is a charger and the external connection port is a charging interface, the time length threshold can be set to 5s. After 5s, the operation processing control is converted from the inoperable processing state to the operable processing state, where the time length threshold can also be other times. The operation processing control can also be converted from the inoperable processing state to the operable processing state after the user performs the action of pulling out the charger, so that the user can click.

[0058] In the embodiments of the present disclosure, the operation processing control is in the inoperable processing state when the pop-up window is displayed, which can avoid the user from mistakenly touching the operation processing control, and at the same time, can ensure that the user can finish reading and understanding the prompt content of the prompt information within the set time length threshold.

[0059] In the embodiments of the present disclosure, the external connection port is protected from damage based on the user performing a response operation on the prompt information. Figure 6 is a flowchart of controlling an operation processing control according to an example embodiment. As shown in Figure 6 includes steps S31 to S32b.

[0060] In step S31, an electronic protection device performing damage protection in the device is detected.

[0061] In the embodiments of the present disclosure, the electronic protection device performing damage protection in the device can be a metal-oxide-semiconductor (MOS) tube.

[0062] In step S32a, if it is detected that the device has an electronic protection device, the external connection port is protected from damage based on whether the user performs a response operation on the prompt information.

[0063] In the embodiments of the present disclosure, it is detected that the device has a metal-oxide-semiconductor (MOS) tube performing damage protection, and the external connection port is protected from damage based on the user performing a response operation on the prompt information. The first damage protection can be understood as a device that is specifically used for a device having a metal-oxide-semiconductor (MOS) tube performing damage protection.

[0064] In step S32b, if it is detected that the electronic protection device does not exist in the device, the second damage prevention protection is performed on the external connection port based on whether the user performs a response operation on the prompt information.

[0065] In the embodiments of the present disclosure, if it is detected that the anti-damage protection burn-out MOS tube does not exist in the device, the second damage prevention protection is performed on the external connection port based on the response operation of the user on the prompt information, wherein the second damage prevention protection can be understood as a device specially used for the anti-damage protection burn-out MOS tube that does not exist in the device.

[0066] In the embodiments of the present disclosure, different damage prevention protections are performed on the external connection port based on whether the electronic protection device for damage prevention exists in the device, so as to protect the external connection port of the device and increase the service life of the device.

[0067] In the embodiments of the present disclosure, the first damage prevention protection is performed on the external connection port based on whether the user performs a response operation on the prompt information.

[0068] In the embodiments of the present disclosure, when it is detected that the electronic protection device for damage prevention exists in the device, the first damage prevention protection is performed on the external connection port based on whether the user performs a response operation on the prompt information, as shown in Table 2. When the user does not remove the external device, if the user performs a response operation on the prompt information, the electronic protection device is enabled, the interaction function with the external device is closed, and the temperature of the external connection port is monitored. If the user does not perform a response operation on the prompt information, the electronic protection device is enabled, and the interaction function with the external device is closed. When the user removes the external device, if the user performs a response operation on the prompt information, the electronic protection device is released, and the interaction function with the external device is enabled. If the user does not perform a response operation on the prompt information, the electronic protection device is enabled, and the interaction function with the external device is closed.

[0069]

[0070] Table 2

[0071] In an example, the electronic protection device for performing the damage prevention protection is a burn-preventing MOS tube, the external device can be a charger, and the external connection port is taken as an example of an uncharged interface. In response to the user not unplugging the charger, the charger is still in place, and the user has clicked the operation processing control, the pop-up window disappears, the burn-preventing MOS tube is enabled, and the OTG function of the device is closed to avoid continuous use of the external connection port of the device. The OTG function can be understood as a charging source or a data transmission source of the device, and is used to charge and transmit data for the external device. The temperature of the NTC near the external connection port is re-sensed. If the NTC reaches a preset temperature threshold, the device can determine that the external connection port has a damage phenomenon, a pop-up window is re-displayed to prompt information. If the device does not determine that the external connection port has a damage phenomenon, the pop-up window condition is not met, and the pop-up window does not display the prompt information. In response to the user not unplugging the charger, the charger is still in place, and the user does not click the operation processing control, the pop-up window is still displayed on the UI interface, and the device enables the burn-preventing MOS tube and closes the OTG function. In response to unplugging the charger, the charger is not in place, and the user has clicked the operation processing control, so that the pop-up window disappears. It can be understood that the device has returned to normal function, the OTG function is restored, and the burn-preventing MOS tube is released. In response to the user unplugging the charger, the charger is not in place, and the user does not click the operation processing control, the pop-up window is still displayed on the UI interface, and the device enables the burn-preventing MOS tube and closes the OTG function. As shown in Table 3:

[0072]

[0073] Table 3

[0074] In the embodiments of the present disclosure, based on the presence of the electronic protection device for performing the damage prevention protection in the device, different protection operations are performed, which is targeted and facilitates the device to select different protection modes for different situations, thereby prolonging the service life of the device.

[0075] In the embodiments of the present disclosure, based on whether the user has performed a response operation on the prompt information, the second damage prevention protection is performed on the external connection port.

[0076] In the embodiments of the present disclosure, when it is detected that the electronic protection device for performing the damage prevention protection does not exist in the device, based on whether the user has performed a response operation on the prompt information, different operations are performed on the second damage prevention protection of the external connection port, as shown in Table 4. When the user does not remove the external device, if the user has performed a response operation on the prompt information, the interaction function with the external device is closed, and the temperature of the external connection port is monitored. If the user has not performed a response operation on the prompt information, the interaction function with the external device is closed. When the user removes the external device, if the user has performed a response operation on the prompt information, the interaction function with the external device is enabled. If the user has not performed a response operation on the prompt information, the interaction function with the external device is closed.

[0077]

[0078] Table 4

[0079] In an example, the electronic protection device for performing the damage prevention protection is a burn-preventing MOS tube, the external device can be a charger, and the external connection port is taken as an example of an uncharged interface. In response to the user not unplugging the charger, the charger is still in place, and the user has clicked the operation processing control, the pop-up window disappears, the OTG function of the device is closed, and the charging is stopped. The temperature of the NTC near the external connection port is sensed again. If the NTC reaches the preset temperature threshold, the device can determine that the external connection port has a damage phenomenon, a pop-up window is displayed again to prompt information. If the device does not determine that the external connection port has a damage phenomenon, the pop-up window condition is not met, and the pop-up window does not display the prompt information. In response to the user not unplugging the charger, the charger is still in place, and the user does not click the operation processing control, the pop-up window is still displayed on the UI interface, and the device keeps the OTG function closed and the charging stopped. The charging function in the embodiment of the present disclosure can be the OTG function, or can be the charging stopped. In response to the user unplugging the charger, the charger is not in place, and the user has clicked the operation processing control to make the pop-up window disappear, it can be understood that the device has returned to the normal function, and the OTG function is restored. In response to the user unplugging the charger, the charger is not in place, and the user does not click the operation processing control, the pop-up window is still displayed on the UI interface, and the device closes the OTG function. As shown in Table 5:

[0080]

[0081] Table 5

[0082] In the embodiment of the present disclosure, different protection operations are performed based on the fact that the electronic protection device for performing the damage prevention protection does not exist in the device, so that the device can select different protection modes for different situations, and the service life of the device is prolonged.

[0083] The device protection method is described in the embodiments of the present disclosure. In response to the external connection port of the device connecting an external device, and the device determining that the external connection port has a damage phenomenon, the device sends a prompt information, wherein the prompt information can be set near the external connection port, or can be in other positions. The prompt information includes at least one of the following: display interface prompt content, display interface display operation processing control, send vibration prompt, send sound prompt. Among them, the prompt content can include the identification of the device damage, the cause of the damage, the operation prompt of removing the external device, the operation content of executing the anti-damage operation, and the prompt content based on the operation processing control to execute the response operation. The vibration prompt can be understood as if the user does not remove the charger, the device performs long vibration or short vibration several times based on the preset condition. If the device detects that the user has removed the charger, the device performs short vibration or no vibration when detecting that the charger is removed. The sound prompt can be understood as performing a sound prompt. For example, if the user does not remove the charger, the device sends a prompt to the user that the charger has not been removed based on the preset condition.

[0084] In the embodiments of the present disclosure, the UI interface prompt information, vibration and sound are used to prompt the user to perform the anti-damage operation, and the user is reminded to perform the anti-damage operation. Based on the response operation of the user to the prompt information, the anti-damage operation is performed on the external connection port. If there is an electronic protection device for performing anti-damage protection in the device, the charger is not unplugged, and the user has clicked the operation processing control, the pop-up window disappears, the anti-burning MOS tube is enabled, and the OTG function of the device is closed to avoid continuing to use the external connection port of the device. The NTC temperature near the external connection port is sensed again. If the NTC reaches the preset temperature threshold, the prompt information is displayed again in the pop-up window. If the NTC does not reach the preset temperature threshold, the pop-up window condition is not met, and the prompt information is not displayed in the pop-up window. If the charger is not unplugged and the operation processing control is not clicked, the pop-up window is still displayed on the UI interface, and the device enables the anti-burning MOS tube and closes the OTG function. Similarly, if the user unplugs the charger and the user has clicked the operation processing control, the pop-up window disappears, the device restores to normal function, restores the OTG function, and releases the anti-burning MOS tube. If the user unplugs the charger and the user does not click the operation processing control, the pop-up window is still displayed on the UI interface, and the device enables the anti-burning MOS tube and closes the OTG function.

[0085] In the embodiment of the present disclosure, if the electronic protection device for performing damage prevention protection does not exist in the device, the user does not unplug the charger, and the user has clicked the operation processing control, the pop-up window disappears, the OTG function of the device is closed, and the charging is stopped. The NTC temperature near the external connection port is sensed again, and if the NTC reaches the preset temperature threshold, that is, the device can determine that the external connection port has a damage phenomenon, the pop-up window displays the prompt information again. If the device does not determine that the external connection port has a damage phenomenon, the pop-up window condition is not met, and the pop-up window does not display the prompt information. If the user does not unplug the charger and does not click the operation processing control, the pop-up window is still displayed on the UI interface, and the device keeps the OTG function closed and the charging stopped. If the user unplugs the charger and the user has clicked the operation processing control, the pop-up window disappears, which can be understood as that the device has returned to the normal function and the OTG function is restored. If the user unplugs the charger and the user does not click the operation processing control, the pop-up window is still displayed on the UI interface, and the device closes the OTG function.

[0086] In the embodiment of the present disclosure, the device determines that the external connection port has a damage phenomenon, the device sends a prompt information, the prompt is enhanced, the user's attention to the device is improved, the service life of the device is increased based on the damage prevention protection, and the proportion of the damaged external connection port in the after-sales is improved.

[0087] Based on the same concept, the embodiment of the present disclosure also provides a device protection apparatus 100.

[0088] It can be understood that the device protection apparatus 100 provided by the embodiment of the present disclosure includes a hardware structure and / or a software module for performing each function in order to achieve the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solution of the present disclosure.

[0089] Figure 7 is a block diagram of a device protection apparatus 100 according to an example embodiment. Referring to Figure 7 The apparatus includes a control unit 101 and a protection unit 102.

[0090] The control unit 101 is configured to, in response to that an external connection port of a device is connected to an external device and the device determines that the external connection port has a damage risk, the device sends a prompt information, and the prompt information is used to remind a user to perform a damage prevention operation.

[0091] The protection unit 102 is configured to protect the external port from damage based on the user's response operation to the prompt information.

[0092] In one embodiment, the control unit 101 controls the device to issue a prompt message in the following manner: controls the device to issue a prompt message based on at least one of the following: a display interface displays prompt content; a display interface displays an operation processing control, and the operation processing control is used to respond to a response operation performed by the user based on the prompt message; issues a vibration prompt; and issues a sound prompt.

[0093] In one embodiment, the prompt content includes at least one of the following: an identification of damage to the device; a cause of the damage; an operation prompt for removing the external device; the operation content of performing an anti-damage operation; and a prompt content for performing a response operation based on an operation processing control.

[0094] In one embodiment, the display interface is controlled to display an operation processing control in the following manner: the display interface is controlled to display an operation processing control in a first form, wherein the first form indicates that the operation processing control currently does not support operation processing for executing a response operation; in response to detecting that the external device is removed, and / or in response to the duration of displaying the prompt information reaching a duration threshold, the display interface is controlled to display an operation processing control in a second form, wherein the second form indicates that the operation processing control currently supports operation processing for executing a response operation.

[0095] In one embodiment, the protection unit 102 performs anti-damage protection on the external port based on the user's response to the prompt information in the following manner: detecting an electronic protection device that performs anti-damage protection in the electronic device; if it is detected that the device has an electronic protection device, performing a first anti-damage protection on the external port based on whether the user has performed a response operation to the prompt information; if it is detected that the device does not have an electronic protection device, performing a second anti-damage protection on the external port based on whether the user has performed a response operation to the prompt information.

[0096] In one embodiment, the protection unit 102 performs first damage prevention protection on the external connection port based on whether the user has performed a response operation on the prompt information in the following manner: in response to the user not removing the external device and performing a response operation on the prompt information, enabling the electronic protection device, closing the interaction function with the external device, and monitoring the temperature of the external connection port; in response to the user not removing the external device and not performing a response operation on the prompt information, enabling the electronic protection device and closing the interaction function with the external device; in response to the user removing the external device and performing a response operation on the prompt information, releasing the electronic protection device and opening the interaction function with the external device; and in response to the user removing the external device and not performing a response operation on the prompt information, enabling the electronic protection device and closing the interaction function with the external device.

[0097] In one embodiment, the protection unit 102 performs second damage prevention protection on the external connection port based on whether the user has performed a response operation on the prompt information in the following manner: in response to the user not removing the external device and performing a response operation on the prompt information, closing the interaction function with the external device and monitoring the temperature of the external connection port; in response to the user not removing the external device and not performing a response operation on the prompt information, closing the interaction function with the external device; in response to the user removing the external device and performing a response operation on the prompt information, opening the interaction function with the external device; and in response to the user removing the external device and not performing a response operation on the prompt information, closing the interaction function with the external device.

[0098] As to the apparatus in the above-described embodiments, the specific manners in which the respective modules perform operations have been described in detail in the embodiments of the method, and thus will not be described in detail here.

[0099] Figure 8 is a block diagram of an apparatus 200 for device protection according to an exemplary embodiment. The apparatus 200 can be provided as a terminal. For example, the apparatus 200 can be a mobile phone, computer, digital broadcast terminal, messaging equipment, game console, tablet equipment, medical equipment, fitness equipment, personal digital assistant, etc.

[0100] Referring to Figure 8 , the apparatus 200 can include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, an input / output (I / O) interface 212, a sensor component 214, and a communication component 216.

[0101] The processing component 202 generally controls the overall operations of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 can include one or more processors 220 to execute instructions delivered from the memory 204 to complete all or part of the steps of the methods described above. In addition, the processing component 202 can include one or more modules to facilitate the interaction between the processing component 202 and other components. For example, the processing component 202 can include a multimedia module to facilitate the interaction between the multimedia component 208 and the processing component 202.

[0102] The memory 204 is configured to store various types of data to support operations of the device 200. Examples of these data include instructions for any application or method operating on the device 200, contact data, phonebook data, messages, pictures, videos, and the like. The memory 204 can be implemented by any type of volatile or non-volatile storage devices or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0103] The power component 206 provides power to the various components of the device 200. The power component 206 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 200.

[0104] The multimedia component 208 includes a screen providing an output interface between the device 200 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes the touch panel, the screen can be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide, and a gesture on the touch panel. The touch sensors can not only sense a boundary of a touching or sliding action, but also detect duration and pressure related to the touching or sliding action. In some embodiments, the multimedia component 208 includes a front camera and / or a back camera. The front camera and / or the back camera can receive external multimedia data when the device 200 is in an operation mode, such as a shooting mode or a video mode. Each of the front and back cameras can be a fixed optical lens system or have a focal length and optical zoom capability.

[0105] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC) that is configured to receive an external audio signal when the device 200 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 204 or transmitted via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.

[0106] The I / O interface 212 provides an interface between the processing component 202 and peripheral interface modules, which can include a keypad, a click wheel, buttons, and so on. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.

[0107] The sensor component 214 includes one or more sensors for providing status assessments of various aspects of the device 200. For example, the sensor component 214 can detect an open / closed position of the device 200, relative positioning of components, such as a display and a keypad of the device 200, a change of position of the device 200 or a component of the device 200, presence or absence of user contact with the device 200, orientation or acceleration / deceleration / g-force and temperature of the device 200. The sensor component 214 can include an orientation sensor, an altimeter, a proximity sensor, an accelerometer, a gyroscope, a magnetometer, a pressure sensor or a temperature sensor.

[0108] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and another device. The device 200 can access a wireless network based on a corresponding communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an example embodiment, the communication component 216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication component 216 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) techniques, infrared data association (IrDA) techniques, ultra-wideband (UWB) techniques, Bluetooth (BT) techniques, and other techniques.

[0109] In exemplary embodiments, the apparatus 200 can be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components, for executing the above-described methods.

[0110] In exemplary embodiments, a non-transitory computer-readable storage medium including instructions, such as the memory 204 including instructions, is also provided, which can be executed by the processor 220 of the apparatus 200 to complete the above-described methods. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.

[0111] It can be understood that "multiple" in the present disclosure refers to two or more, and other quantifiers are similar. The association relationship of "and / or" describing the associated objects means that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist together, and B exists alone. The character " / " generally represents that the associated objects before and after are in an "or" relationship. The singular form "a", "said" and "the" are also intended to include the plural form, unless the context clearly indicates otherwise.

[0112] It can be further understood that the terms "first", "second", and the like are used to describe various information, but these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a particular order or importance. In fact, the expressions of "first", "second", and the like can be completely interchangeable. For example, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information without departing from the scope of the present disclosure.

[0113] It can be further understood that the terms "center", "longitudinal", "transverse", "front", "back", "up", "down", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the embodiments and simplifying the description, and do not indicate or imply that the indicated device or element must have a particular orientation, be constructed and operated in a particular orientation.

[0114] It can be further understood that, unless otherwise specified, "connection" includes direct connection between the two without other components, and also includes indirect connection between the two with other elements.

[0115] It will be further appreciated that embodiments of the present disclosure, although described in particular sequential order, some of the operations can be performed concurrently, out of order, partially in parallel, or individually based on user or manufacturer setting, or intended function. In one case, the method can be implemented using firmware, including: one or more application specific integrated circuits (ASICs); digital signal processors (DSPs); digital signal processing devices (DSPDs); programmable logic devices (PLDs); field programmable gate arrays (FPGAs); processors; controllers; micro-controllers; microprocessors; other electronic units designed to perform the functions described herein, including computational and / or storage means, or a combination thereof.

[0116] Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the concepts disclosed herein. It is intended that the present disclosure cover any and all variations of the embodiments described herein including modifications and alterations of the method and / or specific structures as would be readily apparent to one of ordinary skill in the art having the benefit of this disclosure. It is therefore intended that the disclosure not be limited to the exact

[0117] It is to be understood that the present disclosure is not limited to the precise construction described herein and as shown in the attached drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope of the present disclosure. The scope of the present disclosure is limited only by the claims that follow.

Claims

1. A device protection method characterized by, The method comprises: In response to the external device being connected to the external connection port of the device, and the device determining that the external connection port is at risk of damage, the device sends prompt information for reminding a user to perform a damage prevention operation; Based on the response operation of the user to the prompt information, the external connection port is protected against damage.

2. The method of claim 1, wherein, The device sends prompt information, comprising: The device sends prompt information based on at least one of the following: The display interface displays prompt content; The display interface displays an operation processing control, which is used to respond to the response operation of the user based on the prompt information; Send a vibration prompt; Send a sound prompt.

3. The method of claim 2, wherein, The prompt content comprises at least one of the following: An identifier of the damage generated by the device; The cause of the damage; Operation prompt for removing the external device; Operation content of performing a damage prevention operation; Prompt content based on the response operation of the operation processing control.

4. The method of claim 2, wherein, The display interface displays the operation processing control in the following manner: Control the display interface to display the operation processing control in a first form, wherein the first form indicates that the operation processing control currently does not support the execution of the response operation; In response to detecting that the external device is removed, and / or in response to the time length of displaying the prompt information reaching a time length threshold, control the display interface to display the operation processing control in a second form, wherein the second form indicates that the operation processing control currently supports the execution of the response operation.

5. The method of claim 1, wherein, The protection against damage of the external connection port based on the response operation of the user to the prompt information comprises: Detecting an electronic protection device in the device for performing damage prevention protection; If the electronic protection device is detected in the device, the first damage prevention protection is performed on the external connection port based on whether the user has performed the response operation on the prompt information; If the electronic protection device is not detected in the device, the second damage prevention protection is performed on the external connection port based on whether the user has performed the response operation on the prompt information.

6. The method of claim 5, wherein, The first damage prevention protection performed on the external connection port based on whether the user has performed the response operation on the prompt information comprises: In response to the user not removing the external device and performing the response operation on the prompt information, enabling the electronic protection device, closing the interaction function with the external device, and monitoring the temperature of the external connection port; In response to the user not removing the external device and not performing the response operation on the prompt information, enabling the electronic protection device and closing the interaction function with the external device; In response to the user removing the external device and performing the response operation on the prompt information, releasing the electronic protection device and enabling the interaction function with the external device; In response to the user removing the external device and not performing the response operation on the prompt information, enabling the electronic protection device and closing the interaction function with the external device.

7. The method of claim 5, wherein, The second damage prevention protection performed on the external connection port based on whether the user has performed the response operation on the prompt information comprises: in response to the user not removing the external device and performing a response operation on the prompt information, closing the interaction function with the external device, and monitoring the temperature of the external connection port; in response to the user not removing the external device and not performing a response operation on the prompt information, closing the interaction function with the external device; in response to the user removing the external device and performing a response operation on the prompt information, opening the interaction function with the external device; in response to the user removing the external device and not performing a response operation on the prompt information, closing the interaction function with the external device.

8. A device protection apparatus, characterized by, comprising: a control unit configured to, in response to an external device being connected to a device via an external connection port of the device and the device determining that the external connection port is at risk of being damaged, the device issuing prompt information for reminding a user to perform a damage prevention operation; a protection unit configured to, based on a response operation of the user on the prompt information, performing damage prevention protection on the external connection port.

9. The device protection apparatus of claim 8, wherein, The control unit controls the device to issue prompt information in the following manner: The device issues prompt information based on at least one of the following: the display interface displays prompt content; the display interface displays operation processing controls for responding to a response operation of the user based on the prompt information; issuing a vibration prompt; issuing a sound prompt.

10. An electronic device, comprising: comprising: a processor: a memory for storing processor-executable instructions; wherein the processor is configured to execute the device protection method of any one of claims 1 to 7.

11. A storage medium, characterized by The storage medium has instructions stored therein, and when the instructions in the storage medium are executed by the processor, the processor can execute the device protection method of any one of claims 1 to 7.