CN108469748A - Bath salt put-on method, device and storage medium - Google Patents
Bath salt put-on method, device and storage medium Download PDFInfo
- Publication number
- CN108469748A CN108469748A CN201810267417.2A CN201810267417A CN108469748A CN 108469748 A CN108469748 A CN 108469748A CN 201810267417 A CN201810267417 A CN 201810267417A CN 108469748 A CN108469748 A CN 108469748A
- Authority
- CN
- China
- Prior art keywords
- bath salt
- water level
- bathtub
- injected volume
- bath
- 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
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Cosmetics (AREA)
- Devices For Medical Bathing And Washing (AREA)
Abstract
This disclosure relates to a kind of bath salt put-on method, device and storage medium, the technical issues of bath salt injected volume is difficult to rationally control when solving to take a shower.This method includes:The water level information of bathtub is detected by water level sensor;The injected volume of bath salt is determined according to water level information;Bath salt container, which is controlled, according to injected volume launches bath salt to bathtub.
Description
Technical field
This disclosure relates to intelligent use field, and in particular, to a kind of bath salt put-on method, device and storage medium.
Background technology
In miscellaneous bath article, bath salt with good shower effect because having been favored by people.Many institute's weeks
Know, Bath Salt Products have variform, and such as powdery, paste or solid granular, people are contour using spherical or square
When grade solid bath salt, it is difficult to rationally control bath salt dosage according to individual demand.If bath salt monoblock is put into water, there is waste bath
The case where salt;If cannot be disposable complete by blocky bath salt, remaining bath salt can there are problems that being not easy to store.
Invention content
Purpose of this disclosure is to provide a kind of bath salt put-on method, device and storage medium, bath salt when solving to take a shower
Injected volume is difficult to the technical issues of rationally controlling.
In order to achieve the above objectives, the embodiment of the present disclosure in a first aspect, providing a kind of bath salt put-on method, the method packet
It includes:
The water level information of bathtub is detected by water level sensor;
The injected volume of bath salt is determined according to the water level information;
Bath salt container, which is controlled, according to the injected volume launches bath salt to the bathtub.
Optionally, the water level information includes the water level value that user enters the bathtub before the bathtub, and/or, it is described
User enters the water level difference before and after the bathtub;The then injected volume that bath salt is determined according to the water level information, including:
The dispensing is determined according to preset first correspondence and the water level value between water level value and injected volume
Amount;Or
The throwing is determined according to preset second correspondence between water level difference and injected volume and the water level difference
High-volume.
Optionally, the injected volume that bath salt is determined according to the water level information, including:
Determine that the bath salt currently set launches pattern, the bath salt launches the bath salt type and bath salt that pattern includes selected
Proportioning;
The injected volume of the bath salt of the bath salt type is determined according to bath salt proportioning and the water level information.
Optionally, the water level information includes the water level value that user enters the bathtub before the bathtub, according to the bath
Salt proportioning and the water level information determine the injected volume of the bath salt of the bath salt type, including:
Obtain the weight information of the user;
According to the water level value, the throwing of the bath salt of the weight information and the determining bath salt type of bath salt proportioning
High-volume.
Optionally, the bath salt container is provided with weight sensor, it is described according to the injected volume control bath salt container to
The bathtub launches bath salt, including:
It controls the bath salt container and launches bath salt to the bathtub, and obtain the institute that the weight sensor detects in real time
State the weight information of the bath salt in bath salt container;
According to the weight information calculate launch process in bath salt weight change value, when the weight change value with it is described
When injected volume is equal, stop launching bath salt to the bathtub.
Optionally, the method further includes:
When the weight sensor detects that the bath salt weight that the weight information of bath salt indicates is less than preset weight threshold value,
Execute the operation for reminding user to add bath salt.
The second aspect of the embodiment of the present disclosure provides a kind of bath salt delivery device, including:
Water level acquisition module is configured as detecting the water level information of bathtub by water level sensor;
Injected volume determining module is configured as determining the injected volume of bath salt according to the water level information;
Control module is launched, is configured as controlling bath salt container to bathtub dispensing bath salt according to the injected volume.
Optionally, the water level information includes the water level value that user enters the bathtub before the bathtub, and/or, it is described
User enters the water level difference before and after the bathtub;
The injected volume determining module is configured as according to preset first correspondence between water level value and injected volume, with
And the water level value determines the injected volume;Or
The throwing is determined according to preset second correspondence between water level difference and injected volume and the water level difference
High-volume.
Optionally, the injected volume determining module includes:
Dispensing pattern determination sub-module is configured to determine that the bath salt currently set launches pattern, and the bath salt launches mould
Formula includes that selected bath salt type and bath salt match;
Injected volume determination sub-module is configured as determining the bath salt according to bath salt proportioning and the water level information
The injected volume of the bath salt of type.
Optionally, the water level information includes the water level value that user enters the bathtub before the bathtub, the injected volume
Determination sub-module is configured as obtaining the weight information of the user, and according to the water level value, the weight information and institute
State the injected volume that bath salt proportioning determines the bath salt of the bath salt type.
Optionally, the bath salt container is provided with weight sensor, and the dispensing control module is additionally configured to:
It controls the bath salt container and launches bath salt to the bathtub, and obtain the institute that the weight sensor detects in real time
State the weight information of the bath salt in bath salt container;
According to the weight information calculate launch process in bath salt weight change value, when the weight change value with it is described
When injected volume is equal, stop launching bath salt to the bathtub.
Optionally, described device further includes:
Reminding module is configured as detecting that the bath salt weight that the weight information of bath salt indicates is small in the weight sensor
When preset weight threshold value, the operation for reminding user to add bath salt is executed.
The third aspect of the embodiment of the present disclosure provides a kind of computer readable storage medium, is stored thereon with computer journey
Sequence instructs, and the bath salt put-on method that the first aspect of the embodiment of the present disclosure is provided is realized when which is executed by processor
The step of.
The fourth aspect of the embodiment of the present disclosure provides a kind of bath salt delivery device, including:
The computer readable storage medium that the third aspect of the embodiment of the present disclosure is provided;And
One or more processor, for executing the program in the computer readable storage medium.
5th aspect of the embodiment of the present disclosure, provides a kind of bath salt jettison system, including:The water level being set on bathtub passes
Sensor, bath salt container, and the bath salt delivery device that is provided such as the second aspect of the embodiment of the present disclosure.
Optionally, the bath salt delivery device is applied to terminal device, the water level sensor and the bath salt container
It is connect with the terminal equipment in communication;
The water level sensor is used for, and the water level information detected is sent to the terminal device;
The terminal device is used for, and launches pattern based on the bath salt of user's selection and the water level information determines bath salt
Injected volume, and control instruction is sent to the bath salt container according to the injected volume, the control instruction is for controlling the bath
Salt container launches the weight bath salt consistent with the injected volume to the bathtub.
6th aspect of the embodiment of the present disclosure, provides a kind of bath salt delivery device, described device includes:
Processor;
Memory is configured as storing the executable instruction of the processor;
Wherein, the processor is configured as:
The water level information of bathtub is detected by water level sensor;
The injected volume of bath salt is determined according to the water level information;
Bath salt container, which is controlled, according to the injected volume launches bath salt to the bathtub.
The technical scheme provided by this disclosed embodiment can include the following benefits:
According to above-mentioned technical proposal, the water level information of bathtub can be detected by water level sensor, then according to the water level
Information determines the injected volume of bath salt, bath salt injected volume determine after, control bath salt container to bathtub launch weight with it is described
The consistent bath salt of injected volume.In this way, launching the bath salt of corresponding weight into bathtub according to actual water level information, bath salt may be implemented
The technical issues of purpose launched in right amount, bath salt injected volume is difficult to rationally control when solving shower.
Other feature and advantage of the disclosure will be described in detail in subsequent specific embodiment part.
Description of the drawings
Attached drawing is for providing further understanding of the disclosure, and a part for constitution instruction, with following tool
Body embodiment is used to explain the disclosure together, but does not constitute the limitation to the disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart of bath salt put-on method shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of bath salt put-on method shown according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of bath salt put-on method shown according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of bath salt delivery device shown according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of bath salt delivery device shown according to an exemplary embodiment.
Fig. 6 is a kind of structure diagram of bath salt jettison system shown according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of bath salt delivery device shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Bath Salt Products come in every shape, and during actual use, user is difficult to rationally control bath salt dosage, and remaining
Bath salt is not easy to store.To solve the above-mentioned problems, a kind of bath salt put-on method of disclosure offer, device and storage medium.
Fig. 1 is a kind of flow chart of bath salt put-on method shown according to an exemplary embodiment, as shown in Figure 1, the party
Method includes the following steps:
Step 101, the water level information of bathtub is detected by water level sensor.
Water level sensor is provided in bathtub, which can be surveyed by a series of parallel wire stitching of exposures
The size of water level parameter is measured, to obtain water level information, which includes the water level value that user enters bathtub before bathtub, and/
Or, user enters the water level difference before and after bathtub, wherein the water level value that user enters bathtub before bathtub refers to stopping into bathtub
Water filling and user and height of water level when not entering bathtub.Illustratively, the water level value that user enters bathtub before bathtub is h1, in water
Level sensor detects that bathtub water position rise is greater than or equal to preset height h and/or receives and is arranged in inside tub
When the inductive signal of infrared sensor, determine that user enters bathtub, user detects that the water level value of bathtub is h after entering water2.This
Sample, water level information include just water level value h1Or water level difference h2-h1At least one of.Furthermore, it is possible to be detected to water level sensor
To water level information recorded and reported in real time, so as to user it is more convenient understand the change of real time water level information
Change.
Step 102, the injected volume of bath salt is determined according to water level information.
It specifically, can be true according to preset first correspondence and the water level value between water level value and injected volume
The fixed injected volume;Or it is true according to preset second correspondence between water level difference and injected volume and the water level difference
The fixed injected volume.Illustratively, preset first correspondence meets formula between water level value and injected volume:Y=5x+5, wherein
Y indicates bath salt injected volume, and x indicates the water level value of bathtub, such as the water level value of bathtub is 40cm, according to calculated relationship as above, bath
Salt injected volume is 205g;Illustratively, preset second correspondence meets between water level difference and injected volume:Bathtub water position is every
Rise 10cm, bath salt injected volume need to increase 100g, such as the water level difference that user enters before and after bathtub is h3, then bath salt injected volume
ForIn conjunction with preset correspondence between water level value and water level difference and injected volume, before user enters bathtub
The water level value of bathtub is 35cm, and user enters the water level rising 10cm after bathtub, then bath salt injected volume is 275g.
Step 103, bath salt container is controlled according to injected volume and launches bath salt to bathtub.
Specifically, above-mentioned bath salt container is used to store the bath salt after the grinding of bath salt mill, and according to determining
The bath salt of corresponding weight is thrown to bathtub by injected volume.In specific implementation process, bath salt container is provided with weight sensor, should
Weight information of the weight sensor for detecting the bath salt in bath salt container in real time launches bath salt in control bath salt container to bathtub
During, weight sensor can calculate the weight change value of bath salt according to the weight information detected, when weight change value
When equal with injected volume, stop launching bath salt to bathtub.
Optionally, detect that the bath salt weight that the weight information of bath salt indicates is less than preset weight threshold value in weight sensor
When, execute the prompting operation for reminding user to add bath salt.For example, the preset weight threshold value of bath salt container is 50g, sensed in weight
When the bath salt weight represented by bath salt weight information that device detects is less than 50g, bath salt container can send out prompt message to carry
The user that wakes up adds bath salt, which can send out warning ringing tone, flash for prompting lamp or send prompt message to user
Hand-held terminal device.
Using the above method, the water level information of bathtub can be detected by water level sensor, then according to the water level information
The injected volume for determining bath salt, after the injected volume of bath salt determines, control bath salt container launches weight and injected volume one to bathtub
The bath salt of cause.In this way, launching the bath salt of corresponding weight into bathtub according to actual water level information, bath salt may be implemented and launch in right amount
Purpose, the technical issues of bath salt injected volume is difficult to rationally control when solving shower, while bath salt is stored in bath salt container
In can solve the problems, such as remaining bath salt inconvenience storage, avoid the waste of bath salt.
Fig. 2 is a kind of flow chart of bath salt put-on method shown according to an exemplary embodiment, as shown in Fig. 2, the party
Method includes the following steps:
Step 201, the water level information of bathtub is detected by water level sensor.
Step 202, determine that the bath salt currently set launches pattern.
In a kind of possible embodiment, function select button setting bath salt can be carried by bathtub and launches pattern,
The bath salt launches the bath salt type and bath salt proportioning that pattern includes selected;In alternatively possible embodiment, Yong Huke
With by launching pattern for controlling the application setting bath salt of bath salt dispensing on terminal device, which launches pattern and includes
Selected bath salt type and bath salt proportioning.Wherein, bath salt, which launches pattern, can be divided into whitening pattern, cleaning mode, tranquilizing the mind mould
Formula etc., the bath salt proportioning under different mode is different, for example, under whitening pattern, whitening class bath salt is 1 with water ratio:20, clear
Under clean pattern, bactericidal antiphlogistic class bath salt and water ratio are 1:40, under tranquilizing the mind pattern, tranquilizing the mind class bath salt and water ratio are 1:10.
Step 203, the injected volume of the bath salt of bath salt type is determined according to bath salt proportioning and water level information.
Bath salt under each pattern illustrated according to step 202 and water ratio, can in conjunction with water level value and/or water level difference
With the corresponding bath salt type of each pattern of determination and its injected volume.Illustratively, if the water level value of bathtub is 40cm, in whitening pattern
Under, whitening class bath salt 200g need to be matched;In the clean mode, then bactericidal antiphlogistic class bath salt 100g is matched;Under tranquilizing the mind pattern, match
Than tranquilizing the mind class bath salt 400g.If the water level difference that user enters before and after bathtub is 10cm need to match whitening class under whitening pattern
Bath salt 100g;In the clean mode, then bactericidal antiphlogistic class bath salt 50g is matched;Under tranquilizing the mind pattern, tranquilizing the mind class bath salt is matched
200g。
Step 204, bath salt container is controlled according to injected volume and launches bath salt to bathtub.
Using the above method, by setting different bath salts dispensing patterns and combining the water level information under present mode can be true
Determine the type and its injected volume of bath salt, in this way, the purpose that bath salt is launched in right amount not only may be implemented, bath salt is thrown when solving shower
The technical issues of high-volume being difficult to rationally control, the bath salt that can also be selected according to user launch pattern, match the bath of different efficacies
Salt type provides the selection of diversification to the user.
Fig. 3 is a kind of flow chart of bath salt put-on method shown according to an exemplary embodiment, wherein water level information packet
The water level value that user enters bathtub before bathtub is included, the bath salt put-on method of the injected volume of bath salt, such as Fig. 3 are determined according to water level information
It is shown, it may comprise steps of:
Step 301, the water level information of bathtub is detected by water level sensor.
Step 302, determine that the bath salt currently set launches pattern.
Step 303, the weight information of user is obtained.
Optionally, one or more factors that bath salt proportioning can also refer in user's weight, age, skin type carry out
It determines, the user data that the above user related information can be stored in the application program of terminal device by user's pre-edit is deposited
Module is stored up, for calculating bath salt proportioning data in actual use.For example, carrying out bath salt dispensing according to user's weight information
The determination of amount needs the weight information that user is first obtained from user data memory module, for example, user's weight is 50kg.
Step 304, according to water level value, weight information and bath salt proportioning determine the injected volume of the bath salt of bath salt type.
Specifically, if user's weight is 50kg, the bath salt under each pattern illustrated according to step 303 and water ratio,
The corresponding bath salt type of each pattern and its injected volume can be determined in conjunction with water level value.Illustratively, if the water level value of bathtub is 40cm,
Under whitening pattern, whitening class bath salt 200g need to be matched;In the clean mode, then bactericidal antiphlogistic class bath salt 100g is matched;Pacifying
Under refreshing pattern, tranquilizing the mind class bath salt 400g is matched.Additionally, it is also contemplated that other users data accordingly adjust bath salt type and match
Than, for example, it is contemplated that user's skin type determines that bath salt matches when injected volume, if active user's skin type is dry skin,
The humidity-preserving type bath salt of addition 20% suitably exists if active user's skin type is oily skin suitably in the bath salt of dispensing
The oil-control type bath salt of addition 20% in the bath salt of dispensing.Other users relevant information influences and example above phase bath salt proportioning
Seemingly, differ an illustration herein.
Step 305, bath salt container is controlled according to injected volume and launches bath salt to bathtub.
Using the above method, except the type and its injected volume for determining bath salt according to water level information combination bath salt dispensing pattern
Except mode, the letters such as the user's weight being stored in user data memory module, age, skin type can also be considered
Breath provides the bath salt that dosage is suitable, effect is practical to the user and launches scheme, realizes home intelligence.
Fig. 4 is a kind of block diagram of bath salt delivery device shown according to an exemplary embodiment, with reference to Fig. 4, the device 400
May include:
Water level acquisition module 410 is configured as detecting the water level information of bathtub by water level sensor;
Injected volume determining module 420 is configured as determining the injected volume of bath salt according to water level information;
Control module 430 is launched, is configured as controlling bath salt container to bathtub dispensing bath salt according to injected volume.
Specifically, water level information includes the water level value that user enters bathtub before bathtub, and/or, user enters before and after bathtub
Water level difference;Then injected volume determining module 420 is configured as according to preset first corresponding pass between water level value and injected volume
System and the water level value determine the injected volume;Or according to preset second correspondence between water level difference and injected volume,
And the water level difference determines the injected volume.
It is worth noting that bath salt delivery device 400 can be the function module installed on bathtub, for realizing bath salt intelligence
The purpose that can be launched, bath salt delivery device 400 can also be that being implemented in combination with the terminal become by software, hardware or both sets
Standby is some or all of, and bath salt is launched to bathtub for controlling bath salt container.
Using above-mentioned apparatus, the water level information of bathtub can be detected by water level sensor, then according to the water level information
The injected volume for determining bath salt, after the injected volume of bath salt determines, control bath salt container launches weight and injected volume one to bathtub
The bath salt of cause.In this way, launching the bath salt of corresponding weight into bathtub according to actual water level information, bath salt may be implemented and launch in right amount
Purpose, the technical issues of bath salt injected volume is difficult to rationally control when solving shower.
Fig. 5 is a kind of block diagram of bath salt delivery device shown according to an exemplary embodiment, with reference to Fig. 5, one kind can
In the embodiment of energy, water level information includes the water level value that user enters bathtub before bathtub, and injected volume determining module 420 includes:
Dispensing pattern determination sub-module 421 is configured to determine that the bath salt currently set launches pattern, and bath salt launches pattern
Including selected bath salt type and bath salt proportioning;
Injected volume determination sub-module 422 is configured as determining the bath of bath salt type according to bath salt proportioning and water level information
The injected volume of salt.
In another embodiment, water level information includes the water level value that user enters bathtub before bathtub, and injected volume determines
Submodule 422 is configured as obtaining the weight information of user, and determines bath according to water level value, weight information and bath salt proportioning
The injected volume of the bath salt of salt type.
Optionally, bath salt container is provided with weight sensor, launches control module 430 and is additionally configured to:
It controls bath salt container and launches bath salt to bathtub, and obtain the bath in the bath salt container that weight sensor detects in real time
The weight information of salt;
The weight change value for calculating bath salt in launch process according to weight information, when weight change value is equal with injected volume
When, stop launching bath salt to bathtub.
Optionally, bath salt delivery device 400 further includes:
Reminding module 440 is configured as detecting that the bath salt weight that the weight information of bath salt indicates is small in weight sensor
When preset weight threshold value, the operation for reminding user to add bath salt is executed.
Using above-mentioned apparatus, by setting different bath salts dispensing patterns and combining the water level information under present mode can be true
Determine the type and its injected volume of bath salt, in this way, the purpose that bath salt is launched in right amount not only may be implemented, bath salt is launched when solving to take a shower
The technical issues of amount is difficult to rationally control, the bath salt that can also be selected according to user launch pattern, match the bath salt of different efficacies
Type provides the selection of diversification to the user, realizes home intelligence.
Fig. 6 is a kind of block diagram of bath salt jettison system shown according to an exemplary embodiment, with reference to Fig. 6, the system 600
Including:
Water level sensor 610, the bath salt container 620 being set on bathtub, and the bath salt provided such as the disclosure launch dress
Set 400.
Optionally, bath salt delivery device 400 is applied to terminal device, water level sensor 610 and bath salt container 620 and end
End equipment communicates to connect;
Water level sensor 610 is used for, and the water level information detected is sent to terminal device;
Terminal device is used for, and launches pattern based on the bath salt of user's selection and water level information determines the injected volume of bath salt,
And control instruction is sent to bath salt container 620 according to injected volume, control instruction launches weight for controlling bath salt container 620 to bathtub
The amount bath salt consistent with injected volume.
The disclosure also provides a kind of bath salt delivery device, which includes:
Processor;
Memory is configured as storing the executable instruction of the processor;
Wherein, processor is configured as:The water level information of bathtub is detected by water level sensor;It is determined according to water level information
The injected volume of bath salt;Bath salt container, which is controlled, according to injected volume launches bath salt to bathtub.
The disclosure also provides a kind of computer readable storage medium, is stored thereon with computer program instructions, which refers to
The step of enabling the bath salt put-on method that disclosure offer is provided when being executed by processor.
Fig. 7 is a kind of block diagram of bath salt delivery device 700 shown according to an exemplary embodiment.For example, device 700 can
To be smart mobile phone, tablet device, personal digital assistant etc..
With reference to Fig. 7, device 700 may include following one or more components:Processing component 701, memory 702, electric power
Component 703, multimedia component 704, audio component 705, the interface 706 of input/output (I/O), sensor module 707, and
Communication component 708.
The integrated operation of 701 usual control device 700 of processing component such as operates phase with display, touch operation and record
Associated operation.Processing component 701 may include one or more processors 709 to execute instruction, to complete above-mentioned bath salt
The all or part of step of put-on method.In addition, processing component 701 may include one or more modules, it is convenient for processing component
Interaction between 701 and other assemblies.For example, processing component 701 may include multi-media module, to facilitate multimedia component
Interaction between 704 and processing component 701.
Memory 702 is configured as storing various types of data to support the operation in device 700.These data are shown
Example includes instruction for any application program or method that are operated on device 700, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 702 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Electric power assembly 703 provides electric power for the various assemblies of device 700.Electric power assembly 703 may include power management system
System, one or more power supplys and other generated with for device 700, management and the associated component of distribution electric power.
Multimedia component 704 is included in the screen of one output interface of offer between device 700 and user.In some realities
It applies in example, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can
To be implemented as touch screen, to receive input signal from the user.Touch panel include one or more touch sensors with
Sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, and
And also detection and touch or the relevant duration and pressure of slide.In some embodiments, multimedia component 704 includes
One front camera and/or rear camera.It is preceding when such as screening-mode or video mode when device 700 is in operation mode
External multi-medium data can be received by setting camera and/or rear camera.Each front camera and rear camera can
Be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 705 is configured as output and/or input audio signal.For example, audio component 705 includes a Mike
Wind (MIC), when device 700 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 702 or via communication set
Part 708 is sent.In some embodiments, audio component 705 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 706 provide interface between processing component 701 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 707 includes one or more sensors, and the state for providing various aspects for device 700 is commented
Estimate.For example, sensor module 707 can detect the state that opens/closes of device 700, the relative positioning of component, such as component
For the display and keypad of device 700, sensor module 707 can be with the position of 700 1 components of detection device 700 or device
Set change, the existence or non-existence that user contacts with device 700, the temperature of 700 orientation of device or acceleration/deceleration and device 700
Variation.Sensor module 707 may include proximity sensor, be configured to detect without any physical contact near
The presence of object.Sensor module 707 can also include optical sensor, such as CMOS or ccd image sensor, for being answered in imaging
With middle use.In some embodiments, which can also include acceleration transducer, gyro sensor, magnetic
Sensor, pressure sensor or temperature sensor.
Communication component 708 is configured to facilitate the communication of wired or wireless way between device 700 and other equipment.Device
700 can access the wireless network based on communication standard, such as Wi-Fi (Wireless-Fidelity, Wireless Fidelity), 2G or 3G,
Or combination thereof.In one exemplary embodiment, communication component 708 receives via broadcast channel and comes from external broadcasting management
The broadcast singal or broadcast related information of system.In one exemplary embodiment, communication component 708 further includes near-field communication
(NFC) module, to promote short range communication.For example, radio frequency identification (RFID) technology, Infrared Data Association can be based in NFC module
(IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 700 can be believed by one or more application application-specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned bath salt put-on method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of
Such as include the memory 702 of instruction, above-metioned instruction can be executed by the processor of device 700 to complete above-mentioned bath salt put-on method.
For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
The preferred embodiment of the disclosure is described in detail above in association with attached drawing, still, the disclosure is not limited to above-mentioned reality
The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure
Monotropic type, these simple variants belong to the protection domain of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance
In the case of shield, it can be combined by any suitable means.In order to avoid unnecessary repetition, the disclosure to it is various can
The combination of energy no longer separately illustrates.
In addition, arbitrary combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally
Disclosed thought equally should be considered as disclosure disclosure of that.
Claims (10)
1. a kind of bath salt put-on method, which is characterized in that the method includes:
The water level information of bathtub is detected by water level sensor;
The injected volume of bath salt is determined according to the water level information;
Bath salt container, which is controlled, according to the injected volume launches bath salt to the bathtub.
2. according to the method described in claim 1, it is characterized in that, the water level information, which includes user, enters institute before the bathtub
The water level value of bathtub is stated, and/or, the user enters the water level difference before and after the bathtub;It is then described to be believed according to the water level
Breath determines the injected volume of bath salt, including:
The injected volume is determined according to preset first correspondence and the water level value between water level value and injected volume;Or
The dispensing is determined according to preset second correspondence between water level difference and injected volume and the water level difference
Amount.
3. according to the method described in claim 1, it is characterized in that, the dispensing for determining bath salt according to the water level information
Amount, including:
Determine that the bath salt currently set launches pattern, it includes that selected bath salt type and bath salt are matched that the bath salt, which launches pattern,
Than;
The injected volume of the bath salt of the bath salt type is determined according to bath salt proportioning and the water level information.
4. according to the method described in claim 3, it is characterized in that, the water level information, which includes user, enters institute before the bathtub
The water level value for stating bathtub determines the dispensing of the bath salt of the bath salt type according to bath salt proportioning and the water level information
Amount, including:
Obtain the weight information of the user;
According to the water level value, the dispensing of the bath salt of the weight information and the determining bath salt type of bath salt proportioning
Amount.
5. according to the method described in claim 1, it is characterized in that, the bath salt container is provided with weight sensor, described
Bath salt container, which is controlled, according to the injected volume launches bath salt to the bathtub, including:
It controls the bath salt container and launches bath salt to the bathtub, and obtain the bath that the weight sensor detects in real time
The weight information of bath salt in salt container;
The weight change value that bath salt in launch process is calculated according to the weight information, when the weight change value and the dispensing
When measuring equal, stop launching bath salt to the bathtub.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
When the weight sensor detects that the bath salt weight that the weight information of bath salt indicates is less than preset weight threshold value, execute
User is reminded to add the operation of bath salt.
7. a kind of bath salt delivery device, which is characterized in that including:
Water level acquisition module is configured as detecting the water level information of bathtub by water level sensor;
Injected volume determining module is configured as determining the injected volume of bath salt according to the water level information;
Control module is launched, is configured as controlling bath salt container to bathtub dispensing bath salt according to the injected volume.
8. device according to claim 7, which is characterized in that the water level information includes that user enters institute before the bathtub
The water level value of bathtub is stated, and/or, the user enters the water level difference before and after the bathtub;
The injected volume determining module is configured as according to preset first correspondence, Yi Jisuo between water level value and injected volume
It states water level value and determines the injected volume;Or
The dispensing is determined according to preset second correspondence between water level difference and injected volume and the water level difference
Amount.
9. a kind of bath salt delivery device, which is characterized in that described device includes:
Processor;
Memory is configured as storing the executable instruction of the processor;
Wherein, the processor is configured as:
The water level information of bathtub is detected by water level sensor;
The injected volume of bath salt is determined according to the water level information;
Bath salt container, which is controlled, according to the injected volume launches bath salt to the bathtub.
10. a kind of computer readable storage medium, is stored thereon with computer program instructions, which is characterized in that the program instruction
The step of any one of claim 1 to 6 the method is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810267417.2A CN108469748B (en) | 2018-03-28 | 2018-03-28 | Bath salt put-on method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810267417.2A CN108469748B (en) | 2018-03-28 | 2018-03-28 | Bath salt put-on method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108469748A true CN108469748A (en) | 2018-08-31 |
CN108469748B CN108469748B (en) | 2019-12-03 |
Family
ID=63262138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810267417.2A Active CN108469748B (en) | 2018-03-28 | 2018-03-28 | Bath salt put-on method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108469748B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111830511A (en) * | 2020-07-01 | 2020-10-27 | 河南理工大学 | Urban accumulated water monitoring system based on multiple data sources |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002114592A (en) * | 2000-10-04 | 2002-04-16 | Chisso Corp | Bioactive material particle, coated bioactive material, bioactive material composition containing the same, and method for manufacturing coated bioactive material |
CN103114419A (en) * | 2013-02-21 | 2013-05-22 | 无锡小天鹅股份有限公司 | Automatic detergent feeding control method, automatic detergent feeding device and washing machine with same |
CN106854812A (en) * | 2015-12-09 | 2017-06-16 | 无锡小天鹅股份有限公司 | Free-standing automatic release device, washing machine and its control method |
CN107558111A (en) * | 2017-09-28 | 2018-01-09 | 北京小米移动软件有限公司 | The storage device of laundry consumptive material, launch control method, device and washing machine |
CN107750998A (en) * | 2017-10-16 | 2018-03-06 | 深圳市艾特智能科技有限公司 | Feeding method, system, readable storage medium storing program for executing and the smart machine of robot |
-
2018
- 2018-03-28 CN CN201810267417.2A patent/CN108469748B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002114592A (en) * | 2000-10-04 | 2002-04-16 | Chisso Corp | Bioactive material particle, coated bioactive material, bioactive material composition containing the same, and method for manufacturing coated bioactive material |
CN103114419A (en) * | 2013-02-21 | 2013-05-22 | 无锡小天鹅股份有限公司 | Automatic detergent feeding control method, automatic detergent feeding device and washing machine with same |
CN103114419B (en) * | 2013-02-21 | 2016-03-09 | 无锡小天鹅股份有限公司 | The control method that a kind of washing agent is thrown in automatically and device and there is its washing machine |
CN106854812A (en) * | 2015-12-09 | 2017-06-16 | 无锡小天鹅股份有限公司 | Free-standing automatic release device, washing machine and its control method |
CN107558111A (en) * | 2017-09-28 | 2018-01-09 | 北京小米移动软件有限公司 | The storage device of laundry consumptive material, launch control method, device and washing machine |
CN107750998A (en) * | 2017-10-16 | 2018-03-06 | 深圳市艾特智能科技有限公司 | Feeding method, system, readable storage medium storing program for executing and the smart machine of robot |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111830511A (en) * | 2020-07-01 | 2020-10-27 | 河南理工大学 | Urban accumulated water monitoring system based on multiple data sources |
Also Published As
Publication number | Publication date |
---|---|
CN108469748B (en) | 2019-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105975301B (en) | Memory method for cleaning and device, electronic equipment | |
CN105095345B (en) | The reminding method and device of PUSH message | |
US10598707B2 (en) | Method, apparatus, and system for counting electricity consumption | |
KR101900405B1 (en) | Method and device for charge management, program and recording medium | |
EP2911126A1 (en) | Method and device for protecting terminal apparatus and terminal apparatus and medium | |
CN104580642A (en) | Clock reminding method and device | |
CN105071473B (en) | USB charging methods and device | |
CN106325479B (en) | Touch-control response method and mobile terminal | |
CN107872576A (en) | Alarm clock prompting method, device and computer-readable recording medium | |
CN106055144B (en) | Control method and device, the electronic equipment of touch screen state | |
CN106786871A (en) | Charge control method, apparatus and system | |
CN106407079A (en) | Mobile terminal charging prompting method, device and equipment | |
CN105390120B (en) | bright screen control method and device | |
CN105516469B (en) | Alarm clock control method and device | |
CN108924375A (en) | Processing method, device, storage medium and the terminal of ringing volume | |
CN108491177A (en) | Space appraisal procedure and device | |
CN106325575B (en) | Touch-control response method and device | |
CN106325698B (en) | Touch-control response method and mobile terminal | |
CN108469748B (en) | Bath salt put-on method, device and storage medium | |
CN108401512A (en) | Control method and device, base station and user equipment that mobile terminal uses network | |
CN107566750A (en) | Control method, device and the storage medium of flash lamp | |
CN108539804A (en) | Battery charging control method, battery charging control device and electronic equipment | |
CN104281431B (en) | The method and device that audio plays | |
US9721454B2 (en) | Method for protecting terminal devices and the terminal device thereof | |
CN107037270A (en) | Wireless signal detection method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |