A processing method and electronic device
By detecting the contact information and parameters of electronic devices, users are reminded to change their grip posture, which solves the problem of hand injury caused by long-term grip and improves the safety and comfort of use.
Patent Information
- Application Number
- CN202310200156.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2043-02-28
AI Technical Summary
When users hold small electronic devices such as mobile phones for a long time, the grip posture remains unchanged, which can easily lead to hand joint discomfort and potential damage.
Contact information is obtained by detecting the contact operation, the grip posture is determined, and the preset conditions are determined based on the grip parameters, and a prompt message is issued to remind the user to change the grip posture.
It effectively avoids hand injuries caused by the same grip posture for a long time, and improves user safety and comfort.
Smart Images

Figure CN116170535B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a processing method and electronic equipment. Background Art
[0002] When users are using small electronic devices such as mobile phones, they hold the phone in their hands. Since they pay less attention to their hands, if they use the same holding posture for a long time, it may cause discomfort to the user's hand joints, which may cause damage to the hands in the long run. Summary of the invention
[0003] The present application embodiment provides a processing method, including:
[0004] A contact operation is detected, and first contact information is obtained;
[0005] determining a corresponding holding posture according to the first contact information;
[0006] Obtaining the gripping parameters corresponding to the gripping posture during the duration of the gripping posture;
[0007] Based on the holding parameters, if it is determined that the holding posture continues to meet a preset condition, a prompt message is issued.
[0008] In some embodiments, determining a corresponding holding posture according to the first contact information includes:
[0009] Acquire location information of a contacted area of the electronic device according to the first contact information, wherein the location information includes at least two opposite sides or three sides adjacent to each other of the electronic device;
[0010] The type of the holding posture is determined according to the position information.
[0011] In some embodiments, the preset condition includes at least a time threshold;
[0012] Determining a corresponding holding posture according to the first contact information includes:
[0013] If the first contact information is pressure information of two opposite sides of the electronic device, or pressure information of three sides adjacent to each other including one side pressing down the electronic device, determining the first holding posture according to the first contact information;
[0014] If the first contact information is pressure information that one of the three sides adjacent to each other is used to lift up the electronic device, determining the second holding posture according to the first contact information;
[0015] Among them, the time threshold corresponding to the first holding posture is greater than the time threshold corresponding to the second holding posture.
[0016] In some embodiments, the method further comprises:
[0017] At every preset time interval, the cumulative holding posture duration state corresponding to the same holding posture type is determined; if the cumulative holding posture duration state meets the preset conditions, a prompt message is issued.
[0018] In some embodiments, the holding parameters include at least holding time and holding angle;
[0019] The methods for obtaining the continuous state of the holding posture include:
[0020] The holding posture duration state is determined according to the holding time, the holding angle and device parameters of the electronic device.
[0021] In some embodiments, the method further comprises:
[0022] Obtaining posture information of electronic equipment;
[0023] The holding angle is determined according to the posture information and the holding position.
[0024] In some embodiments, the method further comprises:
[0025] After the holding time exceeds a preset time, the holding posture continuation state is determined.
[0026] In some embodiments, the method further comprises:
[0027] After the prompt information is issued, if a change in the holding posture is detected, obtaining second contact information;
[0028] If the holding posture corresponding to the second contact information continues during the holding posture, the corresponding holding posture continues to meet the preset condition, and a prompt message is issued.
[0029] In some embodiments, the method further comprises:
[0030] If the holding posture changes, the preset condition is updated based on the holding posture persistence state, so as to determine whether to issue a prompt message based on the target condition obtained after the update.
[0031] An embodiment of the present application also provides an electronic device, comprising at least a memory, a processor and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, the steps of the method provided in any of the above embodiments are performed.
[0032] In the processing method and electronic device provided by the present application, when the user holds the electronic device, first contact information is obtained by detecting a contact operation; a corresponding holding posture is determined according to the first contact information; a holding parameter corresponding to the holding posture during the duration is obtained; based on the holding parameters, if it is determined that the holding posture duration meets a preset condition, a prompt message is issued, so that the user can choose whether to change the holding posture according to the prompt information and his or her actual situation during the use of the electronic device, thereby avoiding damage to the hands when the same holding posture is used for a long time. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0034] Figure 1 A flowchart of a processing method provided by the present application is shown;
[0035] Figure 2 A flowchart showing another processing method provided by the present application is shown;
[0036] Figure 3 A schematic structural diagram of an electronic device provided by the present application is shown. DETAILED DESCRIPTION
[0037] Various aspects and features of the present application are described herein with reference to the accompanying drawings.
[0038] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.
[0039] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0040] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.
[0041] It should also be understood that, although the present application has been described with reference to some specific examples, those skilled in the art will be able to realize many other equivalent forms of the present application that have the features described in the claims and are therefore within the scope of protection defined thereby.
[0042] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
[0043] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.
[0044] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.
[0045] Figure 1 A flowchart of the processing method provided in the embodiment of the present application is shown. Figure 1 As shown, the processing method includes the following steps S100-S400.
[0046] S100, detecting a contact operation and obtaining first contact information;
[0047] S200, determining a corresponding holding posture according to the first contact information;
[0048] S300, obtaining the holding parameters corresponding to the holding posture during the holding process;
[0049] S400: Based on the holding parameters, if it is determined that the holding posture continues to satisfy a preset condition, a prompt message is issued.
[0050] The processing method of the embodiment of the present application can be applied to various handheld electronic devices, such as mobile phones, tablet computers, etc. It should be noted that when a user holds an electronic device, he or she mainly holds it by touching the various sides of the electronic device. Of course, considering the usage habits and comfort of different users, the user will also touch or support the back of the electronic device facing away from the user's face. In some specific applications of this embodiment, in order to detect the user's contact operation, a detection unit can be set on each side and back of the electronic device. When the user touches the electronic device, the detection unit detects the contact operation and generates detection information, that is, the first contact information corresponding to the contact operation can be obtained. In some practical applications, the detection unit may include one or more sensors. When the user's hand touches the side or back of the electronic device, the sensor detects the user's contact operation according to the signal change and obtains the first contact information corresponding to the contact operation.
[0051] In this embodiment, after obtaining the first contact information of the user contacting the electronic device, the position information corresponding to the electronic device can be determined based on the first contact information to determine the way the user holds the electronic device, that is, the corresponding holding posture. This embodiment does not limit the way to determine the holding posture based on the first contact information. Exemplarily, the electronic device can pre-set a mapping table, and the mapping table includes the correspondence between the position information and the holding posture, so that the corresponding holding posture can be found based on the position information. In some practical applications, the electronic device can also use a program to make a judgment based on the position information corresponding to the contact information to determine the corresponding holding posture.
[0052] In some specific applications of this embodiment, the holding parameters can reflect the state of the user holding the electronic device, and may include holding time, holding angle, etc., which can be selected according to the needs of the processing process of the subsequent steps. After determining the holding parameters, the holding posture duration state, such as holding duration, hand force duration state, etc., can be obtained based on the holding parameters at each time point of the preset time interval. The preset conditions may include parameters such as time thresholds or force state thresholds, for example, setting the exceeding of the time threshold or the force state threshold as a preset condition. The prompt information can be set according to the experience of the technician or the actual configuration of the electronic device, for example, it may include sending a voice message, playing the duration or reminding the user to change the holding posture; or reminding the user by flashing a flashlight; it can also be sending a screen pop-up window, displaying the words of the holding posture duration or reminding the user to change the holding posture, etc. In some practical applications, the above prompt information can be used in combination with the current use state of the electronic device according to the actual situation, so as to avoid interfering with the user while prompting the user. For example, when the user runs a game application or watches a TV show in horizontal mode, the holding duration is obtained based on a preset time interval. When the holding duration exceeds the time threshold, the preset condition is met. At this time, the electronic device can flash a flashlight to prompt the user to change the holding posture. At this time, the use of screen pop-ups or voice messages can be avoided to avoid affecting the user's experience. Based on the prompt information, the user can pay attention to the force of the hand, move the hand joints corresponding to the holding operation, change the holding posture, or continue to maintain the original holding posture. When the user continues to maintain the original holding posture, the electronic device will continue to issue prompt information based on the holding parameters and whether the holding posture duration meets the preset conditions.
[0053] In some embodiments, determining a corresponding holding posture according to the first contact information includes:
[0054] Acquire location information of a contacted area of the electronic device according to the first contact information, wherein the location information includes at least two opposite sides or three sides adjacent to each other of the electronic device;
[0055] The type of the holding posture is determined according to the position information.
[0056] This embodiment aims to determine the position information of the user touching the electronic device according to the first contact information, so as to determine the type of holding posture according to the position information, so as to facilitate the subsequent steps to perform corresponding processing. In this embodiment, the position information of the contacted area of the electronic device refers to the position information of the contact area that contacts the detection unit of the electronic device when the user holds the electronic device. Exemplarily, when the user touches the side of the electronic device, the sensor set on the side of the electronic device generates a corresponding detection signal. At this time, the electronic device can obtain the corresponding first contact information, and then the position information of the user contacting the electronic device can be determined according to the first contact information. In some specific applications, considering that the user may hold the two opposite sides of the electronic device with one hand or both hands to perform the holding operation, or on the basis of contacting the two sides, the user will also use the fingers to support the third side of the electronic device, that is, contact the third side of the electronic device. Therefore, when the electronic device obtains the position information of the contacted area of the electronic device, at least determine whether the two opposite sides of the electronic device are contacted, so as to determine the corresponding holding posture based on the corresponding position information; or determine whether the three sides of the electronic device adjacent to each other are contacted, so as to determine the corresponding holding posture based on the corresponding position information.
[0057] In some practical applications, when the electronic device is in different usage orientations, the holding postures corresponding to different position information may be the same. For example, when the electronic device is in a portrait orientation, when the user's left hand holds the two longer sides of the electronic device, the detection unit detects that the two longer sides of the electronic device have contact areas. Of course, the user's palm may also touch the side of the electronic device facing away from the user's face. When the electronic device is in a landscape orientation, when the user holds the two shorter sides of the electronic device with one or both hands, the detection unit can at least detect that the two shorter sides of the electronic device have contact areas. Therefore, when the electronic device is used in the portrait orientation and the landscape orientation, respectively, it is detected that the two opposite sides are touched by the user, and it can be determined as the same holding posture based on the contact information.
[0058] In other practical applications, when the electronic device is in different usage directions, the holding posture corresponding to the same position information may be different. For example, when the usage direction of the electronic device is the positive vertical screen direction, the user uses the left hand to hold the two longer sides of the electronic device, and also uses the index finger of the left hand to lift and touch the top of the electronic device, and the detection unit detects that the two longer sides of the electronic device and the shorter side of the top have a contact area; when the usage direction of the electronic device is the reverse vertical screen direction, that is, the electronic device is inverted, the user uses the left hand to hold the two longer sides of the electronic device, and also uses the little finger of the left hand to lift and support the top of the electronic device (at this time, the top of the electronic device is facing down), and the detection unit detects that the two longer sides of the electronic device and the shorter side of the top have a contact area. In this application, the top of the electronic device refers to the position of the uppermost side of the electronic device when the electronic device is used based on the positive vertical screen direction. Therefore, when the electronic device is used in the forward and reverse portrait orientations respectively, the holding posture needs to be determined based on the force conditions of the two opposite sides and the other side to avoid wrong judgments that affect the processing results of subsequent steps.
[0059] In some embodiments, the preset condition includes at least a time threshold;
[0060] Determining a corresponding holding posture according to the first contact information includes:
[0061] If the first contact information is pressure information of two opposite sides of the electronic device, or pressure information of three sides adjacent to each other including one side pressing down the electronic device, determining the first holding posture according to the first contact information;
[0062] If the first contact information is pressure information that one of the three sides adjacent to each other is used to lift up the electronic device, determining the second holding posture according to the first contact information;
[0063] Among them, the time threshold corresponding to the first holding posture is greater than the time threshold corresponding to the second holding posture.
[0064] In this embodiment, the preset condition may include time threshold information to control the time that the user holds the electronic device using the same holding posture. In the present application, when determining the type of holding posture according to the side of the electronic device that is touched, it can be determined based on the pressure information of whether the electronic device is lifted up. It should be noted that the electronic device can be in the positive vertical screen direction as the standard direction, and the electronic device includes two longer sides on the left and right sides, and two shorter sides at the top and bottom.
[0065] In some practical applications, when the user holds the electronic device in the forward or reverse portrait orientation, by holding the two longer sides of the electronic device with one hand, the sensors provided on the two longer sides of the electronic device can generate electrical signals based on the contact operation, thereby detecting pressure information corresponding to the electrical signals, and the sensors provided on the other two shorter sides do not detect the pressure information. In some other practical applications, when the user holds the electronic device in the forward or reverse landscape orientation, by holding the two shorter sides of the electronic device with one hand, the sensors provided on the two shorter sides of the electronic device can generate electrical signals based on the contact operation, thereby detecting pressure information corresponding to the electrical signals, and the sensors provided on the other two longer sides do not detect the pressure information. At this time, the user's holding posture can be determined as the first holding posture based on the pressure information of the two opposite sides.
[0066] In other practical applications, when the user holds the electronic device in the forward or reverse vertical screen direction, when holding the two longer sides of the electronic device with one hand, the user can also use the fingers to lift and press down the top or bottom of the electronic device to further stabilize the holding operation. The detection unit detects the pressure information of the two longer sides of the electronic device, and the pressure information of the top or bottom (the top facing down in the case of reverse use) of the side subjected to the user's downward operation. In other practical applications, when the top of the electronic device faces the left or right when the user holds the two shorter sides of the electronic device with one hand or both hands, the user can also use the lifting to press down the right or left side of the electronic device. The detection unit detects the pressure information of the two shorter side panels of the electronic device, and the pressure information of the right or left side subjected to the user's finger pressing down the electronic device. At this time, according to the pressure information of one of the three adjacent sides that press down the electronic device, it can be determined that the user's holding posture is the first holding posture.
[0067] In other practical applications, when the electronic device is used in the forward or reverse portrait orientation, the user holds the two longer sides of the electronic device with one hand, and also lifts the bottom or top side of the electronic device with fingers. The detection unit detects the pressure information of the two longer sides of the electronic device, and the pressure information of the bottom or top (the top facing down in the case of reverse use) side being pressed down by the user. In other practical applications, when the electronic device is used in the landscape orientation, the top of the electronic device faces the left or right side, and the user holds the two relatively shorter sides of the electronic device with one hand or both hands, and also lifts the left or right side of the electronic device with fingers. The detection unit detects the pressure information of the two relatively shorter sides of the electronic device, and the pressure information of the left or right side being lifted by the user. At this time, according to the pressure information of one of the three adjacent sides, it can be determined that the user's holding posture is the first holding posture.
[0068] In this embodiment, the time threshold corresponding to the first holding posture and the time threshold corresponding to the second holding posture can be set according to the experience of the technician, or corresponding time threshold options can be provided for the user to choose, which is not limited in this application. Considering that when a user holds an electronic device, if he uses a finger (such as a little finger) to touch a side of the electronic device to support the electronic device, the finger that supports the electronic device is more susceptible to damage than other fingers or hand joints after long-term use. For this reason, in some specific applications of this embodiment, the time threshold corresponding to the first holding posture is greater than the time threshold corresponding to the second holding posture, so that in subsequent steps, based on the holding parameters corresponding to different holding postures, corresponding processing can be performed according to whether different time thresholds are met.
[0069] In some embodiments, the method further comprises:
[0070] At every preset time interval, the cumulative holding posture duration state corresponding to the same holding posture type is determined; if the cumulative holding posture duration state meets the preset conditions, a prompt message is issued.
[0071] The longer the interval time is, the smaller the amount of calculation is, but the calculated data may not be very accurate. The shorter the interval time is, the more accurate the calculated data is, but it will increase the amount of calculation of the electronic device, which may affect the running speed of the electronic device. In this embodiment, the preset time interval can be set by the technician based on actual experience, and this application is not limited here. The cumulative holding posture duration state can be the cumulative time parameter corresponding to the user's holding posture duration, or the cumulative continuous force state of the user's fingers when supporting the electronic device. In some specific applications of this embodiment, the electronic device can first determine the force state corresponding to the same holding posture within the time interval based on the preset time interval, and then determine the cumulative continuous force state corresponding to the holding posture duration; of course, the electronic device can also directly determine the cumulative time parameter or the cumulative continuous force state of the user maintaining the holding posture to determine the cumulative holding posture duration state corresponding to the same holding posture type. This application does not limit the method for determining the cumulative holding posture duration state. For example, when the preset condition is a time threshold, the electronic device can determine whether the user is still holding the electronic device in the same holding posture at intervals of 3 minutes, and when the user is still holding the same holding posture type, determine the cumulative duration of the user in the holding posture to determine the cumulative holding posture duration state corresponding to the same holding posture type. If the cumulative holding duration is greater than the set time threshold, the preset condition is met, and the electronic device can at least send a voice mailbox, flashing information of a flash light, or a screen pop-up window, etc., according to the actual situation, to remind the user.
[0072] In some embodiments, the holding parameters include at least holding time and holding angle;
[0073] The methods for obtaining the continuous state of the holding posture include:
[0074] The holding posture duration state is determined according to the holding time, the holding angle and device parameters of the electronic device.
[0075] In this embodiment, the holding posture duration state may be the force duration state of the hand under the holding posture of the user. In order to obtain the holding posture duration state, the holding parameters at least select the holding time and the holding angle. After determining the holding time and the holding angle corresponding to the holding posture, the force duration state may be determined in combination with the device parameters of the electronic device.
[0076] In some embodiments, the method further comprises:
[0077] Obtaining posture information of electronic equipment;
[0078] The holding angle is determined according to the posture information and the holding position.
[0079] This embodiment aims to determine the holding angle based on the posture information of the electronic device. In some specific applications, the posture information of the electronic device is used to characterize the motion information and three-dimensional spatial position information of the electronic device, which can be obtained through a motion state sensor built into or external to the electronic device, so that the holding angle can be determined based on the motion information, three-dimensional spatial position information and holding posture. Exemplarily, the motion state sensor may include a gravity sensor, a gyroscope sensor, an inertial sensor, etc. The electronic device collects motion state parameters such as moving direction, speed, acceleration, three-axis posture angle, etc. through the motion sensor, and determines the angle between the electronic device and the vertical (gravity) direction at different times based on this information, that is, the holding angle is obtained.
[0080] For example, if the user maintains the same holding posture for a holding time of t, and the mass of the electronic device is m, the holding angle can be determined based on the angle between the electronic device and the vertical (gravity) direction, that is, the motion information, which can be recorded as θ. Then the finger force of lifting the electronic device can be approximately recorded as mg cosθ. Considering that when the user maintains the same holding posture when using the electronic device, the holding angle θ may change at any time. When a user uses an electronic device with a holding posture, the holding angles θ1, θ2, ..., θ1 are obtained based on preset time intervals. n , the duration of using electronic equipment is t1, t2, …, t n , because the user needs to continue to overcome the gravity of the electronic device when holding it, the impulse data is defined The impulse data I represents the cumulative effect of overcoming the pressure of the device when the device is used during the holding posture, so as to characterize the cumulative force state of the user's hand.
[0081] When a user uses an electronic device for the first time, the electronic device can select the initial impulse I0 as the preset force state threshold according to the settings of the technician, and the preset condition can be exceeding the initial impulse I0. The initial impulse I0 can be set by the technician based on the experience of most people's usage, and updated according to the continuous use status of subsequent users based on the same holding posture. When a user uses an electronic device with a holding posture, the impulse of the current use is recorded as I', and the duration can be updated based on the preset time interval and the corresponding holding angle can be obtained to determine the impulse of the current use I'. If the holding posture continues to time t', and I'≥I0 is satisfied, a prompt message is issued to prompt the user to change the holding posture.
[0082] In some embodiments, the method further comprises:
[0083] After the holding time exceeds a preset time, the holding posture continuation state is determined.
[0084] This embodiment aims to avoid issuing a prompt message based on the holding duration in a short period of time. In this embodiment, the preset time can be set by a technician based on experience, and this application is not limited here. For example, when the preset time is set to 10 minutes, when the holding time is within 10 minutes, the holding posture duration does not need to be determined. When the holding time reaches 10 minutes or exceeds 10 minutes, the holding state duration is determined.
[0085] In some practical applications, when a user uses an electronic device in a holding posture, the clamping angles θ1, θ2, ..., θ n and duration of using electronic equipment t1, t2, …, t n In order to maintain the accuracy of the data, for example, when the preset time interval is set to 3 minutes, the corresponding clamping angle and the corresponding device duration are obtained every 3 minutes within the preset time of 10 minutes, but the corresponding usage impulse I' is not calculated. When the corresponding clamping angle and the corresponding device duration are obtained for the fourth time, the holding time is 12 minutes, which has exceeded the preset time of 10 minutes. The corresponding usage impulse I' is determined based on the clamping angle values and durations obtained 4 times.
[0086] Figure 2 Another flow chart of the processing method of the embodiment of the present application is shown. Figure 2 As shown, the method further includes steps S500-S600:
[0087] S500, after sending the prompt information, if it is detected that the holding posture changes, obtaining second contact information;
[0088] S600: If the holding posture corresponding to the second contact information continues during the holding posture, the corresponding holding posture continues in a state that satisfies the preset condition, a prompt message is issued.
[0089] In this embodiment, when the user continues to use the electronic device after changing the holding posture according to the prompt information of the electronic device, the detection unit detects a new contact operation to determine that the user's holding posture has changed, and it is necessary to determine the holding posture continuation state based on the changed holding posture again. At this time, the detection unit can obtain the changed detection information according to the changed contact operation of the user, and the second contact information can be obtained based on the changed detection information. Afterwards, according to whether the holding posture continuation state corresponding to the holding posture corresponding to the second contact information meets the preset condition during the continuation process, the prompt information can be issued again according to the result of meeting the preset condition, so as to continuously remind the user based on the holding posture continuation state corresponding to the user's holding posture, so as to avoid the user from causing damage to the hand when using the electronic device for a long time.
[0090] In specific applications of this embodiment, the second contact information can also be obtained through a sensor. The specific implementation method can refer to the method of obtaining the first contact information, and the method of issuing a prompt message based on whether the continuous state of the holding posture corresponding to the second contact information meets the preset conditions during the continuous process can also refer to the implementation method of the aforementioned embodiment, which will not be repeated in this embodiment.
[0091] In some embodiments, the method further comprises:
[0092] If the holding posture changes, the preset condition is updated based on the holding posture persistence state, so as to determine whether to issue a prompt message based on the target condition obtained after the update.
[0093] In this embodiment, when the holding posture duration state meets the preset conditions, the electronic device sends a prompt message to the user, and the user changes the holding posture according to the prompt message of the electronic device. At this time, the electronic device will update the preset condition based on the holding duration state. In some specific applications, when the holding posture duration state is the holding time, when the user changes the holding posture during the holding time and continues to use the device, the electronic device updates the time threshold based on the holding time at this time. Accordingly, the preset condition is updated based on the updated time threshold, that is, exceeding the updated time threshold is the target condition. Therefore, in the subsequent process, the electronic device can determine whether to send a prompt message based on the updated target condition.
[0094] In some specific applications, when the holding posture continuous state is the hand force continuous state, it can be represented by the current use impulse I'. When the user changes the holding posture according to the prompt information of the electronic device and continues to use the electronic device when I'≥I0, the electronic device can update the initial impulse I0 according to the current use impulse I' using the following formula:
[0095] I0′=(1-)I0+I′
[0096] Wherein, δ is an update parameter, which can be selected by technicians based on experience, for example, 0.01 or 0.02.
[0097] The preset condition is updated based on the updated impulse I0′. At this time, the target condition is updated to I′≥I0′ relative to the preset condition. In the subsequent process, the electronic device can determine whether to issue a prompt message based on the updated target condition I′≥I0′. In this embodiment, the target condition can be updated based on the continuous state of the holding posture corresponding to each user, so as to better meet the user's usage habits and provide a good user experience.
[0098] The embodiment of the present application further provides an electronic device, which at least includes a memory 501, a processor 502 and a bus (not shown), wherein the structural diagram of the electronic device can be as follows: Figure 3 As shown, the memory 501 stores machine-readable instructions executable by the processor 502. When the electronic device is running, the processor 502 communicates with the memory 501 through a bus. When the machine-readable instructions are executed by the processor, the steps of the processing method provided in any embodiment of the present application are performed.
[0099] Since the electronic device introduced in the embodiments of the present application is an electronic device provided with a memory for implementing the processing method disclosed in the embodiments of the present application, based on the processing method introduced in the embodiments of the present application, technical personnel in this field can understand the structure and deformation of the electronic device introduced in the embodiments of the present application, so it is not repeated here.
[0100] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0101] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other.
[0102] In addition, although each operation is described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or to be performed in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the application. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0103] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
[0104] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.
Claims
1. A processing method, include: A contact operation is detected, and first contact information is obtained; determining a corresponding holding posture according to the first contact information; Obtaining the gripping parameters corresponding to the gripping posture during the duration of the gripping posture; Based on the holding parameters, if it is determined that the holding posture continues to meet the preset conditions, a prompt message is issued; The holding parameters at least include holding time and holding angle; The methods for obtaining the continuous state of the holding posture include: The holding posture duration state is determined according to the holding time, the holding angle and the device parameters of the electronic device, the holding angle is the angle between the electronic device and the direction of gravity, the device parameter is the mass of the electronic device, and the holding posture duration state is the force duration state of the hand under the user's holding posture.
2. The method according to claim 1, determining a corresponding holding posture according to the first contact information, include: Acquire location information of a contacted area of the electronic device according to the first contact information, wherein the location information includes at least two opposite sides or three sides adjacent to each other of the electronic device; The type of the holding posture is determined according to the position information.
3. The method according to claim 2, wherein the preset condition at least includes a time threshold; Determining a corresponding holding posture according to the first contact information includes: If the first contact information is pressure information of two opposite sides of the electronic device, or pressure information of three sides adjacent to each other including one side pressing down the electronic device, determining the first holding posture according to the first contact information; If the first contact information is pressure information that one of the three sides adjacent to each other is used to lift up the electronic device, determining the second holding posture according to the first contact information; Among them, the time threshold corresponding to the first holding posture is greater than the time threshold corresponding to the second holding posture.
4. The method according to claim 2, further comprising: include: At every preset time interval, determining the cumulative holding posture duration state corresponding to the same holding posture type; If the cumulative holding posture continues to meet the preset conditions, a prompt message is issued.
5. The method according to claim 1, further comprising: include: Obtaining posture information of electronic equipment; The holding angle is determined according to the posture information and the holding position.
6. The method according to claim 1, further comprising: include: After the holding time exceeds a preset time, the holding posture continuation state is determined.
7. The method according to claim 1, further comprising: include: After the prompt information is issued, if a change in the holding posture is detected, obtaining second contact information; If the holding posture corresponding to the second contact information continues during the holding posture, the corresponding holding posture continues to meet the preset condition, and a prompt message is issued.
8. The method according to claim 1, further comprising: include: If the holding posture changes, the preset condition is updated based on the holding posture persistence state, so as to determine whether to issue a prompt message based on the target condition obtained after the update.
9. An electronic device, comprising at least a memory, a processor and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, the steps of the method described in any one of claims 1 to 8 are performed.
Citation Information
Patent Citations
Method and device for alarm processing, and terminal device
CN105488947A
Information processing equipment and method
CN106020439A
Terminal use gesture-based warning method, terminal and computer storage medium
CN107426423A
Mobile terminal information reminding method, mobile terminal and storage medium
CN110809083A
Holding mode detection method, electronic equipment and storage medium
CN115421617A
