CN106413222A - Method and device for controlling terminal breathing lamp - Google Patents

Method and device for controlling terminal breathing lamp Download PDF

Info

Publication number
CN106413222A
CN106413222A CN201610824995.2A CN201610824995A CN106413222A CN 106413222 A CN106413222 A CN 106413222A CN 201610824995 A CN201610824995 A CN 201610824995A CN 106413222 A CN106413222 A CN 106413222A
Authority
CN
China
Prior art keywords
moment
cycle
light
brightness value
lung
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610824995.2A
Other languages
Chinese (zh)
Inventor
史思远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd, LeTV Holding Beijing Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201610824995.2A priority Critical patent/CN106413222A/en
Publication of CN106413222A publication Critical patent/CN106413222A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The embodiment of the invention provides a method and device for controlling a terminal breathing lamp. The method comprises the following steps: acquiring lung gas contents at various moments within a preset breathing cycle; and controlling the brightness of the breathing lamp at various moments within an on-off cycle according to the lung gas contents at various moments within the preset breathing cycle. The brightness of the breathing lamp at various moments within the on-off cycle is controlled according to the lung gas contents at various moments within the preset respiratory cycle, the process of the breathing lamp to gradually change from darkness to brightness and to gradually change from brightness to darkness can be controlled to be similar to a human breathing process, and thus the breathing lamp displays a dynamic cool effect.

Description

Terminal breathing lamp control method and device
Technical field
The present embodiments relate to field of computer technology, more particularly, to a kind of terminal breathing lamp control method and device.
Background technology
In recent years, gradually stepping up with people's living standard, the requirement to intelligent terminal for the people not only terminates in its work( Can, and the demand in vision decoration and aesthetic measure strengthens further, so, is both provided with breath light in various intelligent terminals, Intelligent terminal can control breathing lamp on/off to increase vision decoration and the aesthetic measure of intelligent terminal.
However, intelligent terminal control control breathing lamp on/off when, how to control breath light by go out to bright gradually change with And by the bright process gradually changing to going out similar to people respiratory so that breath light presents a kind of effect dynamically extremely dazzled It is a technical problem urgently to be resolved hurrily.
Content of the invention
For overcoming problem present in correlation technique, the embodiment of the present invention provides a kind of terminal breathing lamp control method and dress Put.
According to embodiments of the present invention in a first aspect, providing a kind of terminal to breathe lamp control method, methods described includes:
Obtain lung's air content in each moment in the default respiratory cycle;
According to lung's air content in each moment in the described default respiratory cycle, control described breath light each within the light on and off cycle The brightness in moment.
Wherein, the lung's air content according to each moment in the described default respiratory cycle, controls breath light within the light on and off cycle The brightness in each moment, including:
According to lung's air content in each moment in the described default respiratory cycle, determine described breath light in the described light on and off cycle The brightness value in interior each moment;
According to the brightness value in described breath light each moment within the described light on and off cycle, control described breath light in described light on and off The input voltage in each moment in cycle.
Wherein, the lung's air content according to each moment in the described default respiratory cycle, determines described breath light described bright Go out the brightness value in each moment in the cycle, including:
Obtain the maximum lung air content in lung's air content in each breathing moment in the described default respiratory cycle;
Obtain the brightness value corresponding with described maximum lung air content;
According to lung's air content in each moment in the described default respiratory cycle, described maximum lung's air content and with institute State the corresponding brightness value of maximum lung air content, determine the brightness value in each moment in the described default respiratory cycle;
Calculate the ratio between the duration of described default respiratory cycle and the duration in described light on and off cycle;
Brightness value according to each moment in the described default respiratory cycle and described ratio, determine described breath light described The brightness value in each moment in the light on and off cycle.
Wherein, the brightness value according to described breath light each moment within the described light on and off cycle, controls described breath light in institute State the input voltage in each moment in the light on and off cycle, including:
According to described breath light within the described light on and off cycle brightness value in each moment and the described breath light that pre-sets Corresponding relation between the input current of brightness value and described breath light, determines each within the described light on and off cycle with described breath light The brightness value in moment corresponding input current respectively;
According to brightness value corresponding input current and the institute respectively with described breath light each moment within the described light on and off cycle State the default VA characteristic curve of breath light, determine the brightness value difference with described breath light each moment within the described light on and off cycle Corresponding input voltage;
The corresponding input voltage of each moment input within the described light on and off cycle.
Wherein, the duration in described light on and off cycle is equal to the duration of described default respiratory cycle.
Second aspect according to embodiments of the present invention, provides a kind of terminal breathing lamp control device, and described device includes:
Acquisition module, for obtaining lung's air content in each moment in the default respiratory cycle;
Control module, for the lung's air content according to each moment in the described default respiratory cycle, controls described breath light The brightness in each moment within the light on and off cycle.
Wherein, described control module includes:
Determining unit, for the lung's air content according to each moment in the described default respiratory cycle, determines described breath light The brightness value in each moment within the described light on and off cycle;
Control unit, for the brightness value according to described breath light each moment within the described light on and off cycle, exhales described in control Inhale the input voltage in lamp each moment within the described light on and off cycle.
Wherein, described determining unit includes:
First acquisition subelement, for obtaining in lung's air content in each breathing moment in the described default respiratory cycle Maximum lung air content;
Second acquisition subelement, for obtaining the brightness value corresponding with described maximum lung air content;
First determination subelement, for according to lung's air content in each moment in the described default respiratory cycle, described Big lung's air content and the brightness value corresponding with described maximum lung air content, determine each in the described default respiratory cycle The brightness value in moment;
Computation subunit, for calculating the ratio between the duration of described default respiratory cycle and the duration in described light on and off cycle Value;
Second determination subelement, for the brightness value according to each moment in the described default respiratory cycle and described ratio, The brightness value in each moment that determines described breath light within the described light on and off cycle.
Wherein, described control unit includes:
3rd determination subelement, for according to described breath light within the described light on and off cycle brightness value in each moment and in advance Corresponding relation between the brightness value of described breath light of setting and the input current of described breath light, determines and described breath light The brightness value in each moment corresponding input current respectively within the described light on and off cycle;
4th determination subelement, for according to the brightness value with described breath light each moment within the described light on and off cycle respectively Corresponding input current and the default VA characteristic curve of described breath light, determined with described breath light within the described light on and off cycle The brightness value in each moment corresponding input voltage respectively;
Input subelement, for the corresponding input voltage of the input of each moment within the described light on and off cycle.
Wherein, the duration in described light on and off cycle is equal to the duration of described default respiratory cycle.
The technical scheme that embodiments of the invention provide can include following beneficial effect:
In embodiments of the present invention, obtain lung's air content in each moment in the default respiratory cycle;According to default breathing week Lung's air content in each moment in phase, controls the brightness in breath light each moment within the light on and off cycle.By in the default respiratory cycle Lung's air content in each moment is come the brightness in each moment that to control breath light within the light on and off cycle, it is possible to achieve control breath light by going out To bright gradually change and by the bright process gradually changing to going out similar to people respiratory so that breath light presents one kind The effect dynamically extremely dazzled.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The embodiment of the present invention can be limited.
Brief description
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the enforcement meeting the present invention Example, and be used for explaining the principle of the embodiment of the present invention together with specification.
Fig. 1 is the flow chart that a kind of terminal according to an exemplary embodiment breathes lamp control method;
Fig. 2 is the flow chart breathing lamp control method according to a kind of terminal that another exemplary implements to exemplify;
Fig. 3 is the flow chart that a kind of terminal according to further example embodiment breathes lamp control method;
Fig. 4 is a kind of block diagram of the terminal breathing lamp control device according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of the terminal according to an exemplary embodiment.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the embodiment of the present invention.On the contrary, they be only with The example of consistent apparatus and method in terms of some that described in detail in the appended claims, the embodiment of the present invention.
Fig. 1 is the flow chart that a kind of terminal according to an exemplary embodiment breathes lamp control method, as Fig. 1 institute Show, the method is used in terminal, and the method comprises the following steps.
In step S101, obtain lung's air content in each moment in the default respiratory cycle;
In embodiments of the present invention, the process of people's breathing includes the process of air-breathing and the process exhaled.The process of air-breathing is Gas is sucked the process of lung by people, and during this, lung's air content of people is gradually increased, and from minimum lung, air content increases to Maximum lung air content;The process exhaled is behaved the process of the gas discharge of lung, lung's air content of people during this It is gradually reduced, reduce to minimum lung air content from maximum lung air content.
Under normal circumstances, during air-breathing, when lung's air content increases to maximum lung's air content, people will stop Only air-breathing, and start to exhale, during exhaling, when lung's air content is decreased to minimum lung's air content, people starts again Air-breathing, and so on circulatory and respiratory process.Once complete breathing process and once complete exhalation process form a breathing Cycle.
Wherein, for any one moment in the default respiratory cycle, technical staff can be set using gas content monitoring Standby monitoring obtains lung's air content of the people when this moment.Then this moment is formed a record storage with this lung's air content In the moment in the default respiratory cycle and the corresponding relation between lung's air content that store in the terminal.For default breathing week In each moment of interim other, equally execute aforesaid operations.
Therefore, in this step, terminal can obtain the moment in the locally stored default respiratory cycle and lung's gassiness Corresponding relation between amount, then searches the lung corresponding with each moment in the default respiratory cycle in this corresponding relation respectively Air content.
In step s 102, the lung's air content according to each moment in the default respiratory cycle, controls breath light in light on and off week The brightness in each moment in phase.
In embodiments of the present invention, the light on and off process of breath light includes the process lighted and the process extinguished.Light During, the brightness of breath light is gradually increased, and increases to high-high brightness from 0;During extinguishing, the brightness of breath light is gradually Reduce, reduce from high-high brightness and increase to 0.Wherein, during lighting, when the brightness of breath light increases to high-high brightness When, breath light will enter the process of extinguishing, and during extinguishing, when the brightness of breath light is decreased to 0, breath light enters again Enter the process lighted, and so on circulate light on and off process.Once complete ignition and once complete extinguishing process composition One light on and off cycle of breath light.The duration of default respiratory cycle can be identical with the duration in the light on and off cycle of breath light, also may be used With difference.In inventive embodiments, illustrated with the duration that the duration in the light on and off cycle of breath light is equal to the default respiratory cycle Illustrate, but not as the restriction to embodiment of the present invention protection domain.
Specifically, this step can be realized by following 1021~1022 flow process:
1021:According to lung's air content in each moment in the default respiratory cycle, when determining that breath light is each within the light on and off cycle The brightness value carved;
Wherein, for a certain moment in the default respiratory cycle, when lung's air content in this moment is bigger, this when be engraved in In the light on and off cycle, the brightness value in corresponding moment is bigger;When lung's air content in this moment gets over hour, during this breathing, it is engraved in light on and off In cycle, the brightness value in corresponding moment is less.For example, when lung's air content in this moment is maximum lung's air content, this is exhaled The brightness value being engraved in the corresponding moment in the light on and off cycle during suction is maximum brightness value;When lung's air content in this moment is minimum lung During portion's air content, this when be engraved in the corresponding moment in the light on and off cycle brightness value be 0, namely breath light be extinguish.
Lung's air content in each moment in this step basis default respiratory cycle, when determining that breath light is each within the light on and off cycle The concrete determination process of the brightness value carved may refer to the embodiment shown in Fig. 2, and here is not detailed.
1022:According to the brightness value in breath light each moment within the light on and off cycle, when controlling breath light each within the light on and off cycle The input voltage carved.
In embodiments of the present invention, when need control breath light with a certain brightness value shinny when, need to breath light input Voltage corresponding with this brightness value.The corresponding voltage of different brightness values is different.When the voltage inputting to breath light is bigger, exhale The brightness inhaling lamp is bigger, and when the voltage inputting to breath light gets over hour, the brightness of breath light is less.
In embodiments of the present invention, it is located in default input voltage interval to the input voltage that breath light can input, preset Input voltage interval can be 0~nominal input voltage, and wherein, nominal input voltage is can be defeated to the maximum of breath light input Enter voltage.When the voltage inputting to breath light is 0, the brightness of breath light is 0, and that is, breath light is in OFF state, when to exhaling When the voltage inhaling lamp input is for nominal input voltage, the brightness value of breath light is maximum brightness value.
In this step, each brightness value corresponding input voltage respectively of breath light can be obtained, and then exhaled Inhale lamp each moment within the light on and off cycle corresponding input voltage, then within the light on and off cycle during each moment input to breath light right The input voltage answered.
In embodiments of the present invention, obtain lung's air content in each moment in the default respiratory cycle;According to default breathing week Lung's air content in each moment in phase, controls the brightness in breath light each moment within the light on and off cycle.By in the default respiratory cycle Lung's air content in each moment is come the brightness in each moment that to control breath light within the light on and off cycle, it is possible to achieve control breath light by going out To bright gradually change and by the bright process gradually changing to going out similar to people respiratory so that breath light presents one kind The effect dynamically extremely dazzled.
Wherein, in an alternative embodiment of the invention, referring to Fig. 2, step S1021 includes:
In step s 201, obtain the maximum lung gassiness in the lung's air content in each moment in the default respiratory cycle Amount;
Due to lung's air content in each moment in default respiratory cycle of having got in step S101, therefore, In this step, select lung's air content of maximum in all lungs air content that can get from step S101 and make For maximum lung air content.
In step S202, obtain the brightness value corresponding with maximum lung air content;
Wherein, in embodiments of the present invention, maximum when the corresponding brightness value of maximum lung air content is lighted for breath light Brightness value.If breath light brightness value when lighting is too high, user's eye can be made to be upset, and then affect user Eye health.Therefore, in order to avoid user's eye is upset and avoids affecting the eye health of user.Real in the present invention Apply in example, need the brightness value of maximum when breath light is lighted to be defined, due to the breath light when lung's air content is maximum Brightness value maximum, it is therefore desirable to brightness value corresponding with maximum lung air content is defined.
For example, the screen brightness value when lighting for the screen of acquisition terminal;Then by this screen brightness value be defined as with The corresponding brightness value of big lung air content.
Under normal circumstances, the screen of terminal can the screen brightness value when lighting be set to stimulate use by user in advance The brightness value of family eye.Therefore, it can for this screen brightness value to be defined as brightness value corresponding with maximum lung air content.This Sample, even if brightness when breath light is lighted reaches maximum brightness value, the brightness value of breath light is also not above screen brightness value, from Without stimulating user's eye because the brightness value of breath light is too high, the eye health of user also would not be affected.
Again for example, it is possible to obtain the brightness value of terminal place current environment;Wherein, in embodiments of the present invention, Ke Yizhi Connect built-in in terminal light sensor detection and obtain the brightness value of terminal place environment it is also possible to by being arranged on terminal Light sensor detection in the environment obtain the brightness value of terminal place environment;Then the brightness value of current environment is determined It is brightness value corresponding with maximum lung air content.
So, even if brightness when breath light is lighted reaches maximum brightness value, the brightness value of breath light is also not above end The brightness value of end place environment, thus not stimulating user's eye because the brightness value of breath light is too high, also would not affect The eye health of user.
In step S203, according to lung's air content in each moment in the default respiratory cycle, maximum lung air content with And the brightness value corresponding with maximum lung air content, determine the brightness value in each moment in the default respiratory cycle;
In embodiments of the present invention, for any one moment in the default respiratory cycle, can be by the lung in this moment Air content and maximum lung air content carry out division arithmetic, obtain a numerical value, then by this numerical value and maximum lung air content pair The brightness value answered carries out multiplying and obtains a brightness value, and this brightness value that computing is obtained is as the brightness value in this moment.Right In other each moment within the default respiratory cycle, it is performed both by aforesaid operations, so realize determining in the default respiratory cycle Each moment brightness value.
In step S204, calculate the ratio between the duration of default respiratory cycle and the duration in light on and off cycle;
In step S205, the brightness value according to each moment in the default respiratory cycle and ratio, determine breath light bright Go out the brightness value in each moment in the cycle.
For any one moment in the default respiratory cycle, this moment and this ratio are carried out division arithmetic and obtains one In the moment, this moment is defined as during this breathing being engraved in the corresponding moment in the light on and off cycle, default by obtain in step S203 The brightness value in this moment in the respiratory cycle is defined as the brightness value in this moment in the light on and off cycle for the breath light.Exhale for default In other each moment in the suction cycle, it is performed both by aforesaid operations, when so can obtain each in the default respiratory cycle It is engraved in the brightness value in corresponding moment respectively in the light on and off cycle.
Wherein, in an alternative embodiment of the invention, referring to Fig. 3, step S1022 includes:
In step S301, according to breath light within the light on and off cycle brightness value in each moment and the breath light that pre-sets Corresponding relation between brightness value and the input current of breath light, determines the brightness value with breath light each moment within the light on and off cycle Corresponding input current respectively;
In embodiments of the present invention, the corresponding relation between the brightness value of breath light and the input current of breath light is technology Personnel are arranged in advance in the terminal.Wherein, the brightness of breath light can be input to breath light input current square.Example As when electric current is 2, the brightness of breath light is 4, and when electric current is 3, the brightness of breath light is 9.
In step s 302, according to the brightness value corresponding input current respectively with breath light each moment within the light on and off cycle With the default VA characteristic curve of breath light, determine corresponding defeated respectively with the brightness value in breath light each moment within the light on and off cycle Enter voltage;
Wherein, technical staff can draw the rectangular coordinate system of voltage-to-current in advance in the terminal, then in electric piezo-electric The VA characteristic curve of this breath light is inputted in the rectangular coordinate system of stream;Each of this VA characteristic curve point is all to should One of rectangular coordinate system input voltage and an input current.
In step S303, the corresponding input voltage of each moment input within the light on and off cycle.
Fig. 4 is a kind of block diagram of the terminal breathing lamp control device according to an exemplary embodiment.With reference to Fig. 4, should Device includes:
Acquisition module 11, for obtaining lung's air content in each moment in the default respiratory cycle;
Control module 12, for the lung's air content according to each moment in the described default respiratory cycle, controls described breathing The brightness in lamp each moment within the light on and off cycle.
Wherein, described control module 12 includes:
Determining unit, for the lung's air content according to each moment in the described default respiratory cycle, determines described breath light The brightness value in each moment within the described light on and off cycle;
Control unit, for the brightness value according to described breath light each moment within the described light on and off cycle, exhales described in control Inhale the input voltage in lamp each moment within the described light on and off cycle.
Wherein, described determining unit includes:
First acquisition subelement, for obtaining in lung's air content in each breathing moment in the described default respiratory cycle Maximum lung air content;
Second acquisition subelement, for obtaining the brightness value corresponding with described maximum lung air content;
First determination subelement, for according to lung's air content in each moment in the described default respiratory cycle, described Big lung's air content and the brightness value corresponding with described maximum lung air content, determine each in the described default respiratory cycle The brightness value in moment;
Computation subunit, for calculating the ratio between the duration of described default respiratory cycle and the duration in described light on and off cycle Value;
Second determination subelement, for the brightness value according to each moment in the described default respiratory cycle and described ratio, The brightness value in each moment that determines described breath light within the described light on and off cycle.
Wherein, described control unit includes:
3rd determination subelement, for according to described breath light within the described light on and off cycle brightness value in each moment and in advance Corresponding relation between the brightness value of described breath light of setting and the input current of described breath light, determines and described breath light The brightness value in each moment corresponding input current respectively within the described light on and off cycle;
4th determination subelement, for according to the brightness value with described breath light each moment within the described light on and off cycle respectively Corresponding input current and the default VA characteristic curve of described breath light, determined with described breath light within the described light on and off cycle The brightness value in each moment corresponding input voltage respectively;
Input subelement, for the corresponding input voltage of the input of each moment within the described light on and off cycle.
Wherein, the duration in described light on and off cycle is equal to the duration of described default respiratory cycle.
In embodiments of the present invention, obtain lung's air content in each moment in the default respiratory cycle;According to default breathing week Lung's air content in each moment in phase, controls the brightness in breath light each moment within the light on and off cycle.By in the default respiratory cycle Lung's air content in each moment is come the brightness in each moment that to control breath light within the light on and off cycle, it is possible to achieve control breath light by going out To bright gradually change and by the bright process gradually changing to going out similar to people respiratory so that breath light presents one kind The effect dynamically extremely dazzled.
Fig. 5 is a kind of terminal according to an exemplary embodiment.With reference to Fig. 5, this terminal includes:
Processor 21;
For storing the memory 22 of processor 21 executable instruction;
Wherein, described processor 21 is configured to:
Obtain lung's air content in each moment in the default respiratory cycle;
According to lung's air content in each moment in the described default respiratory cycle, control described breath light each within the light on and off cycle The brightness in moment.
In a kind of optional embodiment, described processor 21 is configured to:
According to lung's air content in each moment in the described default respiratory cycle, determine described breath light in the described light on and off cycle The brightness value in interior each moment;
According to the brightness value in described breath light each moment within the described light on and off cycle, control described breath light in described light on and off The input voltage in each moment in cycle.
In a kind of optional embodiment, described processor 21 is configured to:
Obtain the maximum lung air content in lung's air content in each breathing moment in the described default respiratory cycle;
Obtain the brightness value corresponding with described maximum lung air content;
According to lung's air content in each moment in the described default respiratory cycle, described maximum lung's air content and with institute State the corresponding brightness value of maximum lung air content, determine the brightness value in each moment in the described default respiratory cycle;
Calculate the ratio between the duration of described default respiratory cycle and the duration in described light on and off cycle;
Brightness value according to each moment in the described default respiratory cycle and described ratio, determine described breath light described The brightness value in each moment in the light on and off cycle.
In a kind of optional embodiment, described processor 21 is configured to:
According to described breath light within the described light on and off cycle brightness value in each moment and the described breath light that pre-sets Corresponding relation between the input current of brightness value and described breath light, determines each within the described light on and off cycle with described breath light The brightness value in moment corresponding input current respectively;
According to brightness value corresponding input current and the institute respectively with described breath light each moment within the described light on and off cycle State the default VA characteristic curve of breath light, determine the brightness value difference with described breath light each moment within the described light on and off cycle Corresponding input voltage;
The corresponding input voltage of each moment input within the described light on and off cycle.
The present invention one exemplary embodiment also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can Have program stored therein, during this program performing, can achieve that a kind of terminal that Fig. 1-embodiment illustrated in fig. 3 provides breathes lamp control method Part or all of step in each implementation.
The present invention one exemplary embodiment also provides a kind of computer program, and described computer program includes depositing Calculation procedure on computer-readable storage medium for the storage, described computer program includes programmed instruction, when described program instruction is counted During the execution of calculation machine, described computer is made to execute a kind of each of terminal breathing lamp control method that Fig. 1-embodiment illustrated in fig. 3 provides Part or all of step in implementation.
With regard to the device in above-described embodiment, wherein the concrete mode of modules execution operation is in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Those skilled in the art, after considering specification and putting into practice invention disclosed herein, will readily occur to its of the present invention Its embodiment.The application is intended to any modification, purposes or the adaptations of the embodiment of the present invention, these modifications, Purposes or adaptations are followed the general principle of the embodiment of the present invention and are included undocumented skill of the embodiment of the present invention Common knowledge in art field or conventional techniques.Description and embodiments are considered only as exemplary, the embodiment of the present invention True scope and spirit pointed out by appended claim.
It should be appreciated that the embodiment of the present invention is not limited to be described above and accurate knot illustrated in the accompanying drawings Structure, and various modifications and changes can carried out without departing from the scope.The scope of the embodiment of the present invention is only by appended right Require to limit.

Claims (10)

1. a kind of terminal breathing lamp control method is it is characterised in that methods described includes:
Obtain lung's air content in each moment in the default respiratory cycle;
According to lung's air content in each moment in the described default respiratory cycle, control described breath light each moment within the light on and off cycle Brightness.
2. method according to claim 1 is it is characterised in that contain according to the lung in each moment in the described default respiratory cycle Tolerance, controls the brightness in breath light each moment within the light on and off cycle, including:
According to lung's air content in each moment in the described default respiratory cycle, determine that described breath light is each within the described light on and off cycle The brightness value in moment;
According to the brightness value in described breath light each moment within the described light on and off cycle, control described breath light in the described light on and off cycle The input voltage in interior each moment.
3. method according to claim 2 is it is characterised in that contain according to the lung in each moment in the described default respiratory cycle Tolerance, the brightness value in each moment that determines described breath light within the described light on and off cycle, including:
Obtain the maximum lung air content in lung's air content in each breathing moment in the described default respiratory cycle;
Obtain the brightness value corresponding with described maximum lung air content;
According to lung's air content in each moment in the described default respiratory cycle, described maximum lung's air content and with described The corresponding brightness value of big lung air content, determines the brightness value in each moment in the described default respiratory cycle;
Calculate the ratio between the duration of described default respiratory cycle and the duration in described light on and off cycle;
Brightness value according to each moment in the described default respiratory cycle and described ratio, determine described breath light in described light on and off The brightness value in each moment in cycle.
4. method according to claim 2 it is characterised in that according to described breath light within the described light on and off cycle each moment Brightness value, control described breath light each moment within the described light on and off cycle input voltage, including:
Brightness according to the described breath light brightness value in each moment and described breath light pre-setting within the described light on and off cycle Corresponding relation between value and the input current of described breath light, determines and described breath light each moment within the described light on and off cycle Brightness value respectively corresponding input current;
According to the brightness value in described breath light each moment within the described light on and off cycle corresponding input current and described exhale respectively Inhale the default VA characteristic curve of lamp, determine corresponding respectively with the brightness value in described breath light each moment within the described light on and off cycle Input voltage;
The corresponding input voltage of each moment input within the described light on and off cycle.
5. according to the arbitrary described method of claim 1-4 it is characterised in that the duration in described light on and off cycle is equal to described presetting The duration of respiratory cycle.
6. a kind of terminal breathing lamp control device is it is characterised in that described device includes:
Acquisition module, for obtaining lung's air content in each moment in the default respiratory cycle;
Control module, for the lung's air content according to each moment in the described default respiratory cycle, controls described breath light bright Go out the brightness in each moment in the cycle.
7. device according to claim 6 is it is characterised in that described control module includes:
Determining unit, for the lung's air content according to each moment in the described default respiratory cycle, determines described breath light in institute State the brightness value in each moment in the light on and off cycle;
Control unit, for the brightness value according to described breath light each moment within the described light on and off cycle, controls described breath light The input voltage in each moment within the described light on and off cycle.
8. device according to claim 7 is it is characterised in that described determining unit includes:
First acquisition subelement, for obtaining in lung's air content in each breathing moment in the described default respiratory cycle Big lung air content;
Second acquisition subelement, for obtaining the brightness value corresponding with described maximum lung air content;
First determination subelement, for according to lung's air content in each moment in the described default respiratory cycle, described maximum lung Portion's air content and the brightness value corresponding with described maximum lung air content, determine each moment in the described default respiratory cycle Brightness value;
Computation subunit, for calculating the ratio between the duration of described default respiratory cycle and the duration in described light on and off cycle;
Second determination subelement, for the brightness value according to each moment in the described default respiratory cycle and described ratio, determines The brightness value in described breath light each moment within the described light on and off cycle.
9. device according to claim 7 is it is characterised in that described control unit includes:
3rd determination subelement, for according to described breath light within the described light on and off cycle brightness value in each moment and pre-setting The brightness value of described breath light and the input current of described breath light between corresponding relation, determine with described breath light in institute State the brightness value corresponding input current respectively in each moment in the light on and off cycle;
4th determination subelement, for according to corresponding respectively with the brightness value in described breath light each moment within the described light on and off cycle Input current and described breath light default VA characteristic curve, determine with described breath light each within the described light on and off cycle when The brightness value carved corresponding input voltage respectively;
Input subelement, for the corresponding input voltage of the input of each moment within the described light on and off cycle.
10. according to the arbitrary described device of claim 6-9 it is characterised in that the duration in described light on and off cycle is equal to described pre- If the duration of respiratory cycle.
CN201610824995.2A 2016-09-14 2016-09-14 Method and device for controlling terminal breathing lamp Pending CN106413222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610824995.2A CN106413222A (en) 2016-09-14 2016-09-14 Method and device for controlling terminal breathing lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610824995.2A CN106413222A (en) 2016-09-14 2016-09-14 Method and device for controlling terminal breathing lamp

Publications (1)

Publication Number Publication Date
CN106413222A true CN106413222A (en) 2017-02-15

Family

ID=57996468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610824995.2A Pending CN106413222A (en) 2016-09-14 2016-09-14 Method and device for controlling terminal breathing lamp

Country Status (1)

Country Link
CN (1) CN106413222A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111954334A (en) * 2020-08-12 2020-11-17 宁波视睿迪光电有限公司 Control method and device of breathing lamp, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1401178A1 (en) * 2002-09-23 2004-03-24 Zyxel Communications Corporation Wireless data transmission LED indicator
TW201214356A (en) * 2010-09-16 2012-04-01 Wu Sheng Xu Light emitting device having vivid fluctuation effect for displaying breath and heart beat
CN102506333A (en) * 2011-11-21 2012-06-20 大连民族学院 Breathing induction lamp
CN105326490A (en) * 2015-09-23 2016-02-17 广东小天才科技有限公司 Method and device for controlling breath lamp
TW201626947A (en) * 2015-01-26 2016-08-01 Sen Science Inc Physiological feedback system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1401178A1 (en) * 2002-09-23 2004-03-24 Zyxel Communications Corporation Wireless data transmission LED indicator
TW201214356A (en) * 2010-09-16 2012-04-01 Wu Sheng Xu Light emitting device having vivid fluctuation effect for displaying breath and heart beat
CN102506333A (en) * 2011-11-21 2012-06-20 大连民族学院 Breathing induction lamp
TW201626947A (en) * 2015-01-26 2016-08-01 Sen Science Inc Physiological feedback system
CN105326490A (en) * 2015-09-23 2016-02-17 广东小天才科技有限公司 Method and device for controlling breath lamp

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111954334A (en) * 2020-08-12 2020-11-17 宁波视睿迪光电有限公司 Control method and device of breathing lamp, electronic equipment and readable storage medium
CN111954334B (en) * 2020-08-12 2023-03-10 宁波视睿迪光电有限公司 Breathing lamp control method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN104905803B (en) Wearable electronic and its mood monitoring method
CN109432753B (en) Action correcting method, device, storage medium and electronic equipment
RU2684185C2 (en) 3d modelled visualisation of patient interface device fitted to patient's face
US20130345532A1 (en) Medical ventilator with integrated oximeter data
JPH0219169A (en) Control of artificial respirator and circuit apparatus therefor
WO2021098022A1 (en) Healthy environment adjustment method, terminal, and computer-readable storage medium
CN109526123A (en) Breathe bootstrap technique, device, medical imaging equipment and storage medium
CN110461397B (en) Oxygen therapy system
CN107773225A (en) Pulse wave measuring apparatus, pulse wave measuring method, program and recording medium
TW201738840A (en) Emotional based interaction device and method
Grings et al. Effects of" anxiety-lessening" instructions and differential set development on the extinction of GSR.
CN104841055A (en) Control method, device and system for breathing machine PEEP valve
CN106413222A (en) Method and device for controlling terminal breathing lamp
CN108200475A (en) Control method, smart machine and the computer readable storage medium of breath light
CN106529193A (en) Health examination system
US11326801B2 (en) Environmental apparatus controller with learning control based on user condition
CN116600844A (en) Respiratory support device, monitoring device, medical device system and parameter processing method
DE102011018671B4 (en) Mobile ventilator
CN107014045B (en) A kind of air-conditioning system
US20190217031A1 (en) Multi-Sensual Immersive Device And Systems And Methods Of Using Same
CN114126690B (en) Anesthesia ventilation equipment, information display system and information display method thereof
WO2020261977A1 (en) Space proposal system and space proposal method
JP2015501516A (en) Lighting system with monitoring function
CN110441923B (en) Anti-addiction method and device applied to intelligent glasses equipment, intelligent glasses equipment and computer storage medium
CN108325037B (en) Quality control method and device for breathing machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170215

WD01 Invention patent application deemed withdrawn after publication