CN109040455B - Incoming call processing method, incoming call processing device, terminal and computer readable storage medium - Google Patents

Incoming call processing method, incoming call processing device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109040455B
CN109040455B CN201810914927.4A CN201810914927A CN109040455B CN 109040455 B CN109040455 B CN 109040455B CN 201810914927 A CN201810914927 A CN 201810914927A CN 109040455 B CN109040455 B CN 109040455B
Authority
CN
China
Prior art keywords
current
incoming call
value
sampling
skin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810914927.4A
Other languages
Chinese (zh)
Other versions
CN109040455A (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
QINGDAO CIVIL AVIATION CARES Co.,Ltd.
Original Assignee
Qingdao Civil Aviation Cares Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Civil Aviation Cares Co ltd filed Critical Qingdao Civil Aviation Cares Co ltd
Priority to CN201810914927.4A priority Critical patent/CN109040455B/en
Publication of CN109040455A publication Critical patent/CN109040455A/en
Application granted granted Critical
Publication of CN109040455B publication Critical patent/CN109040455B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/0205Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/16Devices for psychotechnics; Testing reaction times ; Devices for evaluating the psychological state
    • A61B5/18Devices for psychotechnics; Testing reaction times ; Devices for evaluating the psychological state for vehicle drivers or machine operators
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6802Sensor mounted on worn items
    • A61B5/681Wristwatch-type devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/64Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Abstract

The invention is suitable for the field of software, and provides an incoming call processing method, an incoming call processing device, a terminal and a computer readable storage medium, wherein the method comprises the following steps: if the navigation program is started, acquiring a current speed value; if the current speed value is more than 5km/h, acquiring the peak value of the current electrocardiosignal, the historical electrocardiosignal, the peak value of the current skin electric signal and the historical skin electric signal measured by the motion bracelet; sampling historical electrocardiosignals to obtain a heart rate sampling value; sampling historical skin electrical signals to obtain skin electrical signal sampling values; if an incoming call request is received, generating a stress parameter according to a preset stress parameter generation model, the peak value of the current electrocardiosignal, the peak value of the current skin electric signal, the heart rate sampling value and the skin electric signal sampling value; and if the tension parameter is greater than the preset threshold value, recognizing that the driver wearing the sports bracelet is in a tension state, and refusing the incoming call request. The invention is beneficial to reducing the interference of the incoming call request to the driver and reducing traffic accidents.

Description

Incoming call processing method, incoming call processing device, terminal and computer readable storage medium
Technical Field
The invention belongs to the field of software, and particularly relates to an incoming call processing method, an incoming call processing device, a terminal and a computer readable storage medium.
Background
With the development of communication technology, mobile phones have been widely used by people, and when receiving an incoming call, the mobile phone rings and/or vibrates to prompt a driver to answer the incoming call. In the driving process, a driver is easy to be nervous, and not only can the attention of the driver be dispersed and the driving speed of a road be influenced when the driver answers an incoming call, but also traffic accidents are easy to cause.
However, the current incoming call processing method is difficult to automatically reject the incoming call when the driver is in a tension state, and is not beneficial to reducing the interference of the incoming call request to the driver. The reason is that the incoming call processing method is oriented to all driving states of the driver, the tension state and the non-tension state cannot be distinguished, and the incoming call can be normally answered when the tension state is faced, so that the interference of the incoming call request to the driver is not reduced.
Disclosure of Invention
In view of this, embodiments of the present invention provide an incoming call processing method, an incoming call processing apparatus, a terminal, and a computer-readable storage medium, so as to solve the problem that the current incoming call processing method is difficult to automatically reject an incoming call when a driver is in a stressed state, and is not favorable for reducing interference of an incoming call request to the driver.
A first aspect of an embodiment of the present invention provides an incoming call processing method, including:
detecting whether a navigation program is started;
if the navigation program is started, acquiring a current speed value;
detecting whether the current speed value is greater than 5 km/h;
if the current speed value is greater than 5km/h, connecting a sports bracelet to obtain a peak value of a current electrocardiosignal, a historical electrocardiosignal, a peak value of a current skin electric signal and a historical skin electric signal which are measured by the sports bracelet;
sampling the historical electrocardiosignals to obtain a heart rate sampling value;
sampling the historical skin electrical signals to obtain skin electrical signal sampling values;
detecting whether an incoming call request is received;
if an incoming call request is received, generating a stress parameter according to a preset stress parameter generation model, the peak value of the current electrocardiosignal, the peak value of the current skin electric signal, the heart rate sampling value and the skin electric signal sampling value;
if the tension parameter is larger than a preset threshold value, recognizing that the emotion of a driver wearing the sports bracelet is in a tension state, and refusing the incoming call request;
extracting the incoming call number of the incoming call request, and if the incoming call number exists in a contact list, sending a preset notification short message to the incoming call number, wherein the notification short message comprises prompt information of driving at present;
the stress parameter generation model specifically comprises:
Figure GDA0003255867650000031
wherein C is a tension parameter, IV is the number of heart rate sampling values, i is the serial number of the heart rate sampling values, HR is the number of the heart rate sampling valuesiFor the ith heart rate sample value, HRtIs the peak value of the current electrocardiosignal, M is the number of sampling values of the skin electrical signal, j is the serial number of the sampling values of the skin electrical signal, GSRjFor the jth value of the sampled electrical skin signal, GSRtThe stress parameter is used for describing the stress degree of a driver wearing the sports bracelet, and is the peak value of the current skin electric signal.
A second aspect of an embodiment of the present invention provides an incoming call processing apparatus, including:
the navigation program detection module is used for detecting whether the navigation program is started or not;
a current speed value obtaining module, configured to obtain a current speed value if the navigation program is started;
the current speed value detection module is used for detecting whether the current speed value is greater than 5 km/h;
the connecting module is used for connecting the sports bracelet if the current speed value is greater than 5km/h, and acquiring the peak value of the current electrocardiosignal, the historical electrocardiosignal, the peak value of the current skin electric signal and the historical skin electric signal which are measured by the sports bracelet;
the electrocardiosignal sampling module is used for sampling the historical electrocardiosignals to obtain a heart rate sampling value;
the skin electrical signal sampling module is used for sampling the historical skin electrical signals to obtain skin electrical signal sampling values;
the incoming call request detection module is used for detecting whether an incoming call request is received or not;
the stress parameter generation module is used for generating a stress parameter according to a preset stress parameter generation model, the peak value of the current electrocardiosignal, the peak value of the current skin electric signal, the heart rate sampling value and the skin electric signal sampling value if an incoming call request is received;
the incoming call request rejection module is used for recognizing that the emotion of a driver wearing the sports bracelet is in a nervous state and rejecting the incoming call request if the nervous parameter is larger than a preset threshold value;
a notification short message sending module, configured to extract a calling number of the calling request, and send a preset notification short message to the calling number if the calling number exists in a contact list, where the notification short message includes a prompt message that the vehicle is currently driving;
the stress parameter generation model specifically comprises:
Figure GDA0003255867650000041
wherein C is a tension parameter, IV is the number of heart rate sampling values, i is the serial number of the heart rate sampling values, HR is the number of the heart rate sampling valuesiFor the ith heart rate sample value, HRtIs the peak value of the current electrocardiosignal, M is the number of sampling values of the skin electrical signal, j is the serial number of the sampling values of the skin electrical signal, GSRjFor the jth value of the sampled electrical skin signal, GSRtThe stress parameter is used for describing the stress degree of a driver wearing the sports bracelet, and is the peak value of the current skin electric signal.
A third aspect of the embodiments of the present invention provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above-described method.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the incoming call can be automatically refused when the driver is in a nervous state, and the interference of the incoming call request to the driver is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an implementation of an incoming call processing method according to an embodiment of the present invention;
fig. 2 is a block diagram of an incoming call processing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
Referring to fig. 1, fig. 1 is a flowchart of an implementation of an incoming call processing method provided by an embodiment of the present invention, where the method is applied to a mobile terminal installed with an incoming call processing program, and the incoming call processing method shown in fig. 1 may include the following steps:
s101, detecting whether a navigation program is started or not;
s102, if the navigation program is started, acquiring a current speed value;
s103, detecting whether the current speed value is greater than 5 km/h;
wherein if the current speed value is greater than 5km/h, it indicates that the vehicle has started running.
S104, if the current speed value is greater than 5km/h, connecting a sports bracelet to obtain a peak value of a current electrocardiosignal, a historical electrocardiosignal, a peak value of a current skin electric signal and a historical skin electric signal measured by the sports bracelet;
the sports bracelet obtains skin electric signals of a driver through the skin resistance sensor, and obtains electrocardiosignals of the driver through the electrocardio sensor.
Wherein, when the driver relaxes, the skin resistance increases and the current decreases; when the driver is stressed, the skin resistance is reduced, and the current is increased. Therefore, the emotional condition of the driver can be known by detecting the skin electrical signal of the driver, and the embodiment uses the skin electrical signal detected by the skin resistance sensor as one of the indexes for identifying whether the driver is stressed.
Wherein, current electrocardiosignal refers to the electrocardiosignal that motion bracelet recorded in current cycle.
The historical electrocardiosignals refer to electrocardiosignals recorded by the motion bracelet before the current period.
The electrocardiosignal is a oscillogram, and the peak value of the current electrocardiosignal is the maximum value of the current electrocardiosignal waveform.
Wherein, the current skin electric signal refers to the skin electric signal recorded by the motion bracelet in the current period.
Wherein, the historical skin electrical signal refers to the skin electrical signal of the sports bracelet before the current cycle.
The skin electrical signal is a waveform diagram, and the peak value of the current skin electrical signal is the maximum value of the current skin electrical signal waveform.
S105, sampling the historical electrocardiosignals to obtain a heart rate sampling value;
and carrying out noise reduction on the historical electrocardiosignals by adopting a wavelet noise reduction algorithm, and sampling the historical electrocardiosignals subjected to noise reduction by adopting a preset sampling frequency to obtain a heart rate sampling value, wherein the sampling frequency is 360 Hz.
S106, sampling the historical skin electrical signals to obtain skin electrical signal sampling values;
s107, detecting whether an incoming call request is received;
s108, if an incoming call request is received, generating a stress parameter according to a preset stress parameter generation model, the peak value of the current electrocardiosignal, the peak value of the current skin electric signal, the heart rate sampling value and the skin electric signal sampling value;
s109, if the tension parameter is larger than a preset threshold value, recognizing that the emotion of a driver wearing the sports bracelet is in a tension state, and rejecting the incoming call request;
and detecting whether the tension parameter is greater than a preset threshold value or not, and identifying that the emotion of a driver wearing the sports bracelet is in a tension state if the tension parameter is greater than the preset threshold value.
The preset threshold may be set by the user, or may be a default of the system, which is not limited herein.
S110, extracting the incoming call number of the incoming call request, and if the incoming call number exists in a contact list, sending a preset notification short message to the incoming call number, wherein the notification short message comprises a prompt message of driving at present;
the stress parameter generation model specifically comprises:
Figure GDA0003255867650000091
wherein C is a tension parameter, IV is the number of heart rate sampling values, i is the serial number of the heart rate sampling values, HR is the number of the heart rate sampling valuesiFor the ith heart rate sample value, HRtIs the peak value of the current electrocardiosignal, M is the number of sampling values of the skin electrical signal, j is the serial number of the sampling values of the skin electrical signal, GSRjFor the jth value of the sampled electrical skin signal, GSRtThe stress parameter is used for describing the stress degree of a driver wearing the sports bracelet, and is the peak value of the current skin electric signal.
Wherein the content of the first and second substances,
Figure GDA0003255867650000092
is the average value of the heart rate samples,
Figure GDA0003255867650000093
well shows the relative deviation of the peak value of the current electrocardiosignal and the heart rate sampling mean value, and is used for describing the current electrocardiosignalThe deviation degree of the peak value of the electrocardiosignal to the heart rate sampling mean value is positive correlation with the relation of the heart rate, if the deviation degree is much larger, the heart rate of the driver is accelerated, and the driver is tense.
Wherein the content of the first and second substances,
Figure GDA0003255867650000094
is the average of the sampled skin electrical signals, wherein,
Figure GDA0003255867650000095
the skin electric signal deviation detection method is characterized by comprising the steps of representing the relative deviation of the current skin electric signal and the skin electric signal sampling mean value, and describing the deviation degree of the peak value of the current skin electric signal to the skin electric signal sampling mean value, wherein the deviation degree is in positive correlation with the skin electric signal, if the deviation is much larger, the skin resistance is reduced, and the driver is tense.
In the embodiment of the invention, the tension parameter is obtained according to the relative deviation of the peak value of the current electrocardiosignal and the heart rate sampling mean value and the relative deviation of the current skin electric signal and the skin electric signal sampling mean value, if the tension parameter is greater than the preset threshold value, the emotion of a driver wearing the sports bracelet is identified to be in a tension state, and the incoming call request is refused.
Example two
The embodiment of the invention describes an implementation process for detecting whether to start a navigation program, and the detailed description is as follows:
calling an ActivityManager activity manager to obtain the package name of the running application program;
matching the package name of the application program with the package name of the navigation program;
if the matching is successful, the navigation program is identified to be started, and if the matching is unsuccessful, the navigation program is identified not to be started.
In the embodiment of the invention, whether the navigation program is started or not can be quickly detected by matching the package name of the application program with the package name of the navigation program.
EXAMPLE III
The embodiment of the present invention describes an implementation process for acquiring a current speed value, which is detailed as follows:
and if the navigation program is started, detecting whether a navigation page of the navigation program occupies the current screen, and if the navigation page occupies the current screen, acquiring a current speed value.
In an embodiment of the present invention, if the navigation program occupies the current screen, it is indicated that the driver is viewing the navigation program.
Example four
The embodiment of the invention describes an implementation process for acquiring a skin electrical signal sampling value, and the detailed description is as follows:
and carrying out noise reduction treatment on the historical skin electrical signals by adopting a wavelet noise reduction algorithm, and sampling the historical skin electrical signals subjected to noise reduction treatment by adopting a preset sampling frequency to obtain skin electrical signal sampling values, wherein the sampling frequency is 360 Hz.
The wavelet threshold denoising method is a denoising algorithm commonly used in the engineering field, and the specific implementation process is not described herein.
In the embodiment of the invention, the skin electrical signal oscillogram with the coordinate point of the skin electrical signal belonging to the noise removed is sampled, so that the reliability of the sampling value of the skin electrical signal can be improved.
EXAMPLE five
The embodiment of the invention describes an implementation process for sending a notification short message, which is detailed as follows:
and extracting the incoming call number, and if the incoming call number exists in the contact list, sending a preset notification short message to the incoming call number by adopting a 5G network, wherein the notification short message comprises a prompt message of driving at present.
In the embodiment of the invention, a preset notification short message is sent to the caller number to remind the caller.
EXAMPLE six
Corresponding to the method described in the first embodiment, referring to fig. 2, fig. 2 is a block diagram of a structure of an incoming call processing apparatus provided in an embodiment of the present invention, and the incoming call processing apparatus is applied to a terminal, where the terminal includes, but is not limited to, a mobile phone and a computer. For convenience of explanation, only the portions related to the present embodiment are shown. For convenience of explanation, only the portions related to the present embodiment are shown.
Referring to fig. 2, the incoming call processing apparatus includes:
a navigation program detection module 21, configured to detect whether to start a navigation program;
a current speed value obtaining module 22, configured to obtain a current speed value if the navigation program is started;
a current velocity value detection module 23, configured to detect whether the current velocity value is greater than 5 km/h;
the connection module 24 is configured to connect the sports bracelet to obtain a peak value of a current electrocardiosignal, a historical electrocardiosignal, a peak value of a current skin electric signal and a historical skin electric signal measured by the sports bracelet if the current speed value is greater than 5 km/h;
the electrocardiosignal sampling module 25 is used for sampling the historical electrocardiosignals to obtain a heart rate sampling value;
the skin electrical signal sampling module 26 is configured to sample the historical skin electrical signal to obtain a skin electrical signal sampling value;
an incoming call request detection module 27, configured to detect whether an incoming call request is received;
a stress parameter generating module 28, configured to generate a stress parameter according to a preset stress parameter generating model, the peak value of the current electrocardiographic signal, the peak value of the current skin electrical signal, the heart rate sampling value, and the skin electrical signal sampling value if an incoming call request is received;
an incoming call request rejecting module 29, configured to identify that an emotion of a driver wearing the sports bracelet is in a nervous state if the stress parameter is greater than a preset threshold, and reject the incoming call request;
a notification short message sending module 210, configured to extract a calling number of the calling request, and send a preset notification short message to the calling number if the calling number exists in a contact list, where the notification short message includes a prompt message that a vehicle is currently driven;
the stress parameter generation model specifically comprises:
Figure GDA0003255867650000131
wherein C is a tension parameter, IV is the number of heart rate sampling values, i is the serial number of the heart rate sampling values, HR is the number of the heart rate sampling valuesiFor the ith heart rate sample value, HRtIs the peak value of the current electrocardiosignal, M is the number of sampling values of the skin electrical signal, j is the serial number of the sampling values of the skin electrical signal, GSRjFor the jth value of the sampled electrical skin signal, GSRtThe stress parameter is used for describing the stress degree of a driver wearing the sports bracelet, and is the peak value of the current skin electric signal.
As an implementation manner of this embodiment, in the incoming call processing apparatus, the navigation program detection module is specifically configured to invoke an ActivityManager activity manager, obtain a package name of an application program that is running, match the package name of the application program with a package name of a navigation program, identify that the navigation program is started if matching is successful, and identify that the navigation program is not started if matching is unsuccessful;
the current speed value obtaining module is specifically configured to detect whether a navigation page of the navigation program occupies a current screen if the navigation program is started, and obtain a current speed value if the navigation page occupies the current screen.
As an implementation manner of this embodiment, in the incoming call processing apparatus, the skin electrical signal sampling module is specifically configured to perform denoising processing on the historical skin electrical signals by using a wavelet denoising algorithm, and sample the denoised historical skin electrical signals by using a preset sampling frequency to obtain a skin electrical signal sampling value, where the sampling frequency is 360 Hz.
The notification short message sending module is specifically used for extracting the incoming call number, and if the incoming call number exists in the contact list, a 5G network is adopted to send a preset notification short message to the incoming call number, wherein the notification short message comprises the prompt message of driving at present.
In the embodiment of the invention, the tension parameter is obtained according to the relative deviation of the peak value of the current electrocardiosignal and the heart rate sampling mean value and the relative deviation of the current skin electric signal and the skin electric signal sampling mean value, if the tension parameter is greater than the preset threshold value, the emotion of a driver wearing the sports bracelet is identified to be in a tension state, and the incoming call request is refused.
EXAMPLE seven
Fig. 3 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in fig. 3, the terminal 3 of this embodiment includes: a processor 30, a memory 31 and a computer program 32, such as an incoming call handling program, stored in said memory 31 and executable on said processor 30. The processor 30 implements the steps in the various incoming call processing method embodiments described above when executing the computer program 32.
Illustratively, the computer program 32 may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 30 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 32 in the terminal 3.
The terminal 3 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal may include, but is not limited to, a processor 30, a memory 31.
It will be appreciated by those skilled in the art that fig. 3 is only an example of a terminal 3 and does not constitute a limitation of the terminal 3 and may comprise more or less components than those shown, or some components may be combined, or different components, e.g. the terminal may further comprise input output devices, network access devices, buses, etc.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may be an internal storage unit of the terminal 3, such as a hard disk or a memory of the terminal 3. The memory 31 may also be an external storage device of the terminal 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the terminal 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal 3.
The memory 31 is used for storing the computer program and other programs and data required by the terminal. The memory 31 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit.
In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In another embodiment of the present invention, a computer storage medium is provided, which stores a computer program that, when executed by a processor, implements the steps in the various incoming call processing method embodiments described above.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (6)

1. An incoming call processing method, comprising:
calling an ActivityManager activity manager to obtain the package name of the running application program;
matching the package name of the application program with the package name of the navigation program;
if the matching is successful, identifying that the navigation program is started, and if the matching is unsuccessful, identifying that the navigation program is not started;
if the navigation program is started, detecting whether a navigation page of the navigation program occupies a current screen, and if the navigation page occupies the current screen, acquiring a current speed value;
detecting whether the current speed value is greater than 5 km/h;
if the current speed value is greater than 5km/h, connecting a sports bracelet to obtain a peak value of a current electrocardiosignal, a historical electrocardiosignal, a peak value of a current skin electric signal and a historical skin electric signal which are measured by the sports bracelet;
sampling the historical electrocardiosignals to obtain a heart rate sampling value;
sampling the historical skin electrical signals to obtain skin electrical signal sampling values;
detecting whether an incoming call request is received;
if an incoming call request is received, generating a stress parameter according to a preset stress parameter generation model, the peak value of the current electrocardiosignal, the peak value of the current skin electric signal, the heart rate sampling value and the skin electric signal sampling value;
if the tension parameter is larger than a preset threshold value, recognizing that the emotion of a driver wearing the sports bracelet is in a tension state, and refusing the incoming call request;
extracting the incoming call number of the incoming call request, and if the incoming call number exists in a contact list, sending a preset notification short message to the incoming call number, wherein the notification short message comprises prompt information of driving at present;
the stress parameter generation model specifically comprises:
Figure FDA0003255867640000021
wherein C is a tension parameter, N is the number of heart rate sampling values, i is the serial number of the heart rate sampling values, HRiFor the ith heart rate sample value, HRtIs the peak value of the current electrocardiosignal, M is the number of sampling values of the skin electrical signal, j is the serial number of the sampling values of the skin electrical signal, GSRjFor the jth value of the sampled electrical skin signal, GSRtThe stress parameter is a peak value of a current skin electric signal and is used for describing the stress degree of a driver wearing the sports bracelet;
the current electrocardiosignal refers to an electrocardiosignal recorded by the motion bracelet in the current period;
the historical electrocardiosignals refer to electrocardiosignals recorded by the motion bracelet before the current period;
the electrocardiosignal is a oscillogram, and the peak value of the current electrocardiosignal is the maximum value of the current electrocardiosignal waveform;
the current skin electric signal refers to the skin electric signal recorded by the motion bracelet in the current period;
wherein, the historical skin electrical signal refers to the skin electrical signal of the sports bracelet before the current cycle;
the skin electrical signal is a waveform diagram, and the peak value of the current skin electrical signal is the maximum value of the current skin electrical signal waveform;
wherein, to history electrocardiosignal samples, obtains the heart rate sample value, specifically is:
and carrying out noise reduction on the historical electrocardiosignals by adopting a wavelet noise reduction algorithm, and sampling the historical electrocardiosignals subjected to noise reduction by adopting a preset sampling frequency to obtain a heart rate sampling value, wherein the sampling frequency is 360 Hz.
2. The method according to claim 1, wherein the extracting the incoming call number of the incoming call request, and if the incoming call number exists in a contact list, sending a preset notification short message to the incoming call number, wherein the notification short message includes a prompt message that a vehicle is currently driven, specifically:
and extracting the incoming call number, and if the incoming call number exists in the contact list, sending a preset notification short message to the incoming call number by adopting a 5G network, wherein the notification short message comprises a prompt message of driving at present.
3. An incoming call processing apparatus, comprising:
the navigation program detection module is specifically used for calling an ActivityManager activity manager, acquiring a package name of an application program in operation, matching the package name of the application program with the package name of the navigation program, identifying that the navigation program is started if the matching is successful, and identifying that the navigation program is not started if the matching is unsuccessful;
a current speed value obtaining module, configured to detect whether a navigation page of the navigation program occupies a current screen if the navigation program is started, and obtain a current speed value if the navigation page occupies the current screen;
the current speed value detection module is used for detecting whether the current speed value is greater than 5 km/h;
the connecting module is used for connecting the sports bracelet if the current speed value is greater than 5km/h, and acquiring the peak value of the current electrocardiosignal, the historical electrocardiosignal, the peak value of the current skin electric signal and the historical skin electric signal which are measured by the sports bracelet;
the electrocardiosignal sampling module is used for sampling the historical electrocardiosignals to obtain a heart rate sampling value;
the skin electrical signal sampling module is used for sampling the historical skin electrical signals to obtain skin electrical signal sampling values;
the incoming call request detection module is used for detecting whether an incoming call request is received or not;
the stress parameter generation module is used for generating a stress parameter according to a preset stress parameter generation model, the peak value of the current electrocardiosignal, the peak value of the current skin electric signal, the heart rate sampling value and the skin electric signal sampling value if an incoming call request is received;
the incoming call request rejection module is used for recognizing that the emotion of a driver wearing the sports bracelet is in a nervous state and rejecting the incoming call request if the nervous parameter is larger than a preset threshold value;
a notification short message sending module, configured to extract a calling number of the calling request, and send a preset notification short message to the calling number if the calling number exists in a contact list, where the notification short message includes a prompt message that the vehicle is currently driving;
the stress parameter generation model specifically comprises:
Figure FDA0003255867640000041
wherein C is a tension parameter, N is the number of heart rate sampling values, i is the serial number of the heart rate sampling values, HRiFor the ith heart rate sample value, HRtIs the peak value of the current electrocardiosignal, M is the number of sampling values of the skin electrical signal, j is the serial number of the sampling values of the skin electrical signal, GSRjFor the jth value of the sampled electrical skin signal, GSRtThe stress parameter is a peak value of a current skin electric signal and is used for describing the stress degree of a driver wearing the sports bracelet;
the current electrocardiosignal refers to an electrocardiosignal recorded by the motion bracelet in the current period;
the historical electrocardiosignals refer to electrocardiosignals recorded by the motion bracelet before the current period;
the electrocardiosignal is a oscillogram, and the peak value of the current electrocardiosignal is the maximum value of the current electrocardiosignal waveform;
the current skin electric signal refers to the skin electric signal recorded by the motion bracelet in the current period;
wherein, the historical skin electrical signal refers to the skin electrical signal of the sports bracelet before the current cycle;
the skin electrical signal is a waveform diagram, and the peak value of the current skin electrical signal is the maximum value of the current skin electrical signal waveform;
wherein, to history electrocardiosignal samples, obtains the heart rate sample value, specifically is:
and carrying out noise reduction on the historical electrocardiosignals by adopting a wavelet noise reduction algorithm, and sampling the historical electrocardiosignals subjected to noise reduction by adopting a preset sampling frequency to obtain a heart rate sampling value, wherein the sampling frequency is 360 Hz.
4. The apparatus of claim 3,
the notification short message sending module is specifically used for extracting the incoming call number, and if the incoming call number exists in the contact list, a 5G network is adopted to send a preset notification short message to the incoming call number, wherein the notification short message comprises the prompt message of driving at present.
5. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 2 when executing the computer program.
6. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 2.
CN201810914927.4A 2018-08-13 2018-08-13 Incoming call processing method, incoming call processing device, terminal and computer readable storage medium Active CN109040455B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810914927.4A CN109040455B (en) 2018-08-13 2018-08-13 Incoming call processing method, incoming call processing device, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810914927.4A CN109040455B (en) 2018-08-13 2018-08-13 Incoming call processing method, incoming call processing device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109040455A CN109040455A (en) 2018-12-18
CN109040455B true CN109040455B (en) 2021-12-14

Family

ID=64632928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810914927.4A Active CN109040455B (en) 2018-08-13 2018-08-13 Incoming call processing method, incoming call processing device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109040455B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024214A (en) * 2011-09-23 2013-04-03 福特全球技术公司 Method for incoming call filtration
CN104042207A (en) * 2014-06-20 2014-09-17 中国科学院苏州生物医学工程技术研究所 Intelligent bracelet with feedback and relaxing functions
CN105681586A (en) * 2016-03-23 2016-06-15 上海斐讯数据通信技术有限公司 Calling method and system, and conversation method and system
CN106060291A (en) * 2015-04-16 2016-10-26 丰田自动车株式会社 Incoming call notification control system
CN107007291A (en) * 2017-04-05 2017-08-04 天津大学 Intense strain intensity identifying system and information processing method based on multi-physiological-parameter

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2799911B1 (en) * 1999-10-13 2001-12-28 Eastman Kodak Co STRESS CONTROL SYSTEM
US20060122474A1 (en) * 2000-06-16 2006-06-08 Bodymedia, Inc. Apparatus for monitoring health, wellness and fitness
KR20080096855A (en) * 2001-06-13 2008-11-03 컴퓨메딕스 리미티드 Methods and apparatus for monitoring consciousness
JP5217703B2 (en) * 2008-07-04 2013-06-19 トヨタ自動車株式会社 Driver status recording device
EP3357419A1 (en) * 2009-02-25 2018-08-08 Valencell, Inc. Light-guiding devices and monitoring devices incorporating same
WO2011109716A2 (en) * 2010-03-04 2011-09-09 Neumitra LLC Devices and methods for treating psychological disorders
CN104427936A (en) * 2012-07-26 2015-03-18 日产自动车株式会社 Driver state estimation device and driver state estimation method
CN103731550A (en) * 2013-12-16 2014-04-16 深圳市金立通信设备有限公司 Method and terminal for handling incoming call
DE102015105581A1 (en) * 2014-11-03 2016-05-04 Audi Ag System and method for monitoring the health and / or health of a vehicle occupant
CN105725995B (en) * 2016-04-19 2019-10-25 北京理工大学 A kind of detection system driving behavior of diverting one's attention
CN105877766B (en) * 2016-06-21 2019-02-05 东北大学 A kind of state of mind detection system and method based on the fusion of more physiological signals
CN106953971A (en) * 2017-03-15 2017-07-14 广东欧珀移动通信有限公司 The processing method and mobile terminal of call access during navigation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024214A (en) * 2011-09-23 2013-04-03 福特全球技术公司 Method for incoming call filtration
CN104042207A (en) * 2014-06-20 2014-09-17 中国科学院苏州生物医学工程技术研究所 Intelligent bracelet with feedback and relaxing functions
CN106060291A (en) * 2015-04-16 2016-10-26 丰田自动车株式会社 Incoming call notification control system
CN105681586A (en) * 2016-03-23 2016-06-15 上海斐讯数据通信技术有限公司 Calling method and system, and conversation method and system
CN107007291A (en) * 2017-04-05 2017-08-04 天津大学 Intense strain intensity identifying system and information processing method based on multi-physiological-parameter

Also Published As

Publication number Publication date
CN109040455A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
US20220175287A1 (en) Method and device for detecting driver distraction
WO2022062775A1 (en) Monitoring processing method and system based on vehicle terminal system, and related device
CN111737670B (en) Method, system and vehicle-mounted multimedia device for multi-mode data collaborative man-machine interaction
CN110659013A (en) Message processing method and device and storage medium
CN113703868A (en) Vehicle diagnostic software configuration method, electronic device and readable storage medium
CN111339511A (en) Identity validity verification method and device and terminal equipment
CN109040455B (en) Incoming call processing method, incoming call processing device, terminal and computer readable storage medium
CN113518075B (en) Phishing warning method, device, electronic equipment and storage medium
CN114356703A (en) Root cause analysis method and device
CN113380280A (en) Data processing method, device and storage medium
CN111783677B (en) Face recognition method, device, server and computer readable medium
CN112328820A (en) Method, system, terminal and medium for searching vehicle image through face image
EP3905183A3 (en) A watercraft rental system, a watercraft rental method, and a computer for a watercraft
CN112633218B (en) Face detection method, face detection device, terminal equipment and computer readable storage medium
CN109960905B (en) Information processing method, system, medium, and electronic device
CN112183284B (en) Safety information verification and designated driving order receiving control method and device
CN114626090A (en) Image data processing method and device and vehicle
CN109065066B (en) Call control method, device and equipment
CN113342430A (en) Fault code processing method and device, terminal equipment and readable storage medium
CN112182008A (en) System, method, terminal and medium for analyzing face picture data acquired by mobile terminal
WO2023168745A1 (en) Vehicle driver monitoring method and apparatus based on domain controller platform
CN113784215B (en) Character feature detection method and device based on intelligent television
CN115359790A (en) Vehicle voice interaction method, device, equipment and storage medium
CN210804425U (en) Face recognition tamper-proof system
CN109862170B (en) Communication control method and device and wearable device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20211124

Address after: 266000 room 1803, No. 8, Qinling Road, Laoshan District, Qingdao City, Shandong Province

Applicant after: QINGDAO CIVIL AVIATION CARES Co.,Ltd.

Address before: 525200 No. 6, Wuxing Road, Changpo Town, Maoming, Guangdong

Applicant before: Xian Hansheng

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant