CN108968962A - Exhaled gas detection method, device, storage medium and terminal device - Google Patents

Exhaled gas detection method, device, storage medium and terminal device Download PDF

Info

Publication number
CN108968962A
CN108968962A CN201810635520.8A CN201810635520A CN108968962A CN 108968962 A CN108968962 A CN 108968962A CN 201810635520 A CN201810635520 A CN 201810635520A CN 108968962 A CN108968962 A CN 108968962A
Authority
CN
China
Prior art keywords
gas
user
terminal device
information
testing result
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.)
Granted
Application number
CN201810635520.8A
Other languages
Chinese (zh)
Other versions
CN108968962B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810635520.8A priority Critical patent/CN108968962B/en
Publication of CN108968962A publication Critical patent/CN108968962A/en
Application granted granted Critical
Publication of CN108968962B publication Critical patent/CN108968962B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/08Detecting, measuring or recording devices for evaluating the respiratory organs
    • A61B5/082Evaluation by breath analysis, e.g. determination of the chemical composition of exhaled breath
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/48Biological material, e.g. blood, urine; Haemocytometers
    • G01N33/483Physical analysis of biological material
    • G01N33/497Physical analysis of biological material of gaseous biological material, e.g. breath

Abstract

A kind of exhaled gas detection method, device, storage medium and the terminal device provided in the embodiment of the present application, this method is by acquiring the gas information of user's exhalation by the gas sensor continuous several times being arranged in the terminal device in the microphone of user's using terminal equipment;Testing result is generated according to the gas information;The testing result is exported by the terminal device., can be in the microphone of user's using terminal equipment by using above-mentioned technical proposal, the gas information of continuous acquisition user exhalation carries out analysis to the gas of user's exhalation and generates testing result, and exported to prompt user.

Description

Exhaled gas detection method, device, storage medium and terminal device
Technical field
The invention relates to terminal device technical field more particularly to a kind of exhaled gas detection method, device, deposit Storage media and terminal device.
Background technique
With the development of terminal device, the function of may be implemented on the terminal device of terminal device is more and more, Ke Yiying Scene is also more and more.By the hardware module configured in terminal device, terminal device can be made to obtain external information, letter The functions such as breath identification, information processing and mobile communication.But increasing with the demand of user, existing terminal device can be real Existing function also becomes to limit to, so the function of needing that terminal device may be implemented is further perfect.
Summary of the invention
A kind of exhaled gas detection method, device, storage medium and terminal device provided by the embodiments of the present application, can be right The gas of user's exhalation is detected and is reminded.
In a first aspect, the embodiment of the present application provides a kind of exhaled gas detection method, comprising:
It is continuously more by the gas sensor being arranged in the terminal device in the microphone of user's using terminal equipment The gas information of secondary acquisition user exhalation;
Testing result is generated according to the gas information;
The testing result is exported by the terminal device.
Second aspect, the embodiment of the present application provide a kind of exhaled gas detection device, comprising:
Gas information acquisition module, in the microphone of user's using terminal equipment, by the terminal device The gas information of gas sensor continuous several times acquisition user's exhalation of setting;
Testing result generation module, for generating testing result according to the gas information;
As a result output module, for exporting the testing result by the terminal device.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the exhaled gas detection method as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal device, including memory, processor and are stored in storage It can realize on device and when the computer program of processor operation, the processor execute the computer program as the application is real Apply exhaled gas detection method described in example.
A kind of exhaled gas detection scheme provided in the embodiment of the present application, passes through the Mike in user's using terminal equipment When wind, the gas information of user's exhalation is acquired by the gas sensor continuous several times being arranged in the terminal device;According to institute It states gas information and generates testing result;The testing result is exported by the terminal device.By using above-mentioned technical proposal, Can be in the microphone of user's using terminal equipment, the gas information of continuous acquisition user exhalation, to the gas of user's exhalation It carries out analysis and generates testing result, and exported to prompt user.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of exhaled gas detection method provided by the embodiments of the present application;
Fig. 2 is the structural schematic diagram of detector provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another exhaled gas detection method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another exhaled gas detection method provided by the embodiments of the present application;
Fig. 5 is the flow diagram of another exhaled gas detection method provided by the embodiments of the present application;
Fig. 6 is the flow diagram of another exhaled gas detection method provided by the embodiments of the present application;
Fig. 7 is a kind of schematic diagram of a scenario of exhaled gas detection method provided by the embodiments of the present application;
Fig. 8 is the schematic diagram of a scenario of another exhaled gas detection method provided by the embodiments of the present application;
Fig. 9 is the flow diagram of another exhaled gas detection method provided by the embodiments of the present application;
Figure 10 is a kind of structural block diagram of exhaled gas detection device provided by the embodiments of the present application;
Figure 11 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application;
Figure 12 is the structural schematic diagram of another terminal device provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is understood that It is that specific embodiment described herein is used only for explaining the application, rather than the restriction to the application.It further needs exist for illustrating , part relevant to the application is illustrated only for ease of description, in attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
Terminal device can be smart phone, tablet computer or other electronic equipments with corresponding operating system, terminal Different hardware modules is typically provided in equipment to realize corresponding function.The embodiment of the present application by taking on the terminal device The gas sensor of load, the gas of detection user exhalation when the microphone of user's using terminal equipment carries out voice communication, and The gas is analyzed to generate corresponding prompt or suggest, may remind the user that concern oral health.
Fig. 1 is a kind of flow diagram of exhaled gas detection method provided by the embodiments of the present application, and this method can be by Exhaled gas detection device executes, and wherein the device can generally be can integrate by software and or hardware realization in terminal device In, also it can integrate in the equipment that other are equipped with operating system.As shown in Figure 1, this method comprises:
S110, in the microphone of user's using terminal equipment, pass through the gas sensor being arranged in the terminal device Continuous several times acquire the gas information of user's exhalation.
Wherein, when the microphone of user's using terminal equipment, can be the microphone of user's using terminal equipment into When row voice communication or when the microphone of user's using terminal equipment is recorded;The voice communication can be carry out language Sound call, or voice messaging is sent using social tool.
The gas sensor is arranged in terminal device, gas sensor be for detecting the gas in ambient enviroment, It determines the characteristic parameter of gas, and the characteristic parameter is converted into the converter of corresponding electric signal.The gas information It may include the characteristic parameter for the gas that gas sensor detects, characteristic parameter can be concentration parameter.
User is when the microphone of using terminal equipment is spoken, while meeting exhaled gas, in user during speaking, gas Body sensor continuous several times acquire the gas information of user's exhalation.The continuous several times can be terminal device within the set time Gas information in continuous collecting ambient enviroment can also be the gas letter acquired in an ambient enviroment every the setting period Breath, to acquire multiple gas information.
When the microphone of user's using terminal equipment is spoken, the gas of exhalation is not evenly to breathe out, with user The tone spoken is different, and the gas flow and gas velocity of exhalation are also varied, so being breathed out by lasting multi collect user Gas information, so as to get the gas information for the oral health that can accurately reflect user.The gas information can To include gas with various and its corresponding characteristic parameter that user is breathed out, concentration parameter can be.
Wherein, the detection mouth of the gas sensor and the detection mouth of the microphone are the same entrance, the gas Sensor is than the microphone closer to the entrance.
The detection mouth of the gas sensor is the entrance that the gas for breathing out user enters, the inspection of the microphone Surveying mouth is the entrance for entering the sound of user.
User, generally can be close to microphone, so that microphone acquires use well in the microphone of using terminal equipment The sound at family, thus by by the detection mouth of the detection mouth of the gas sensor and the microphone be set as it is same enter Mouthful, it can directly make user when the detection mouth close to microphone is spoken, the detection mouth of gas sensor can also be closer to use The gas of family exhalation, so as to collect gas information.
Illustratively, terminal device is mobile phone, and user is when carrying out voice communication using mobile phone, mobile phone The detection mouth of microphone the bottom of mobile phone is set, generally can be by the top of mobile phone close to user's ear, the bottom of mobile phone is leaned on The mouth of nearly user.By the detection mouth of gas sensor be set as with the detection mouth of microphone be the same entrance when, the entrance The gas information of user's exhalation can also be detected.
Optionally, as shown in Fig. 2, the gas sensor 101 and the microphone 102 are set to the terminal device It is interior, it can be on the circuit board 106 being arranged in terminal device.The entrance 100 is set to the shell 103 of the terminal device On;The stomata 104 of the gas sensor 101, the sound hole 105 of the microphone 102 are connected with the entrance 100, and institute The sound hole 105 of the stomata 104 of gas sensor 101 than the microphone 102 is stated closer to the entrance 100.The stomata 104 For for passing the gas through, gas sensor 101 can acquire gas information;The sound hole 105 is the wheat for passing through sound Gram wind 102 can acquire sound.
Wherein, volatile organic compounds (VOC, the Volatile of gas sensor user's exhalation detected Organic Compounds) gas, illustratively, can be detection user exhalation gas in volatile sulfur compounds (VSCs,Volatile Sulfur Compounds).The spread scope and spread speed of sound will be greater than the propagation model of gas Enclose and spread speed, thus by by the stomata 104 of gas sensor be set as than the sound hole 105 of microphone closer to it is described enter Mouthful, the collected gas information of gas sensor can be made more acurrate, and will not influence the sound collection work of microphone.
S111, testing result is generated according to the gas information.
Wherein it is possible to analyze by gas sensor gas information detected, to generate testing result;It can be with By the way that the gas information and standard information to be compared, examined according to the error amount of the gas information and standard information Survey result.
The standard information may include the standard parameter for determining the implication health of user's exhalation, the standard information It can be and be pre-stored in terminal device, or be stored in background data base;User's using terminal equipment microphone simultaneously When acquiring the gas of user's exhalation by gas sensor, pre-stored standard information can be called to carry out the gas letter to acquisition Breath is compared analysis, to obtain testing result.
The testing result, which may is that, is compared obtained error amount, and root according to gas information and standard information The testing result for user's oral health determined according to the error amount.
The error amount and corresponding testing result can be and be stored in advance in terminal device, or be stored in rear number of units According in library, the different error amounts of gas information and standard information, available different testing result.Illustratively, the gas A special parameter in body information can then determine that the oral cavity of user is strong below or above the special parameter in standard information Health there are problems that it is corresponding certain, then corresponding testing result can be generated.
S112, the testing result is exported by the terminal device.
Wherein it is possible to be to show the testing result by the display screen of terminal device, it is also possible to pass through terminal device Loudspeaker export the testing result, so as to by detecting that testing result determined by the gas information of user's exhalation is accused Know that user, user can pay close attention to the oral health of itself in time.
It is alternatively possible to when user stops using the microphone of terminal device, by described in terminal device output Testing result.Illustratively, if the microphone that terminal device is used in user carries out voice communication, voice is hung up in user Call, when stopping using the microphone of terminal device, user can generally check the display screen of terminal device to confirm shown voice Whether call is hung up, and the testing result can be shown by the screen of terminal device at this time, so that user can see as early as possible The testing result pays close attention to the oral health of its own in time.
A kind of exhaled gas detection method provided in the embodiment of the present application, passes through the Mike in user's using terminal equipment When wind, the gas information of user's exhalation is acquired by the gas sensor continuous several times being arranged in the terminal device;According to institute It states gas information and generates testing result;The testing result is exported by the terminal device.By using above-mentioned technical proposal, Can be in the microphone of user's using terminal equipment, the gas information of continuous acquisition user exhalation, to the gas of user's exhalation It carries out analysis and generates testing result, and exported to prompt user.
Fig. 3 is the flow diagram of another exhaled gas detection method provided by the embodiments of the present application, in above-mentioned implementation On the basis of technical solution provided by example, the gas sensor continuous several times acquisition by being arranged in the terminal device is used The operation of the gas information of family exhalation is optimized, optionally, as shown in figure 3, this method comprises:
S120, in the microphone of user's using terminal equipment, determine the interaction distance of user and the terminal device.
Wherein, it when the interaction distance of the user and the terminal device is the microphone of user's using terminal equipment, uses The distance between family and the terminal device.Illustratively, if the terminal device is mobile phone, user is carried out by mobile phone When voice communication, the face that mobile phone is close to the users can be subjected to voice communication, at this time between user and the terminal device Interaction distance is very close, almost completely attaches to.And if user may be by mobile phone when user passes through mobile phone transmission voice information It being placed in front of mouth but is not contacted, the interaction distance between user and the terminal device is closer at this time, but It is that there are still the distances within 30 centimetres.If user is recorded by the microphone of mobile phone, user may put down mobile phone It is placed on the desktop beside user, user may maintain at a distance from 30 centimetres or more with mobile phone.
Can be determined by the distance detection device being arranged in terminal device the interaction of user and the terminal device away from From;The sensing device can be the ultrasonic sensor or infrared sensor of terminal device setting.The determination of interaction distance Specific embodiment can be determined according to practical situations, and the application is not limited thereto.
If S121, the interaction distance are less than pre-determined distance, pass through the gas sensing being arranged in the terminal device Device continuous several times acquire the gas information of user's exhalation.
Due to user's using terminal equipment microphone when, there are different interaction distances;And the gas of user's exhalation Spread scope is limited, and larger distance, which may result in gas sensor, can not detect effective gas information.So When user uses microphone, determine the interaction distance of user and the terminal device, the interaction distance be less than it is default away from From when, just execute and acquire gas information that user breathes out by the gas sensor continuous several times that are arranged in the terminal device Operation, avoid the interaction distance of user and terminal device farther out when, gas sensor, which collects invalid gas information, to be caused to examine Survey result mistake.The pre-determined distance is effective detecting distance of the gas sensor, can be systemic presupposition.
S122, testing result is generated according to the gas information.
S123, the testing result is exported by the terminal device.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
The embodiment of the present application is by the microphone of user's using terminal equipment, determining user and the terminal device Interaction distance is connected if the interaction distance is less than pre-determined distance by the gas sensor being arranged in the terminal device The gas information of continuous multi collect user exhalation;Gas sensing can be avoided when the interaction distance of user and terminal are distant Device executes the gas information of acquisition user's exhalation, and then useless gas information can be detected to avoid gas sensor.
Fig. 4 is the flow diagram of another exhaled gas detection method provided by the embodiments of the present application, above-mentioned any On the basis of technical solution provided by embodiment, optionally, as shown in figure 4, this method comprises:
S130, in the microphone of user's using terminal equipment, determine the interaction distance of user and the terminal device.
If S131, the interaction distance are less than pre-determined distance, pass through the gas sensing being arranged in the terminal device Device continuous several times acquire the gas information of user's exhalation.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
S132, corresponding adjusting parameter is determined according to the interaction distance, and the company is adjusted according to the adjusting parameter The gas information of continuous multi collect.
Wherein, even if interaction distance is in the range of pre-determined distance, but the diffusion of the gas due to being breathed out with user, The distance of interaction distance can also influence the gas information of acquisition.The gas of user's exhalation, remote apart from user one nearly one Two collected gas information of gas sensor institute are arranged may be different, the collected gas of farther away gas sensor institute The accuracy of body information is lower than the closer collected gas information of gas sensor.
As the standard information for analyzing the gas information, usually according to it is preset preferably apart from when it is identified Standard information.So needing to determine corresponding adjusting parameter according to the interaction distance, the adjusting parameter is for acquisition To the parameter that is adjusted of gas information, even if so that user is in and the position of terminal device distinct interaction distance, gas Sensor can collect accurate gas information.It can determine that information determines that interaction distance is corresponding according to preset parameter Adjusting parameter.
Optionally, following manner can be passed through according to the gas information that the adjusting parameter adjusts the continuous several times acquisition Implement:
It determines the aimed concn parameter in the gas information of the continuous several times acquisition, institute is adjusted according to the adjusting parameter State aimed concn parameter.
It wherein, include multiple gases and corresponding concentration parameter in the gas information;The aimed concn parameter is For determining the concentration parameter of the object gas of user's oral health.Illustratively, the object gas is the gas of user's exhalation Volatile sulfur compounds in body, so aimed concn parameter is the concentration parameter of volatile sulfur compounds.After determining adjusting parameter, The concentration parameter of the volatile sulfur compounds can be adjusted according to adjusting parameter, so as to the volatility in standard information When the normal concentration of sulfide compares, available more accurate testing result.
Wherein, the aimed concn parameter in multiple gas information for including in the gas information of the continuous several times acquisition, The multiple aimed concn parameter is adjusted according to the adjusting parameter, so that each gas information can be according to the adjusting parameter It is adjusted.
S133, testing result is generated according to the gas information.
S134, the testing result is exported by the terminal device.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
The embodiment of the present application is by determining corresponding adjusting parameter according to the interaction distance, and according to the adjusting parameter The gas information for adjusting the continuous several times acquisition, is adjusted correspondingly gas information according to interaction distance, can be improved The accuracy of the collected gas information of gas sensor.
Fig. 5 is the flow diagram of another exhaled gas detection method provided by the embodiments of the present application, above-mentioned any On the basis of technical solution provided by embodiment, optionally, as shown in figure 5, this method comprises:
S140, in the microphone of user's using terminal equipment, pass through the gas sensor being arranged in the terminal device Continuous several times acquire the gas information of user's exhalation.
Specific embodiment can refer to associated description above, and details are not described herein.
S141, determine user and the gas sensor detection mouth interaction angle;Wherein, the detection mouth is set to eventually On the shell of end equipment, the gas for breathing out user enters.
Wherein, the interactive angle is the detection side of the exhalation angle of user's exhaled gas and the detection mouth of gas sensor The angle of angle between.What it is due to the gas sensor is arranged in terminal device, is set on the shell of terminal device It is equipped with corresponding detection mouth, if it is desired to effectively detect the gas information of user's exhalation, the gas of user's exhalation needs to enter should Detection mouth, and by the stomata of gas sensor, so that gas sensor can detecte.So the exhalation of user's exhaled gas Angle between angle and the detection direction of gas sensor detection mouth can also impact the gas information of acquisition.
The detection direction of the detection mouth can be entering of being arranged from the stomata to the terminal device of gas sensor The direction of mouth.Illustratively, if the detection mouth for the gas sensor being arranged on terminal device, that is, entrance was arranged at end The bottom side of end equipment, i.e., when user's standing using terminal equipment, which is towards ground, and correspondingly the gas passes The detection direction of the detection mouth of sensor is also towards ground.
Illustratively, if user carries out common voice communication by terminal device, user can paste terminal device In the side face of user, and by the earpiece of terminal device close to ear, the microphone of terminal device is close to mouth.At this time if gas The detection direction of the detection mouth of sensor is the side face direction in user and towards ground direction, and the direction of user's exhaled gas is To the positive face direction and diagonally downward of user, so the gas of user's exhalation possibly can not largely enter gas sensing In the stomata of device, the gas of gas sensor user's exhalation detected may be not accurate enough.And if user is to pass gas The mouth of the detection mouth of sensor against user are exhaled, and the gas of user's exhalation can largely enter gas sensing In the stomata of device, gas sensor gas information collected also can be more acurrate.
So corresponding adjusting parameter can be determined according to the interactive angle in interaction angle difference, so as to The gas information of the continuous several times acquisition, available accurate gas information are adjusted according to the adjusting parameter.
S142, corresponding adjusting parameter is determined according to the interactive angle, and the company is adjusted according to the adjusting parameter The gas information of continuous multi collect.
Wherein it is possible to determine that information determines the corresponding adjusting parameter of the interactive angle according to preset parameter, described It can be no longer superfluous herein with reference to associated description above according to the gas information that the adjusting parameter adjusts the continuous several times acquisition It states.
S143, testing result is generated according to the gas information.
S144, the testing result is exported by the terminal device.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
Optionally, as shown in fig. 6, the operation of the interaction angle of the detection mouth of the determining user and the gas sensor It can be implemented by following manner:
S145, the space angle for determining the terminal device, and the gas sensor is determined according to the space angle Detection mouth detection angles.
Wherein, the space angle of the terminal device is the angle where the using face of terminal device, and using face can be Face where the screen of terminal device, the angle where using face can be the relative angle of using face and datum level.It is exemplary Ground, if the terminal device be lay flat on the table, datum level is horizontal plane, then the space angle of the terminal device be with The parallel angle of horizontal plane can determine the sky of terminal device by the gyroscope that is arranged in terminal device or angular transducer Between angle.
It can be determined according to the position of the setting of the detection mouth of the gas sensor and the space angle of terminal device The detection angles of the detection mouth.Illustratively, if in the bottom side that the detection mouth of the detector is arranged in, The detection angles of the detection mouth are identical with space angle;And if the detection mouth of the detector is arranged in terminal device Using face side, then the detection angles of the detection mouth and space angle are perpendicular.
S146, the relative usage angle for determining the user and the terminal device.
Wherein, the relative usage angle of the user and the terminal device can be user and use in using terminal equipment Face's angle at family;Illustratively, the angle for the plane that face's angle can be the eyes of user and mouth is formed, it is described The angle of plane can be the relative angle of the plane and datum level.It can determine to use according to face's angle of the user The exhalation angle of family exhaled gas.
S147, according to the detection angles and the relative usage angle, determine the inspection of user and the gas sensor Survey the interaction angle of mouth.
According to the detection angles and the relative usage angle, i.e., according to the detection angles of detection mouth and user's expiratory air The exhalation angle of body can determine the interaction angle of the detection mouth of the user and the gas sensor.
Illustratively, as shown in Figure 7 and Figure 8, the setting of detection mouth 11 of the gas sensor of terminal device 10 is set in terminal In standby 10 bottom side;The detection angles of the detection mouth of gas sensor are L1, and the exhalation angle of user's exhaled gas is L2, Angle between detection angles L1 and exhalation angle L2 is interaction angle.Interaction angle is a, institute in Fig. 8 as shown in Figure 7 The interaction angle stated is b, and interaction angle a is greater than interaction angle b, due to interactive angle shown in fig. 7, the gas of user's exhalation Detection mouth may less be entered, so the standard of the gas information for user's exhalation that gas sensor can be detected in Fig. 7 The accuracy of true property gas information more collected than gas sensor shown in fig. 8 may be lower.So the determining and friendship The corresponding adjusting parameter of mutual angle, and the gas information that the continuous several times acquire, Ke Yiti are adjusted according to the adjusting parameter The accuracy of high collected gas information.
The embodiment of the present application is by determining corresponding adjusting parameter according to the interactive angle, and according to the adjusting parameter The gas information for adjusting the continuous several times acquisition, can be adjusted by the interaction angle of user and the detection mouth of gas sensor The whole collected gas information of gas sensor, further increases the accuracy of the collected gas information of gas sensor.
Fig. 9 is the flow diagram of another exhaled gas detection method provided by the embodiments of the present application, above-mentioned any On the basis of technical solution provided by embodiment, optionally, as shown in figure 9, this method comprises:
S150, in the microphone of user's using terminal equipment, pass through the gas sensor being arranged in the terminal device Continuous several times acquire the gas information of user's exhalation, to obtain the gas information of preset quantity.
Wherein it is possible to the gas information of user exhalation be acquired every preset time, to obtain the gas of preset quantity Information, preset quantity can be systemic presupposition, be not limited thereto.
If accounting of the quantity of S151, exceeded gas information in preset quantity is greater than preset ratio, according to Exceeded gas information generates corresponding testing result;Wherein, the exceeded gas information includes that aimed concn parameter belongs to setting Gas information in threshold value.
It wherein, include a variety of different gases in the gas of user's exhalation, illustratively, including nitrogen, oxygen, rare gas Body, carbon dioxide and vapor etc..In the gas of people's exhalation of general health, the characteristic parameter of gas with various can all be marked at one In quasi- parameter area, if there is the characteristic parameter of some gas is not in the parameter area of standard, then it represents that the oral cavity of user Health there is a problem.
Aimed concn parameter is the concentration parameter of the object gas in exhaled gas, by judging the target in gas information The concentration parameter of gas can determine whether the object gas does not meet health standards whether in given threshold, and then can be with Determine that the oral health of user goes wrong.If in the gas information of the preset quantity of acquisition, most object gas Concentration parameter does not comply with health standards, then can generate corresponding testing result according to exceeded gas information.Illustratively, such as Object gas described in fruit is volatile sulfur compounds, if in the gas information of collected setting quantity, in most gas information The concentration parameter of volatile sulfur compounds belongs to given threshold, that is, does not meet health standards, then can determine the exhalation of user Gas goes wrong, and then generates corresponding testing result, and prompt user.
Different object gas is exceeded, and corresponding oral health issue is different, can be according to different exceeded gas Information generates corresponding different testing result, to prompt user.
S152, the testing result is exported by the terminal device.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
The embodiment of the present application passes through the gas information of acquisition preset quantity, and in the quantity of exceeded gas information in present count When accounting in amount is greater than preset ratio, corresponding testing result is generated according to the exceeded gas information, can be improved to The accuracy of the analytical judgment of family exhaled gas.
Figure 10 is a kind of structural block diagram of exhaled gas detection device provided by the embodiments of the present application, which can execute Exhaled gas detection method, as shown in Figure 10, which includes:
Gas information acquisition module 210, for passing through the terminal device in the microphone of user's using terminal equipment The gas information of gas sensor continuous several times acquisition user's exhalation of middle setting;
Testing result generation module 211, for generating testing result according to the gas information;
As a result output module 212, for exporting the testing result by the terminal device.
A kind of exhaled gas detection device provided in the embodiment of the present application, passes through the Mike in user's using terminal equipment When wind, the gas information of user's exhalation is acquired by the gas sensor continuous several times being arranged in the terminal device;According to institute It states gas information and generates testing result;The testing result is exported by the terminal device.By using above-mentioned technical proposal, Can be in the microphone of user's using terminal equipment, the gas information of continuous acquisition user exhalation, to the gas of user's exhalation It carries out analysis and generates testing result, and exported to prompt user.
Optionally, gas information acquisition module is specifically used for:
Determine the interaction distance of user and the terminal device;
It is continuous by the gas sensor being arranged in the terminal device if the interaction distance is less than pre-determined distance The gas information of multi collect user exhalation.
Optionally, further includes:
First parameter adjustment module is used for before generating testing result according to the gas information, according to the interaction Distance determines corresponding adjusting parameter, and the gas information of the continuous several times acquisition is adjusted according to the adjusting parameter.
Optionally, further includes:
Angle-determining module, for determining user and the gas before generating testing result according to the gas information The interaction angle of the detection mouth of body sensor;Wherein, the detection mouth is set on the shell of terminal device, for breathing out user Gas enter;
Second parameter adjustment module, for determining corresponding adjusting parameter according to the interactive angle, and according to the tune Whole parameter adjusts the gas information of the continuous several times acquisition.
Optionally, angle-determining module is specifically used for:
It determines the space angle of the terminal device, and determines the detection of the gas sensor according to the space angle The detection angles of mouth;
Determine the relative usage angle of the user and the terminal device;
According to the detection angles and the relative usage angle, the detection mouth of user and the gas sensor is determined Interaction angle.
Optionally, the first parameter adjustment module or the second parameter adjustment module are specifically used for:
It determines the aimed concn parameter in the gas information of the continuous several times acquisition, institute is adjusted according to the adjusting parameter State aimed concn parameter.
Optionally, gas information acquisition module is specifically used for:
The gas information of user's exhalation is acquired by the gas sensor continuous several times being arranged in terminal device, it is pre- to obtain If the gas information of quantity.
Optionally, testing result generation module is specifically used for:
If accounting of the quantity of exceeded gas information in preset quantity is greater than preset ratio, according to the exceeded gas Body information generates corresponding testing result;Wherein, the exceeded gas information includes that aimed concn parameter belongs in given threshold Gas information.
Optionally, the detection mouth of the gas sensor and the detection mouth of the microphone are the same entrance, the gas Body sensor is than the microphone closer to the entrance.
Optionally, the gas sensor and the microphone are set in the terminal device, and the entrance is set to On the shell of the terminal device;
The stomata of the gas sensor, the microphone sound hole be connected with the entrance, and the gas sensing The stomata of device than the microphone sound hole closer to the entrance.
A kind of storage medium comprising computer executable instructions provided by the embodiment of the present application, computer are executable The exhaled gas detection operation being not limited to the described above is instructed, expiratory air provided by the application any embodiment can also be performed Relevant operation in body detecting method.
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable Instruction is used to execute exhaled gas detection method when being executed by computer processor, this method comprises:
It is continuously more by the gas sensor being arranged in the terminal device in the microphone of user's using terminal equipment The gas information of secondary acquisition user exhalation;
Testing result is generated according to the gas information;
The testing result is exported by the terminal device.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term Matter " may include may reside in different location (such as by network connection different computer systems in) two or More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement For computer program).
The embodiment of the present application provides a kind of terminal device, and provided by the embodiments of the present application exhale can be integrated in the terminal device Gas-detecting device out.
Figure 11 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application, and the embodiment of the present application provides one Kind of terminal device 30, including memory 31, processor 32 and are stored on memory 31 and can be in the computer of processor operation Program, the processor realize exhaled gas detection method described in above-described embodiment when executing the computer program.This Shen Please the terminal device that provides of embodiment, the gas that can be breathed out to user detect and remind.
Figure 12 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application.As shown in figure 12, which sets Standby may include: shell (not shown), touch screen (not shown), touch key-press (not shown), memory 301,302 (also known as processor, hereinafter referred to as CPU), circuit board of central processing unit (Central Processing Unit, CPU) (not shown) and power circuit (not shown).The circuit board is placed in the space interior that the shell surrounds;Institute It states CPU302 and the memory 301 is arranged on the circuit board;The power circuit, for for each of the terminal device A circuit or device power supply;The memory 301, for storing executable program code;The CPU302 passes through described in reading The executable program code stored in memory 301 runs computer program corresponding with the executable program code, with It performs the steps of
It is continuously more by the gas sensor being arranged in the terminal device in the microphone of user's using terminal equipment The gas information of secondary acquisition user exhalation;
Testing result is generated according to the gas information;
The testing result is exported by the terminal device.
The terminal device further include: Peripheral Interface 303, RF (Radio Frequency, radio frequency) circuit 305, audio-frequency electric Road 306, loudspeaker 311, power management chip 308, input/output (I/O) subsystem 309, touch screen 312, other input/controls Control equipment 310 and outside port 304, these components are communicated by one or more communication bus or signal wire 307.
It should be understood that graphic terminal 300 is only an example of terminal device, and terminal device 300 It can have than shown in the drawings more or less component, can combine two or more components, or can be with It is configured with different components.Various parts shown in the drawings can include one or more signal processings and/or dedicated It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Just the terminal device provided in this embodiment for realizing exhaled gas detection is described in detail below, the end End equipment takes the mobile phone as an example.
Memory 301, the memory 301 can be accessed by CPU302, Peripheral Interface 303 etc., and the memory 301 can It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU302 and deposited by Peripheral Interface 303, the Peripheral Interface 303 Reservoir 301.
I/O subsystem 309, the I/O subsystem 309 can be by the input/output peripherals in equipment, such as touch screen 312 With other input/control devicess 310, it is connected to Peripheral Interface 303.I/O subsystem 309 may include 3091 He of display controller For controlling one or more input controllers 3092 of other input/control devicess 310.Wherein, one or more input controls Device 3092 processed receives electric signal from other input/control devicess 310 or sends electric signal to other input/control devicess 310, Other input/control devicess 310 may include physical button (push button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.It is worth noting that input controller 3092 can with it is following any one connect: keyboard, infrared port, The indicating equipment of USB interface and such as mouse.
Touch screen 312, the touch screen 312 are the input interface and output interface between subscriber terminal equipment and user, Visual output is shown to user, visual output may include figure, text, icon, video etc..
Display controller 3091 in I/O subsystem 309 receives electric signal from touch screen 312 or sends out to touch screen 312 Electric signals.Touch screen 312 detects the contact on touch screen, and the contact that display controller 3091 will test is converted to and is shown The interaction of user interface object on touch screen 312, i.e. realization human-computer interaction, the user interface being shown on touch screen 312 Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuit 305 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 305 receives and sends RF letter Number, RF signal is also referred to as electromagnetic signal, and RF circuit 305 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 305 may include for executing The known circuit of these functions comprising but it is not limited to antenna system, RF transceiver, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 306 is mainly used for receiving audio data from Peripheral Interface 303, which is converted to telecommunications Number, and the electric signal is sent to loudspeaker 311.
Loudspeaker 311 is reduced to sound for mobile phone to be passed through RF circuit 305 from the received voice signal of wireless network And the sound is played to user.
Power management chip 308, the hardware for being connected by CPU302, I/O subsystem and Peripheral Interface are powered And power management.
Terminal device provided by the embodiments of the present application, the gas that can be breathed out to user are detected and are reminded.
It is any that the application can be performed in exhaled gas detection device, storage medium and the terminal device provided in above-described embodiment Exhaled gas detection method provided by embodiment has and executes the corresponding functional module of this method and beneficial effect.Not upper The technical detail of detailed description in embodiment is stated, reference can be made to exhaled gas detection method provided by the application any embodiment.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation, The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.

Claims (13)

1. a kind of exhaled gas detection method characterized by comprising
In the microphone of user's using terminal equipment, adopted by the gas sensor continuous several times being arranged in the terminal device Collect the gas information of user's exhalation;
Testing result is generated according to the gas information;
The testing result is exported by the terminal device.
2. the method as described in claim 1, which is characterized in that continuous by the gas sensor being arranged in the terminal device Multi collect user exhalation gas information include:
Determine the interaction distance of user and the terminal device;
If the interaction distance is less than pre-determined distance, pass through the gas sensor continuous several times being arranged in the terminal device Acquire the gas information of user's exhalation.
3. method according to claim 2, which is characterized in that before generating testing result according to the gas information, also wrap It includes:
Corresponding adjusting parameter is determined according to the interaction distance, and the continuous several times are adjusted according to the adjusting parameter and are acquired Gas information.
4. the method as described in claim 1, which is characterized in that before generating testing result according to the gas information, also wrap It includes:
Determine the interaction angle of the detection mouth of user and the gas sensor;Wherein, the detection mouth is set to terminal device On shell, the gas for breathing out user enters;
Corresponding adjusting parameter is determined according to the interactive angle, and the continuous several times are adjusted according to the adjusting parameter and are acquired Gas information.
5. method as claimed in claim 4, which is characterized in that determine the interaction of the detection mouth of user and the gas sensor Angle includes:
It determines the space angle of the terminal device, and the detection mouth of the gas sensor is determined according to the space angle Detection angles;
Determine the relative usage angle of the user and the terminal device;
According to the detection angles and the relative usage angle, the interaction of the detection mouth of user and the gas sensor is determined Angle.
6. the method as claimed in claim 3 or 4, which is characterized in that adjust the continuous several times according to the adjusting parameter and adopt The gas information of collection includes:
It determines the aimed concn parameter in the gas information of the continuous several times acquisition, the mesh is adjusted according to the adjusting parameter Mark concentration parameter.
7. such as method described in any one of claim 1 to 5, which is characterized in that pass through the gas sensing being arranged in terminal device Device continuous several times acquire the gas information that user breathes out
The gas information of user's exhalation is acquired, by the gas sensor continuous several times being arranged in terminal device to obtain present count The gas information of amount.
8. the method for claim 7, which is characterized in that generating testing result according to the gas information includes:
If accounting of the quantity of exceeded gas information in preset quantity is greater than preset ratio, believed according to the exceeded gas Breath generates corresponding testing result;Wherein, the exceeded gas information includes the gas that aimed concn parameter belongs in given threshold Body information.
9. such as method described in any one of claim 1 to 5, which is characterized in that the detection mouth of the gas sensor and described The detection mouth of microphone is the same entrance, and the gas sensor is than the microphone closer to the entrance.
10. method as claimed in claim 9, which is characterized in that the gas sensor and the microphone are set to described In terminal device, the entrance is set on the shell of the terminal device;
The stomata of the gas sensor, the microphone sound hole be connected with the entrance, and the gas sensor Stomata than the microphone sound hole closer to the entrance.
11. a kind of exhaled gas detection device characterized by comprising
Gas information acquisition module, in the microphone of user's using terminal equipment, by being arranged in the terminal device Gas sensor continuous several times acquisition user exhalation gas information;
Testing result generation module, for generating testing result according to the gas information;
As a result output module, for exporting the testing result by the terminal device.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Such as exhaled gas detection method of any of claims 1-10 is realized when execution.
13. a kind of terminal device, which is characterized in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, which is characterized in that the processor realizes such as claim 1-10 when executing the computer program Described in any item exhaled gas detection methods.
CN201810635520.8A 2018-06-20 2018-06-20 Exhaled gas detection method and device, storage medium and terminal equipment Expired - Fee Related CN108968962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810635520.8A CN108968962B (en) 2018-06-20 2018-06-20 Exhaled gas detection method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810635520.8A CN108968962B (en) 2018-06-20 2018-06-20 Exhaled gas detection method and device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN108968962A true CN108968962A (en) 2018-12-11
CN108968962B CN108968962B (en) 2021-05-11

Family

ID=64541468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810635520.8A Expired - Fee Related CN108968962B (en) 2018-06-20 2018-06-20 Exhaled gas detection method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN108968962B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459272A (en) * 2020-03-30 2020-07-28 珠海格力电器股份有限公司 Interaction method, interaction device, storage medium and electronic equipment
US11890078B2 (en) 2020-02-10 2024-02-06 Samsung Electronics Co., Ltd. System and method for conducting on-device spirometry test

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5531225A (en) * 1993-10-15 1996-07-02 Toyota Jidosha Kabushiki Kaisha Measuring apparatus for a component contained in exhalation
US20040081582A1 (en) * 2002-09-10 2004-04-29 Oxyfresh Worldwide, Inc. Cell phone/breath analyzer
CN101373992A (en) * 2007-08-20 2009-02-25 深圳富泰宏精密工业有限公司 Multifunctional earphone and system for monitoring alcohol concentration using the same
CN102083240A (en) * 2009-11-30 2011-06-01 深圳富泰宏精密工业有限公司 Mobile telephone
CN103969428A (en) * 2013-01-31 2014-08-06 盛思锐股份公司 Portable electronic device with breath analyzer
EP2762882A1 (en) * 2013-01-31 2014-08-06 Sensirion Holding AG Portable electronic device with ketone sensor
CN105286879A (en) * 2015-09-16 2016-02-03 北京百纳威尔无线通信设备有限公司 Safe driving duration determining method, safe driving duration determining device and terminal
CN105318910A (en) * 2014-06-10 2016-02-10 精工爱普生株式会社 Breath detection device, mobile terminal and time display device
CN105445415A (en) * 2014-06-18 2016-03-30 联想(北京)有限公司 User mouth smell detection method and electronic equipment
CN105997084A (en) * 2016-05-05 2016-10-12 广东小天才科技有限公司 Human body tone detection method and device
CN107167581A (en) * 2017-07-03 2017-09-15 广东欧珀移动通信有限公司 health detecting method, device, terminal device and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5531225A (en) * 1993-10-15 1996-07-02 Toyota Jidosha Kabushiki Kaisha Measuring apparatus for a component contained in exhalation
US20040081582A1 (en) * 2002-09-10 2004-04-29 Oxyfresh Worldwide, Inc. Cell phone/breath analyzer
CN101373992A (en) * 2007-08-20 2009-02-25 深圳富泰宏精密工业有限公司 Multifunctional earphone and system for monitoring alcohol concentration using the same
CN102083240A (en) * 2009-11-30 2011-06-01 深圳富泰宏精密工业有限公司 Mobile telephone
CN103969428A (en) * 2013-01-31 2014-08-06 盛思锐股份公司 Portable electronic device with breath analyzer
EP2762882A1 (en) * 2013-01-31 2014-08-06 Sensirion Holding AG Portable electronic device with ketone sensor
CN105318910A (en) * 2014-06-10 2016-02-10 精工爱普生株式会社 Breath detection device, mobile terminal and time display device
CN105445415A (en) * 2014-06-18 2016-03-30 联想(北京)有限公司 User mouth smell detection method and electronic equipment
CN105286879A (en) * 2015-09-16 2016-02-03 北京百纳威尔无线通信设备有限公司 Safe driving duration determining method, safe driving duration determining device and terminal
CN105997084A (en) * 2016-05-05 2016-10-12 广东小天才科技有限公司 Human body tone detection method and device
CN107167581A (en) * 2017-07-03 2017-09-15 广东欧珀移动通信有限公司 health detecting method, device, terminal device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11890078B2 (en) 2020-02-10 2024-02-06 Samsung Electronics Co., Ltd. System and method for conducting on-device spirometry test
CN111459272A (en) * 2020-03-30 2020-07-28 珠海格力电器股份有限公司 Interaction method, interaction device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN108968962B (en) 2021-05-11

Similar Documents

Publication Publication Date Title
CN110574103B (en) Voice control method, wearable device and terminal
CN108537207B (en) Lip language identification method, device, storage medium and mobile terminal
CN109087669B (en) Audio similarity detection method and device, storage medium and computer equipment
CN110111787A (en) A kind of semanteme analytic method and server
CN109381165B (en) Skin detection method and mobile terminal
CN110556127B (en) Method, device, equipment and medium for detecting voice recognition result
CN109348135A (en) Photographic method, device, storage medium and terminal device
US10009581B2 (en) Room monitoring device
CN107210824A (en) The environment changing of microphone
CN105100197B (en) The method and device of application is installed
CN109753327A (en) A kind of control layout method, terminal and computer readable storage medium
CN104409081B (en) Audio signal processing method and device
CN109218535A (en) Intelligence adjusts method, apparatus, storage medium and the terminal of volume
CN110599989B (en) Audio processing method, device and storage medium
CN109994111B (en) Interaction method, interaction device and mobile terminal
US11428679B2 (en) Electronic device having structure with gas sensor
CN108574778A (en) Throw screen brightness adjusting method and Related product
CN108968962A (en) Exhaled gas detection method, device, storage medium and terminal device
CN107862660A (en) Data optimization methods, device and ultrasonic platform
CN107508979A (en) volume adjusting method, device, terminal and storage medium
CN108362310A (en) Determination method, apparatus, storage medium and the terminal of earth magnetism accuracy
CN108886548B (en) Method for determining device power consumption of electronic equipment, electronic equipment and storage medium
US9606094B2 (en) Portable electronic device with improved chemical sampling
CN109141355B (en) Relative height measuring method based on multiple sensors and wearable equipment
CN108960213A (en) Method for tracking target, device, storage medium and terminal

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210511