Fatigue reminding method and apparatus, and electronic device
By detecting the head posture angle and duration, and calculating the cervical fatigue index based on user basic information, scientific fatigue reminders and multi-level reminders are provided, solving the problems of reminder time point adjustment and multi-level reminders in the existing technology, and improving reminders scientific and humane.
Patent Information
- Application Number
- PCT/CN2024/074363
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-15
- Filing Date
- 2024-01-29
- Publication Date
- 2024-11-21
AI Technical Summary
The existing fatigue reminder scheme cannot scientifically adjust the reminder time point based on different head posture angles and the user's cervical spine health status, and it cannot continuously monitor the user's head status for multi-level reminders.
By detecting the user's head posture angle and duration, combining the user's basic information to calculate the cervical fatigue index, scientific reminders are made according to different cervical fatigue index levels, and the user's head status is continuously monitored for multi-level reminders after the reminder.
It realizes scientific reminders based on different levels of cervical fatigue, adjusts the reminder time points, improves the scientificity and humanization of reminders, ensures that users receive timely reminders in real cervical fatigue, and gradually deepens the user's health status of cervical spine through multi-level reminders. consciousness.
Smart Images

Figure CN2024074363_21112024_PF_FP_ABST
Abstract
Description
Fatigue reminder method, device and electronic equipment
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on May 15, 2023, with application number 202310547758.6 and application name “Fatigue Reminder Method, Device and Electronic Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of smart terminal technology, and in particular to a fatigue reminder method, device, and electronic device. Background Art
[0003] With the widespread use of electronic devices in the communications age, the incidence of neck pain is rapidly increasing, and the trend is becoming younger. Long-term head-down work and desk work lead to neck muscle strain, exacerbating neck pain and cervical spondylosis. Real-time head posture detection and timely reminders have become key to preventing cervical pain and chronic strain. While detection methods are relatively mature, scientific and reasonable reminder solutions are still in the exploratory stage.
[0004] Summary of the Invention
[0005] The embodiments of the present application provide a fatigue reminder method, device and electronic device. The embodiments of the present application also provide a computer-readable storage medium to detect the user's head posture angle, and determine the user's cervical fatigue index based on the duration of the user's current head posture angle. The user can then be reminded of fatigue based on the user's cervical fatigue index, making the triggering of the fatigue reminder more scientific.
[0006] In the first aspect, an embodiment of the present application provides a fatigue reminder method, including: an electronic device detects the user's current head posture angle, obtains the duration of the user's current head posture angle; calculates the user's current cervical fatigue index based on calculation parameters; wherein the calculation parameters include the user's current head posture angle and the duration; and reminds the user of fatigue based on the cervical fatigue index.
[0007] In the above fatigue reminder method, the electronic device detects the user's current head posture angle, obtains the duration that the user is in the current head posture angle, and then calculates the user's current cervical fatigue index based on the calculation parameters, and gives the user a fatigue reminder based on the cervical fatigue index. In this way, the user's head posture angle can be detected, and the user's cervical fatigue index can be determined based on the duration that the user is in the current head posture angle. Then, the user can be given a fatigue reminder based on the user's cervical fatigue index, making the triggering of the fatigue reminder more scientific.
[0008] In one possible implementation, the electronic device includes a head-worn device worn by the user, and the head-worn device includes an inertial sensor; detecting the user's current head posture angle includes: obtaining inertial sensor data; and determining the user's current head posture angle based on the inertial sensor data.
[0009] In one possible implementation, detecting the user's current head posture angle includes: obtaining data of the user's head image taken by a camera; wherein the camera is set in the electronic device, or the camera is communicatively connected to the electronic device; and determining the user's current head posture angle based on the data of the user's head image.
[0010] In one possible implementation, the calculation parameters further include: basic information of the user; wherein the basic information of the user includes one or a combination of the following: age, gender, height and weight of the user.
[0011] In one possible implementation, detecting the user's current head posture angle includes: periodically detecting the user's current head posture angle; obtaining the duration of the user's current head posture angle includes: calculating the difference between the head posture angle detected in the current cycle and the head posture angle detected in the previous cycle; if the difference is less than or equal to a predetermined threshold, increasing the duration of the user's current head posture angle by the duration of the current cycle.
[0012] In one possible implementation, the fatigue reminder of the user based on the cervical fatigue index includes: when the cervical fatigue index is greater than or equal to the first fatigue threshold and less than the second fatigue threshold, reminding the user of mild cervical fatigue, and recording the first moment of the cervical mild fatigue reminder; when the cervical fatigue index is greater than or equal to the second fatigue threshold and less than the third fatigue threshold, and the time interval between the current moment and the first moment is greater than or equal to the predetermined time interval, reminding the user of moderate cervical fatigue, and recording the second moment of the cervical moderate fatigue reminder; when the cervical fatigue index is greater than or equal to the third fatigue threshold and less than the fourth fatigue threshold, and the time interval between the current moment and the second moment is greater than or equal to the predetermined time interval, reminding the user of severe cervical fatigue, and recording the third moment of the severe cervical fatigue reminder.
[0013] In one possible implementation, after the user is reminded of fatigue according to the cervical fatigue index, the method further includes: playing a voice or video guide of cervical relaxation movements in response to a triggering operation of the user.
[0014] In a second aspect, embodiments of the present application provide an electronic device having the functionality to implement the electronic device behaviors described in the first aspect and possible implementations of the first aspect. The functionality can be implemented through hardware or through hardware executing corresponding software implementations. The hardware or software includes one or more modules or units corresponding to the aforementioned functionality. For example, a detection module, a calculation module, and a reminder module.
[0015] In a third aspect, an embodiment of the present application provides an electronic device comprising: one or more processors; a memory; multiple applications; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the electronic device, enable the electronic device to execute the method provided in the first aspect.
[0016] It should be understood that the second and third aspects of the embodiments of the present application are consistent with the technical solutions of the first aspect of the embodiments of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated.
[0017] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method provided in the first aspect.
[0018] In a fifth aspect, an embodiment of the present application provides a computer program, which, when executed by a computer, is used to execute the method provided in the first aspect.
[0019] In one possible design, the program in the fifth aspect may be stored in whole or in part on a storage medium packaged with the processor, or may be stored in whole or in part on a memory not packaged with the processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] FIG1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
[0021] FIG2 is a flowchart of a fatigue reminder method provided by an embodiment of the present application;
[0022] FIG3 is a flowchart of a fatigue reminder method provided by another embodiment of the present application;
[0023] FIG4 is a flowchart of a fatigue reminder method provided by yet another embodiment of the present application;
[0024] FIG5 is a flowchart of a fatigue reminder method provided by another embodiment of the present application;
[0025] FIG6 is a flowchart of a fatigue reminder method provided by another embodiment of the present application;
[0026] FIG7 is a schematic structural diagram of an electronic device provided in another embodiment of the present application;
[0027] FIG8 is a schematic structural diagram of an electronic device provided in yet another embodiment of the present application. DETAILED DESCRIPTION
[0028] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.
[0029] Existing head-down reminder or cervical spine reminder solutions generally obtain the real-time posture angle of the head through a head-mounted device or an external camera, and perform a threshold judgment on the angle of the above posture angle. If it exceeds the threshold, it is judged as head-down. If it does not exceed the threshold, it is judged as not head-down. If the cumulative time of head-down exceeds the set time, a reminder will be issued. After the reminder, it will be reset and the head-down time will be accumulated again.
[0030] However, the above solution has the following shortcomings:
[0031] 1) It does not consider the different effects of different head-down angles on cervical fatigue, and only uses a single threshold to divide head-down or non-head-down;
[0032] 2) The cumulative duration of looking down is fixed, either by system default or user-selected. The cumulative duration is the same at different looking down angles.
[0033] 3) The reminder mechanism is exactly the same for all users, without considering the different current cervical spine health conditions of different users;
[0034] 4) After the reminder, the cumulative time of looking down is reset, and no judgment is made on whether the user relaxes afterwards.
[0035] In summary, the head-down reminder or cervical spine reminder solutions provided in the existing related technologies cannot provide scientific reminders when the user actually experiences cervical spine fatigue.
[0036] Based on the above problems, the embodiment of the present application provides a fatigue reminder method. Through scientific experiments, a solution is provided to determine the user's cervical fatigue level based on the time and angle of head bowing, and the user's personal basic indicators, and to provide timely reminders. In the fatigue reminder method provided in the embodiment of the present application, the triggering of the fatigue reminder takes into account the different degrees of accumulated cervical fatigue at different angles, and the time point of the fatigue reminder can be adjusted; in addition, the reminder triggering time point can be adjusted for people with different cervical health conditions; and after the fatigue reminder is issued, the user's head status can be continuously monitored to provide multi-level reminders.
[0037] The fatigue reminder method provided in the embodiments of the present application can be applied to electronic devices, wherein the above-mentioned electronic devices can be smart phones, smart TVs, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks or personal digital assistants (PDAs) and other devices; wherein the above-mentioned wearable devices can include head-worn devices equipped with inertial measurement units (IMUs), such as smart helmets, smart glasses or smart headphones, etc. The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
[0038] Exemplarily, Figure 1 is a structural diagram of an electronic device provided by an embodiment of the present application. As shown in Figure 1, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc. In addition, when the electronic device 100 is a head-worn device, the sensor module 180 may also include an IMU 180H.
[0039] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0040] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0041] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0042] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0043] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0044] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (DCL). In some embodiments, the processor 110 may include multiple I2C busses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, and the like via different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K via the I2C interface, enabling communication between the processor 110 and the touch sensor 180K via the I2C bus interface, thereby implementing the touch function of the electronic device 100.
[0045] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.
[0046] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0047] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface, enabling the function of playing music through Bluetooth headphones.
[0048] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display 194 and the camera 193. MIPI interfaces include the camera serial interface (CSI) and the display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the camera function of the electronic device 100. The processor 110 and the display 194 communicate via the DSI interface to implement the display function of the electronic device 100.
[0049] The GPIO interface can be configured via software. The GPIO interface can be configured as either a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, display 194, wireless communication module 160, audio module 170, sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0050] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.
[0051] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0052] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device 100 via the power management module 141.
[0053] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0054] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0055] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0056] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0057] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0058] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0059] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-CDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0060] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0061] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.
[0062] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0063] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0064] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0065] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0066] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0067] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.
[0068] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0069] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.
[0070] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0071] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0072] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0073] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0074] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.
[0075] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0076] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be located on display screen 194. There are many types of pressure sensors 180A, such as resistive, inductive, and capacitive. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When force acts on pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the intensity of the pressure based on this change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the touch intensity based on pressure sensor 180A. Electronic device 100 can also calculate the touch location based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch location but with different touch intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, a command to view short messages is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to a short message application icon, a command to create a new short message is executed.
[0077] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.
[0078] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude using the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
[0079] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover based on the magnetic sensor 180D. Based on the detected opening and closing status of the case or flip cover, features such as automatic unlocking of the flip cover can be configured.
[0080] Accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in all directions (generally three axes). It can also detect the magnitude and direction of gravity when electronic device 100 is stationary. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.
[0081] The distance sensor 180F is used to measure distance. The electronic device 100 can measure distance using infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure distance to achieve fast focusing.
[0082] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user is holding the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
[0083] Ambient light sensor 180L is used to sense ambient light brightness. Electronic device 100 can adaptively adjust the brightness of display screen 194 based on the perceived ambient light. Ambient light sensor 180L can also be used to automatically adjust white balance when taking photos. Ambient light sensor 180L can also work with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent accidental touches.
[0084] Inertial measurement unit (IMU) 180H, also known as an inertial sensor, is a sensor used to detect and measure acceleration and rotational motion. In this embodiment of the present application, after processor 110 obtains data detected by IMU 180H (hereinafter referred to as inertial sensor data), it can detect the user's current head posture angle based on the inertial sensor data.
[0085] Used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc.
[0086] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to prevent the electronic device 100 from shutting down abnormally due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to prevent abnormal shutdown due to low temperature.
[0087] The touch sensor 180K is also called a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a location different from that of the display screen 194.
[0088] The bone conduction sensor 180M can obtain vibration signals. In some embodiments, the bone conduction sensor 180M can obtain vibration signals from the vibrating bones of the human body. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure pulse signals. In some embodiments, the bone conduction sensor 180M can also be set in headphones to form bone conduction headphones. The audio module 170 can parse out voice signals based on the vibration signals of the vibrating bones of the human body obtained by the bone conduction sensor 180M to implement voice functions. The application processor can parse heart rate information based on the blood pressure pulse signals obtained by the bone conduction sensor 180M to implement heart rate detection functions.
[0089] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0090] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0091] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0092] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting it into or removing it from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0093] For ease of understanding, the following embodiments of this application will take an electronic device having the structure shown in Figure 1 as an example, and combine the accompanying drawings and application scenarios to specifically explain the fatigue reminder method provided in the embodiments of this application.
[0094] FIG2 is a flow chart of a fatigue reminder method provided by one embodiment of the present application. As shown in FIG2 , the fatigue reminder method may include:
[0095] In step 201 , the electronic device 100 detects the current head posture angle of the user and obtains the duration of the user being in the current head posture angle.
[0096] In one implementation, the electronic device 100 may be a head-worn device worn by a user, and the head-worn device may include an inertial sensor 180H. Thus, detecting the user's current head posture angle may include: the electronic device 100 acquiring inertial sensor data; and determining the user's current head posture angle based on the inertial sensor data. That is, in this implementation, when the electronic device 100 is a head-worn device worn by a user and includes an inertial sensor 180H, the electronic device 100 may acquire data detected by the inertial sensor 180H, and then determine the user's current head posture angle based on the data detected by the inertial sensor 180H.
[0097] In another implementation, detecting the user's current head posture angle may include: the electronic device 100 obtaining data of an image of the user's head captured by a camera; and determining the user's current head posture angle based on the data of the user's head image. The camera may be disposed in the electronic device 100, or the camera may be communicatively connected to the electronic device 100. For example, when the electronic device 100 is a smartphone and the user is indoors, a camera in the user's environment may capture an image of the user's head. The smartphone then communicates with the camera to obtain data of the image of the user's head captured by the camera, and then detects the user's current head posture angle based on the data of the image of the user's head. Alternatively, when the electronic device 100 is a smart TV and the user's head is within the capturing range of the smart TV's camera, the smart TV's camera may capture an image of the user's head. The smart TV then obtains data of the image of the user's head captured by the camera, and then determines the user's current head posture angle based on the data of the image of the user's head.
[0098] In addition, it should be noted that, in this implementation, the data of the user's head image captured by the camera may include picture data and / or video data.
[0099] In step 202, the electronic device 100 calculates the current cervical fatigue index of the user according to the calculation parameters; wherein the calculation parameters include the current head posture angle of the user and the duration.
[0100] Among them, the cervical fatigue index is measured through scientific experiments combining the user's subjective feelings with objective muscle (erector spinae) electromyographic indicators, and is used to measure the user's cervical fatigue level.
[0101] In addition, the calculation parameters may also include basic information of the user, wherein the basic information of the user may include one or a combination of the following: age, gender, height, and weight of the user. Of course, the basic information of the user may also include other information, such as the user's place of residence, etc. This embodiment does not limit the information included in the basic information of the user.
[0102] That is to say, in this embodiment, the electronic device 100 can calculate the user's current cervical fatigue index based on the user's current head posture angle and the duration that the user is in the current head posture angle; or, the electronic device 100 can calculate the user's current cervical fatigue index based on the user's current head posture angle, the duration that the user is in the current head posture angle, and the user's basic information.
[0103] In specific implementation, the electronic device 100 can calculate the user's current cervical fatigue index based on the above calculation parameters using a regression model. In simple terms, the electronic device 100 inputs the above calculation parameters into the regression model, performs calculations using the regression model, and finally obtains the cervical fatigue index output by the regression model.
[0104] In step 203 , the electronic device 100 provides a fatigue reminder to the user according to the cervical vertebra fatigue index.
[0105] In the above fatigue reminder method, the electronic device 100 detects the user's current head posture angle, obtains the duration that the user is in the current head posture angle, and then calculates the user's current cervical fatigue index based on the calculation parameters, and gives the user a fatigue reminder based on the cervical fatigue index. In this way, the user's head posture angle can be detected, and the user's cervical fatigue index can be determined based on the duration that the user is in the current head posture angle. Then, the user can be given a fatigue reminder based on the user's cervical fatigue index, making the triggering of the fatigue reminder more scientific.
[0106] FIG3 is a flow chart of a fatigue reminder method provided by another embodiment of the present application. As shown in FIG3 , in the embodiment shown in FIG2 of the present application, step 201 may include:
[0107] Step 301: Periodically detect the user's current head posture angle.
[0108] Step 302: Calculate the difference between the head posture angle detected in the current cycle and the head posture angle detected in the previous cycle.
[0109] Step 303: If the difference is less than or equal to a predetermined threshold, the duration of the user's current head posture angle is increased by the duration of the current cycle.
[0110] The predetermined threshold may be set during specific implementation according to system performance and / or implementation requirements. This embodiment does not limit the size of the predetermined threshold. For example, the predetermined threshold may be 5.
[0111] FIG4 is a flow chart of a fatigue reminder method provided by another embodiment of the present application. As shown in FIG4 , in the embodiment shown in FIG2 of the present application, step 203 may include:
[0112] Step 401: When the cervical vertebra fatigue index is greater than or equal to the first fatigue threshold and less than the second fatigue threshold, the user is reminded of mild cervical vertebra fatigue, and the first moment of the reminder is recorded.
[0113] Step 402: When the cervical fatigue index is greater than or equal to the second fatigue threshold and less than the third fatigue threshold, and the time interval between the current moment and the first moment is greater than or equal to the predetermined time interval, the user is reminded of moderate cervical fatigue, and the second moment of the moderate cervical fatigue reminder is recorded.
[0114] Step 403: When the cervical fatigue index is greater than or equal to the third fatigue threshold and less than the fourth fatigue threshold, and the time interval between the current moment and the second moment is greater than or equal to the predetermined time interval, the user is reminded of severe cervical fatigue, and the third moment of the severe cervical fatigue reminder is recorded.
[0115] The values of the first, second, and third fatigue thresholds can be set during implementation based on system performance and / or implementation requirements. This embodiment does not impose any restrictions on the values of the first, second, and third fatigue thresholds. Similarly, the value of the predetermined time interval can be set during implementation based on system performance and / or implementation requirements. This embodiment does not impose any restrictions on the value of the predetermined time interval.
[0116] In this embodiment, the cervical fatigue index is used as the basis for triggering the reminder. The triggering of the fatigue reminder is more scientific, more humane, and more in line with the user's perception. Moreover, after the reminder is triggered, it continuously monitors whether the user is relaxing, and then determines whether to trigger a higher-level reminder based on the fatigue index, thereby realizing multi-level reminders, gradually deepening, and more explicitly reminding the user of the current health status of the cervical spine.
[0117] FIG5 is a flow chart of a fatigue reminder method provided by another embodiment of the present application. As shown in FIG5 , in the embodiment shown in FIG2 of the present application, after step 203, the following steps may also be included:
[0118] Step 501: In response to a user's triggering operation, the electronic device 100 plays a voice or video guide of a cervical spine relaxation exercise.
[0119] The triggering operation may be pre-set and may include one or a combination of the following: double-clicking the head-worn device, holding the head up for a predetermined time, nodding continuously for a predetermined number of times, and voice inquiry. Of course, the triggering operation may also include other forms of operation, which are not limited in this embodiment. The predetermined time and number of times may be set arbitrarily during implementation. This embodiment does not limit the predetermined time and number of times. For example, the predetermined time may be 2 seconds, and the predetermined number of times may be 2.
[0120] In this embodiment, in response to the user's triggering operation, the electronic device 100 can play voice or video guidance of cervical relaxation movements, so that the user can get relaxation guidance in time and relieve cervical fatigue.
[0121] Furthermore, in this embodiment, after step 501, the electronic device 100 may reset the duration of the user's current head posture angle and return to continue executing step 201 and subsequent steps.
[0122] FIG6 is a flow chart of a fatigue reminder method provided in yet another embodiment of the present application. As shown in FIG6 , the fatigue reminder method may include:
[0123] In step 601, the electronic device 100 detects the current head posture angle of the user and obtains the duration of the user being in the current head posture angle.
[0124] Specifically, when the electronic device 100 is a head-worn device worn by the user and the above-mentioned head-worn device includes an inertial sensor 180H, the electronic device 100 can obtain inertial sensor data; determine the user's current head posture angle based on the above-mentioned inertial sensor data; or, the electronic device 100 can obtain data of the user's head image taken by the camera; determine the user's current head posture angle based on the above-mentioned user's head image data.
[0125] In step 602, the electronic device 100 calculates the user's current cervical vertebra fatigue index based on the user's current head posture angle and the above-mentioned duration. In addition, when calculating the cervical vertebra fatigue index, the electronic device 100 may also combine the user's basic information in addition to the user's current head posture angle and the above-mentioned duration.
[0126] Step 603: The electronic device reminds the user of fatigue according to the cervical fatigue index.
[0127] Furthermore, after performing the fatigue reminder, the electronic device 100 returns to step 601 and continues to detect the user's current head posture angle.
[0128] It is understood that some or all of the steps or operations in the above embodiments are merely examples, and the present application embodiments may also perform other operations or variations of various operations. In addition, the various steps may be performed in a different order than those presented in the above embodiments, and it is possible that not all of the operations in the above embodiments need to be performed.
[0129] It is understandable that, in order to realize the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed in this application, this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of this application.
[0130] This embodiment can divide the electronic device into functional modules based on the above-mentioned method embodiment. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative and is only a logical functional division. In actual implementation, other division methods may be used.
[0131] FIG7 is a schematic diagram of the structure of an electronic device provided in another embodiment of the present application. In the case where each functional module is divided according to each function, FIG7 shows a possible schematic diagram of the composition of an electronic device 700 involved in the above embodiment. As shown in FIG7 , the electronic device 700 may include: a detection module 701, a calculation module 702, and a reminder module 703;
[0132] The detection module 701 is used to detect the user's current head posture angle and obtain the duration of the user's current head posture angle;
[0133] A calculation module 702 is configured to calculate the user's current cervical fatigue index based on calculation parameters, wherein the calculation parameters include the user's current head posture angle and the duration;
[0134] The reminder module 703 is used to remind the user of fatigue according to the cervical fatigue index.
[0135] It should be noted that all relevant contents of each step involved in the method embodiment shown in Figure 2 of the present application can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0136] The electronic device 700 provided in this embodiment is used to execute the fatigue reminder method provided in the embodiment shown in FIG. 2 of the present application, and thus can achieve the same effect as the above method.
[0137] FIG8 is a schematic structural diagram of an electronic device provided in yet another embodiment of the present application. Compared with the electronic device shown in FIG7 , the difference is that, in one implementation, the electronic device 700 shown in FIG8 may be a head-worn device worn by a user, and the head-worn device includes an inertial sensor.
[0138] In this way, the detection module 701 is specifically used to obtain inertial sensor data and determine the user's current head posture angle based on the inertial sensor data.
[0139] In another implementation, the detection module 701 is specifically used to obtain data of the user's head image taken by the camera, and determine the user's current head posture angle based on the above-mentioned user's head image data; wherein the above-mentioned camera is set in the electronic device 700, or the above-mentioned camera is communicatively connected to the electronic device 700.
[0140] In this embodiment, the above calculation parameters may further include: basic information of the user; wherein the above basic information of the user includes one or a combination of the following: age, gender, height and weight of the user.
[0141] In this embodiment, the detection module 701 is specifically used to periodically detect the user's current head posture angle, calculate the difference between the head posture angle detected in the current cycle and the head posture angle detected in the previous cycle, and if the above difference is less than or equal to a predetermined threshold, the duration that the user is in the current head posture angle is increased by the duration of the current cycle.
[0142] In this embodiment, the reminder module 703 is specifically used to remind the user of mild cervical fatigue when the above-mentioned cervical fatigue index is greater than or equal to the first fatigue threshold and less than the second fatigue threshold, and record the first moment of the cervical mild fatigue reminder; when the above-mentioned cervical fatigue index is greater than or equal to the second fatigue threshold and less than the third fatigue threshold, and the time interval between the current moment and the first moment is greater than or equal to the predetermined time interval, remind the user of moderate cervical fatigue, and record the second moment of the cervical moderate fatigue reminder; when the above-mentioned cervical fatigue index is greater than or equal to the third fatigue threshold and less than the fourth fatigue threshold, and the time interval between the current moment and the second moment is greater than or equal to the predetermined time interval, remind the user of severe cervical fatigue, and record the third moment of the severe cervical fatigue reminder.
[0143] Furthermore, the electronic device 700 may further include: a playing module 704;
[0144] The playing module 704 is used to play the voice or video guidance of the cervical vertebra relaxation movement in response to the user's triggering operation after the reminder module 703 reminds the user of fatigue according to the above cervical vertebra fatigue index.
[0145] It should be understood that the electronic device 700 may correspond to the electronic device 100 shown in FIG1 . The function of the detection module 701 may be implemented by the processor 110 in the electronic device 100 shown in FIG1 in combination with the IMU 180H or the camera 193 , and the functions of the calculation module 702 , the reminder module 703 , and the playback module 704 may be implemented by the processor 110 and the audio module 170 in the electronic device 100 shown in FIG1 .
[0146] In the case of adopting an integrated unit, the electronic device 700 may include a processing module, a storage module, and a communication module.
[0147] The processing module can be used to control and manage the actions of the electronic device 700. For example, it can be used to support the electronic device 700 in executing the steps performed by the detection module 701, calculation module 702, reminder module 703, and playback module 704. The storage module can be used to support the electronic device 700 in storing program code and data. The communication module can be used to support communication between the electronic device 700 and other devices.
[0148] Among them, the processing module can be a processor or a controller, which can implement or execute the various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and so on. The storage module can be a memory. The communication module can specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip and / or a Wi-Fi chip.
[0149] In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device 700 involved in this embodiment may be a device having the structure shown in FIG. 1 .
[0150] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer-readable storage medium is run on a computer, the computer executes the method provided in the embodiments shown in Figures 2 to 6 of the present application.
[0151] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is run on a computer, the computer executes the method provided in the embodiments shown in Figures 2 to 6 of the present application.
[0152] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c can be single or multiple.
[0153] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented using a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0154] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0155] In the several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0156] The above description is merely a specific embodiment of the present application. Any person skilled in the art may easily conceive of variations or substitutions within the technical scope disclosed in this application, and such variations or substitutions shall be within the scope of protection of this application. The scope of protection of this application shall be subject to the scope of protection of the claims.
Claims
1. A fatigue reminder method, characterized in that: include: The electronic device detects the current head posture angle of the user and obtains the duration of the user being in the current head posture angle; Calculating the user's current cervical fatigue index according to the calculation parameters; wherein the calculation parameters include the user's current head posture angle and the duration; The user is reminded of fatigue according to the cervical fatigue index.
2. The method according to claim 1, characterized in that The electronic device includes a head-mounted device worn by the user, and the head-mounted device includes an inertial sensor; Detecting the user's current head posture angle includes: Get inertial sensor data; The user's current head posture angle is determined based on the inertial sensor data.
3. The method according to claim 1, characterized in that Detecting the user's current head posture angle includes: Acquire data of a user's head image captured by a camera; wherein the camera is disposed in the electronic device, or the camera is communicatively connected with the electronic device; The user's current head posture angle is determined based on the data of the user's head image.
4. The method according to claim 1, characterized in that: The calculation parameters also include: basic information of the user; wherein the basic information of the user includes one or a combination of the following: age, gender, height and weight of the user.
5. The method according to claim 1, characterized in that Detecting the user's current head posture angle includes: Periodically detect the user's current head posture angle; The obtaining of the duration of the user being in the current head posture angle comprises: Calculate the difference between the head posture angle detected in the current cycle and the head posture angle detected in the previous cycle; If the difference is less than or equal to a predetermined threshold, the duration of the user's current head posture angle is increased by the duration of the current cycle.
6. The method according to any one of claims 1 to 5, characterized in that: The providing fatigue reminder to the user according to the cervical fatigue index comprises: When the cervical fatigue index is greater than or equal to a first fatigue threshold and less than a second fatigue threshold, the user is reminded of mild cervical fatigue, and the first moment of the reminder of mild cervical fatigue is recorded; When the cervical fatigue index is greater than or equal to a second fatigue threshold and less than a third fatigue threshold, and the time interval between the current moment and the first moment is greater than or equal to a predetermined time interval, the user is reminded of moderate cervical fatigue, and a second moment of the reminder of moderate cervical fatigue is recorded; When the cervical fatigue index is greater than or equal to the third fatigue threshold and less than the fourth fatigue threshold, and the time interval between the current moment and the second moment is greater than or equal to the predetermined time interval, the user is reminded of severe cervical fatigue, and the third moment of the severe cervical fatigue reminder is recorded.
7. The method according to any one of claims 1 to 5, characterized in that: After the user is reminded of fatigue according to the cervical fatigue index, the method further includes: In response to the user's triggering operation, voice or video guidance of cervical vertebra relaxation movements is played.
8. An electronic device, characterized in that: include: A detection module, used to detect the current head posture angle of the user and obtain the duration of the user being in the current head posture angle; A calculation module, used to calculate the current cervical fatigue index of the user according to calculation parameters; wherein the calculation parameters include the current head posture angle of the user and the duration; A reminder module is used to remind the user of fatigue according to the cervical fatigue index.
9. An electronic device, characterized in that: include: one or more processors; Memory; Multiple applications; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the electronic device, enable the electronic device to perform the method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Fatigue reminding method and device and electronic equipment
CN118968704A
Intelligent lamp and intelligent reminding method thereof
CN103423657A
User posture monitoring method and wearable equipment
CN106510719A
Cervical vertebra movement prompting method and cervical vertebra movement detecting system
CN108577852A
Reminding method for user eye protection posture correction
CN109976520A
