[go: up one dir, main page]

CN108208937B - Electronic cigarette control method and control device and electronic cigarette - Google Patents

Electronic cigarette control method and control device and electronic cigarette Download PDF

Info

Publication number
CN108208937B
CN108208937B CN201711330176.3A CN201711330176A CN108208937B CN 108208937 B CN108208937 B CN 108208937B CN 201711330176 A CN201711330176 A CN 201711330176A CN 108208937 B CN108208937 B CN 108208937B
Authority
CN
China
Prior art keywords
electronic cigarette
power supply
equipment
target
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711330176.3A
Other languages
Chinese (zh)
Other versions
CN108208937A (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changzhou Paiteng Electronic Technology Co Ltd
Original Assignee
Changzhou Paiteng Electronic Technology 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 Changzhou Paiteng Electronic Technology Co Ltd filed Critical Changzhou Paiteng Electronic Technology Co Ltd
Priority to CN201711330176.3A priority Critical patent/CN108208937B/en
Publication of CN108208937A publication Critical patent/CN108208937A/en
Application granted granted Critical
Publication of CN108208937B publication Critical patent/CN108208937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • A24F47/008

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a control method and a control device of an electronic cigarette and the electronic cigarette, and belongs to the technical field of electronic cigarettes. The control method comprises the following steps: the electronic cigarette is connected with a target electric device through a protocol converter, the protocol converter is used for adapting the electronic cigarette with the target electric device, and the control method comprises the following steps: acquiring a power supply adjusting instruction; and controlling the electronic cigarette to output the electric energy to the target electric equipment through the protocol converter according to the power supply adjusting instruction. The problem of the function that electron cigarette can provide among the correlation technique too single is solved, reach the effect of the function of abundant electron cigarette.

Description

Electronic cigarette control method and control device and electronic cigarette
Technical Field
The invention relates to the technical field of electronic cigarettes, in particular to a control method and a control device of an electronic cigarette and the electronic cigarette.
Background
The electronic cigarette is an electronic product simulating a cigarette, can generate smoke through atomizing cigarette liquid, and the smoke can be inhaled into a human body from a cigarette holder by a user of the electronic cigarette, so that the aim of simulating smoking is fulfilled.
However, the electronic cigarette in the prior art only provides a simulated smoking function, and the function provided by the electronic cigarette is too single.
Disclosure of Invention
In order to solve the problem that the functions provided by an electronic cigarette in the prior art are too single, the embodiment of the invention provides a control method and a control device of the electronic cigarette and the electronic cigarette. The technical scheme is as follows:
in a first aspect, a control method for an electronic cigarette is provided, where the electronic cigarette is connected to a target electrical device through a protocol converter, and the protocol converter is configured to adapt the electronic cigarette to the target electrical device, and the control method includes:
acquiring a power supply adjusting instruction;
and controlling the electronic cigarette to output the electric energy to the target electric equipment through the protocol converter according to the power supply adjusting instruction.
Optionally, the controlling, according to the power supply adjustment instruction, the electronic cigarette to output the electric energy to the target electrical device through the protocol converter includes:
acquiring a target power supply requirement in the power supply adjustment instruction, wherein the target power supply requirement comprises at least one of power supply current, power supply power and power supply voltage;
and outputting electric energy to the target electric equipment according to the target power supply requirement.
Optionally, the controlling, according to the power supply adjustment instruction, the electronic cigarette to output the electric energy to the target electrical device through the protocol converter includes:
acquiring safe use information of the target electric equipment, wherein the safe use information comprises at least one of a safe working voltage range, a safe working current range and a safe working power range;
and controlling the electric energy output to the target electric equipment by the electronic cigarette through the protocol converter according to the power supply adjusting instruction and the safe use information.
Optionally, the obtaining the safe use information of the target electrical equipment includes:
receiving the safe use information sent by the target electric equipment;
or,
acquiring equipment information of the target electric equipment, and acquiring safe use information of the target electric equipment from a server according to the equipment information, wherein the equipment information comprises at least one of an equipment identifier, an equipment type and an equipment name of the target electric equipment;
or,
and acquiring the safe use information input by the user.
Optionally, the control method further includes:
receiving a first control instruction, wherein the first control instruction comprises working parameters of target electric equipment;
and sending the first control instruction to the target electric equipment, wherein the first control instruction is used for triggering the target electric equipment to operate according to the working parameters.
Optionally, the control method further includes:
receiving a second control instruction;
and controlling the electric energy output to the target electric equipment through the protocol converter according to the second control instruction, so that the target electric equipment executes the target operation corresponding to the second control instruction.
Optionally, the obtaining of the power supply adjustment instruction includes:
receiving the power supply adjusting instruction sent by the electronic equipment, wherein the power supply adjusting instruction is generated by the electronic equipment according to the collected voice signal; or,
and receiving the power supply adjusting instruction sent by the server, wherein the power supply adjusting instruction is generated by the server according to the voice signal sent by the electronic equipment.
In a second aspect, there is provided a control apparatus comprising:
a memory and a processor;
at least one program instruction is stored in the memory;
the processor is configured to load and execute the at least one program instruction to implement the control method for the electronic cigarette according to the first aspect and any optional embodiment of the first aspect.
In a third aspect, there is provided a computer-readable storage medium having one or more instructions stored therein, which when executed by a processor in an electronic cigarette, implement the first aspect and the method of controlling an electronic cigarette according to any one of the optional embodiments of the first aspect.
In a fourth aspect, an electronic cigarette is provided, which includes the control device according to the second aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
obtaining a power supply adjusting instruction; controlling the electric energy output by the electronic cigarette to the target electric equipment according to the power supply adjusting instruction; the electronic cigarette has the function of supplying power to the target electric equipment, the problem that the function which can be provided by the electronic cigarette in the related technology is too single is solved, and the effect of enriching the functions of the electronic cigarette is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic block diagram of a control system provided in one embodiment of the present invention;
fig. 2 is a flowchart of a method of controlling a method provided in another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The "electronic device" referred to herein may include a smart phone, a tablet computer, a smart television, an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, mpeg Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, mpeg Audio Layer 4), a laptop computer, a desktop computer, and the like.
An exemplary embodiment of the present invention provides a control system including an electronic cigarette and an electric device.
The powered device referred to herein may be a powered device such as a fan, mini fan, LED table lamp, electric screw driver, television, infrared emitter, and the like.
Optionally, a protocol converter is arranged on the electronic cigarette, and the protocol converter is used for adapting the electronic cigarette to the electric device. That is, the physical interface on the protocol converter may be connected with the physical interface on the electrical device, and the protocol converter is also used for converting between the communication protocol of the electronic cigarette and the communication protocol of the electrical device.
For example, when the electric device is an infrared transmitter, the protocol converter converts a television turn-on command sent by the electronic cigarette into a command for triggering the infrared transmitter to transmit an infrared signal, and the infrared signal is used for triggering the television to turn on.
Optionally, a hardware interface for connecting with a protocol converter is provided on the electronic cigarette, the electronic cigarette may be connected with the protocol converter through the hardware interface, and an interface connected with the electric equipment is further provided on the protocol converter, so that the protocol converter may be adapted to the electric equipment, and therefore, the electronic cigarette may be connected with the electric equipment through the protocol converter, that is, the protocol converter may be used to adapt the electronic cigarette to the electric equipment.
In case the e-cigarette is connected to an electrical device via the protocol converter, it may output electrical energy to the electrical device via the protocol converter. For example, the protocol converter of the electronic cigarette may be connected to a USB (Universal Serial Bus) interface of a connection line, and the other end of the connection line is connected to the electric device. Optionally, the connection line may also be used for transmitting data.
Optionally, the electronic cigarette may communicate with the powered device in several ways:
first, the e-cigarette communicates with the consumer via a protocol converter.
Secondly, the electronic cigarette communicates with the electric equipment by using a Wireless transmission technology, where the Wireless transmission technology may be a short-distance Wireless transmission technology such as bluetooth, WIFI (Wireless-Fidelity) technology direct connection, NFC (Near Field Communication), infrared, and the like.
Optionally, the control system includes an electronic device, and an application program for controlling the electric device in the control system is installed on the electronic device.
Optionally, the electronic cigarette may communicate with the electronic device using wireless transmission techniques.
Optionally, the control system further includes a server, where the server is a background server of the application program, and the server may be connected to the electronic cigarette and the electronic device through a wired or wireless network. Optionally, the background server may be one server, or may be a server cluster formed by multiple servers.
For example, as shown in fig. 1, the control system includes an electronic cigarette 110, a server 120, an electronic device 130, and a plurality of electric devices, which are an LED (Light Emitting Diode) desk lamp 140, an electric screwdriver 150, and a television 160.
Referring to fig. 2, a flowchart of a method for controlling an electronic cigarette according to an embodiment of the present invention is shown. As shown in fig. 2, the control method of the electronic cigarette may include:
step 210, receiving a power supply adjustment instruction.
Step 210 can be implemented in two ways:
first implementation of step 210: and receiving a power supply adjusting instruction sent by the electronic equipment.
Generally, an application installed on an electronic device may be used to control at least one electrical device, and the electronic device may provide the at least one electrical device to a user for selection in the application. After the target electric equipment is connected with the electronic cigarette, the user can select the target electric equipment from the at least one electric equipment.
For example, the target electrical device is an LED lamp, and the electronic device displays an icon or a name of each electrical device in the at least one electrical device in a display interface of the application program. After the LED lamp is connected with the electronic cigarette by a user, an icon corresponding to the LED lamp is selected in the application program, and then the LED lamp desk lamp is used as target power utilization equipment by the electronic equipment.
After the electronic equipment acquires the target electric equipment, the power supply adjustment instruction can be acquired in the following two ways:
1. the power supply adjustment instruction includes at least one of an adjustment amount of power supply power, an adjustment amount of power supply voltage, an adjustment amount of power supply current, a direction of power supply current, and a direction of power supply voltage.
Alternatively, the adjustment amount of the electric power, the adjustment amount of the supply voltage, the adjustment amount of the supply current, the supply current direction, and the supply voltage direction may be set by a user, or may be generated by the electronic device according to a target operation selected by the user among the executable operations of the target electrical device.
An application on the electronic device provides at least one executable operation for each powered device for selection by a user. For example, executable operations provided for an LED desk lamp may include operations such as increasing brightness, decreasing brightness, doubling brightness, decreasing brightness by 50%, turning on, turning off, and so forth; as another example, the executable operations provided for the electric screwdriver may include increasing the rotational speed, decreasing the rotational speed, changing the direction of rotation, increasing the torque, decreasing the torque, turning on, turning off, and the like; as another example, the executable operations provided for the mini fan may include increasing wind speed, decreasing wind speed, changing wind direction, and timed shutdown, among other operations. As another example, the executable operations provided for the television may include operations to turn on, turn off, increase volume, decrease volume, and switch channels, among others.
The electronic device generates a power supply adjustment instruction according to the target operation. The target electric device is taken as an LED table lamp, and the target operation is taken as an instruction to increase the brightness of the LED table lamp. When detecting that the target operation is to increase the brightness of the LED table lamp, the electronic equipment generates a power supply adjusting instruction, wherein the power supply adjusting instruction comprises an adjusting amount of power supply current +5 mA.
2. The application provides the function of setting a target power requirement for the at least one consumer, where the power requirement may comprise at least one of a power supply power, a power supply voltage, a power supply current direction and a power supply voltage direction. After the electronic equipment acquires the target electric equipment and the target power supply requirement, the electronic equipment generates a power supply adjustment instruction by using the target power supply requirement.
For example, the electronic device may display an icon of at least one electrical device, and after detecting that the icon of the LED table lamp in the at least one electrical device is selected, the electronic device displays a power supply requirement setting interface of the LED table lamp, where the power supply requirement setting interface includes an input frame for inputting a power supply current and a confirmation button, and uses the LED table lamp as a target electrical device. And when the electronic equipment detects an operation signal generated when the confirmation button is operated, acquiring the power supply current input in the input frame, and generating a control command by using the equipment identifier and the power supply current of the LED table lamp.
The electronic device can send a power supply adjustment instruction to the electronic cigarette in the following ways:
1. the electronic equipment sends the power supply adjusting instruction to the electronic cigarette by utilizing a short-distance wireless transmission technology.
The electronic device and the electronic cigarette can be bound in advance.
Optionally, the electronic device may store the device identifier of the electronic cigarette bound thereto, and the power supply adjustment instruction carrying the device identifier of the electronic cigarette is sent to the electronic cigarette by using a short-distance wireless transmission technology. There may be multiple electronic cigarettes receiving the power supply adjustment instruction, and the electronic cigarettes having the device identifier in the power supply adjustment instruction may perform step 220.
Optionally, each electronic cigarette may store an equipment identifier of the electronic equipment bound to the electronic cigarette, and the electronic equipment may send the power supply adjustment instruction carrying the equipment identifier to the electronic cigarette by using a short-distance wireless transmission technology. There may be multiple electronic cigarettes receiving the power supply adjustment instruction, and the multiple electronic cigarettes may execute step 220 by storing the electronic cigarette identified by the device in the power supply adjustment instruction.
2. The electronic equipment sends the power supply adjusting instruction to a server; the server sends the power supply adjusting instruction to the electronic cigarette.
Optionally, the electronic device pre-stores the device identifier of the electronic cigarette bound to the electronic device, and the server that sends the device identifier of the electronic cigarette to the server carries the device identifier of the electronic cigarette; and the server forwards the power supply adjusting instruction to the electronic cigarette according to the equipment identifier of the electronic cigarette.
Optionally, the electronic cigarette and the device identifier of the electronic device bound to each other may be stored in the server correspondingly. The electronic cigarette sends a power supply adjusting instruction carrying the equipment identifier of the electronic cigarette to the server, the server determines the electronic cigarette bound with the electronic equipment according to the equipment identifier of the electronic equipment in the power supply adjusting instruction, and the power supply adjusting instruction is forwarded to the electronic cigarette.
Second implementation of step 210: the electronic cigarette is provided with a display screen and an operation keyboard, and the electronic cigarette obtains a power supply adjustment instruction according to user operation.
For the specific implementation of the electronic cigarette for obtaining the power supply adjustment instruction, reference may be made to the first implementation manner in step 210, and details of the implementation manner of the electronic device for obtaining the power supply adjustment instruction are not repeated here.
And step 220, controlling the electric energy output by the electronic cigarette to the target electric equipment through the protocol converter according to the power supply adjusting instruction.
The following are described in two cases:
in a first case, the power adjustment command includes a target power requirement.
In case the target power supply requirement comprises a power supply voltage, an output voltage having a voltage value that is the same as or close to the power supply voltage in the power supply requirement is output by the protocol converter.
In the case where the target power supply requirement includes a power supply current, an output current having a value equal to or similar to the power supply current in the power supply requirement is output through the protocol converter.
When the target power supply request includes the power supply power, the output voltage and the output current outputted from the protocol converter are controlled so that the output power outputted from the protocol converter is equal to or close to the power supply power in the target power supply request.
The electronic device generates a power adjustment instruction according to an executable operation (referred to herein as a target operation) selected by a user. Wherein the power supply adjustment instruction is used for instructing the electronic cigarette how to adjust the electric energy output by the protocol converter so that the target electric device can execute the target operation.
For example, the target electrical equipment is used as the LED desk lamp, and the power supply adjustment instruction indicates to increase the brightness of the LED desk lamp, and the current supply current output by the electronic cigarette is 5 mA. When the electronic cigarette receives the power supply adjusting instruction, the output current provided by the electronic cigarette is increased by 5 mA. That is, the supply current required by the LED table lamp determined by the electronic cigarette to perform the brightness increase of the LED table lamp is 10 mA. The electronic cigarette outputs 10mA current to the LED table lamp through the protocol converter.
In the second case, the power supply adjustment command includes at least one of an adjustment amount of power supply, an adjustment amount of power supply voltage, and an adjustment amount of power supply current.
In summary, in the method provided in this embodiment, the power supply adjustment instruction is obtained; controlling the electric energy output by the electronic cigarette to the target electric equipment according to the power supply adjusting instruction; the electronic cigarette has the function of supplying power to the target electric equipment, the problem that the function which can be provided by the electronic cigarette in the related technology is too single is solved, and the effect of enriching the functions of the electronic cigarette is achieved.
The points to be explained are: the electronic cigarette supplies power to the target electric equipment by utilizing the protocol converter of the electronic cigarette, so that the use place of the target electric equipment is not limited any more. For example, the target electric equipment is an electric screwdriver, and a technician in the prior art needs to connect the electric screwdriver with a mains supply socket before using the electric screwdriver. In the application, after the protocol converter of the electric screwdriver and the electronic cigarette is connected, the electronic cigarette supplies power to the electric screwdriver so that the electric screwdriver works normally, and the use of the electric screwdriver is not limited by places any more.
In one example, the implementation of step 210 may also be: collecting voice signals; determining target power utilization equipment and a target power supply requirement according to the voice signal; and generating a power supply adjusting instruction according to the target power supply requirement and the target electric equipment, wherein the power supply adjusting instruction comprises at least one of an equipment identifier, an equipment type and an equipment name of the target electric equipment.
Optionally, after acquiring the voice signal, the electronic device sends the acquired voice signal to the server; the server determines target power utilization equipment and a target power supply requirement according to the voice signal; generating a power supply adjusting instruction according to the target power supply requirement and the target electric equipment, and sending the power supply adjusting instruction to the electronic cigarette, wherein the power supply adjusting instruction comprises at least one of an equipment identifier, an equipment type and an equipment name of the target electric equipment.
Optionally, in an example, the electronic cigarette further outputs electric energy to the target electrical equipment according to the obtained safe use information of the target electrical equipment. That is, step 220 may be replaced with: and controlling the electric energy output to the target electric equipment by the electronic cigarette through the protocol converter according to the power supply adjusting instruction and the safe use information of the target electric equipment.
The specific implementation can be as follows: acquiring safe use information of target electric equipment, wherein the safe use information comprises one of a safe working voltage range, a safe working current range and a safe working power range; and controlling the electric energy output by the electronic cigarette to the target electric equipment according to the power supply adjusting instruction and the safe use information, so that the output voltage, the output current and the output power output by the protocol converter on the electronic cigarette conform to the safe use information.
That is, in the case that the safe use information includes a safe operating voltage range, controlling the output voltage thereof not to exceed the safe operating voltage range; controlling the output current of the safe use information not to exceed the safe working current range under the condition that the safe use information comprises the safe working current range; and controlling the output power of the safe use information not to exceed the safe working power range in the case that the safe use information comprises the safe working power range.
The electronic cigarette can acquire the safe use information of the target electric equipment in the following ways:
firstly, the target electric equipment sends the locally stored safe use information to the electronic cigarette; the electronic cigarette receives the safe use information. Optionally, the target electric device may further send its device name and/or device type to the electronic cigarette together with the safety use information.
The target powered device may send the safe-use information to the e-cigarette via a protocol converter or a wireless transmission technique.
Secondly, the electronic cigarette acquires equipment information of the target electric equipment, wherein the equipment information comprises at least one of equipment identification, equipment type and equipment name; sending an inquiry request carrying the acquired equipment information to a server; the server inquires the safe use information of the target electric equipment according to the inquiry request and sends the safe use information to the electronic cigarette.
Optionally, when the target electrical device is connected to the protocol converter of the electronic cigarette, the target electrical device sends the device identifier, the device type, or the device name of the target electrical device to the electronic cigarette.
Thirdly, the electronic cigarette obtains the safe use information input by the user on the electronic cigarette. For example, the electronic cigarette may display an input box for inputting the security use information on its display screen, from which the electronic cigarette obtains the security use information input by the user.
In one example, after the electronic cigarette acquires the safe use information from the target electric equipment or the server, the safe use information is also sent to the electronic equipment for the user to confirm; and when the safety use information confirmed by the electronic equipment is acquired, controlling the output voltage, the output current and the output power output by the protocol converter to accord with the confirmed safety use information.
And after receiving the safe use information, the electronic equipment displays the safe use information. The user can confirm the safe use information of the target electric equipment on the electronic equipment; when there is an error in the secure use information displayed on the electronic device, the user can directly modify on the electronic device.
Optionally, in the process of displaying the safe use information by the electronic device, when an operation for confirming the safe use information is detected, the displayed safe use information is sent to the electronic cigarette as the safe use information confirmed by the user.
For example, the electronic device further displays a confirmation button on the display interface for displaying the safe use information, and when detecting an operation generated when the confirmation button is pressed, transmits the displayed safe use information to the electronic cigarette as the safe use information confirmed by the user.
Optionally, in the process of displaying the safe use information by the electronic device, when an operation for confirming the safe use information is detected, determining whether the safe use information displayed by the electronic device is modified; if the electronic cigarette is not modified, sending a confirmation signal to the electronic cigarette, wherein the confirmation signal is used for indicating that the full-use information sent by the electronic cigarette to the electronic equipment is correct; otherwise, the modified safe use information is sent to the electronic cigarette.
In one example, after the safe use information of the target electric equipment is acquired, the electronic cigarette acquires the target power supply requirement of the target electric equipment; and when the target power supply requirement exceeds the safe working voltage range and/or the safe working current range and/or the safe working power range in the safe use information, stopping outputting the electric energy to the target electric equipment through the protocol converter and/or displaying a reminding message.
Optionally, the reminding message may be a text reminding message, a voice reminding message, or vibration of a vibrator of the electronic cigarette, and this embodiment is not specifically limited to this reminding message. The user can disconnect the protocol converter of the electronic cigarette from the target electric equipment according to the reminding message, and the user can also modify the power supply requirement of the target electric equipment, select a target for the target electric equipment to perform operation and the like according to the reminding message.
The target electric equipment is used as the LED table lamp, and when the supply current in the target power supply requirement of the LED table lamp exceeds the safe working current range, a text message 'please reset the supply current of the LED table lamp' is displayed in the display screen of the electronic cigarette "
Optionally, the electronic cigarette may further send the reminder message to the electronic device, and the electronic device displays the reminder message.
In one example, after the electronic device acquires the target electric device, the electronic device may acquire a first control instruction for controlling the target electric device, where the first control instruction includes an operating parameter of the target electric device. The specific implementation can be as follows: the application program on the electronic device provides a function of setting the operating parameters of the target electric device for the target electric device (the electric device selected by the user on the electronic device). For example, the operating parameters of the electric screwdriver may include rotation speed, rotation direction, torque; as another example, operating parameters of an electric fan may include wind speed, wind type, wind direction, and the like. After the electronic equipment acquires the target electric equipment and the working parameters of the target electric equipment, the electronic equipment generates a first control instruction by using the working parameters of the target electric equipment.
Optionally, the first control instruction may further include information related to the target electrical device.
The electronic cigarette can send the first control instruction to the target electric equipment by using a wireless communication technology, and the electronic cigarette can also send the first control instruction to the target electric equipment by using a protocol converter. And when the target electric equipment receives the first control instruction, the target electric equipment operates according to the working parameters in the first control instruction.
Optionally, before the target electrical device operates according to the working parameters in the first control instruction, related information included in the first control instruction is further acquired. And when the relevant information comprises the equipment identification and/or the equipment type of the target electric equipment, the target electric equipment operates according to the working parameters in the first control instruction.
In one example, the electronic cigarette may obtain a second control instruction generated according to the target operation, and control the electric energy output to the target electric device through the protocol converter according to the second control instruction, so that the target electric device can execute the target operation corresponding to the second control instruction.
The target electric equipment is taken as an LED desk lamp, the target operation is increased brightness of the LED desk lamp, and the second control instruction instructs to increase the brightness of the LED desk lamp. The current supply current output by the electronic cigarette is 5 mA. When the electronic cigarette receives the second control instruction, the output current provided by the electronic cigarette is increased by 5mA, so that the brightness of the LED table lamp is increased. That is, the supply current required by the LED table lamp determined by the electronic cigarette to perform the brightness increase of the LED table lamp is 10 mA. The electronic cigarette outputs 10mA current to the LED table lamp through the protocol converter.
Optionally, the second control instruction may be further configured to trigger the target electrical device to execute a target operation corresponding to the second control instruction. The electronic cigarette can also send the second control instruction to the target electric equipment, so that the target electric equipment executes the target operation corresponding to the second control instruction.
Optionally, the second control instruction may further include related information of the target electric device, where the related information may include an identifier of the target electric device and/or information indicating a device type of the target electric device, where the device type may be, for example, a television, a fan, an electric drill, an electric fan, an infrared transmitter, and the like.
Optionally, before the target electrical device performs the target operation, related information included in the second control instruction is further obtained. And when the related information comprises the equipment identification and/or the equipment type of the target electric equipment, the target electric equipment executes the target operation again.
In one example, the obtaining, by the electronic device, the second control instruction may be further implemented by: collecting voice signals; determining target power utilization equipment and target power utilization operation according to the voice signal; and generating a second control instruction according to the target electricity utilization equipment and the target electricity utilization operation. For example, an application program on the electronic device may provide a voice button, and the user speaks the name of the target electric device and the target operation in the process of pressing the voice button; the electronic equipment carries out voice collection in the process of detecting an operation signal generated when the voice button is pressed, and analyzes the voice content of the collected voice signal. And extracting the name and the target operation of the target electric equipment in the voice content, and generating a second control instruction according to the name and the target operation of the target electric equipment.
Optionally, after acquiring the voice signal, the electronic device sends the acquired voice signal to the server; the server generates a second control instruction according to the voice signal, and sends the second control instruction to the electronic cigarette.
In one example, an infrared transmitter is further disposed on the electronic cigarette, the electronic cigarette transmits an infrared signal corresponding to a third control instruction by using the infrared transmitter, and the infrared signal is used for triggering a target electric device to execute a target operation corresponding to the third control instruction according to the infrared signal. The target electric equipment is electric equipment selected by a user on the electronic cigarette or the electronic equipment, the target operation is executable operation selected by the user on the electronic cigarette or the electronic equipment, and the third control instruction is generated according to the executable operation selected by the user and the target electric equipment.
For example, when the electronic cigarette receives a third control instruction generated according to the television of the target electric equipment and the target operation, the third control instruction is used for instructing the electronic cigarette to control the television to be turned on, and then the electronic cigarette can use the infrared transmitter to transmit an infrared signal for triggering the television to be turned on, so that the user can turn on the television by holding the electronic cigarette with the infrared transmitter.
Optionally, the electronic cigarette transmits the infrared signal corresponding to the third control instruction by using the infrared transmitter within a preset time after receiving the third control instruction. The preset duration can be set by a developer or customized by a user; the user can customize the electronic cigarette or the electronic equipment.
In one example, the electronic cigarette may further be connected to an infrared transmitter (i.e., a target electrical device) through a protocol converter, and when receiving a third control instruction, the electronic cigarette controls the infrared transmitter to transmit an infrared signal corresponding to the third control instruction. For example, the e-cigarette sends an infrared signal to switch television channels to a television set via an infrared transmitter.
As exemplified by the third control instruction for instructing the e-cigarette to control the television to turn on, the e-cigarette may use the ir emitter to emit an ir signal for triggering the television to turn on, so that the user may turn on the television by holding the e-cigarette with his hand to aim the ir emitter at the television.
It should be noted that, in the embodiment of the present invention, the electronic cigarette also has a voice function, and can also receive a power supply adjustment instruction in the form of a voice signal and a first control instruction in the form of a voice signal; and analyzing the power supply adjustment instruction and the first control instruction to obtain a power supply adjustment instruction and a first control instruction, and then executing corresponding operation.
The present invention also provides a control device, comprising: a memory and a processor; the memory having stored therein at least one program instruction; the processor, by loading and executing the at least one program instruction, implements the control method according to any of the above embodiments.
The invention also provides an electronic cigarette, which further comprises the control device.
The invention also provides a computer-readable storage medium, wherein one or more instructions are stored in the computer-readable storage medium, and when executed by a processor in the electronic cigarette, the one or more instructions implement the control method according to any of the above embodiments.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (8)

1. A control method of an electronic cigarette is characterized in that the electronic cigarette is connected with a target electric device through a protocol converter, the protocol converter is used for adapting the electronic cigarette with the target electric device and converting a communication protocol of the electronic cigarette with the communication protocol of the electric device, and the control method comprises the following steps:
acquiring a power supply adjusting instruction; the power supply adjusting instruction is generated by the electronic equipment according to a target operation selected by a user in the executable operations of the target electric equipment;
controlling the electronic cigarette to output electric energy to the target electric equipment through the protocol converter according to the power supply adjusting instruction;
the controlling the electronic cigarette to output the electric energy to the target electric equipment through the protocol converter according to the power supply adjusting instruction comprises:
acquiring safe use information of the target electric equipment, wherein the safe use information comprises at least one of a safe working voltage range, a safe working current range and a safe working power range;
controlling the electric energy output to the target electric equipment by the electronic cigarette through the protocol converter according to the power supply adjusting instruction and the safe use information;
the acquiring of the safe use information of the target electric equipment comprises:
acquiring equipment information of the target electric equipment, and acquiring safe use information of the target electric equipment from a server according to the equipment information, wherein the equipment information comprises at least one of an equipment identifier, an equipment type and an equipment name of the target electric equipment;
in the process of displaying the safe use information by the electronic equipment, when the operation for confirming the safe use information is detected, the displayed safe use information is sent to the electronic cigarette as the safe use information confirmed by the user.
2. The control method according to claim 1, wherein the controlling the electric power output by the electronic cigarette to the target electric device through the protocol converter according to the power supply adjustment instruction comprises:
acquiring a target power supply requirement in the power supply adjustment instruction, wherein the target power supply requirement comprises at least one of power supply current, power supply power and power supply voltage;
and outputting electric energy to the target electric equipment according to the target power supply requirement.
3. The control method according to claim 1, characterized by further comprising:
receiving a first control instruction, wherein the first control instruction comprises working parameters of target electric equipment;
and sending the first control instruction to the target electric equipment, wherein the first control instruction is used for triggering the target electric equipment to operate according to the working parameters.
4. The control method according to claim 1, characterized by further comprising:
receiving a second control instruction;
and controlling the electric energy output to the target electric equipment through the protocol converter according to the second control instruction, so that the target electric equipment executes the target operation corresponding to the second control instruction.
5. The control method according to any one of claims 1 to 4, wherein the obtaining of the power supply adjustment instruction includes:
receiving the power supply adjusting instruction sent by the electronic equipment, wherein the power supply adjusting instruction is generated by the electronic equipment according to the collected voice signal; or,
and receiving the power supply adjusting instruction sent by the server, wherein the power supply adjusting instruction is generated by the server according to the voice signal sent by the electronic equipment.
6. A control device, characterized in that the control device comprises:
a memory and a processor;
at least one program instruction is stored in the memory;
the processor, by loading and executing the at least one program instruction, implements the control method of the electronic cigarette of any one of claims 1 to 5.
7. A computer readable storage medium having one or more instructions stored therein, wherein the one or more instructions, when executed by a processor within an electronic cigarette, implement the method of controlling an electronic cigarette of any of claims 1-5.
8. An electronic cigarette, characterized in that the electronic cigarette comprises the control device of claim 6.
CN201711330176.3A 2017-12-13 2017-12-13 Electronic cigarette control method and control device and electronic cigarette Active CN108208937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711330176.3A CN108208937B (en) 2017-12-13 2017-12-13 Electronic cigarette control method and control device and electronic cigarette

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711330176.3A CN108208937B (en) 2017-12-13 2017-12-13 Electronic cigarette control method and control device and electronic cigarette

Publications (2)

Publication Number Publication Date
CN108208937A CN108208937A (en) 2018-06-29
CN108208937B true CN108208937B (en) 2021-06-25

Family

ID=62652143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711330176.3A Active CN108208937B (en) 2017-12-13 2017-12-13 Electronic cigarette control method and control device and electronic cigarette

Country Status (1)

Country Link
CN (1) CN108208937B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110664002B (en) * 2018-07-02 2022-07-12 常州市派腾电子技术服务有限公司 Cigarette cartridge, electronic cigarette and method and device for acquiring cigarette liquid amount

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1342941A (en) * 2000-09-08 2002-04-03 武汉太乙科技开发有限责任公司 Internal-based intelligent control center
CN1507307A (en) * 2002-12-11 2004-06-23 上海科星自动化技术有限公司 Illuminance adapting desk lamp
CN100594686C (en) * 2004-01-16 2010-03-17 深圳市鼎鑫源实业有限公司 Method and apparatus for realizing remote wireless monitoring via wireless network
CN101047671A (en) * 2006-03-31 2007-10-03 中国移动通信集团公司 Home gateway control system
KR20080016161A (en) * 2006-08-17 2008-02-21 주식회사 렉터슨 Home gateway device for integrated control of heterogeneous products in home network system using power line communication
US7961113B2 (en) * 2006-10-19 2011-06-14 Philips Solid-State Lighting Solutions, Inc. Networkable LED-based lighting fixtures and methods for powering and controlling same
CN1988489B (en) * 2006-11-30 2010-05-12 中国电信集团公司 Intelligent system and method for monitoring house
CN201555183U (en) * 2009-06-30 2010-08-18 黄火土 Light source adjusting device of desk lamp
CN102355390B (en) * 2011-08-16 2014-06-18 中国科学院电工研究所 Intelligent home system
CN202551442U (en) * 2012-04-01 2012-11-21 上海视莹电子科技有限公司 Remote-control light emitting diode (LED) desk lamp
CN103883922B (en) * 2012-12-21 2018-11-02 陈伟民 LED desk lamp
CN203897289U (en) * 2014-04-24 2014-10-29 张银虎 Electronic cigarette with function of portable power supply
CN105485561A (en) * 2015-12-09 2016-04-13 深圳市华士科技有限公司 Intelligent multi-functional LED (Light-Emitting Diode) table lamp
CN206462416U (en) * 2017-01-20 2017-09-05 常州市派腾电子技术服务有限公司 Electronic cigarette and its control system
CN106880084B (en) * 2017-03-27 2023-09-26 云南中烟工业有限责任公司 A smart electronic cigarette system based on wireless communication and its control method
CN107171914A (en) * 2017-07-20 2017-09-15 梧州井儿铺贸易有限公司 A kind of intelligent home device energy-saving safe control system

Also Published As

Publication number Publication date
CN108208937A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN113170000B (en) Equipment control method, device, system, electronic equipment and cloud server
US8904056B2 (en) Multi-host wireless input device
KR101351575B1 (en) System and method for data processing using earphone port
CN102208130A (en) Method for remotely controlling household appliances through remote controller and remote controller
WO2019078928A1 (en) Apparatus, system and method for using a universal controlling device for displaying a graphical user element in a display device
CN107948566B (en) Method and device for realizing plug-and-play screen transmission
TW201539391A (en) Bluetooth remote control system and related device
CN107948567B (en) USB wired screen transmission method and device
KR20200083144A (en) Wireless display
US10874011B1 (en) Communication interface for front panel and power module
CN111726661B (en) Program push playing method, display equipment, mobile terminal and system
CN107948565B (en) Method and device for realizing wired screen transmission
KR20090031140A (en) Image devices that can communicate with each other and a method of controlling the video devices
CN102957582A (en) Remote control system and method for electrical appliances
CN108208937B (en) Electronic cigarette control method and control device and electronic cigarette
CN113893123A (en) Massage data processing method and device, electronic equipment and storage medium
CN112947101A (en) Control method and device of household appliance
CN105911933B (en) A kind of radio station's remote controllers
CN103209252A (en) Universal remote control system
CN107834639B (en) Power supply method, power supply device, electronic cigarette and intelligent power supply
JP6152020B2 (en) Device and display system
JP2019179295A (en) Input support unit and input support system
JP2015207999A (en) Integrated system of infrared remote controller
WO2018188469A1 (en) Atomization circuit, atomization device, and control method for atomization circuit
TW201406081A (en) Remote controller device and controlling method thereof

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