Electronic device status prompt method, device and electronic device
By obtaining and analyzing the contact parameters of the target object's contact electronic equipment, and judging and indicating that the folding angle is too large, the problem of damage caused by excessive folding of foldable electronic equipment is solved, and the stability and life of the equipment are guaranteed.
Patent Information
- Application Number
- CN202310848633.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-11
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2043-07-11
AI Technical Summary
In real life, foldable electronic devices may cause damage when folded excessively, so how to prevent such damage has become a technical problem that needs to be solved urgently.
By obtaining the contact parameters of the target object contacting the electronic device at different times, it is determined whether the folding angle of the electronic device is too large, and a prompt information is generated when the specific state prompt conditions are met, reminding the user to adjust the folding angle.
It effectively prevents damage caused by excessive folding of electronic devices, ensures the stability and life of electronic devices, and avoids the risk of increasing product structure complexity and cost.
Smart Images

Figure CN116708662B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer technology, and specifically relates to a method and device for prompting the status of an electronic device, and an electronic device. Background Art
[0002] With the popularity of electronic devices and the diversification of their forms, foldable electronic devices have attracted much attention as a new type of electronic device since their introduction. However, in real life, when foldable electronic devices are folded too much, they may be damaged. Therefore, how to prevent electronic devices from being damaged due to excessive folding is a technical problem that needs to be solved urgently. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a method, device and electronic device for prompting the status of an electronic device, which can avoid the situation in real life where the electronic device is damaged due to excessive folding of the electronic device.
[0004] In a first aspect, an embodiment of the present application provides a method for prompting a status of an electronic device, the method comprising:
[0005] Acquire a first contact parameter of a target object contacting the electronic device at a first moment, and a second contact parameter of the target object contacting the electronic device within a reference time before the first moment, wherein the target object includes at least two objects contacting different device areas of the electronic device respectively, and the electronic device is foldable;
[0006] When the first contact parameter and the second contact parameter meet the status prompt condition, electronic device status prompt information is generated, and the electronic device status prompt information is used to prompt the user that the folding angle of the electronic device is too large.
[0007] In a second aspect, an embodiment of the present application provides a device for prompting a status of an electronic device, the device comprising:
[0008] an acquisition module, configured to acquire a first contact parameter of a target object contacting the electronic device at a first moment, and a second contact parameter of the target object contacting the electronic device within a reference time before the first moment, wherein the target object includes at least two objects contacting different device areas of the electronic device respectively, and the electronic device is foldable;
[0009] The generating module is used to generate electronic device status prompt information when the first contact parameter and the second contact parameter meet the status prompt condition, and the electronic device status prompt information is used to prompt the user that the folding angle of the electronic device is too large.
[0010] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method of the first aspect.
[0011] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
[0012] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of the first aspect.
[0013] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the first aspect.
[0014] In an embodiment of the present application, a first contact parameter of a target object contacting an electronic device at a first moment and a second contact parameter of the target object contacting the electronic device within a reference time before the first moment can be obtained. Since the target object may include at least two objects that respectively contact different device areas of the electronic device, and the electronic device is foldable, electronic device status prompt information can be generated when the first contact parameter and the second contact parameter meet the status prompt conditions. The electronic device status prompt information is used to prompt a user that the folding angle of the electronic device is too large. In this way, damage to the electronic device due to excessive folding of the electronic device in real life can be effectively prevented, and the stability and life of the electronic device can be effectively guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 This is one of the flow charts of a method for prompting the status of an electronic device according to an exemplary embodiment;
[0016] Figure 2 This is a second flowchart of a method for prompting the status of an electronic device according to an exemplary embodiment;
[0017] Figure 3 is a schematic diagram showing changes in pressing pressure and contact area of an electronic device in an unfolded state within a reference time according to an exemplary embodiment;
[0018] Figure 4 is a structural block diagram of a device for prompting a status of an electronic device according to an exemplary embodiment;
[0019] Figure 5 is a structural block diagram of an electronic device according to an exemplary embodiment;
[0020] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0022] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0023] In order to solve the problem in the prior art that foldable electronic devices may be damaged when they are folded excessively, an embodiment of the present application provides an electronic device status prompt method, which can obtain a first contact parameter of a target object contacting the electronic device at a first moment, and a second contact parameter of the target object contacting the electronic device within a reference time before the first moment. Since the target object may include at least two objects that respectively contact different device areas of the electronic device, and the electronic device is foldable, electronic device status prompt information can be generated when the first contact parameter and the second contact parameter meet the status prompt conditions. The electronic device status prompt information is used to prompt the user that the folding angle of the electronic device is too large. In this way, the damage of the electronic device caused by excessive folding of the electronic device in real life is effectively prevented, and the stability and life of the electronic device can be effectively guaranteed.
[0024] Combine the following Figure 1 and Figure 2 The electronic device status prompt method provided in the embodiment of the present application is described in detail.
[0025] Figure 1 A method for prompting the status of an electronic device is shown according to an exemplary embodiment. The execution subject of the method for prompting the status of an electronic device may be an electronic device, and the electronic device may be foldable. It should be noted that the above execution subject does not constitute a limitation on the present application.
[0026] like Figure 1 As shown, the electronic device status prompt method may include the following steps:
[0027] Step 110 , obtaining a first contact parameter of a target object contacting the electronic device at a first moment, and a second contact parameter of the target object contacting the electronic device within a reference time before the first moment.
[0028] Specifically, if the target object contacts the electronic device at the first moment, the electronic device can directly obtain a first contact parameter of the target object contacting the electronic device at the first moment and a second contact parameter of the target object contacting the electronic device within a reference time before the first moment.
[0029] The target objects mentioned above may include at least two objects that respectively contact different device areas of the electronic device. The different device areas mentioned above may include the device areas of the electronic device on both sides of the dividing line with the folding part of the electronic device as the dividing line. In addition, the reference time mentioned above may be a time pre-set based on actual experience or circumstances. For example, the reference time may be one day or 72 hours, which is not specifically limited here.
[0030] In some embodiments, the target objects mentioned above may include fingers and the base of the thumb, wherein the base of the thumb is the area between the thumb and the index finger of the hand.
[0031] In this embodiment, if the electronic device can obtain the first contact parameters of the fingers and the base of the thumb contacting the electronic device at the first moment, and the second contact parameters of the fingers and the base of the thumb contacting the electronic device within a reference time before the first moment, when the fingers and the base of the thumb contact different device areas of the electronic device, it is convenient to subsequently judge whether the electronic device is damaged due to excessive folding of the electronic device based on the first contact parameters and the second contact parameters.
[0032] Step 120: Generate electronic device status prompt information when the first contact parameter and the second contact parameter meet the status prompt condition.
[0033] Among them, the above-mentioned status prompt conditions may be pre-set conditions for judging whether the folding angle of the electronic device is too large, which will not be described in detail here. In addition, the above-mentioned electronic device status prompt information may be used to prompt the user that the folding angle of the electronic device is too large.
[0034] Specifically, after obtaining the first contact parameter and the second contact parameter, the electronic device can determine whether the first contact parameter and the second contact parameter meet the status prompt condition. If the first contact parameter and the second contact parameter meet the status prompt condition, it indicates that the folding angle of the electronic device is too large, and there is a risk of damage to the electronic device due to the large folding angle. Based on this, the electronic device can generate electronic device status prompt information.
[0035] In addition, since the prior art generally detects the folding angle of the electronic device by adding pressure sensors at the folding point of the electronic device, or by using the folding point of the electronic device as a dividing line and adding pressure sensors to the device areas on both sides of the dividing line, so as to avoid the electronic device being damaged due to excessive folding, this method will cause problems of complex product structure and increased cost.
[0036] Therefore, in one example, since the existing electronic device may include a sensing layer, the sensing layer may include a capacitive sensing layer or a resistive sensing layer, and the sensing layer is used to detect the action of the target object contacting the electronic device and generate a corresponding capacitance signal or resistance signal. Based on this, if it is detected that the target object contacts the electronic device at the first moment, the electronic device can obtain the first contact parameter of the target object contacting the electronic device at the first moment by parsing the capacitance signal or resistance signal generated by the sensing layer, and can obtain the second contact parameter of the target object contacting the electronic device within the reference time before the first moment from the storage space of the electronic device, and then generate the electronic device status prompt information when the first contact parameter and the second contact parameter meet the status prompt condition. In this way, not only can the damage of the electronic device caused by excessive folding of the electronic device in real life be effectively prevented, but also the stability and life of the electronic device can be effectively guaranteed. At the same time, since the existing electronic device includes a sensing layer, it also avoids adding additional product components and reduces the complexity of the product structure.
[0037] In an embodiment of the present application, a first contact parameter of a target object contacting an electronic device at a first moment and a second contact parameter of the target object contacting the electronic device within a reference time before the first moment can be obtained. Since the target object may include at least two objects that respectively contact different device areas of the electronic device, and the electronic device is foldable, electronic device status prompt information can be generated when the first contact parameter and the second contact parameter meet the status prompt conditions. The electronic device status prompt information is used to prompt a user that the folding angle of the electronic device is too large. In this way, damage to the electronic device due to excessive folding of the electronic device in real life can be effectively prevented, and the stability and life of the electronic device can be effectively guaranteed.
[0038] In an optional embodiment, if Figure 2As shown, the above-mentioned electronic device status prompt method may also include the following steps:
[0039] Step 130: Acquire the posture parameters of the electronic device.
[0040] The posture parameter of the electronic device may include the posture angle of the electronic device, that is, the tilt angle of the electronic device.
[0041] In one example, the electronic device may obtain the posture parameters of the electronic device in real time through a gyroscope in the electronic device.
[0042] Based on this, the above-mentioned step 120 may include the following steps:
[0043] Step 1201, generating electronic device status prompt information when at least one of the first contact parameter is greater than the first threshold and the posture parameter is greater than the second threshold, and the first contact parameter and the second contact parameter meet the status prompt condition.
[0044] The first threshold and the second threshold are both thresholds preset based on actual experience or circumstances, and are not specifically limited here.
[0045] In one example, when the first contact parameter is greater than the first threshold value, and the first contact parameter and the second contact parameter meet the status prompt condition, the electronic device status prompt information is generated. Specifically, the electronic device may first determine whether the first contact parameter is greater than the first threshold value. If the first contact parameter is greater than the first threshold value, the electronic device is triggered to detect the status of the electronic device. Then, the electronic device may continue to determine whether the first contact parameter and the second contact parameter meet the status prompt condition. If the first contact parameter and the second contact parameter meet the status prompt condition, it indicates that the folding angle of the electronic device is too large, and there is a risk of damage to the electronic device due to the excessive folding angle. Based on this, the electronic device may generate electronic device status prompt information to prompt the user that the folding angle of the electronic device is too large.
[0046] In another example, when the posture parameter is greater than the second threshold value, and the first contact parameter and the second contact parameter meet the status prompt condition, the electronic device status prompt information is generated. Specifically, the electronic device can first determine whether the posture parameter is greater than the second threshold value. If the posture parameter is greater than the second threshold value, it indicates that the electronic device is in a holding state, that is, the electronic device is held by the user with both hands. Based on this, the electronic device can continue to determine whether the first contact parameter and the second contact parameter meet the status prompt condition. If the first contact parameter and the second contact parameter meet the status prompt condition, it indicates that the folding angle of the electronic device is too large, and there is a risk of damage to the electronic device due to the excessive folding angle. Based on this, the electronic device can generate electronic device status prompt information to prompt the user that the folding angle of the electronic device is too large.
[0047] In another example, when the first contact parameter is greater than the first threshold value, the posture parameter is greater than the second threshold value, and the first contact parameter and the second contact parameter meet the status prompt condition, the electronic device status prompt information is generated. Specifically, the electronic device first determines whether the first contact parameter is greater than the first threshold value. If the first contact parameter is greater than the first threshold value, the electronic device is triggered to detect the status of the electronic device. Then, the electronic device can determine whether the posture parameter of the electronic device is greater than the second threshold value. If the posture parameter of the electronic device is greater than the second threshold value, it indicates that the electronic device is in a holding state. Based on this, the electronic device can continue to determine whether the first contact parameter and the second contact parameter meet the status prompt condition. If the first contact parameter and the second contact parameter meet the status prompt condition, it indicates that the folding angle of the electronic device is too large, and there is a risk of damage to the electronic device due to the excessive folding angle. Based on this, the electronic device can generate detection information. It should be noted that the above-mentioned judgment of whether the first contact parameter is greater than the first threshold value and the judgment order of whether the posture parameter is greater than the second threshold value do not constitute a limitation of the present application.
[0048] In this embodiment, since the electronic device status prompt information can be generated when at least one of the first contact parameter is greater than the first threshold value and the posture parameter is greater than the second threshold value, and the first contact parameter and the second contact parameter meet the status prompt condition, the accuracy of the electronic device status prompt is improved, thereby effectively preventing the electronic device from being damaged due to the electronic device being folded at an excessively large angle.
[0049] In an optional implementation, the first contact parameter may include a first pressing pressure, and the second contact parameter may include a plurality of second pressing pressures. It should be noted that the plurality of second pressing pressures are pressing pressures acquired when the electronic device is in an unfolded state within a reference time.
[0050] Based on this, before the above-mentioned step 120 or step 1201, the above-mentioned electronic device status prompt method may further include the following steps:
[0051] When the first pressing pressure is greater than the average pressure value, it is determined that the first contact parameter and the second contact parameter meet the status prompt condition.
[0052] The above-mentioned average pressure value is obtained based on multiple second pressing pressures.
[0053] Specifically, since the first contact parameter involved above may include a first pressing pressure, correspondingly, the second contact parameter may include multiple second pressing pressures. Based on this, the electronic device can determine whether the first pressing pressure is greater than the average pressure value before generating the electronic device status prompt information when the first contact parameter and the second contact parameter meet the status prompt condition. If the first pressing pressure is greater than the average pressure value, it indicates that there is a risk of damage to the electronic device due to the electronic device being folded too much at an angle. In this way, the electronic device can determine that the first contact parameter and the second contact parameter meet the status prompt condition.
[0054] In addition, when the first contact parameter is greater than the first threshold, the posture parameter is greater than at least one of the second threshold, and the first contact parameter and the second contact parameter meet the status prompt condition, before generating the electronic device status prompt information, the electronic device can determine whether the first pressing pressure is greater than the pressure average value. If the first pressing pressure is greater than the pressure average value, it indicates that there is a risk of damage to the electronic device due to the electronic device being folded too much. In this way, the electronic device can determine that the first contact parameter and the second contact parameter meet the status prompt condition.
[0055] In this embodiment, whether the electronic device is over-folded is determined by the pressing pressure of the target object contacting the electronic device, thereby effectively preventing the electronic device from being damaged due to the excessive folding angle of the electronic device.
[0056] In an optional embodiment, the first contact parameter involved may include a first pressing pressure and a first contact area, and the second contact parameter involved may include multiple second pressing pressures and multiple second contact areas. It should be noted that the multiple second pressing pressures are the pressing pressures obtained when the electronic device is in the unfolded state within the reference time. The multiple second contact areas are the contact areas obtained when the electronic device is in the unfolded state within the reference time.
[0057] Based on this, before the above-mentioned step 120 or step 1201, the above-mentioned electronic device status prompt method may further include the following steps:
[0058] When the first contact area is greater than the area average, the difference between the second pressure standard deviation and the first pressure standard deviation is greater than at least one of a third threshold, and the first pressing pressure is greater than the pressure average, it is determined that the first contact parameter and the second contact parameter meet the status prompt condition.
[0059] The pressure average value and the first pressure standard deviation are obtained based on multiple second pressing pressures, the area average value is obtained based on multiple second contact areas, and the second pressure standard deviation is obtained based on the first pressing pressure and multiple second pressing pressures. In addition, the third threshold mentioned above can be a threshold preset based on actual experience or circumstances.
[0060] In one example, when the first contact area is greater than the area average, and the first pressing pressure is greater than the pressure average, it is determined that the first contact parameter and the second contact parameter meet the status prompt condition. Specifically, the electronic device can first determine whether the first contact area is greater than the area average. If the first contact area is greater than the area average. The electronic device can continue to determine whether the first pressing pressure is greater than the pressure average. If the first pressing pressure is greater than the pressure average, it indicates that there is a risk of damage to the electronic device due to the excessive folding angle of the electronic device. Based on this, the electronic device can determine that the first contact parameter and the second contact parameter meet the status prompt condition.
[0061] In another example, when the difference between the second pressure standard deviation and the first pressure standard deviation is greater than the third threshold value, and the first pressing pressure is greater than the pressure average value, it is determined that the first contact parameter and the second contact parameter meet the status prompt condition. Specifically, the electronic device may first determine whether the difference between the second pressure standard deviation and the first pressure standard deviation is greater than the third threshold value. If the difference between the second pressure standard deviation and the first pressure standard deviation is greater than the third threshold value. The electronic device may continue to determine whether the first pressing pressure is greater than the pressure average value. If the first pressing pressure is greater than the pressure average value, it indicates that there is a risk of damage to the electronic device due to the excessive folding angle of the electronic device. Based on this, the electronic device may determine that the first contact parameter and the second contact parameter meet the status prompt condition.
[0062] In another example, when the first contact area is greater than the area average, and the difference between the second pressure standard deviation and the first pressure standard deviation is greater than the third threshold, and the first pressing pressure is greater than the pressure average, it is determined that the first contact parameter and the second contact parameter meet the status prompt condition. Specifically, the electronic device can first determine whether the first contact area is greater than the area average, if the first contact area is greater than the area average. Then, the electronic device can determine whether the difference between the second pressure standard deviation and the first pressure standard deviation is greater than the third threshold, if the difference between the second pressure standard deviation and the first pressure standard deviation is greater than the third threshold. The electronic device can continue to determine whether the first pressing pressure is greater than the pressure average, if the first pressing pressure is greater than the pressure average, it indicates that there is a risk that the folding angle of the electronic device is large. Based on this, the electronic device can determine that the first contact parameter and the second contact parameter meet the status prompt condition.
[0063] It should be noted that the order of judgment involved in the above examples does not constitute a limitation on the present application.
[0064] In this embodiment, since the first contact area is greater than the average area, the difference between the second pressure standard deviation and the first pressure standard deviation is greater than at least one of the third threshold values, and the first pressing pressure is greater than the average pressure value, it is determined that the first contact parameter and the second contact parameter meet the state prompt condition. In this way, it is possible to accurately judge whether the electronic device is over-folded, thereby effectively preventing the electronic device from being damaged due to the electronic device being folded at an excessively large angle.
[0065] In an optional implementation, the above-mentioned step of satisfying at least one of the first contact area being greater than the area average value and the difference between the second pressure standard deviation and the first pressure standard deviation being greater than the third threshold value, and when the first pressing pressure is greater than the pressure average value, determining that the first contact parameter and the second contact parameter satisfy the status prompt condition may specifically include the following steps:
[0066] When at least one of the following conditions is satisfied: the first contact area is greater than the area average, and the difference between the second pressure standard deviation and the first pressure standard deviation is greater than a third threshold, and when the first pressing pressure is greater than the pressure average, and the difference between the second area standard deviation and the first area standard deviation is greater than a fourth threshold, it is determined that the first contact parameter and the second contact parameter meet the status prompt condition.
[0067] The first area standard deviation is obtained based on multiple second contact areas, and the second area standard deviation is obtained based on the first contact area and multiple second contact areas. In addition, the fourth threshold mentioned above can be a threshold preset based on actual experience or circumstances, and is not specifically limited here.
[0068] In one example, when the first contact area is greater than the area average, the first pressing pressure is greater than the pressure average, and the difference between the second area standard deviation and the first area standard deviation is greater than a fourth threshold, it is determined that the first contact parameter and the second contact parameter meet the status prompt condition.
[0069] Specifically, when the first contact area is greater than the average area, and the first pressing pressure is greater than the average pressure, the electronic device can determine whether the difference between the second area standard deviation and the first area standard deviation is greater than the fourth threshold value. If the difference between the second area standard deviation and the first area standard deviation is greater than the fourth threshold value, it indicates that there is a risk of damage to the electronic device due to the excessive folding angle of the electronic device. Based on this, the electronic device can determine that the first contact parameter and the second contact parameter meet the status prompt condition.
[0070] In another example, when the difference between the second pressure standard deviation and the first pressure standard deviation is greater than the third threshold, and the first pressing pressure is greater than the pressure average, and the difference between the second area standard deviation and the first area standard deviation is greater than the fourth threshold, it is determined that the first contact parameter and the second contact parameter meet the status prompt condition.
[0071] Specifically, when the difference between the second pressure standard deviation and the first pressure standard deviation is greater than the third threshold value, and the first pressing pressure is greater than the pressure average value, the electronic device can determine whether the difference between the second area standard deviation and the first area standard deviation is greater than the fourth threshold value. If the difference between the second area standard deviation and the first area standard deviation is greater than the fourth threshold value, it indicates that there is a risk of damage to the electronic device due to the excessive folding angle of the electronic device. Based on this, the electronic device can determine that the first contact parameter and the second contact parameter meet the status prompt condition.
[0072] In another example, when the first contact area is larger than the area average, and the difference between the second pressure standard deviation and the first pressure standard deviation is larger than the third threshold, and the first pressing pressure is larger than the pressure average, and the difference between the second area standard deviation and the first area standard deviation is larger than the fourth threshold, it is determined that the first contact parameter and the second contact parameter meet the status prompt condition.
[0073] Specifically, when the first contact area is greater than the average area, and the difference between the second pressure standard deviation and the first pressure standard deviation is greater than the third threshold, and the first pressing pressure is greater than the average pressure, the electronic device can determine whether the difference between the second area standard deviation and the first area standard deviation is greater than the fourth threshold. If the difference between the second area standard deviation and the first area standard deviation is greater than the fourth threshold, it indicates that there is a risk of damage to the electronic device due to the excessive folding angle of the electronic device. Based on this, the electronic device can determine that the first contact parameter and the second contact parameter meet the status prompt condition.
[0074] It should also be noted that in an example, Figure 3 As shown, curve 1 is a curve of changes in multiple second pressing pressures in the second contact parameter when the electronic device is in the unfolded state within 50 days. The concentration of multiple second pressing pressures in the second contact parameter is between 0 and 1. Curve 2 is a curve of changes in multiple second contact areas when the electronic device is in the unfolded state within 50 days, and multiple second contact areas in the second contact parameter are concentrated in the range of 7 to 9. Based on this, it can be based on Figure 3 The relevant data shown sets the third and fourth thresholds mentioned above.
[0075] In this embodiment, on the basis of satisfying at least one of the conditions that the first contact area is greater than the average area, and the difference between the second pressure standard deviation and the first pressure standard deviation is greater than the third threshold, and the first pressing pressure is greater than the average pressure, it is further judged whether the electronic device is over-folded by judging whether the difference between the second area standard deviation and the first area standard deviation is greater than the fourth threshold. In this way, it is possible to accurately judge whether the electronic device is over-folded, thereby effectively preventing the electronic device from being damaged due to excessive folding angle of the electronic device.
[0076] It should also be noted that in the process of describing the electronic device status prompt method provided in the present application, since the calculation process of the area average, pressure average, first pressure standard deviation, second pressure standard deviation, first area standard deviation and second area standard deviation involved belongs to the prior art, no further details will be given here.
[0077] Based on the same inventive concept, the present application also provides an electronic device status prompt device. Figure 4 The electronic device status prompting device provided in the embodiment of the present application is described in detail.
[0078] Figure 4 The present invention is a structural block diagram of a device for prompting the status of an electronic device according to an exemplary embodiment.
[0079] like Figure 4As shown, the electronic device status prompting device 400 may include:
[0080] An acquisition module 410 is used to acquire a first contact parameter of a target object contacting the electronic device at a first moment, and a second contact parameter of the target object contacting the electronic device within a reference time before the first moment, wherein the target object includes at least two objects contacting different device areas of the electronic device respectively, and the electronic device is foldable;
[0081] The generating module 420 is used to generate electronic device status prompt information when the first contact parameter and the second contact parameter meet the status prompt condition, and the electronic device status prompt information is used to prompt the user that the folding angle of the electronic device is too large.
[0082] The electronic device status prompting device 400 is described in detail below, as shown below:
[0083] In one embodiment, the acquisition module 410 is further used to acquire the posture parameters of the electronic device;
[0084] The generating module 420 is specifically used to generate electronic device status prompt information when at least one of the first contact parameter is greater than the first threshold value and the posture parameter is greater than the second threshold value and the first contact parameter and the second contact parameter meet the status prompt condition;
[0085] In one embodiment, the first contact parameter includes a first pressing pressure and a first contact area, and the second contact parameter includes a plurality of second pressing pressures and a plurality of second contact areas; the electronic device status prompting device 400 may also include:
[0086] a determination module, configured to determine that the first contact parameter and the second contact parameter meet the status prompt condition before generating the electronic device status prompt information when the first contact parameter and the second contact parameter meet the status prompt condition and when at least one of the following conditions is satisfied: the first contact area is greater than the area average value, and the difference between the second pressure standard deviation and the first pressure standard deviation is greater than a third threshold value, and the first pressing pressure is greater than the pressure average value;
[0087] Among them, the pressure average value and the first pressure standard deviation are obtained based on multiple second pressing pressures, the area average value is obtained based on multiple second contact areas, and the second pressure standard deviation is obtained based on the first pressing pressure and multiple second pressing pressures.
[0088] In one embodiment, the determination module is specifically used to determine that the first contact parameter and the second contact parameter meet the state prompt condition when at least one of the first contact area is greater than the area average value and the difference between the second pressure standard deviation and the first pressure standard deviation is greater than the third threshold value, and the first pressing pressure is greater than the pressure average value and the difference between the second area standard deviation and the first area standard deviation is greater than the fourth threshold value;
[0089] The first area standard deviation is obtained based on the multiple second contact areas, and the second area standard deviation is obtained based on the first contact area and the multiple second contact areas.
[0090] In one embodiment, the target object includes fingers and the palm of hand, the palm of hand being the area between the thumb and the index finger.
[0091] Thus, a first contact parameter of the target object contacting the electronic device at the first moment and a second contact parameter of the target object contacting the electronic device within a reference time before the first moment can be obtained. Since the target object may include at least two objects that respectively contact different device areas of the electronic device, and the electronic device is foldable, electronic device status prompt information can be generated when the first contact parameter and the second contact parameter meet the status prompt conditions. The electronic device status prompt information is used to prompt the user that the folding angle of the electronic device is too large. In this way, damage to the electronic device due to excessive folding of the electronic device in real life can be effectively prevented, and the stability and life of the electronic device can be effectively guaranteed.
[0092] The electronic device status prompt device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0093] The electronic device status prompt device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0094] The electronic device status prompt device provided in the embodiment of the present application can achieve Figure 1 or Figure 2 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0095] Alternatively, if Figure 5 As shown, an embodiment of the present application also provides an electronic device 500, including a processor 501, a memory 502, and a program or instruction stored in the memory 502 and executable on the processor 501. When the program or instruction is executed by the processor 501, each process of the above-mentioned electronic device status prompt method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0096] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0097] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0098] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610.
[0099] Those skilled in the art will appreciate that the electronic device 600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0100] The processor 610 is configured to obtain a first contact parameter of a target object contacting the electronic device at a first moment, and a second contact parameter of the target object contacting the electronic device within a reference time before the first moment, wherein the target object includes at least two objects contacting different device areas of the electronic device respectively, and the electronic device is foldable;
[0101] The processor 610 is further configured to generate electronic device status prompt information when the first contact parameter and the second contact parameter satisfy a status prompt condition, wherein the electronic device status prompt information is configured to prompt the user that the folding angle of the electronic device is too large.
[0102] Thus, a first contact parameter of the target object contacting the electronic device at the first moment and a second contact parameter of the target object contacting the electronic device within a reference time before the first moment can be obtained. Since the target object may include at least two objects that respectively contact different device areas of the electronic device, and the electronic device is foldable, electronic device status prompt information can be generated when the first contact parameter and the second contact parameter meet the status prompt conditions. The electronic device status prompt information is used to prompt the user that the folding angle of the electronic device is too large. In this way, damage to the electronic device due to excessive folding of the electronic device in real life can be effectively prevented, and the stability and life of the electronic device can be effectively guaranteed.
[0103] Optionally, the processor 610 is further configured to obtain a posture parameter of the electronic device;
[0104] Processor 610 is further configured to generate electronic device status prompt information when at least one of the first contact parameter is greater than a first threshold and the posture parameter is greater than a second threshold, and the first contact parameter and the second contact parameter meet a status prompt condition.
[0105] In this embodiment, since the electronic device status prompt information can be generated when at least one of the first contact parameter is greater than the first threshold value and the posture parameter is greater than the second threshold value, and the first contact parameter and the second contact parameter meet the status prompt condition, the accuracy of the electronic device status prompt is improved, thereby effectively preventing the electronic device from being damaged due to the electronic device being folded at an excessively large angle.
[0106] Optionally, the first contact parameter includes a first pressing pressure and a first contact area, and the second contact parameter includes a plurality of second pressing pressures and a plurality of second contact areas;
[0107] The processor 610 is further configured to, before generating the electronic device status prompt information, determine that the first contact parameter and the second contact parameter meet the status prompt condition when the first contact area is greater than the area average, and the difference between the second pressure standard deviation and the first pressure standard deviation is greater than at least a third threshold, and the first pressing pressure is greater than the pressure average, if the first contact parameter and the second contact parameter meet the status prompt condition;
[0108] Among them, the pressure average value and the first pressure standard deviation are obtained based on multiple second pressing pressures, the area average value is obtained based on multiple second contact areas, and the second pressure standard deviation is obtained based on the first pressing pressure and multiple second pressing pressures.
[0109] In this embodiment, since the first contact area is greater than the average area, the difference between the second pressure standard deviation and the first pressure standard deviation is greater than at least one of the third threshold values, and the first pressing pressure is greater than the average pressure value, it is determined that the first contact parameter and the second contact parameter meet the state prompt condition. In this way, it is possible to accurately judge whether the electronic device is over-folded, thereby effectively preventing the electronic device from being damaged due to the electronic device being folded at an excessively large angle.
[0110] Optionally, the processor 610 is further configured to determine that the first contact parameter and the second contact parameter meet the status prompt condition when at least one of the following conditions is satisfied: the first contact area is greater than the area average value; and the difference between the second pressure standard deviation and the first pressure standard deviation is greater than a third threshold value; and the first pressing pressure is greater than the pressure average value, and the difference between the second area standard deviation and the first area standard deviation is greater than a fourth threshold value;
[0111] The first area standard deviation is obtained based on the multiple second contact areas, and the second area standard deviation is obtained based on the first contact area and the multiple second contact areas.
[0112] In this embodiment, on the basis of satisfying at least one of the conditions that the first contact area is greater than the average area, and the difference between the second pressure standard deviation and the first pressure standard deviation is greater than the third threshold, and the first pressing pressure is greater than the average pressure, it is further judged whether the electronic device is over-folded by judging whether the difference between the second area standard deviation and the first area standard deviation is greater than the fourth threshold. In this way, it is possible to accurately judge whether the electronic device is over-folded, thereby effectively preventing the electronic device from being damaged due to excessive folding angle of the electronic device.
[0113] Optionally, the target object includes fingers and the base of the hand, the base of the hand being the area between the thumb and the index finger.
[0114] In this embodiment, if the electronic device can obtain the first contact parameters of the fingers and the base of the thumb contacting the electronic device at the first moment, and the second contact parameters of the fingers and the base of the thumb contacting the electronic device within a reference time before the first moment, when the fingers and the base of the thumb contact different device areas of the electronic device, it is convenient to subsequently judge whether the electronic device is damaged due to excessive folding of the electronic device based on the first contact parameters and the second contact parameters.
[0115] It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 609 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 610 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 610.
[0116] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned electronic device status prompt method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0117] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0118] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned electronic device status prompt method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0119] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0120] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0121] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0122] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for prompting the status of an electronic device, characterized in that: The method comprises: Acquire a first contact parameter of a target object contacting an electronic device at a first moment, a second contact parameter of the target object contacting the electronic device within a reference time before the first moment, and a posture parameter of the electronic device, wherein the target object includes at least two objects contacting different device areas of the electronic device respectively, and the electronic device is foldable; When the first contact parameter is greater than a first threshold, the posture parameter is greater than at least one of a second threshold, and the first contact parameter and the second contact parameter meet a status prompt condition, electronic device status prompt information is generated, and the electronic device status prompt information is used to prompt the user that the folding angle of the electronic device is too large.
2. The method according to claim 1, characterized in that The first contact parameter includes a first pressing pressure and a first contact area, and the second contact parameter includes a plurality of second pressing pressures and a plurality of second contact areas; Before generating electronic device status prompt information when at least one of the first contact parameter being greater than a first threshold and the posture parameter being greater than a second threshold and the first contact parameter and the second contact parameter satisfy a status prompt condition, the method further includes: When at least one of the following conditions is satisfied: the first contact area is greater than an average area value; the difference between the second pressure standard deviation and the first pressure standard deviation is greater than a third threshold value; and the first pressing pressure is greater than the average pressure value, determining that the first contact parameter and the second contact parameter meet a status prompt condition; Among them, the pressure average value and the first pressure standard deviation are obtained based on the multiple second pressing pressures, the area average value is obtained based on the multiple second contact areas, and the second pressure standard deviation is obtained based on the first pressing pressure and the multiple second pressing pressures.
3. The method according to claim 2, characterized in that When at least one of the first contact area is greater than an area average value, and a difference between a second pressure standard deviation and the first pressure standard deviation is greater than a third threshold value, and when the first pressing pressure is greater than the pressure average value, determining that the first contact parameter and the second contact parameter meet a status prompt condition includes: In the case where at least one of the first contact area is greater than an area average value, and a difference between a second pressure standard deviation and the first pressure standard deviation is greater than a third threshold value, and the first pressing pressure is greater than the pressure average value, and a difference between the second area standard deviation and the first area standard deviation is greater than a fourth threshold value, it is determined that the first contact parameter and the second contact parameter meet a status prompt condition; The first area standard deviation is obtained based on the multiple second contact areas, and the second area standard deviation is obtained based on the first contact area and the multiple second contact areas.
4. The method according to claim 1, characterized in that: The target object includes fingers and the base of the thumb, and the base of the thumb is the area between the thumb and the index finger of the hand.
5. An electronic device status prompting device, characterized in that: The device comprises: an acquisition module, configured to acquire a first contact parameter of a target object contacting an electronic device at a first moment, a second contact parameter of the target object contacting the electronic device within a reference time before the first moment, and a posture parameter of the electronic device, wherein the target object includes at least two objects contacting different device areas of the electronic device respectively, and the electronic device is foldable; A generation module is used to generate electronic device status prompt information when the first contact parameter is greater than a first threshold, the posture parameter is greater than at least one of a second threshold, and the first contact parameter and the second contact parameter meet the status prompt condition, wherein the electronic device status prompt information is used to prompt a user that the folding angle of the electronic device is too large.
6. The device according to claim 5, characterized in that The first contact parameter includes a first pressing pressure and a first contact area, and the second contact parameter includes a plurality of second pressing pressures and a plurality of second contact areas; the device further includes: a determination module, configured to determine that the first contact parameter and the second contact parameter meet the status prompt condition before generating the electronic device status prompt information when at least one of the first contact parameter is greater than a first threshold value and the posture parameter is greater than a second threshold value, and the first contact parameter and the second contact parameter meet the status prompt condition, when at least one of the first contact area is greater than an area average value and the difference between the second pressure standard deviation and the first pressure standard deviation is greater than a third threshold value, and the first pressing pressure is greater than a pressure average value; Among them, the pressure average value and the first pressure standard deviation are obtained based on the multiple second pressing pressures, the area average value is obtained based on the multiple second contact areas, and the second pressure standard deviation is obtained based on the first pressing pressure and the multiple second pressing pressures.
7. The device according to claim 6, characterized in that The determination module is specifically configured to determine that the first contact parameter and the second contact parameter meet the status prompt condition when at least one of the following conditions is satisfied: the first contact area is greater than an area average value; and the difference between the second pressure standard deviation and the first pressure standard deviation is greater than a third threshold value; and the first pressing pressure is greater than the pressure average value, and the difference between the second area standard deviation and the first area standard deviation is greater than a fourth threshold value; The first area standard deviation is obtained based on the multiple second contact areas, and the second area standard deviation is obtained based on the first contact area and the multiple second contact areas.
8. The device according to claim 5, characterized in that The target object includes fingers and the base of the thumb, and the base of the thumb is the area between the thumb and the index finger of the hand.
9. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the electronic device status prompting method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Electronic equipment protection method and device and electronic equipment
CN116027892A