Electronic product, data clearing method thereof and computer readable storage medium
By using mechanically triggered shrapnel and induction devices in electronic products, the parameter values between the rear case and the main body are detected, and the problem that electronic products are easily cracked by illegal disassembly is solved, achieving the accuracy and safety of data clearing operations.
Patent Information
- Application Number
- CN202311779571.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2025-06-24
AI Technical Summary
Conventional electronic products are easily cracked illegally, resulting in personal information leakage and financial risks.
An electronic product is designed, including a mechanical trigger shrapnel and an induction device. The induction device is triggered when the mechanical trigger shrapnel is disengaged from the main body, and the parameter values between the rear case and the main body are detected to ensure that the data clearing operation is performed in a non-connected state.
Effectively prevent personal information leakage and financial risks caused by illegal disassembly, improve the safety and reliability of electronic products, and reduce misjudgment and unnecessary losses.
Smart Images

Figure CN120197205A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic products, and particularly to an electronic product, a method for clearing data thereof, and a computer-readable storage medium. Background Art
[0002] At present, in today's digital age, electronic products have become indispensable tools in daily life. Especially mobile phones have become everyone's personal assistants and information storage centers. A large amount of sensitive information such as personal photos, address books, chat records, social media accounts, and bank passwords are stored in mobile phones, which carry a large amount of personal information and privacy. In conventional electronic products, in the case of the theft or loss of the handset, it is easy to be illegally disassembled and cracked, resulting in the leakage of personal information and financial risks. Summary of the Invention
[0003] The main purpose of the embodiments of this application is to provide an electronic product, a method for clearing data thereof, and a computer-readable storage medium, so as to at least solve the problem that conventional electronic products are easily illegally disassembled and cracked, resulting in the leakage of personal information and financial risks.
[0004] To achieve the above purpose, the embodiments of this application propose an electronic product, which includes a main body, a rear case, a mechanical trigger elastic piece, a sensing device, and a processor; the rear case is detachably connected to the main body, the mechanical trigger elastic piece is connected to the rear case, the sensing device and the processor are both disposed on the main body, and the mechanical trigger elastic piece and the sensing device are both communicatively connected to the processor; the mechanical trigger elastic piece is used to trigger the sensing device when it is disengaged from abutting against the main body; the sensing device is used to detect the parameter value between the rear case and the main body when being triggered.
[0005] The embodiments of this application also provide a method for clearing data. The method for clearing data is applied to the above-mentioned electronic product, and the method for clearing data includes the following steps:
[0006] Receive the status information between the mechanical trigger elastic piece and the main body;
[0007] When the status information is that the mechanical trigger elastic piece is disengaged from abutting against the main body, trigger the sensing device to detect the parameter value between the rear case and the main body through the sensing device;
[0008] When the parameter value changes, determine that the rear case and the main body are in a non-connected state;
[0009] Execute the data clearing operation.
[0010] An embodiment of the present application also provides a computer-readable storage medium storing a computer program, and the computer program is executed by a processor to implement the data clearing method as described above.
[0011] In the electronic product disclosed in the embodiment of the present application, the mechanical trigger elastic piece can trigger the sensing device to enter the detection when it is disengaged from the main body, avoiding the loss of the overall power consumption of the electronic product caused by the sensing device always being in the working detection state. By further detecting the parameter value between the rear shell and the main body through the sensing device, it is possible to avoid unnecessary losses to the user caused by the electronic product accidentally triggering the data clearing operation under occasional dropping, collision or other vibration conditions. The mechanical trigger elastic piece and the sensing device are in a relationship of mutual fault tolerance and cooperation, reducing misjudgment.
[0012] In the electronic product of the embodiment of the present application, when the mechanical trigger elastic piece is disengaged from the main body, the sensing device is triggered, and when the parameter value detected by the sensing device changes, the data clearing operation is executed. By detecting twice through the mechanical trigger elastic piece and the sensing device, the detection accuracy is improved and misjudgment is reduced, and it can be determined that the rear shell and the main body are in a non-connected state, clearing the personal sensitive information on the electronic product, preventing the illegal export of personal sensitive information resulting in personal information leakage and financial risks, and improving the security and reliability of the electronic product. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on the structures shown in these drawings without creative efforts.
[0014] Figure 1 It is a schematic structural diagram of an electronic product in an embodiment of the electronic product related to the solution of the embodiment of the present application;
[0015] Figure 2 It is a schematic structural diagram of an electronic product in another embodiment of the electronic product related to the solution of the embodiment of the present application;
[0016] Figure 3 It is a schematic flowchart of a data clearing method in an embodiment of the data clearing method related to the solution of the embodiment of the present application;
[0017] Figure 4 It is a schematic flowchart of a data clearing method in another embodiment of the data clearing method related to the solution of the embodiment of the present application;
[0018] Figure 5 It is a schematic flowchart of a data clearing method in yet another embodiment of the data clearing method related to the solution of the embodiment of the present application;
[0019] Figure 6 This is a schematic structural diagram of an electronic product in another embodiment related to the solution of the embodiment of the present application.
[0020] Explanation of the reference numerals in the drawings:
[0021] Label Name Label Name 100 Electronic product 31 Connection part 10 Main body 32 Contact part 11 Contact point 40 Induction device 20 Rear shell 41 Distance sensor 30 Mechanical trigger shrapnel 42 Light sensor
[0022] The realization of the objectives, functional features and advantages of the embodiments of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments. Specific embodiments
[0023] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts belong to the scope of protection of the present application.
[0024] It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present application are only used to explain the relative positional relationship and movement conditions between components in a specific posture (as shown in the drawings). If the specific posture changes, the directional indications will also change accordingly.
[0025] In addition, in the embodiments of the present application, descriptions such as "first" and "second" are only for descriptive purposes, and cannot be understood as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In the description of the embodiments of the present application, the meaning of "a plurality" is at least two, such as two, three, etc., unless otherwise specifically defined.
[0026] In the embodiments of the present application, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. shall be understood in a broad sense. For example, "fixation" may be a fixed connection, a detachable connection, or integrated; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the communication inside two elements or the interaction relationship between two elements, unless otherwise clearly limited. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific situations.
[0027] In addition, the technical solutions between the various embodiments of the present application can be combined with each other, but it must be based on the ability of those of ordinary skill in the art to implement. When the combination of technical solutions results in contradictions or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present application.
[0028] An embodiment of the present application provides an electronic product, a method for clearing data thereof, and a computer-readable storage medium.
[0029] In one embodiment, please refer to Figure 1 and Figure 2 . The electronic product 100 includes a main body 10, a rear case 20, a mechanical trigger shrapnel 30, a sensing device 40, and a processor; the rear case 20 is detachably connected to the main body 10, the mechanical trigger shrapnel 30 is connected to the rear case 20, the sensing device 40 and the processor are both disposed on the main body 10, and the mechanical trigger shrapnel 30 and the sensing device 40 are both communicatively connected to the processor; the mechanical trigger shrapnel 30 is configured to trigger the sensing device 40 when it is disengaged from abutting against the main body 10; the sensing device 40 is configured to detect a parameter value between the rear case 20 and the main body 10 when being triggered.
[0030] The rear case 20 is detachably mounted on the main body 10, and the rear case 20 can be detached from the main body 10, facilitating disassembly and repair. The mechanical trigger shrapnel 30 is disposed on the rear case 20 and moves together with the rear case 20. In the disassembled state, when the rear case 20 is disengaged from the main body 10 and the mechanical trigger shrapnel 30 moves together with the rear case 20, the mechanical trigger shrapnel 30 will also be disengaged from the main body 10. In the normal state, when the rear case 20 is connected to the main body 10, the mechanical trigger shrapnel 30 will also abut against the main body 10. The sensing device 40 and the processor are installed and fixed by being disposed on the main body 10. The mechanical trigger shrapnel 30 and the sensing device 40 are both communicatively connected to the processor, and the mechanical trigger shrapnel 30 and the sensing device 40 will send signals to the processor.
[0031] When the mechanical trigger shrapnel 30 is disengaged from the main body 10, the mechanical trigger shrapnel 30 may be instantaneously disengaged due to the phone dropping or other accidental vibrations, or may be permanently disengaged due to illegal disassembly. Therefore, when the mechanical trigger shrapnel 30 is disengaged from the main body 10, it is necessary to further detect the parameter value between the rear case 20 and the main body 10 through the sensing device 40 to determine the state between the rear case 20 and the main body 10. In some embodiments, the parameter value may be the distance value between the rear case 20 and the main body 10, the ambient light brightness value, or other values that can represent the connection state between the rear case 20 and the main body 10. The mechanical trigger shrapnel 30 can trigger the sensing device 40 to enter the detection when it is disengaged from the main body 10, avoiding the loss of the overall power consumption of the electronic product 100 caused by the sensing device 40 always being in the working detection state. By further detecting the parameter value between the rear case 20 and the main body 10 through the sensing device 40, it is possible to avoid unnecessary losses to the user caused by the electronic product 100 accidentally triggering the data clearing operation under occasional dropping, collision, or other vibration conditions. The mechanical trigger shrapnel 30 and the sensing device 40 are in a relationship of mutual fault tolerance and cooperation, reducing misjudgment.
[0032] In the electronic product 100 according to the embodiment of the present application, when the mechanical trigger shrapnel 30 is disengaged from the main body 10, the sensing device 40 is triggered. When the parameter value detected by the sensing device 40 changes, the data clearing operation is executed. By detecting twice through the mechanical trigger shrapnel 30 and the sensing device 40, the detection accuracy is improved and misjudgment is reduced, and it can be determined that the rear case 20 and the main body 10 are in a non-connected state, clearing the personal sensitive information on the electronic product 100, preventing the illegal export of personal sensitive information from causing personal information leakage and financial risks, and improving the security and reliability of the electronic product 100.
[0033] In one embodiment, please refer to Figure 1 , the mechanical trigger shrapnel 30 includes a connecting portion 31 and two abutting portions 32. The two ends of the connecting portion 31 are elastically connected to the two abutting portions 32 respectively. The connecting portion 31 is connected to the rear case 20, and both of the two abutting portions 32 are used for abutting against the main body 10; the mechanical trigger shrapnel 30 is used to trigger the sensing device 40 when at least one of the abutting portions 32 is disengaged from the main body 10.
[0034] The connecting portion 31 extends in the left - right direction. The left and right ends of the connecting portion 31 are elastically connected to the two abutting portions 32 respectively, and the two abutting portions 32 can be deformed relative to the connecting portion 31. The connecting portion 31 is connected to the rear shell 20, thereby realizing the connection between the mechanical trigger elastic piece 30 and the rear shell 20, realizing the installation and fixation of the mechanical trigger elastic piece 30, so that the mechanical trigger elastic piece 30 can move together with the rear shell 20. The mechanical trigger elastic piece 30 is used to trigger the sensing device 40 when at least one of the abutting portions 32 is disengaged from the main body 10. That is to say, when it is detected that one of the abutting portions 32 is disengaged from the main body 10, or both of the abutting portions 32 are disengaged from the main body 10, the sensing device 40 is triggered, and the parameter value between the rear shell 20 and the main body 10 is detected by the sensing device 40 to determine the state between the rear shell 20 and the main body 10.
[0035] Among them, the two abutting portions 32 of the mechanical trigger elastic piece 30 are elastically abutted against the left and right ends of the connecting portion 31 respectively. When the rear shell 20 is installed on the main body 10, the rear shell 20 moves downward, causing the mechanical trigger elastic piece 30 to deform, and the distance between the left - right ends of the two abutting portions 32 increases. In the disassembly state, the distance between the left - right ends of the two abutting portions 32 decreases, and the elastic force of the abutting portion 32 will pop the rear shell 20 upward, so that the parameter values between the rear shell 20 and the main body 10, such as the distance value and the ambient light brightness value, change rapidly, improving the detection efficiency and accuracy.
[0036] In an embodiment, please refer to Figure 1 , two contacts 11 are provided on the main body 10, and the two contacts 11 are arranged in one - to - one correspondence with the two abutting portions 32. The mechanical trigger elastic piece 30 is used to conduct the two contacts 11; the mechanical trigger elastic piece 30 is used to trigger the sensing device 40 when at least one of the abutting portions 32 is disengaged from the corresponding contact 11 so that the two contacts 11 are not conducted.
[0037] The two contacts 11 are arranged at intervals in the left - right direction, and the two contacts 11 are arranged in one - to - one correspondence with the two abutting portions 32. The mechanical trigger elastic piece 30 is made of a conductive material, and the mechanical trigger elastic piece 30 is used to conduct the two contacts 11. When the two contacts 11 are not conducted through the mechanical trigger elastic piece 30, it is determined that at least one of the abutting portions 32 is in a state of being disengaged from the main body 10. When the two contacts 11 are conducted through the mechanical trigger elastic piece 30, it is determined that both of the abutting portions 32 are in a state of abutting against the main body 10, and the sensing device 40 is triggered.
[0038] During normal use, the rear case 20 is connected to the main body 10, and the two abutting portions 32 are in one-to-one correspondence with the two contacts 11 and abut against each other, so that the mechanical trigger shrapnel 30 conducts the two abutting portions 32. In the disassembled state, the rear case 20 is separated from the main body 10, and at least one abutting portion 32 is separated from the corresponding contact 11, so that the two contacts 11 are not conducted, which is a short-circuit state. Then it is determined that the state information is that at least one abutting portion 32 is in a state of being separated from the main body 10. In this embodiment, by setting the cooperation between the two contacts 11 and the two abutting portions 32, and detecting whether the two contacts 11 are conducted through the mechanical trigger shrapnel 30, it is possible to determine whether the abutting portion 32 is separated from the main body 10, which can achieve fast detection and high detection accuracy.
[0039] In one embodiment, please refer to Figure 2 , the parameter value includes a distance value, the sensing device 40 includes a distance sensor 41, the distance sensor 41 is arranged on the main body 10, and the distance sensor 41 is used to detect the distance value between the main body 10 and the rear case 20 when triggered.
[0040] The parameter value includes a distance value, and the distance value is the distance between the rear case 20 and the main body 10. When the rear case 20 is separated from the main body 10, the distance between the rear case 20 and the main body 10 will change; when the rear case 20 is not separated from the main body 10, the distance between the rear case 20 and the main body 10 does not change. The distance sensor 41 is installed and fixed by being connected to the main body 10, and the distance sensor 41 is used to detect the distance value between the rear case 20 and the main body 10. The distance sensor 41 in this embodiment is an infrared distance sensor 41. Please refer to Figure 2 the L1 optical path in, the distance sensor 41 is arranged on the main body 10, the emission port of the distance sensor 41 emits infrared light, and the infrared light is reflected after hitting the rear case 20 and enters the receiving port. The distance between the rear case 20 and the main body 10 can be calculated through the time difference between emitting and receiving the infrared light. When the rear case 20 is separated from the main body 10, the distance sensor 41 can detect that the distance value between the rear case 20 and the main body 10 has changed.
[0041] In some feasible embodiments, the distance sensor 41 can also be flexibly adjusted to an ultrasonic distance sensor 41, a radar distance sensor 41 or other types of distance sensors 41 according to actual needs. The specific type of the distance sensor 41 in this application embodiment is not limited.
[0042] During the normal use of the electronic product 100, the sensing device 40 does not work. That is to say, when the electronic product 100 is in normal use, the distance sensor 41 does not work. When the mechanical trigger shrapnel 30 is disengaged from the abutment with the main body 10, the sensing device 40 is triggered to enter the detection, and the distance sensor 41 starts to work, avoiding the loss of the overall power consumption of the electronic product 100 caused by the distance sensor 41 being in the working detection state all the time.
[0043] In one embodiment, please refer to Figure 2 together. The parameter value includes the ambient light brightness value. The sensing device 40 includes a light sensor 42. The light sensor 42 is arranged on the main body 10 and is used to detect the ambient light brightness value between the main body 10 and the rear case 20 when triggered.
[0044] The parameter value includes the ambient light brightness value. The ambient light brightness value is the ambient light brightness between the rear case 20 and the main body 10. When the rear case 20 is disengaged from the main body 10, the external light will irradiate on the light sensor 42, and the ambient light brightness detected by the light sensor 42 will increase; when the rear case 20 is not disengaged from the main body 10, the rear case 20 covers the main body 10, and the ambient light brightness detected by the light sensor 42 is very low.
[0045] The light sensor 42 is installed and fixed by connecting with the main body 10, and the light sensor 42 is used to detect the ambient light brightness value between the rear case 20 and the main body 10. Please refer to Figure 2 the L2 optical path in. The light sensor 42 is arranged on the main body 10, and the light sensor 42 receives the ambient light above it. When the rear case 20 is connected to the main body 10, the rear case 20 covers the main body 10, and the ambient light brightness received by the light sensor 42 is very low. When the rear case 20 is disengaged from the main body 10, the external light enters, and the ambient light brightness received by the light sensor 42 will become higher.
[0046] During the normal use of the electronic product 100, the sensing device 40 does not work. That is to say, when the electronic product 100 is in normal use, the light sensor 42 does not work. When the mechanical trigger shrapnel 30 is disengaged from the abutment with the main body 10, the sensing device 40 is triggered to enter the detection, and the light sensor 42 starts to work, avoiding the loss of the overall power consumption of the electronic product 100 caused by the light sensor 42 being in the working detection state all the time.
[0047] In one embodiment, the electronic product 100 includes a main battery (not shown in the figure) and a backup battery (not shown in the figure). The backup battery is used to supply power when the main battery cannot supply power.
[0048] Situations where the main battery cannot supply power may include, but are not limited to, the following two cases. One is that the main battery runs out of power, that is, when the main battery has no power, the backup battery is used for power supply. The other is that the main battery is removed and cannot supply power, that is, when the main battery has been removed and cannot supply power, the backup battery is used for power supply.
[0049] In the case where the main battery cannot supply power, the backup battery is used for power supply to ensure that the electronic product 100 has a battery that can support the execution of the data clearing operation. Even if the main battery runs out of power or is removed during illegal disassembly, there is still a backup battery that can supply power, improving the safety and reliability of the electronic product 100 and protecting the user's privacy and personal sensitive information.
[0050] It can be understood that when the main battery has power and is not removed, the main battery is used for power supply to reduce the loss of the backup battery.
[0051] In some feasible embodiments, the backup battery can directly supply power to the mechanical trigger shrapnel 30 and the sensing device 40, regardless of the power supply situation of the main battery. That is to say, whether the main battery can supply power or not, the backup battery can directly supply power to the mechanical trigger shrapnel 30 and the sensing device 40.
[0052] In addition, the embodiment of the present application also provides a data clearing method. The data clearing method is applied to the above-mentioned electronic product 100, and the specific structure of the electronic product 100 refers to the above-mentioned embodiment. Since the data clearing method adopts all the technical solutions of the above-mentioned embodiment, it at least has all the beneficial effects brought by the technical solutions of the above-mentioned embodiment, which will not be elaborated here one by one.
[0053] In one embodiment, please refer to Figure 3 , Figure 3 which is a schematic flowchart of one embodiment of the data clearing method involved in the embodiment of the present application.
[0054] The data clearing method includes the following steps:
[0055] Step S10, receiving the status information between the mechanical trigger shrapnel and the main body;
[0056] The status information between the mechanical trigger shrapnel 30 and the main body 10 includes two types. Among them, when the status information is that the mechanical trigger shrapnel 30 is in contact with the main body 10, the rear shell 20 has not separated from the main body 10. At this time, the electronic product 100 is in normal use and no one is detected disassembling the machine. When the status information is that the mechanical trigger shrapnel 30 is separated from the main body 10, at this time, the mechanical trigger shrapnel 30 may be instantaneously separated due to the mobile phone dropping or other accidental vibrations, or may be permanently separated due to illegal disassembly.
[0057] Step S20: When the status information indicates that the mechanical trigger shrapnel is disengaged from the main body, trigger the sensing device to detect the parameter value between the rear shell and the main body through the sensing device.
[0058] When the status information indicates that the mechanical trigger shrapnel 30 is disengaged from the main body 10. At this time, the mechanical trigger shrapnel 30 may be instantaneously disengaged due to the mobile phone dropping or other accidental vibrations, or may be permanently disengaged due to illegal disassembly. Therefore, it is necessary to further detect the parameter value between the rear shell 20 and the main body 10 through the sensing device 40. In some embodiments, the parameter value may be the distance value between the rear shell 20 and the main body 10, the ambient light brightness value, or other numerical values that can represent the connection state between the rear shell 20 and the main body 10.
[0059] Step S30: When the parameter value changes, determine that the rear shell and the main body are in a non-connected state.
[0060] Step S40: Perform the data clearing operation.
[0061] When the parameter value detected by the sensing device 40 changes, and the mechanical trigger shrapnel 30 is disengaged from the main body 10. Through the two detections of the mechanical trigger shrapnel 30 and the sensing device 40, it can be determined that the rear shell 20 and the main body 10 are in a non-connected state. The processor immediately performs the data clearing operation to clear the personal sensitive information on the electronic product 100, preventing the illegal export of personal sensitive information from causing personal information leakage and financial risks, and improving the security and reliability of the electronic product 100. The mechanical trigger shrapnel 30 can trigger the sensing device 40 to enter the detection, avoiding the loss of the overall power consumption of the electronic product 100 caused by the sensing device 40 always being in the working detection state. By further detecting the parameter value between the rear shell 20 and the main body 10 through the sensing device 40, it can be avoided that the electronic product 100 accidentally triggers the data clearing operation under occasional dropping, collision or other vibration conditions, causing unnecessary losses to the user.
[0062] In this embodiment, by setting the mechanical trigger shrapnel 30 and the sensing device 40 to cooperate with each other, misjudgment is reduced, the accuracy of judgment is improved, and the use of the electronic product 100 is made more convenient.
[0063] In some embodiments, please refer to Figure 4 , Figure 4 which is a schematic flowchart of another embodiment in the data clearing method involved in the embodiment solution of this application.
[0064] After step S30, it further includes:
[0065] Step S31: Detect whether an unlock instruction is received.
[0066] When it is determined that the rear case 20 is in a non-connected state with the main body 10, the rear case 20 is detached from the main body 10. At this time, if it is detected that the electronic product 100 is in a disassembled state, it is necessary to further detect whether the electronic product 100 has received an unlocking instruction to determine whether it is an illegal disassembly.
[0067] Step S32: When no unlocking instruction is received, determine that the electronic product is in an illegal disassembly state.
[0068] When no unlocking instruction is received, that is, the person who is disassembling the machine has not input an unlocking instruction. If the electronic product 100 is likely to be stolen or lost and the person disassembling the machine is not the owner of the machine, then it is determined that the electronic product 100 is in an illegal disassembly state. The processor immediately executes a data clearing operation to clear the personal sensitive information on the electronic product 100. Personal sensitive information includes sensitive information such as personal photos, address books, chat records, social media accounts, and bank passwords, to prevent the illegal export of personal sensitive information resulting in personal information leakage and financial risks.
[0069] Step S33: When an unlocking instruction is received, determine whether the unlocking instruction is correct.
[0070] Step S34: When the unlocking instruction is incorrect, determine that the electronic product is in an illegal disassembly state.
[0071] When an unlocking instruction is received, it is necessary to further determine whether the unlocking instruction is correct. When the unlocking instruction is incorrect, if the electronic product 100 is likely to be stolen or lost and the person disassembling the machine is not the owner of the machine, then it is determined that the electronic product 100 is in an illegal disassembly state. The processor immediately executes a data clearing operation to clear the personal sensitive information on the electronic product 100, to prevent the illegal export of personal sensitive information resulting in personal information leakage and financial risks.
[0072] Step S40 includes:
[0073] Step S41: When the electronic product is in an illegal disassembly state, execute a data clearing operation.
[0074] It can be understood that when the unlocking instruction is correct, it is determined that the electronic product 100 is in the disassembly and repair state. At this time, the data clearing operation is not performed. That is to say, during normal disassembly and repair, the owner needs to first input the unlocking instruction, and the unlocking instruction can use the normal power-on password, fingerprint security data, or facial security data on the electronic product 100. After inputting the correct unlocking instruction, when the received status information indicates that the rear case 20 and the main body 10 are in a non-connected state and the unlocking instruction is correct, it is determined that the electronic product 100 is in the disassembly and repair state. At this time, the data clearing operation is not performed to prevent personal sensitive information from being accidentally deleted during normal disassembly and repair, making the use of the electronic product 100 more convenient and reasonable.
[0075] In this embodiment, by setting the unlocking instruction and detecting whether the unlocking instruction is received, when the unlocking instruction is not received or the received unlocking instruction is incorrect, it is determined that the electronic product 100 is in an illegal disassembly state, and the processor immediately executes the data clearing operation to clear the personal sensitive information on the electronic product 100, preventing personal information leakage and financial risks caused by illegal export of personal sensitive information, and improving the security and reliability of the electronic product 100.
[0076] In one embodiment, the parameter value includes a distance value, and the distance value is the distance between the rear case 20 and the main body 10. When the rear case 20 is separated from the main body 10, the distance between the rear case 20 and the main body 10 will change; when the rear case 20 is not separated from the main body 10, the distance between the rear case 20 and the main body 10 does not change. The distance sensor 41 can be set to detect the distance value between the rear case 20 and the main body 10.
[0077] Step S30 includes:
[0078] Step S35, when the distance value changes, receive the secondary detection distance value between the rear case and the main body detected by the sensing device at the first preset duration after the first sampling moment; the first sampling moment is the moment when the sensing device detects the distance value;
[0079] Step S36, when the difference between the secondary detection distance value and the distance value detected at the first sampling moment is greater than or equal to the first preset value, determine that the rear case and the main body are in a non-connected state.
[0080] During the normal use of the electronic product 100, the sensing device 40 does not work. When the mechanical trigger shrapnel 30 is disengaged from the main body 10, the trigger sensing device 40 enters the detection. The sensing device 40 may include a distance sensor 41, and the distance sensor 41 is used to detect the distance between the rear shell 20 and the main body 10. The first sampling moment is the moment when the sensing device 40 detects the distance value, that is to say, the first sampling moment is the moment when the sensing device 40 starts to work and first detects the distance value.
[0081] When the distance value changes, obtain the secondary detection distance value between the rear shell 20 and the main body 10 detected by the sensing device 40 at the first preset duration after the first sampling moment. That is to say, the secondary detection distance value is the distance between the rear shell 20 and the main body 10 detected by the sensing device 40 at the first preset duration after the first sampling moment. The first preset duration may be 2s, 3s, 4s, 5s or other durations. When the difference between the secondary detection distance value and the distance value detected at the first sampling moment is greater than or equal to the first preset value (the first preset value may be 3mm, 5mm, 10mm or other distances), it indicates that the distance between the rear shell 20 and the main body 10 changes greatly after the first preset duration, and it is determined that the rear shell 20 and the main body 10 are in a non-connected state.
[0082] In one embodiment, the parameter value includes the ambient light luminance value, and the ambient light luminance value is the ambient light luminance between the rear shell 20 and the main body 10. When the rear shell 20 is separated from the main body 10, the external light will irradiate on the sensing device 40, and the ambient light luminance detected by the sensing device 40 will increase; when the rear shell 20 is not separated from the main body 10, the rear shell 20 covers the main body 10, and the ambient light luminance detected by the sensing device 40 is very low. The light sensor 42 can be set to detect the ambient light luminance value between the rear shell 20 and the main body 10.
[0083] Step S30 includes:
[0084] Step S37, when the ambient light luminance value changes, receive the secondary detection ambient light luminance value between the rear shell and the main body detected by the sensing device at the second preset duration after the second sampling moment; the second sampling moment is the moment when the sensing device detects the ambient light luminance value;
[0085] Step S38, when the difference between the secondary detection ambient light luminance value and the ambient light luminance value detected at the second sampling moment is greater than or equal to the second preset value, determine that the rear shell and the main body are in a non-connected state.
[0086] During the normal use of the electronic product 100, the sensing device 40 does not work. When the mechanical trigger shrapnel 30 is disengaged from the main body 10, the trigger sensing device 40 enters the detection. The sensing device 40 may include a light sensor 42, and the light sensor 42 is used to detect the ambient light brightness between the rear case 20 and the main body 10. The second sampling moment is the moment when the sensing device 40 detects the ambient light brightness value, that is to say, the second sampling moment is the moment when the sensing device 40 starts to work and first detects the ambient light brightness value.
[0087] In the case where the ambient light brightness value changes, obtain the secondary detection ambient light brightness value between the rear case 20 and the main body 10 detected by the sensing device 40 at the second preset duration after the second sampling moment. That is to say, the secondary detection ambient light brightness value is the ambient light brightness between the rear case 20 and the main body 10 detected by the sensing device 40 at the second preset duration after the second sampling moment. The second preset duration may be 2s, 3s, 4s, 5s or other durations, and the second preset duration may be equal to the first preset duration to realize synchronous detection of the distance value and the ambient light brightness value between the rear case 20 and the main body 10. In the case where the difference between the secondary detection ambient light brightness value and the ambient light brightness value detected at the second sampling moment is greater than or equal to the second preset value, it indicates that the ambient light brightness between the rear case 20 and the main body 10 changes greatly after the second preset duration, and it is determined that the rear case 20 and the main body 10 are in a non-connected state.
[0088] In one embodiment, please refer to Figure 5 , Figure 5 which is a schematic flowchart of another embodiment in the data clearing method involved in the embodiment solution of the present application.
[0089] After step S20, it further includes:
[0090] Step S50, in the case where the parameter value does not change, determine that the state between the rear case and the main body is a connected state, and turn off the sensing device;
[0091] In the case where the parameter value does not change, neither the distance value nor the ambient light brightness value between the rear case 20 and the main body 10 changes, then the distance between the rear case 20 and the main body 10 does not change, and furthermore, no external light enters between the rear case 20 and the main body 10. It can be determined that the state between the rear case 20 and the main body 10 is a connected state. At this time, the rear case 20 has not detached from the main body 10, and the sensing device 40 is turned off.
[0092] Step S60, calculate the cumulative number of times the sensing device is turned on within the third preset duration after the third sampling moment; the third sampling moment is the moment when the sensing device detects the parameter value;
[0093] Step S70: When the cumulative number of activations is greater than the preset number of activations, prompt for a mechanical trigger shrapnel failure.
[0094] During the normal use of the electronic product 100, the sensing device 40 does not work; when the mechanical trigger shrapnel 30 is disengaged from the contact with the main body 10, the sensing device 40 is triggered to enter the detection, avoiding the loss of the overall power consumption of the electronic product 100 caused by the sensing device 40 always being in the working detection state. The third sampling moment is the moment when the sensing device 40 detects the parameter value, that is to say, the third sampling moment is the moment when the sensing device 40 starts to work and first detects the parameter value, and the parameter value includes the distance value and the ambient light brightness value. It can be understood that the first sampling moment, the second sampling moment, and the third sampling moment are the same moment. When the mechanical trigger shrapnel 30 is disengaged from the contact with the main body 10, the sensing device 40 is triggered to enter the detection, and the sensing device 40 starts to detect the distance value or the ambient light brightness value between the rear shell 20 and the main body 10.
[0095] Calculate the cumulative number of activations of the sensing device 40 within the third preset duration after the third sampling moment, that is to say, calculate the cumulative number of activations of the sensing device 40 within the third preset duration after the third sampling moment, that is, the moment when the sensing device 40 first detects the parameter value. The third preset duration can be set to be greater than the first preset duration and the second preset duration, and the third preset duration can be 60s, 120s or other durations. When the cumulative number of activations is greater than the preset number of activations, the mechanical trigger shrapnel 30 may have been damaged due to dropping, collision or other reasons, causing the mechanical trigger shrapnel 30 to be disengaged from the main body 10 for a long time, and the rear shell 20 has not been disengaged from the main body 10. At this time, it is necessary to prompt for a failure of the mechanical trigger shrapnel 30 to remind to remember to perform maintenance as soon as possible. The mechanical trigger shrapnel 30 fails, so the mechanical trigger shrapnel 30 has been triggering the sensing device 40 to activate, but the sensing device 40 does not detect a change in the distance value or the ambient light brightness value between the rear shell 20 and the main body 10, and thus the data clearing operation will not be executed, preventing unnecessary losses to the user caused by accidentally deleting personal sensitive information.
[0096] It can be understood that the electronic product 100 includes a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to implement the connection and communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard. Optionally, the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wireless-Fidelity (WI-FI) interface). The memory 1005 may be a high-speed Random Access Memory (RAM) or a stable Non-Volatile Memory (NVM), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0097] The memory 1005 is communicatively connected to the processor 1001. The memory 1005 stores a data clearing program executable by the processor 1001 and can be used to store software programs and various data. The memory 1005 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as receiving audio and video data sent by a server in real time), etc.; the data storage area can store data or information created according to the use of the terminal, etc. In addition, the memory 1005 may include a high-speed random access memory 1005 and may also include a non-volatile memory 1005, such as at least one disk memory device 1005, a flash memory device, or other volatile solid-state memory devices 1005.
[0098] The processor 1001 is the control center of the electronic product 100. It connects all parts of the entire electronic product 100 through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 1005 and calling data stored in the memory 1005, it executes various functions of the electronic product 100 and processes data, thereby monitoring the entire electronic product 100. The processor 1001 may include one or more processing units; the processor 1001 may integrate an application processor 1001 and a modulation and demodulation processor 1001. Among them, the application processor 1001 mainly processes the operating system, user interface, and application programs, etc., and the modulation and demodulation processor 1001 mainly processes wireless communication. It can be understood that the above modulation and demodulation processor 1001 may not be integrated into the processor 1001 either.
[0099] Moreover, the embodiments of the present application further provide a computer-readable storage medium storing a computer program, and the computer program, when executed by a processor, implements the data clearing method as described above.
[0100] Those skilled in the art can understand that all or part of the steps in implementing the above-described implementation methods can be completed by instructing relevant hardware through a program. The program is stored in a storage medium and includes several instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the implementation methods of the embodiments of the present application. The foregoing storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc.
[0101] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structural transformation made by using the description and drawings of the embodiments of the present application under the concept of the embodiments of the present application, or any direct / indirect application in other related technical fields, is included in the patent protection scope of the embodiments of the present application.
Claims
1. An electronic product, characterized in that, The electronic product includes a main body, a rear case, a mechanical trigger shrapnel, a sensing device, and a processor; the rear case is detachably connected to the main body, the mechanical trigger shrapnel is connected to the rear case, the sensing device and the processor are both arranged on the main body, and the mechanical trigger shrapnel and the sensing device are both communicatively connected to the processor; the mechanical trigger shrapnel is used to trigger the sensing device when it is disengaged from abutting against the main body; the sensing device is used to detect a parameter value between the rear case and the main body when being triggered.
2. The electronic product according to claim 1, wherein The mechanical trigger shrapnel includes a connecting portion and two abutting portions, both ends of the connecting portion are elastically connected to the two abutting portions respectively, the connecting portion is connected to the rear case, and both of the two abutting portions are used to abut against the main body; the mechanical trigger shrapnel is used to trigger the sensing device when at least one of the abutting portions is disengaged from abutting against the main body.
3. The electronic product according to claim 2, wherein Two contacts are arranged on the main body, and the two contacts are arranged in one-to-one correspondence with the two abutting portions, and the mechanical trigger shrapnel is used to conduct the two contacts; the mechanical trigger shrapnel is used to trigger the sensing device when at least one of the abutting portions is disengaged from abutting against the corresponding contact so that the two contacts are not conducted.
4. The electronic product according to any one of claims 1 to 3, characterized in that, The parameter value includes a distance value, the sensing device includes a distance sensor, the distance sensor is arranged on the main body, and the distance sensor is used to detect the distance value between the main body and the rear case when being triggered.
5. The electronic product according to any one of claims 1 to 3, characterized in that, The parameter value includes an ambient light luminance value, the sensing device includes a light sensor, the light sensor is arranged on the main body, and the light sensor is used to detect the ambient light luminance value between the main body and the rear case when being triggered.
6. The electronic product according to any one of claims 1 to 3, characterized in that, The electronic product includes a main battery and a backup battery, and the backup battery is used to supply power when the main battery cannot supply power.
7. A data clearing method, characterized in that, The data clearing method is applied to the electronic product according to any one of claims 1 to 6, and the data clearing method includes the following steps: Receiving status information between the mechanical trigger shrapnel and the main body; When the status information is that the mechanical trigger shrapnel is disengaged from abutting against the main body, triggering the sensing device to detect a parameter value between the rear case and the main body through the sensing device; When the parameter value changes, determining that the rear case and the main body are in a non-connected state; Performing a data clearing operation.
8. The data clearing method according to claim 7, characterized in that, After the step of determining that the rear case and the main body are in a non-connected state when the parameter value changes, it further includes: Detecting whether an unlocking instruction is received; When the unlocking instruction is not received, determining that the electronic product is in an illegal disassembly state; When the unlocking instruction is received, determining whether the unlocking instruction is correct; When the unlocking instruction is incorrect, determining that the electronic product is in an illegal disassembly state; The step of performing the data clearing operation includes: When the electronic product is in an illegal disassembly state, performing a data clearing operation.
9. The data clearing method according to claim 7, wherein The parameter value includes a distance value; The step of determining that the rear case and the main body are in a non-connected state when the parameter value changes includes: When the distance value changes, receiving a secondary detection distance value between the rear case and the main body detected by the sensing device at a first preset duration after a first sampling moment; the first sampling moment is the moment when the sensing device detects the distance value; When the difference between the secondary detection distance value and the distance value detected at the first sampling moment is greater than or equal to a first preset value, determining that the rear case and the main body are in a non-connected state.
10. The data clearing method according to claim 7, characterized in that The parameter value includes an ambient light brightness value; The step of determining that the rear case and the main body are in a non-connected state when the parameter value changes includes: When the ambient light brightness value changes, receiving a secondary detection ambient light brightness value between the rear case and the main body detected by the sensing device at a second preset duration after a second sampling moment; the second sampling moment is the moment when the sensing device detects the ambient light brightness value; When the difference between the secondary detection ambient light brightness value and the ambient light brightness value detected at the second sampling moment is greater than or equal to a second preset value, determining that the rear case and the main body are in a non-connected state.
11. The data clearing method according to claim 7, characterized in that, After the step of triggering the sensing device to detect the parameter value between the rear case and the main body when the state information is that the mechanical trigger shrapnel is disengaged from the main body, further includes: When the parameter value does not change, determining that the state between the rear case and the main body is a connected state and turning off the sensing device; Calculating the cumulative number of times the sensing device is turned on within a third preset duration after a third sampling moment; the third sampling moment is the moment when the sensing device detects the parameter value; When the cumulative number of times is greater than a preset number of times, prompting a failure of the mechanical trigger shrapnel.
12. A computer-readable storage medium storing a computer program, characterized in that, The computer program is executed by a processor to implement the data clearing method according to any one of claims 7 to 11.