Bluetooth-based electronic cigarette interaction method, device and equipment

By using low-cost Bluetooth technology in electronic cigarette devices to detect and establish communication connections, the high cost problems caused by existing NFC technology are solved, and the seamless interaction and user experience of electronic cigarette devices are achieved.

CN119653343AInactive Publication Date: 2025-03-18SHENZHEN TONGYUANXIN POWER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411971028.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-03-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When existing electronic cigarette equipment realizes interactive functions through NFC technology, it is necessary to have NFC functions and use of MCU and coils, resulting in high overall costs, which is not conducive to the popularization of product technology.

Method used

Low-cost Bluetooth technology is adopted to detect the Bluetooth broadcast signal strength of the second electronic cigarette, establish a communication connection, and detect the state change characteristics of the signal strength after the connection, and determine whether it matches the preset characteristics, thereby performing information interaction operations.

Benefits of technology

It realizes the interactive function of near-field communication through low-cost Bluetooth technology, reduces equipment costs, and supports seamless replacement of new and old e-cigarette devices, improving users' interactive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119653343A_ABST
    Figure CN119653343A_ABST
Patent Text Reader

Abstract

The invention discloses an electronic cigarette interaction method, device and equipment based on Bluetooth, and relates to the field of electronic cigarettes, and the method comprises the steps: detecting the corresponding broadcast signal intensity of a current second electronic cigarette during the first Bluetooth broadcast operation; establishing communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength; after the communication connection is established, detecting a state change condition of broadcast signal strength when the second electronic cigarette performs a second Bluetooth broadcast operation so as to obtain a corresponding target strength state change feature; judging whether the target intensity state change feature is consistent with a preset intensity state change feature or not to obtain a corresponding judgment result; and if the judgment result shows that the target intensity state change characteristic is consistent with the preset intensity state change characteristic, executing an information interaction operation with the second electronic cigarette. In this way, the near-field interaction function of the electronic cigarette can be achieved through the low-cost Bluetooth technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic cigarettes, and in particular to a method, device and equipment for electronic cigarette interaction based on Bluetooth. Background Art

[0002] With the growth of the market and the development of technology in the field of traditional e-cigarettes, consumers are no longer satisfied with the simple function of smoking. Bluetooth technology allows e-cigarette devices to connect with each other and expand interactive functions. For example, without complex configuration, a touch can achieve seamless replacement of old and new devices, continuing the user's usage habits. Another example is that through the touch function, different display lighting effects can be interactively transmitted between devices, increasing user experience and improving product stickiness.

[0003] At present, traditional e-cigarettes can interact based on the NFC (Near Field Communication) function. When two NFC devices are close to each other, the NFC chip and antenna in the device will sense and identify through near-field communication technology. NFC can establish a communication connection between devices within a very short distance. After the two NFC devices sense each other, they will pair and authenticate the devices. After the connection is established, the devices can communicate freely. However, the e-cigarettes that establish the connection need to have NFC function and need to be used with MCU (Microcontroller Unit) and coils, resulting in a high overall cost for each device, which is not conducive to the popularization of product technology.

[0004] In summary, how to realize the interactive function of near field communication through low-cost Bluetooth technology is a problem that needs to be solved urgently. Summary of the invention

[0005] In view of this, the purpose of the present invention is to provide a Bluetooth-based electronic cigarette interaction method, device, and equipment, which can realize the interactive function of near-field communication through low-cost Bluetooth technology. The specific scheme is as follows:

[0006] In a first aspect, the present application provides a Bluetooth-based electronic cigarette interaction method, which is applied to a first electronic cigarette, comprising:

[0007] Detecting the corresponding broadcast signal strength of the second electronic cigarette when performing the first Bluetooth broadcast operation;

[0008] Establishing a communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength;

[0009] After the communication connection is established, detecting a state change of the broadcast signal strength of the second electronic cigarette when performing a second Bluetooth broadcast operation, so as to obtain a corresponding target strength state change feature;

[0010] Determine whether the target intensity state change characteristic is consistent with the preset intensity state change characteristic to obtain a corresponding determination result;

[0011] If the judgment result indicates that the target intensity state change characteristic is consistent with the preset intensity state change characteristic, an information interaction operation with the second electronic cigarette is performed.

[0012] Optionally, the detecting the corresponding broadcast signal strength when the second electronic cigarette is currently performing the first Bluetooth broadcast operation includes:

[0013] Scan the broadcast signal strength of the broadcast packet currently sent by the second electronic cigarette, and detect whether the broadcast signal strength of the second electronic cigarette is greater than a preset signal strength threshold, so as to obtain the corresponding detection result;

[0014] Correspondingly, establishing a communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength includes:

[0015] If the detection result indicates that the current broadcast signal strength of the second electronic cigarette is greater than a preset signal strength threshold, a communication connection is established with the second electronic cigarette.

[0016] Optionally, the detecting a state change of the broadcast signal strength of the second electronic cigarette when performing a second Bluetooth broadcast operation includes:

[0017] Using stereo antennas to obtain the time difference of broadcast signal strength;

[0018] Determine the relative distance and direction to the second electronic cigarette by obtaining the time difference of the broadcast signal strength;

[0019] Detecting the state change of the broadcast signal strength of the second electronic cigarette according to the relative distance and direction to the second electronic cigarette to obtain a corresponding target strength state change feature;

[0020] Correspondingly, the preset intensity state change characteristic is an intensity state change characteristic corresponding to a predetermined change in the intensity of the broadcast signal generated when the electronic cigarette performs a preset target mechanical movement.

[0021] Optionally, the preset intensity state change characteristic includes a first preset intensity state change characteristic and a second preset intensity state change characteristic, wherein the preset target mechanical movement corresponding to the first preset intensity state change characteristic is a mechanical movement of making the electronic cigarette touch, and the preset target mechanical movement corresponding to the second preset intensity state change characteristic is a mechanical movement of making the electronic cigarette shake.

[0022] Optionally, the determining whether the target intensity state change characteristic is consistent with a preset intensity state change characteristic to obtain a corresponding determination result includes:

[0023] If the target strength state change characteristic is that the relative distance and direction vary far and near, and the broadcast signal strength and time are in a smooth linear relationship, it is determined that the target strength state change characteristic is consistent with the first preset strength state change characteristic.

[0024] If the target strength state change characteristic is that the relative distance and direction swing up and down relatively, it is determined that the target strength state change characteristic is consistent with the second preset strength state change characteristic.

[0025] Optionally, if the judgment result indicates that the target intensity state change characteristic is consistent with the preset intensity state change characteristic, then performing an information interaction operation with the second electronic cigarette includes:

[0026] If the judgment result indicates that the target intensity state change characteristic is consistent with the preset intensity state change characteristic, then obtaining the target device usage parameter transmitted by the second electronic cigarette, and using the target device usage parameter transmitted by the second electronic cigarette to update the local device usage parameter, so as to update the local device usage parameter to be consistent with the target device usage parameter;

[0027] The target device usage parameters include any one or more of the device usage time interval, the heating power of the device thermal resistance wire, and the heating time.

[0028] Optionally, if the judgment result indicates that the target intensity state change characteristic is consistent with the preset intensity state change characteristic, then performing an information interaction operation with the second electronic cigarette includes:

[0029] If the judgment result indicates that the target intensity state change characteristic is consistent with the preset intensity state change characteristic, the first device lighting effect information of the first electronic cigarette is sent to the second electronic cigarette, and the second device lighting effect information of the second electronic cigarette is obtained, so that the lighting effect information synchronization operation is performed between the first electronic cigarette and the second electronic cigarette.

[0030] In a second aspect, the present application provides a Bluetooth-based electronic cigarette interaction method, which is applied to a second electronic cigarette, comprising:

[0031] triggering a first Bluetooth broadcast operation so that when the first electronic cigarette detects the broadcast signal strength corresponding to the first Bluetooth broadcast operation, it establishes a communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength;

[0032] After the communication connection is established, the corresponding second Bluetooth broadcast operation is triggered based on the preset intensity state change characteristics, so that the first electronic cigarette performs an information interaction operation with the second electronic cigarette when it detects that the target intensity state change characteristics of the broadcast signal intensity corresponding to the second Bluetooth broadcast operation are consistent with the preset intensity state change characteristics.

[0033] In a third aspect, the present application provides a Bluetooth-based electronic cigarette interaction device, which is applied to a first electronic cigarette, including:

[0034] A signal strength detection module, used to detect the corresponding broadcast signal strength when the second electronic cigarette is currently performing the first Bluetooth broadcast operation;

[0035] A communication connection establishing module, used to establish a communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength;

[0036] An intensity state change detection module, used to detect the state change of the broadcast signal intensity of the second electronic cigarette when performing the second Bluetooth broadcast operation after the communication connection is established, so as to obtain the corresponding target intensity state change characteristics;

[0037] A feature judgment module is used to judge whether the target strength state change feature is consistent with the preset strength state change feature to obtain a corresponding judgment result;

[0038] The interactive execution module is used to execute the information interactive operation with the second electronic cigarette if the judgment result shows that the target intensity state change characteristic is consistent with the preset intensity state change characteristic.

[0039] In a fourth aspect, the present application provides an electronic device, including:

[0040] Memory, used to store computer programs;

[0041] The processor is used to execute the computer program to implement the aforementioned Bluetooth-based electronic cigarette interaction method.

[0042] In summary, the present application first detects the corresponding broadcast signal strength of the current second electronic cigarette when performing the first Bluetooth broadcast operation; establishes a communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength; after the communication connection is established, detects the state change of the broadcast signal strength of the second electronic cigarette when performing the second Bluetooth broadcast operation to obtain the corresponding target strength state change characteristics; judges whether the target strength state change characteristics are consistent with the preset strength state change characteristics to obtain the corresponding judgment result; if the judgment result shows that the target strength state change characteristics are consistent with the preset strength state change characteristics, then performs the information interaction operation with the second electronic cigarette. It can be seen that the present application first detects the broadcast signal strength of the first Bluetooth broadcast operation of the second electronic cigarette, establishes a communication connection according to the broadcast signal strength, and after the connection is established, detects the state change of the broadcast signal strength of the second Bluetooth broadcast operation to obtain the target strength state change characteristics, judges whether the characteristics are consistent with the preset strength state change characteristics, and if they are consistent, performs the information interaction operation with the second electronic cigarette. In this way, the interactive function of near-field communication can be realized through low-cost Bluetooth technology, and the seamless replacement of old and new electronic cigarette devices can be realized, which enhances the interactive experience of electronic cigarette users. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0044] Figure 1 A flowchart of a Bluetooth-based electronic cigarette interaction method applied to a first electronic cigarette disclosed in the present invention;

[0045] Figure 2 A schematic diagram of a specific Bluetooth device connection process disclosed in the present invention;

[0046] Figure 3 A schematic diagram of a specific process of switching between old and new electronic cigarette devices disclosed in the present invention;

[0047] Figure 4 A schematic diagram of a specific electronic cigarette lighting effect synchronization process disclosed in the present invention;

[0048] Figure 5 This is a flow chart of a virtual machine data migration method applied to a second electronic cigarette disclosed in the present invention;

[0049] Figure 6It is a schematic structural diagram of a Bluetooth-based electronic cigarette interaction device applied to a first electronic cigarette disclosed in the present invention;

[0050] Figure 7 The present invention is a structural diagram of an electronic device disclosed in the present invention. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] At present, traditional electronic cigarettes can interact based on the NFC (Near Field Communication) function. When two NFC devices are close to each other, the NFC chip and antenna in the device will be sensed and identified through near-field communication technology. NFC can establish a communication connection between devices within a very short distance. After the two NFC devices sense each other, they will perform device pairing and identity authentication. After the connection is established, the devices can interact and communicate freely. However, the electronic cigarette that establishes the connection needs to have NFC function, and needs to be used in conjunction with MCU and coil, resulting in a relatively high overall cost of each device, which is not conducive to the popularization of product technology. In this way, the present application provides a Bluetooth-based electronic cigarette interaction method, device, and equipment, which can realize the interactive function of near-field communication through low-cost Bluetooth technology.

[0053] See also Figure 1 As shown, the embodiment of the present invention discloses a Bluetooth-based electronic cigarette interaction method, which is applied to a first electronic cigarette, including:

[0054] Step S11: detecting the corresponding broadcast signal strength of the second electronic cigarette when performing the first Bluetooth broadcast operation.

[0055] In this embodiment, firstly, according to the factory unique identification code carried by the device Bluetooth chip OMW352x, the first electronic cigarette in the scanning and receiving packet cycle and the second electronic cigarette in the broadcast packet sending cycle are determined according to the factory unique identification code of the Bluetooth chip. When the first electronic cigarette is close to the second electronic cigarette, the broadcast signal strength of the broadcast packet currently sent by the second electronic cigarette can be scanned to detect whether the current broadcast signal strength of the second electronic cigarette is greater than the preset signal strength threshold to obtain the corresponding detection result. Specifically, when the first electronic cigarette is close to the second electronic cigarette, the first electronic cigarette will scan the RSSI (Received Signal Strength Indication) emitted by the second electronic cigarette in the air. When the RSSI of the detected second electronic cigarette is greater than the preset signal strength threshold, the first electronic cigarette will think that the second electronic cigarette is in a close range.

[0056] Step S12: establishing a communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength.

[0057] In this embodiment, Figure 2 As shown, after detecting the broadcast signal strength of BLE (Bluetooth), if the detection result indicates that the current broadcast signal strength of the second electronic cigarette is greater than the preset signal strength threshold, a communication connection is established with the second electronic cigarette. Specifically, when the broadcast signal strength is greater than the preset signal strength threshold, for example, when the RSSI of the detected second electronic cigarette is greater than -10db, the first electronic cigarette considers that the second electronic cigarette is within a close range, and the first electronic cigarette starts to automatically connect to the second electronic cigarette until a communication connection is established with the second electronic cigarette.

[0058] Step S13: After the communication connection is established, detecting the state change of the broadcast signal strength of the second electronic cigarette when performing the second Bluetooth broadcast operation to obtain the corresponding target strength state change characteristics.

[0059] In this embodiment, after the first electronic cigarette establishes a communication connection with the second electronic cigarette, the RSSI of the second electronic cigarette during the second Bluetooth broadcast operation is detected, and the time difference of the broadcast signal strength can be obtained by using a stereo antenna; the relative distance and direction from the second electronic cigarette are determined by the obtained time difference of the broadcast signal strength; the state change of the broadcast signal strength of the second electronic cigarette is detected according to the relative distance and direction from the second electronic cigarette to obtain the corresponding target strength state change characteristics; accordingly, the preset strength state change characteristics are the strength state change characteristics corresponding to the change of the broadcast signal strength generated by the predetermined electronic cigarette when performing the preset target mechanical movement. Specifically, the time difference of RSSI is first obtained by using a stereo antenna, and then the relative distance and direction between the first electronic cigarette and the second electronic cigarette are calculated by using the obtained broadcast signal strength time difference, and then the state change of the RSSI of the second electronic cigarette is detected according to the relative distance and direction between the first electronic cigarette and the second electronic cigarette, so as to obtain the corresponding target strength state change characteristics. It should be noted that the preset intensity state change characteristic here is the intensity state change characteristic corresponding to the RSSI change generated when the electronic cigarette performs the preset target mechanical movement. By comparing the target intensity state change characteristic with the preset intensity state change characteristic, the movement state of the second electronic cigarette and other related conditions can be judged, so as to subsequently decide whether to execute information interaction operations with the second electronic cigarette.

[0060] It can be understood that the preset intensity state change feature includes a first preset intensity state change feature and a second preset intensity state change feature, wherein the preset target mechanical movement corresponding to the first preset intensity state change feature is a mechanical movement of making the electronic cigarette touch, and the preset target mechanical movement corresponding to the second preset intensity state change feature is a mechanical movement of making the electronic cigarette shake. It can be known that there are two preset intensity state change features in this embodiment, namely the first preset intensity state change feature and the second preset intensity state change feature. When the electronic cigarette performs a mechanical movement of touching, a corresponding first preset intensity state change feature will be generated; and when the electronic cigarette performs a mechanical movement of shaking, a corresponding second preset intensity state change feature will be generated. These preset intensity state change features can be used as a basis for judging whether the second electronic cigarette has performed a specific mechanical movement. After detecting the target intensity state change feature of the second electronic cigarette, it is compared with the first preset intensity state change feature and the second preset intensity state change feature respectively, so as to determine whether the second electronic cigarette has a touch or shake action, and then determine whether and how to perform the subsequent information interaction operation with the second electronic cigarette.

[0061] Step S14: determine whether the target intensity state change characteristic is consistent with the preset intensity state change characteristic to obtain a corresponding determination result.

[0062] In this embodiment, a comparison analysis is performed on the acquired target intensity state change characteristics and the preset intensity state change characteristics to check whether the target intensity state change characteristics are consistent with the preset intensity state change characteristics. Through such a judgment process, a corresponding judgment result is obtained, and related behaviors such as information interaction operations between the first electronic cigarette and the second electronic cigarette are executed according to the judgment result.

[0063] In a specific embodiment, if the target intensity state change characteristic is that the relative distance and direction have a far change, and the broadcast signal strength and time are in a smooth linear relationship, then the target intensity state change characteristic is determined to be consistent with the first preset intensity state change characteristic. Specifically, when it is detected that the second electronic cigarette is performing a related Bluetooth broadcast operation, the relative distance and direction corresponding to its broadcast signal strength show regular alternating changes in distance. For example, within a certain time period, the relative distance first gradually becomes closer, and then gradually becomes farther, and at the same time, the broadcast signal strength shows a stable smooth linear change trend over time. When these two key conditions are met, it is determined that the target intensity state change characteristic matches the first preset intensity state change characteristic set for the electronic cigarette to perform a touch mechanical movement, and then the specific direction of the subsequent information interaction operation with the second electronic cigarette can be determined based on this judgment result, such as whether to trigger specific information transmission, interactive instructions or function startup and other related processes.

[0064] In another specific embodiment, if the target intensity state change characteristic is a relative up and down swing of the relative distance and direction, it is determined that the target intensity state change characteristic is consistent with the second preset intensity state change characteristic. Specifically, if it is found that the relative distance and direction of the second electronic cigarette and the first electronic cigarette show a relative up and down swinging trend. For example, within a certain period of time, the relative distance between the electric instrument electronic cigarette and the second electronic cigarette shows an obvious up and down change characteristic in the vertical direction, and this up and down swing has a certain periodicity or regularity. When such a target intensity state change characteristic is detected, it can be determined that the target intensity state change characteristic is consistent with the second preset intensity state change characteristic of the corresponding electronic cigarette performing a shake mechanical movement. Based on this determination result, the subsequent operation process can be further determined.

[0065] Step S15: If the judgment result indicates that the target intensity state change characteristic is consistent with the preset intensity state change characteristic, then an information interaction operation with the second electronic cigarette is performed.

[0066] In this embodiment, the judgment result shows that the target intensity state change characteristics are consistent with the preset intensity state change characteristics, which means that the relevant state of the second electronic cigarette meets the expected setting. At this time, the information interaction operation between the first electronic cigarette and the second electronic cigarette is performed to achieve effective information communication and interaction between the two and meet the corresponding functional requirements.

[0067] In a specific embodiment, Figure 3 As shown, if the judgment result shows that the target intensity state change characteristics are consistent with the preset intensity state change characteristics, the target device usage parameters transmitted by the second electronic cigarette are obtained, and the local device usage parameters are updated using the target device usage parameters transmitted by the second electronic cigarette, so as to update the local device usage parameters to be consistent with the target device usage parameters; wherein the target device usage parameters include any one or more of the device usage time interval, the heating power of the device thermal resistance wire, and the heating time. Specifically, when the judgment result obtained clearly shows that the target intensity state change characteristics are consistent with the first preset intensity state change characteristics, the first electronic cigarette will trigger the corresponding information interaction process to obtain the target device usage parameters transmitted by the second electronic cigarette. These target device usage parameters may include the device usage time interval, the heating power of the device thermal resistance wire, the heating time, etc. After obtaining these target device usage parameters, the corresponding device usage parameters stored locally in the first electronic cigarette are replaced or adjusted according to the target device usage parameters, so that the local device usage parameters of the first electronic cigarette are consistent with the target device usage parameters of the second electronic cigarette. This enables the first electronic cigarette to achieve coordination and consistency with the second electronic cigarette in terms of overall performance and usage experience, and improves the convenience and continuity of users in multi-device usage scenarios.

[0068] In another specific embodiment, Figure 4As shown, if the judgment result shows that the target intensity state change characteristics are consistent with the preset intensity state change characteristics, the first device lighting effect information of the first electronic cigarette is sent to the second electronic cigarette, and the second device lighting effect information of the second electronic cigarette is obtained, so that the first electronic cigarette and the second electronic cigarette can perform lighting effect information synchronization operation. Specifically, when it is determined that the target intensity state change characteristics are consistent with the second preset intensity state change characteristics, the corresponding lighting effect information interaction process will be started. Then, the first electronic cigarette will send its first device lighting effect information to the second electronic cigarette. The first device lighting effect information here covers many aspects, such as the color type of lighting effect, such as the setting of different colors such as red, blue, and green; the flashing mode of the lighting effect, whether it is always on, flashing, or gradual flashing, etc.; and the flashing frequency of the lighting effect, such as flashing 2 times or 5 times per second and other specific frequency values. The first electronic cigarette packages these detailed lighting effect related information and sends them to the second electronic cigarette. Subsequently, after receiving the first device lighting effect information sent by the first electronic cigarette, the second electronic cigarette will feedback its own second device lighting effect information. The lighting effect information of the second device also includes specific settings about the lighting effect color, flashing mode, and flashing frequency. Finally, the first electronic cigarette and the second electronic cigarette carry out the lighting effect information synchronization operation by exchanging the lighting effect information obtained from each other. Through this synchronization operation, the two can achieve consistency in lighting effect performance, such as keeping synchronization in color, flashing mode, and frequency, creating a unified and coordinated visual effect, and improving the overall user experience and aesthetics.

[0069] In summary, the embodiment of the present application first detects the corresponding broadcast signal strength of the current second electronic cigarette when performing the first Bluetooth broadcast operation; establishes a communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength; after the communication connection is established, detects the state change of the broadcast signal strength of the second electronic cigarette when performing the second Bluetooth broadcast operation to obtain the corresponding target strength state change characteristics; judges whether the target strength state change characteristics are consistent with the preset strength state change characteristics to obtain the corresponding judgment result; if the judgment result shows that the target strength state change characteristics are consistent with the preset strength state change characteristics, then executes the information interaction operation with the second electronic cigarette. It can be seen that the embodiment of the present application first detects the broadcast signal strength of the first Bluetooth broadcast operation of the second electronic cigarette, establishes a communication connection according to the broadcast signal strength, and after the connection is established, detects the state change of the broadcast signal strength of the second Bluetooth broadcast operation to obtain the target strength state change characteristics, judges whether the characteristics are consistent with the preset strength state change characteristics, and if they are consistent, executes the information interaction operation with the second electronic cigarette. In this way, the interactive function of near-field communication can be realized through low-cost Bluetooth technology, and the seamless replacement of new and old electronic cigarette devices can also be realized, which enhances the interactive experience of electronic cigarette users.

[0070] See also Figure 5 As shown, the embodiment of the present invention discloses a Bluetooth-based electronic cigarette interaction method, which is applied to a second electronic cigarette, including:

[0071] Step S21, triggering a first Bluetooth broadcast operation, so that when the first electronic cigarette detects the broadcast signal strength corresponding to the first Bluetooth broadcast operation, it establishes a communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength.

[0072] In this embodiment, when the first Bluetooth broadcast operation is performed, the second electronic cigarette will start the first Bluetooth broadcast operation. Once this operation is turned on, the second electronic cigarette will send a Bluetooth broadcast signal to the outside. During the signal propagation process, the first electronic cigarette itself will detect the broadcast signal strength corresponding to the first Bluetooth broadcast operation of the second electronic cigarette. Subsequently, the first electronic cigarette will determine the feasibility of establishing a communication connection with the second electronic cigarette based on the result of the detected broadcast signal strength. If the detected broadcast signal strength is greater than the preset signal strength threshold, the first electronic cigarette will determine that the current signal conditions are suitable for establishing a connection with the second electronic cigarette. At this time, the first electronic cigarette will automatically connect to the second electronic cigarette and successfully establish a communication connection between the first electronic cigarette and the second electronic cigarette.

[0073] Step S22: After the communication connection is established, a corresponding second Bluetooth broadcast operation is triggered based on a preset intensity state change characteristic, so that when the first electronic cigarette detects that the target intensity state change characteristic of the broadcast signal intensity corresponding to the second Bluetooth broadcast operation is consistent with the preset intensity state change characteristic, it performs an information interaction operation with the second electronic cigarette.

[0074] In this embodiment, after establishing the communication connection between the first electronic cigarette and the second electronic cigarette, the corresponding second Bluetooth broadcast operation will be performed according to the preset intensity state change characteristics. When the second Bluetooth broadcast operation is triggered, the first electronic cigarette begins to detect the intensity of the broadcast signal, thereby obtaining the target intensity state change characteristics, and then the first electronic cigarette will carefully compare and verify the target intensity state change characteristics with the preset intensity state change characteristics. If the two match each other, the information interaction operation between the first electronic cigarette and the second electronic cigarette is performed. For example, by judging whether the target intensity state change characteristics between the first electronic cigarette and the second electronic cigarette match the first preset intensity state change characteristics set by the touch mechanical movement, if they match, the local device usage parameters of the first electronic cigarette are consistent with the target device usage parameters of the second electronic cigarette; by judging whether the target intensity state change characteristics between the first electronic cigarette and the second electronic cigarette are consistent with the second preset intensity state change characteristics of the shake mechanical movement, if they match, the corresponding lighting effect information interaction process is started.

[0075] In summary, the embodiment of the present application first triggers the first Bluetooth broadcast operation, so that the first electronic cigarette establishes a communication connection with the second electronic cigarette based on the result of detecting the broadcast signal strength corresponding to the operation. After the communication connection is established, the second Bluetooth broadcast operation is triggered based on the preset strength state change characteristics, so that the first electronic cigarette performs the information interaction operation with the second electronic cigarette when the target strength state change characteristics of the corresponding broadcast signal strength are detected to meet the preset conditions. In this way, the communication and information interaction between the first electronic cigarette and the second electronic cigarette are realized, and the overall experience and convenience of using electronic cigarettes are improved.

[0076] See also Figure 6 As shown, the embodiment of the present invention discloses a Bluetooth-based electronic cigarette interaction device, which is applied to a first electronic cigarette, including:

[0077] The signal strength detection module 11 is used to detect the corresponding broadcast signal strength of the second electronic cigarette when performing the first Bluetooth broadcast operation;

[0078] A communication connection establishing module 12, used to establish a communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength;

[0079] The strength state change detection module 13 is used to detect the state change of the broadcast signal strength of the second electronic cigarette when performing the second Bluetooth broadcast operation after the communication connection is established, so as to obtain the corresponding target strength state change characteristics;

[0080] The feature judgment module 14 is used to judge whether the target strength state change feature is consistent with the preset strength state change feature to obtain a corresponding judgment result;

[0081] The interactive execution module 15 is used to execute the information interactive operation with the second electronic cigarette if the judgment result shows that the target intensity state change characteristic is consistent with the preset intensity state change characteristic.

[0082] In summary, the present application first detects the corresponding broadcast signal strength of the current second electronic cigarette when performing the first Bluetooth broadcast operation; establishes a communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength; after the communication connection is established, detects the state change of the broadcast signal strength of the second electronic cigarette when performing the second Bluetooth broadcast operation to obtain the corresponding target strength state change characteristics; judges whether the target strength state change characteristics are consistent with the preset strength state change characteristics to obtain the corresponding judgment result; if the judgment result shows that the target strength state change characteristics are consistent with the preset strength state change characteristics, then performs the information interaction operation with the second electronic cigarette. It can be seen that the present application first detects the broadcast signal strength of the first Bluetooth broadcast operation of the second electronic cigarette, establishes a communication connection according to the broadcast signal strength, and after the connection is established, detects the state change of the broadcast signal strength of the second Bluetooth broadcast operation to obtain the target strength state change characteristics, judges whether the characteristics are consistent with the preset strength state change characteristics, and if they are consistent, performs the information interaction operation with the second electronic cigarette. In this way, the interactive function of near-field communication can be realized through low-cost Bluetooth technology, and the seamless replacement of old and new electronic cigarette devices can be realized, which enhances the interactive experience of electronic cigarette users.

[0083] In some specific embodiments, the signal strength detection module 11 may specifically include:

[0084] A detection result acquisition unit, used to scan the broadcast signal strength of the broadcast packet currently sent by the second electronic cigarette, and detect whether the broadcast signal strength of the second electronic cigarette is greater than a preset signal strength threshold, so as to obtain the corresponding detection result;

[0085] Accordingly, the communication connection establishing module 12 may specifically include:

[0086] A communication connection establishing unit is configured to establish a communication connection with the second electronic cigarette if the detection result indicates that the current broadcast signal strength of the second electronic cigarette is greater than a preset signal strength threshold.

[0087] In some specific embodiments, the strength state change detection module 13 may specifically include:

[0088] A time difference acquisition unit, used to acquire the time difference of the broadcast signal strength using a stereo antenna;

[0089] A relative distance and direction determining unit, used to determine the relative distance and direction to the second electronic cigarette by obtaining the time difference of the broadcast signal strength;

[0090] A target intensity state change characteristic acquisition unit is used to detect the state change of the broadcast signal intensity of the second electronic cigarette according to the relative distance and direction to the second electronic cigarette, so as to obtain the corresponding target intensity state change characteristic; accordingly, the preset intensity state change characteristic is an intensity state change characteristic corresponding to the change in broadcast signal intensity generated by the predetermined electronic cigarette when performing a preset target mechanical movement.

[0091] In some specific embodiments, the feature determination module 14 may specifically include:

[0092] a first feature determination unit, configured to determine that the target strength state change feature is consistent with the first preset strength state change feature if the target strength state change feature is that the relative distance and direction have a far change, and the broadcast signal strength and time are in a smooth linear relationship;

[0093] The second feature determination unit is used to determine whether the target strength state change characteristic is consistent with the second preset strength state change characteristic if the target strength state change characteristic is the relative up and down swing of the relative distance and direction.

[0094] In some specific embodiments, the interaction execution module 15 may specifically include:

[0095] A device usage parameter updating unit is used to obtain the target device usage parameters transmitted by the second electronic cigarette if the judgment result indicates that the target intensity state change characteristics are consistent with the preset intensity state change characteristics, and use the target device usage parameters transmitted by the second electronic cigarette to update the local device usage parameters, so as to update the local device usage parameters to be consistent with the target device usage parameters; wherein the target device usage parameters include any one or more of the device usage time interval, the heating power of the device thermal resistance wire, and the heating time.

[0096] In some specific embodiments, the interaction execution module 15 may specifically include:

[0097] A lighting effect information synchronization unit is used to send its own first device lighting effect information to the second electronic cigarette and obtain the second device lighting effect information of the second electronic cigarette if the judgment result shows that the target intensity state change characteristic is consistent with the preset intensity state change characteristic, so as to perform lighting effect information synchronization operation between the first electronic cigarette and the second electronic cigarette.

[0098] Furthermore, the present application also discloses an electronic device. Figure 7 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be considered as any limitation on the scope of use of the present application.

[0099] Figure 7 The structural diagram of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the Bluetooth-based electronic cigarette interaction method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0100] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0101] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0102] The operating system 221 is used to manage and control the hardware devices and computer program 222 on the electronic device 20, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the Bluetooth-based electronic cigarette interaction method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0103] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned disclosed Bluetooth-based electronic cigarette interaction method is implemented. The specific steps of the method can refer to the corresponding contents disclosed in the aforementioned embodiments, and will not be repeated here.

[0104] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0105] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0106] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0107] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0108] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A Bluetooth-based electronic cigarette interaction method, characterized in that: Applied to the first electronic cigarette, including: Detecting the corresponding broadcast signal strength of the second electronic cigarette when performing the first Bluetooth broadcast operation; Establishing a communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength; After the communication connection is established, detecting a state change of the broadcast signal strength of the second electronic cigarette when performing a second Bluetooth broadcast operation, so as to obtain a corresponding target strength state change feature; Determine whether the target intensity state change characteristic is consistent with the preset intensity state change characteristic to obtain a corresponding determination result; If the judgment result indicates that the target intensity state change characteristic is consistent with the preset intensity state change characteristic, an information interaction operation with the second electronic cigarette is performed.

2. The Bluetooth-based electronic cigarette interaction method according to claim 1, characterized in that: The detecting the corresponding broadcast signal strength of the second electronic cigarette when performing the first Bluetooth broadcast operation includes: Scan the broadcast signal strength of the broadcast packet currently sent by the second electronic cigarette, and detect whether the broadcast signal strength of the second electronic cigarette is greater than a preset signal strength threshold, so as to obtain the corresponding detection result; Correspondingly, establishing a communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength includes: If the detection result indicates that the current broadcast signal strength of the second electronic cigarette is greater than a preset signal strength threshold, a communication connection is established with the second electronic cigarette.

3. The Bluetooth-based electronic cigarette interaction method according to claim 1, characterized in that: The detecting the state change of the broadcast signal strength of the second electronic cigarette when performing the second Bluetooth broadcast operation includes: Using stereo antennas to obtain the time difference of broadcast signal strength; Determine the relative distance and direction to the second electronic cigarette by obtaining the time difference of the broadcast signal strength; Detecting the state change of the broadcast signal strength of the second electronic cigarette according to the relative distance and direction to the second electronic cigarette to obtain a corresponding target strength state change feature; Correspondingly, the preset intensity state change characteristic is an intensity state change characteristic corresponding to a predetermined change in the intensity of the broadcast signal generated when the electronic cigarette performs a preset target mechanical movement.

4. The Bluetooth-based electronic cigarette interaction method according to claim 3, characterized in that: The preset intensity state change characteristic includes a first preset intensity state change characteristic and a second preset intensity state change characteristic, wherein the preset target mechanical movement corresponding to the first preset intensity state change characteristic is a mechanical movement of making the electronic cigarette perform a bump, and the preset target mechanical movement corresponding to the second preset intensity state change characteristic is a mechanical movement of making the electronic cigarette perform a shake.

5. The Bluetooth-based electronic cigarette interaction method according to claim 4, characterized in that: The determining whether the target intensity state change characteristic is consistent with the preset intensity state change characteristic to obtain a corresponding determination result includes: If the target strength state change characteristic is that the relative distance and direction vary far and near, and the broadcast signal strength and time are in a smooth linear relationship, then it is determined that the target strength state change characteristic is consistent with the first preset strength state change characteristic; If the target strength state change characteristic is that the relative distance and direction swing up and down relatively, it is determined that the target strength state change characteristic is consistent with the second preset strength state change characteristic.

6. The Bluetooth-based electronic cigarette interaction method according to any one of claims 1 to 5, characterized in that: If the judgment result shows that the target intensity state change characteristic is consistent with the preset intensity state change characteristic, then performing an information interaction operation with the second electronic cigarette includes: If the judgment result indicates that the target intensity state change characteristic is consistent with the preset intensity state change characteristic, then obtaining the target device usage parameter transmitted by the second electronic cigarette, and using the target device usage parameter transmitted by the second electronic cigarette to update the local device usage parameter, so as to update the local device usage parameter to be consistent with the target device usage parameter; The target device usage parameters include any one or more of the device usage time interval, the heating power of the device thermal resistance wire, and the heating time.

7. The Bluetooth-based electronic cigarette interaction method according to any one of claims 1 to 5, characterized in that: If the judgment result shows that the target intensity state change characteristic is consistent with the preset intensity state change characteristic, then performing an information interaction operation with the second electronic cigarette includes: If the judgment result indicates that the target intensity state change characteristic is consistent with the preset intensity state change characteristic, the first device lighting effect information of the first electronic cigarette is sent to the second electronic cigarette, and the second device lighting effect information of the second electronic cigarette is obtained, so that the lighting effect information synchronization operation is performed between the first electronic cigarette and the second electronic cigarette.

8. A Bluetooth-based electronic cigarette interaction method, characterized in that: Applied to the second electronic cigarette, including: triggering a first Bluetooth broadcast operation so that when the first electronic cigarette detects the broadcast signal strength corresponding to the first Bluetooth broadcast operation, it establishes a communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength; After the communication connection is established, the corresponding second Bluetooth broadcast operation is triggered based on the preset intensity state change characteristics, so that the first electronic cigarette performs an information interaction operation with the second electronic cigarette when it detects that the target intensity state change characteristics of the broadcast signal intensity corresponding to the second Bluetooth broadcast operation are consistent with the preset intensity state change characteristics.

9. A Bluetooth-based electronic cigarette interactive device, characterized in that: Applied to the first electronic cigarette, including: A signal strength detection module, used to detect the corresponding broadcast signal strength when the second electronic cigarette is currently performing the first Bluetooth broadcast operation; A communication connection establishing module, used to establish a communication connection with the second electronic cigarette according to the detection result of the broadcast signal strength; An intensity state change detection module, used to detect the state change of the broadcast signal intensity of the second electronic cigarette when performing the second Bluetooth broadcast operation after the communication connection is established, so as to obtain the corresponding target intensity state change characteristics; A feature judgment module is used to judge whether the target strength state change feature is consistent with the preset strength state change feature to obtain a corresponding judgment result; The interactive execution module is used to execute the information interactive operation with the second electronic cigarette if the judgment result shows that the target intensity state change characteristic is consistent with the preset intensity state change characteristic.

10. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the Bluetooth-based electronic cigarette interaction method according to any one of claims 1 to 8.