CN117193902A - Prompting method for abnormal terminal use distance, electronic equipment and readable medium - Google Patents

Prompting method for abnormal terminal use distance, electronic equipment and readable medium Download PDF

Info

Publication number
CN117193902A
CN117193902A CN202310919770.5A CN202310919770A CN117193902A CN 117193902 A CN117193902 A CN 117193902A CN 202310919770 A CN202310919770 A CN 202310919770A CN 117193902 A CN117193902 A CN 117193902A
Authority
CN
China
Prior art keywords
terminal
distance
earphone
user
prompting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310919770.5A
Other languages
Chinese (zh)
Inventor
孙伟鸿
李伟雄
廖刚召
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangxi Risound Electronics Co ltd
Original Assignee
Jiangxi Risound Electronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangxi Risound Electronics Co ltd filed Critical Jiangxi Risound Electronics Co ltd
Priority to CN202310919770.5A priority Critical patent/CN117193902A/en
Publication of CN117193902A publication Critical patent/CN117193902A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a prompting method for abnormal use distance of a terminal, electronic equipment and a readable storage medium, wherein the prompting method comprises the following steps: detecting whether the terminal, the intelligent watch and the earphone are in a specific state or not; if the terminal, the intelligent watch and the earphone are in a specific state, acquiring and based on a first pitch angle of the intelligent watch and a second pitch angle of the earphone at the same moment; it is determined whether to remind the user to pay attention to the terminal use distance. The application can better adapt to the use scene of the user for playing the game and entertainment by using the terminal, can improve the accuracy of judging the use distance of the terminal through the detection and analysis of the gesture of the user for playing the game and entertainment by using the terminal, can reduce the use of an infrared sensor or a distance sensor in the terminal under the use scene, realizes the use distance safety detection function of the terminal, improves the use distance detection precision of the terminal, and reduces the electric quantity loss of the terminal.

Description

Prompting method for abnormal terminal use distance, electronic equipment and readable medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method for prompting a terminal to use an abnormal distance, an electronic device, and a readable medium.
Background
Along with the rapid development of electronic technology, popularity of intelligent devices such as terminals and intelligent wearable devices is also higher and higher, and relevance between intelligent devices is also higher and higher. When a user uses the terminal to play games, the head of the user can involuntarily tilt forward, the hand can involuntarily move the terminal towards the direction close to the eyes, and further the distance between the eyes of the user and the mobile phone is too short, so that bad habit of using the terminal by the user can cause injury to eyesight of the user.
In the prior art, the distance between the user and the terminal is usually measured by an infrared sensor or a distance sensor, and the detection mode cannot be well adapted to the use scene of the user using the terminal for game entertainment, and cannot be combined with the physical state of the user for detection, so that the detection precision is low, and the power consumption of the terminal is increased by using the infrared sensor or the distance sensor under the specific use scene, so that the use experience of the user is further affected.
Disclosure of Invention
In view of the defects in the prior art, the application provides a prompting method for abnormal use distance of a terminal, electronic equipment and readable media, which can respectively collect gesture data of the head and the hand of a user through an earphone and a smart watch which are in communication connection with the terminal when the user uses the terminal to play a game, and prompt the user to pay attention to the use distance of the terminal according to the situation of the gesture data.
In order to achieve the above object, the present application provides a method for prompting a terminal to use a distance abnormality, including:
detecting whether the terminal, the intelligent watch and the earphone are in a specific state or not;
if the terminal, the intelligent watch and the earphone are in a specific state, acquiring a first pitch angle of the intelligent watch and a second pitch angle of the earphone at the same moment;
based on the first pitch angle of the intelligent watch and the second pitch angle of the earphone, whether the user is reminded of the using distance of the terminal is judged.
In one embodiment, the step of detecting whether the terminal, the smart watch and the earphone are in a specific state includes:
detecting the communication state among the terminal, the intelligent watch and the earphone;
if the terminal, the intelligent watch and the earphone are in a communication connection state, detecting whether the intelligent watch and the earphone are in a wearing state or not;
if the intelligent watch and the earphone are in the wearing state, detecting whether the terminal enters a game mode or not;
if yes, the terminal, the intelligent watch and the earphone are all in a specific state.
In one embodiment, the step of obtaining the first pitch angle of the smart watch and the second pitch angle of the headset includes:
and periodically acquiring a first pitch angle of the intelligent watch and a second pitch angle of the earphone at the same moment in a preset detection time.
In one embodiment, the step of determining whether to alert the user to the distance used by the terminal comprises:
acquiring a plurality of first differences between a first pitch angle and a preset first normal angle, and acquiring a plurality of second differences between a second pitch angle and a preset second normal angle;
obtaining simulation parameters according to the first difference value and the second difference value at the same moment;
comparing the simulation parameters with preset comparison parameters to obtain a plurality of judgment values;
based on the determination value, it is determined whether or not to remind the user of the terminal use distance.
In one embodiment, the step of obtaining the simulation parameter according to the first difference and the second difference at the same time includes:
obtaining a first product of a first difference value and a first coefficient, and obtaining a second product of a second difference value and a second coefficient;
accumulating the first product and the second product to obtain an accumulated sum;
dividing the cumulative sum by the sum of the first coefficient and the second coefficient to obtain the simulation parameter.
In one embodiment, the first coefficient and the second coefficient are both (0, 1), and the first coefficient is greater than the second coefficient.
In one embodiment, the step of determining whether to alert the user to the terminal usage distance based on the determination value includes:
acquiring the number of exceeding judgment values exceeding a preset judgment range;
judging whether the exceeding number is larger than or equal to the preset number;
if yes, prompting the user to pay attention to the using distance of the terminal.
In one embodiment, the step of detecting whether the terminal, the smart watch and the earphone are in a specific state further includes:
detecting whether a linkage detection mode of the terminal is started;
if the terminal is in the linkage detection mode, triggering and detecting whether the terminal, the intelligent watch and the earphone are in a specific state.
The application also provides an electronic device which comprises a memory, a processor and a prompting method program instruction of the terminal use distance abnormality, wherein the prompting method program instruction of the terminal use distance abnormality is stored in the memory and can run on the processor, and when the prompting method program instruction of the terminal use distance abnormality is executed by the processor, the prompting method of the terminal use distance abnormality is realized.
The application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for prompting the abnormal using distance of the terminal is realized.
The application has the beneficial effects that: when the terminal, the intelligent watch and the earphone are in a specific state, a first pitch angle of the intelligent watch and a second pitch angle of the earphone at the same moment are obtained, and the gesture of the wrist of the user and the gesture of the head of the user are simulated when the user uses the terminal to play games through the first pitch angle of the intelligent watch and the second pitch angle of the earphone, so that whether the user is reminded of the using distance of the terminal is further determined. The method provided by the application can be better suitable for the use scene of the terminal for game entertainment by the user, the accuracy of judging the use distance of the terminal can be improved through the detection and analysis of the gesture of the terminal for game entertainment by the user, the use of infrared sensors or distance sensors in the terminal can be reduced under the use scene, the use distance safety detection function of the terminal is realized, the use distance detection precision of the terminal is improved, and the electric quantity loss of the terminal is reduced.
Drawings
Fig. 1 is a flow chart of a method for prompting a terminal to use distance abnormality according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for detecting a specific state according to an embodiment of the application;
fig. 3 is a flowchart of a method for obtaining a pitch angle according to an embodiment of the present application;
fig. 4 is a flowchart of a method for determining a terminal usage distance according to an embodiment of the present application;
FIG. 5 is a flow chart of a method for obtaining simulation parameters according to an embodiment of the present application;
fig. 6 is a detailed flowchart of a method for determining a terminal usage distance according to an embodiment of the present application;
FIG. 7 is a flow chart of a method for triggering specific status detection according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the present application, the terms "disposed," "provided," and "connected" are to be construed broadly. For example, it may be a fixed connection, a removable connection, or a unitary construction; may be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements, or components. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances.
The terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Also, some of the terms described above may be used to indicate other meanings in addition to orientation or positional relationships, for example, the term "upper" may also be used to indicate some sort of attachment or connection in some cases. The specific meaning of these terms in the present application will be understood by those of ordinary skill in the art according to the specific circumstances.
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In the process of using the terminal by the user, the situation that the using distance of the terminal is abnormal is more happened when the user uses the terminal to play the game, especially when the user uses the terminal to play the mainstream instant fight game. In the process of playing by the user, the attention of the user is usually concentrated on the screen of the terminal, and after the user wears the intelligent wearing equipment, the immersive audio-visual experience can enable the user to easily ignore the using distance of the terminal, the head of the user can unconsciously incline forward, and then the terminal is too close to eyes of the user, so that the eyes of the user are injured.
Based on the situation of the binding sales trend of the intelligent wearable equipment and the situation of the binding sales trend of the intelligent wearable equipment, the application utilizes the relevance between the intelligent wearable equipment and the terminal under the specific use situation of the terminal, and the safety of the use distance of the terminal is detected in an auxiliary way through the intelligent watch and the earphone, and related prompts are output to the user, so that the user can timely notice the use distance of the terminal when playing a game by using the terminal. In the application, the terminal can be intelligent electronic equipment such as a mobile phone, a tablet and the like, and after the intelligent watch and the earphone acquire related data, the related data can be sent to the terminal for processing, and then the terminal is used for prompting or the intelligent watch is used for prompting or the earphone is used for prompting.
Referring to fig. 1, the method for prompting the abnormal use distance of the terminal provided by the embodiment of the application includes:
s10, detecting whether the terminal, the intelligent watch and the earphone are in a specific state or not;
s20, if the terminal, the intelligent watch and the earphone are in a specific state, acquiring a first pitch angle of the intelligent watch and a second pitch angle of the earphone at the same moment;
s30, based on the first pitch angle of the intelligent watch and the second pitch angle of the earphone, whether the user is reminded of the using distance of the terminal is judged.
It can be understood that the prompting method for the abnormal use distance of the terminal provided by the embodiment is provided for the specific use situation of the terminal, and in the state that the user uses the terminal to play the game, the gestures of the head and the wrist of the user can indirectly reflect the distance of the user using the terminal. Therefore, the pitch angle of the intelligent watch is approximately equal to the pitch angle of the wrist of the user by utilizing the characteristic that the worn intelligent watch and the wrist of the user are kept relatively static and the characteristic that the worn earphone and the head of the user are kept relatively static, and the pitch angle of the earphone is approximately equal to the pitch angle of the head of the user.
Through obtaining the pitch angle of intelligent wrist-watch and earphone under the same moment, then having obtained the pitch angle of user's wrist and head under the same moment, can simulate the pitch angle of user's wrist and head respectively through the pitch angle of intelligent wrist-watch and earphone, obtain the gesture of user when using the terminal to play the recreation, and then realize based on the pitch angle of intelligent wrist-watch and earphone, judge whether remind the function of terminal use distance.
The method for prompting the abnormal use distance of the terminal corresponding to the specific use scene of the terminal can be well adapted to the use scene of the terminal for game entertainment of a user, the accuracy of judging the use distance of the terminal can be improved through detection and analysis of the gesture of the user during game entertainment of the terminal, under the use scene, the use of an infrared sensor or a distance sensor in the terminal can be reduced, the power consumption burden of the terminal in a game mode can be effectively reduced, the use distance safety detection function of the terminal is realized, the use distance detection precision of the terminal is improved, and meanwhile the electric quantity loss of the terminal is reduced.
Furthermore, since the prompting method for abnormal use distance of the terminal provided by the embodiment is provided for specific use situations, before the intelligent watch and the earphone trigger to acquire the attitude angle data and process related data, the terminal, the intelligent watch and the earphone are required to be in specific states, so that the accuracy of acquiring the attitude angle data by the intelligent watch and the earphone is ensured, the accuracy of triggering prompt is ensured, and frequent false triggering of a user in a conventional use process is avoided.
In one embodiment, as shown in fig. 2, the step S10 of detecting whether the terminal, the smart watch and the earphone are in a specific state includes:
s11, detecting a communication state among the terminal, the intelligent watch and the earphone;
s12, if the terminal, the intelligent watch and the earphone are in a communication connection state, detecting whether the intelligent watch and the earphone are in a wearing state or not;
s13, if the intelligent watch and the earphone are in a wearing state, detecting whether the terminal enters a game mode or not;
and S14, if so, the terminal, the intelligent watch and the earphone are in a specific state.
It can be understood that the prompting method for abnormal use distance of the terminal provided by the embodiment is applied to a specific use scenario of the terminal, and the prompting method needs to cooperate between the terminal and a plurality of intelligent wearing devices, so that before the detection of the use distance of the terminal in the specific use scenario is triggered, the terminal, the intelligent watch and the earphone are required to be ensured to be in a communication connection state, so that data acquired by the intelligent watch and the earphone can be transmitted to the terminal.
The prompting method for the abnormal using distance of the terminal provided by the embodiment is characterized in that the characteristic that the intelligent watch and the earphone are respectively kept relatively static with the wrist and the head of the user after being worn is utilized to approximately acquire the pitch angle of the wrist and the head of the user under a specific using scene, so that after the terminal, the intelligent watch and the earphone are in a communication connection state, the state that the intelligent watch and the earphone are worn needs to be ensured, and whether the terminal enters a specific mode or not is ensured, if the intelligent watch and the earphone are in a non-wearing state or the terminal does not enter a game mode, the data of the pitch angle of the intelligent watch and the earphone do not need to be acquired, the frequency for triggering the acquisition of the pitch angle can be reduced, and the loss of electric quantity is reduced.
The wear detection of the smart watch may be measured by different types of sensors, e.g. acceleration sensors, magnetic force sensors, heart rate sensors, etc. Taking an acceleration sensor as an example, the acceleration sensor in the smart watch can detect acceleration data or detect vibration in three directions (i.e., an X axis, a Y axis, and a Z axis). The movement state of the wrist of the user can cause the acceleration sensor to change in the three axial directions, and whether the intelligent watch is in a wearing state can be judged through the changes. The wearing detection of the earphone can also be detected by different types of sensors, such as a photoelectric sensor, a capacitance sensor and the like, and the photoelectric sensor can judge whether the earphone is worn in the ear or not by detecting a level signal formed by the reflected signal of a human body; the capacitance sensor can judge whether the earphone is worn in the ear by sensing the capacitance value of the human body.
Further, the data of the first pitch angle of the smart watch and the second pitch angle of the earphone at the same time may be obtained by processing and judging after the data of the first pitch angle of the smart watch and the second pitch angle of the earphone are obtained at a single time, or may be processed and judged in a group form after the data of the first pitch angle of the smart watch and the second pitch angle of the earphone at the same time are periodically obtained in a period of a detection duration.
As shown in fig. 3, in a preferred embodiment, if the terminal, the smart watch and the earphone are in a specific state, the step S20 of obtaining the first pitch angle of the smart watch and the second pitch angle of the earphone at the same time includes:
s21, periodically acquiring a first pitch angle of the intelligent watch and a second pitch angle of the earphone at the same moment in a preset detection time.
It can be understood that the first pitch angle of the intelligent watch and the second pitch angle of the earphone are preferably acquired in a group mode, so that the frequency of processing data by the terminal can be reduced and the burden of processing data by the terminal can be reduced in the process that the user uses the terminal to play a game. Meanwhile, the pitch angle of the head of the user and the pitch angle of the wrist are changeable, the situation that the user can recover after exceeding the safe use distance for a plurality of times is likely to exist, the pitch angle data is preferably acquired in a group mode, the accuracy of triggering prompt can be improved, and the situation that the user experience is influenced due to frequent triggering prompt is avoided.
Specifically, the detection duration and the duration of periodically acquiring the pitch angles of the smart watch and the earphone at the same time can be set according to the actual design requirement, for example, the detection duration can be set to 10 minutes, the periodically acquired duration can be set to half minutes, namely, when the terminal, the smart watch and the earphone are in a specific state, the detection duration period taking 10 minutes as one is used, the first pitch angle of the smart watch and the second pitch angle of the earphone at the same time are acquired every half minutes in the detection duration period, 20 groups of data can be acquired after the detection duration period is ended, and whether to output a prompt is judged according to the 20 groups of data.
Further, in order to improve the accuracy of the triggering prompt and avoid frequent triggering of the prompt, as shown in fig. 4, in a preferred embodiment, based on the first pitch angle of the smart watch and the second pitch angle of the earphone, the step S30 of determining whether to remind the user to pay attention to the terminal usage distance includes:
s31, acquiring a plurality of first differences between a first pitch angle and a preset first normal angle, and acquiring a plurality of second differences between a second pitch angle and a preset second normal angle;
s32, obtaining simulation parameters according to the first difference value and the second difference value at the same moment;
s33, comparing the simulation parameters with preset comparison parameters to obtain a plurality of judgment values;
s34, based on the judgment value, judging whether to remind the user of paying attention to the terminal using distance.
The first normal angle is the angle of the wrist when the hand naturally sags after the user wears the intelligent watch; the second normal angle is an angle at which the head is kept vertical and comfortable after the user wears the earphone; the data of the first normal angle and the second normal angle can be fixed values which are directly set by a designer, or specific values which are set by a client according to the specific conditions of the client through terminal software.
The simulation parameters are numerical values obtained by comprehensively considering the first difference value and the second difference value, and the simulation parameters can comprehensively reflect the body state of a user when the user uses the terminal to play the game. The comparison parameters are conventional values for the terminal use distance conditions obtained when the user plays a game using the terminal in a normal standard posture.
It can be understood that, in the process that the user plays the game by using the terminal, the pitch angle of the user's head and the pitch angle of the user's wrist both affect the use distance of the terminal, and by obtaining a plurality of first differences and second differences in step 31, the degree of the user's wrist deviating from the first normal angle and the degree of the user's head deviating from the second normal angle can be obtained within the detection duration.
The simulation parameters obtained in step S32 comprehensively consider the forward tilting degree of the user head and the rotation degree of the user wrist, can comprehensively reflect the state of the user when playing the game by using the terminal, can better adapt to the situation that the state of the user is changeable when the user plays the game by using the terminal (if the situation that the first difference value and the second difference value compensate each other possibly exists, namely, the situation that the user head tilts forward more and the wrist rotates less, the using distance of the terminal can still be within the safe distance range), and further improves the accuracy rate of the follow-up judgment.
The simulation parameter and the comparison parameter are compared to obtain a judgment value, wherein the judgment value is the absolute value of the difference value between the simulation parameter and the comparison parameter, the degree that the terminal using distance deviates from the normal using degree when a user uses the terminal to play a game is shown, the larger the judgment value is, the larger the deviation degree is, and whether the user is triggered to prompt the user to pay attention to the terminal using distance can be determined according to the condition of the judgment value.
Further, in the process that the user actually uses the terminal to play the game, the degree of rotation of the wrist (i.e. the degree of rotation of the hand) of the user is greater than the degree of influence of the forward tilting degree of the head of the user on the safety of the terminal using distance, i.e. the degree of influence of the first difference on the safety of the terminal using distance is greater than the degree of influence of the second difference on the safety of the terminal using distance, so as to further improve the accuracy of judging whether to trigger prompt or not by using the simulation parameters later, and different weight values can be considered to be introduced to the first difference and the second difference when calculating the simulation parameters.
In a preferred embodiment, as shown in fig. 5, the step S32 of obtaining the simulation parameters according to the first difference and the second difference at the same time includes:
s321, obtaining a first product of a first difference value and a first coefficient, and obtaining a second product of a second difference value and a second coefficient;
s322, accumulating the first product and the second product to obtain an accumulated sum;
s323, dividing the accumulated sum by the sum of the first coefficient and the second coefficient to obtain the simulation parameter.
It can be understood that in the process of calculating the simulation parameters by using the first difference value and the second difference value, different weight coefficients are respectively introduced into the first difference value and the second difference value, so that the calculated simulation parameters can be more fit with the situation that a user actually uses the terminal to play a game, the accuracy of the obtained simulation parameters is improved, and the accuracy of subsequent prompt judgment is further improved.
Preferably, the range of values of the first coefficient and the second coefficient is (0, 1), and the first coefficient is greater than the second coefficient. For example, the first coefficient may be selected to be 0.6 and the second coefficient may be selected to be 0.4.
Further, after comparing the simulation parameter with the comparison parameter to obtain the determination value, whether to trigger prompting the user to adjust the terminal use distance based on the determination value may be determined by immediately determining a single determination value, or may be determined by accumulating and determining a plurality of determination values.
As shown in fig. 6, in a preferred embodiment, the step S34 of determining whether to remind the user of the terminal usage distance based on the determination value includes:
s341, obtaining the number of exceeding judgment values exceeding a preset judgment range;
s342, judging whether the exceeding number is larger than or equal to the preset number;
s343, if yes, prompting the user to pay attention to the terminal use distance.
It can be understood that, in the detection duration, the first pitch angle of the intelligent watch of a plurality of groups and the second pitch angle of the earphone are obtained, a plurality of simulation parameters are obtained based on the first pitch angle and the second pitch angle of a plurality of groups, a plurality of judgment values are obtained based on the simulation parameters, and the situation of a plurality of judgment values in the detection duration is judged, so that the method is more suitable for the use condition of the user using the terminal to play games, is more suitable for the situation of changeable gestures in the use process of the user using the terminal, improves the judgment precision of triggering prompts, adopts a mode of accumulating the judgment values, can also reduce the long-time occupation of the terminal calculation force in the game mode, reduces the burden of terminal processing data, and simultaneously avoids frequent triggering prompts and affecting the experience of the user using the terminal to play games.
The judging value shows the degree that the using distance of the terminal deviates from the normal using time when the user uses the terminal to play the game, and the safe using distance of the terminal is a range value when the user uses the terminal to play the game, and a certain error exists between the using condition reflected by the simulation parameter and the actual condition of the user using the terminal. Therefore, in step S341, a determination range for screening the determination value is set, which further improves the accuracy of determining the trigger prompt, and is also more suitable for the situation that the gesture is changeable when the user actually uses the terminal. Specifically, the determination range is affected by the calculation method of the simulation parameters and the numerical value of the comparison parameters, and can be set according to the actual design requirement.
The number of the use moments which do not accord with the terminal use safety distance in the detection duration can be obtained by screening out the number of the judgment values which exceed the judgment range, the situation that the user does not accord with the safety use distance when using the terminal in the detection duration can be obtained, whether the whole situation of the use distance of the user in the detection duration accords with the requirement can be obtained according to the comparison of the exceeding number and the preset number, and whether the distance for prompting the user to pay attention to the use of the terminal is determined.
In step S343, the manner of triggering the prompt to pay attention to the use distance of the terminal may be a voice prompt, a vibration prompt, or a pop-up prompt. The main body for triggering and prompting the user to pay attention to the using distance of the terminal can be the terminal, the intelligent watch or the earphone. The user can set the content of the prompt voice or the content of the popup prompt or the frequency of vibration when triggering the prompt according to the use habit of the user. For example, the user does not want to be disturbed when using the terminal game (such as terminal vibration or terminal popup window), the user can set the main body of the prompt as the intelligent watch, and the prompt mode is set to vibration, so when judging to trigger the prompt user to pay attention to the terminal use distance, the intelligent watch can vibrate, and further when prompting the user to pay attention to the terminal use distance, the game experience of the user is not affected.
Further, to optimize the experience of the user using the terminal to use the distance detection, the autonomy of the user using the detection function is improved, as shown in fig. 7, in a preferred embodiment, before the step S10 of detecting whether the terminal, the smart watch and the earphone are in a specific state, the method further includes:
s1, detecting whether a linkage detection mode of a terminal is started or not;
and S2, if the terminal is in the linkage detection mode, triggering and detecting whether the terminal, the intelligent watch and the earphone are in a specific state.
It can be understood that, based on the use experience and the use habit of the user, the trigger switch of the linkage detection mode is preferably arranged on the terminal, and the user determines whether to start the use distance detection when the user plays the game by confirming whether to start the corresponding linkage detection mode on the terminal. Of course, the switch of the linkage detection mode can also be arranged on the intelligent watch or the earphone according to the requirement.
In summary, the method for prompting the abnormal use distance of the terminal provided by the application can be better suitable for the use scene of the user for playing the game and entertainment by using the terminal, the pitch angles of the wrist and the head when the user plays the game and entertainment by using the terminal are respectively acquired by using the intelligent watch and the earphone, the distance of the user for using the terminal is judged by combining the pitch angles of the wrist and the head of the user, the accuracy of judging the use distance of the terminal can be improved, the use of an infrared sensor or a distance sensor in the terminal can be reduced under the use scene, the power consumption burden of the terminal under the game mode can be effectively reduced, the detection and prompting functions of the use distance safety of the terminal are realized, the detection precision of the use distance safety of the terminal is improved, and the electric quantity loss of the terminal is reduced.
Still another embodiment of the present application provides an electronic device, as shown in fig. 8, which includes a memory 10, a processor 20, and a method program instruction 30 for prompting a terminal usage distance abnormality stored in the memory 10 and capable of running on the processor 20, wherein the method program instruction 30 for prompting a terminal usage distance abnormality implements the foregoing method for prompting a terminal usage distance abnormality when executed by the processor 20.
In some embodiments, the processor may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip. The processor is typically used to control the overall operation of the electronic device. In this embodiment, the processor is configured to execute program codes or process data stored in a readable storage medium.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a readable storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method of the embodiments of the present application.
Still another embodiment of the present application provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of the above-described method for prompting a terminal to use a distance abnormality.
The foregoing is merely exemplary of the application and it will be appreciated by those skilled in the art that variations and modifications may be made without departing from the principles of the application, and it is intended that the application also be limited to the specific embodiments shown.

Claims (10)

1. The prompting method for the abnormal use distance of the terminal is characterized by comprising the following steps of:
detecting whether the terminal, the intelligent watch and the earphone are in a specific state or not;
if the terminal, the intelligent watch and the earphone are in a specific state, acquiring a first pitch angle of the intelligent watch and a second pitch angle of the earphone at the same moment;
based on the first pitch angle of the intelligent watch and the second pitch angle of the earphone, whether the user is reminded of paying attention to the using distance of the terminal is judged.
2. The method for prompting a terminal to use abnormal distance according to claim 1, wherein the step of detecting whether the terminal, the smart watch and the earphone are in a specific state comprises:
detecting a communication state among the terminal, the smart watch and the earphone;
if the terminal, the intelligent watch and the earphone are in a communication connection state, detecting whether the intelligent watch and the earphone are in a wearing state or not;
if the intelligent watch and the earphone are in wearing states, detecting whether the terminal enters a game mode or not;
if yes, the terminal, the intelligent watch and the earphone are all in a specific state.
3. The method for prompting the abnormal use distance of the terminal according to claim 1, wherein the step of obtaining the first pitch angle of the smart watch and the second pitch angle of the earphone at the same time comprises:
and periodically acquiring a first pitch angle of the intelligent watch and a second pitch angle of the earphone at the same moment in a preset detection time.
4. A method for prompting a terminal to use a distance abnormality according to claim 3, characterized in that said step of determining whether to remind a user of the terminal to use the distance comprises:
acquiring a plurality of first differences between the first pitch angle and a preset first normal angle, and acquiring a plurality of second differences between the second pitch angle and a preset second normal angle;
obtaining simulation parameters according to the first difference value and the second difference value at the same moment;
comparing the simulation parameters with preset comparison parameters to obtain a plurality of judgment values;
and judging whether to remind the user of paying attention to the terminal using distance or not based on the judging value.
5. The method for prompting a terminal to use a distance anomaly according to claim 4, wherein the step of obtaining the simulation parameter according to the first difference and the second difference at the same time comprises:
obtaining a first product of the first difference value and a first coefficient, and obtaining a second product of the second difference value and a second coefficient;
accumulating the first product and the second product to obtain an accumulated sum;
and dividing the accumulated sum by the sum of the first coefficient and the second coefficient to obtain a simulation parameter.
6. The method for prompting a terminal to use a distance abnormality according to claim 5, wherein the range of values of the first coefficient and the second coefficient is (0, 1), and the first coefficient is greater than the second coefficient.
7. The method for prompting a terminal to use a distance abnormality according to claim 4, wherein said step of determining whether to remind a user of a terminal to use a distance based on said determination value comprises:
acquiring the number of the exceeding of the judging value beyond a preset judging range;
judging whether the exceeding number is larger than or equal to a preset number;
if yes, prompting the user to pay attention to the using distance of the terminal.
8. The method for prompting a terminal to use abnormal distance according to claim 1, wherein the step of detecting whether the terminal, the smart watch and the earphone are in a specific state further comprises:
detecting whether a linkage detection mode of the terminal is started;
and if the terminal is in the linkage detection mode, triggering and detecting whether the terminal, the intelligent watch and the earphone are in a specific state.
9. An electronic device comprising a memory, a processor and a method program instruction for prompting a terminal use distance abnormality stored in the memory and operable on the processor, wherein the method program instruction for prompting a terminal use distance abnormality when executed by the processor implements the method for prompting a terminal use distance abnormality according to any one of claims 1 to 8.
10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, which when executed by a processor, implements the steps of the method for prompting a terminal to use a distance anomaly according to any one of claims 1 to 8.
CN202310919770.5A 2023-07-26 2023-07-26 Prompting method for abnormal terminal use distance, electronic equipment and readable medium Pending CN117193902A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310919770.5A CN117193902A (en) 2023-07-26 2023-07-26 Prompting method for abnormal terminal use distance, electronic equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310919770.5A CN117193902A (en) 2023-07-26 2023-07-26 Prompting method for abnormal terminal use distance, electronic equipment and readable medium

Publications (1)

Publication Number Publication Date
CN117193902A true CN117193902A (en) 2023-12-08

Family

ID=88985864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310919770.5A Pending CN117193902A (en) 2023-07-26 2023-07-26 Prompting method for abnormal terminal use distance, electronic equipment and readable medium

Country Status (1)

Country Link
CN (1) CN117193902A (en)

Similar Documents

Publication Publication Date Title
US10118488B1 (en) System and method to monitor and alert vehicle operator of impairment
US9959732B2 (en) Method and system for fall detection
CN107735747B (en) Information processing apparatus, display device, information processing method, and program
US9889374B2 (en) Method and apparatus for monitoring and calibrating performances of gamers
CN110151137B (en) Sleep state monitoring method, device, equipment and medium based on data fusion
CN111966224A (en) Eye protection mode prompting method and device, electronic equipment and storage medium
EP3067780A1 (en) Method for controlling terminal device, and wearable electronic device
US10376201B2 (en) Control method of information terminal device, body movement measuring device, and recording medium
US11832945B2 (en) Systems and methods for impairment baseline learning
CN113646027B (en) Electronic device and method for providing information for decompression by the electronic device
KR20200137460A (en) Electronic device for providing exercise information according to exercise environment
CN113495609A (en) Sleep state judgment method and system, wearable device and storage medium
CN117193902A (en) Prompting method for abnormal terminal use distance, electronic equipment and readable medium
CN115804588A (en) User posture monitoring system and method and intelligent wearable device
CN109151203B (en) Information prompting method and mobile terminal
CN110916675A (en) Head-mounted equipment and falling detection method and device thereof
CN110021144B (en) Tumble detection method, terminal device and storage medium
US11513597B2 (en) Human-machine interface system
CN112218196A (en) Earphone and earphone control method
JP6876923B2 (en) Information processing equipment, information processing methods and programs
CN110694278A (en) Game table combining method, game score calculating method and device and intelligent equipment
CN108536272A (en) A kind of method and mobile terminal of adjustment application program frame per second
CN113884101A (en) Step counting method of wearable device, wearable device and medium
CN113835804A (en) Information display method and electronic equipment
CN114061791A (en) Body temperature detection method, system and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination