CN108494966A - The master and slave equipment of apparatus control method, bluetooth, storage medium and clarifier - Google Patents

The master and slave equipment of apparatus control method, bluetooth, storage medium and clarifier Download PDF

Info

Publication number
CN108494966A
CN108494966A CN201810267342.8A CN201810267342A CN108494966A CN 108494966 A CN108494966 A CN 108494966A CN 201810267342 A CN201810267342 A CN 201810267342A CN 108494966 A CN108494966 A CN 108494966A
Authority
CN
China
Prior art keywords
bluetooth
slave devices
link order
setting port
detection data
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
CN201810267342.8A
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.)
Midea Group Co Ltd
GD Midea Environment Appliances Manufacturing Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Environment Appliances Manufacturing 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 Midea Group Co Ltd, GD Midea Environment Appliances Manufacturing Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201810267342.8A priority Critical patent/CN108494966A/en
Publication of CN108494966A publication Critical patent/CN108494966A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/02Details of telephonic subscriber devices including a Bluetooth interface

Abstract

A kind of apparatus control method of offer of the embodiment of the present invention, the master and slave equipment of bluetooth, storage medium and clarifier, this method include:First setting port and the second setting port of Bluetooth slave devices connect, and get the first link order;According to first link order, start Bluetooth pairing pattern, and sends the second link order to the Bluetooth slave devices, so that the Bluetooth slave devices, which are based on second link order, starts Bluetooth pairing pattern.

Description

The master and slave equipment of apparatus control method, bluetooth, storage medium and clarifier
Technical field
The present invention relates to a kind of control technology field, more particularly to a kind of apparatus control method, device, storage medium and net Change device.
Background technology
Bluetooth is a kind of radiotechnics of holding equipment short haul connection (in general 10m), can be so that including mobile phone end Wireless messages exchange is carried out between numerous equipment comprising bluetooth module such as end, PDA, laptop, bluetooth headset.Pass through profit The bluetooth connection between equipment is realized with Bluetooth technology, can effectively be simplified between equipment and equipment and internet (Internet) communication between, to which the controls such as the data transmission of equipment become more rapid efficient.
At present it is known that utilization Bluetooth technology realize two equipment (bluetooth master and Bluetooth slave devices) between bluetooth In the scheme of connection, usually it is required to by way of manual setting or button triggering.Using bluetooth master as mobile phone terminal, Bluetooth slave devices is for bluetooth headset, the bluetooth connection between realization mobile phone terminal and bluetooth headset at least need user to execute Following operation:1, bluetooth headset is opened;2, the Bluetooth transmission setting interface for entering mobile phone terminal, starts Bluetooth pairing pattern; 3, selected that the bluetooth headset connected is needed to carry out pairing connection after mobile phone terminal is scanned to neighbouring bluetooth headset.
However, the operation of above-mentioned matching method is quite cumbersome and inconvenient, and user needs to be grasped corresponding matching operation technical ability, one Denier currently connect it is unsuccessful, go offline or replace Bluetooth slave devices, be required to re-execute above-mentioned matching operation, user experience is not It is good.
Invention content
To solve existing technical problem, the embodiment of the present invention provide a kind of apparatus control method easy to operate, Equipment, storage medium and clarifier.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is realized in:
A kind of apparatus control method is applied to bluetooth master, including:First is arranged the second of port and Bluetooth slave devices Port is arranged to connect, gets the first link order;According to first link order, start Bluetooth pairing pattern, and send Second link order gives the Bluetooth slave devices, so that the Bluetooth slave devices, which are based on second link order, starts bluetooth Pairing mode.
Wherein, this method further includes:After successful matching, output instruction information.
Wherein, the first setting port and the second setting port of Bluetooth slave devices connect, and get the first connection and refer to It enables, including:The voltage swing of the first setting of detection port is set corresponding to the second of the first setting port and Bluetooth slave devices Port connection is set, detects that first setting port becomes second electrical level from the first level, gets the first link order.
Wherein, this method further includes:After successful matching, the inspection that the Bluetooth slave devices are sent by Bluetooth transmission is obtained Measured data adjusts current operating parameters according to the detection data.
Wherein, the detection data for obtaining the Bluetooth slave devices and being sent by Bluetooth transmission, according to the testing number According to adjustment current operating parameters, including:It obtains in the following detection data that the Bluetooth slave devices are sent by Bluetooth transmission It is at least one:Content of formaldehyde, VOC content, PM2.5 contents, carbon dioxide content, temperature, humidity;By the detection data with it is right It answers threshold value to be compared, corresponding target operating parameters is determined according to comparison result, worked as according to target operating parameters adjustment Preceding running parameter.
Wherein, the detection data for obtaining the Bluetooth slave devices and being sent by Bluetooth transmission, according to the testing number According to adjustment current operating parameters, including:Obtain the light intensity value that the Bluetooth slave devices are sent by Bluetooth transmission;It will be described Light intensity value is compared with corresponding threshold value, corresponding target operational mode is determined according to comparison result, according to the target Operating mode adjusts current operation mode.
A kind of apparatus control method is applied to Bluetooth slave devices, including:The voltage swing for detecting third setting port, leads to It crosses and detects that the level of third setting port changes, get the second link order of bluetooth master transmission;Root According to second link order, start Bluetooth pairing pattern.
Wherein, this method further includes:Obtain at least one of following detection data:Content of formaldehyde, VOC content, PM2.5 Content, carbon dioxide content, temperature, humidity, light intensity value;After successful matching, the detection data is sent to the indigo plant Tooth main equipment.
A kind of storage medium has computer executable instructions, the computer executable instructions quilt in the storage medium Processor executes the apparatus control method realized described in the application any embodiment.
A kind of bluetooth master, including bluetooth module, memory, processor and it is stored in the meter run on the memory Calculation machine program, the processor realize the second setting of the first setting port and Bluetooth slave devices when executing the computer program Port connects, and gets the first link order;According to first link order, start Bluetooth pairing pattern, and send second Link order gives the Bluetooth slave devices, so that the Bluetooth slave devices, which are based on second link order, starts Bluetooth pairing Pattern.
A kind of Bluetooth slave devices, including bluetooth module, memory, processor and it is stored in the meter run on the memory Calculation machine program, the processor realize the voltage swing of detection third setting port, pass through inspection when executing the computer program The level for measuring third setting port changes, and gets the second link order of bluetooth master transmission;According to institute The second link order is stated, Bluetooth pairing pattern is started.
A kind of clarifier, including clarifier host and detection device, the clarifier host for first setting port with Second setting port of Bluetooth slave devices connects, and gets the first link order;According to first link order, start bluetooth Pairing mode, and the second link order is sent to the Bluetooth slave devices, so that the Bluetooth slave devices are based on described second Link order starts Bluetooth pairing pattern;The detection device is used to detect the voltage swing of third setting port, passes through detection The level that port is arranged to the third changes, and gets the second link order of bluetooth master transmission;According to described Second link order starts Bluetooth pairing pattern.
Apparatus control method, the master and slave equipment of bluetooth, storage medium and clarifier provided in an embodiment of the present invention, bluetooth master First setting port of equipment and the second setting port of Bluetooth slave devices connect, and bluetooth master can then get the first company Instruction is connect, and Bluetooth pairing pattern is started based on first link order, sends the second link order to Bluetooth slave devices, bluetooth It is based on second link order from equipment and starts Bluetooth pairing pattern.Therefore, user, only need to will be blue when using Bluetooth slave devices Tooth is contacted from equipment with bluetooth master so that connection is so that automatic trigger opens between the first setting port and the second setting port Dynamic Bluetooth pairing pattern, is triggered without manual setting or button, is not needed user and is done other any operations, promotes user's body It tests.
Description of the drawings
Fig. 1 is an optional application scenarios schematic diagram of the application apparatus control method;
Fig. 2 is the flow chart of apparatus control method in one embodiment of the application;
Fig. 3 is an optional structural schematic diagram of the application bluetooth master and Bluetooth slave devices;
Fig. 4 is the flow chart of apparatus control method in another embodiment of the present invention;
Fig. 5 is the structural schematic diagram of plant control unit in one embodiment of the invention;
Fig. 6 is the structural schematic diagram of plant control unit in another embodiment of the present invention.
Specific implementation mode
Technical solution of the present invention is further elaborated below in conjunction with Figure of description and specific embodiment.
More and more equipment realize the controls such as mutual data transmission by Bluetooth technology, establish bluetooth connection Two equipment are respectively bluetooth master and Bluetooth slave devices.Wherein, bluetooth master refers to that two equipment establish indigo plant primary Tooth first obtains link order equipment during connecting, another equipment are Bluetooth slave devices.It should be understood that once building Bluetooth master in the occasion of vertical bluetooth connection in other occasions for establishing bluetooth connection its can also be used as bluetooth from setting Standby, similarly, Bluetooth slave devices can also be used as bluetooth master in the different occasions for establishing bluetooth connection.The application is implemented Example provides the apparatus control method that can be respectively applied to bluetooth master and Bluetooth slave devices, as shown in Figure 1, to realize the present invention One optional application scenarios schematic diagram of the system for the apparatus control method that embodiment provides, which includes bluetooth master 100 and Bluetooth slave devices 200, bluetooth connection is established between bluetooth master 100 and Bluetooth slave devices 200, is realized between the two The controls such as wireless data transmission.The system is specifically as follows clarifier, including is internally provided with the clarifier master of bluetooth module Machine and the detection device for being internally provided with bluetooth module, wherein clarifier host is bluetooth master 100, and detection device is indigo plant Tooth is from equipment 200.Bluetooth connection is established between detection device and clarifier host, detection device is for detecting the phases such as air quality Detection data is simultaneously sent to clarifier host by the detection data of pass by Bluetooth transmission.It is logical that clarifier host receives detection device The detection data of Bluetooth transmission transmission is crossed, and adjusts current running parameter according to detection data, such as adjusts air inlet, wind speed, work Operation mode etc..
As shown in Fig. 2, providing a kind of apparatus control method for one embodiment of the invention, bluetooth shown in FIG. 1 can be applied to Main equipment includes the following steps.
Step 101, the first setting port and the second setting port of Bluetooth slave devices connect, and get the first connection and refer to It enables.
Step 103, according to first link order, start Bluetooth pairing pattern, and send the second link order to institute Bluetooth slave devices are stated, so that the Bluetooth slave devices, which are based on second link order, starts Bluetooth pairing pattern.
Wherein, it includes following two that the first setting port of bluetooth master and the second setting port of Bluetooth slave devices, which connect, Kind situation:First, formed between Bluetooth slave devices and bluetooth master it is detachably connected, by the way that Bluetooth slave devices are installed in Bluetooth master, then first setting port with second be arranged port connect, by the way that Bluetooth slave devices are torn open from bluetooth master It unloads, then the first setting port is detached with the second setting port;Second, it is formed between Bluetooth slave devices and bluetooth master and presets position The state that contacts with each other set is contacted by Bluetooth slave devices with the predeterminated position of bluetooth master, then the first setting port and the Two setting ports connect, and are separated from each other with bluetooth master by Bluetooth slave devices or formation contacts in non-default position, then First setting port is detached with the second setting port.
In above-described embodiment, the first setting port of bluetooth master and the second setting port of Bluetooth slave devices connect When, bluetooth master gets the first link order, and starts Bluetooth pairing pattern based on first link order, sends the To Bluetooth slave devices, Bluetooth slave devices are based on second link order and start Bluetooth pairing pattern two link orders.Therefore, user When using Bluetooth slave devices, Bluetooth slave devices need to only be contacted with bluetooth master so that the first setting port and second is set Connection is triggered without manual setting or button, need not be used to which automatic trigger starts Bluetooth pairing pattern between setting port Other any operations are done at family, promote user experience.
In an optional embodiment, step 101, the second setting port of the first setting port and Bluetooth slave devices connects It connects, gets the first link order, including:
The voltage swing of the first setting of detection port, corresponding to the second setting end of the first setting port and Bluetooth slave devices Mouth connection detects that first setting port becomes second electrical level from the first level, gets the first link order.
Here, the first link order refers to being become by the state for establishing connection between the first setting port and the second setting port Change and correspond to the instruction of generation.It is connected corresponding to the second setting port of the first setting port and Bluetooth slave devices, detects institute It refers to meeting between the first setting port and the second setting port and connecting to state the first setting port to become second electrical level from the first level When narrow bars part, then the first setting port can be detected by the first level change second electrical level.Specifically, the first setting port It can be respectively formed as corresponding to the chip of generation different electrical signals by the variation of physical contact with the second setting port Pin (Pin feet) is disconnected by two Pin feet physical contacts i.e. conducting, physical separation.The Pin of side where bluetooth master When the Pin feet of side where foot and Bluetooth slave devices switch between conducting forms access and disconnection forms open circuit so that the indigo plant Voltage swing where tooth main equipment at the Pin feet of side switches between the first level and second electrical level, so as to pass through detection The first link order is got to corresponding voltage size.It is detection by clarifier host, Bluetooth slave devices of bluetooth master For equipment, slot can be provided on clarifier host, detection device is removably installed in the slot, by will be described Detection device is installed in the slot, and the Pin feet on clarifier host are connect with the Pin feet on detection device, that is, first sets It sets port and forms physical contact with the second setting port.First setting port and the second setting port can be respectively specifically to purify Pin feet on the chip of Pin feet and detection device on the chip of device host, the first setting port are formed with the second setting port Physical contact, then be located at the chip connected by the first setting port in clarifier host in the detection device by second Be arranged port connection chip between be connected, first setting port from disconnecting when vacant state become with second setting port be total to With the state for forming access, the low electricity after becoming conducting from the high level under vacant state to the voltage at the first setting port Flat, low level of the clarifier Host Detection at the first setting port starts Bluetooth pairing pattern as the first link order.
In an optional specific embodiment, referring to Fig. 3, bluetooth master 100 includes the first chip 120, this One chip 120 includes first input end P1 and the first output end P4, and Bluetooth slave devices 200 include the second chip 220, second core Piece 220 includes second output terminal P2 and the second input terminal P3.First chip 120 and the second chip 220 can be respectively bluetooth master Control chip in equipment 100 and Bluetooth slave devices 200, as input/output (I/O) controls chip.Wherein, first input end P1 It is connect with a power supply VCC, second output terminal P2 ground connection.Shape is detached by the way that bluetooth master 100 to be in Bluetooth slave devices 200 State is in disconnected between first input end P1 and second output terminal P2 and between the first output end P4 and the second input terminal P3 Open state.
By installing Bluetooth slave devices 200 to bluetooth master 100, between first input end P1 and second output terminal P2 It connects and is connected, low level is become from high level to the first input end P1 of bluetooth master 100, bluetooth master 100 is examined The voltage swing for measuring first input end P1 generates variation, using the low level of first input end P1 as the first connection got Instruction, triggering enter Bluetooth pairing pattern.It connects and is connected, bluetooth master between first output end P4 and the second input terminal P3 100 export a pulse-width modulation PWM signal by the first output end P4 is used as the second link order to the of Bluetooth slave devices 200 Two input terminal P3, therefore, Bluetooth slave devices 200 detect that the voltage swing of the second input terminal P3 generates variation, by the second input Hold the level change of P3 as the second link order got, the bluetooth module triggered in Bluetooth slave devices 200 enters bluetooth Pairing mode.By the way that Bluetooth slave devices 200 are dismantled from bluetooth master 100, first input end P1 and second output terminal P2 with And first be each turned off connection between output end P4 and the second input terminal P3, the first input end P1 of bluetooth master 100 is by low Level becomes high level again, to disconnect the bluetooth connection between Bluetooth slave devices 200.By by Bluetooth slave devices 200 It is again coupled between bluetooth master 100, then triggers Bluetooth pairing pattern respectively again.
In one embodiment, which further includes:After successful matching, output instruction information.
Bluetooth master exports in text prompt, voice prompt, light prompt extremely with after Bluetooth slave devices successful matching A kind of few prompt message.Text prompt can refer to being shown the message of successful matching by display devices such as display screens, Such as display " successful match ".Voice prompt can refer to that the sound for indicating successful matching is sent out by buzzer, as buzzer is long Ring a sound.Light prompt can refer to that the light for indicating successful matching is sent out by indicator light, such as specified green indicator light point It is bright.Bluetooth master plays by the output instruction information after successful matching and reminds user to know bluetooth master and indigo plant in time Tooth is from the case where being currently successfully established bluetooth connection between equipment.
In another embodiment, which further includes:After successful matching, obtains the Bluetooth slave devices and pass through The detection data that Bluetooth transmission is sent adjusts current operating parameters according to the detection data.
After bluetooth master and Bluetooth slave devices successful matching, Bluetooth slave devices by Bluetooth transmission send detection data to Bluetooth master.It, can be real according to detection data adjustment current operating parameters after bluetooth master receives detection data Existing Automatic Optimal current operating parameters so that the detection data that bluetooth master can in real time be detected according to Bluetooth slave devices Realization is more intelligent, is accurately controlled.
In an alternative embodiment, the testing number for obtaining the Bluetooth slave devices and being sent by Bluetooth transmission According to, current operating parameters are adjusted according to the detection data, including:
Obtain at least one of the following detection data that the Bluetooth slave devices are sent by Bluetooth transmission:Formaldehyde contains Amount, VOC content, PM2.5 contents, carbon dioxide content, temperature, humidity;
The detection data is compared with corresponding threshold value, corresponding target operating parameters are determined according to comparison result, Current operating parameters are adjusted according to the target operating parameters.
It is touched automatically by the first setting port and the second setting port connect between Bluetooth slave devices and bluetooth master Turn blue tooth pairing mode, and the detection data detected is sent to indigo plant by Bluetooth slave devices by Bluetooth transmission after automatic matching success Tooth main equipment, so that bluetooth master carries out more intelligent, accurate adjustment using detection data to current operating parameters, such as This, the more accurate Bluetooth slave devices of different detection datas or testing result and bluetooth can be detected convenient for user's selection Main equipment is coordinated, it may be convenient to by replacing there are better, more fully detection performance Bluetooth slave devices to carry Rise the performance of bluetooth master.
By taking bluetooth master is clarifier host as an example, the detection data that clarifier host obtains can be in following data At least one:Content of formaldehyde, VOC content, PM2.5 contents, carbon dioxide content, temperature, humidity.As clarifier produces The development of product can integrate more purification functions and/or be continued to introduce new using the clarifier product of a variety of purification techniques, Main purification function includes:Except formaldehyde, remove VOC, except PM2.5, purification, humidification etc., main purification techniques includes:Activated carbon Adsorption technology, negative oxygen ion technology, active oxygen technology, electrostatic precipitation technology, HEPA high efficiency filter technologies etc..It was actually using Cheng Zhong, the purification function or used purification techniques opened required for being corresponded to for the air quality under varying environment can be with It is different.Clarifier host can be directed to different purification functions or different threshold values is respectively set in the unlatching of purification techniques, pass through The detection device of bluetooth connection can be established with clarifier host, detect the relevant detection of air quality in current environment in real time Data are sent to clarifier host, and target work is determined so that clarifier host is compared according to detection data with corresponding threshold value Make parameter, and current operating parameters are adjusted according to target operating parameters.
Wherein, clarifier host different threshold values is respectively set according to the unlatching of different purification functions or purification techniques can To be, a corresponding threshold value is arranged according to the detection data of a type.Such as, setting content of formaldehyde threshold value be 0.08 milligram/ Cubic meter (mg/m3), when being more than the content of formaldehyde threshold value corresponding to content of formaldehyde in detection data, clarifier host determines target Running parameter is that high wind speed+startup removes purifying formaldehyde function, then clarifier host is automatically turned on except purifying formaldehyde function and run In high wind speed shelves.
Optionally, different threshold values is respectively set according to the unlatching of different purification functions or purification techniques in clarifier host It is also possible that threshold value corresponding with multiple predetermined levels respectively is arranged according to the detection data of a type.Such as, setting formaldehyde contains Amount threshold value corresponding with three grades, it is >=0.08mg/m that the first estate, which corresponds to threshold value,3And<0.3mg/m3, the second grade corresponds to threshold Value is >=0.3mg/m3And<0.8mg/m3, it is >=0.8mg/m that the tertiary gradient, which corresponds to threshold value,3, it is assumed that content of formaldehyde in detection data For 0.2 milligram/cubic metre (mg/m3), content of formaldehyde in detection data is compared by clarifier host with corresponding threshold value, is determined Content of formaldehyde is exceeded in present air and is in slight pollution, and clarifier host intelligent opening except purifying formaldehyde function and is adjusted at this time It is whole to running on low wind file;Assuming that content of formaldehyde is 0.5 milligram/cubic metre (mg/m in detection data3), clarifier host will be examined Content of formaldehyde is compared with corresponding threshold value in measured data, is determined in present air that content of formaldehyde is exceeded and is in serious pollution, Clarifier host intelligent opening except purifying formaldehyde function and is adjusted to running on apoplexy shelves at this time, and sends out serious pollution alarm letter Breath;Assuming that content of formaldehyde is 0.9 milligram/cubic metre (mg/m in detection data3), clarifier host contains formaldehyde in detection data Amount is compared with corresponding threshold value, determines that content of formaldehyde is exceeded and is in foul pollution in present air, at this time clarifier host Intelligent opening is except purifying formaldehyde function and adjusts to running on high wind shelves, and sends out foul pollution warning information.
Optionally, different threshold values is respectively set according to the unlatching of different purification functions or purification techniques in clarifier host It is also possible that the grade that a corresponding threshold value or multiple settings are respectively set according to different types of detection data is corresponding Threshold value.Such as, the first estate that content of formaldehyde is arranged corresponds to threshold value as >=0.08mg/m3And<0.3mg/m3, the second grade corresponds to threshold Value is >=0.3mg/m3And<0.8mg/m3, it is >=0.8mg/m that the tertiary gradient, which corresponds to threshold value,3, the correspondence of carbon dioxide content is set Threshold value is 1000ppm (parts per million, parts per million concentration), it is assumed that content of formaldehyde is 0.2 milli in detection data Gram/cubic metre (mg/m3), carbon dioxide content 1500ppm, clarifier host is by content of formaldehyde in detection data and corresponding threshold Value is compared, and determines that content of formaldehyde is exceeded and is in slight pollution in present air, by carbon dioxide content and corresponding threshold value It is compared, determines that carbon dioxide is exceeded in present air, exceeded with carbon dioxide due to formaldehyde at this time, clarifier host is true The running parameter that sets the goal is that high wind speed+startup removes purifying formaldehyde function, to which clarifier host intelligent opening removes purifying formaldehyde work( It can and adjust to running on high wind shelves.
It should be noted that in the present embodiment, clarifier host can also correspond at least part purification function or net The unlatching of change technology is respectively formed different operating modes, such as air intake mode, air-out mode, dehumidification mode, removes formaldehyde Working mould Formula, negative oxygen ion pattern, suspend mode etc., correspondingly, clarifier host is compared really according to detection data with corresponding threshold value Make target operating parameters, and according to target operating parameters adjust current operating parameters include opened according to target operating parameters or Person closes corresponding operating mode.
In another optional embodiment, the testing number for obtaining the Bluetooth slave devices and being sent by Bluetooth transmission According to, current operating parameters are adjusted according to the detection data, including:
Obtain the light intensity value that the Bluetooth slave devices are sent by Bluetooth transmission;
The light intensity value is compared with corresponding threshold value, corresponding target operation mould is determined according to comparison result Formula adjusts current operation mode according to the target operational mode.
The operating mode according to the control of light intensity value of bluetooth master generally includes day mode, night mode, no Same operating mode can correspond to the running parameter range of various criterion respectively, right in different time sections in order to take into account user Air quality and requirement to environmental noise.By taking bluetooth master is clarifier host as an example, in avoiding clarifier from working The noise of generation impacts the sleep of user, and day mode and night mode is respectively set, and is directed under night mode and opens It opens the opposite purification function with bigger noise and higher integrated condition is set, under night operation pattern, content of formaldehyde is set The first estate correspond to threshold value be >=0.08mg/m3And<0.3mg/m3, it is >=0.3mg/m that the second grade, which corresponds to threshold value,3And< 0.8mg/m3, it is >=0.8mg/m that the tertiary gradient, which corresponds to threshold value,3, the correspondence threshold value that carbon dioxide content is arranged is 2000ppm, accordingly Content of formaldehyde reaches in the second rate range and when carbon dioxide content is more than 2000ppm in detection data, clarifier host Ability adjustment is to running on high wind shelves.Bluetooth master obtains the light intensity value that Bluetooth slave devices are sent, by light intensity Value is compared with corresponding threshold value judges target operational mode for day mode or night mode, and adjusts current operation mode For the target operational mode.
It should be understood that the operating mode according to the control of light intensity value of bluetooth master is not limited to both the above, Can also include other operating modes according to actual conditions, as winter in spring day mode, winter in spring night mode, summer and autumn are white Day mode, summer and autumn night mode can be directed under different working modes and corresponding control are arranged by the way that multiple-working mode is arranged Scheme processed so that bluetooth master can be realized more intelligent, more according to detection data that Bluetooth slave devices detect in real time Meet the control of user experience.
As shown in figure 4, providing a kind of apparatus control method for another embodiment of the present invention, indigo plant shown in FIG. 1 can be applied to Tooth includes the following steps from equipment.
Step 201, the voltage swing of detection third setting port, by detecting that the level hair of port is arranged in the third Changing gets the second link order of bluetooth master transmission;
Step 203, according to second link order, start Bluetooth pairing pattern.
Wherein, it refers to the third setting of Bluetooth slave devices that the level of the third setting port of Bluetooth slave devices, which changes, Port receives the correspondence electric signal that the 4th setting port of bluetooth master is sent so that the level that port is arranged in the third occurs Variation, to get the second link order of bluetooth master transmission.Second link order refers to that third setting port obtains The instruction sent by the 4th setting port being connect with third device port by bluetooth master arrived.Port is arranged in the third It can be respectively formed as corresponding to the chip of generation different electrical signals by the variation of physical contact with the 4th setting port Pin (Pin feet) is disconnected by two Pin feet physical contacts i.e. conducting, physical separation.The Pin of side where bluetooth master When the Pin feet formation of side where foot and Bluetooth slave devices is switched on or off so that the Pin feet of side where bluetooth master can be with It sends so that level generates the electric signal of variation at the Pin feet of side where Bluetooth slave devices, to which correspondence gets the second connection Instruction.
Using Bluetooth slave devices as the detection module of clarifier, bluetooth master be clarifier host for, please recombine Refering to fig. 1 and Fig. 3, here, the first setting port can be first input end P1, second port is arranged can be second output terminal P2, third setting port can be able to be the first output end P4 for the second input terminal P3, the 4th setting port.On clarifier host Equipped with slot, detection device is removably installed in slot.First setting port and the 4th setting port are respectively positioned in slot, Second setting port and third setting port are located on detection device and are provided with the first setting port, the 4th setting end in slot The corresponding position of mouth.When by the way that the detection device being installed in the slot, the first setting end of bluetooth master Mouthful, the 4th setting port connect respectively with the second of Bluetooth slave devices the setting port, third setting port, the first setting port and Second setting port formation is physically contacted, and is located at the chip connected by the first setting port in clarifier host and is located at detection In device by second setting port connect chip between be connected, first setting port from disconnecting when vacant state become with The state of access is collectively formed in second setting port, to which the voltage at the first setting port becomes low level from high level, only Change low level of the device Host Detection at the first setting port as the first link order, starts Bluetooth pairing pattern.At this point, Clarifier host by the 4th setting port send so that third be arranged port level generate variation pwm signal, bluetooth from Equipment detects that the level change at third setting port as the second link order, starts Bluetooth pairing pattern.
Therefore, user only need to be contacted Bluetooth slave devices so that first with bluetooth master when using Bluetooth slave devices It is arranged between port and the second setting port and third setting port and the 4th setting port and connects to which automatic trigger starts Bluetooth pairing pattern is triggered without manual setting or button, is not needed user and is done other any operations, promotes user experience.
Optionally, which further includes:Obtain at least one of following detection data:Content of formaldehyde, VOC Content, PM2.5 contents, carbon dioxide content, temperature, humidity, light intensity value;
After successful matching, the detection data is sent to the bluetooth master.
Here, Bluetooth slave devices are detection device, and for detecting the relevant detection data of air quality, detection data includes One or more of content of formaldehyde, VOC content, PM2.5 contents, carbon dioxide content, temperature, humidity, light intensity value, Wherein, which may include one or more sensor for detecting the detection data respectively.As one In optional scheme, detection device includes being passed for detecting the formaldehyde sensor of content of formaldehyde, for detecting the VOC of VOC content Sensor, the carbon dioxide sensor for detecting carbon dioxide content, is used for the PM2.5 sensors for detecting PM2.5 contents Temperature sensor, the humidity sensor for detecting ambient humidity for detecting environment temperature, for detecting ambient light intensity value Light intensity sensor and the processor that is connect with the sensor.After Bluetooth slave devices and bluetooth master successful matching, Processor obtains the detection data of sensor detection, and detection data is set interval real-time transmission by Bluetooth transmission To bluetooth master, so that bluetooth master optimizes current operating parameters using the detection data.
When due to establishing bluetooth connection between Bluetooth slave devices and bluetooth master, user only need to be by bluetooth from setting and bluetooth Main equipment contacts, and so that the first setting port is arranged with second, port is connect, third setting port is connect with the 4th setting port, It is triggered without user's manual setting or button, does not also need user and do other any operations, Bluetooth slave devices are set with bluetooth master After establishing bluetooth connection between standby, detection data can be wirelessly sent to bluetooth master by the bluetooth connection established, Consequently facilitating user, which according to circumstances replaces the better Bluetooth slave devices of performance, obtains more accurate detection data or according to difference Application environment replace and can detect the Bluetooth slave devices of required detection data.
In one embodiment, the scheme for being embodied as bluetooth master implementation of apparatus control method, bluetooth master are provided Equipment includes bluetooth module, memory, processor and is stored in the computer program run on the memory, the processor The equipment controlling party using bluetooth master that the application any embodiment is provided is realized when executing the computer program Method.
In another embodiment, provide apparatus control method be embodied as Bluetooth slave devices implementation scheme, the bluetooth from Equipment includes bluetooth module, memory, processor and is stored in the computer program run on the memory, the processor The equipment controlling party using Bluetooth slave devices that the application any embodiment is provided is realized when executing the computer program Method.
Specifically using bluetooth master as clarifier host, for Bluetooth slave devices are detection device, by by detection device It is inserted in the slot of clarifier host, the first setting port is connect with the second setting port, and the processor of bluetooth master is held It is realized when the row computer program:First setting port and the second setting port of Bluetooth slave devices connect, and get first Link order;According to first link order, start Bluetooth pairing pattern, and send the second link order to the bluetooth from Equipment, so that the Bluetooth slave devices, which are based on second link order, starts Bluetooth pairing pattern.
Here, it is additionally operable to realize when the processor of bluetooth master executes the computer program:It is defeated after successful matching Go out to indicate information.
Here, it is additionally operable to realize when the processor of bluetooth master executes the computer program:First setting end When mouth is connect with the second setting port of Bluetooth slave devices, the first link order is got, including:The first setting of detection port Voltage swing, the second setting port that port and Bluetooth slave devices are arranged corresponding to described first connect, and detect described first Setting port becomes second electrical level from the first level, gets the first link order.
Here, it is additionally operable to realize when the processor of bluetooth master executes the computer program:After successful matching, obtain The detection data for taking the Bluetooth slave devices to be sent by Bluetooth transmission adjusts current operating parameters according to the detection data.
Here, it is additionally operable to realize when the processor of bluetooth master executes the computer program:Obtain the bluetooth from The detection data that equipment is sent by Bluetooth transmission adjusts current operating parameters according to the detection data, including:Described in acquisition At least one of the following detection data that Bluetooth slave devices are sent by Bluetooth transmission:Content of formaldehyde, VOC content, PM2.5 contain Amount, carbon dioxide content, temperature, humidity;The detection data is compared with corresponding threshold value, according to comparison result determination pair The target operating parameters answered adjust current operating parameters according to the target operating parameters.
Here, it is additionally operable to realize when the processor of bluetooth master executes the computer program:It is described to obtain the indigo plant The detection data that tooth is sent from equipment by Bluetooth transmission adjusts current operating parameters according to the detection data, including:It obtains The light intensity value that the Bluetooth slave devices are sent by Bluetooth transmission;The light intensity value is compared with corresponding threshold value Compared with, corresponding target operational mode is determined according to comparison result, according to the target operational mode adjust current operation mode.
By the way that detection device is inserted in the slot of clarifier host, the third setting port of Bluetooth slave devices and bluetooth 4th setting port of main equipment connects, and the processor of Bluetooth slave devices is realized when executing the computer program:Detect third The voltage swing of port is set, by detecting that the level of third setting port changes, gets bluetooth master The second link order sent;According to second link order, start Bluetooth pairing pattern.
Here, it is additionally operable to realize when the processor of Bluetooth slave devices executes the computer program:Obtain following testing number At least one of according to:Content of formaldehyde, VOC content, PM2.5 contents, carbon dioxide content, temperature, humidity, light intensity value; After successful matching, the detection data is sent to the bluetooth master.
Referring to Fig. 5, in one embodiment, a kind of plant control unit is provided, including acquisition module 11 and instruction are sent Module 13, the acquisition module 11, the second setting port for the first setting port and Bluetooth slave devices connect, and get the One link order;Described instruction sending module 13, for according to first link order, starting Bluetooth pairing pattern, concurrently Send the second link order to the Bluetooth slave devices, so that the Bluetooth slave devices, which are based on second link order, starts indigo plant Tooth pairing mode.
Further, which further includes indicating module 15, for after successful matching, output to indicate information.
The acquisition module 11 is specifically used for the voltage swing of the first setting of detection port, corresponding to the first setting port It is connect with the second setting port of Bluetooth slave devices, detects that first setting port becomes second electrical level from the first level, Get the first link order.
Further, which further includes adjustment module 16, logical for after successful matching, obtaining the Bluetooth slave devices The detection data for crossing Bluetooth transmission transmission adjusts current operating parameters according to the detection data.
The adjustment module 16 is specifically used for obtaining the following testing number that the Bluetooth slave devices are sent by Bluetooth transmission At least one of according to:Content of formaldehyde, VOC content, PM2.5 contents, carbon dioxide content, temperature, humidity;By the testing number It is compared according to corresponding threshold value, corresponding target operating parameters is determined according to comparison result, according to the target operating parameters Adjust current operating parameters.
The adjustment module 16 is specifically used for obtaining the light intensity value that the Bluetooth slave devices are sent by Bluetooth transmission; The light intensity value is compared with corresponding threshold value, corresponding target operational mode is determined according to comparison result, according to institute State target operational mode adjustment current operation mode.
It should be noted that:The specific implementation side for the plant control unit that above-described embodiment provides can be that bluetooth master sets It is standby, when realizing apparatus control method, only with the division progress of above-mentioned each program module for example, in practical application, Ke Yigen Above-mentioned processing is distributed according to needs and is completed by different program modules, i.e., the internal structure of device is divided into different programs Module, to complete all or part of processing described above.In addition, plant control unit and the application of above-described embodiment offer Belonging to same design in the apparatus control method embodiment of bluetooth master, specific implementation process refers to embodiment of the method, this In repeat no more.
Referring to Fig. 6, another embodiment provides a kind of plant control unit, including detection module 21, for detecting third The voltage swing of port is set, by detecting that the level of third setting port changes, gets bluetooth master The second link order sent;Starting module 23, for according to second link order, starting Bluetooth pairing pattern.
Further, which further includes data transmission blocks 24, for obtaining at least one of following detection data: Content of formaldehyde, VOC content, PM2.5 contents, carbon dioxide content, temperature, humidity, light intensity value;After successful matching, hair Send the detection data to the bluetooth master.
It should be noted that:The specific implementation side for the plant control unit that above-described embodiment provides can be bluetooth from setting It is standby, when realizing apparatus control method, only with the division progress of above-mentioned each program module for example, in practical application, Ke Yigen Above-mentioned processing is distributed according to needs and is completed by different program modules, i.e., the internal structure of device is divided into different programs Module, to complete all or part of processing described above.In addition, plant control unit and the application of above-described embodiment offer Belonging to same design in the apparatus control method embodiment of Bluetooth slave devices, specific implementation process refers to embodiment of the method, this In repeat no more.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through Computer program is completed to instruct relevant hardware, and the computer executable instructions that described program includes can be stored in a calculating In machine read/write memory medium, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described Storage medium can be magnetic disc, CD, Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable read only memory, EEPROM), read-only memory (Read-Only Memory, ROM) or Random access memory (Random Access Memory, RAM) etc..
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product Sale in use, can also be stored in a computer read/write memory medium.Based on this understanding, the present invention is implemented The technical solution of example substantially in other words can be expressed in the form of software products the part that the relevant technologies contribute, The computer software product is stored in a storage medium, including some instructions are used so that equipment (can be as Bluetooth master, the purification machine host of Bluetooth slave devices, detection device etc.) execute the complete of each embodiment the method for the present invention Portion or part.And storage medium above-mentioned includes:Movable storage device, EEPROM, RAM, ROM, magnetic disc or CD etc. are various The medium of program code can be stored.
The foregoing is merely the specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all cover Within protection scope of the present invention.Protection scope of the present invention should be with the scope of the claims with standard.

Claims (12)

1. a kind of apparatus control method is applied to bluetooth master, which is characterized in that including:
First setting port and the second setting port of Bluetooth slave devices connect, and get the first link order;
According to first link order, start Bluetooth pairing pattern, and send the second link order to the Bluetooth slave devices, So that the Bluetooth slave devices, which are based on second link order, starts Bluetooth pairing pattern.
2. apparatus control method as described in claim 1, which is characterized in that the method further includes:
After successful matching, output instruction information.
3. Bluetooth connecting method as described in claim 1, which is characterized in that the first setting port and Bluetooth slave devices Second setting port connects, and gets the first link order, including:
Port and the second setting end of Bluetooth slave devices is arranged corresponding to described first in the voltage swing of the first setting of detection port Mouth connection detects that first setting port becomes second electrical level from the first level, gets the first link order.
4. apparatus control method as described in claim 1, which is characterized in that the method further includes:
After successful matching, the detection data that the Bluetooth slave devices are sent by Bluetooth transmission is obtained, according to the testing number According to adjustment current operating parameters.
5. apparatus control method as claimed in claim 4, which is characterized in that the acquisition Bluetooth slave devices pass through bluetooth The detection data sent is transmitted, current operating parameters are adjusted according to the detection data, including:
Obtain at least one of the following detection data that the Bluetooth slave devices are sent by Bluetooth transmission:Content of formaldehyde, VOC Content, PM2.5 contents, carbon dioxide content, temperature, humidity;
The detection data is compared with corresponding threshold value, corresponding target operating parameters are determined according to comparison result, according to The target operating parameters adjust current operating parameters.
6. apparatus control method as claimed in claim 4, which is characterized in that the acquisition Bluetooth slave devices pass through bluetooth The detection data sent is transmitted, current operating parameters are adjusted according to the detection data, including:
Obtain the light intensity value that the Bluetooth slave devices are sent by Bluetooth transmission;
The light intensity value is compared with corresponding threshold value, corresponding target operational mode, root are determined according to comparison result Current operation mode is adjusted according to the target operational mode.
7. a kind of apparatus control method is applied to Bluetooth slave devices, which is characterized in that including:
The voltage swing for detecting third setting port is obtained by detecting that the level of third setting port changes The second link order sent to bluetooth master;
According to second link order, start Bluetooth pairing pattern.
8. apparatus control method as claimed in claim 7, which is characterized in that further include:
Obtain at least one of following detection data:Content of formaldehyde, VOC content, PM2.5 contents, carbon dioxide content, temperature Degree, humidity, light intensity value;
After successful matching, the detection data is sent to the bluetooth master.
9. a kind of storage medium, there are computer executable instructions in the storage medium, which is characterized in that the computer can be held Row instruction, which is executed by processor, realizes claim 1 to 8 any one of them apparatus control method.
10. a kind of bluetooth master, including bluetooth module, memory, processor and it is stored in the meter run on the memory Calculation machine program, it is characterised in that:The processor is realized when executing the computer program such as any one of claim 1 to 6 The apparatus control method.
11. a kind of Bluetooth slave devices, including bluetooth module, memory, processor and it is stored in the meter run on the memory Calculation machine program, it is characterised in that:The processor realizes the equipment as described in claim 7 or 8 when executing the computer program Control method.
12. a kind of clarifier, including clarifier host and detection device, the clarifier host is for the first setting port and indigo plant Tooth is connected from the second setting port of equipment, gets the first link order;According to first link order, starts bluetooth and match To pattern, and the second link order is sent to the Bluetooth slave devices, connect so that the Bluetooth slave devices are based on described second It connects instruction and starts Bluetooth pairing pattern;The detection device is used to detect the voltage swing of third setting port, by detecting The level of third setting port changes, and gets the second link order of bluetooth master transmission;According to described Two link orders start Bluetooth pairing pattern.
CN201810267342.8A 2018-03-28 2018-03-28 The master and slave equipment of apparatus control method, bluetooth, storage medium and clarifier Pending CN108494966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810267342.8A CN108494966A (en) 2018-03-28 2018-03-28 The master and slave equipment of apparatus control method, bluetooth, storage medium and clarifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810267342.8A CN108494966A (en) 2018-03-28 2018-03-28 The master and slave equipment of apparatus control method, bluetooth, storage medium and clarifier

Publications (1)

Publication Number Publication Date
CN108494966A true CN108494966A (en) 2018-09-04

Family

ID=63317125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810267342.8A Pending CN108494966A (en) 2018-03-28 2018-03-28 The master and slave equipment of apparatus control method, bluetooth, storage medium and clarifier

Country Status (1)

Country Link
CN (1) CN108494966A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112986490A (en) * 2019-12-16 2021-06-18 中移物联网有限公司 Terminal device, data processing method and device
CN113625580A (en) * 2021-08-16 2021-11-09 珠海格力电器股份有限公司 Device control method, device, electronic device, control system and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579506A (en) * 2014-12-31 2015-04-29 福建联迪商用设备有限公司 Bluetooth equipment testing method and device
CN104639213A (en) * 2013-11-11 2015-05-20 上海山景集成电路股份有限公司 Method and system for Bluetooth matching on basis of USB (universal serial bus) cable
CN204555198U (en) * 2015-02-17 2015-08-12 苏州宝时得电动工具有限公司 Air purifier
CN106440205A (en) * 2016-09-28 2017-02-22 美的集团武汉制冷设备有限公司 Control method and device for air purifier
CN107101284A (en) * 2017-05-27 2017-08-29 盐城市兰丰环境工程科技有限公司 A kind of novel air purifier group

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639213A (en) * 2013-11-11 2015-05-20 上海山景集成电路股份有限公司 Method and system for Bluetooth matching on basis of USB (universal serial bus) cable
CN104579506A (en) * 2014-12-31 2015-04-29 福建联迪商用设备有限公司 Bluetooth equipment testing method and device
CN204555198U (en) * 2015-02-17 2015-08-12 苏州宝时得电动工具有限公司 Air purifier
CN106440205A (en) * 2016-09-28 2017-02-22 美的集团武汉制冷设备有限公司 Control method and device for air purifier
CN107101284A (en) * 2017-05-27 2017-08-29 盐城市兰丰环境工程科技有限公司 A kind of novel air purifier group

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112986490A (en) * 2019-12-16 2021-06-18 中移物联网有限公司 Terminal device, data processing method and device
CN113625580A (en) * 2021-08-16 2021-11-09 珠海格力电器股份有限公司 Device control method, device, electronic device, control system and storage medium

Similar Documents

Publication Publication Date Title
CN105465971B (en) A kind of air purifier system
CN102097636B (en) Fault diagnosis device and method of fuel cell system
CN108494966A (en) The master and slave equipment of apparatus control method, bluetooth, storage medium and clarifier
CN105136206A (en) Multifunctional modularized air quality monitor
CN102354885A (en) Wireless universal air-conditioner remote control socket based on wireless sensor network
CN104515549A (en) Indoor environment quality monitoring and controlling system
CN105444378A (en) Control device and method for air cleaner
CN107856505A (en) A kind of Intelligent air purifier system, Intelligent air purifier and operating method
CN102997369A (en) Humidifier control method
CN205652941U (en) Elevator thing networking intelligent acquisition terminal
CN109062075A (en) A kind of small house keeper of smart home based on NB-IOT
CN106247527B (en) The method and device of night control is carried out to air-conditioning using night control model
CN202835662U (en) Frequency conversion fan start control device of condensing unit
CN103220409A (en) Automatic switch method of mobile terminal themes
CN105228043A (en) On-vehicle Bluetooth Headphone device and control method thereof
CN204988367U (en) Multifunctional module ization air quality monitoring appearance
CN204787050U (en) Purifier
CN102636712B (en) A kind of card compatibility automated test macro of SD of vehicular transreceiver and method
CN105137825B (en) A kind of information processing method and air control system for air
CN110514956B (en) But domestic intelligent power distribution safety coefficient of remote monitoring
CN204730876U (en) A kind of indoor environmental quality monitoring and control system
CN205158005U (en) Smart home systems&#39;s intelligence switch
CN210425443U (en) Fresh air purifier controller
CN101614431B (en) Control circuit of air conditioner
CN213399926U (en) Prevent driver fatigue early warning 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180904