WO2021238460A1 - Risk pre-warning method, risk behavior information acquisition method, and electronic device - Google Patents

Risk pre-warning method, risk behavior information acquisition method, and electronic device Download PDF

Info

Publication number
WO2021238460A1
WO2021238460A1 PCT/CN2021/086674 CN2021086674W WO2021238460A1 WO 2021238460 A1 WO2021238460 A1 WO 2021238460A1 CN 2021086674 W CN2021086674 W CN 2021086674W WO 2021238460 A1 WO2021238460 A1 WO 2021238460A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
target user
risk
behavior
disease
Prior art date
Application number
PCT/CN2021/086674
Other languages
French (fr)
Chinese (zh)
Inventor
邱凌志
黄曦
李宏宝
吴宙真
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021238460A1 publication Critical patent/WO2021238460A1/en

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/30ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for calculating health indices; for individual health risk assessment

Definitions

  • This application relates to the technical field of smart terminals, in particular to risk early warning methods, risk behavior information acquisition methods, and electronic equipment.
  • wearable devices With the application of wearable devices in the health field, monitoring functions of health-related factors such as sleep, exercise, and heart rate have become important functions of wearable devices and are used by users in their daily lives. At the same time, wearable devices are constantly innovating and making major breakthroughs in blood pressure detection, heart health, and vascular health. For example, wearable devices can already achieve primary screening of atrial fibrillation/premature beats and measurement of arterial elasticity for users. The application of these wearable devices in the health field helps users better understand their own health conditions, thereby realizing active health management and improving the living standards of the whole people.
  • This application provides a risk early warning method, a risk behavior information acquisition method, and an electronic device, which can provide early warning of factors that induce a user to develop a specified disease, and assist the user in health management.
  • an embodiment of the present application provides a risk early warning method applied to electronic equipment, including:
  • the behavior information of the target user is used to describe the behavior of the target user;
  • the designated disease information is used to describe the diseases that the target user has occurred, and the risk behavior information is used to describe the behavior that has the risk of inducing the target user to develop the disease;
  • the target user's behavior information matches the risk behavior information corresponding to the specified disease information, the target user is shown the early warning information for the specified disease information.
  • the target user’s behavior information is identified based on the target user’s behavior information for early warning without intervention and no perception, so as to remind the target user to strengthen the control of his own risk behavior, and better Realize active health management and avoid the occurrence of disease events.
  • risk behavior information has corresponding risk parameters; displaying early warning information for specified disease information to target users, including:
  • the target user is shown early warning information for the specified disease information.
  • the risk parameters include risk levels; according to the risk parameters corresponding to the risk behavior information matching the target user's behavior information, the target user is shown early warning information for the specified disease information, including:
  • the target user is shown the early warning information for the specified disease information according to the early warning strategy corresponding to the risk level.
  • the risk parameter includes a risk value; according to the risk parameter corresponding to the risk behavior information that matches the target user's behavior information, the target user is shown early warning information for the specified disease information, including:
  • the target users are shown early warning information for the specified disease information.
  • obtaining behavior information of the target user includes:
  • it also includes:
  • the method for obtaining risk behavior information corresponding to the specified disease information includes:
  • risk behavior information that has an association relationship with the specified disease information of the target user is determined.
  • it also includes:
  • the risk parameter corresponding to the risk behavior information that has an association relationship with the designated disease information of the target user is determined.
  • obtaining historical occurrence information corresponding to the specified disease information of the target user within a specified time range includes:
  • obtaining historical behavior information of the target user within a specified time range includes:
  • an embodiment of the present application provides a method for obtaining risk behavior information, which is applied to electronic equipment, and includes:
  • risk behavior information that has an association relationship with the specified disease information of the target user is determined.
  • This method automatically analyzes and recognizes that the target user’s specified disease occurrence risk is relatively high based on the target user’s historical behavior information and the target user’s specified disease information without the target user’s intervention or perception. Therefore, the risk behavior information corresponding to the target user’s specified disease information is determined based on the target user’s own individual situation, which is closer to the target user’s own individual situation, breaking the universality of disease monitoring in the prior art, and achieving Early warning of diseases based on individual physical differences.
  • the method further includes:
  • the risk parameter corresponding to the risk behavior information that has an association relationship with the designated disease information of the target user is determined.
  • obtaining historical occurrence information corresponding to the specified disease information of the target user within a specified time range includes:
  • obtaining historical behavior information of the target user within a specified time range includes:
  • the method before obtaining the historical occurrence information corresponding to the specified disease information of the target user, the method further includes:
  • the designated disease information of the target user is used to record the disease that the target user has occurred.
  • obtaining the specified disease information of the target user includes:
  • judging that the historical occurrence information satisfies preset conditions includes:
  • the occurrence frequency information corresponding to the specified disease information in the historical occurrence information reaches the preset frequency threshold, and the occurrence frequency information is used to record the occurrence frequency of the specified disease in the specified disease information record.
  • an electronic device including:
  • One or more processors comprising; memory; and one or more computer programs, where one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when the instructions are executed by the device, cause the device to execute the first Any one of the methods on the one hand.
  • an electronic device including:
  • One or more processors comprising; memory; and one or more computer programs, where one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when the instructions are executed by the device, cause the device to execute the first Any one of the two methods.
  • an embodiment of the present application provides a computer-readable storage medium with a computer program stored in the computer-readable storage medium, and when it runs on a computer, the computer executes the method of any one of the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium in which a computer program is stored, and when it runs on a computer, the computer executes any of the methods in the second aspect.
  • the present application provides a computer program, which is used to execute the method of the first aspect or the second aspect when the computer program is executed by a computer.
  • the program in the seventh aspect may be stored in whole or in part on a storage medium packaged with the processor, or may be stored in part or in a memory not packaged with the processor.
  • FIG. 1 is a schematic diagram of the structure of an electronic device according to an embodiment of the application.
  • FIG. 2 is a block diagram of the software structure of an electronic device according to an embodiment of the application.
  • FIG. 3 is an example diagram of an implementation manner for the mobile phone to obtain the daily behavior of the target user according to the embodiment of the application;
  • FIG. 4 is an example diagram of a setting interface for the historical occurrence information of a specified disease in an embodiment of the application
  • Figure 5A is a schematic diagram of a possible UI interface of the application risk early warning method
  • FIG. 5B is a flowchart of an embodiment of the risk early warning method of the application.
  • FIG. 6A is a schematic diagram of another possible UI interface of the risk early warning method of this application.
  • FIG. 6B is a flowchart of another embodiment of the risk early warning method of the application.
  • FIG. 7A is a schematic diagram of another possible UI interface of the risk early warning method of this application.
  • FIG. 7B is a flowchart of another embodiment of the risk early warning method of the application.
  • FIG. 8 is a flowchart of another embodiment of the risk early warning method of the application.
  • FIG. 9 is a flowchart of an embodiment of a method for obtaining risk behavior information according to the application.
  • FIG. 10 is a structural diagram of an embodiment of the risk early warning device of this application.
  • Fig. 11 is a structural diagram of an embodiment of an apparatus for acquiring risk behavior information according to the application.
  • wearable devices already have functions for monitoring health-related factors such as sleep, exercise, and heart rate.
  • electronic devices used by users such as mobile phones also have functions such as sports health apps, smart scene mode apps, and heart health.
  • App and other functions to monitor user behavior and disease occurrence information can only monitor specific health factors such as the user's heart rate, and cannot identify user behaviors that adversely affect the specified disease of the target user for a target user.
  • a health-related App may pop up a questionnaire, and analyze the user’s daily behavior and habits according to the questionnaire filled out by the user. And combined with the user's health-related measurement results to further analyze the risk factors that lead to the user's disease events.
  • the content of the questionnaire is designed based on the conventional medical risk factors of related diseases. It has universal applicability in order to be able to face more users.
  • the risk factors of the user’s disease events obtained from the analysis are only the disease events in medicine. The above-mentioned conventional risk factors cannot meet the individual needs of a certain user.
  • the embodiment of the present application proposes a risk early warning method and electronic device, which can automatically analyze and identify the risk behavior of the target user that induces a disease event in the target user’s behavior, and then give an early warning to the user when the target user engages in the risk behavior again , To assist users in active health management.
  • the embodiment of the present application also proposes a method and electronic device for acquiring risk behavior information, which can automatically analyze and identify the risk behavior of the target user that induces the occurrence of a disease event in the target user's behavior, so as to provide an early warning basis for the risk early warning method.
  • the risk early warning method and risk behavior information acquisition method can be applied to electronic devices, such as mobile phones, tablet computers (Pad, portable android devices), personal computers (PC, person computer), wearable devices such as smart glasses , Smart watches, smart screens, Intelligent Connected Vehicles (Intelligent Connected Vehicle; hereinafter referred to as ICV), smart/intelligent cars (smart/intelligent cars) or in-vehicle equipment, etc.
  • electronic devices such as mobile phones, tablet computers (Pad, portable android devices), personal computers (PC, person computer), wearable devices such as smart glasses , Smart watches, smart screens, Intelligent Connected Vehicles (Intelligent Connected Vehicle; hereinafter referred to as ICV), smart/intelligent cars (smart/intelligent cars) or in-vehicle equipment, etc.
  • ICV Intelligent Connected Vehicles
  • smart/intelligent cars smart/intelligent cars
  • in-vehicle equipment etc.
  • FIG. 1 shows a schematic structural diagram of an electronic device 100.
  • 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, and an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM Subscriber identification module
  • 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 light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces.
  • the interface can include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the I2C interface is a bidirectional synchronous serial bus, which includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple sets of I2C buses.
  • the processor 110 may couple the touch sensor 180K, charger, flash, camera 193, etc., respectively through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to implement the touch function of the electronic device 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices.
  • the MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
  • the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device 100.
  • the processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the electronic device 100.
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones.
  • the interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely a schematic description, and does not constitute a structural limitation of the electronic device 100.
  • the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, the power management module 141 can also supply power to the electronic device.
  • 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 supplies power to the processor 110, the internal memory 121, the display screen 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 times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the 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.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like 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), and the like.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and 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.
  • the low-frequency baseband signal is processed by the baseband processor and then 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.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating 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 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), and the quasi-zenith satellite system (quasi). -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, connected to the display 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations and is used for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the electronic device 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include one or N cameras 193, and N is a positive integer greater than one.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they 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 energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, and so on.
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • the NPU can realize applications such as intelligent cognition of the electronic device 100, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • the external memory interface 120 may 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 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100.
  • 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 magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • 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.
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called a "handset" is used to convert audio electrical signals into sound signals.
  • the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194. Pressure sensor 180A
  • the capacitive pressure sensor may include at least two parallel plates with conductive materials.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have different touch operation intensities can correspond to different operation instructions.
  • the gyro sensor 180B may be used to determine the movement posture of the electronic device 100.
  • the angular velocity of the electronic device 100 around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • 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 holster.
  • the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and be used in applications such as horizontal and vertical screen switching, pedometers and so on.
  • the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • 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 to the outside 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 holds 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 the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the 180L ambient light sensor can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the temperature sensor 180J is used to detect temperature.
  • 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 value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch device”.
  • the touch sensor 180K may be provided on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor may analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • touch operations that act on different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
  • the electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards 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 call and data communication.
  • the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present invention takes an Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 by way of example.
  • FIG. 2 is a software structure block diagram of an electronic device 100 according to an embodiment of the present invention.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the data may include video, image, audio, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, and so on.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window.
  • prompt text information in the status bar sound a prompt sound, electronic device vibration, flashing indicator light, etc.
  • Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a graphics engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • the electronic device that executes the above method for obtaining risk behavior information is a mobile phone as an example for description. It should be noted that the mobile phone in the following embodiments can be extended to other electronic devices, which will not be repeated here.
  • the target user refers to the user for whom the method of the embodiment of the present application performs risk behavior information acquisition of the specified disease and the risk early warning, and is generally the owner of the electronic device that executes the above method of the embodiment of the present application.
  • targeted and personalized risk behavior information acquisition and risk warning can be performed for target users, which is closer to the target user's own individual situation, breaks the universality of disease monitoring in the prior art, and realizes that according to the individual's body Differences in disease warning.
  • the specified disease of the target user is a disease that has occurred in the target user.
  • the ways to obtain information about the specified disease of the target user can include but are not limited to the following:
  • the mobile phone According to the user’s specified disease setting operation, for example, the mobile phone provides the user with a designated disease setting interface, and the user can enter information such as the name of the disease that has occurred in the interface. Accordingly, the mobile phone obtains the target user’s information based on the user’s operation in the interface Information about the specified disease; and/or,
  • the electronic device of the target user can be a mobile phone that executes the above-mentioned method for acquiring risk behavior information, or other electronic devices of the target user, such as wearable devices, tablet computers (Pad , Portable android device), personal computer (PC, person computer), etc., which are not limited in the embodiments of this application; and/or,
  • the target user’s electronic device can be a mobile phone that executes the aforementioned risk behavior information acquisition method, or it can be other electronic devices of the target user, such as wearables.
  • Device, Pad, PC, etc., the embodiments of this application are not limited; and/or,
  • the mobile phone can be connected to the hospital system to obtain the medical record information of the target user from the hospital system, and then obtain the information of the specified disease of the target user.
  • the specified disease information of the target user may include information about one or more diseases. Since the method in the embodiment of this application has the same processing process for the information of each specified disease, the specified disease information of the target user is used in the embodiment of this application.
  • the disease information includes information about a specific disease as an example.
  • the daily behavior of the target user can be based on the global positioning system (GPS) positioning of the electronic device used by the target user, the movement posture detected by the gyroscope sensor, and the wireless fidelity (WiFi, wireless fidelity)/Bluetooth short-range positioning ,
  • GPS global positioning system
  • WiFi wireless fidelity
  • Bluetooth short-range positioning The screen on time, the usage of various apps, the usage of cameras and microphones and other electronic equipment are comprehensively analyzed.
  • the daily behavior of the target user can include but is not limited to: staying up late and working overtime, playing with mobile phones for a long time, Time to listen to music at loud volume, stay in a bar, etc.
  • a comprehensive analysis can be made based on the usage information of one or more electronic devices used by the target user.
  • the electronic devices used by the user may include but are not limited to: mobile phones, Pads, PCs, wearable devices such as Smart glasses and smart watches, household appliances such as TVs and large screens, etc.
  • other electronic devices used by the user can send their own usage information to the mobile phone, and the mobile phone performs comprehensive analysis on the usage information of the mobile phone itself and other electronic devices of the target user to obtain the daily behavior of the target user.
  • the communication mode between the electronic devices used by the target user is not limited in the embodiment of the present application. For example, it may be wired communication or wireless communication.
  • the wireless communication mode may include, but is not limited to, Bluetooth, WiFi, and the like.
  • the mobile phone can record the daily behaviors of the target user obtained by the analysis and become historical behavior information.
  • daily behavior monitoring application an application capable of monitoring user behavior
  • the target user s electronic device such as mobile phone, Pad, PC, etc.
  • the mobile phone can also be installed from a target user’s electronic device. Or obtain historical behavior information of target users from multiple daily behavior monitoring applications.
  • the historical occurrence information of the specified disease of the target user can be determined according to the historical biological data of the target user, and/or obtained from the disease occurrence information set by the target user in the electronic device of one or more target users of the target user, and/ Or, obtain from the historical medical records of the target user in the hospital system, and/or from the application that can monitor the target user's disease (hereinafter referred to as the disease monitoring application) installed on the target user's electronic device (hereinafter referred to as the disease monitoring application), such as the heart health App, Get it from the Sports Health App, etc.
  • the historical occurrence information of the specified disease of the target user may include: each time the specified disease occurs in the target user.
  • the biological data of the target user can be obtained from the wearable device of the target user, and the mobile phone can obtain and record the biological data of the target user from the wearable device, thereby obtaining the historical biological data of the target user.
  • the wearable device can use various biological information sensors such as photoplethysmograph (PPG), electrocardiogram (ECG), acceleration (ACC, acceleration), etc.
  • PPG photoplethysmograph
  • ECG electrocardiogram
  • ACC acceleration
  • the target user's pulse, ECG, vibration, sound and other biological information are collected in a timely manner, and the biological information is analyzed through various related algorithms to obtain various biological data such as the target user's heart rate, sleep, and exercise.
  • the wearable device can upload the above-mentioned biological data of the target user to the mobile phone through wireless communication methods such as Bluetooth and WIFI.
  • the mobile phone can detect whether the target user has a designated disease according to the above-mentioned biological data of the target user, so that the mobile phone can determine the historical occurrence information of the designated disease of the target user according to the historical biological data of the target user.
  • the historical occurrence information of the specified disease of the target user can be obtained by the mobile phone from the disease information set by the target user in the target user’s electronic device (such as mobile phone, wearable device, Pad, etc.), or the mobile phone can also provide the target user with the specified disease information
  • the setting interface of disease history occurrence information as shown in Figure 4, the target user enters the time when the specified disease occurred on himself into the text control.
  • the mobile phone obtains the content entered by the user in the text control to obtain the occurrence time of the user’s specified disease. .
  • the method for acquiring risk behavior information in the embodiments of the present application can be implemented as a system function of a mobile phone, or as a new App in the mobile phone, or as a part of an existing App, such as the aforementioned daily behavior monitoring application or disease monitoring application.
  • the foregoing risk behavior information acquisition method can be used as a part of the risk early warning method of the embodiment of the present application, and provides a data basis for the risk early warning method.
  • the risk early warning method of the embodiment of the present application may be based on the risk behavior of the specified disease determined by the above-mentioned risk behavior information acquisition method, monitor whether the risk behavior occurs in the daily behavior of the target user, and provide the user with the specified disease when the risk behavior occurs. Early warning. Further, different early warning strategies can be set according to the risk parameters of the risk behavior, and early warning can be performed according to the early warning strategy corresponding to the risk parameters of the risk behavior. For example, for different risk behavior information, you can set corresponding relevant medical knowledge and expert advice.
  • the behavior advice and health guidelines can be displayed in the warning to the user, such as early rest, prohibition Drinking and other tips.
  • Such targeted, intuitive and actionable prompts help users avoid disease events more easily and effectively, better realize active health management, and enhance user experience.
  • the specific electronic device such as a mobile phone, implements an early warning method in the embodiment of the present application, which is not limited. For example, it may be a pop-up prompt dialog box, and/or a mobile phone playing preset prompt music, and so on.
  • the electronic device implementing the risk early warning method is a mobile phone as an example for description. It should be noted that the mobile phone in the following embodiments can be extended to other electronic devices, which will not be repeated here.
  • the mobile phone monitors the daily behavior of the target user, it can obtain usage information from at least one electronic device used by the target user, and determine the behavior information of the target user based on the usage information; and/or, the mobile phone can also obtain information from the target user’s electronic device.
  • the installed daily behavior monitoring application obtains the behavior information of the target user.
  • the risk early warning method of the embodiment of the present application can be implemented as a function of a mobile phone, or as a new App in the mobile phone, or as a part of an existing App, such as the aforementioned daily behavior monitoring application or disease monitoring application.
  • the steps included in the risk early warning method of the embodiment of the application can be implemented on the same electronic device.
  • the steps included in the risk early warning method are all implemented on the mobile phone of the target user; or, the risk early warning method of the embodiment of the application is
  • the steps included can also be implemented on different electronic devices.
  • the steps related to obtaining risk behavior information in the risk early warning method can be implemented on the target user’s wearable devices such as smart watches, and the related steps of early warning based on risk behavior information It can be implemented on the target user's mobile phone.
  • the risk early warning method of the embodiments of this application can be implemented in the same App on the same electronic device, or can be implemented in different apps on the same electronic device, or can be implemented in the same App on different electronic devices, or , Can be implemented in different App of different electronic devices.
  • steps related to obtaining risk behavior information and early warning steps are implemented in the health app of the target user’s mobile phone; alternatively, steps related to obtaining risk behavior information are realized in the health app of the target user’s mobile phone, and early warning steps are implemented in the target user’s health app.
  • the steps related to obtaining risk behavior information are implemented in the health app in the target user’s Pad, and the early warning steps are implemented in the health app in the target user’s mobile phone; or, the risk behavior information acquisition is The relevant steps are implemented in the health app in the target user's Pad, and the early warning steps are implemented in the smart scene mode App in the target user's mobile phone.
  • FIG. 5A shows a schematic diagram of a user interface (UI, user interface) and data interaction relationship of a possible embodiment of the risk early warning method according to the embodiment of the present application
  • FIG. 5B shows the corresponding flow chart.
  • This The risk early warning method of the application embodiment exists as a system function "disease risk behavior early warning" of the target user's mobile phone. Specifically:
  • the user opens the disease risk behavior warning setting interface through operation. Accordingly, the mobile phone can display the disease risk behavior warning setting interface shown in Fig. 5A to the target user. The target user selects "On" in the interface. Control, correspondingly, the mobile phone activates the disease risk behavior warning function; after that,
  • the mobile phone displays the designated disease setting interface to the target user.
  • the target user selects at least one of the diseases listed according to his own disease.
  • the designated disease information obtained by the mobile phone is "atrial fibrillation"; it should be noted that if the target user selects multiple diseases listed in it, the designated disease information obtained by the mobile phone records multiple specified diseases, and the mobile phone is The processing process of the information of the designated disease is the same. In the embodiment of the application, only one type of designated disease is recorded in the designated disease information as an example.
  • the mobile phone obtains the historical behavior information of the target user and the historical occurrence information of the specified disease information of the target user, and determines the risk behavior information of the specified disease information.
  • the historical behavior information may include: the name of the user behavior and the time when the user behavior occurred.
  • the name of the user behavior is only an example, and it can also be replaced by information describing the user behavior such as a user behavior identifier, which is not limited in the embodiment of the present application.
  • the mobile phone may also determine the risk parameter corresponding to the risk behavior according to the acquired historical behavior information and the historical occurrence information.
  • the historical occurrence information of the designated disease information may include: the name of the designated disease and the occurrence time of the designated disease.
  • the designated disease name is only an example, and it can also be replaced by information describing the user's behavior such as designated disease identification, which is not limited in the embodiment of the present application.
  • the risk parameter of the risk behavior is used to identify the risk degree of the risk behavior to induce the target user to develop the specified disease.
  • the risk parameter may include but is not limited to the risk level and/or the risk value. The higher the risk level, the higher the risk level or the risk value.
  • the mobile phone can periodically or based on certain trigger conditions trigger the acquisition of information and determine the execution of the risky behavior step.
  • the mobile phone obtains the historical behavior information of the target user and
  • a specified time range can be set to ensure that the historical behavior information of the target user processed by the mobile phone each time and the historical occurrence information of the specified disease are not duplicated.
  • the mobile phone when the mobile phone obtains the historical occurrence information corresponding to the specified disease information of the target user within the specified time range: the mobile phone can obtain the target user's history within the specified time range from the wearable device of the target user, such as a smart watch Biological data, based on historical biological data, determine whether the target user has atrial fibrillation within a specified time range and record the time when the atrial fibrillation occurred, so as to obtain the historical occurrence information of the target user's "atrial fibrillation"; and/or the mobile phone can be obtained from the connected hospital
  • the system obtains the medical record information of the target user within the specified time range, and obtains the historical occurrence information of the target user's "atrial fibrillation" from the medical record information; and/or the mobile phone can be obtained from the mobile phone and/or other electronic equipment of the target user ( In Figure 5A, Pad is taken as an example)
  • the disease monitoring App has been installed to obtain the historical occurrence information of "atrial fibrillation" of the target user.
  • the mobile phone when the mobile phone obtains the historical behavior information of the target user within the specified time range: the mobile phone can obtain the target user within the specified time range from the electronic device of the target user such as wearable devices, PCs, Pads, and TVs.
  • the historical usage information of these electronic devices can be comprehensively analyzed to obtain the historical behavior information of the target user.
  • wearable devices, PCs, and TVs are taken as examples; and/or the mobile phone can be obtained from mobile phones and/or other target users’
  • the daily behavior monitoring App that has been installed on the electronic device (Pad as an example in FIG. 5A) obtains historical behavior information of the target user.
  • the mobile phone obtains the behavior information of the target user.
  • the behavior information of the target user acquired by the mobile phone in this step is generally information about the behavior currently occurring to the user. If the occurrence time of the behavior is relatively short, it may also be information about the behavior that has just occurred. When the mobile phone judges the behavior that has just occurred, a time threshold can be set. If the time interval between the end of the behavior and the execution time of this step is less than the time threshold, it can be considered as the behavior that has just occurred.
  • the mobile phone can obtain the usage information of at least one electronic device used by the target user from the wearable device, and obtain the behavior information of the target user according to the usage information; and/or, the mobile phone can obtain the usage information of the target user from the mobile phone and/or other
  • the daily behavior monitoring App that has been installed on the target user's electronic device (Pad as an example in FIG. 5A) obtains behavior information of the target user.
  • the mobile phone warns the user when the risk behavior information of the specified disease appears in the behavior information of the target user.
  • one or more early warning strategies can be preset, and the early warning strategy corresponds to the risk parameter corresponding to the risk behavior information, and the mobile phone can perform early warning according to the early warning strategy corresponding to the risk parameter.
  • the risky behaviors of atrial fibrillation have two risk levels: high-risk and low-risk. Assuming that the high-risk risk behaviors of atrial fibrillation include: staying up late, when the mobile phone detects that the user is staying up late, you can use a pop-up reminder The box reminds the user that “behavior of staying up late may cause atrial fibrillation”.
  • the low-risk risk behaviors of atrial fibrillation include: running, when the mobile phone detects that the user is running, the user can prompt the user to pay attention to measuring the electrocardiogram through a pop-up reminder box.
  • the purpose of early warning of designated diseases is achieved.
  • warning method of the pop-up prompt box shown in FIG. 5A is only an example, and other warning methods that may be perceived by the user such as playing designated music for the mobile phone can also be used, which are not limited in the embodiment of the present application.
  • FIG. 5B is a flow chart of a possible embodiment of the risk early warning method according to the embodiment of the present application. As shown in FIG. 5B, it may include the following steps:
  • Step 501 The mobile phone obtains the designated disease information of the target user.
  • This step can correspond to part 52 in FIG. 5A, and will not be repeated here.
  • Step 502 The mobile phone obtains the historical occurrence information corresponding to the specified disease information.
  • the mobile phone can periodically or based on a certain time rule to obtain historical occurrence information within a period of time before the current time.
  • the specific duration of the above period of time is not limited in this embodiment of the application, in order to prevent the mobile phone from responding to the specified disease information corresponding to the same historical occurrence.
  • the information is processed repeatedly.
  • the aforementioned period of time may be the period of time until the current time after the step of determining risk behavior information in the risk early warning method of the embodiment of the present application was executed by the mobile phone.
  • Step 503 The mobile phone determines that the acquired historical occurrence information satisfies preset conditions, and acquires historical behavior information of the target user within a specified time range and historical occurrence information corresponding to the specified disease information of the target user within the specified time range.
  • the mobile phone may determine that the number of occurrences of "atrial fibrillation" of the target user exceeds a preset threshold of times or the frequency of occurrence exceeds a preset frequency threshold to realize that the aforementioned historical occurrence information satisfies the preset condition.
  • Step 504 The mobile phone determines the risk behavior information associated with the specified disease information of the target user and the risk parameters corresponding to the risk behavior information according to the historical occurrence information and the historical behavior information within the specified time range.
  • the mobile phone may not determine the risk parameters corresponding to the risk behavior information, and at this time, there may be no difference in the degree of risk between the risk behaviors recorded in the risk behavior information.
  • the risk parameters corresponding to the risk behavior information may include, but are not limited to, risk value and/or risk level.
  • the specific number of risk levels is not limited in the embodiment of the present application. For example, it may include high-risk behaviors with relatively high risks, and risk relative
  • the two risk levels of the lower low-risk behavior may also include, for example, 3, 4, or more risk levels.
  • the risk early warning method of the embodiment of the present application may be triggered multiple times to execute steps 503 and 504 based on the judgment in step 503 that the historical occurrence information satisfies the preset conditions, that is, the step of determining risk behavior information is executed multiple times, correspondingly Yes, the risk behaviors corresponding to atrial fibrillation and the risk parameters of risk behaviors can be changed and updated as the steps of determining risk behavior information are executed multiple times.
  • the risk behaviors and risk parameters of the risk behaviors recorded in the mobile phone may also change and update, that is, a certain behavior of the user has not been recorded as a risk behavior before, as the number of occurrences of the behavior before the occurrence of atrial fibrillation Increase, the behavior may be recorded as a risk behavior by the mobile phone, a certain risk behavior of atrial fibrillation that has been recorded in the mobile phone may also be deleted from the risk behavior of atrial fibrillation, and the risk parameters of the same risk behavior may also change. No more examples here.
  • the mobile phone can maintain the risk behavior set corresponding to the specified disease information, and the elements included in the risk behavior set may be: (risk behavior name, risk parameter).
  • the mobile phone can determine the risk behavior information associated with the target user's designated disease information and the risk parameters corresponding to the risk behavior information by updating the above risk behavior set.
  • risk behavior information that the mobile phone determines to have an association relationship with the target user's designated disease information are as follows:
  • the specified time range is 72 hours before the time of the most recent atrial fibrillation
  • the risk parameter is the risk value.
  • the set of risk behaviors before the update includes: (stay up late, 90), (running, 60), and The 12-hour interval is divided into a specified time range of 72 hours, and 6 time periods are obtained. Each time period corresponds to a certain risk value update strategy, such as the risk value of risk behaviors that occurred within 12 hours before the time of the most recent atrial fibrillation. Increase by 10% from the original value.
  • the risk value of risky behaviors within 12 hours to 24 hours before the time of the most recent atrial fibrillation is increased by 5% from the original value and decreases in sequence; the same risk occurs in multiple time periods
  • the behavior can update the risk value multiple times, or update the risk value once based on the most recent one.
  • the risk behavior set can be established when the mobile phone executes the risk behavior information acquisition method for the first time, or it can be set in the mobile phone in advance. If it is set in the mobile phone in advance, the risk behavior set can be empty, or it can be preset in medical routines.
  • the risk value corresponding to the risk behavior may be set according to the risk level of the risk behavior, or may be uniformly set to a certain fixed value, which is not limited in the embodiment of the present application.
  • user behaviors such as insufficient sleep and staying up late can increase the probability of occurrence of atrial fibrillation. Therefore, (staying up late, 60) (lack of sleep, 60) can be preset in the mobile phone in combination with risk behaviors corresponding to atrial fibrillation.
  • the behavior can be added to the risk behavior set as a risk behavior, and the initial risk value corresponding to the interval at which the behavior is located Set the risk value of the risky behavior, or set the risk value of the risky behavior to a certain fixed value; for the risky behaviors included in the risky behavior set but not occurred within 72 hours, the risk of the risky behavior can be reduced according to the preset strategy Value, and when the risk value is less than the removal threshold, the risk behavior is removed from the risk behavior set.
  • Step 505 The mobile phone obtains the behavior information of the target user.
  • This step can correspond to part 54 in FIG. 5A, and will not be repeated here.
  • Step 506 When the mobile phone judges that risk behavior information corresponding to the specified disease information of the target user appears in the behavior information of the target user, an early warning is given to the target user.
  • This step can correspond to part 55 in FIG. 5A, and will not be repeated here.
  • steps 502 to 504 and steps 505 to 506 is not limited.
  • FIG. 6A shows a schematic diagram of the UI interface and data interaction relationship of a possible embodiment of the risk early warning method of the embodiment of the present application.
  • the risk early warning method of the embodiment of the present application is used as an application of the target user's mobile phone.
  • Disease risk warning is realized, specifically:
  • the target user opens the application "disease risk warning" in the mobile phone through operation, and the mobile phone displays the disease setting interface in the application to the target user; the target user selects at least from the diseases listed in the disease setting interface according to their own disease A disease, for example, in Figure 6A, it is assumed that the target user selects the disease "atrial fibrillation". Accordingly, the mobile phone uses the disease risk warning application to determine the designated disease information as "atrial fibrillation". Among them, data transmission between applications of the same device or between applications of different devices can be realized through data authorization sharing or data communication.
  • parts 63-65 in FIG. 6A please refer to the related descriptions in parts 53-55 in FIG. 5A.
  • the main difference is that the mobile phone implements the processing process in FIG. 5A through the application of "disease risk warning".
  • Step 501 to step 506 are implemented.
  • the disease risk warning application detects that the number of occurrences of atrial fibrillation exceeds the number threshold P, and obtains the target user's historical behavior information and the historical occurrence information of atrial fibrillation within a specified time range before the time of the latest atrial fibrillation. ;
  • step 603 the disease risk early warning application updates the risk behaviors and risk values in the preset risk behavior set of atrial fibrillation according to the acquired information
  • step 604 the disease risk early warning application judges whether the risk value of the risk behavior in the risk behavior set reaches the preset risk value threshold, and if it reaches, sets the risk behavior as high risk;
  • step 605 the disease risk early warning application obtains the user's behavior information, and if high-risk risk behavior information appears in the behavior information, the warning prompt box in FIG. 5A and FIG. 6A pops up for early warning.
  • the disease risk warning application For example, if the target user stays up late until the morning before falling asleep, the disease risk warning application counts the number of times the target user has atrial fibrillation throughout the night. If the number of atrial fibrillation occurrences exceeds the preset number threshold multiple times, the risk behavior set is triggered Update of the risk value of risky behaviors, the disease risk warning application updates the risk value of the risky behavior of "staying up late (lack of sleep)" multiple times, so that the risk value of the risky behavior of "staying up late (lack of sleep)" exceeds the preset threshold , Is set as high risk.
  • the disease risk warning application can pop up a notification to remind the target user that staying up late (lack of sleep) will cause the target user's atrial fibrillation to worsen, and attention needs to be paid to ensure adequate sleep.
  • the disease risk early warning application can be a disease monitoring application and an application other than the daily behavior monitoring application, or it can be a disease monitoring application or a daily behavior monitoring application.
  • the disease risk warning application can not only obtain the historical occurrence information of the specified disease of the target user from other disease monitoring applications, other electronic devices, hospital systems, etc., the disease risk warning application itself It is also possible to monitor and record the historical occurrence information of the specified disease of the target user.
  • FIG. 7A shows a schematic diagram of a UI interface of another possible embodiment of the risk warning method according to the embodiment of the present application.
  • the second application in, such as a daily behavior monitoring application, provides early warning of the risky behavior of the target user in the daily behavior according to the risky behavior information obtained by the first application.
  • the implementation of FIG. 7A is similar to that of FIG. 6A, with the main difference being: since the risk early warning method is dispersed and executed in two applications, the second application needs to obtain risk behavior information from the first application in order to judge whether the daily behavior is a risk behavior.
  • FIG. 5B The processing steps included in the risk early warning method of the embodiment of the present application corresponding to the embodiment of FIG. 7A can be referred to FIG. 5B.
  • the main difference lies in: in the risk early warning method of the embodiment of the present application corresponding to the embodiment of FIG. Step 501-Step 504, implement Step 505-Step 506 through the second application.
  • the first application is a disease monitoring application in the mobile phone of the target user
  • the second application is a daily behavior monitoring application in the mobile phone of the target user.
  • this method differs mainly in that steps 601 to 604 are executed by the disease monitoring application to obtain risk behavior information, and the daily behavior monitoring application performs risk warning of the specified disease based on the risk behavior information.
  • the daily behavior monitoring application performs early warnings for high-risk risky behaviors and low-risk risky behaviors in the behavior information according to different early warning strategies, which will not be repeated here.
  • the embodiment shown in FIG. 7A can also extend the first application of the mobile phone to the first application of the first electronic device of the target user, and extend the second application of the mobile phone to the second electronic device of the target user.
  • the first electronic device and the second electronic device can be the same electronic device, such as the mobile phone in the above embodiment, or different electronic devices. In this case, it is necessary to ensure that the first electronic device and the second electronic device are It can communicate with each other, and the communication mode is not limited in the embodiment of this application.
  • FIG. 8 is a flowchart of an embodiment of the risk behavior warning method for diseases according to the application. As shown in FIG. 8, the method may include:
  • Step 801 Obtain the behavior information of the target user; the behavior information of the target user is used to describe the behavior of the target user;
  • Step 802 Determine whether the behavior information of the target user matches the risk behavior information corresponding to the designated disease information; the designated disease information is used to describe the disease that the target user has experienced, and the risk behavior information is used to describe the behavior that has the risk of inducing the target user to develop the disease ;
  • Step 803 If the behavior information of the target user matches the risk behavior information corresponding to the designated disease information, the target user is shown the early warning information for the designated disease information.
  • the early warning processing may not be performed based on the behavior information of the target user, and the new behavior information of the target user may continue to be obtained.
  • the risk behavior information has corresponding risk parameters; displaying early warning information for the specified disease information to the target user, including:
  • the target user is shown the early warning information for the specified disease information.
  • the risk parameter includes a risk level; according to the risk parameter corresponding to the risk behavior information that matches the behavior information of the target user, displaying the early warning information for the specified disease information to the target user, including:
  • the target user is shown the early warning information for the specified disease information according to the early warning strategy corresponding to the risk level.
  • the risk parameter includes a risk value; according to the risk parameter corresponding to the risk behavior information matching the behavior information of the target user, displaying the early warning information for the specified disease information to the target user, including:
  • the target users are shown early warning information for the specified disease information.
  • acquiring behavior information of the target user includes:
  • the method may further include:
  • the method for obtaining risk behavior information corresponding to the specified disease information includes:
  • risk behavior information that has an association relationship with the specified disease information of the target user is determined.
  • it also includes:
  • the risk parameter corresponding to the risk behavior information that has an association relationship with the designated disease information of the target user is determined.
  • obtaining historical occurrence information corresponding to the specified disease information of the target user within a specified time range includes:
  • obtaining historical behavior information of the target user within a specified time range includes:
  • the above method of the embodiment of the present application automatically analyzes and identifies the specified disease that induces the target user based on the historical behavior information of the target user and the historical occurrence information corresponding to the specified disease information of the target user without the target user's intervention or perception.
  • the user In the event of relatively risky risk behavior information, the user’s daily behavior information is obtained, and the risk behavior information is identified for early warning, so as to remind the target user to strengthen the control of their own risk behaviors, to better implement active health management, and to avoid disease events.
  • the risk behavior information corresponding to the target user’s designated disease information is determined based on the target user’s own individual situation, which is closer to the target user’s own individual situation, breaking the universality of disease monitoring in the prior art, and realizing the individual Early warning of diseases based on physical differences.
  • FIG. 9 is a flowchart of an embodiment of a method for obtaining risk behavior information of a disease according to the application. As shown in FIG. 9, the method may include:
  • Step 901 Obtain historical occurrence information corresponding to the specified disease information of the target user.
  • Step 902 Determine that the historical occurrence information satisfies a preset condition, and obtain historical behavior information of the target user within a specified time range and historical occurrence information corresponding to the specified disease information of the target user.
  • the specified time range may be: a time period of a preset duration before the most recent occurrence time of the specified disease, and the specific length of the preset duration is not limited in this embodiment of the application. For example, assuming that the current time is 20:58 on May 20, 2020, the latest occurrence time of the specified disease is 20:55 on May 20, 2020, and the length of the preset time period is 72 hours, the specified time range can be : From 20:55 on May 17, 2020 to 20:55 on May 20, 2020.
  • Step 903 According to the historical behavior information within the designated time range and the acquired historical occurrence information corresponding to the designated disease information, determine risk behavior information that has an association relationship with the designated disease information of the target user.
  • the historical occurrence information satisfies a preset condition, it further includes:
  • the risk parameter corresponding to the risk behavior information that has an association relationship with the designated disease information of the target user is determined.
  • obtaining historical occurrence information corresponding to the specified disease information of the target user within a specified time range includes:
  • obtaining historical behavior information of the target user within a specified time range includes:
  • the method before obtaining the historical occurrence information corresponding to the specified disease information of the target user, the method further includes:
  • the designated disease information of the target user is used to record the disease that the target user has occurred.
  • obtaining the specified disease information of the target user includes:
  • determining that the historical occurrence information satisfies preset conditions includes:
  • the occurrence frequency information corresponding to the specified disease information in the historical occurrence information reaches the preset frequency threshold, and the occurrence frequency information is used to record the occurrence frequency of the specified disease in the specified disease information record.
  • the set of risk behaviors corresponding to the specified disease information can be preset in the electronic device.
  • the risk behavior set can be initially empty, or one or more risk behavior information and risk parameters of the risk behavior information can be preset.
  • the risk behavior information can include the name of the risk behavior; it is assumed that the risk parameter is the risk value.
  • the risk behavior corresponding to the risk behavior information included in the risk behavior set of the specified disease information is the behavior that may cause the occurrence of the specified disease.
  • the preset risk behavior information may be description information of behaviors that have a general and routine influence on a specified disease in medicine.
  • the risk value of the risk behavior information identifies the risk degree of the risk behavior inducing a specified disease.
  • the risk value may be a numerical value, and the higher the risk of the risk behavior corresponding to the risk behavior information that induces the specified disease, the greater the risk value.
  • common risk behaviors may include drinking, staying up late, etc.
  • the risk behavior set of premature cardiac beats may preset the following risk behavior information: drinking, staying up late.
  • the risk behaviors in the risk behavior set can also be added by the user voluntarily according to their own circumstances, which is not limited in the embodiment of the present application.
  • the risk values of the preset risk behavior information may be the same, or different values may be set according to the degree of risk, which is not limited in the embodiment of the present application.
  • one or more risk value thresholds can be preset in the electronic device to classify the risk behavior information in the risk behavior set into risk levels. For example, if a risk value threshold is set, the risk behavior information whose risk value exceeds the risk value threshold corresponds to high Risk level, the risk behavior information in the risk behavior set whose risk value does not exceed the risk value threshold corresponds to the low risk level.
  • the risk behavior information determined to have an association relationship with the specified disease information of the target user in step 903 may be an updated risk behavior set. It can include:
  • the user behavior information obtained For each user behavior information obtained: if the user behavior information is not included in the risk behavior set, add the user behavior information to the risk behavior set, according to the time when the user behavior information occurs and the time after the user behavior information occurs Specify the time interval between the latest occurrence of the disease to determine the risk value of the user behavior information; if the user behavior information is included in the risk behavior set, according to the occurrence time of the user behavior information and the time after the occurrence time of the user behavior information Specify the time interval between the latest occurrence of the disease to update the risk value of the user's behavior information.
  • the same user behavior occurs multiple times in the acquired historical behavior information of the target user, that is, there are multiple pieces of the same user behavior information, the above operations can be performed on each user behavior information.
  • the risk value of the risk behavior information is reduced according to a preset rule.
  • the above method of the embodiment of the application monitors the target user's daily behavior without intervention or perception, automatically analyzes and identifies risky behaviors that induce the target user to have a relatively high risk of occurrence of the specified disease, and provides early warning to remind the target Users strengthen the control of their own risk behaviors, better realize active health management, and avoid the occurrence of disease events.
  • FIG. 10 is a schematic structural diagram of an embodiment of the risk early warning device of this application. As shown in FIG. 10, the device 1000 may include:
  • the obtaining unit 1010 is used to obtain behavior information of the target user; the behavior information of the target user is used to describe the behavior of the target user;
  • the judging unit 1020 is used to judge whether the behavior information of the target user matches the risk behavior information corresponding to the designated disease information; the designated disease information is used to describe the disease that the target user has experienced, and the risk behavior information is used to describe the disease that has induced the target user to develop the disease Risky behavior
  • the display unit 1030 is configured to display the early warning information for the designated disease information to the target user if the behavior information of the target user matches the risk behavior information corresponding to the designated disease information.
  • the risk behavior information has corresponding risk parameters; the display unit 1030 may be specifically used to: display the target user an early warning for the specified disease information according to the risk parameter corresponding to the risk behavior information matching the behavior information of the target user information.
  • the risk parameter includes a risk level
  • the display unit 1030 may be specifically used to: according to the risk level corresponding to the risk behavior information matching the behavior information of the target user, according to the risk level corresponding early warning strategy to show the target user that the disease is specific to the specified disease Information warning information.
  • the risk parameter includes a risk value
  • the display unit 1030 may be specifically used to determine an early warning strategy according to the relationship between the risk value corresponding to the risk behavior information matching the target user's behavior information and the preset risk threshold;
  • the target users are shown early warning information for the specified disease information.
  • the acquiring unit 1010 may be specifically used for:
  • the acquiring unit 1010 may also be used to:
  • the obtaining unit 1010 may also be used to: obtain historical occurrence information corresponding to the specified disease information of the target user;
  • the judging unit 1020 can also be used for judging that the historical occurrence information satisfies a preset condition, and obtaining the historical behavior information of the target user within a specified time range and the historical occurrence information corresponding to the specified disease information of the target user;
  • the device 1000 may further include: a determining unit for determining risk behavior information associated with the specified disease information of the target user based on the historical behavior information within a specified time range and the acquired historical occurrence information corresponding to the specified disease information.
  • the determining unit may also be used to determine the risk parameter corresponding to the risk behavior information associated with the specified disease information of the target user based on the historical behavior information within the specified time range and the historical occurrence information corresponding to the specified disease information.
  • the acquiring unit 1010 may be specifically used for:
  • the acquiring unit 1010 may be specifically used for:
  • FIG. 11 is a schematic structural diagram of an embodiment of an apparatus for acquiring risk behavior information according to this application. As shown in FIG. 11, the apparatus 1100 may include:
  • the acquiring unit 1110 is used to acquire the historical occurrence information corresponding to the specified disease information of the target user; determine that the historical occurrence information satisfies preset conditions, and obtain the historical behavior information of the target user within the specified time range and the historical occurrence corresponding to the specified disease information of the target user information;
  • the determining unit 1120 is configured to determine the risk behavior information associated with the specified disease information of the target user based on the historical behavior information within the specified time range and the acquired historical occurrence information corresponding to the specified disease information.
  • the determining unit 1120 may be further configured to: determine the risk parameter corresponding to the risk behavior information associated with the specified disease information of the target user based on the historical behavior information within the specified time range and the historical occurrence information corresponding to the specified disease information .
  • the obtaining unit 1110 may be specifically used for:
  • the acquiring unit 1110 may be specifically used for:
  • the obtaining unit 1110 may also be used to:
  • the designated disease information of the target user is used to record the disease that the target user has occurred.
  • the acquiring unit 1110 may be specifically used for:
  • the obtaining unit 1110 may be specifically used for:
  • the occurrence frequency information corresponding to the specified disease information in the historical occurrence information reaches the preset frequency threshold, and the occurrence frequency information is used to record the occurrence frequency of the specified disease in the specified disease information record.
  • the devices provided in the embodiments shown in FIGS. 10 to 11 can be used to implement the technical solutions of the method embodiments shown in FIGS. 5A to 9 of this application.
  • each step of the above method or each of the above units can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
  • An embodiment of the present application also provides an electronic device, including: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one The or multiple computer programs include instructions, and when the instructions are executed by the device, the device executes the methods shown in FIGS. 5A to 9.
  • the embodiment of the present application also provides a computer-readable storage medium that stores a computer program, and when it runs on a computer, the computer executes the functions provided by the embodiments shown in Figs. 5A to 9 of the present application. method.
  • the embodiments of the present application also provide a computer program product.
  • the computer program product includes a computer program that, when running on a computer, causes the computer to execute the method provided in the embodiments shown in FIG. 5A to FIG. 9 of the present application.
  • At least one refers to one or more
  • multiple refers to two or more.
  • And/or describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. Among them, A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an “or” relationship.
  • the following at least one item” and similar expressions refer to any combination of these items, including any combination of single items or plural items.
  • 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, and c can be single, or There can be more than one.
  • 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.
  • the technical solution of this application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as ROM), random access memory (Random Access Memory; hereinafter referred to as RAM), magnetic disks or optical disks, etc.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disks or optical disks etc.

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Medical Informatics (AREA)
  • Public Health (AREA)
  • Biomedical Technology (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Pathology (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Telephone Function (AREA)

Abstract

A risk pre-warning method, a risk behavior information acquisition method, and an electronic device. The risk pre-warning method comprises: acquiring behavior information of a target user (801); determining whether the behavior information of the target user matches risk behavior information corresponding to specified disease information (802); and if the behavior information of the target user matches the risk behavior information corresponding to the specified disease information, showing, to the target user, information pre-warning against the specified disease information (803). Therefore, a risk behavior that causes a user to suffer from a target disease event can be automatically analyzed and recognized, such that when the user conducts the risk behavior, a pre-warning against specified disease information is issued to the user to help the user with health management.

Description

风险预警方法、风险行为信息获取方法和电子设备Risk early warning method, risk behavior information acquisition method and electronic equipment 技术领域Technical field
本申请涉及智能终端技术领域,特别涉及风险预警方法、风险行为信息获取方法和电子设备。This application relates to the technical field of smart terminals, in particular to risk early warning methods, risk behavior information acquisition methods, and electronic equipment.
背景技术Background technique
随着可穿戴设备在健康领域的应用,睡眠、运动、心率等健康相关因素的监测功能已经成为可穿戴设备的重要功能,被用户在日常生活中使用。同时,可穿戴设备在血压检测、心脏健康和血管健康等方向正在不断的创新和取得重大突破,例如可穿戴设备已经可以实现对于用户房颤/早搏的初筛、动脉弹性的测量等。这些可穿戴设备在健康领域的应用,有助于用户更好的了解自身健康状况,从而实现主动健康管理,提高全民生活水平。With the application of wearable devices in the health field, monitoring functions of health-related factors such as sleep, exercise, and heart rate have become important functions of wearable devices and are used by users in their daily lives. At the same time, wearable devices are constantly innovating and making major breakthroughs in blood pressure detection, heart health, and vascular health. For example, wearable devices can already achieve primary screening of atrial fibrillation/premature beats and measurement of arterial elasticity for users. The application of these wearable devices in the health field helps users better understand their own health conditions, thereby realizing active health management and improving the living standards of the whole people.
为了更进一步的识别和管理用户的疾病发生信息,我们需要更深入的了解导致用户发生疾病事件的本质原因。如何基于电子设备例如可穿戴设备检测到的上述用户的健康相关因素,来分析出上述健康相关因素与用户发生疾病事件之间的关系,实现对于用户的健康管理是需要解决的问题。In order to further identify and manage the user’s disease occurrence information, we need to have a deeper understanding of the essential causes of the user’s disease event. How to analyze the relationship between the aforementioned health-related factors and the user's disease events based on the aforementioned user's health-related factors detected by electronic devices such as wearable devices, and realize the user's health management is a problem that needs to be solved.
发明内容Summary of the invention
本申请提供了一种风险预警方法、风险行为信息获取方法和电子设备,能够对诱发用户发生指定疾病的相关因素进行预警,辅助用户进行健康管理。This application provides a risk early warning method, a risk behavior information acquisition method, and an electronic device, which can provide early warning of factors that induce a user to develop a specified disease, and assist the user in health management.
第一方面,本申请实施例提供了一种风险预警方法,应用于电子设备,包括:In the first aspect, an embodiment of the present application provides a risk early warning method applied to electronic equipment, including:
获取目标用户的行为信息;目标用户的行为信息用于描述目标用户的行为;Obtain the behavior information of the target user; the behavior information of the target user is used to describe the behavior of the target user;
判断目标用户的行为信息是否与指定疾病信息对应的风险行为信息匹配;指定疾病信息用于描述目标用户发生过的疾病,风险行为信息用于描述具有诱发目标用户发生疾病的风险的行为;Determine whether the target user's behavior information matches the risk behavior information corresponding to the specified disease information; the designated disease information is used to describe the diseases that the target user has occurred, and the risk behavior information is used to describe the behavior that has the risk of inducing the target user to develop the disease;
如果目标用户的行为信息与指定疾病信息对应的风险行为信息匹配,向目标用户展示针对于指定疾病信息的预警信息。If the target user's behavior information matches the risk behavior information corresponding to the specified disease information, the target user is shown the early warning information for the specified disease information.
本申请实施例的上述方法在目标用户无需介入、无感知的情况下,基于目标用户的行为信息,从中识别出风险行为信息进行预警,从而提醒目标用户加强对自身风险行为的控制,更好的实现主动健康管理,避免疾病事件的发生。In the above-mentioned method of the embodiment of this application, the target user’s behavior information is identified based on the target user’s behavior information for early warning without intervention and no perception, so as to remind the target user to strengthen the control of his own risk behavior, and better Realize active health management and avoid the occurrence of disease events.
在一种可能的实现方式中,风险行为信息具有对应的风险参数;向目标用户展示针对于指定疾病信息的预警信息,包括:In a possible implementation manner, risk behavior information has corresponding risk parameters; displaying early warning information for specified disease information to target users, including:
根据与目标用户的行为信息匹配的风险行为信息所对应的风险参数,向目标用户 展示针对于指定疾病信息的预警信息。According to the risk parameters corresponding to the risk behavior information matching the behavior information of the target user, the target user is shown early warning information for the specified disease information.
在一种可能的实现方式中,风险参数包括风险等级;根据与目标用户的行为信息匹配的风险行为信息所对应的风险参数,向目标用户展示针对于指定疾病信息的预警信息,包括:In a possible implementation, the risk parameters include risk levels; according to the risk parameters corresponding to the risk behavior information matching the target user's behavior information, the target user is shown early warning information for the specified disease information, including:
根据与目标用户的行为信息匹配的风险行为信息所对应的风险等级,按照风险等级对应预警策略向目标用户展示针对于指定疾病信息的预警信息。According to the risk level corresponding to the risk behavior information matching the behavior information of the target user, the target user is shown the early warning information for the specified disease information according to the early warning strategy corresponding to the risk level.
在一种可能的实现方式中,风险参数包括风险值;根据与目标用户的行为信息匹配的风险行为信息所对应的风险参数,向目标用户展示针对于指定疾病信息的预警信息,包括:In a possible implementation, the risk parameter includes a risk value; according to the risk parameter corresponding to the risk behavior information that matches the target user's behavior information, the target user is shown early warning information for the specified disease information, including:
根据与目标用户的行为信息匹配的风险行为信息所对应的风险值与预设风险阈值之间的关系确定预警策略;Determine the early warning strategy according to the relationship between the risk value corresponding to the risk behavior information matching the target user's behavior information and the preset risk threshold;
按照确定的预警策略向目标用户展示针对于指定疾病信息的预警信息。According to the determined early warning strategy, the target users are shown early warning information for the specified disease information.
在一种可能的实现方式中,获取目标用户的行为信息,包括:In a possible implementation manner, obtaining behavior information of the target user includes:
获取目标用户使用的至少一个电子设备的使用信息,根据使用信息获取目标用户的行为信息;和/或,Obtain the usage information of at least one electronic device used by the target user, and obtain the behavior information of the target user according to the usage information; and/or,
从指定日常行为监测应用获取目标用户的行为信息。Obtain target user behavior information from designated daily behavior monitoring applications.
在一种可能的实现方式中,还包括:In a possible implementation, it also includes:
从电子设备之外的电子设备获取指定疾病信息对应的风险行为信息;和/或,Obtain the risk behavior information corresponding to the specified disease information from an electronic device other than the electronic device; and/or,
从电子设备之外的电子设备的指定应用中获取指定疾病信息对应的风险行为信息;和/或,Obtain the risk behavior information corresponding to the specified disease information from the specified application of the electronic device other than the electronic device; and/or,
从电子设备的指定应用中获取指定疾病信息对应的风险行为信息。Obtain the risk behavior information corresponding to the specified disease information from the specified application of the electronic device.
在一种可能的实现方式中,指定疾病信息对应的风险行为信息的获取方法包括:In a possible implementation, the method for obtaining risk behavior information corresponding to the specified disease information includes:
获取目标用户的指定疾病信息对应的历史发生信息;Obtain the historical occurrence information corresponding to the specified disease information of the target user;
判断历史发生信息满足预设条件,获取指定时间范围内目标用户的历史行为信息以及目标用户的指定疾病信息对应的历史发生信息;Determine that the historical occurrence information satisfies the preset conditions, and obtain the historical behavior information of the target user within the specified time range and the historical occurrence information corresponding to the specified disease information of the target user;
根据指定时间范围内的历史行为信息以及获取到的指定疾病信息对应的历史发生信息,确定与目标用户的指定疾病信息具有关联关系的风险行为信息。According to the historical behavior information within the specified time range and the acquired historical occurrence information corresponding to the specified disease information, risk behavior information that has an association relationship with the specified disease information of the target user is determined.
在一种可能的实现方式中,还包括:In a possible implementation, it also includes:
根据指定时间范围内的历史行为信息以及指定疾病信息对应的历史发生信息,确定与目标用户的指定疾病信息具有关联关系的风险行为信息对应的风险参数。According to the historical behavior information within the designated time range and the historical occurrence information corresponding to the designated disease information, the risk parameter corresponding to the risk behavior information that has an association relationship with the designated disease information of the target user is determined.
在一种可能的实现方式中,获取指定时间范围内目标用户的指定疾病信息对应的历史发生信息,包括:In a possible implementation manner, obtaining historical occurrence information corresponding to the specified disease information of the target user within a specified time range includes:
从指定就诊系统获取指定时间范围内目标用户的就诊记录信息,从获取的就诊记录信息中获取目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the medical record information of the target user within the specified time range from the designated medical treatment system, and obtain the historical occurrence information corresponding to the specified disease information of the target user from the acquired medical record information; and/or,
从指定疾病监测应用获取指定时间范围内目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the historical occurrence information corresponding to the specified disease information of the target user within the specified time range from the specified disease monitoring application; and/or,
从可穿戴设备获取指定时间范围内目标用户的历史生物数据,根据历史生物数据确定目标用户的指定疾病信息对应的历史发生信息。Obtain the historical biological data of the target user within the specified time range from the wearable device, and determine the historical occurrence information corresponding to the specified disease information of the target user according to the historical biological data.
在一种可能的实现方式中,获取指定时间范围内目标用户的历史行为信息,包括:In a possible implementation manner, obtaining historical behavior information of the target user within a specified time range includes:
获取指定时间范围内目标用户使用的至少一个电子设备的使用信息,根据使用信息获取目标用户的历史行为信息;和/或,Obtain usage information of at least one electronic device used by the target user within a specified time range, and obtain historical behavior information of the target user according to the usage information; and/or,
从指定日常行为监测应用获取指定时间范围内目标用户的历史行为信息。Obtain historical behavior information of target users within a specified time range from a designated daily behavior monitoring application.
第二方面,本申请实施例提供一种风险行为信息获取方法,应用于电子设备,包括:In the second aspect, an embodiment of the present application provides a method for obtaining risk behavior information, which is applied to electronic equipment, and includes:
获取目标用户的指定疾病信息对应的历史发生信息;Obtain the historical occurrence information corresponding to the specified disease information of the target user;
判断历史发生信息满足预设条件,获取指定时间范围内目标用户的历史行为信息以及目标用户的指定疾病信息对应的历史发生信息;Determine that the historical occurrence information satisfies the preset conditions, and obtain the historical behavior information of the target user within the specified time range and the historical occurrence information corresponding to the specified disease information of the target user;
根据指定时间范围内的历史行为信息以及获取到的指定疾病信息对应的历史发生信息,确定与目标用户的指定疾病信息具有关联关系的风险行为信息。According to the historical behavior information within the specified time range and the acquired historical occurrence information corresponding to the specified disease information, risk behavior information that has an association relationship with the specified disease information of the target user is determined.
该方法在目标用户无需介入、无感知的情况下,基于目标用户的历史行为信息和目标用户的指定疾病信息对应的历史发生信息,自动分析并识别出诱发目标用户的指定疾病发生风险相对较大的风险行为信息,从而目标用户的指定疾病信息对应的风险行为信息是基于目标用户自身个体情况确定的,更贴近目标用户自身的个体情况,打破现有技术中疾病监测的普适性,实现了根据个人身体差异进行疾病预警。This method automatically analyzes and recognizes that the target user’s specified disease occurrence risk is relatively high based on the target user’s historical behavior information and the target user’s specified disease information without the target user’s intervention or perception. Therefore, the risk behavior information corresponding to the target user’s specified disease information is determined based on the target user’s own individual situation, which is closer to the target user’s own individual situation, breaking the universality of disease monitoring in the prior art, and achieving Early warning of diseases based on individual physical differences.
在一种可能的实现方式中,判断历史发生信息满足预设条件之后,还包括:In a possible implementation, after judging that the historical occurrence information satisfies the preset condition, the method further includes:
根据指定时间范围内的历史行为信息以及指定疾病信息对应的历史发生信息,确定与目标用户的指定疾病信息具有关联关系的风险行为信息对应的风险参数。According to the historical behavior information within the designated time range and the historical occurrence information corresponding to the designated disease information, the risk parameter corresponding to the risk behavior information that has an association relationship with the designated disease information of the target user is determined.
在一种可能的实现方式中,获取指定时间范围内目标用户的指定疾病信息对应的历史发生信息,包括:In a possible implementation manner, obtaining historical occurrence information corresponding to the specified disease information of the target user within a specified time range includes:
从指定就诊系统获取指定时间范围内目标用户的就诊记录信息,从获取的就诊记录信息中获取目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the medical record information of the target user within the specified time range from the designated medical treatment system, and obtain the historical occurrence information corresponding to the specified disease information of the target user from the acquired medical record information; and/or,
从指定疾病监测应用获取指定时间范围内目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the historical occurrence information corresponding to the specified disease information of the target user within the specified time range from the specified disease monitoring application; and/or,
从可穿戴设备获取指定时间范围内目标用户的历史生物数据,根据历史生物数据确定目标用户的指定疾病信息对应的历史发生信息。Obtain the historical biological data of the target user within the specified time range from the wearable device, and determine the historical occurrence information corresponding to the specified disease information of the target user according to the historical biological data.
在一种可能的实现方式中,获取指定时间范围内目标用户的历史行为信息,包括:In a possible implementation manner, obtaining historical behavior information of the target user within a specified time range includes:
获取指定时间范围内目标用户使用的至少一个电子设备的使用信息,根据使用信息获取目标用户的历史行为信息;和/或,Obtain usage information of at least one electronic device used by the target user within a specified time range, and obtain historical behavior information of the target user according to the usage information; and/or,
从指定日常行为监测应用获取指定时间范围内目标用户的历史行为信息。Obtain historical behavior information of target users within a specified time range from a designated daily behavior monitoring application.
在一种可能的实现方式中,获取目标用户的指定疾病信息对应的历史发生信息之前,还包括:In a possible implementation manner, before obtaining the historical occurrence information corresponding to the specified disease information of the target user, the method further includes:
获取目标用户的指定疾病信息,指定疾病信息用于记录目标用户发生过的疾病。Obtain the designated disease information of the target user, and the designated disease information is used to record the disease that the target user has occurred.
在一种可能的实现方式中,获取目标用户的指定疾病信息,包括:In a possible implementation, obtaining the specified disease information of the target user includes:
获取目标用户在预设界面上选择的疾病信息,将获取到的疾病信息作为指定疾病信息;和/或,Obtain the disease information selected by the target user on the preset interface, and use the acquired disease information as the designated disease information; and/or,
从指定就诊系统获取目标用户的就诊记录信息,从就诊记录信息中获取目标用户 的指定疾病信息;和/或,Obtain the medical record information of the target user from the designated medical system, and obtain the designated disease information of the target user from the medical record information; and/or,
从指定疾病监测应用获取目标用户的历史疾病信息,从历史疾病信息中获取用户的指定疾病信息;和/或,Obtain the historical disease information of the target user from the designated disease monitoring application, and obtain the user's designated disease information from the historical disease information; and/or,
获取目标用户的历史生物数据,根据历史生物数据确定目标用户的指定疾病信息。Obtain historical biological data of the target user, and determine the specified disease information of the target user based on the historical biological data.
在一种可能的实现方式中,判断历史发生信息满足预设条件,包括:In a possible implementation, judging that the historical occurrence information satisfies preset conditions includes:
判断历史发生信息中指定疾病信息对应的次数信息达到预设次数阈值,次数信息用于记录指定疾病信息记录的指定疾病的发生次数;和/或,Determine that the number of times information corresponding to the specified disease information in the historical occurrence information reaches the preset number threshold, and the number of times information is used to record the number of occurrences of the specified disease in the specified disease information record; and/or,
判断历史发生信息中指定疾病信息对应的发生频率信息达到预设频率阈值,发生频率信息用于记录指定疾病信息记录的指定疾病的发生频率。It is determined that the occurrence frequency information corresponding to the specified disease information in the historical occurrence information reaches the preset frequency threshold, and the occurrence frequency information is used to record the occurrence frequency of the specified disease in the specified disease information record.
第三方面,本申请实施例提供一种电子设备,包括:In a third aspect, an embodiment of the present application provides an electronic device, including:
一个或多个处理器;存储器;以及一个或多个计算机程序,其中一个或多个计算机程序被存储在存储器中,一个或多个计算机程序包括指令,当指令被设备执行时,使得设备执行第一方面任一项的方法。One or more processors; memory; and one or more computer programs, where one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when the instructions are executed by the device, cause the device to execute the first Any one of the methods on the one hand.
第四方面,本申请实施例提供一种电子设备,包括:In a fourth aspect, an embodiment of the present application provides an electronic device, including:
一个或多个处理器;存储器;以及一个或多个计算机程序,其中一个或多个计算机程序被存储在存储器中,一个或多个计算机程序包括指令,当指令被设备执行时,使得设备执行第二方面任一项的方法。One or more processors; memory; and one or more computer programs, where one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when the instructions are executed by the device, cause the device to execute the first Any one of the two methods.
第五方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行第一方面任一项的方法。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium with a computer program stored in the computer-readable storage medium, and when it runs on a computer, the computer executes the method of any one of the first aspect.
第六方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行第二方面任一项的方法。In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium in which a computer program is stored, and when it runs on a computer, the computer executes any of the methods in the second aspect.
第七方面,本申请提供一种计算机程序,当计算机程序被计算机执行时,用于执行第一方面或第二方面的方法。In a seventh aspect, the present application provides a computer program, which is used to execute the method of the first aspect or the second aspect when the computer program is executed by a computer.
在一种可能的设计中,第七方面中的程序可以全部或者部分存储在与处理器封装在一起的存储介质上,也可以部分或者全部存储在不与处理器封装在一起的存储器上。In a possible design, the program in the seventh aspect may be stored in whole or in part on a storage medium packaged with the processor, or may be stored in part or in a memory not packaged with the processor.
附图说明Description of the drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative work, other drawings can be obtained from these drawings.
图1为本申请实施例电子设备的结构示意图;FIG. 1 is a schematic diagram of the structure of an electronic device according to an embodiment of the application;
图2为本申请实施例电子设备的软件结构框图;2 is a block diagram of the software structure of an electronic device according to an embodiment of the application;
图3为本申请实施例手机获取目标用户的日常行为的一种实现方式示例图;FIG. 3 is an example diagram of an implementation manner for the mobile phone to obtain the daily behavior of the target user according to the embodiment of the application; FIG.
图4为本申请实施例指定疾病的历史发生信息的设置界面示例图;FIG. 4 is an example diagram of a setting interface for the historical occurrence information of a specified disease in an embodiment of the application;
图5A为本申请风险预警方法一种可能的UI界面示意图;Figure 5A is a schematic diagram of a possible UI interface of the application risk early warning method;
图5B为本申请风险预警方法一种实施例的流程图;FIG. 5B is a flowchart of an embodiment of the risk early warning method of the application;
图6A为本申请本申请风险预警方法另一种可能的UI界面示意图;FIG. 6A is a schematic diagram of another possible UI interface of the risk early warning method of this application;
图6B为本申请风险预警方法又一种实施例的流程图;FIG. 6B is a flowchart of another embodiment of the risk early warning method of the application;
图7A为本申请本申请风险预警方法另一种可能的UI界面示意图;FIG. 7A is a schematic diagram of another possible UI interface of the risk early warning method of this application;
图7B为本申请风险预警方法又一种实施例的流程图;FIG. 7B is a flowchart of another embodiment of the risk early warning method of the application;
图8为本申请风险预警方法又一种实施例的流程图;FIG. 8 is a flowchart of another embodiment of the risk early warning method of the application;
图9为本申请风险行为信息获取方法一种实施例的流程图;FIG. 9 is a flowchart of an embodiment of a method for obtaining risk behavior information according to the application;
图10为本申请风险预警装置一种实施例的结构图;FIG. 10 is a structural diagram of an embodiment of the risk early warning device of this application;
图11为本申请风险行为信息获取装置一个实施例的结构图。Fig. 11 is a structural diagram of an embodiment of an apparatus for acquiring risk behavior information according to the application.
具体实施方式Detailed ways
本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The terms used in the implementation mode part of this application are only used to explain the specific embodiments of this application, and are not intended to limit this application.
现有的实现方案中,可穿戴设备中已经存在睡眠、运动、心率等健康相关因素的监测功能,而且,用户使用的电子设备如手机中也具有如运动健康App、智能情景模式App、心脏健康App等对用户的行为和疾病发生信息进行监测的功能。但是,上述功能仅能对用户的心率等特定健康因素进行监测,无法针对于一个目标用户识别对这一目标用户的指定疾病产生不良影响的用户行为。In the existing implementation solutions, wearable devices already have functions for monitoring health-related factors such as sleep, exercise, and heart rate. Moreover, electronic devices used by users such as mobile phones also have functions such as sports health apps, smart scene mode apps, and heart health. App and other functions to monitor user behavior and disease occurrence information. However, the above functions can only monitor specific health factors such as the user's heart rate, and cannot identify user behaviors that adversely affect the specified disease of the target user for a target user.
在一种可能的实施例中,可以在用户使用健康相关应用(App,application)进行健康相关的测量前后,由健康相关App弹出调查问卷,根据用户填写的调查问卷来分析用户的日常行为习惯,并且结合用户的健康相关测量结果来进一步分析导致用户发生疾病事件的风险因素。然而,调查问卷的内容是基于相关疾病在医学上的常规风险因素进行设计的,为了能够面向更多用户而具有普适性,从而分析得到的用户发生疾病事件的风险因素也只是疾病事件在医学上的常规风险因素,无法满足针对某一用户的个性化需求。In a possible embodiment, before and after the user uses a health-related application (App, application) to perform health-related measurements, a health-related App may pop up a questionnaire, and analyze the user’s daily behavior and habits according to the questionnaire filled out by the user. And combined with the user's health-related measurement results to further analyze the risk factors that lead to the user's disease events. However, the content of the questionnaire is designed based on the conventional medical risk factors of related diseases. It has universal applicability in order to be able to face more users. The risk factors of the user’s disease events obtained from the analysis are only the disease events in medicine. The above-mentioned conventional risk factors cannot meet the individual needs of a certain user.
在日常生活中有着诸多可能导致疾病发生的风险行为。同一疾病在医学上针对大多数患者有着普遍的、常规的风险行为,例如抽烟会导致动脉弹性变差,饮酒可能导致房颤的发生等。但是具体到每个患者,同一疾病的风险行为又因个体差异而不尽相同,例如有些患者会因睡眠质量差导致早搏的发生,而有些患者不会。所以,一个电子设备针对该电子设备的用户识别出该用户日常生活的行为中可能诱发该用户疾病发生的行为,并据此来进行疾病预测和预警,将可以更精准地帮助作为患者的用户实现主动健康管理,远离疾病困扰。There are many risky behaviors that may cause diseases in daily life. The same disease has common and conventional risk behaviors for most patients in medicine. For example, smoking can cause arterial elasticity to become poor, and drinking alcohol can cause atrial fibrillation. However, specific to each patient, the risk behavior of the same disease is different due to individual differences. For example, some patients will cause premature beats due to poor sleep quality, while some patients will not. Therefore, an electronic device for the user of the electronic device recognizes the behavior of the user’s daily life that may induce the user’s disease, and performs disease prediction and early warning based on this, which will help the user as a patient more accurately. Active health management, stay away from diseases.
为此,本申请实施例提出一种风险预警方法和电子设备,能够自动分析识别目标用户的行为中诱发目标用户发生疾病事件的风险行为,进而在目标用户再次进行风险行为时,向用户进行预警,辅助用户进行主动健康管理。To this end, the embodiment of the present application proposes a risk early warning method and electronic device, which can automatically analyze and identify the risk behavior of the target user that induces a disease event in the target user’s behavior, and then give an early warning to the user when the target user engages in the risk behavior again , To assist users in active health management.
本申请实施例还提出一种风险行为信息获取方法和电子设备,能够自动分析识别目标用户的行为中诱发目标用户发生疾病事件的风险行为,从而为风险预警方法提供预警依据。The embodiment of the present application also proposes a method and electronic device for acquiring risk behavior information, which can automatically analyze and identify the risk behavior of the target user that induces the occurrence of a disease event in the target user's behavior, so as to provide an early warning basis for the risk early warning method.
本申请实施例提供的风险预警方法以及风险行为信息获取方法可以应用于电子设备,例如:手机,平板电脑(Pad,portable android device),个人电脑(PC,person  computer),可穿戴设备例如智能眼镜、智能手表,智慧屏,智能网联车(Intelligent Connected Vehicle;以下简称:ICV),智能(汽)车(smart/intelligent car)或车载设备等。The risk early warning method and risk behavior information acquisition method provided by the embodiments of this application can be applied to electronic devices, such as mobile phones, tablet computers (Pad, portable android devices), personal computers (PC, person computer), wearable devices such as smart glasses , Smart watches, smart screens, Intelligent Connected Vehicles (Intelligent Connected Vehicle; hereinafter referred to as ICV), smart/intelligent cars (smart/intelligent cars) or in-vehicle equipment, etc.
示例性的,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。Exemplarily, FIG. 1 shows a schematic structural diagram of an electronic device 100. 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, and an antenna 2. , Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (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 light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present invention does 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 combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。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), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc. Among them, the different processing units may be independent devices or integrated in one or more processors.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface can include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface. receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多 组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。The I2C interface is a bidirectional synchronous serial bus, which includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple sets of I2C buses. The processor 110 may couple the touch sensor 180K, charger, flash, camera 193, etc., respectively through different I2C bus interfaces. For example, the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to implement the touch function of the electronic device 100.
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally 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 through the UART interface to realize the Bluetooth function. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。The MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices. The MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the electronic device 100.
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured through software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on. The GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。The USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones. The interface can also be used to connect other electronic devices, such as AR devices.
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely a schematic description, and does not constitute a structural limitation of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池 142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, the power management module 141 can also supply power to the electronic device.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。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 supplies power to the processor 110, the internal memory 121, the display screen 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 times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the 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 multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like 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), and the like. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and 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. The low-frequency baseband signal is processed by the baseband processor and then 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 provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating 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 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备 通信。所述无线通信技术可以包括全球移动通讯系统(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-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), and the quasi-zenith satellite system (quasi). -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and is used for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye. ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and is projected to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal. ISP outputs digital image signals to DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 100 may include one or N cameras 193, and N is a positive integer greater than one.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they 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 energy of the frequency point.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, for example, the transfer mode between human brain neurons, it can quickly process input information, and it can also continuously self-learn. The NPU can realize applications such as intelligent cognition of the electronic device 100, such as image recognition, face recognition, voice recognition, text understanding, and so on.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 may 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 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。The internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions. The internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function. The data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100. 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 magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like. 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.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。The speaker 170A, also called "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone", "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used to connect wired earphones. The earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180AThe pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be provided on the display screen 194. Pressure sensor 180A
的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。There are many types, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors and so on. The capacitive pressure sensor may include at least two parallel plates with conductive materials. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch position but have different touch operation intensities can correspond to different operation instructions. For example: when a touch operation whose intensity is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B may be used to determine the movement posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。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 holster. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, features such as automatic unlocking of the flip cover are set.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and be used in applications such as horizontal and vertical screen switching, pedometers and so on.
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。Distance sensor 180F, used to measure distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。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 to the outside 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 holds 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 the pocket mode will automatically unlock and lock the screen.
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平 衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light. The 180L ambient light sensor can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。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 value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J, so as 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 avoid abnormal shutdown of the electronic device 100 due to low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch device". The touch sensor 180K may be provided on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”. The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. The visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal. In some embodiments, the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone. The audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function. The application processor may analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The button 190 includes a power-on button, a volume button, and so on. The button 190 may be a mechanical button. It can also be a touch button. The electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback. For example, touch operations that act on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminding, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM 卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。The SIM card interface 195 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. The same SIM card interface 195 can insert multiple cards 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 call and data communication. In some embodiments, the electronic device 100 adopts an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiment of the present invention takes an Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 by way of example.
图2是本发明实施例的电子设备100的软件结构框图。FIG. 2 is a software structure block diagram of an electronic device 100 according to an embodiment of the present invention.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in Figure 2, the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 2, the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。The content provider is used to store and retrieve data and make these data accessible to applications. The data may include video, image, audio, phone calls made and received, browsing history and bookmarks, phone book, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls that display text, controls that display pictures, and so on. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, and so on. The notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompt text information in the status bar, sound a prompt sound, electronic device vibration, flashing indicator light, etc.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序 框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in a virtual machine. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。The system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
2D图形引擎是2D绘图的绘图引擎。The 2D graphics engine is a graphics engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
为了便于理解,本申请以下实施例将以具有图1和图2所示结构的电子设备为例,结合附图和应用场景,对本申请实施例提供的风险预警方法、风险行为信息获取方法进行具体说明。For ease of understanding, the following embodiments of the present application will take the electronic device with the structure shown in FIG. 1 and FIG. 2 as an example, combined with the accompanying drawings and application scenarios, to specifically describe the risk early warning method and risk behavior information acquisition method provided by the embodiments of the present application. illustrate.
本申请实施例的风险行为信息获取方法中,基于目标用户的历史行为信息,结合目标用户的指定疾病信息的历史发生信息,来确定目标用户的历史行为信息中诱发目标用户发生指定疾病的风险相对较高的行为,将这种行为认定为指定疾病对应的风险行为;进一步的,还可以为指定疾病对应的每一种风险行为设置风险参数例如风险等级或者风险值等,以此来标识每一种风险行为可能导致指定疾病发生的风险程度。以下,以执行上述风险行为信息获取方法的电子设备是手机为例进行说明。需要说明的是,以下实施例中的手机可以扩展至其他电子设备,这里不再赘述。In the risk behavior information acquisition method of the embodiment of the present application, based on the historical behavior information of the target user, combined with the historical occurrence information of the specified disease information of the target user, determine the relative risk of inducing the target user to develop the specified disease in the historical behavior information of the target user For higher behaviors, this behavior is identified as the risk behavior corresponding to the specified disease; further, risk parameters such as risk level or risk value can be set for each risk behavior corresponding to the specified disease to identify each risk behavior. This kind of risk behavior may lead to the degree of risk of the specified disease. In the following, the electronic device that executes the above method for obtaining risk behavior information is a mobile phone as an example for description. It should be noted that the mobile phone in the following embodiments can be extended to other electronic devices, which will not be repeated here.
目标用户是指本申请实施例的方法中进行指定疾病的风险行为信息获取、以及风险预警所针对的用户,一般是执行本申请实施例上述方法的电子设备的机主。本申请实施例中能够针对目标用户进行针对性和个性化的风险行为信息获取以及风险预警,更贴近目标用户自身的个体情况,打破现有技术中疾病监测的普适性,实现了根据个人身体差异进行疾病预警。The target user refers to the user for whom the method of the embodiment of the present application performs risk behavior information acquisition of the specified disease and the risk early warning, and is generally the owner of the electronic device that executes the above method of the embodiment of the present application. In the embodiments of this application, targeted and personalized risk behavior information acquisition and risk warning can be performed for target users, which is closer to the target user's own individual situation, breaks the universality of disease monitoring in the prior art, and realizes that according to the individual's body Differences in disease warning.
目标用户的指定疾病是目标用户发生过的疾病。目标用户的指定疾病的信息的获取途径可以包括但不限于以下几种:The specified disease of the target user is a disease that has occurred in the target user. The ways to obtain information about the specified disease of the target user can include but are not limited to the following:
根据用户的指定疾病设置操作获取,例如,手机为用户提供指定疾病设置界面,用户可以在界面中输入发生过的疾病的名称等信息,相应的,手机基于用户在界面中的操作获取目标用户的指定疾病的信息;和/或,According to the user’s specified disease setting operation, for example, the mobile phone provides the user with a designated disease setting interface, and the user can enter information such as the name of the disease that has occurred in the interface. Accordingly, the mobile phone obtains the target user’s information based on the user’s operation in the interface Information about the specified disease; and/or,
从目标用户的电子设备中设置的疾病信息中获取,目标用户的电子设备可以是执行上述风险行为信息获取方法的手机,也可以是目标用户的其他电子设备,例如可穿戴设备、平板电脑(Pad,portable android device)、个人电脑(PC,person computer)等,本申请实施例不作限定;和/或,Obtain from the disease information set in the electronic device of the target user. The electronic device of the target user can be a mobile phone that executes the above-mentioned method for acquiring risk behavior information, or other electronic devices of the target user, such as wearable devices, tablet computers (Pad , Portable android device), personal computer (PC, person computer), etc., which are not limited in the embodiments of this application; and/or,
从目标用户的电子设备中已安装的疾病监测应用(App,application)获取,目标 用户的电子设备可以是执行上述风险行为信息获取方法的手机,也可以是目标用户的其他电子设备,例如可穿戴设备、Pad、PC等,本申请实施例不作限定;和/或,Obtained from a disease monitoring application (App, application) installed in the target user’s electronic device. The target user’s electronic device can be a mobile phone that executes the aforementioned risk behavior information acquisition method, or it can be other electronic devices of the target user, such as wearables. Device, Pad, PC, etc., the embodiments of this application are not limited; and/or,
从医院系统记录的目标用户的就诊记录信息中获取,具体的,手机可以与医院系统连接,从医院系统获取目标用户的就诊记录信息,进而得到目标用户的指定疾病的信息。Obtain from the medical record information of the target user recorded by the hospital system. Specifically, the mobile phone can be connected to the hospital system to obtain the medical record information of the target user from the hospital system, and then obtain the information of the specified disease of the target user.
目标用户的指定疾病信息可以包括一种或者多种疾病的信息,由于本申请实施例的方法对每一种指定疾病的信息的处理过程可以相同,因此,本申请实施例中以目标用户的指定疾病信息中包括一种指定疾病的信息为例。The specified disease information of the target user may include information about one or more diseases. Since the method in the embodiment of this application has the same processing process for the information of each specified disease, the specified disease information of the target user is used in the embodiment of this application. The disease information includes information about a specific disease as an example.
目标用户日常的行为可以根据目标用户所使用的电子设备的全球定位系统(GPS,global positioning system)定位、陀螺仪传感器检测到的运动姿态、无线保真(WiFi,wireless fidelity)/蓝牙短距定位、亮屏时长、各类App使用情况、摄像头与麦克风等器件的使用情况等电子设备的使用信息综合分析得到,目标用户日常的行为可以包括但不限于:熬夜加班、长时间低头玩手机、长时间大音量听音乐、酒吧逗留等等。在分析目标用户的日常行为时,可以依据目标用户所使用的一个或多个电子设备的使用信息综合分析,用户所使用的电子设备可以包括但不限于:手机、Pad、PC、可穿戴设备例如智能眼镜和智能手表、家用电器例如电视和大屏等。参见图3所示,用户所使用的其他电子设备可以将自身的使用情况发送至手机,由手机对手机自身以及目标用户的其他电子设备的使用信息进行综合分析,得到目标用户的日常行为。目标用户所使用的电子设备之间的通信方式本申请实施例不限定,例如可以为有线通信或者无线通信,无线通信方式可以包括但不限于蓝牙、WiFi等。手机可以对分析得到的目标用户已发生的日常行为进行记录,成为历史行为信息。The daily behavior of the target user can be based on the global positioning system (GPS) positioning of the electronic device used by the target user, the movement posture detected by the gyroscope sensor, and the wireless fidelity (WiFi, wireless fidelity)/Bluetooth short-range positioning , The screen on time, the usage of various apps, the usage of cameras and microphones and other electronic equipment are comprehensively analyzed. The daily behavior of the target user can include but is not limited to: staying up late and working overtime, playing with mobile phones for a long time, Time to listen to music at loud volume, stay in a bar, etc. When analyzing the daily behavior of the target user, a comprehensive analysis can be made based on the usage information of one or more electronic devices used by the target user. The electronic devices used by the user may include but are not limited to: mobile phones, Pads, PCs, wearable devices such as Smart glasses and smart watches, household appliances such as TVs and large screens, etc. As shown in Figure 3, other electronic devices used by the user can send their own usage information to the mobile phone, and the mobile phone performs comprehensive analysis on the usage information of the mobile phone itself and other electronic devices of the target user to obtain the daily behavior of the target user. The communication mode between the electronic devices used by the target user is not limited in the embodiment of the present application. For example, it may be wired communication or wireless communication. The wireless communication mode may include, but is not limited to, Bluetooth, WiFi, and the like. The mobile phone can record the daily behaviors of the target user obtained by the analysis and become historical behavior information.
目标用户的电子设备例如手机、Pad、PC等中如果安装能够监测用户行为的应用(以下称为日常行为监测应用)例如智能情景模式App等,手机也可以从目标用户的电子设备已安装的一个或者多个日常行为监测应用中获取目标用户的历史行为信息。If an application capable of monitoring user behavior (hereinafter referred to as daily behavior monitoring application) is installed in the target user’s electronic device such as mobile phone, Pad, PC, etc., such as a smart scene mode App, the mobile phone can also be installed from a target user’s electronic device. Or obtain historical behavior information of target users from multiple daily behavior monitoring applications.
目标用户的指定疾病的历史发生信息可以根据目标用户的历史生物数据确定,和/或,从目标用户在目标用户的一个或多个目标用户的电子设备中设置的疾病发生信息中获取,和/或,从医院系统中目标用户的历史就诊记录中获取,和/或,从目标用户的电子设备已安装的能够进行目标用户的疾病监测的应用(以下称为疾病监测应用)例如心脏健康App、运动健康App等中获取。目标用户的指定疾病的历史发生信息可以包括:目标用户每次发生指定疾病的时间。The historical occurrence information of the specified disease of the target user can be determined according to the historical biological data of the target user, and/or obtained from the disease occurrence information set by the target user in the electronic device of one or more target users of the target user, and/ Or, obtain from the historical medical records of the target user in the hospital system, and/or from the application that can monitor the target user's disease (hereinafter referred to as the disease monitoring application) installed on the target user's electronic device (hereinafter referred to as the disease monitoring application), such as the heart health App, Get it from the Sports Health App, etc. The historical occurrence information of the specified disease of the target user may include: each time the specified disease occurs in the target user.
目标用户的生物数据可以从目标用户的可穿戴设备获得,手机可以从可穿戴设备中获取并记录目标用户的生物数据,从而得到目标用户的历史生物数据。例如,在目标用户对可穿戴设备的日常使用中,可穿戴设备可以通过光电容积脉搏波法(PPG,photoplethysmograph)、心电图(ECG,electrocardiogram)、加速度(ACC,acceleration)等各类生物信息传感器对目标用户的脉搏、心电、振动、声音等各种生物信息进行适时采集,并且通过各种相关算法对生物信息进行分析得出目标用户的心率、睡眠、运动锻炼等各类生物数据。可穿戴设备可以将目标用户的上述生物数据通过蓝牙、 WIFI等无线通讯方式上传至手机。相应的,手机可以根据目标用户的上述生物数据检测目标用户是否发生指定疾病,从而手机根据目标用户的历史生物数据可以确定目标用户的指定疾病的历史发生信息。The biological data of the target user can be obtained from the wearable device of the target user, and the mobile phone can obtain and record the biological data of the target user from the wearable device, thereby obtaining the historical biological data of the target user. For example, in the daily use of the wearable device by the target user, the wearable device can use various biological information sensors such as photoplethysmograph (PPG), electrocardiogram (ECG), acceleration (ACC, acceleration), etc. The target user's pulse, ECG, vibration, sound and other biological information are collected in a timely manner, and the biological information is analyzed through various related algorithms to obtain various biological data such as the target user's heart rate, sleep, and exercise. The wearable device can upload the above-mentioned biological data of the target user to the mobile phone through wireless communication methods such as Bluetooth and WIFI. Correspondingly, the mobile phone can detect whether the target user has a designated disease according to the above-mentioned biological data of the target user, so that the mobile phone can determine the historical occurrence information of the designated disease of the target user according to the historical biological data of the target user.
目标用户的指定疾病的历史发生信息可以由手机从目标用户在目标用户的电子设备(如手机、可穿戴设备、Pad等)中设置的疾病信息中获取,或者,手机也可以为目标用户提供指定疾病的历史发生信息的设置界面,例如图4所示,目标用户将自身发生指定疾病的时间输入文本控件,相应的,手机获取用户在文本控件中输入的内容,得到用户的指定疾病的发生时间。The historical occurrence information of the specified disease of the target user can be obtained by the mobile phone from the disease information set by the target user in the target user’s electronic device (such as mobile phone, wearable device, Pad, etc.), or the mobile phone can also provide the target user with the specified disease information The setting interface of disease history occurrence information, as shown in Figure 4, the target user enters the time when the specified disease occurred on himself into the text control. Correspondingly, the mobile phone obtains the content entered by the user in the text control to obtain the occurrence time of the user’s specified disease. .
本申请实施例的风险行为信息获取方法可以作为手机的一个系统功能实现,或者作为手机中一个新的App实现,或者作为一个已有App例如上述的日常行为监测应用或者疾病监测应用的一部分实现。The method for acquiring risk behavior information in the embodiments of the present application can be implemented as a system function of a mobile phone, or as a new App in the mobile phone, or as a part of an existing App, such as the aforementioned daily behavior monitoring application or disease monitoring application.
上述风险行为信息获取方法可以作为本申请实施例的风险预警方法的一部分,为风险预警方法提供预警的数据依据。本申请实施例的风险预警方法,可以基于上述风险行为信息获取方法确定的指定疾病的风险行为,监测目标用户的日常行为中是否发生风险行为,在发生风险行为时向用户进行针对于指定疾病的预警。进一步地,还可以按照风险行为的风险参数设置不同的预警策略,按照风险行为的风险参数所对应的预警策略进行预警。例如,对于不同的风险行为信息,可以设置对应的相关医学知识和专家建议,当用户正在进行或即将进行风险行为时,在对用户的预警中可以展示行为建议和健康指南,如尽早休息、禁止饮酒等提示。此类有针对性、直观可操作的提示有助于用户更加简单有效的避免疾病事件发生,更好的实现主动健康管理,提升用户体验。需要说明的是,具体的电子设备例如手机实现预警的方式本申请实施例不作限定,例如可以为弹出提示对话框、和/或手机播放预设提示音乐等等。The foregoing risk behavior information acquisition method can be used as a part of the risk early warning method of the embodiment of the present application, and provides a data basis for the risk early warning method. The risk early warning method of the embodiment of the present application may be based on the risk behavior of the specified disease determined by the above-mentioned risk behavior information acquisition method, monitor whether the risk behavior occurs in the daily behavior of the target user, and provide the user with the specified disease when the risk behavior occurs. Early warning. Further, different early warning strategies can be set according to the risk parameters of the risk behavior, and early warning can be performed according to the early warning strategy corresponding to the risk parameters of the risk behavior. For example, for different risk behavior information, you can set corresponding relevant medical knowledge and expert advice. When the user is performing or about to perform a risk behavior, the behavior advice and health guidelines can be displayed in the warning to the user, such as early rest, prohibition Drinking and other tips. Such targeted, intuitive and actionable prompts help users avoid disease events more easily and effectively, better realize active health management, and enhance user experience. It should be noted that the specific electronic device, such as a mobile phone, implements an early warning method in the embodiment of the present application, which is not limited. For example, it may be a pop-up prompt dialog box, and/or a mobile phone playing preset prompt music, and so on.
以下,以执行风险预警方法的电子设备是手机为例进行说明。需要说明的是,以下实施例中的手机可以扩展至其他电子设备,这里不再赘述。In the following, the electronic device implementing the risk early warning method is a mobile phone as an example for description. It should be noted that the mobile phone in the following embodiments can be extended to other electronic devices, which will not be repeated here.
手机在监测目标用户的日常行为时,可以从目标用户使用的至少一个电子设备中获取使用信息,根据使用信息确定目标用户的行为信息;和/或,手机还可以从目标用户的电子设备中已安装的日常行为监测应用获取目标用户的行为信息。When the mobile phone monitors the daily behavior of the target user, it can obtain usage information from at least one electronic device used by the target user, and determine the behavior information of the target user based on the usage information; and/or, the mobile phone can also obtain information from the target user’s electronic device. The installed daily behavior monitoring application obtains the behavior information of the target user.
本申请实施例的风险预警方法可以作为手机的一个功能实现,或者作为手机中一个新的App实现,或者作为一个已有App例如上述的日常行为监测应用或者疾病监测应用的一部分实现。本申请实施例的风险预警方法所包含的步骤,可以在同一个电子设备上实现,例如,风险预警方法包括的步骤均在目标用户的手机上实现;或者,本申请实施例的风险预警方法所包含的步骤,也可以在不同的电子设备上实现,例如,风险预警方法中风险行为信息获取的相关步骤可以在目标用户的可穿戴设备例如智能手表上实现,基于风险行为信息进行预警的相关步骤可以在目标用户的手机上实现。The risk early warning method of the embodiment of the present application can be implemented as a function of a mobile phone, or as a new App in the mobile phone, or as a part of an existing App, such as the aforementioned daily behavior monitoring application or disease monitoring application. The steps included in the risk early warning method of the embodiment of the application can be implemented on the same electronic device. For example, the steps included in the risk early warning method are all implemented on the mobile phone of the target user; or, the risk early warning method of the embodiment of the application is The steps included can also be implemented on different electronic devices. For example, the steps related to obtaining risk behavior information in the risk early warning method can be implemented on the target user’s wearable devices such as smart watches, and the related steps of early warning based on risk behavior information It can be implemented on the target user's mobile phone.
本申请实施例的风险预警方法,可以在同一个电子设备的同一个App中实现,或者,可以在同一个电子设备的不同App中实现,或者,可以在不同电子设备的相 同App中实现,或者,可以在不同电子设备的不同App中实现。例如,风险行为信息获取相关步骤和预警相关步骤均在目标用户的手机的健康App中实现;或者,风险行为信息获取相关步骤在目标用户的手机的健康App中实现,预警相关步骤在目标用户的手机的智能情景模式App中实现;或者,风险行为信息获取相关步骤在目标用户的Pad中的健康App中实现,预警相关步骤在目标用户的手机中的健康App中实现;或者,风险行为信息获取相关步骤在目标用户的Pad中的健康App中实现,预警相关步骤在目标用户的手机中的智能情景模式App中实现。The risk early warning method of the embodiments of this application can be implemented in the same App on the same electronic device, or can be implemented in different apps on the same electronic device, or can be implemented in the same App on different electronic devices, or , Can be implemented in different App of different electronic devices. For example, steps related to obtaining risk behavior information and early warning steps are implemented in the health app of the target user’s mobile phone; alternatively, steps related to obtaining risk behavior information are realized in the health app of the target user’s mobile phone, and early warning steps are implemented in the target user’s health app. It is implemented in the smart scene mode app of the mobile phone; or, the steps related to obtaining risk behavior information are implemented in the health app in the target user’s Pad, and the early warning steps are implemented in the health app in the target user’s mobile phone; or, the risk behavior information acquisition is The relevant steps are implemented in the health app in the target user's Pad, and the early warning steps are implemented in the smart scene mode App in the target user's mobile phone.
以下,以执行本申请实施例疾病的风险预警方法的电子设备是目标用户的手机为例,通过实例对本申请实施例风险预警方法进行说明。In the following, taking the electronic device that executes the disease risk early warning method according to the embodiment of the present application is the mobile phone of the target user as an example, the risk early warning method according to the embodiment of the present application is described through examples.
图5A给出了本申请实施例风险预警方法的一种可能的实施例的用户界面(UI,userinterface)及数据交互关系示意图,图5B给出了对应的流程图,在该实施例中,本申请实施例的风险预警方法作为目标用户的手机的一个系统功能“疾病风险行为预警”存在,具体的:FIG. 5A shows a schematic diagram of a user interface (UI, user interface) and data interaction relationship of a possible embodiment of the risk early warning method according to the embodiment of the present application, and FIG. 5B shows the corresponding flow chart. In this embodiment, this The risk early warning method of the application embodiment exists as a system function "disease risk behavior early warning" of the target user's mobile phone. Specifically:
在图5A的51部分,用户通过操作打开疾病风险行为预警设置界面,相应的,手机可以向目标用户展示例如图5A中所示的疾病风险行为预警设置界面,目标用户选择界面中的“开”控件,相应的,手机启动疾病风险行为预警功能;之后,In part 51 of Fig. 5A, the user opens the disease risk behavior warning setting interface through operation. Accordingly, the mobile phone can display the disease risk behavior warning setting interface shown in Fig. 5A to the target user. The target user selects "On" in the interface. Control, correspondingly, the mobile phone activates the disease risk behavior warning function; after that,
在图5A的52部分,手机向目标用户展示指定疾病设置界面,目标用户根据自身患病情况选择其中列举的至少一种疾病,例如图5A中假设目标用户选择“房颤”这一疾病,相应的,手机获取到指定疾病信息为“房颤”;需要说明的是,目标用户如果选择其中列举的多种疾病,则手机获取到的指定疾病信息中记录多种指定疾病,手机对于每一种指定疾病的信息的处理过程相同,本申请实施例中以指定疾病信息中仅记录有一种指定疾病为例。In part 52 of Figure 5A, the mobile phone displays the designated disease setting interface to the target user. The target user selects at least one of the diseases listed according to his own disease. Yes, the designated disease information obtained by the mobile phone is "atrial fibrillation"; it should be noted that if the target user selects multiple diseases listed in it, the designated disease information obtained by the mobile phone records multiple specified diseases, and the mobile phone is The processing process of the information of the designated disease is the same. In the embodiment of the application, only one type of designated disease is recorded in the designated disease information as an example.
在图5A的53部分,手机获取目标用户的历史行为信息以及目标用户的指定疾病信息的历史发生信息,确定指定疾病信息的风险行为信息。历史行为信息可以包括:用户行为名称、以及用户行为的发生时间。其中,用户行为名称仅为举例,也可以通过用户行为标识等描述用户行为的信息替代,本申请实施例不作限定。In part 53 of FIG. 5A, the mobile phone obtains the historical behavior information of the target user and the historical occurrence information of the specified disease information of the target user, and determines the risk behavior information of the specified disease information. The historical behavior information may include: the name of the user behavior and the time when the user behavior occurred. The name of the user behavior is only an example, and it can also be replaced by information describing the user behavior such as a user behavior identifier, which is not limited in the embodiment of the present application.
可选地,手机还可以根据获取到的上述历史行为信息和上述历史发生信息确定风险行为对应的风险参数。指定疾病信息的历史发生信息可以包括:指定疾病的名称、以及指定疾病的发生时间。指定疾病名称仅为举例,也可以通过指定疾病标识等描述用户行为的信息替代,本申请实施例不作限定。风险行为的风险参数用于标识风险行为对诱发目标用户发生指定疾病的风险程度,风险参数可以包括但不限于风险等级和/或风险值,风险程度越高,风险等级或者风险值可以越高。Optionally, the mobile phone may also determine the risk parameter corresponding to the risk behavior according to the acquired historical behavior information and the historical occurrence information. The historical occurrence information of the designated disease information may include: the name of the designated disease and the occurrence time of the designated disease. The designated disease name is only an example, and it can also be replaced by information describing the user's behavior such as designated disease identification, which is not limited in the embodiment of the present application. The risk parameter of the risk behavior is used to identify the risk degree of the risk behavior to induce the target user to develop the specified disease. The risk parameter may include but is not limited to the risk level and/or the risk value. The higher the risk level, the higher the risk level or the risk value.
其中,手机可以周期性的或者基于一定的触发条件触发获取信息以及确定风险行为步骤的执行,为了避免手机对同一历史行为信息或者历史发生信息进行重复性处理,手机获取目标用户的历史行为信息和指定疾病的历史发生信息时可以设置一个指定时间范围,以保证手机每次处理的目标用户的历史行为信息和指定疾病的历史发生信息不重复。Among them, the mobile phone can periodically or based on certain trigger conditions trigger the acquisition of information and determine the execution of the risky behavior step. In order to avoid the mobile phone from repetitive processing of the same historical behavior information or historical occurrence information, the mobile phone obtains the historical behavior information of the target user and When specifying the historical occurrence information of a disease, a specified time range can be set to ensure that the historical behavior information of the target user processed by the mobile phone each time and the historical occurrence information of the specified disease are not duplicated.
参见图5A的53部分所示,手机在获取指定时间范围内目标用户的指定疾病信 息对应的历史发生信息时:手机可以从目标用户的可穿戴设备例如智能手表获取指定时间范围内目标用户的历史生物数据,根据历史生物数据确定指定时间范围内目标用户是否发生房颤并记录发生房颤的时间,从而得到目标用户的“房颤”的历史发生信息;和/或,手机可以从连接的医院系统获取目标用户在指定时间范围内的就诊记录信息,从就诊记录信息中获取目标用户的“房颤”的历史发生信息;和/或,手机可以从手机和/或其他目标用户的电子设备(图5A中以Pad为例)已经安装的疾病监测App获取目标用户的“房颤”的历史发生信息。As shown in part 53 of Figure 5A, when the mobile phone obtains the historical occurrence information corresponding to the specified disease information of the target user within the specified time range: the mobile phone can obtain the target user's history within the specified time range from the wearable device of the target user, such as a smart watch Biological data, based on historical biological data, determine whether the target user has atrial fibrillation within a specified time range and record the time when the atrial fibrillation occurred, so as to obtain the historical occurrence information of the target user's "atrial fibrillation"; and/or the mobile phone can be obtained from the connected hospital The system obtains the medical record information of the target user within the specified time range, and obtains the historical occurrence information of the target user's "atrial fibrillation" from the medical record information; and/or the mobile phone can be obtained from the mobile phone and/or other electronic equipment of the target user ( In Figure 5A, Pad is taken as an example) The disease monitoring App has been installed to obtain the historical occurrence information of "atrial fibrillation" of the target user.
参见图5A的53部分所示,手机在获取指定时间范围内目标用户的历史行为信息时:手机可以从可穿戴设备、PC、Pad、电视等目标用户的电子设备获取目标用户在指定时间范围内对这些电子设备的历史使用信息,从而综合分析得到目标用户的历史行为信息,在图5A中以可穿戴设备、PC、电视为例;和/或,手机可以从手机和/或其他目标用户的电子设备(图5A中以Pad为例)已经安装的日常行为监测App获取目标用户的历史行为信息。As shown in part 53 of Figure 5A, when the mobile phone obtains the historical behavior information of the target user within the specified time range: the mobile phone can obtain the target user within the specified time range from the electronic device of the target user such as wearable devices, PCs, Pads, and TVs. The historical usage information of these electronic devices can be comprehensively analyzed to obtain the historical behavior information of the target user. In Figure 5A, wearable devices, PCs, and TVs are taken as examples; and/or the mobile phone can be obtained from mobile phones and/or other target users’ The daily behavior monitoring App that has been installed on the electronic device (Pad as an example in FIG. 5A) obtains historical behavior information of the target user.
在图5A的54部分,手机获取目标用户的行为信息。In part 54 of Fig. 5A, the mobile phone obtains the behavior information of the target user.
本步骤中手机获取的目标用户的行为信息一般是用户当前正在发生的行为的信息,如果行为的发生时间较短,也可能是刚刚发生过的行为的信息。手机在判断刚刚发生过的行为时,可以设置一时间阈值,如果行为结束时间到本步骤执行时间之间的时间间隔小于该时间阈值,可以认为是刚刚发生过的行为。The behavior information of the target user acquired by the mobile phone in this step is generally information about the behavior currently occurring to the user. If the occurrence time of the behavior is relatively short, it may also be information about the behavior that has just occurred. When the mobile phone judges the behavior that has just occurred, a time threshold can be set. If the time interval between the end of the behavior and the execution time of this step is less than the time threshold, it can be considered as the behavior that has just occurred.
参见图5A的54部分所示,手机可以从可穿戴设备获取目标用户使用的至少一个电子设备的使用信息,根据使用信息获取目标用户的行为信息;和/或,手机可以从手机和/或其他目标用户的电子设备(图5A中以Pad为例)已经安装的日常行为监测App获取目标用户的行为信息。As shown in part 54 of FIG. 5A, the mobile phone can obtain the usage information of at least one electronic device used by the target user from the wearable device, and obtain the behavior information of the target user according to the usage information; and/or, the mobile phone can obtain the usage information of the target user from the mobile phone and/or other The daily behavior monitoring App that has been installed on the target user's electronic device (Pad as an example in FIG. 5A) obtains behavior information of the target user.
在图5A的55部分,手机在目标用户的行为信息中出现指定疾病的风险行为信息时,向用户进行预警。In part 55 of FIG. 5A, the mobile phone warns the user when the risk behavior information of the specified disease appears in the behavior information of the target user.
其中,可以预设一种或多种预警策略,预警策略与风险行为信息对应的风险参数对应,手机可以根据风险参数对应的预警策略进行预警。例如在55部分,房颤的风险行为具有高风险和低风险两个风险等级,假设房颤的高风险的风险行为中包括:熬夜行为,则手机监测到用户发生熬夜行为时,可以通过弹出提示框的方式提示用户“熬夜行为可能引发房颤”,假设房颤的低风险的风险行为中包括:跑步,则手机监测到用户跑步时,可以通过弹出提示框的方式提示用户注意测量心电图,从而通过不同的预警策略达到指定疾病的预警目的。Among them, one or more early warning strategies can be preset, and the early warning strategy corresponds to the risk parameter corresponding to the risk behavior information, and the mobile phone can perform early warning according to the early warning strategy corresponding to the risk parameter. For example, in section 55, the risky behaviors of atrial fibrillation have two risk levels: high-risk and low-risk. Assuming that the high-risk risk behaviors of atrial fibrillation include: staying up late, when the mobile phone detects that the user is staying up late, you can use a pop-up reminder The box reminds the user that “behavior of staying up late may cause atrial fibrillation”. Assuming that the low-risk risk behaviors of atrial fibrillation include: running, when the mobile phone detects that the user is running, the user can prompt the user to pay attention to measuring the electrocardiogram through a pop-up reminder box. Through different early warning strategies, the purpose of early warning of designated diseases is achieved.
需要说明的是,图5A中所示的弹出提示框的预警方式仅为示例,还可以为手机播放指定音乐等等其他可能被用户感知的预警方式,本申请实施例不作限定。It should be noted that the warning method of the pop-up prompt box shown in FIG. 5A is only an example, and other warning methods that may be perceived by the user such as playing designated music for the mobile phone can also be used, which are not limited in the embodiment of the present application.
图5B是本申请实施例风险预警方法的一种可能的实施例流程图,如图5B所示,可以包括以下步骤:FIG. 5B is a flow chart of a possible embodiment of the risk early warning method according to the embodiment of the present application. As shown in FIG. 5B, it may include the following steps:
步骤501:手机获取目标用户的指定疾病信息。Step 501: The mobile phone obtains the designated disease information of the target user.
本步骤可以对应图5A中的52部分,这里不再赘述。This step can correspond to part 52 in FIG. 5A, and will not be repeated here.
步骤502:手机获取指定疾病信息对应的历史发生信息。Step 502: The mobile phone obtains the historical occurrence information corresponding to the specified disease information.
其中,手机可以周期性的或者基于某种时间规则获取当前时间之前一段时间内的历史发生信息,上述一段时间的具体时长本申请实施例不作限定,为了防止手机对指定疾病信息对应的同一历史发生信息进行重复处理,例如上述一段时间可以是手机前一次执行本申请实施例风险预警方法中确定风险行为信息步骤后至当前时间为止的时间段。Among them, the mobile phone can periodically or based on a certain time rule to obtain historical occurrence information within a period of time before the current time. The specific duration of the above period of time is not limited in this embodiment of the application, in order to prevent the mobile phone from responding to the specified disease information corresponding to the same historical occurrence. The information is processed repeatedly. For example, the aforementioned period of time may be the period of time until the current time after the step of determining risk behavior information in the risk early warning method of the embodiment of the present application was executed by the mobile phone.
步骤503:手机判断获取到的历史发生信息满足预设条件,获取指定时间范围内目标用户的历史行为信息以及指定时间范围内目标用户的指定疾病信息对应的历史发生信息。Step 503: The mobile phone determines that the acquired historical occurrence information satisfies preset conditions, and acquires historical behavior information of the target user within a specified time range and historical occurrence information corresponding to the specified disease information of the target user within the specified time range.
其中,手机可以通过判断目标用户发生“房颤”的次数超过预设的次数阈值或者发生频率超过预设的频率阈值来实现上述判断历史发生信息满足预设条件。Among them, the mobile phone may determine that the number of occurrences of "atrial fibrillation" of the target user exceeds a preset threshold of times or the frequency of occurrence exceeds a preset frequency threshold to realize that the aforementioned historical occurrence information satisfies the preset condition.
步骤504:手机根据指定时间范围内的历史发生信息以及历史行为信息,确定与目标用户的指定疾病信息具有关联关系的风险行为信息以及风险行为信息对应的风险参数。Step 504: The mobile phone determines the risk behavior information associated with the specified disease information of the target user and the risk parameters corresponding to the risk behavior information according to the historical occurrence information and the historical behavior information within the specified time range.
可选地,手机可以不确定风险行为信息对应的风险参数,此时风险行为信息中记录的风险行为之间可以不具有风险程度的区别。Optionally, the mobile phone may not determine the risk parameters corresponding to the risk behavior information, and at this time, there may be no difference in the degree of risk between the risk behaviors recorded in the risk behavior information.
其中,风险行为信息对应的风险参数可以包括但不限于风险值和/或风险等级,其中风险等级的具体数量本申请实施例不限制,例如可以包括风险相对较高的高风险行为、以及风险相对较低的低风险行为两个风险等级,也可以包括例如3个、4个或者更多个风险等级。Among them, the risk parameters corresponding to the risk behavior information may include, but are not limited to, risk value and/or risk level. The specific number of risk levels is not limited in the embodiment of the present application. For example, it may include high-risk behaviors with relatively high risks, and risk relative The two risk levels of the lower low-risk behavior may also include, for example, 3, 4, or more risk levels.
需要说明的是,本申请实施例风险预警方法可以基于步骤503中判断历史发生信息满足预设条件而被多次触发执行步骤503和步骤504,也即多次执行确定风险行为信息的步骤,相应的,房颤对应的风险行为、以及风险行为的风险参数是可以随着确定风险行为信息的步骤的多次执行而变化更新的,随着用户每次发生房颤之前用户发生的行为的不同,手机中记录的房颤对应的风险行为、风险行为的风险参数也可能变化更新,也即是说,用户的某一行为之前未被记录为风险行为,随着房颤发生之前该行为发生的次数增多,该行为可能被手机记录为风险行为,手机中已经记录的房颤的某一风险行为,也可能从房颤的风险行为中删除,同样的某一风险行为的风险参数也可以发生变化,这里不再举例说明。It should be noted that the risk early warning method of the embodiment of the present application may be triggered multiple times to execute steps 503 and 504 based on the judgment in step 503 that the historical occurrence information satisfies the preset conditions, that is, the step of determining risk behavior information is executed multiple times, correspondingly Yes, the risk behaviors corresponding to atrial fibrillation and the risk parameters of risk behaviors can be changed and updated as the steps of determining risk behavior information are executed multiple times. As the user's behavior is different each time before the user has atrial fibrillation, The risk behaviors and risk parameters of the risk behaviors recorded in the mobile phone may also change and update, that is, a certain behavior of the user has not been recorded as a risk behavior before, as the number of occurrences of the behavior before the occurrence of atrial fibrillation Increase, the behavior may be recorded as a risk behavior by the mobile phone, a certain risk behavior of atrial fibrillation that has been recorded in the mobile phone may also be deleted from the risk behavior of atrial fibrillation, and the risk parameters of the same risk behavior may also change. No more examples here.
在一种可能的实现方式中,手机中可以维护指定疾病信息对应的风险行为集合,风险行为集合中包括的元素可以为:(风险行为名称,风险参数)。相应的,手机确定与目标用户的指定疾病信息具有关联关系的风险行为信息以及风险行为信息对应的风险参数可以通过更新上述风险行为集合实现。具体的,对手机确定与目标用户的指定疾病信息具有关联关系的风险行为信息举实例说明如下:In a possible implementation manner, the mobile phone can maintain the risk behavior set corresponding to the specified disease information, and the elements included in the risk behavior set may be: (risk behavior name, risk parameter). Correspondingly, the mobile phone can determine the risk behavior information associated with the target user's designated disease information and the risk parameters corresponding to the risk behavior information by updating the above risk behavior set. Specifically, examples of risk behavior information that the mobile phone determines to have an association relationship with the target user's designated disease information are as follows:
假设指定疾病信息包括房颤,指定时间范围为最近一次房颤发生时间之前的72小时,风险参数是风险值,更新前的风险行为集合包括:(熬夜,90),(跑步,60),以12小时为间隔进行指定时间范围72小时的划分,得到6个时间段,每个时间段对应一定的风险值更新策略,如最近一次房颤发生时间之前的12小时内发生的风险行为的风险值在原值上提高10%,最近一次房颤发生时间之前的12小时~24小时内 的风险行为的风险值在原值上提高5%,依次递减;在多个时间段内都出现的同一风险行为可以对应更新多次风险值,也可以以最近一次为准更新一次风险值。Assuming that the specified disease information includes atrial fibrillation, the specified time range is 72 hours before the time of the most recent atrial fibrillation, and the risk parameter is the risk value. The set of risk behaviors before the update includes: (stay up late, 90), (running, 60), and The 12-hour interval is divided into a specified time range of 72 hours, and 6 time periods are obtained. Each time period corresponds to a certain risk value update strategy, such as the risk value of risk behaviors that occurred within 12 hours before the time of the most recent atrial fibrillation. Increase by 10% from the original value. The risk value of risky behaviors within 12 hours to 24 hours before the time of the most recent atrial fibrillation is increased by 5% from the original value and decreases in sequence; the same risk occurs in multiple time periods The behavior can update the risk value multiple times, or update the risk value once based on the most recent one.
需要说明的是,风险行为集合可以在手机首次执行风险行为信息获取方法时建立,也可以预先设置于手机中,如果预先设置于手机中,风险行为集合可以为空,也可以预先设置医学上常规风险行为,风险行为对应的风险值可以依照风险行为的风险程度设置,也可以统一设置为某个固定值,本申请实施例不作限定。例如,睡眠不足、熬夜等用户行为可以提高房颤的发生概率,因此,可以将(熬夜,60)(睡眠不足,60)预先设置于手机中房颤对应的风险行为结合。It should be noted that the risk behavior set can be established when the mobile phone executes the risk behavior information acquisition method for the first time, or it can be set in the mobile phone in advance. If it is set in the mobile phone in advance, the risk behavior set can be empty, or it can be preset in medical routines. For risk behavior, the risk value corresponding to the risk behavior may be set according to the risk level of the risk behavior, or may be uniformly set to a certain fixed value, which is not limited in the embodiment of the present application. For example, user behaviors such as insufficient sleep and staying up late can increase the probability of occurrence of atrial fibrillation. Therefore, (staying up late, 60) (lack of sleep, 60) can be preset in the mobile phone in combination with risk behaviors corresponding to atrial fibrillation.
需要说明的是,如果72小时内发生的用户行为中有风险行为集合中不包括的行为,可以将该行为添加至风险行为集合中作为风险行为,并且根据该行为所在的间隔对应的初始风险值设置该风险行为的风险值,或者将该风险行为的风险值设置为某个固定值;对于风险行为集合中包括但72小时内未发生的风险行为,可以按照预设策略降低该风险行为的风险值,并在风险值小于移除阈值时,将该风险行为从风险行为集合中移除。It should be noted that if there is a behavior that is not included in the risk behavior set in the user behavior that occurs within 72 hours, the behavior can be added to the risk behavior set as a risk behavior, and the initial risk value corresponding to the interval at which the behavior is located Set the risk value of the risky behavior, or set the risk value of the risky behavior to a certain fixed value; for the risky behaviors included in the risky behavior set but not occurred within 72 hours, the risk of the risky behavior can be reduced according to the preset strategy Value, and when the risk value is less than the removal threshold, the risk behavior is removed from the risk behavior set.
步骤505:手机获取目标用户的行为信息。Step 505: The mobile phone obtains the behavior information of the target user.
本步骤可以对应图5A中的54部分,这里不再赘述。This step can correspond to part 54 in FIG. 5A, and will not be repeated here.
步骤506:手机判断目标用户的行为信息中出现目标用户的指定疾病信息对应的风险行为信息时,向目标用户进行预警。Step 506: When the mobile phone judges that risk behavior information corresponding to the specified disease information of the target user appears in the behavior information of the target user, an early warning is given to the target user.
本步骤可以对应图5A中的55部分,这里不再赘述。This step can correspond to part 55 in FIG. 5A, and will not be repeated here.
需要说明的是,步骤502~504与步骤505~506之间的执行顺序不限定。It should be noted that the execution order between steps 502 to 504 and steps 505 to 506 is not limited.
图6A给出了本申请实施例风险预警方法的一种可能的实施例的UI界面及数据交互关系示意图,在该实施例中,本申请实施例风险预警方法作为目标用户的手机的一个应用“疾病风险预警”实现,具体的:6A shows a schematic diagram of the UI interface and data interaction relationship of a possible embodiment of the risk early warning method of the embodiment of the present application. In this embodiment, the risk early warning method of the embodiment of the present application is used as an application of the target user's mobile phone. "Disease risk warning" is realized, specifically:
在61和62部分,目标用户通过操作打开手机中的应用“疾病风险预警”,手机向目标用户展示应用中的疾病设置界面;目标用户根据自身患病情况从疾病设置界面列举的疾病中选择至少一种疾病,例如图6A中假设目标用户选择“房颤”这一疾病,相应的,手机通过疾病风险预警应用确定指定疾病信息为“房颤”。其中,可以通过数据授权共享或者数据通信等方式来实现同一设备的应用之间、或者不同设备的应用之间的数据传输。In Parts 61 and 62, the target user opens the application "disease risk warning" in the mobile phone through operation, and the mobile phone displays the disease setting interface in the application to the target user; the target user selects at least from the diseases listed in the disease setting interface according to their own disease A disease, for example, in Figure 6A, it is assumed that the target user selects the disease "atrial fibrillation". Accordingly, the mobile phone uses the disease risk warning application to determine the designated disease information as "atrial fibrillation". Among them, data transmission between applications of the same device or between applications of different devices can be realized through data authorization sharing or data communication.
图6A的63~65部分的实现可以参考图5A中53~55部分的相关描述,区别主要在于手机通过应用“疾病风险预警”实现图5A中的处理过程。For the implementation of parts 63-65 in FIG. 6A, please refer to the related descriptions in parts 53-55 in FIG. 5A. The main difference is that the mobile phone implements the processing process in FIG. 5A through the application of "disease risk warning".
图6A的实施例对应的本申请实施例风险预警方法包括的处理步骤可以参考图5B,区别主要在于:图6A的实施例对应的本申请实施例风险预警方法中,手机通过应用“疾病风险预警”实现步骤501~步骤506。The processing steps included in the risk early warning method of the embodiment of this application corresponding to the embodiment of Fig. 6A can be referred to Fig. 5B. The main difference lies in the following: "Step 501 to step 506 are implemented.
举实例来说,如图6B所示,可以包括以下步骤:For example, as shown in FIG. 6B, the following steps may be included:
在步骤601~步骤602中,疾病风险预警应用检测出房颤的发生次数超过次数阈值P,获取最近一次房颤发生时间之前指定时间范围内的目标用户的历史行为信息以 及房颤的历史发生信息;In steps 601 to 602, the disease risk warning application detects that the number of occurrences of atrial fibrillation exceeds the number threshold P, and obtains the target user's historical behavior information and the historical occurrence information of atrial fibrillation within a specified time range before the time of the latest atrial fibrillation. ;
在步骤603中,疾病风险预警应用根据获取的信息对预设的房颤的风险行为集合中的风险行为以及风险值进行更新;In step 603, the disease risk early warning application updates the risk behaviors and risk values in the preset risk behavior set of atrial fibrillation according to the acquired information;
在步骤604中,疾病风险预警应用判断风险行为集合中风险行为的风险值是否达到预设风险值阈值,如果达到,将该风险行为设置为高风险;In step 604, the disease risk early warning application judges whether the risk value of the risk behavior in the risk behavior set reaches the preset risk value threshold, and if it reaches, sets the risk behavior as high risk;
在步骤605中,疾病风险预警应用获取用户的行为信息,如果行为信息中出现高风险的风险行为信息,弹出例如图5A和图6A中的预警提示框进行预警。In step 605, the disease risk early warning application obtains the user's behavior information, and if high-risk risk behavior information appears in the behavior information, the warning prompt box in FIG. 5A and FIG. 6A pops up for early warning.
举例来说,如果目标用户熬夜至早晨才入睡,疾病风险预警应用统计了目标用户整晚发生房颤的次数,如果房颤发生的次数多次超过预设次数阈值,从而触发了风险行为集合中风险行为的风险值的更新,疾病风险预警应用多次更新“熬夜(睡眠不足)”这一风险行为的风险值,从而使得“熬夜(睡眠不足)”这一风险行为的风险值超过预设阈值,被设置为高风险。之后,如果目标用户超过晚上十一点不入睡,疾病风险预警应用可以弹出通知提醒目标用户熬夜(睡眠不足)会导致目标用户的房颤病情加重,需要注意保证充足的睡眠。For example, if the target user stays up late until the morning before falling asleep, the disease risk warning application counts the number of times the target user has atrial fibrillation throughout the night. If the number of atrial fibrillation occurrences exceeds the preset number threshold multiple times, the risk behavior set is triggered Update of the risk value of risky behaviors, the disease risk warning application updates the risk value of the risky behavior of "staying up late (lack of sleep)" multiple times, so that the risk value of the risky behavior of "staying up late (lack of sleep)" exceeds the preset threshold , Is set as high risk. After that, if the target user does not fall asleep beyond 11 o'clock in the evening, the disease risk warning application can pop up a notification to remind the target user that staying up late (lack of sleep) will cause the target user's atrial fibrillation to worsen, and attention needs to be paid to ensure adequate sleep.
需要说明的是疾病风险预警应用可以是一种疾病监测应用以及日常行为监测应用之外的应用,也可以是一种疾病监测应用、或者一种日常行为监测应用。例如,如果疾病风险预警应用是一种疾病监测应用,则疾病风险预警应用不仅可以从其他疾病监测应用、其他电子设备、医院系统等获取目标用户的指定疾病的历史发生信息,疾病风险预警应用本身也可以监测并记录目标用户的指定疾病的历史发生信息。It should be noted that the disease risk early warning application can be a disease monitoring application and an application other than the daily behavior monitoring application, or it can be a disease monitoring application or a daily behavior monitoring application. For example, if the disease risk warning application is a disease monitoring application, the disease risk warning application can not only obtain the historical occurrence information of the specified disease of the target user from other disease monitoring applications, other electronic devices, hospital systems, etc., the disease risk warning application itself It is also possible to monitor and record the historical occurrence information of the specified disease of the target user.
图7A给出了本申请实施例风险预警方法的另一种可能的实施例的UI界面示意图,图7A中由手机中的第一应用例如疾病监测应用获取指定疾病信息的风险行为信息,由手机中的第二应用例如日常行为监测应用依照第一应用获取的风险行为信息对目标用户日常行为中的风险行为进行预警。图7A的实现与图6A类似,区别主要在于:由于风险预警方法分散在两个应用中执行,所以第二应用需要从第一应用获取风险行为信息,以便进行日常行为是否是风险行为的判断。FIG. 7A shows a schematic diagram of a UI interface of another possible embodiment of the risk warning method according to the embodiment of the present application. In FIG. The second application in, such as a daily behavior monitoring application, provides early warning of the risky behavior of the target user in the daily behavior according to the risky behavior information obtained by the first application. The implementation of FIG. 7A is similar to that of FIG. 6A, with the main difference being: since the risk early warning method is dispersed and executed in two applications, the second application needs to obtain risk behavior information from the first application in order to judge whether the daily behavior is a risk behavior.
图7A的实施例对应的本申请实施例风险预警方法包括的处理步骤可以参考图5B,区别主要在于:图6A的实施例对应的本申请实施例风险预警方法中,手机通过第一应用实现步骤501~步骤504,通过第二应用实现步骤505~步骤506。The processing steps included in the risk early warning method of the embodiment of the present application corresponding to the embodiment of FIG. 7A can be referred to FIG. 5B. The main difference lies in: in the risk early warning method of the embodiment of the present application corresponding to the embodiment of FIG. Step 501-Step 504, implement Step 505-Step 506 through the second application.
以下通过实例对图7A所示的风险预警方法进行说明。如图7B所示,假设第一应用为目标用户的手机中的疾病监测应用,第二应用为目标用户的手机中的日常行为监测应用。该方法相对于图6B所示的方法流程,区别主要在于,由疾病监测应用执行步骤601~604,进行风险行为信息的获取,由日常行为监测应用基于风险行为信息进行指定疾病的风险预警。例如在图7B中,日常行为监测应用对于行为信息中高风险的风险行为、以及低风险的风险行为分别按照不同的预警策略进行预警,这里不再赘述。The following uses examples to illustrate the risk early warning method shown in FIG. 7A. As shown in FIG. 7B, it is assumed that the first application is a disease monitoring application in the mobile phone of the target user, and the second application is a daily behavior monitoring application in the mobile phone of the target user. Compared with the method flow shown in FIG. 6B, this method differs mainly in that steps 601 to 604 are executed by the disease monitoring application to obtain risk behavior information, and the daily behavior monitoring application performs risk warning of the specified disease based on the risk behavior information. For example, in Figure 7B, the daily behavior monitoring application performs early warnings for high-risk risky behaviors and low-risk risky behaviors in the behavior information according to different early warning strategies, which will not be repeated here.
需要说明的是,图7A所示的实施例还可以将手机的第一应用扩展至目标用户的第一电子设备的第一应用,将手机的第二应用扩展至目标用户的第二电子设备的第 二应用,第一电子设备和第二电子设备可以是相同的电子设备例如上述实施例中的手机,也可以是不同的电子设备,此时,需要保证第一电子设备和第二电子设备之间能够通信,通信方式本申请实施例不作限定。It should be noted that the embodiment shown in FIG. 7A can also extend the first application of the mobile phone to the first application of the first electronic device of the target user, and extend the second application of the mobile phone to the second electronic device of the target user. For the second application, the first electronic device and the second electronic device can be the same electronic device, such as the mobile phone in the above embodiment, or different electronic devices. In this case, it is necessary to ensure that the first electronic device and the second electronic device are It can communicate with each other, and the communication mode is not limited in the embodiment of this application.
基于以上的实施例,图8为本申请疾病的风险行为预警方法的一种实施例流程图,如图8所示,该方法可以包括:Based on the above embodiments, FIG. 8 is a flowchart of an embodiment of the risk behavior warning method for diseases according to the application. As shown in FIG. 8, the method may include:
步骤801:获取目标用户的行为信息;目标用户的行为信息用于描述目标用户的行为;Step 801: Obtain the behavior information of the target user; the behavior information of the target user is used to describe the behavior of the target user;
步骤802:判断目标用户的行为信息是否与指定疾病信息对应的风险行为信息匹配;指定疾病信息用于描述目标用户发生过的疾病,风险行为信息用于描述具有诱发目标用户发生疾病的风险的行为;Step 802: Determine whether the behavior information of the target user matches the risk behavior information corresponding to the designated disease information; the designated disease information is used to describe the disease that the target user has experienced, and the risk behavior information is used to describe the behavior that has the risk of inducing the target user to develop the disease ;
步骤803:如果目标用户的行为信息与指定疾病信息对应的风险行为信息匹配,向目标用户展示针对于指定疾病信息的预警信息。Step 803: If the behavior information of the target user matches the risk behavior information corresponding to the designated disease information, the target user is shown the early warning information for the designated disease information.
可选地,如果目标用户的行为信息与指定疾病信息对应的风险行为信息不匹配,可以不基于目标用户的行为信息进行预警处理,继续获取目标用户新的行为信息。Optionally, if the behavior information of the target user does not match the risk behavior information corresponding to the specified disease information, the early warning processing may not be performed based on the behavior information of the target user, and the new behavior information of the target user may continue to be obtained.
可选地,风险行为信息具有对应的风险参数;向目标用户展示针对于指定疾病信息的预警信息,包括:Optionally, the risk behavior information has corresponding risk parameters; displaying early warning information for the specified disease information to the target user, including:
根据与目标用户的行为信息匹配的风险行为信息所对应的风险参数,向目标用户展示针对于指定疾病信息的预警信息。According to the risk parameters corresponding to the risk behavior information matching the behavior information of the target user, the target user is shown the early warning information for the specified disease information.
可选地,风险参数包括风险等级;根据与目标用户的行为信息匹配的风险行为信息所对应的风险参数,向目标用户展示针对于指定疾病信息的预警信息,包括:Optionally, the risk parameter includes a risk level; according to the risk parameter corresponding to the risk behavior information that matches the behavior information of the target user, displaying the early warning information for the specified disease information to the target user, including:
根据与目标用户的行为信息匹配的风险行为信息所对应的风险等级,按照风险等级对应预警策略向目标用户展示针对于指定疾病信息的预警信息。According to the risk level corresponding to the risk behavior information matching the behavior information of the target user, the target user is shown the early warning information for the specified disease information according to the early warning strategy corresponding to the risk level.
可选地,风险参数包括风险值;根据与目标用户的行为信息匹配的风险行为信息所对应的风险参数,向目标用户展示针对于指定疾病信息的预警信息,包括:Optionally, the risk parameter includes a risk value; according to the risk parameter corresponding to the risk behavior information matching the behavior information of the target user, displaying the early warning information for the specified disease information to the target user, including:
根据与目标用户的行为信息匹配的风险行为信息所对应的风险值与预设风险阈值之间的关系确定预警策略;Determine the early warning strategy according to the relationship between the risk value corresponding to the risk behavior information matching the target user's behavior information and the preset risk threshold;
按照确定的预警策略向目标用户展示针对于指定疾病信息的预警信息。According to the determined early warning strategy, the target users are shown early warning information for the specified disease information.
可选地,获取目标用户的行为信息,包括:Optionally, acquiring behavior information of the target user includes:
获取目标用户使用的至少一个电子设备的使用信息,根据使用信息获取目标用户的行为信息;和/或,Obtain the usage information of at least one electronic device used by the target user, and obtain the behavior information of the target user according to the usage information; and/or,
从指定日常行为监测应用获取目标用户的行为信息。Obtain target user behavior information from designated daily behavior monitoring applications.
可选地,该方法还可以包括:Optionally, the method may further include:
从电子设备之外的电子设备获取指定疾病信息对应的风险行为信息;和/或,Obtain the risk behavior information corresponding to the specified disease information from an electronic device other than the electronic device; and/or,
从电子设备之外的电子设备的指定应用中获取指定疾病信息对应的风险行为信息;和/或,Obtain the risk behavior information corresponding to the specified disease information from the specified application of the electronic device other than the electronic device; and/or,
从电子设备的指定应用中获取指定疾病信息对应的风险行为信息。Obtain the risk behavior information corresponding to the specified disease information from the specified application of the electronic device.
可选地,指定疾病信息对应的风险行为信息的获取方法包括:Optionally, the method for obtaining risk behavior information corresponding to the specified disease information includes:
获取目标用户的指定疾病信息对应的历史发生信息;Obtain the historical occurrence information corresponding to the specified disease information of the target user;
判断历史发生信息满足预设条件,获取指定时间范围内目标用户的历史行为信息以及目标用户的指定疾病信息对应的历史发生信息;Determine that the historical occurrence information satisfies the preset conditions, and obtain the historical behavior information of the target user within the specified time range and the historical occurrence information corresponding to the specified disease information of the target user;
根据指定时间范围内的历史行为信息以及获取到的指定疾病信息对应的历史发生信息,确定与目标用户的指定疾病信息具有关联关系的风险行为信息。According to the historical behavior information within the specified time range and the acquired historical occurrence information corresponding to the specified disease information, risk behavior information that has an association relationship with the specified disease information of the target user is determined.
可选地,还包括:Optionally, it also includes:
根据指定时间范围内的历史行为信息以及指定疾病信息对应的历史发生信息,确定与目标用户的指定疾病信息具有关联关系的风险行为信息对应的风险参数。According to the historical behavior information within the designated time range and the historical occurrence information corresponding to the designated disease information, the risk parameter corresponding to the risk behavior information that has an association relationship with the designated disease information of the target user is determined.
可选地,获取指定时间范围内目标用户的指定疾病信息对应的历史发生信息,包括:Optionally, obtaining historical occurrence information corresponding to the specified disease information of the target user within a specified time range includes:
从指定就诊系统获取指定时间范围内目标用户的就诊记录信息,从获取的就诊记录信息中获取目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the medical record information of the target user within the specified time range from the designated medical treatment system, and obtain the historical occurrence information corresponding to the specified disease information of the target user from the acquired medical record information; and/or,
从指定疾病监测应用获取指定时间范围内目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the historical occurrence information corresponding to the specified disease information of the target user within the specified time range from the specified disease monitoring application; and/or,
从可穿戴设备获取指定时间范围内目标用户的历史生物数据,根据历史生物数据确定目标用户的指定疾病信息对应的历史发生信息。Obtain the historical biological data of the target user within the specified time range from the wearable device, and determine the historical occurrence information corresponding to the specified disease information of the target user according to the historical biological data.
可选地,获取指定时间范围内目标用户的历史行为信息,包括:Optionally, obtaining historical behavior information of the target user within a specified time range includes:
获取指定时间范围内目标用户使用的至少一个电子设备的使用信息,根据使用信息获取目标用户的历史行为信息;和/或,Obtain usage information of at least one electronic device used by the target user within a specified time range, and obtain historical behavior information of the target user according to the usage information; and/or,
从指定日常行为监测应用获取指定时间范围内目标用户的历史行为信息。Obtain historical behavior information of target users within a specified time range from a designated daily behavior monitoring application.
本申请实施例的上述方法在目标用户无需介入、无感知的情况下,基于目标用户的历史行为信息和目标用户的指定疾病信息对应的历史发生信息,自动分析并识别出诱发目标用户的指定疾病发生风险相对较大的风险行为信息,获取用户的日常行为信息,从中识别出风险行为信息进行预警,从而提醒目标用户加强对自身风险行为的控制,更好的实现主动健康管理,避免疾病事件的发生;而且,目标用户的指定疾病信息对应的风险行为信息是基于目标用户自身个体情况确定的,更贴近目标用户自身的个体情况,打破现有技术中疾病监测的普适性,实现了根据个人身体差异进行疾病预警。The above method of the embodiment of the present application automatically analyzes and identifies the specified disease that induces the target user based on the historical behavior information of the target user and the historical occurrence information corresponding to the specified disease information of the target user without the target user's intervention or perception. In the event of relatively risky risk behavior information, the user’s daily behavior information is obtained, and the risk behavior information is identified for early warning, so as to remind the target user to strengthen the control of their own risk behaviors, to better implement active health management, and to avoid disease events. Occurrence; Moreover, the risk behavior information corresponding to the target user’s designated disease information is determined based on the target user’s own individual situation, which is closer to the target user’s own individual situation, breaking the universality of disease monitoring in the prior art, and realizing the individual Early warning of diseases based on physical differences.
图9为本申请疾病的风险行为信息获取方法的一种实施例流程图,如图9所示,该方法可以包括:FIG. 9 is a flowchart of an embodiment of a method for obtaining risk behavior information of a disease according to the application. As shown in FIG. 9, the method may include:
步骤901:获取目标用户的指定疾病信息对应的历史发生信息。Step 901: Obtain historical occurrence information corresponding to the specified disease information of the target user.
步骤902:判断历史发生信息满足预设条件,获取指定时间范围内目标用户的历史行为信息以及目标用户的指定疾病信息对应的历史发生信息。Step 902: Determine that the historical occurrence information satisfies a preset condition, and obtain historical behavior information of the target user within a specified time range and historical occurrence information corresponding to the specified disease information of the target user.
其中,指定时间范围可以是:指定疾病最近一次的发生时间之前的一个预设时长的时间段,预设时长的具体长度本申请实施例不作限定。例如,假设当前时间是2020年5月20日20:58,指定疾病最近一次的发生时间是2020年5月20日20:55,预设时间段的时长是72小时,则指定时间范围可以是:2020年5月17日20:55~2020 年5月20日20:55。Wherein, the specified time range may be: a time period of a preset duration before the most recent occurrence time of the specified disease, and the specific length of the preset duration is not limited in this embodiment of the application. For example, assuming that the current time is 20:58 on May 20, 2020, the latest occurrence time of the specified disease is 20:55 on May 20, 2020, and the length of the preset time period is 72 hours, the specified time range can be : From 20:55 on May 17, 2020 to 20:55 on May 20, 2020.
步骤903:根据指定时间范围内的历史行为信息以及获取到的指定疾病信息对应的历史发生信息,确定与目标用户的指定疾病信息具有关联关系的风险行为信息。Step 903: According to the historical behavior information within the designated time range and the acquired historical occurrence information corresponding to the designated disease information, determine risk behavior information that has an association relationship with the designated disease information of the target user.
可选地,判断历史发生信息满足预设条件之后,还包括:Optionally, after judging that the historical occurrence information satisfies a preset condition, it further includes:
根据指定时间范围内的历史行为信息以及指定疾病信息对应的历史发生信息,确定与目标用户的指定疾病信息具有关联关系的风险行为信息对应的风险参数。According to the historical behavior information within the designated time range and the historical occurrence information corresponding to the designated disease information, the risk parameter corresponding to the risk behavior information that has an association relationship with the designated disease information of the target user is determined.
可选地,获取指定时间范围内目标用户的指定疾病信息对应的历史发生信息,包括:Optionally, obtaining historical occurrence information corresponding to the specified disease information of the target user within a specified time range includes:
从指定就诊系统获取指定时间范围内目标用户的就诊记录信息,从获取的就诊记录信息中获取目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the medical record information of the target user within the specified time range from the designated medical treatment system, and obtain the historical occurrence information corresponding to the specified disease information of the target user from the acquired medical record information; and/or,
从指定疾病监测应用获取指定时间范围内目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the historical occurrence information corresponding to the specified disease information of the target user within the specified time range from the specified disease monitoring application; and/or,
从可穿戴设备获取指定时间范围内目标用户的历史生物数据,根据历史生物数据确定目标用户的指定疾病信息对应的历史发生信息。Obtain the historical biological data of the target user within the specified time range from the wearable device, and determine the historical occurrence information corresponding to the specified disease information of the target user according to the historical biological data.
可选地,获取指定时间范围内目标用户的历史行为信息,包括:Optionally, obtaining historical behavior information of the target user within a specified time range includes:
获取指定时间范围内目标用户使用的至少一个电子设备的使用信息,根据使用信息获取目标用户的历史行为信息;和/或,Obtain usage information of at least one electronic device used by the target user within a specified time range, and obtain historical behavior information of the target user according to the usage information; and/or,
从指定日常行为监测应用获取指定时间范围内目标用户的历史行为信息。Obtain historical behavior information of target users within a specified time range from a designated daily behavior monitoring application.
可选地,获取目标用户的指定疾病信息对应的历史发生信息之前,还包括:Optionally, before obtaining the historical occurrence information corresponding to the specified disease information of the target user, the method further includes:
获取目标用户的指定疾病信息,指定疾病信息用于记录目标用户发生过的疾病。Obtain the designated disease information of the target user, and the designated disease information is used to record the disease that the target user has occurred.
可选地,获取目标用户的指定疾病信息,包括:Optionally, obtaining the specified disease information of the target user includes:
获取目标用户在预设界面上选择的疾病信息,将获取到的疾病信息作为指定疾病信息;和/或,Obtain the disease information selected by the target user on the preset interface, and use the acquired disease information as the designated disease information; and/or,
从指定就诊系统获取目标用户的就诊记录信息,从就诊记录信息中获取目标用户的指定疾病信息;和/或,Obtain the medical record information of the target user from the designated medical treatment system, and obtain the designated disease information of the target user from the medical record information; and/or,
从指定疾病监测应用获取目标用户的历史疾病信息,从历史疾病信息中获取用户的指定疾病信息;和/或,Obtain the historical disease information of the target user from the designated disease monitoring application, and obtain the user's designated disease information from the historical disease information; and/or,
获取目标用户的历史生物数据,根据历史生物数据确定目标用户的指定疾病信息。Obtain historical biological data of the target user, and determine the specified disease information of the target user based on the historical biological data.
可选地,判断历史发生信息满足预设条件,包括:Optionally, determining that the historical occurrence information satisfies preset conditions includes:
判断历史发生信息中指定疾病信息对应的次数信息达到预设次数阈值,次数信息用于记录指定疾病信息记录的指定疾病的发生次数;和/或,Determine that the number of times information corresponding to the specified disease information in the historical occurrence information reaches the preset number threshold, and the number of times information is used to record the number of occurrences of the specified disease in the specified disease information record; and/or,
判断历史发生信息中指定疾病信息对应的发生频率信息达到预设频率阈值,发生频率信息用于记录指定疾病信息记录的指定疾病的发生频率。It is determined that the occurrence frequency information corresponding to the specified disease information in the historical occurrence information reaches the preset frequency threshold, and the occurrence frequency information is used to record the occurrence frequency of the specified disease in the specified disease information record.
举实例对图9所示的风险行为信息获取方法进行说明,具体的,Take an example to illustrate the method of obtaining risk behavior information shown in Figure 9. Specifically,
电子设备中可以预先设置指定疾病信息对应的风险行为集合。The set of risk behaviors corresponding to the specified disease information can be preset in the electronic device.
其中,风险行为集合初始可以为空,或者,预设一个或者多个风险行为信息以及风险行为信息的风险参数。风险行为信息可以包括风险行为的名称;假设风险参 数是风险值。Among them, the risk behavior set can be initially empty, or one or more risk behavior information and risk parameters of the risk behavior information can be preset. The risk behavior information can include the name of the risk behavior; it is assumed that the risk parameter is the risk value.
指定疾病信息的风险行为集合中包括的风险行为信息对应的风险行为是可能导致指定疾病发生的行为。预设的风险行为信息可以是医学上对于指定疾病具有普遍、常规影响的行为的描述信息。风险行为信息的风险值标识风险行为诱发指定疾病的风险程度。风险值可以是一个数值,风险行为信息对应的风险行为诱发指定疾病的风险越高,风险值越大。The risk behavior corresponding to the risk behavior information included in the risk behavior set of the specified disease information is the behavior that may cause the occurrence of the specified disease. The preset risk behavior information may be description information of behaviors that have a general and routine influence on a specified disease in medicine. The risk value of the risk behavior information identifies the risk degree of the risk behavior inducing a specified disease. The risk value may be a numerical value, and the higher the risk of the risk behavior corresponding to the risk behavior information that induces the specified disease, the greater the risk value.
例如,对于心脏早搏而言,普遍的风险行为可以包括喝酒、熬夜等,则心脏早搏的风险行为集合可以预设以下风险行为信息:喝酒、熬夜。可选地,风险行为集合中的风险行为也可以由用户根据自身情况自主添加,本申请实施例不作限定。For example, for premature cardiac beats, common risk behaviors may include drinking, staying up late, etc., and the risk behavior set of premature cardiac beats may preset the following risk behavior information: drinking, staying up late. Optionally, the risk behaviors in the risk behavior set can also be added by the user voluntarily according to their own circumstances, which is not limited in the embodiment of the present application.
预设的风险行为信息的风险值可以相同,也可以根据风险程度设置不同值,本申请实施例不作限定。The risk values of the preset risk behavior information may be the same, or different values may be set according to the degree of risk, which is not limited in the embodiment of the present application.
另外,电子设备中还可以预设一个或多个风险值阈值,从而将风险行为集合中风险行为信息划分风险等级,例如设置一个风险值阈值,则风险值超过风险值阈值的风险行为信息对应高风险等级,风险行为集合中风险值不超过风险值阈值的风险行为信息对应低风险等级。In addition, one or more risk value thresholds can be preset in the electronic device to classify the risk behavior information in the risk behavior set into risk levels. For example, if a risk value threshold is set, the risk behavior information whose risk value exceeds the risk value threshold corresponds to high Risk level, the risk behavior information in the risk behavior set whose risk value does not exceed the risk value threshold corresponds to the low risk level.
在具有预设风险行为集合的情况下,步骤903中确定与目标用户的指定疾病信息具有关联关系的风险行为信息可以为更新风险行为集合。具体可以包括:In the case of a preset risk behavior set, the risk behavior information determined to have an association relationship with the specified disease information of the target user in step 903 may be an updated risk behavior set. It can include:
对于获取到的每个用户行为信息:如果该用户行为信息未包括在风险行为集合中,将该用户行为信息加入风险行为集合,根据该用户行为信息的发生时间与该用户行为信息的发生时间之后指定疾病的最近一次发生时间之间的时间间隔确定该用户行为信息的风险值;如果该用户行为信息包括在风险行为集合中,根据该用户行为信息的发生时间与该用户行为信息的发生时间之后指定疾病的最近一次发生时间之间的时间间隔更新该用户行为信息的风险值。可选地,如果获取到的目标用户的历史行为信息中同一用户行为发生多次,也即具有多个同一用户行为信息,可以对每个用户行为信息均执行以上操作。可选地,对于风险行为集合中未在目标用户的历史行为信息中出现的风险行为信息,根据预设规则降低该风险行为信息的风险值。For each user behavior information obtained: if the user behavior information is not included in the risk behavior set, add the user behavior information to the risk behavior set, according to the time when the user behavior information occurs and the time after the user behavior information occurs Specify the time interval between the latest occurrence of the disease to determine the risk value of the user behavior information; if the user behavior information is included in the risk behavior set, according to the occurrence time of the user behavior information and the time after the occurrence time of the user behavior information Specify the time interval between the latest occurrence of the disease to update the risk value of the user's behavior information. Optionally, if the same user behavior occurs multiple times in the acquired historical behavior information of the target user, that is, there are multiple pieces of the same user behavior information, the above operations can be performed on each user behavior information. Optionally, for risk behavior information in the risk behavior set that does not appear in the historical behavior information of the target user, the risk value of the risk behavior information is reduced according to a preset rule.
本申请实施例的上述方法在目标用户无需介入、无感知的情况下监测其日常行为,自动分析并识别出诱发目标用户的指定疾病发生风险相对较大的风险行为,并进行预警,从而提醒目标用户加强对自身风险行为的控制,更好的实现主动健康管理,避免疾病事件的发生。The above method of the embodiment of the application monitors the target user's daily behavior without intervention or perception, automatically analyzes and identifies risky behaviors that induce the target user to have a relatively high risk of occurrence of the specified disease, and provides early warning to remind the target Users strengthen the control of their own risk behaviors, better realize active health management, and avoid the occurrence of disease events.
可以理解的是,上述实施例中的部分或全部步骤骤或操作仅是示例,本申请实施例还可以执行其它操作或者各种操作的变形。此外,各个步骤可以按照上述实施例呈现的不同的顺序来执行,并且有可能并非要执行上述实施例中的全部操作。It can be understood that some or all of the steps or operations in the above-mentioned embodiments are merely examples, and the embodiments of the present application may also perform other operations or various operation modifications. In addition, each step may be performed in a different order presented in the foregoing embodiment, and it may not be necessary to perform all operations in the foregoing embodiment.
图10为本申请风险预警装置一个实施例的结构示意图,如图10所示,该装置1000可以包括:FIG. 10 is a schematic structural diagram of an embodiment of the risk early warning device of this application. As shown in FIG. 10, the device 1000 may include:
获取单元1010,用于获取目标用户的行为信息;目标用户的行为信息用于描述目标用户的行为;The obtaining unit 1010 is used to obtain behavior information of the target user; the behavior information of the target user is used to describe the behavior of the target user;
判断单元1020,用于判断目标用户的行为信息是否与指定疾病信息对应的风险行为信息匹配;指定疾病信息用于描述目标用户发生过的疾病,风险行为信息用于描述具有诱发目标用户发生疾病的风险的行为;The judging unit 1020 is used to judge whether the behavior information of the target user matches the risk behavior information corresponding to the designated disease information; the designated disease information is used to describe the disease that the target user has experienced, and the risk behavior information is used to describe the disease that has induced the target user to develop the disease Risky behavior
展示单元1030,用于如果目标用户的行为信息与指定疾病信息对应的风险行为信息匹配,向目标用户展示针对于指定疾病信息的预警信息。The display unit 1030 is configured to display the early warning information for the designated disease information to the target user if the behavior information of the target user matches the risk behavior information corresponding to the designated disease information.
可选地,风险行为信息具有对应的风险参数;展示单元1030具体可以用于:根据与目标用户的行为信息匹配的风险行为信息所对应的风险参数,向目标用户展示针对于指定疾病信息的预警信息。Optionally, the risk behavior information has corresponding risk parameters; the display unit 1030 may be specifically used to: display the target user an early warning for the specified disease information according to the risk parameter corresponding to the risk behavior information matching the behavior information of the target user information.
可选地,风险参数包括风险等级;展示单元1030具体可以用于:根据与目标用户的行为信息匹配的风险行为信息所对应的风险等级,按照风险等级对应预警策略向目标用户展示针对于指定疾病信息的预警信息。Optionally, the risk parameter includes a risk level; the display unit 1030 may be specifically used to: according to the risk level corresponding to the risk behavior information matching the behavior information of the target user, according to the risk level corresponding early warning strategy to show the target user that the disease is specific to the specified disease Information warning information.
可选地,风险参数包括风险值;展示单元1030具体可以用于:根据与目标用户的行为信息匹配的风险行为信息所对应的风险值与预设风险阈值之间的关系确定预警策略;Optionally, the risk parameter includes a risk value; the display unit 1030 may be specifically used to determine an early warning strategy according to the relationship between the risk value corresponding to the risk behavior information matching the target user's behavior information and the preset risk threshold;
按照确定的预警策略向目标用户展示针对于指定疾病信息的预警信息。According to the determined early warning strategy, the target users are shown early warning information for the specified disease information.
可选地,获取单元1010具体可以用于:Optionally, the acquiring unit 1010 may be specifically used for:
获取目标用户使用的至少一个电子设备的使用信息,根据使用信息获取目标用户的行为信息;和/或,Obtain the usage information of at least one electronic device used by the target user, and obtain the behavior information of the target user according to the usage information; and/or,
从指定日常行为监测应用获取目标用户的行为信息。Obtain target user behavior information from designated daily behavior monitoring applications.
可选地,获取单元1010还可以用于:Optionally, the acquiring unit 1010 may also be used to:
从电子设备之外的电子设备获取指定疾病信息对应的风险行为信息;和/或,Obtain the risk behavior information corresponding to the specified disease information from an electronic device other than the electronic device; and/or,
从电子设备之外的电子设备的指定应用中获取指定疾病信息对应的风险行为信息;和/或,Obtain the risk behavior information corresponding to the specified disease information from the specified application of the electronic device other than the electronic device; and/or,
从电子设备的指定应用中获取指定疾病信息对应的风险行为信息。Obtain the risk behavior information corresponding to the specified disease information from the specified application of the electronic device.
可选地,获取单元1010还可以用于:获取目标用户的指定疾病信息对应的历史发生信息;Optionally, the obtaining unit 1010 may also be used to: obtain historical occurrence information corresponding to the specified disease information of the target user;
判断单元1020还可以用于:判断历史发生信息满足预设条件,获取指定时间范围内目标用户的历史行为信息以及目标用户的指定疾病信息对应的历史发生信息;The judging unit 1020 can also be used for judging that the historical occurrence information satisfies a preset condition, and obtaining the historical behavior information of the target user within a specified time range and the historical occurrence information corresponding to the specified disease information of the target user;
该装置1000还可以包括:确定单元,用于根据指定时间范围内的历史行为信息以及获取到的指定疾病信息对应的历史发生信息,确定与目标用户的指定疾病信息具有关联关系的风险行为信息。The device 1000 may further include: a determining unit for determining risk behavior information associated with the specified disease information of the target user based on the historical behavior information within a specified time range and the acquired historical occurrence information corresponding to the specified disease information.
可选地,确定单元还可以用于:根据指定时间范围内的历史行为信息以及指定疾病信息对应的历史发生信息,确定与目标用户的指定疾病信息具有关联关系的风险行为信息对应的风险参数。Optionally, the determining unit may also be used to determine the risk parameter corresponding to the risk behavior information associated with the specified disease information of the target user based on the historical behavior information within the specified time range and the historical occurrence information corresponding to the specified disease information.
可选地,获取单元1010具体可以用于:Optionally, the acquiring unit 1010 may be specifically used for:
从指定就诊系统获取指定时间范围内目标用户的就诊记录信息,从获取的就诊记录信息中获取目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the medical record information of the target user within the specified time range from the designated medical treatment system, and obtain the historical occurrence information corresponding to the specified disease information of the target user from the acquired medical record information; and/or,
从指定疾病监测应用获取指定时间范围内目标用户的指定疾病信息对应的历史 发生信息;和/或,Obtain the historical occurrence information corresponding to the specified disease information of the target user within the specified time range from the specified disease monitoring application; and/or,
从可穿戴设备获取指定时间范围内目标用户的历史生物数据,根据历史生物数据确定目标用户的指定疾病信息对应的历史发生信息。Obtain the historical biological data of the target user within the specified time range from the wearable device, and determine the historical occurrence information corresponding to the specified disease information of the target user according to the historical biological data.
可选地,获取单元1010具体可以用于:Optionally, the acquiring unit 1010 may be specifically used for:
获取指定时间范围内目标用户使用的至少一个电子设备的使用信息,根据使用信息获取目标用户的历史行为信息;和/或,Obtain usage information of at least one electronic device used by the target user within a specified time range, and obtain historical behavior information of the target user according to the usage information; and/or,
从指定日常行为监测应用获取指定时间范围内目标用户的历史行为信息。Obtain historical behavior information of target users within a specified time range from a designated daily behavior monitoring application.
图11为本申请风险行为信息获取装置一个实施例的结构示意图,如图11所示,该装置1100可以包括:FIG. 11 is a schematic structural diagram of an embodiment of an apparatus for acquiring risk behavior information according to this application. As shown in FIG. 11, the apparatus 1100 may include:
获取单元1110,用于获取目标用户的指定疾病信息对应的历史发生信息;判断历史发生信息满足预设条件,获取指定时间范围内目标用户的历史行为信息以及目标用户的指定疾病信息对应的历史发生信息;The acquiring unit 1110 is used to acquire the historical occurrence information corresponding to the specified disease information of the target user; determine that the historical occurrence information satisfies preset conditions, and obtain the historical behavior information of the target user within the specified time range and the historical occurrence corresponding to the specified disease information of the target user information;
确定单元1120,用于根据指定时间范围内的历史行为信息以及获取到的指定疾病信息对应的历史发生信息,确定与目标用户的指定疾病信息具有关联关系的风险行为信息。The determining unit 1120 is configured to determine the risk behavior information associated with the specified disease information of the target user based on the historical behavior information within the specified time range and the acquired historical occurrence information corresponding to the specified disease information.
可选地,确定单元1120还可以用于:根据指定时间范围内的历史行为信息以及指定疾病信息对应的历史发生信息,确定与目标用户的指定疾病信息具有关联关系的风险行为信息对应的风险参数。Optionally, the determining unit 1120 may be further configured to: determine the risk parameter corresponding to the risk behavior information associated with the specified disease information of the target user based on the historical behavior information within the specified time range and the historical occurrence information corresponding to the specified disease information .
可选地,获取单元1110具体可以用于:Optionally, the obtaining unit 1110 may be specifically used for:
从指定就诊系统获取指定时间范围内目标用户的就诊记录信息,从获取的就诊记录信息中获取目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the medical record information of the target user within the specified time range from the designated medical treatment system, and obtain the historical occurrence information corresponding to the specified disease information of the target user from the acquired medical record information; and/or,
从指定疾病监测应用获取指定时间范围内目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the historical occurrence information corresponding to the specified disease information of the target user within the specified time range from the specified disease monitoring application; and/or,
从可穿戴设备获取指定时间范围内目标用户的历史生物数据,根据历史生物数据确定目标用户的指定疾病信息对应的历史发生信息。Obtain the historical biological data of the target user within the specified time range from the wearable device, and determine the historical occurrence information corresponding to the specified disease information of the target user according to the historical biological data.
可选地,获取单元1110具体可以用于:Optionally, the acquiring unit 1110 may be specifically used for:
获取指定时间范围内目标用户使用的至少一个电子设备的使用信息,根据使用信息获取目标用户的历史行为信息;和/或,Obtain usage information of at least one electronic device used by the target user within a specified time range, and obtain historical behavior information of the target user according to the usage information; and/or,
从指定日常行为监测应用获取指定时间范围内目标用户的历史行为信息。Obtain historical behavior information of target users within a specified time range from a designated daily behavior monitoring application.
可选地,获取单元1110还可以用于:Optionally, the obtaining unit 1110 may also be used to:
获取目标用户的指定疾病信息,指定疾病信息用于记录目标用户发生过的疾病。Obtain the designated disease information of the target user, and the designated disease information is used to record the disease that the target user has occurred.
可选地,获取单元1110具体可以用于:Optionally, the acquiring unit 1110 may be specifically used for:
获取目标用户在预设界面上选择的疾病信息,将获取到的疾病信息作为指定疾病信息;和/或,Obtain the disease information selected by the target user on the preset interface, and use the acquired disease information as the designated disease information; and/or,
从指定就诊系统获取目标用户的就诊记录信息,从就诊记录信息中获取目标用户的指定疾病信息;和/或,Obtain the medical record information of the target user from the designated medical treatment system, and obtain the designated disease information of the target user from the medical record information; and/or,
从指定疾病监测应用获取目标用户的历史疾病信息,从历史疾病信息中获取用户的指定疾病信息;和/或,Obtain the historical disease information of the target user from the designated disease monitoring application, and obtain the user's designated disease information from the historical disease information; and/or,
获取目标用户的历史生物数据,根据历史生物数据确定目标用户的指定疾病信息。Obtain historical biological data of the target user, and determine the specified disease information of the target user based on the historical biological data.
可选地,获取单元1110具体可以用于:Optionally, the obtaining unit 1110 may be specifically used for:
判断历史发生信息中指定疾病信息对应的次数信息达到预设次数阈值,次数信息用于记录指定疾病信息记录的指定疾病的发生次数;和/或,Determine that the number of times information corresponding to the specified disease information in the historical occurrence information reaches the preset number threshold, and the number of times information is used to record the number of occurrences of the specified disease in the specified disease information record; and/or,
判断历史发生信息中指定疾病信息对应的发生频率信息达到预设频率阈值,发生频率信息用于记录指定疾病信息记录的指定疾病的发生频率。It is determined that the occurrence frequency information corresponding to the specified disease information in the historical occurrence information reaches the preset frequency threshold, and the occurrence frequency information is used to record the occurrence frequency of the specified disease in the specified disease information record.
图10~11所示实施例提供的装置可用于执行本申请图5A~图9所示方法实施例的技术方案,其实现原理和技术效果可以进一步参考方法实施例中的相关描述。The devices provided in the embodiments shown in FIGS. 10 to 11 can be used to implement the technical solutions of the method embodiments shown in FIGS. 5A to 9 of this application. For the implementation principles and technical effects, you may further refer to the related descriptions in the method embodiments.
应理解以上图10~11所示装置的各个单元的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些单元可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分单元以软件通过处理元件调用的形式实现,部分单元通过硬件的形式实现。例如,获取单元可以为单独设立的处理元件,也可以集成在电子设备的某一个芯片中实现。其它单元的实现与之类似。此外这些单元全部或部分可以集成在一起,也可以独立实现。在实现过程中,上述方法的各步骤或以上各个单元可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be understood that the division of the various units of the devices shown in Figures 10 to 11 above is only a division of logical functions, and may be fully or partially integrated into one physical entity during actual implementation, or may be physically separated. And these units can all be implemented in the form of software invocation through processing elements; they can also be implemented in the form of hardware; part of the units can also be implemented in the form of software invocation through processing elements, and some of the units can be implemented in the form of hardware. For example, the acquisition unit may be a separately established processing element, or it may be integrated in a certain chip of the electronic device. The implementation of other units is similar. In addition, all or part of these units can be integrated together or implemented independently. In the implementation process, each step of the above method or each of the above units can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
本申请实施例还提供一种电子设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述设备执行时,使得所述设备执行图5A~图9所示的方法。An embodiment of the present application also provides an electronic device, including: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one The or multiple computer programs include instructions, and when the instructions are executed by the device, the device executes the methods shown in FIGS. 5A to 9.
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行本申请图5A~图9所示实施例提供的方法。The embodiment of the present application also provides a computer-readable storage medium that stores a computer program, and when it runs on a computer, the computer executes the functions provided by the embodiments shown in Figs. 5A to 9 of the present application. method.
本申请实施例还提供一种计算机程序产品,该计算机程序产品包括计算机程序,当其在计算机上运行时,使得计算机执行本申请图5A~图9所示实施例提供的方法。The embodiments of the present application also provide a computer program product. The computer program product includes a computer program that, when running on a computer, causes the computer to execute the method provided in the embodiments shown in FIG. 5A to FIG. 9 of the present application.
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示单独存在A、同时存在A和B、单独存在B的情况。其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项”及其类似表达,是指的这些项中的任意组合,包括单项或复数项的任意组合。例如,a,b和c中的至少一项可以表示:a,b,c,a和b,a和c,b和c或a和b和c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" refers to one or more, and "multiple" refers to two or more. "And/or" describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. Among them, A and B can be singular or plural. The character "/" generally indicates that the associated objects before and after are in an "or" relationship. "The following at least one item" and similar expressions refer to any combination of these items, including any combination of single items 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, and c can be single, or There can be more than one.
本领域普通技术人员可以意识到,本文中公开的实施例中描述的各单元及算法步骤,能够以电子硬件、计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may be aware that the units and algorithm steps described in the embodiments disclosed in this document can be implemented by a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,任一功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory;以下简称:ROM)、随机存取存储器(Random Access Memory;以下简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。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 essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as ROM), random access memory (Random Access Memory; hereinafter referred to as RAM), magnetic disks or optical disks, etc. A medium that can store program codes.
以上所述,仅为本申请的具体实施方式,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application. Any person skilled in the art can easily conceive of changes or substitutions within the technical scope disclosed in this application, and they should all be covered by the protection scope of this application. The protection scope of this application shall be subject to the protection scope of the claims.

Claims (21)

  1. 一种风险预警方法,应用于电子设备,其特征在于,包括:A risk early warning method applied to electronic equipment, characterized in that it includes:
    获取目标用户的行为信息;所述目标用户的行为信息用于描述所述目标用户的行为;Acquiring behavior information of a target user; the behavior information of the target user is used to describe the behavior of the target user;
    判断所述目标用户的行为信息是否与指定疾病信息对应的风险行为信息匹配;所述指定疾病信息用于描述所述目标用户发生过的疾病,所述风险行为信息用于描述具有诱发所述目标用户发生所述疾病的风险的行为;Determine whether the behavior information of the target user matches the risk behavior information corresponding to the designated disease information; the designated disease information is used to describe the disease that the target user has occurred, and the risk behavior information is used to describe the target user The behavior of the user at risk of the disease;
    如果所述目标用户的行为信息与所述指定疾病信息对应的风险行为信息匹配,向所述目标用户展示针对于所述指定疾病信息的预警信息。If the behavior information of the target user matches the risk behavior information corresponding to the designated disease information, the target user is shown early warning information for the designated disease information.
  2. 根据权利要求1所述的方法,其特征在于,所述风险行为信息具有对应的风险参数;所述向所述目标用户展示针对于所述指定疾病信息的预警信息,包括:The method according to claim 1, wherein the risk behavior information has corresponding risk parameters; and the displaying early warning information for the specified disease information to the target user comprises:
    根据与所述目标用户的行为信息匹配的所述风险行为信息所对应的风险参数,向所述目标用户展示针对于所述指定疾病信息的预警信息。According to the risk parameter corresponding to the risk behavior information that matches the behavior information of the target user, the target user is shown early warning information for the specified disease information.
  3. 根据权利要求2所述的方法,其特征在于,所述风险参数包括风险等级;所述根据与所述目标用户的行为信息匹配的所述风险行为信息所对应的风险参数,向所述目标用户展示针对于所述指定疾病信息的预警信息,包括:The method according to claim 2, wherein the risk parameter includes a risk level; the risk parameter corresponding to the risk behavior information that matches the behavior information of the target user is reported to the target user Display early warning information for the specified disease information, including:
    根据与所述目标用户的行为信息匹配的所述风险行为信息所对应的风险等级,按照所述风险等级对应预警策略向所述目标用户展示针对于所述指定疾病信息的预警信息。According to the risk level corresponding to the risk behavior information that matches the behavior information of the target user, the early warning information for the specified disease information is displayed to the target user according to the early warning strategy corresponding to the risk level.
  4. 根据权利要求2所述的方法,其特征在于,所述风险参数包括风险值;所述根据与所述目标用户的行为信息匹配的所述风险行为信息所对应的风险参数,向所述目标用户展示针对于所述指定疾病信息的预警信息,包括:The method according to claim 2, wherein the risk parameter comprises a risk value; the risk parameter corresponding to the risk behavior information matching the behavior information of the target user is reported to the target user Display early warning information for the specified disease information, including:
    根据与所述目标用户的行为信息匹配的所述风险行为信息所对应的风险值与预设风险阈值之间的关系确定预警策略;Determining an early warning strategy according to the relationship between the risk value corresponding to the risk behavior information matching the target user's behavior information and the preset risk threshold;
    按照确定的所述预警策略向所述目标用户展示针对于所述指定疾病信息的预警信息。According to the determined early warning strategy, the early warning information for the specified disease information is displayed to the target user.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述获取所述目标用户的行为信息,包括:The method according to any one of claims 1 to 4, wherein the acquiring behavior information of the target user comprises:
    获取所述目标用户使用的至少一个电子设备的使用信息,根据所述使用信息获取所述目标用户的行为信息;和/或,Acquire usage information of at least one electronic device used by the target user, and acquire behavior information of the target user according to the usage information; and/or,
    从指定日常行为监测应用获取所述目标用户的行为信息。Obtain the behavior information of the target user from a designated daily behavior monitoring application.
  6. 根据权利要求1至4任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1 to 4, further comprising:
    从所述电子设备之外的电子设备获取所述指定疾病信息对应的风险行为信息;和/或,Obtain the risk behavior information corresponding to the specified disease information from an electronic device other than the electronic device; and/or,
    从所述电子设备之外的电子设备的指定应用中获取所述指定疾病信息对应的风险行为信息;和/或,Obtain risk behavior information corresponding to the specified disease information from a specified application of an electronic device other than the electronic device; and/or,
    从所述电子设备的指定应用中获取所述指定疾病信息对应的风险行为信息。Obtain the risk behavior information corresponding to the specified disease information from the specified application of the electronic device.
  7. 根据权利要求1至4任一项所述的方法,其特征在于,所述指定疾病信息对应的风险行为信息的获取方法包括:The method according to any one of claims 1 to 4, wherein the method for obtaining risk behavior information corresponding to the specified disease information comprises:
    获取目标用户的指定疾病信息对应的历史发生信息;Obtain the historical occurrence information corresponding to the specified disease information of the target user;
    判断所述历史发生信息满足预设条件,获取指定时间范围内所述目标用户的历史行为信息以及所述目标用户的指定疾病信息对应的历史发生信息;Judging that the historical occurrence information satisfies a preset condition, and obtaining historical behavior information of the target user within a specified time range and historical occurrence information corresponding to the specified disease information of the target user;
    根据所述指定时间范围内的所述历史行为信息以及获取到的所述指定疾病信息对应的历史发生信息,确定与所述目标用户的指定疾病信息具有关联关系的风险行为信息。According to the historical behavior information within the designated time range and the acquired historical occurrence information corresponding to the designated disease information, risk behavior information that has an association relationship with the designated disease information of the target user is determined.
  8. 根据权利要求7所述的方法,其特征在于,还包括:The method according to claim 7, further comprising:
    根据所述指定时间范围内的所述历史行为信息以及所述指定疾病信息对应的历史发生信息,确定与所述目标用户的指定疾病信息具有关联关系的风险行为信息对应的风险参数。According to the historical behavior information within the specified time range and the historical occurrence information corresponding to the specified disease information, the risk parameter corresponding to the risk behavior information having an association relationship with the specified disease information of the target user is determined.
  9. 根据权利要求7所述的方法,其特征在于,所述获取指定时间范围内所述目标用户的指定疾病信息对应的历史发生信息,包括:The method according to claim 7, wherein said obtaining historical occurrence information corresponding to the specified disease information of the target user within a specified time range comprises:
    从指定就诊系统获取所述指定时间范围内所述目标用户的就诊记录信息,从获取的所述就诊记录信息中获取所述目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the medical visit record information of the target user within the specified time range from the designated medical visit system, and obtain historical occurrence information corresponding to the specified disease information of the target user from the acquired medical visit record information; and/or,
    从指定疾病监测应用获取指定时间范围内所述目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the historical occurrence information corresponding to the specified disease information of the target user within the specified time range from the specified disease monitoring application; and/or,
    从可穿戴设备获取所述指定时间范围内所述目标用户的历史生物数据,根据所述历史生物数据确定所述目标用户的指定疾病信息对应的历史发生信息。Acquire historical biological data of the target user within the specified time range from a wearable device, and determine historical occurrence information corresponding to the specified disease information of the target user according to the historical biological data.
  10. 根据权利要求7所述的方法,其特征在于,所述获取指定时间范围内所述目标用户的历史行为信息,包括:The method according to claim 7, wherein said acquiring historical behavior information of said target user within a specified time range comprises:
    获取所述指定时间范围内所述目标用户使用的至少一个电子设备的使用信息,根据所述使用信息获取所述目标用户的历史行为信息;和/或,Acquiring usage information of at least one electronic device used by the target user within the specified time range, and acquiring historical behavior information of the target user according to the usage information; and/or,
    从指定日常行为监测应用获取所述指定时间范围内所述目标用户的历史行为信息。Obtain the historical behavior information of the target user within the designated time range from a designated daily behavior monitoring application.
  11. 一种风险行为信息获取方法,应用于电子设备,其特征在于,包括:A method for acquiring risk behavior information, applied to electronic equipment, characterized in that it includes:
    获取目标用户的指定疾病信息对应的历史发生信息;Obtain the historical occurrence information corresponding to the specified disease information of the target user;
    判断所述历史发生信息满足预设条件,获取指定时间范围内所述目标用户的历史行为信息以及所述目标用户的指定疾病信息对应的历史发生信息;Judging that the historical occurrence information satisfies a preset condition, and obtaining historical behavior information of the target user within a specified time range and historical occurrence information corresponding to the specified disease information of the target user;
    根据所述指定时间范围内的所述历史行为信息以及获取到的所述指定疾病信息对应的历史发生信息,确定与所述目标用户的指定疾病信息具有关联关系的风险行为信息。According to the historical behavior information within the designated time range and the acquired historical occurrence information corresponding to the designated disease information, risk behavior information that has an association relationship with the designated disease information of the target user is determined.
  12. 根据权利要求11所述的方法,其特征在于,所述判断所述历史发生信息满足预设条件之后,还包括:The method according to claim 11, wherein after determining that the historical occurrence information satisfies a preset condition, the method further comprises:
    根据所述指定时间范围内的所述历史行为信息以及所述指定疾病信息对应的历 史发生信息,确定与所述目标用户的指定疾病信息具有关联关系的风险行为信息对应的风险参数。According to the historical behavior information within the designated time range and the historical occurrence information corresponding to the designated disease information, the risk parameter corresponding to the risk behavior information associated with the designated disease information of the target user is determined.
  13. 根据权利要求11或12所述的方法,其特征在于,所述获取指定时间范围内所述目标用户的指定疾病信息对应的历史发生信息,包括:The method according to claim 11 or 12, wherein the obtaining historical occurrence information corresponding to the specified disease information of the target user within a specified time range comprises:
    从指定就诊系统获取所述指定时间范围内所述目标用户的就诊记录信息,从获取的所述就诊记录信息中获取所述目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the medical visit record information of the target user within the specified time range from the designated medical visit system, and obtain historical occurrence information corresponding to the specified disease information of the target user from the acquired medical visit record information; and/or,
    从指定疾病监测应用获取指定时间范围内所述目标用户的指定疾病信息对应的历史发生信息;和/或,Obtain the historical occurrence information corresponding to the specified disease information of the target user within the specified time range from the specified disease monitoring application; and/or,
    从可穿戴设备获取所述指定时间范围内所述目标用户的历史生物数据,根据所述历史生物数据确定所述目标用户的指定疾病信息对应的历史发生信息。Acquire historical biological data of the target user within the specified time range from a wearable device, and determine historical occurrence information corresponding to the specified disease information of the target user according to the historical biological data.
  14. 根据权利要求11或12所述的方法,其特征在于,所述获取指定时间范围内所述目标用户的历史行为信息,包括:The method according to claim 11 or 12, wherein the obtaining historical behavior information of the target user within a specified time range comprises:
    获取所述指定时间范围内所述目标用户使用的至少一个电子设备的使用信息,根据所述使用信息获取所述目标用户的历史行为信息;和/或,Acquiring usage information of at least one electronic device used by the target user within the specified time range, and acquiring historical behavior information of the target user according to the usage information; and/or,
    从指定日常行为监测应用获取所述指定时间范围内所述目标用户的历史行为信息。Obtain the historical behavior information of the target user within the designated time range from a designated daily behavior monitoring application.
  15. 根据权利要求11或12所述的方法,其特征在于,所述获取目标用户的指定疾病信息对应的历史发生信息之前,还包括:The method according to claim 11 or 12, wherein before acquiring the historical occurrence information corresponding to the specified disease information of the target user, the method further comprises:
    获取目标用户的指定疾病信息,所述指定疾病信息用于记录所述目标用户发生过的疾病。Obtain designated disease information of the target user, where the designated disease information is used to record the disease that the target user has occurred.
  16. 根据权利要求15所述的方法,其特征在于,所述获取目标用户的指定疾病信息,包括:The method according to claim 15, wherein said acquiring designated disease information of the target user comprises:
    获取所述目标用户在预设界面上选择的疾病信息,将获取到的所述疾病信息作为所述指定疾病信息;和/或,Acquire disease information selected by the target user on a preset interface, and use the acquired disease information as the designated disease information; and/or,
    从指定就诊系统获取所述目标用户的就诊记录信息,从所述就诊记录信息中获取所述目标用户的指定疾病信息;和/或,Obtain the medical record information of the target user from the designated medical treatment system, and obtain the designated disease information of the target user from the medical record information; and/or,
    从指定疾病监测应用获取所述目标用户的历史疾病信息,从所述历史疾病信息中获取所述用户的指定疾病信息;和/或,Obtain historical disease information of the target user from a designated disease monitoring application, and obtain designated disease information of the user from the historical disease information; and/or,
    获取所述目标用户的历史生物数据,根据所述历史生物数据确定所述目标用户的指定疾病信息。The historical biological data of the target user is acquired, and the designated disease information of the target user is determined according to the historical biological data.
  17. 根据权利要求11或12所述的方法,其特征在于,所述判断所述历史发生信息满足预设条件,包括:The method according to claim 11 or 12, wherein the judging that the historical occurrence information satisfies a preset condition comprises:
    判断所述历史发生信息中指定疾病信息对应的次数信息达到预设次数阈值,所述次数信息用于记录所述指定疾病信息记录的指定疾病的发生次数;和/或,Determine that the frequency information corresponding to the specified disease information in the historical occurrence information reaches a preset frequency threshold, and the frequency information is used to record the occurrence frequency of the specified disease recorded in the specified disease information; and/or,
    判断所述历史发生信息中指定疾病信息对应的发生频率信息达到预设频率阈值,所述发生频率信息用于记录所述指定疾病信息记录的指定疾病的发生频率。It is determined that the occurrence frequency information corresponding to the specified disease information in the historical occurrence information reaches a preset frequency threshold, and the occurrence frequency information is used to record the occurrence frequency of the specified disease in the specified disease information record.
  18. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述设备执行时,使得所述设备执行权利要求1至10任一项所述的方法。One or more processors; memory; 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, when the instructions are When the device is executed, the device is caused to execute the method according to any one of claims 1 to 10.
  19. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述设备执行时,使得所述设备执行权利要求11至17任一项所述的方法。One or more processors; memory; 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, when the instructions are When the device is executed, the device is caused to execute the method according to any one of claims 11 to 17.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行权利要求1至10任一项所述的方法。A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which when running on a computer, causes the computer to execute the method according to any one of claims 1 to 10.
  21. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行权利要求11至17任一项所述的方法。A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which when running on a computer, causes the computer to execute the method according to any one of claims 11 to 17.
PCT/CN2021/086674 2020-05-29 2021-04-12 Risk pre-warning method, risk behavior information acquisition method, and electronic device WO2021238460A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010471523.XA CN113744874A (en) 2020-05-29 2020-05-29 Risk early warning method, risk behavior information acquisition method and electronic equipment
CN202010471523.X 2020-05-29

Publications (1)

Publication Number Publication Date
WO2021238460A1 true WO2021238460A1 (en) 2021-12-02

Family

ID=78722971

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/086674 WO2021238460A1 (en) 2020-05-29 2021-04-12 Risk pre-warning method, risk behavior information acquisition method, and electronic device

Country Status (2)

Country Link
CN (1) CN113744874A (en)
WO (1) WO2021238460A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116402492A (en) * 2023-03-16 2023-07-07 广东省智能家电研究院 Household appliance maintenance early warning method and related equipment thereof

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114550927A (en) * 2022-02-09 2022-05-27 珠海格力电器股份有限公司 Health information reminding method and device, electronic equipment and storage medium
CN115051354B (en) * 2022-05-19 2024-09-10 深圳市创诺新电子科技有限公司 Household power utilization system management method
CN115101195B (en) * 2022-06-24 2023-04-07 曜立科技(北京)有限公司 Method and system for assisting valvular disease diagnosis decision
CN117457227A (en) * 2023-11-02 2024-01-26 天津宜善互联网医院有限公司 Intelligent analysis method, system, equipment and medium for health data of aged people

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100250470A1 (en) * 2009-03-26 2010-09-30 Olympus Corporation Lifestyle disease prevention apparatus and lifestyle disease prevention method
CN104992395A (en) * 2015-06-23 2015-10-21 南京邮电大学 Method for creating personalized health service archive
CN110517775A (en) * 2019-08-12 2019-11-29 上海艾莎信息科技有限公司 Disease risks prediction technique, device, computer equipment and storage medium
CN110752035A (en) * 2019-09-06 2020-02-04 深圳壹账通智能科技有限公司 Health data processing method and device, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1825426A4 (en) * 2004-10-26 2010-03-10 Resources Online Llc Systems, methods and computer product for disease risk reduction, education and assessment
JP6538222B1 (en) * 2018-03-06 2019-07-03 ヤフー株式会社 INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING PROGRAM
US20190290178A1 (en) * 2018-03-23 2019-09-26 International Business Machines Corporation Adaptive electronic promotion of optimal health behavior
CN108766568A (en) * 2018-04-19 2018-11-06 新绎健康科技(北京)有限公司 A kind of disease risks automatic early warning method and system
CN110033866B (en) * 2019-03-08 2023-08-11 平安科技(深圳)有限公司 Health reminding method, device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100250470A1 (en) * 2009-03-26 2010-09-30 Olympus Corporation Lifestyle disease prevention apparatus and lifestyle disease prevention method
CN104992395A (en) * 2015-06-23 2015-10-21 南京邮电大学 Method for creating personalized health service archive
CN110517775A (en) * 2019-08-12 2019-11-29 上海艾莎信息科技有限公司 Disease risks prediction technique, device, computer equipment and storage medium
CN110752035A (en) * 2019-09-06 2020-02-04 深圳壹账通智能科技有限公司 Health data processing method and device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116402492A (en) * 2023-03-16 2023-07-07 广东省智能家电研究院 Household appliance maintenance early warning method and related equipment thereof
CN116402492B (en) * 2023-03-16 2024-05-31 广东省智能家电研究院 Household appliance maintenance early warning method and related equipment thereof

Also Published As

Publication number Publication date
CN113744874A (en) 2021-12-03

Similar Documents

Publication Publication Date Title
WO2021238460A1 (en) Risk pre-warning method, risk behavior information acquisition method, and electronic device
WO2020259452A1 (en) Full-screen display method for mobile terminal, and apparatus
CN113827185B (en) Wearing tightness degree detection method and device for wearing equipment and wearing equipment
WO2020077540A1 (en) Information processing method and electronic device
WO2022111665A1 (en) Application management method and apparatus, and device and storage medium
WO2021213151A1 (en) Display control method and wearable device
WO2021218540A1 (en) Antenna power adjustment method, terminal device and storage medium
WO2021052139A1 (en) Gesture input method and electronic device
WO2021218429A1 (en) Method for managing application window, and terminal device and computer-readable storage medium
WO2020056778A1 (en) Method for shielding touch event, and electronic device
WO2021052070A1 (en) Frame rate identification method and electronic device
WO2021164300A1 (en) Data presentation method, terminal device and storage medium
WO2022042766A1 (en) Information display method, terminal device, and computer readable storage medium
WO2022088938A1 (en) Sleep monitoring method and apparatus, and electronic device and computer-readable storage medium
CN115525372B (en) Method and device for displaying interface
WO2021104117A1 (en) Method for constructing application program resource packet, construction apparatus, and terminal device
WO2022179495A1 (en) Privacy risk feedback method and apparatus, and first terminal device
WO2021244186A1 (en) User health management and control method, and electronic device
WO2021190489A1 (en) Method for displaying time, and electronic device
CN118402756A (en) Optimization method for monitoring sleep wakefulness and related electronic equipment
WO2022237598A1 (en) Sleep state testing method and electronic device
WO2022242412A1 (en) Method for killing application, and related device
CN114020186B (en) Health data display method and device
CN116048831A (en) Target signal processing method and electronic equipment
CN113918003A (en) Method and device for detecting time length of skin contacting screen and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21812754

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21812754

Country of ref document: EP

Kind code of ref document: A1