Interaction control method, electronic atomization equipment, electronic equipment and program product
By establishing a near-field induction connection between the electronic atomization device and other devices, analyzing the interactive signals and making logical judgments, the problem of inability to interact between the electronic atomization devices is solved, and the interaction between the devices and user experience is improved.
Patent Information
- Application Number
- CN202411784810.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-04-22
AI Technical Summary
In the prior art, electronic atomization equipment, or electronic atomization equipment and other equipment cannot interact, and it is difficult to meet the user's interaction needs for equipment.
By establishing a near-field induction connection between the electronic atomization device and other electronic devices, obtaining interactive signals, analyzing the signals to obtain interactive command information, and making logical judgments based on local device information and interactive command information, generating interactive operation information, and dynamically displaying it on the human-computer interactive interface.
The interaction between electronic atomization equipment and between electronic atomization equipment and other equipment is realized, the user experience is improved, and the user's diverse interaction needs are met.
Smart Images

Figure CN119865787A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of device interactive control, and more specifically, to an interactive control method, an electronic atomization device, an electronic device and a program product. Background Art
[0002] At present, electronic atomization devices have made some progress in human-computer interaction, such as realizing human-computer interaction through display screens or light displays. However, there is no interaction between electronic atomization devices, or between electronic atomization devices and other devices, making it difficult to meet users' needs for interaction between devices.
[0003] With the development of technology and the growth of user social needs, the lack of interactive functions between devices has become a key limiting factor in expanding the user experience of electronic vaping devices. For example, it is difficult for users to easily share settings, initiate battles, and other interactive operations between electronic vaping devices. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide an interactive control method, an electronic atomization device, an electronic device and a program product, aiming to solve the technical problem in the prior art that electronic atomization devices cannot interact with each other, or between electronic atomization devices and other devices.
[0005] To achieve the above purpose, according to the first aspect of the present application, an interactive control method is provided, which is applied to an electronic atomization device, and the method includes:
[0006] After establishing a near-field induction connection between the electronic atomization device and any other electronic device, obtaining an interactive signal output by the other electronic device;
[0007] parsing the interaction signal to obtain interaction instruction information;
[0008] Performing logical judgment based on the local device information of the electronic atomization device and the interactive instruction information to obtain interactive operation information, wherein the interactive operation information includes at least one of the following: interactive scene, interactive mode, interactive state, interactive duration, and interactive prompt;
[0009] The interactive operation information is displayed in a dynamic effect image style on the human-computer interaction interface of the electronic atomization device.
[0010] Optionally, in a possible implementation manner of the first aspect, the method further includes:
[0011] Detecting the sensing distance value between the electronic atomization device and any other electronic device, wherein the electronic atomization device and the other electronic device are both provided with: a near field communication module and an antenna used in conjunction with the near field communication module;
[0012] In response to detecting that the sensing distance value is less than a preset distance threshold, a near-field induction connection is established between the electronic atomization device and the other electronic device.
[0013] Optionally, in a possible implementation manner of the first aspect, detecting a sensing distance value between the electronic atomization device and any other electronic device includes:
[0014] The sensing distance value between the electronic atomization device and any other electronic device is detected through the near field communication module in the electronic atomization device, wherein the near field communication module includes: a Bluetooth communication module and / or an NFC communication module.
[0015] Optionally, in a possible implementation manner of the first aspect, the parsing the interaction signal to obtain the interaction instruction information includes:
[0016] Acquire data content carried in the interactive signal, wherein the data content includes: a header identifier, instruction content, and a verification part;
[0017] The data content is parsed according to a preset interaction protocol and a preset encoding rule to obtain the interaction instruction information, wherein the preset interaction protocol specifies the encoding method of the header identifier corresponding to different types of interaction signals, and the preset encoding rule specifies the specific encoding format of each parameter in the instruction content.
[0018] Optionally, in a possible implementation manner of the first aspect, the method further includes obtaining local device information of the electronic atomization device in at least one of the following ways:
[0019] Obtaining the current power value of the electronic atomization device through the power sensor of the electronic atomization device;
[0020] Obtaining the current atomization parameters of the electronic atomization device through the storage setting module of the electronic atomization device, wherein the current atomization parameters include at least one of the following: atomization concentration, atomization flavor, and atomization duration;
[0021] The current operating state of the electronic atomization device is obtained through the state monitoring module of the electronic atomization device, and the current operating state includes at least one of the following: normal operating state, abnormal operating state, and firmware upgrade in progress.
[0022] Optionally, in a possible implementation manner of the first aspect, performing logical judgment according to the local device information of the electronic atomization device and the interactive instruction information to obtain the interactive operation information includes:
[0023] Acquire a logic judgment rule corresponding to the interaction instruction information, wherein the logic judgment rule is pre-set based on the application scenario and interaction function of the electronic atomization device;
[0024] Performing logical judgment on the local device information and the interactive instruction information according to the logical judgment rule to obtain interactive operation content and interactive operation sequence;
[0025] The interactive operation information is obtained according to the interactive operation content and the interactive operation sequence.
[0026] Optionally, in a possible implementation manner of the first aspect, the acquiring the interaction signal output by the other electronic device includes:
[0027] The interactive signal output by the other electronic device is obtained according to the preset signal receiving frequency and bandwidth through the signal receiving circuit connected to the near field communication module in the electronic atomization device.
[0028] Optionally, in a possible implementation manner of the first aspect, detecting a sensing distance value between the electronic atomization device and any other electronic device includes:
[0029] If the sensing distance fluctuation value between the electronic atomization device and any other electronic device is detected to be greater than a preset fluctuation threshold value for multiple consecutive times, the distance detection is suspended, and the near field communication module is self-checked and signal calibrated;
[0030] After the near field communication module is self-checked and signal calibrated, the distance detection is restarted until the sensing distance value is detected.
[0031] According to a second aspect of the present application, an electronic atomization device is provided, the device comprising:
[0032] An acquisition module, used to acquire an interactive signal output by any other electronic device after establishing a near-field induction connection between the electronic atomization device and the other electronic device;
[0033] A parsing module, used for parsing the interaction signal to obtain interaction instruction information;
[0034] A logic judgment module, used for performing logic judgment according to the local device information of the electronic atomization device and the interaction instruction information to obtain interaction operation information, wherein the interaction operation information includes at least one of the following: interaction scene, interaction mode, interaction state, interaction duration, and interaction prompt;
[0035] The display module is used to display the interactive operation information in the form of dynamic effect images on the human-computer interaction interface of the electronic atomization device.
[0036] Optionally, in a possible implementation of the first aspect, the electronic atomization device further includes:
[0037] A near-field communication module is used to detect the sensing distance value between the electronic atomization device and any other electronic device; and in response to detecting that the sensing distance value is less than a preset distance threshold, establish a near-field induction connection between the electronic atomization device and the other electronic device; wherein the electronic atomization device and the other electronic device are both provided with: a near-field communication module and an antenna used in conjunction with the near-field communication module.
[0038] Optionally, in a possible implementation of the first aspect, the near field communication module is also used to detect a sensing distance value between the electronic atomization device and any other electronic device, wherein the near field communication module includes: a Bluetooth communication module and / or an NFC communication module.
[0039] Optionally, in a possible implementation of the first aspect, the electronic atomization device further includes:
[0040] A parsing module is used to obtain the data content carried in the interactive signal; and parse the data content according to a preset interactive protocol and a preset encoding rule to obtain the interactive instruction information, wherein the data content includes: a header identifier, instruction content and a verification part, the preset interactive protocol specifies the encoding method of the header identifier corresponding to different types of interactive signals, and the preset encoding rule specifies the specific encoding format of each parameter in the instruction content.
[0041] Optionally, in a possible implementation of the first aspect, the electronic atomization device further includes:
[0042] A power sensor, used to obtain the current power value of the electronic atomization device;
[0043] A storage setting module, used for obtaining current atomization parameters of the electronic atomization device, wherein the current atomization parameters include at least one of the following: atomization concentration, atomization flavor, and atomization duration;
[0044] The status monitoring module is used to obtain the current operating status of the electronic atomization device, and the current operating status includes at least one of the following: normal operating status, abnormal operating status, and firmware upgrade in progress.
[0045] Optionally, in a possible implementation manner of the first aspect, the logic judgment module includes:
[0046] An acquisition submodule, used to acquire a logic judgment rule corresponding to the interaction instruction information, wherein the logic judgment rule is pre-set based on the application scenario and interaction function of the electronic atomization device;
[0047] A judgment submodule, used to perform a logical judgment on the local device information and the interaction instruction information according to the logical judgment rule to obtain the interaction operation content and the interaction operation sequence;
[0048] The generating submodule is used to obtain the interactive operation information according to the interactive operation content and the interactive operation sequence.
[0049] Optionally, in a possible implementation manner of the first aspect, the acquisition module includes:
[0050] The signal receiving circuit is connected to the near field communication module and is used to obtain the interactive signal output by the other electronic device according to a preset signal receiving frequency and bandwidth.
[0051] Optionally, in a possible implementation manner of the first aspect, the near field communication module is specifically used to:
[0052] If the sensing distance fluctuation value between the electronic atomization device and any other electronic device is detected to be greater than a preset fluctuation threshold value for multiple consecutive times, the distance detection is suspended, and the near field communication module is self-checked and signal calibrated;
[0053] After the near field communication module is self-checked and signal calibrated, the distance detection is restarted until the sensing distance value is detected.
[0054] The second aspect and any implementation of the second aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the second aspect and any implementation of the second aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.
[0055] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the electronic device implements any of the methods described in one of the embodiments.
[0056] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements any of the methods described above.
[0057] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes any one of the methods described in the first aspect.
[0058] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0059] The present application provides an interactive control method, an electronic atomization device, an electronic device and a program product. The method, first, obtains an interactive signal output by the other electronic device after establishing a near-field induction connection between the electronic atomization device and any other electronic device; through this connection, it is possible to break through the limitation that the electronic atomization device and other electronic devices cannot interact with each other in the past, and then obtain the interactive signal output by the other electronic device.
[0060] Next, the interaction signal is parsed to obtain the interaction instruction information; logical judgment is performed based on the local device information of the electronic atomization device and the interaction instruction information to obtain the interaction operation information, which includes at least one of the following: interaction scene, interaction mode, interaction status, interaction duration, interaction prompt; so that the electronic atomization device can accurately judge whether the interaction operation can be performed according to its own status (such as power, atomization parameters, etc.) and the received instructions, thereby realizing the reasonable planning of interaction between devices and meeting the diverse interaction needs of users.
[0061] Finally, on the human-computer interaction interface of the electronic atomization device, the interactive operation information is displayed in a dynamic effect image style. Compared with only displaying simple information on the screen or light, this dynamic and rich display method can more intuitively inform users of the scene, status and other details of the interaction between devices, greatly improving the user's perception of the interaction between devices and effectively expanding the user experience of electronic atomization devices. It solves the technical problem in the prior art that electronic atomization devices cannot interact with each other, or between electronic atomization devices and other devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0063] Figure 1 It is a flowchart of an interactive control method provided in an embodiment of the present application;
[0064] Figure 2 It is a flowchart of an optional interactive control method provided in an embodiment of the present application;
[0065] Figure 3 It is a flowchart of an optional interactive control method provided in an embodiment of the present application;
[0066] Figure 4 It is a flowchart of an optional interactive control method provided in an embodiment of the present application;
[0067] Figure 5 It is a flowchart of an optional interactive control method provided in an embodiment of the present application;
[0068] Figure 6 is a structural schematic diagram of an interactive control device provided in an embodiment of the present application;
[0069] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0070] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0071] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0072] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0073] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0074] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0075] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0076] First, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
[0077] Near Field Communication (NFC) is a short-range, high-frequency wireless communication technology module that can realize functions such as data exchange between NFC-enabled devices.
[0078] Interaction command information: It is a type of data information sent by one device to another device during the interaction between devices to convey specific operation requirements, intentions or status changes.
[0079] Electronic atomization equipment: a small electronic device that can convert liquid substances into mist particles that can be inhaled.
[0080] The above is a brief introduction to the nouns involved in the embodiments of the present application, which will not be repeated below.
[0081] This application example provides an example of an interactive control method, which can be applied to or run in an electronic atomization device as an example but not a limitation. It can be understood that the electronic atomization device converts liquid substances (such as drug solutions, etc.) into tiny particles suspended in the air to form an aerosol through specific technical means, such as heating, ultrasonic vibration, air pressure changes, etc.
[0082] Please refer to Figure 1 As shown, Figure 1 A schematic flow chart of an interactive control method provided by the present application is shown, the method comprising:
[0083] S101, after establishing a near-field induction connection between the electronic atomization device and any other electronic device, obtaining an interactive signal output by the other electronic device.
[0084] S102: Analyze the above interaction signal to obtain interaction instruction information.
[0085] S103, perform logical judgment based on the local device information of the above-mentioned electronic atomization device and the above-mentioned interaction instruction information to obtain interaction operation information, wherein the above-mentioned interaction operation information includes at least one of the following: interaction scene, interaction mode, interaction status, interaction duration, and interaction prompt.
[0086] S104, displaying the above-mentioned interactive operation information in a dynamic effect image style on the human-computer interaction interface of the above-mentioned electronic atomization device.
[0087] In the example of this application, the electronic atomization device (hereinafter, also referred to as the local device) and other electronic devices both have near-field communication functions. As an example but not a limitation, other electronic devices (hereinafter, also referred to as the other device) may also be electronic atomization devices, or other devices that support similar interactions, such as smart phones, smart watches, etc.
[0088] In the example of this application, the electronic atomization device and other electronic devices are both equipped with a near-field communication module (such as an NFC module, a Bluetooth module, etc. that can communicate within the near field range), and an antenna that matches the near-field communication module. When the electronic atomization device and the other electronic device are close to each other to an effective sensing distance (usually determined by a preset distance threshold, illustratively, the effective sensing distance value can be within 0-10cm), the near-field communication modules of the electronic atomization device and the other electronic device begin to detect the signal sent by the other device through the antenna to try to establish a near-field sensing connection.
[0089] Taking the NFC communication module as an example, when any other electronic device is close to the electronic atomization device, the antenna of the NFC communication module senses the changes in the magnetic field emitted by the NFC antenna of the other device. Through the principle of electromagnetic induction coupling, the two devices start to communicate and handshake, and identify each other's relevant information (such as device ID, etc.). If the identification is successful and other preset conditions are met (such as the device is in an interactive state, etc.), the near-field induction connection between the electronic atomization device and any other electronic device is successfully established. In addition, the electronic atomization device continuously obtains the radio frequency signals of other electronic devices according to the preset receiving frequency, bandwidth and other parameter settings, and demodulates, filters and other processes the received radio frequency signals to convert them into interactive signals in the form of digital signals.
[0090] In the example of this application, the electronic atomization device is pre-designed and stored with preset interaction protocols and preset coding rules related to device interaction. Therefore, the electronic atomization device can use the preset interaction protocol and preset coding rules to parse the above interaction signals to obtain interaction instruction information, such as "friend addition", "share experience", "invite game", "social interaction", "device collaboration", "shared settings", etc.
[0091] Exemplarily, the above-mentioned protocols and rules specify the specific format of the interactive signal and the meaning and encoding method of each part. For example, it is specified that the interactive signal consists of a header identifier, instruction content, and a verification part, and clarifies the specific encoding of the header identifier corresponding to different types of interactive signals, as well as the specific encoding format of each parameter in the instruction content (such as the encoding of different battle modes such as "limited time battle" and "points battle" in battle games, the encoding method of the other party's device ID, etc.).
[0092] Optionally, in the example of this application, the electronic atomization device obtains local device information through a variety of built-in sensors and storage modules.
[0093] For example, the current power value of the electronic atomization device is obtained through a power sensor. The power value is presented in the form of a percentage, etc., and is used to determine whether the local device has sufficient power to perform subsequent possible interactive operations, such as some power-consuming game interactions.
[0094] For example, the current atomization parameters of the electronic atomization device are obtained through the storage setting module, including atomization concentration, atomization flavor, atomization time, etc. It should be understood that the current atomization parameters can be used to determine whether they can match or cooperate with the settings of the other device when it involves interactions such as sharing settings with the other device.
[0095] For another example, the status monitoring module can be used to obtain the current operating status of the device, such as normal operating status, abnormal operating status, firmware upgrade in progress, etc. If the local device is in an abnormal operating status or is undergoing a firmware upgrade, it may affect the ability to respond to interactive command information, which needs to be considered in logical judgment.
[0096] In a social interaction scenario, if an interactive instruction message is received indicating "invite to a game battle", and the local device battery level is higher than a certain threshold (such as 30%), the current atomization parameters are within a reasonable range (such as the atomization concentration is not higher than a certain set value, so as not to affect the interactive game effect), and the device is not in an abnormal operating state such as firmware upgrade or troubleshooting, then it is determined that the game interaction invitation can be accepted; otherwise, the game interaction invitation is rejected.
[0097] In another example, if the received interactive instruction information indicates "shared settings", if the current atomization parameters of the local device are not much different from the requirements in the received shared settings instruction (a specific allowable range of difference can be set), the settings of the local device are adjusted directly according to the instructions, and a corresponding dynamic display image is generated to show the adjustment or change of the settings; if the current atomization parameters of the local device are significantly different from the requirements in the received shared settings instruction, the user is prompted to make further confirmation before deciding whether to adjust the device settings.
[0098] Furthermore, in the example of the present application, the electronic atomization device inputs the acquired local device information and the parsed interaction instruction information into a logic judgment module at the same time (the module can be a software program built into the device, or a logic processing unit in a chip, etc.). The logic judgment module performs a comprehensive and integrated analysis and processing on these two sets of information according to pre-set logic judgment rules. For example, for each received interaction instruction, check one by one whether the various conditions of the local device meet the conditions for executing the interaction instruction; to determine the interaction operation information shown in one of the following: interaction scene, interaction mode, interaction status, interaction duration, interaction prompt.
[0099] For example, in one example, if it is determined that the electronic atomization device accepts the "invite game battle" instruction, the interactive operation information may include: entering the battle preparation state, controlling the display dynamic effect of the human-computer interaction UI interface to adjust to the battle-related style (such as displaying the battle countdown, the power comparison of both devices, etc.), for example, setting the battle-related parameters through the controller (such as setting the initial atomization concentration according to the requirements of the inviting party's device, etc.). At this time, the interactive scene is the "game battle scene", the interactive mode is the "limited-time game battle" (assuming that the battle mode specified in the invitation game battle instruction is a limited-time battle), the interactive state is "prepare for game battle", the interactive duration can be set according to the battle mode (such as a limited-time battle has a specific time limit), and the interactive prompt can be "accepted the battle invitation, ready to start the battle".
[0100] For example, in another example, if it is determined that the electronic atomization device rejects the "invite to game battle" instruction, the interactive operation information may include: the interactive scene is "game battle scene", the interactive mode is "limited time game battle" (assuming that the battle mode specified in the invitation to game battle instruction is limited time battle), the interactive status is "reject battle invitation", the interactive time is "none" (because the game battle state has not been entered), and the interactive prompt is "low battery or poor device status, unable to accept the battle invitation."
[0101] In the software system or storage unit of the electronic atomization device, various dynamic effect image styles for different interactive operation information scenarios are pre-designed and stored. These styles are designed for different interactive scenarios, interactive modes, interactive states, etc. For example:
[0102] In one example, for a "game battle scene", the electronic atomization device is pre-designed with icons of the devices of both battle parties displayed in the center of the screen. The flashing frequency of the icons is adjusted according to the countdown of the battle. A battery comparison bar of the two devices is displayed below, and the color of the battery bar changes gradually according to the amount of battery power, and other dynamic effect graphic styles, etc.
[0103] In another example, for the "shared setting scene", the electronic atomization device is pre-designed with a dynamically updated chart that displays the current atomization parameters of both parties (such as atomization concentration, atomization flavor, etc.) on the screen, and uses dynamic effect graphic styles such as different colors and dynamic arrows to indicate changes in parameters, etc.
[0104] According to the specific interactive operation information obtained by logical judgment, the corresponding dynamic effect image style is retrieved from the storage module. For example, if the interactive operation information is displayed as "Accept the battle invitation and prepare to start the battle", the dynamic effect image style corresponding to the "game battle scene" is retrieved. Then the display driver and other related software and hardware components of the human-computer interaction interface of the electronic atomization device are controlled to display the retrieved dynamic effect image style in a predetermined manner. For example, it is displayed according to the designed rules such as the flashing frequency of the icon and the color change of the power bar, so that the user can intuitively see the specific situation represented by the interactive operation information from the human-computer interaction interface, thereby achieving a good human-computer interaction experience.
[0105] For a possible implementation, please refer to Figure 2 As shown, Figure 2 A schematic flow chart of an optional interactive control method provided by the present application is shown, and the method further includes:
[0106] S201, detecting the sensing distance value between the electronic atomization device and any other electronic device, wherein the electronic atomization device and the other electronic device are both provided with: a near field communication module and an antenna used in conjunction with the near field communication module.
[0107] S202, in response to detecting that the sensing distance value is less than a preset distance threshold, establishing a near-field sensing connection between the electronic atomization device and the other electronic device.
[0108] Optionally, the setting of the preset distance threshold specifically considers various factors, such as the effective communication distance range of the near-field communication module (different modules may have different effective ranges, such as the NFC communication module is generally effective within 10 cm), the convenience of interaction desired in actual applications (if the user is expected to interact without deliberately bringing the device very close, the preset distance threshold can be set relatively large) and avoiding false triggering of connections (if the threshold is set too small, the electronic atomization device may frequently establish and disconnect connections due to a slight shake, affecting the user experience), etc.
[0109] Since electronic atomization devices and other electronic devices that interact with them are equipped with near-field communication modules (such as NFC communication modules, Bluetooth modules, etc. that can communicate within the near field range) and corresponding antennas, the signal strength of the near-field communication module will change with the distance from the other device during operation. Based on this feature, the sensing distance between the local device and the other device can be indirectly estimated by monitoring the change in signal strength.
[0110] Taking the NFC communication module as an example, when the other device and the local device are close to each other, the local device detects that the magnetic field strength emitted by the antenna of the other device will increase as the distance increases (within a certain range). By setting a signal strength monitoring circuit in the NFC communication module of the local device, the strength information of the magnetic field emitted by the antenna of the other device can be obtained in real time.
[0111] As an example, first, in the near field communication module of the electronic atomization device (assuming the NFC communication module as an example), there is a sensor or circuit part specifically used to detect signal strength, which samples and measures the received signal strength at a certain frequency (such as every certain time interval, such as 100 milliseconds).
[0112] Then, the signal strength value obtained from each measurement is compared with the standard signal strength value table corresponding to different distances obtained in advance through experiments or theoretical calculations. For example, in a laboratory environment, the signal strength value range corresponding to the normal working state of the NFC communication module at different distances such as 0cm, 2cm, 5cm, 8cm, and 10cm has been measured to form a standard signal strength value table. When the actual measured signal strength value falls within the signal strength value range corresponding to a certain distance, the induction distance value between the current electronic atomization device and other electronic devices can be roughly obtained.
[0113] According to the specific application scenario of the electronic atomization device and the performance characteristics of the near-field communication module, a suitable distance threshold is pre-set. When the sensing distance value is detected to be less than the preset distance threshold, the near-field communication module of the electronic atomization device and the other electronic device starts the connection establishment process. For example, for situations where close-range interaction mainly relies on the NFC communication module and the interaction process is expected to be convenient and fast, the preset distance threshold can be set to 10cm. This means that when the sensing distance value between the electronic device and the other electronic device is detected to be less than 10cm, it is considered that the two devices are close enough and an attempt can be made to establish a near-field sensing connection for subsequent interactive operations.
[0114] Still taking the NFC communication module as an example, first, the NFC communication modules of both devices send and receive some specific connection requests and confirmation signals again through the antenna. For example, one device sends a connection request signal containing basic information such as its own device ID. After receiving it, the other device parses the signal. If it confirms that the other device is interactive and it is willing to interact (which may involve checking the current status of its own device, such as whether it is in an interactive state, whether the battery is sufficient, etc.), it sends a signal to confirm the connection back to the other device. After receiving the confirmation connection signal from the other party, the two devices formally establish a near-field induction connection, and can start subsequent interactive operations such as obtaining interactive signals and parsing instructions.
[0115] Through the above optional implementation method, the detection of the sensing distance value between the electronic atomization device and other electronic devices is realized, and a near-field sensing connection is established when the distance meets the conditions, so as to facilitate subsequent interactive control.
[0116] In a possible implementation, the detecting of the sensing distance value between the electronic atomization device and any other electronic device includes:
[0117] The sensing distance value between the electronic atomization device and any other electronic device is detected through the near field communication module in the electronic atomization device, wherein the near field communication module includes: a Bluetooth communication module and / or an NFC communication module.
[0118] Optionally, in an example, taking the near field communication module as a Bluetooth communication module, the strength of the wireless signal emitted by the Bluetooth communication module during operation will gradually decay as the distance from the receiving device increases. Based on this feature, the sensing distance value between the electronic atomization device and other electronic devices can be estimated by measuring the received Bluetooth signal strength and combining the known Bluetooth signal propagation model and related parameters.
[0119] For example, in the free space propagation model, the Bluetooth signal strength is inversely proportional to the square of the distance. However, actual application scenarios are often more complex, and there may be obstacles and interference sources, so empirical propagation models that are more in line with the actual situation are usually used. These models are derived through a large number of actual tests and data statistical analysis, and can more accurately reflect the relationship between Bluetooth signal strength and distance in different environments.
[0120] In addition, a circuit or sensor specifically used to measure the strength of the received Bluetooth signal can be provided in the Bluetooth communication module, and the received Bluetooth signal strength can be sampled and measured at a certain frequency (for example, at certain time intervals, such as 50 milliseconds) to obtain a real-time signal strength value. The Bluetooth signal strength value obtained from each measurement is compared with the predetermined Bluetooth signal propagation model and related parameters (transmission power of the Bluetooth module, antenna gain, etc.). By substituting the actual measured signal strength value into the formula corresponding to the propagation model, the sensing distance value between the electronic atomization device and other electronic devices can be estimated through calculation.
[0121] Optionally, in another example, the near field communication module is an NFC communication module, and the NFC communication module relies on the principle of electromagnetic induction coupling to achieve near field communication. When two devices equipped with NFC modules are close to each other, their antennas interact through the magnetic field, and the magnetic field strength changes with the distance. Within a certain distance range, the closer the distance, the stronger the magnetic field strength. Based on this characteristic, it can be used to detect the sensing distance value.
[0122] In the NFC communication module of the electronic atomization device, a sensor or circuit specifically used to monitor the magnetic field strength around the antenna is provided, which is used to continuously monitor the changes in the magnetic field strength, and sample and measure the magnetic field strength at a certain frequency (for example, at certain time intervals, such as 100 milliseconds) to obtain real-time magnetic field strength values. The magnetic field strength value obtained each time is compared with the standard magnetic field strength value table corresponding to different distances obtained in advance through experiments or theoretical analysis. For example, the range of magnetic field strength values corresponding to normal working conditions at different distances such as 0cm, 2cm, 5cm, 8cm, and 10cm has been determined to form a standard magnetic field strength value table. When the actual measured magnetic field strength value falls within the range of magnetic field strength values on a certain date, the induction distance value between the current electronic atomization device and other electronic devices can be roughly estimated.
[0123] In actual applications, electronic atomization devices can use Bluetooth communication modules or NFC communication modules to detect sensing distance values according to their own design and needs, or flexibly switch between these two modules in different scenarios to achieve more accurate and efficient sensing distance value detection, thereby providing accurate distance judgment basis for establishing near-field sensing connections and subsequent interactive operations.
[0124] For a possible implementation, please refer to Figure 3 As shown, Figure 3 A schematic flow chart of an optional interactive control method provided by the present application is shown, parsing the above interactive signal to obtain interactive instruction information, including:
[0125] S301, obtaining data content carried in the above-mentioned interactive signal, wherein the above-mentioned data content includes: a header identifier, instruction content and a verification part.
[0126] S302, parse the above data content according to the preset interaction protocol and preset encoding rules to obtain the above interaction instruction information, wherein the above preset interaction protocol stipulates the encoding method of the header identifier corresponding to different types of interaction signals, and the above preset encoding rules stipulate the specific encoding format of each parameter in the instruction content.
[0127] First, the electronic atomization device receives the interactive signal output from other electronic devices through its built-in near-field communication module (such as NFC module or Bluetooth module, etc., depending on the specific communication method used to receive the interactive signal) and the matching antenna. During the reception process, the interactive signal may be interfered by the surrounding environment, resulting in certain noise or deformation of the signal.
[0128] Therefore, after receiving the interactive signal, it can be pre-processed first, for example, filtering the interactive signal to remove high-frequency or low-frequency interference noise to make the signal more accurate; amplifying the interactive signal to ensure that the signal strength reaches a level that can be effectively recognized by subsequent processing links; and shaping the interactive signal to convert the irregular signal waveform into a standard waveform that is easier to process.
[0129] Furthermore, the data content of the pre-processed interactive signal can be extracted according to the established signal format. For example, the data content carried in the interactive signal includes a header identifier, instruction content, and a check part. Usually, these data parts are arranged in a certain order in the signal, and there can be specific separators or marks to distinguish different parts. For example, the header identifier part occupies the first several bits (such as the first 8 bits), followed by the instruction content part (occupying the middle several bits, the specific number of bits depends on different instruction types and parameter settings), and finally the check part (occupying the last several bits, such as the last 16 bits). By identifying these separators or marks, and according to the predetermined length of each part, the three data contents of the header identifier, instruction content, and check part can be accurately extracted from the interactive signal.
[0130] Furthermore, in the example of this application, the data content is parsed according to the preset interaction protocol and the preset encoding rules to obtain the interaction instruction information. First, the extracted header identification part is focused on. The preset interaction protocol specifies the encoding method of the header identification corresponding to different types of interaction signals.
[0131] For example, the electronic atomization device pre-stores a header identification code table, which records in detail various possible interaction types (such as "invite game battle", "shared settings", "view the other party's device status", etc.) and their corresponding header identification codes. For example, the header identification code of "invite game battle" can be "0x11" in hexadecimal, and the header identification code of "shared settings" can be "0x22", etc. The electronic atomization device compares the header identification extracted from the interaction signal with this coding table, and by finding the matching code, it can determine the specific interaction type represented by the interaction signal. For example, if the extracted header identification code is "0x11", it can be determined that the interaction signal is an interaction signal used to issue a battle invitation.
[0132] Then, after determining the type of the interactive signal, the instruction content is parsed. The preset encoding rule specifies the specific encoding format of each parameter in the instruction content.
[0133] Different interaction types contain different parameters in the instruction content. Taking "invite to a game battle" as an example, the instruction content can include parameters such as the ID of the inviting device, the battle mode (such as limited-time battle, points battle, etc.). For the device ID, there can be a specific encoding format, such as using hexadecimal encoding, and stipulating that the first few digits represent a certain attribute of the device, and the last few digits represent another attribute, etc.; for the battle mode, there are also corresponding encoding methods, such as "limited-time battle" is encoded as binary "01", and "points battle" is encoded as "10", etc.
[0134] According to these specific encoding formats, the parameters of the instruction content are decoded one by one to clarify the specific meaning of each parameter. For example, by decoding, the ID of the inviting device is known, and which battle mode is used in this battle, etc., and the complete instruction content information can be obtained.
[0135] Finally, the verification part is used to verify the entire parsing process. It should be understood that the role of the verification part is to ensure that the interactive instruction information obtained by parsing is accurate and reliable. Optionally, the verification method is usually to calculate the extracted data content such as the header identifier and instruction content according to a predetermined verification algorithm (which is also part of the preset interactive protocol) to obtain a verification value, and then compare this verification value with the verification value directly extracted from the verification part of the interactive signal. If the two verification values are equal, it means that the parsing process is correct, and the obtained interactive instruction information is reliable and can be used for subsequent logical judgment and other operations; if the two verification values are not equal, it means that an error may have occurred in the parsing process. At this time, it is necessary to re-acquire and parse the interactive signal, or prompt the user that there is a signal transmission problem.
[0136] Through the above method steps, the data content carried in the interactive signal can be accurately parsed according to the preset interactive protocol and preset encoding rules, so as to obtain complete interactive instruction information, so as to facilitate subsequent operations such as performing logical judgments and generating interactive operation information based on these instruction information.
[0137] In a possible implementation, the method further includes obtaining the local device information of the electronic atomization device in at least one of the following ways:
[0138] The current power value of the electronic atomization device is obtained through the power sensor of the electronic atomization device.
[0139] The current atomization parameters of the electronic atomization device are obtained through the storage setting module of the electronic atomization device, and the current atomization parameters include at least one of the following: atomization concentration, atomization flavor, and atomization duration.
[0140] The current operating state of the electronic atomization device is obtained through the state monitoring module of the electronic atomization device, and the current operating state includes at least one of the following: normal operating state, abnormal operating state, and firmware upgrade in progress.
[0141] In an optional example, the electronic atomization device is equipped with a power sensor to monitor the battery power status. For example, by detecting the battery voltage, current and other parameters, and according to the specific electrical characteristic curve of the battery (different types of batteries have their corresponding voltage-power, current-power and other relationship curves), the remaining power of the battery is calculated.
[0142] For example, for lithium-ion batteries, their voltage shows a certain change pattern under different power states. When the battery is fully charged, the voltage is in a relatively high stable value range; as the power is consumed, the voltage gradually decreases. The power sensor can monitor this voltage change in real time, and based on the lithium-ion battery voltage-power correspondence table pre-stored in the device (this is based on the standard electrical characteristics of the battery after a lot of testing and data analysis), the monitored voltage value is converted into the corresponding power percentage value, thereby obtaining the current power value of the electronic atomization device.
[0143] In another optional example, the storage setting module of the electronic atomization device is mainly used to store various setting parameters of the device by the user, such as the current atomization parameters. When the user sets the parameters such as atomization concentration, atomization flavor, and atomization duration through the human-computer interaction interface of the device (such as through buttons, touch screens, etc.), the electronic atomization device stores these setting values in the storage setting module. For example, the user adjusts the slider of the atomization concentration through the touch screen, and the electronic atomization device records the specific concentration value selected by the user (which can be expressed in digital form, such as a concentration value of 3 mg / ml, etc.) in the corresponding storage location in the storage setting module.
[0144] In order to obtain the current atomization parameters, the relevant software program or control chip of the electronic atomization device reads these parameter values from the storage setting module regularly (for example, at certain time intervals, such as 10 seconds). For atomization concentration, directly read the concentration value recorded in the storage location; for atomization flavor, you can read a code value representing the flavor (different flavors correspond to different codes, such as strawberry flavor is coded as 01, mint flavor is coded as 02, etc.), and then convert it into a specific flavor name according to the pre-stored flavor coding table; for atomization time, also read the time value recorded in the storage location (such as the set atomization time of 5 minutes, the value read is 5).
[0145] In another optional example, the status monitoring module of the electronic atomization device is composed of a variety of sensors and related monitoring circuits, which is used to comprehensively monitor the operating status of the device. For example, it may include a temperature sensor for monitoring the temperature of key components inside the device (such as the atomization core, etc.); it may also include some circuit status monitors for detecting whether the device circuit is working normally, and whether there are abnormal conditions such as short circuits and open circuits.
[0146] For example, the temperature sensor monitors the temperature of the atomizer core in real time. When the temperature of the atomizer core exceeds a certain safety threshold (which is determined according to the design and material characteristics of the equipment, such as 80°C), it indicates that the equipment is in an abnormal operating state. The status monitoring module continuously detects parameters such as current and voltage in the circuit. If a sudden interruption of current or abnormal voltage fluctuation is found, it can also determine that there may be problems with the electronic atomization equipment.
[0147] The status monitoring module in the electronic atomization device can be used to comprehensively analyze the information collected by various sensors and monitoring circuits. For example, if the temperature monitored by the temperature sensor is within the normal range (such as below 80°C), the status monitoring module detects that the circuit is working properly, and it can be determined that the electronic atomization device is in normal operation. If the temperature monitored by the temperature sensor exceeds the safety threshold, or the status monitoring module detects that the circuit is abnormal (such as short circuit, open circuit, etc.), it can be determined that the electronic atomization device is in an abnormal operating state.
[0148] In addition, when the electronic atomization device is undergoing a firmware upgrade, the electronic atomization device internally sets a specific upgrade status identifier (which can be a binary value stored in a specific location, such as 0 for not upgraded and 1 for upgrading). The status monitoring module can determine whether the electronic atomization device is undergoing a firmware upgrade by reading this identifier value.
[0149] Through the above different implementation methods, the electronic atomization device can accurately obtain local device information, including the current power value, current atomization parameters, and current operating status, so as to facilitate subsequent logical judgments based on the interactive command information, generate interactive operation information, and other operations.
[0150] For a possible implementation, please refer to Figure 4 As shown, Figure 4 A schematic flow chart of an optional interactive control method provided by the present application is shown, and logical judgment is performed according to the local device information of the above-mentioned electronic atomization device and the above-mentioned interactive instruction information to obtain interactive operation information, including:
[0151] S401, obtaining a logic judgment rule corresponding to the interaction instruction information, wherein the logic judgment rule is pre-set based on the application scenario and interaction function of the electronic atomization device.
[0152] S402, performing logical judgment on the local device information and the interactive instruction information according to the logical judgment rule to obtain the interactive operation content and the interactive operation sequence.
[0153] S403, obtaining interactive operation information according to the interactive operation content and the interactive operation sequence.
[0154] Optionally, in one example, during the development of an electronic atomization device, a series of comprehensive and reasonable logical judgment rules are pre-set based on its expected application scenarios (such as social interaction scenarios, device collaboration scenarios, etc.) and the interactive functions to be achieved (such as game interaction functions, game battle functions, shared setting functions, etc.).
[0155] For example, in a social interaction scenario, if the interactive function of "invite to game battle" is set, the corresponding logical judgment rule can be: if the local device power is higher than a certain threshold (such as 30%), the current atomization parameters are within a reasonable range (such as the atomization concentration is not higher than a certain set value, so as not to affect the interactive game effect), and the device is not in a special state (such as firmware upgrades, troubleshooting, etc.), then it is determined that the electronic atomization device can accept the game battle invitation; otherwise, it is determined to reject the game battle invitation.
[0156] For another example, in a social interaction scenario, for the shared settings function, the corresponding logical judgment rule may be: if the current atomization parameters of the local device are not much different from the requirements in the received shared settings instruction (a specific allowable range of difference can be set), then the settings of the local device are adjusted directly according to the instructions, and a corresponding dynamic display image is generated to reflect the changes in the settings; if the difference is large, the user is prompted to make further confirmation before deciding whether to adjust the settings.
[0157] Optionally, these pre-set logic judgment rules are stored in a storage unit (such as flash memory, etc.) of the electronic atomization device, and an effective indexing mechanism is established so that the corresponding logic judgment rules can be quickly found according to the received interactive instruction information. For example, an index directory can be established according to the type of interactive instruction (such as "invite game battle" and "shared settings", etc.). After receiving a specific interactive instruction information, the corresponding logic judgment rule can be quickly located by searching the index directory, thereby preparing for subsequent logical judgment operations.
[0158] According to the logic judgment rules, logical judgment is performed on the local device information and the interaction instruction information to obtain the interaction operation content and the interaction operation sequence. For example, first, the local device information of the electronic atomization device (including the current power value, the current atomization parameters, the current operating status, etc.) and the parsed interaction instruction information (such as the inviter device ID, the battle mode and other specific parameters in the "invite game battle" instruction) are integrated as the input data of the logic judgment module. The logic judgment module can be a built-in software program in the device or a logic processing unit in a chip, etc., which is used to perform a comprehensive and integrated analysis of these input data according to pre-set logic judgment rules.
[0159] For each received interactive command, the logic judgment module checks whether the various conditions of the local device meet the conditions for executing the interactive command according to the corresponding logic judgment rules. Taking the "Invite Game Battle" command as an example, if the logic judgment rule requires that the local device power is higher than 30%, the logic judgment module checks whether the current local device power value is indeed higher than 30%; if the logic judgment rule also requires that the current atomization parameters are within a reasonable range, further check whether the atomization concentration, atomization flavor, etc. in the current atomization parameters meet the set reasonable range requirements.
[0160] The specific interactive operation content is determined based on the result of logical judgment. For example, if it is determined that the electronic atomization device accepts the "invite game battle" instruction, the interactive operation content may include: entering the battle preparation state, adjusting the screen UI display effect to a battle-related style (such as displaying a battle countdown, comparing the power levels of both devices, etc.), and setting battle-related parameters (such as setting the initial atomization concentration according to the requirements of the inviting device, etc.).
[0161] At the same time, the order of interactive operations can also be clarified. In the above optional example, the optional operation order is: first adjust the screen UI display effect so that the user can see the relevant prompt information of the battle in time; then set the battle related parameters so that the electronic atomization device enters the battle preparation state in the correct order.
[0162] Finally, the determined interactive operation content and interactive operation sequence are sorted out to form complete interactive operation information, and output to the relevant modules of the electronic atomization device (such as the human-computer interaction interface display module, the device control module, etc.), so that corresponding operations can be performed according to the interactive operation information, such as displaying the interactive operation information in a dynamic effect image style on the human-computer interaction interface, or executing the relevant settings and control operations of the device according to the operation sequence, etc.
[0163] Through the above method steps, logical judgment can be made based on the local device information and interaction instruction information of the electronic atomization device to obtain complete interaction operation information, laying the foundation for achieving effective interaction between devices and improving user experience.
[0164] In a possible implementation, the step of obtaining the interactive signal output by the other electronic device includes:
[0165] Through the signal receiving circuit connected to the near field communication module in the above-mentioned electronic atomization device, the interactive signal output by the above-mentioned other electronic devices is obtained according to the preset signal receiving frequency and bandwidth.
[0166] Inside the electronic atomization device, there is a close physical connection between the near-field communication module (such as the NFC communication module, Bluetooth module, etc., which are used to implement the near-field communication function) and the dedicated signal receiving circuit. This connection ensures that the weak radio frequency signal received by the near-field communication module can be smoothly transmitted to the signal receiving circuit for subsequent processing.
[0167] For example, the output pin of the near field communication module is connected to the input pin of the signal receiving circuit through the wire on the printed circuit board (PCB). It should be understood that this connection method must ensure the stability and low loss of signal transmission, and usually adopts appropriate wiring technology and high-quality wire materials to reduce signal attenuation and interference during transmission.
[0168] In the example of this application, the preset signal receiving frequency is determined according to the adopted near-field communication technology standard and the specific interaction requirements of the electronic atomization device. Different near-field communication technologies (such as NFC communication modules and Bluetooth) have their own typical operating frequency ranges. The setting of the bandwidth takes into account factors such as the spectral characteristics of the interactive signal and the amount of signal information to be received. For example, a wider bandwidth can receive signals with more frequency components, thereby capturing richer information, but it may also introduce more noise and interference; a narrower bandwidth is the opposite. Although the anti-interference ability is slightly stronger, it may also miss some signal information.
[0169] For example, in the application scenario of the NFC communication module of the electronic atomization device, if it is mainly for simple command interaction (such as inviting game battles, sharing settings, etc.), a relatively narrow bandwidth may be set, such as about 1MHz, because the spectrum of these command signals is relatively concentrated around 13.56MHz and the amount of information is relatively limited. However, if you need to receive some more detailed device status information (such as the power of the other device, atomization parameters, etc.), you may need to appropriately widen the bandwidth, such as setting it to 2MHz to 3MHz, to ensure that these information-rich signals can be fully received.
[0170] Once the near-field communication module is connected to the signal receiving circuit and the signal receiving frequency and bandwidth are preset, the signal receiving circuit starts working according to the set parameters, for example, continuously monitoring the radio frequency signals within the corresponding frequency and bandwidth range in the surrounding environment. When other electronic devices send interactive signals (these signals are within the set frequency and bandwidth range), the signal receiving circuit receives these interactive signals through its antenna (an antenna shared with the near-field communication module or an antenna specially configured for the signal receiving circuit).
[0171] For example, when the electronic atomization device is close to a certain distance from another electronic device that also has near-field communication function (such as within the effective communication distance of the NFC communication module), the interaction signal sent by the other device is captured by the signal receiving circuit of the electronic atomization device, and then enters the next signal processing stage, such as filtering, amplification, demodulation, etc., in order to convert it into a digital signal form that can be further understood and processed by the device.
[0172] Through the above method, the electronic atomization device can effectively obtain the interactive signals output by other electronic devices according to the preset signal receiving frequency and bandwidth through the signal receiving circuit connected to the near-field communication module, providing a basis for subsequent analysis, logical judgment and other operations.
[0173] For a possible implementation, please refer to Figure 5 As shown, Figure 5A schematic flow chart of an optional interactive control method provided by the present application is shown, which detects the sensing distance value between the above-mentioned electronic atomization device and any other electronic device, including:
[0174] S501, if it is detected for multiple consecutive times that the sensing distance fluctuation value between the above-mentioned electronic atomization device and any other electronic device is greater than the preset fluctuation threshold, the distance detection is suspended, and the above-mentioned near-field communication module is self-checked and signal calibrated.
[0175] S502, after performing self-check and signal calibration on the near field communication module, restarting distance detection until the sensing distance value is detected.
[0176] In the relevant settings of the near-field communication module of the electronic atomization device, a suitable preset fluctuation threshold is pre-set, for example, the preset fluctuation threshold is determined according to the device accuracy requirements, the actual application scenario and the characteristics of the near-field communication module.
[0177] For example, in one example, for electronic atomization devices that mainly rely on NFC communication modules for close-range interaction, if you want to maintain a relatively high accuracy in distance detection, you can set the preset fluctuation threshold to a smaller value, such as ±2cm (indicating that the fluctuation range of the sensing distance is acceptable within 2cm). For some situations where the distance accuracy requirement is not particularly high, or in scenarios where there are many environmental interference factors that make the distance detection itself uncertain, the threshold can be set to a slightly larger value, such as ±5cm.
[0178] When the sensing distance value between the electronic atomization device and other electronic devices is detected through a near field communication module (such as an NFC communication module or a Bluetooth module, etc.) (as mentioned above, the distance can be detected based on changes in signal strength or magnetic field strength, etc.), the electronic atomization device continuously samples and measures the sensing distance value at a certain frequency (for example, at certain time intervals, such as 100 milliseconds).
[0179] After each measurement obtains a sensing distance value, the difference between the currently measured sensing distance value and the last measured sensing distance value is calculated. This difference is the sensing distance fluctuation value. This fluctuation value is then compared with the preset fluctuation threshold. If the sensing distance fluctuation values detected for multiple consecutive times (for example, 5 consecutive times) are greater than the preset fluctuation threshold, it means that the distance detection has become more obviously unstable. Therefore, once it is determined that the sensing distance fluctuation values detected for multiple consecutive times are greater than the preset fluctuation threshold, the electronic atomization device immediately suspends the currently ongoing distance detection operation to avoid continuing to obtain inaccurate data when the distance detection is unstable, while also freeing up time and resources for subsequent self-test and calibration operations.
[0180] For example, in the control program of the electronic atomization device, a flag is set to indicate the state of the distance detection. When the above fluctuation conditions are met, this flag is set to the pause state, so that the circuits and programs related to the distance detection temporarily stop working, and no new distance value sampling and measurement is performed.
[0181] After pausing the distance detection, the electronic atomization device starts the self-test program of the near-field communication module, which checks the key components and functions of the near-field communication module. Taking the NFC communication module as an example, the self-test program can check the working status of the NFC communication module, including whether the chip is powered normally and whether it is overheating; it can also check the connection of the antenna to see if the antenna is loose or damaged; it will also check other circuit components related to the NFC communication module communication, such as filter capacitors, amplifier circuits, etc., to see if they are working properly. Through the above inspections, it can be preliminarily determined whether there are hardware problems with the near-field communication module.
[0182] In addition to self-test, the signal of the near field communication module is also calibrated. For example, for a Bluetooth module that detects distance based on signal strength, calibration may involve operations such as resetting the transmit power of the Bluetooth module and adjusting the receiving sensitivity to make the measurement of signal strength more accurate, thereby indirectly improving the accuracy of distance detection. For another example, for an NFC communication module that detects distance based on magnetic field strength, signal calibration may include adjusting the sensitivity of a sensor used to monitor magnetic field strength in the NFC communication module, or recalibrating the correspondence between magnetic field strength and distance (because in actual applications, environmental factors may cause this correspondence to change), so as to more accurately determine the sensing distance value based on magnetic field strength.
[0183] After completing the self-test and signal calibration of the near-field communication module, the electronic atomization device restores the distance detection related flags from the pause state to the normal working state, and prepares to restart the distance detection operation. At the same time, some parameters that have been adjusted during the self-test and calibration process (such as the transmission power of the Bluetooth module, the sensitivity of the NFC communication module sensor, etc.) are initialized to ensure that these parameters are in the appropriate state when the detection is restarted.
[0184] After restarting the distance detection, the electronic atomization device continues to sample and measure the sensing distance value between the electronic atomization device and other electronic devices according to the previously set detection frequency and method (such as based on signal strength or magnetic field strength, etc.). This detection process continues until a sensing distance value that meets the requirements is detected (that is, the sensing distance fluctuation value detected multiple times in a row is no longer greater than the preset fluctuation threshold). The final sensing distance value will be used as the basis for subsequent operations such as determining whether to establish a near-field sensing connection.
[0185] Through the above method steps, when the sensing distance detection shows obvious fluctuations and instability, the near-field communication module can be self-checked and signal calibrated to ensure that the sensing distance value between the electronic atomization device and other electronic devices can be accurately detected subsequently, thereby providing a reliable distance judgment basis for effective interaction between devices.
[0186] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0187] Corresponding to the interactive control method described in the above embodiment, Figure 6 is a schematic diagram of the structure of an electronic atomization device provided in an embodiment of the present application. The electronic atomization device can be implemented by software, hardware, or a combination of both. Figure 6 , the electronic atomization device comprises:
[0188] The acquisition module 600 is used to acquire the interactive signal output by any other electronic device after establishing a near-field induction connection between the electronic atomization device and any other electronic device.
[0189] The analysis module 601 is used to analyze the above interaction signal to obtain interaction instruction information.
[0190] The logic judgment module 602 is used to perform logic judgment based on the local device information of the above-mentioned electronic atomization device and the above-mentioned interaction instruction information to obtain interaction operation information, wherein the above-mentioned interaction operation information includes at least one of the following: interaction scene, interaction mode, interaction status, interaction duration, and interaction prompt.
[0191] The display module 603 is used to display the above-mentioned interactive operation information in the form of dynamic effect images on the human-computer interaction interface of the above-mentioned electronic atomization device.
[0192] It can be understood that electronic atomization equipment uses specific technical means, such as heating, ultrasonic vibration, air pressure changes, etc., to convert liquid substances (such as drug solutions, etc.) into tiny particles suspended in the air to form aerosols.
[0193] In the example of this application, the electronic atomization device (hereinafter, also referred to as the local device) and other electronic devices both have near-field communication functions. As an example but not a limitation, other electronic devices (hereinafter, also referred to as the other device) may also be electronic atomization devices, or other devices that support similar interactions, such as smart phones, smart watches, etc.
[0194] Optionally, the acquisition module undertakes the important task of receiving interactive signals output from other electronic devices after the electronic atomization device establishes a near-field induction connection with other electronic devices. In addition, the acquisition module is closely connected to the near-field communication module in the electronic atomization device. When a near-field induction connection with other electronic devices is successfully established through a near-field communication module (such as an NFC communication module or a Bluetooth module, etc.), the acquisition module starts working.
[0195] For example, the interactive signal is received by a signal receiving circuit connected to the near field communication module (set according to the preset signal receiving frequency and bandwidth, as described above). For example, if NFC is used for near field induction connection, the acquisition module uses the signal receiving circuit of the NFC communication module to continuously monitor and receive interactive signals sent by other electronic devices through the NFC module at a receiving frequency of about 13.56MHz (fine-tuned according to the NFC standard) and a suitable bandwidth (such as about 1MHz, depending on the specific amount of interactive information).
[0196] In one example, the received interactive signal is initially in the form of a radio frequency signal, and then undergoes a series of processing by the signal receiving circuit, such as filtering, amplification, demodulation, etc., to convert it into a digital signal so that the subsequent parsing module can directly process it. The parsing module mainly performs an in-depth analysis of the interactive signal received by the acquisition module to extract valuable interactive command information from it. These command information will clearly inform the electronic atomization device what specific operations need to be performed or what interactive state it is in.
[0197] First, the parsing module knows and follows the preset interactive protocol and preset encoding rules, which specify in detail the specific format of the interactive signal and the meaning and encoding method of each part. After receiving the interactive signal in the form of a digital signal from the acquisition module, the parsing module splits it according to the rules and extracts the data content contained therein, such as the header identifier, instruction content and verification part.
[0198] Then, for the header identification part, the specific interaction type represented by the interaction signal (such as "invite game battle", "shared settings", etc.) is determined by comparing it with the pre-stored header identification coding table corresponding to each type of interaction.
[0199] Next, for the instruction content part, according to the preset coding rules, each parameter contained therein (such as parameters of different battle modes such as "limited time battle" and "points battle" in the battle mode, the device ID of the inviting party, etc.) is parsed one by one to obtain complete interactive instruction information.
[0200] Finally, the verification part is used to verify the entire parsing process. If the verification passes, it means that the interactive instruction information obtained by parsing is reliable; if the verification fails, it may be necessary to re-acquire and parse the interactive signal, or prompt the user that there is a signal transmission problem.
[0201] In this application example, the logic judgment module performs a comprehensive and integrated logic analysis based on the local device information of the electronic atomization device and the interactive instruction information obtained by the parsing module to determine the final interactive operation information. The logic judgment module pre-stores a series of logic judgment rules set based on the application scenarios (such as social interaction, device collaboration, etc.) and interactive functions (such as battles, shared settings, etc.) of the electronic atomization device.
[0202] The logic judgment module obtains local device information from various related components of the electronic atomization device. For example, the current power value is obtained through the power sensor, the current atomization parameters (including atomization concentration, atomization flavor, atomization time, etc.) are obtained through the storage setting module, and the current operating status (such as normal operating status, abnormal operating status, firmware upgrade in progress, etc.) is obtained through the status monitoring module.
[0203] Then, the acquired local device information and the interactive command information from the parsing module are used as input data at the same time, and analyzed one by one according to the pre-stored logical judgment rules. Taking the "invite game battle" instruction as an example, if the logical judgment rules require that the local device power is higher than 30%, the current atomization parameters are within a reasonable range, and the device is not in a special state (such as firmware upgrades, troubleshooting, etc.), then the electronic atomization device can accept the game battle invitation; otherwise, the game battle invitation is rejected. Based on the results of the logical judgment, the specific interactive operation information is determined, such as entering the battle preparation state, adjusting the screen UI display effects to battle-related styles, setting battle-related parameters, etc., and at the same time clarifying the interactive scenes, interactive modes, interactive states, interactive duration, interactive prompts and other contents.
[0204] The display module is used to intuitively present the interactive operation information obtained by the logic judgment module to the user in the form of dynamic effect images on the human-computer interaction interface of the electronic atomization device. Through vivid dynamic effect images, users can clearly understand the current interactive status of the device and subsequent operation prompts.
[0205] An optional specific implementation method: In the software system or storage unit of the electronic atomization device, various dynamic effect image styles for different interactive operation information scenarios are pre-designed and stored. These styles are designed for different interactive scenarios, interactive modes, interactive states, etc.
[0206] For example, for the "battle scene", the electronic atomization device is pre-designed with icons of the devices of both battle parties displayed in the center of the screen. The flashing frequency of the icons is adjusted according to the countdown of the battle. A battery comparison bar of the two devices is displayed below, and the color of the battery bar changes gradually according to the amount of battery power, and other dynamic effect image styles; for the "shared settings" scene, a dynamically updated chart is designed on the screen that displays the current atomization parameters of both parties (such as atomization concentration, focus, atomization time, etc.), and dynamic effect image styles such as indicating changes in parameters through different colors and dynamic arrows.
[0207] After the logic judgment module determines the specific interactive operation information, the control display module retrieves the corresponding dynamic effect image style from the storage based on this information, and displays the retrieved dynamic effect image style in a predetermined manner through the display driver and other related software and hardware components of the human-computer interaction interface of the electronic atomization device, so that the user can intuitively see the specific situation represented by the interactive operation information from the human-computer interaction interface, thereby achieving a good human-computer interaction experience.
[0208] Through the collaborative work of the above four modules, the electronic atomization device can achieve effective interaction with other electronic devices, analyze and judge based on the received interaction signals, and display the interaction operation information with intuitive dynamic effect images, providing users with a convenient and intuitive interaction experience.
[0209] In a possible implementation, the electronic atomization device further includes:
[0210] A near-field communication module is used to detect the sensing distance value between the above-mentioned electronic atomization device and any other electronic device; and in response to detecting that the above-mentioned sensing distance value is less than a preset distance threshold, establish a near-field induction connection between the above-mentioned electronic atomization device and the above-mentioned other electronic device; wherein the above-mentioned electronic atomization device and the above-mentioned other electronic device are both provided with: a near-field communication module and an antenna used in conjunction with the above-mentioned near-field communication module.
[0211] In this application example, the near-field communication module in the electronic atomization device is a key component for realizing close-range interaction between devices, and usually includes a chip, an antenna, and related circuit parts. The chip is used to process communication signals, such as encoding, decoding, modulation, demodulation, etc. The antenna is used to transmit and receive radio frequency signals, realize electromagnetic induction coupling with the antenna of other devices, and thus complete the transmission of signals; the related circuit part connects the chip and the antenna, and performs auxiliary processing such as amplification and filtering of the signal.
[0212] The near-field communication module realizes communication within the near field based on specific wireless communication technology. Taking the common NFC communication module and Bluetooth module as examples, the NFC communication module uses the principle of electromagnetic induction coupling. When two electronic atomization devices are close to each other, their antennas interact through the magnetic field to achieve data transmission at a close distance (generally within 10 cm). The Bluetooth module communicates by transmitting and receiving wireless signals in the 2.4GHz frequency band. Its effective communication distance may be farther than NFC, but it can also achieve interaction between devices within the near field range (such as within a few meters).
[0213] When using the NFC communication module as a near field communication method, the near field communication module can detect the induction distance value between other electronic devices by monitoring the changes in the magnetic field strength around the antenna. When two devices equipped with NFC communication modules approach each other, the magnetic field strength emitted by their antennas increases as the distance increases (within a certain range).
[0214] The sensor or circuit part in the near field communication module continuously monitors the change of magnetic field strength, and samples and measures the magnetic field strength at a certain frequency (for example, every 100 milliseconds) to obtain the real-time magnetic field strength value. Then compare the magnetic field strength value obtained by each measurement with the standard magnetic field strength value table corresponding to different distances obtained in advance through experiments or theoretical analysis. For example, the range of magnetic field strength values corresponding to the device equipped with the NFC communication module in normal working state at different distances such as 0cm, 2cm, 5cm, 8cm, 10cm has been measured to form a standard magnetic field strength value table. When the actual measured magnetic field strength value falls within the range of magnetic field strength values on a certain date, the induction distance value between the current electronic atomization device and other electronic devices can be roughly estimated.
[0215] When a Bluetooth module is used as a near-field communication method, the strength of the wireless signal emitted by the Bluetooth communication module gradually decays as the distance from the receiving device increases when the Bluetooth communication module is working. Based on this characteristic, the sensing distance between the electronic atomization device and other electronic devices can be estimated by measuring the strength of the received Bluetooth signal and combining it with the known Bluetooth signal propagation model and related parameters.
[0216] The Bluetooth communication module of the electronic atomization device is equipped with a circuit or sensor specifically used to measure the strength of the received Bluetooth signal, which is used to sample and measure the received Bluetooth signal strength at a certain frequency (for example, every 50 milliseconds) to obtain the real-time signal strength value. By substituting the actual measured signal strength value into the formula corresponding to the propagation model, the sensing distance value between the electronic atomization device and other electronic devices can be estimated through calculation.
[0217] The near-field communication module continuously detects the sensing distance value between the electronic atomization device and other electronic devices, and compares it with the preset distance threshold. Optionally, the preset distance threshold is pre-set according to the device application scenario and the performance characteristics of the near-field communication module. For example, for situations where close-range interaction mainly relies on the NFC communication module and the interaction process is desired to be convenient and fast, the preset distance threshold can be set to 8cm. This means that when the sensing distance value between the electronic device and the other electronic device is detected to be less than 8cm, it is considered that the two devices are close enough and an attempt can be made to establish a near-field sensing connection for subsequent interactive operations.
[0218] When the sensing distance value is detected to be less than the preset distance threshold, the NFC communication modules of both devices will send and receive some specific connection requests and confirmation signals again through the antenna. For example, one device sends a connection request signal containing basic information such as its own device ID. After receiving it, the other device will parse the signal. If it is confirmed that the other device is interactive and it is willing to interact (this may involve checking the current status of its own device, such as whether it is in an interactive state, whether the battery is sufficient, etc.), it will send a confirmation signal back to the other device. After receiving the confirmation signal from the other party, the two devices have officially established a near-field induction connection, and can start subsequent interactive operations such as obtaining interactive signals and parsing instructions.
[0219] Similarly, when the sensing distance value is detected to be less than the preset distance threshold, the Bluetooth device starts the Bluetooth pairing process. First, one device sends a Bluetooth pairing request signal, which contains its own device ID and other information. After receiving it, the other device parses the signal to determine whether to accept the pairing request. If accepted, the two devices exchange information such as encryption keys to complete the pairing process, thereby establishing a near-field sensing connection. Subsequent interactive operations can then be performed.
[0220] Through the implementation of these functions of the near-field communication module, the electronic atomization device can accurately detect the sensing distance value between other electronic devices and establish a near-field sensing connection when the distance meets the conditions, laying the foundation for effective interaction between devices.
[0221] In a possible implementation, the near-field communication module is also used to detect the sensing distance value between the electronic atomization device and any other electronic device, wherein the near-field communication module includes: a Bluetooth communication module and / or an NFC communication module.
[0222] In the example of this application, by setting a Bluetooth communication module and / or an NFC communication module in the electronic atomization device as a means of near-field communication, a variety of options are provided for interaction between devices. Different user scenarios and needs can be met by selecting appropriate communication modules. For example, the NFC communication module has the characteristics of convenient and fast connection establishment, which is suitable for close-range and immediate interaction needs, such as quickly initiating battle invitations or sharing settings when two electronic atomization devices are close to each other. There is no need for a complicated pairing process. As long as they are close to each other within the effective distance (generally within 10 cm), they can automatically sense and connect.
[0223] The Bluetooth communication module has a relatively longer effective communication distance (usually up to several meters or even farther, depending on factors such as the Bluetooth version), and is suitable for some situations where interaction needs to be carried out at a slightly longer distance. For example, in the same room, users do not want to place two electronic atomization devices too close together, but still want to perform some interactive operations such as sharing settings or viewing the status of each other's devices. At this time, the Bluetooth communication module can play a role.
[0224] The electronic atomization device in the example of this application has both communication modules (or one of them can be selected), so that the electronic atomization device can better interact with other electronic devices of different types. Some devices may only support NFC communication, while others may prefer or only support Bluetooth communication. By providing these two options, electronic atomization devices can adapt to a wider device ecology and improve the compatibility and flexibility of interactions between devices.
[0225] In one example, the Bluetooth communication module detects the sensing distance value between other electronic devices based on the characteristic that the strength of the wireless signal attenuates as the distance increases. After the Bluetooth device transmits a wireless signal, as the distance from the receiving device increases, the signal gradually weakens during the propagation process. Inside the Bluetooth communication module of the electronic atomization device, there is a circuit or sensor specifically used to measure the strength of the received Bluetooth signal, which is used to sample and measure the received Bluetooth signal strength at a certain frequency (for example, every 50 milliseconds) to obtain a real-time signal strength value. In order to convert the measured signal strength value into a sensing distance value, it is necessary to combine the known Bluetooth signal propagation model and related parameters. These parameters include the transmission power of the Bluetooth module, antenna gain, etc. Different versions of Bluetooth modules can correspond to different propagation models, which are usually obtained through a large number of actual tests and theoretical analysis, and can more accurately reflect the relationship between Bluetooth signal strength and sensing distance in different environments.
[0226] For example, it is known that the Bluetooth module transmission power is a certain power value and the antenna gain is a certain value. After measuring the Bluetooth signal strength value at a certain moment, it is substituted into the corresponding Bluetooth signal propagation model formula (such as the free space propagation model or a modified model that is more in line with the actual situation). After calculation, the sensing distance value between the electronic atomization device and other electronic devices can be estimated.
[0227] In another example, the NFC communication module can detect the sensing distance value based on the electromagnetic induction coupling characteristics: the NFC communication module relies on the principle of electromagnetic induction coupling to achieve near-field communication, and this principle can also be used to detect the sensing distance value between other electronic devices. When two electronic atomization devices are close, their antennas interact through the magnetic field, and the magnetic field strength changes with the distance. Within a certain distance range, the closer the distance, the stronger the magnetic field strength.
[0228] In the NFC communication module of the electronic atomization device, a sensor or circuit specifically used to monitor the magnetic field strength around the antenna is provided, which is used to continuously monitor the changes in the magnetic field strength, and sample and measure the magnetic field strength at a certain frequency (for example, every 100 milliseconds) to obtain the real-time magnetic field strength value. Then, the magnetic field strength value obtained by each measurement is compared with the standard magnetic field strength value table corresponding to different distances obtained in advance through experiments or theoretical analysis. For example, the range of magnetic field strength values corresponding to the electronic atomization device in normal working state when the date is 0cm, 2cm, 5cm, 8cm, 10cm and other different distances has been measured to form a standard magnetic field strength value table. When the actual measured magnetic field strength value falls within the range of magnetic field strength values on a certain date, the induction distance value between the current electronic atomization device and other electronic devices can be roughly estimated.
[0229] Through the above-mentioned optional implementation method, by utilizing the respective characteristics of the Bluetooth communication module and / or the NFC communication module to detect the sensing distance value, the electronic atomization device can more flexibly and accurately judge the distance relationship with other electronic devices, thereby better realizing the interactive connection and subsequent interactive operations between devices.
[0230] In a possible implementation, the electronic atomization device further includes:
[0231] The parsing module is used to obtain the data content carried in the above-mentioned interactive signal; and parse the above-mentioned data content according to a preset interactive protocol and a preset encoding rule to obtain the above-mentioned interactive instruction information.
[0232] Optionally, the above data content includes: a header identifier, instruction content and a verification part. The above preset interaction protocol specifies the encoding method of the header identifier corresponding to different types of interaction signals. The above preset encoding rules specify the specific encoding format of each parameter in the instruction content.
[0233] During the interaction process of the electronic atomization device, the parsing module is mainly used to conduct in-depth analysis of the interactive signals received by the acquisition module. Through a series of processing steps, valuable information is extracted from the interactive signals, and converted into interactive instruction information that the electronic atomization device can understand and perform subsequent operations based on established rules.
[0234] First, the parsing module works closely with the acquisition module. The acquisition module is used to receive the interactive signal output from other electronic devices and pass it to the parsing module in a suitable form (such as a digital signal form after filtering, amplification, demodulation, etc.). Since the data content carried in the interactive signal includes the header identification, instruction content and verification part, the parsing module will extract these data contents according to the established format and structure of the interactive signal. Usually, the interactive signal will have a certain organization method. For example, the header identification part may occupy the first several bits (such as the first 8 bits), followed by the instruction content part (occupying the middle several bits, the specific number of bits depends on different instruction types and parameter settings), and finally the verification part (occupying the last several bits, such as the last 16 bits). The parsing module accurately extracts the three data contents of the header identification, instruction content and verification part from the interactive signal by identifying the characteristics of these parts such as the position and length in the signal.
[0235] The interactive instruction information is obtained by parsing the data content according to the preset interactive protocol and preset coding rules: the preset interactive protocol specifies the coding method of the header identifier corresponding to different types of interactive signals. The parsing module will pre-store a header identifier coding table, which records in detail various possible interaction types (such as "invite game battle", "share settings", "check the other party's device status", etc.) and their corresponding header identifier codes.
[0236] After extracting the header identifier from the interaction signal, the parsing module compares it with the coding table. For example, the header identifier code of "Invite Game Battle" can be "0x11" in hexadecimal, and the header identifier code of "Shared Settings" can be "0x22", etc. By finding the matching code, the specific interaction type represented by the interaction signal can be determined. For example, if the extracted header identifier code is "0x11", it can be determined that the interaction signal is an interaction signal for issuing a game invitation.
[0237] After determining the type of interaction signal, the instruction content is then parsed. The preset coding rules specify the specific coding format of each parameter in the instruction content. The parameters contained in the instruction content are different for different interaction types. Taking "invite to a game battle" as an example, the instruction content may include parameters such as the ID of the inviting device, battle mode (such as time-limited battle, points battle, etc.). For the device ID, there may be a specific coding format, such as hexadecimal encoding, and the first few digits represent a certain attribute of the device, and the last few digits represent another attribute, etc.; for the battle mode, there are also corresponding coding methods, such as "limited time battle" is encoded as binary "01", "points battle" is encoded as "10", etc.
[0238] According to these specific encoding formats, the parameters of the instruction content are decoded one by one to clarify the specific meaning of each parameter. For example, by decoding, the ID of the inviting device is known, and which battle mode is used in this battle, etc., so that the complete instruction content information is obtained.
[0239] Finally, the verification part is used to verify the entire parsing process. The role of the verification part is to ensure that the interactive instruction information obtained by parsing is accurate and reliable. For example, the verification method is usually to calculate the extracted data content such as the header identifier and instruction content according to a predetermined verification algorithm (which is also part of the preset interactive protocol) to obtain a verification value. This verification value is then compared with the verification value directly extracted from the verification part of the interactive signal. If the two verification values are equal, it means that the parsing process is correct, and the obtained interactive instruction information is reliable and can be used for subsequent logical judgment and other operations; if the two verification values are not equal, it means that an error may have occurred in the parsing process. At this time, it may be necessary to re-acquire and parse the interactive signal, or prompt the user that there is a signal transmission problem.
[0240] Through the above optional methods, the parsing module can accurately extract data content from the interaction signal, and parse it into interaction instruction information according to the preset interaction protocol and preset encoding rules, laying the foundation for the subsequent logic judgment module to perform logical judgment based on these instruction information, generate interaction operation information and other operations.
[0241] In a possible implementation, the electronic atomization device further includes:
[0242] The power sensor is used to obtain the current power value of the above-mentioned electronic atomization device.
[0243] The storage setting module is used to obtain the current atomization parameters of the above-mentioned electronic atomization device, and the above-mentioned current atomization parameters include at least one of the following: atomization concentration, atomization flavor, and atomization time.
[0244] The status monitoring module is used to obtain the current operating status of the above-mentioned electronic atomization device, and the above-mentioned current operating status includes at least one of the following: normal operating status, abnormal operating status, and firmware upgrade in progress.
[0245] Optionally, in the example of the present application, the power sensor in the electronic atomization device is mainly used to monitor and obtain the current power value of the device in real time. The current power value is very critical for the normal operation of the electronic atomization device and decision-making when interacting with other devices (such as determining whether there is enough power to perform certain interactive operations).
[0246] In an optional example, the electronic atomization device is equipped with a power sensor to monitor the battery power status. For example, by detecting the battery voltage, current and other parameters, and according to the specific electrical characteristic curve of the battery (different types of batteries have their corresponding voltage-power, current-power and other relationship curves), the remaining power of the battery is calculated.
[0247] For example, for lithium-ion batteries, their voltage will show a certain change pattern under different power states. When the battery is fully charged, the voltage is in a relatively high stable value range; as the power is consumed, the voltage will gradually decrease. The power sensor can monitor this voltage change in real time, and based on the lithium-ion battery voltage-power correspondence table pre-stored in the device (this is based on the standard electrical characteristics of the battery after a lot of testing and data analysis), the monitored voltage value is converted into the corresponding power percentage value, thereby obtaining the current power value of the electronic atomization device.
[0248] In another optional example, the storage setting module of the electronic atomization device is mainly used to store various setting parameters of the device by the user, such as the current atomization parameters. When the user sets the parameters such as atomization concentration, atomization flavor, and atomization duration through the human-computer interaction interface of the electronic atomization device (such as through buttons, touch screens, etc.), the electronic atomization device stores these setting values in the storage setting module. For example, the user adjusts the slider icon of the atomization concentration through the touch screen, and the electronic atomization device records the specific concentration value selected by the user (which can be expressed in digital form, such as a concentration value of 3 mg / ml, etc.) in the corresponding storage location in the storage setting module.
[0249] In order to obtain the current atomization parameters, the relevant software program or control chip of the electronic atomization device reads these parameter values from the storage setting module regularly (for example, at regular time intervals, such as 10 seconds). For example, for the atomization concentration, directly read the concentration value recorded in the storage location; for the atomization flavor, you can read a code value representing the flavor (different flavors correspond to different codes, such as strawberry flavor is coded as 01, mint flavor is coded as 02, etc.), and then convert it into a specific flavor name according to the pre-stored flavor coding table; for the atomization time, also read the time value recorded in the storage location (such as the set atomization time of 5 minutes, the value read is 5).
[0250] In another optional example, the status monitoring module of the electronic atomization device can be composed of a variety of sensors and related monitoring circuits, which is used to comprehensively monitor the operating status of the device. For example, it can include a temperature sensor for monitoring the temperature of key components inside the device (such as the atomization core, etc.); it can also include some circuit status monitors for detecting whether the device circuit is working normally, and whether there are abnormal conditions such as short circuit, open circuit, etc.
[0251] For example, the temperature sensor will monitor the temperature of the atomizer core in real time. When the temperature of the atomizer core exceeds a certain safety threshold (which is determined according to the design and material characteristics of the device, such as 80°C), it indicates that the device is in an abnormal operating state. The status monitoring module continuously detects parameters such as current and voltage in the circuit. If a sudden interruption of current or abnormal voltage fluctuation is found, it can also determine that there may be problems with the electronic atomization device.
[0252] The status monitoring module comprehensively analyzes the information collected by each sensor and monitoring circuit. For example, if the temperature monitored by the temperature sensor is within the normal range (such as below 80°C), the status monitoring module detects that the circuit is working normally, and it can be determined that the electronic atomization device is in normal operation. If the temperature monitored by the temperature sensor exceeds the safety threshold, or the status monitoring module detects that the circuit is abnormal (such as short circuit, open circuit, etc.), it can be determined that the electronic atomization device is in an abnormal operating state.
[0253] In addition, when the electronic atomization device is undergoing a firmware upgrade, the electronic atomization device will set a specific upgrade status identifier internally (which can be a binary value stored in a specific location, such as 0 for not upgraded and 1 for upgrading). The status monitoring module can determine whether the device is undergoing a firmware upgrade by reading this identifier value.
[0254] Through the above different implementation methods, the electronic atomization device can accurately obtain local device information, including the current power value, current atomization parameters, and current operating status, so as to facilitate subsequent logical judgments based on the interactive command information, generate interactive operation information, and other operations.
[0255] In a possible implementation, the above logic judgment module includes:
[0256] The acquisition submodule is used to acquire the logic judgment rules corresponding to the above-mentioned interaction instruction information, wherein the above-mentioned logic judgment rules are pre-set based on the application scenario and interaction function of the above-mentioned electronic atomization device.
[0257] The judgment submodule is used to perform logical judgment on the local device information and the interactive instruction information according to the logical judgment rule to obtain the interactive operation content and the interactive operation sequence.
[0258] The generating submodule is used to obtain the above-mentioned interactive operation information according to the above-mentioned interactive operation content and interactive operation sequence.
[0259] Optionally, in one example, during the development of an electronic atomization device, the logic judgment module pre-sets a series of comprehensive and reasonable logic judgment rules based on its expected application scenarios (such as social interaction scenarios, device collaboration scenarios, etc.) and the interactive functions to be implemented (such as game interaction functions, game battle functions, shared setting functions, etc.).
[0260] For example, in a social interaction scenario, if the electronic atomization device is set with the interactive function of "invite to game battle", the corresponding logical judgment rule can be: if the local device power is higher than a certain threshold (such as 30%), the current atomization parameters are within a reasonable range (such as the atomization concentration is not higher than a certain set value, so as not to affect the fairness of the battle) and the device is not in a special state (such as firmware upgrades, troubleshooting, etc.), then it is determined that the game battle invitation can be accepted; otherwise, the game battle invitation is rejected.
[0261] For the shared settings function, the logical judgment rules can be: if the current atomization parameters of the local device are not much different from the requirements in the received shared settings instructions (the specific allowable range of differences can be set), then the settings of the local device are adjusted directly according to the instructions, and a corresponding dynamic display image is generated to reflect the changes in the settings; if the difference is large, the user is prompted to make further confirmation before deciding whether to adjust the settings.
[0262] Optionally, these pre-set logic judgment rules will be stored in the storage unit (such as flash memory, etc.) of the electronic atomization device, and an effective indexing mechanism will be established so that the corresponding logic judgment rules can be quickly found according to the received interactive instruction information. For example, an index directory can be established according to the type of interactive instruction (such as "invite game battle" and "shared settings", etc.). After receiving a specific interactive instruction information, the corresponding logic judgment rule can be quickly located by searching the index directory, thereby preparing for subsequent logical judgment operations.
[0263] According to the logic judgment rules, logical judgment is performed on the local device information and the interaction instruction information to obtain the interaction operation content and the interaction operation sequence. For example, first, the local device information of the electronic atomization device (including the current power value, the current atomization parameters, the current operating status, etc.) and the parsed interaction instruction information (such as the inviter device ID, the battle mode and other specific parameters in the "invite game battle" instruction) are integrated as the input data of the logic judgment module. The logic judgment module can be a built-in software program in the device or a logic processing unit in a chip, etc., which is used to perform a comprehensive and integrated analysis of these input data according to pre-set logic judgment rules.
[0264] For each received interactive command, the logic judgment module will check whether the various conditions of the local device meet the conditions for executing the interactive command according to the corresponding logic judgment rules. Taking the "Invite Game Battle" command as an example, if the logic judgment rule requires that the local device power is higher than 30%, the logic judgment module will check whether the current local device power value obtained is higher than 30%; if the logic judgment rule also requires that the current atomization parameters are within a reasonable range, further check whether the atomization concentration, atomization flavor, etc. in the current atomization parameters meet the set reasonable range requirements.
[0265] The specific interactive operation content is determined based on the results of logical judgment. For example, if it is determined that the electronic atomization device accepts the "invite game battle" instruction, the interactive operation content may include: entering the battle preparation state, controlling the display animation of the human-computer interaction UI interface to adjust to the battle-related style (such as displaying the battle countdown, comparing the power of both devices, etc.), and setting battle-related parameters (such as setting the initial atomization concentration according to the requirements of the inviting device, etc.).
[0266] At the same time, the order of interactive operations must be clarified. In the above optional examples, one optional operation order is: first adjust the display effect of the human-computer interaction UI interface so that users can see the relevant prompt information of the battle in time; then set the battle-related parameters so that the electronic atomization device enters the battle preparation state in the correct order.
[0267] Finally, the determined interactive operation content and interactive operation sequence are sorted out to form complete interactive operation information, and output to the relevant modules of the electronic atomization device (such as the human-computer interaction interface display module, device control module, etc.), so that corresponding operations can be performed according to the interactive operation information, such as displaying this information in a dynamic effect image style on the human-computer interaction interface, or executing the relevant settings and control operations of the device according to the operation sequence.
[0268] Through the above optional implementation methods, logical judgment can be made based on the local device information and interaction command information of the electronic atomization device to obtain complete interactive operation information, laying the foundation for achieving effective interaction between devices and improving user experience.
[0269] In a possible implementation, the acquisition module includes:
[0270] The signal receiving circuit is connected to the near field communication module and is used to obtain the interactive signal output by the other electronic devices according to the preset signal receiving frequency and bandwidth.
[0271] Inside the electronic atomization device, there is a close physical connection between the near-field communication module (such as the NFC communication module, Bluetooth module, etc. used to implement the near-field communication function) and the dedicated signal receiving circuit to ensure that the weak radio frequency signal received by the near-field communication module can be smoothly transmitted to the signal receiving circuit for subsequent processing.
[0272] For example, the output pin of the near field communication module is connected to the input pin of the signal receiving circuit through the wire on the printed circuit board (PCB). It should be understood that this connection method must ensure the stability and low loss of signal transmission, and usually adopts appropriate wiring technology and high-quality wire materials to reduce signal attenuation and interference during transmission.
[0273] In the example of this application, the preset signal receiving frequency is determined according to the adopted near-field communication technology standard and the specific interaction requirements of the electronic atomization device. Different near-field communication technologies (such as NFC communication modules and Bluetooth) have their own typical operating frequency ranges. The setting of the bandwidth takes into account factors such as the spectral characteristics of the interactive signal and the amount of signal information to be received. For example, a wider bandwidth can receive signals with more frequency components, thereby capturing richer information, but it may also introduce more noise and interference; a narrower bandwidth is the opposite. Although the anti-interference ability may be slightly stronger, it may miss some signal information.
[0274] For example, in the application scenario of the NFC communication module of the electronic atomization device, if it is mainly for simple command interaction (such as inviting game battles, sharing settings, etc.), a relatively narrow bandwidth can be set, such as about 1MHz, because the spectrum of these command signals is relatively concentrated around 13.56MHz and the amount of information is relatively limited. However, if you need to receive some more detailed device status information (such as the power of the other device, atomization parameters, etc.), you may need to appropriately widen the bandwidth, such as setting it to 2MHz to 3MHz, to ensure that these information-rich signals can be fully received.
[0275] Once the near-field communication module is connected to the signal receiving circuit and the signal receiving frequency and bandwidth are preset, the signal receiving circuit starts working according to the set parameters, for example, continuously monitoring the radio frequency signals within the corresponding frequency and bandwidth range in the surrounding environment. When other electronic devices send interactive signals (these signals are within the set frequency and bandwidth range), the signal receiving circuit receives these interactive signals through its antenna (an antenna shared with the near-field communication module or an antenna specially configured for the signal receiving circuit).
[0276] For example, when the electronic atomization device is close to a certain distance from another electronic device that also has near-field communication function (such as within the effective communication distance of the NFC communication module), the interaction signal sent by the other device is captured by the signal receiving circuit of the electronic atomization device, and then enters the next signal processing stage, such as filtering, amplification, demodulation, etc., in order to convert it into a digital signal form that can be further understood and processed by the device.
[0277] Through the above method, the electronic atomization device can effectively obtain the interactive signals output by other electronic devices according to the preset signal receiving frequency and bandwidth through the signal receiving circuit connected to the near-field communication module, providing a basis for subsequent analysis, logical judgment and other operations.
[0278] In one possible implementation, the near-field communication module is specifically used for: if the sensing distance fluctuation value between the electronic atomization device and any other electronic device is detected to be greater than a preset fluctuation threshold value for multiple consecutive times, the distance detection is suspended, and the near-field communication module is self-checked and signal calibrated; after the near-field communication module is self-checked and signal calibrated, the distance detection is restarted until the sensing distance value is detected.
[0279] Inside the electronic atomization device, there is a close physical connection between the near-field communication module (such as the NFC communication module, Bluetooth module, etc., which are used to implement the near-field communication function) and the dedicated signal receiving circuit. This connection ensures that the weak radio frequency signal received by the near-field communication module can be smoothly transmitted to the signal receiving circuit for subsequent processing.
[0280] For example, the output pin of the near field communication module is connected to the input pin of the signal receiving circuit through the wire on the printed circuit board (PCB). It should be understood that this connection method must ensure the stability and low loss of signal transmission, and usually adopts appropriate wiring technology and high-quality wire materials to reduce signal attenuation and interference during transmission.
[0281] In the example of this application, the preset signal receiving frequency is determined according to the adopted near-field communication technology standard and the specific interaction requirements of the electronic atomization device. Different near-field communication technologies (such as NFC communication modules and Bluetooth) have their own typical operating frequency ranges. The setting of the bandwidth takes into account factors such as the spectral characteristics of the interactive signal and the amount of signal information to be received. For example, a wider bandwidth can receive signals with more frequency components, thereby capturing richer information, but it may also introduce more noise and interference; a narrower bandwidth is the opposite. Although the anti-interference ability may be slightly stronger, some signal information may be missed.
[0282] For example, in the application scenario of the NFC communication module of the electronic atomization device, if it is mainly for simple command interaction (such as inviting game battles, sharing settings, etc.), a relatively narrow bandwidth can be set, such as about 1MHz, because the spectrum of these command signals is relatively concentrated around 13.56MHz and the amount of information is relatively limited. However, if you need to receive some more detailed device status information (such as the power of the other device, atomization parameters, etc.), you may need to appropriately widen the bandwidth, such as setting it to 2MHz to 3MHz, to ensure that these information-rich signals can be fully received.
[0283] Once the near-field communication module is connected to the signal receiving circuit and the signal receiving frequency and bandwidth are preset, the signal receiving circuit will start working according to the set parameters. For example, it will continuously monitor the radio frequency signals within the corresponding frequency and bandwidth range in the surrounding environment. When other electronic devices send interactive signals (these signals are within the set frequency and bandwidth range), the signal receiving circuit will receive these interactive signals through its antenna (the antenna shared with the near-field communication module or the antenna specially configured for the signal receiving circuit).
[0284] For example, when the electronic atomization device is close to a certain distance from another electronic device that also has near-field communication function (such as within the effective communication distance of the NFC communication module), the interaction signal sent by the other device will be captured by the signal receiving circuit of the electronic atomization device, and then enter the next signal processing stage, such as filtering, amplification, demodulation, etc., in order to convert it into a digital signal form that can be further understood and processed by the device.
[0285] Through the above optional implementation methods, the electronic atomization device can effectively obtain the interactive signals output by other electronic devices according to the preset signal receiving frequency and bandwidth through the signal receiving circuit connected to the near-field communication module, thereby providing a basis for subsequent analysis, logical judgment and other operations.
[0286] It should be noted that the electronic atomization device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the electronic atomization device is divided into different functional modules to complete all or part of the functions described above.
[0287] The functional units and modules in the above embodiments may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit, and the above integrated units may be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present application.
[0288] It should be noted that the information interaction, execution process, etc. between modules / units in the above-mentioned electronic atomization device are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0289] An embodiment of the present application further provides an electronic device, the electronic device comprising one or more processors and a memory;
[0290] The memory is coupled to one or more processors, and the memory is used to store computer program codes, the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the interactive control method shown above.
[0291] Figure 7 The schematic diagram of the structure of an electronic device provided in the embodiment of the present application, the electronic device 700 can be a mobile phone, a smart screen, a tablet computer, a wearable electronic device, an in-vehicle electronic device, an augmented reality (AR) device, a virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a projector, or a communication device such as a server, a storage device, a base station, or a smart car, etc. The embodiment of the present application does not impose any restrictions on the specific type of the electronic device.
[0292] The memory 701 can be used to store computer software programs 702 and modules, and the processor 703 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 701. The memory 701 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the memory 701 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0293] Among them, the processor 703 may include one or more processors such as a central processing unit, an application processor (AP), a baseband processor, etc. The processor may be the nerve center and command center of the wireless router. The processor 703 may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions. The memory 701 may be used to store computer executable program codes, and the executable program codes include instructions. The processor 703 executes various functional applications and data processing of the network device by running the instructions stored in the memory. The memory 701 may include a program storage area and a data storage area, such as storing data of a sound signal to be played. For example, the memory may be a double rate synchronous dynamic random access memory DDR or a flash memory Flash.
[0294] An embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored; when the computer-readable storage medium is executed on an electronic device, the electronic device executes the interactive control method shown above.
[0295] The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium, or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
[0296] The embodiment of the present application also provides a computer program product including computer instructions. When the computer program product is run on an electronic device, the electronic device can execute the interactive control method shown above.
[0297] The computer storage medium and computer program product provided in the above-mentioned embodiments of the present application are used to execute the method provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding beneficial effects of the method provided above, and will not be repeated here.
[0298] In the above embodiments, it can also be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (such as: coaxial cable, optical fiber, data subscriber line (Digital Subscriber Line, DSL)) or wireless (such as: infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a digital versatile disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)).
[0299] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0300] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments applied for herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can 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.
[0301] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0302] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0303] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. An interactive control method, characterized in that: Applied to electronic atomization equipment, including: After establishing a near-field induction connection between the electronic atomization device and any other electronic device, obtaining an interactive signal output by the other electronic device; parsing the interaction signal to obtain interaction instruction information; Performing logical judgment based on the local device information of the electronic atomization device and the interactive instruction information to obtain interactive operation information, wherein the interactive operation information includes at least one of the following: interactive scene, interactive mode, interactive state, interactive duration, and interactive prompt; The interactive operation information is displayed in a dynamic effect image style on the human-computer interaction interface of the electronic atomization device.
2. The method according to claim 1, characterized in that The method further comprises: Detecting the sensing distance value between the electronic atomization device and any other electronic device, wherein the electronic atomization device and the other electronic device are both provided with: a near field communication module and an antenna used in conjunction with the near field communication module; In response to detecting that the sensing distance value is less than a preset distance threshold, a near-field induction connection is established between the electronic atomization device and the other electronic device.
3. The method according to claim 2, characterized in that The detecting of the sensing distance value between the electronic atomization device and any other electronic device includes: The sensing distance value between the electronic atomization device and any other electronic device is detected through the near field communication module in the electronic atomization device, wherein the near field communication module includes: a Bluetooth communication module and / or an NFC communication module.
4. The method according to claim 1, characterized in that: The step of parsing the interaction signal to obtain interaction instruction information includes: Acquire data content carried in the interactive signal, wherein the data content includes: a header identifier, instruction content, and a verification part; The data content is parsed according to a preset interaction protocol and a preset encoding rule to obtain the interaction instruction information, wherein the preset interaction protocol specifies the encoding method of the header identifier corresponding to different types of interaction signals, and the preset encoding rule specifies the specific encoding format of each parameter in the instruction content.
5. The method according to claim 1, characterized in that The method further includes obtaining local device information of the electronic atomization device in at least one of the following ways: Obtaining the current power value of the electronic atomization device through the power sensor of the electronic atomization device; Obtaining the current atomization parameters of the electronic atomization device through the storage setting module of the electronic atomization device, wherein the current atomization parameters include at least one of the following: atomization concentration, atomization flavor, and atomization duration; The current operating state of the electronic atomization device is obtained through the state monitoring module of the electronic atomization device, and the current operating state includes at least one of the following: normal operating state, abnormal operating state, and firmware upgrade in progress.
6. The method according to claim 1, characterized in that The performing of logical judgment according to the local device information of the electronic atomization device and the interactive instruction information to obtain the interactive operation information includes: Acquire a logic judgment rule corresponding to the interaction instruction information, wherein the logic judgment rule is pre-set based on the application scenario and interaction function of the electronic atomization device; Performing logical judgment on the local device information and the interactive instruction information according to the logical judgment rule to obtain interactive operation content and interactive operation sequence; The interactive operation information is obtained according to the interactive operation content and the interactive operation sequence.
7. The method according to claim 1, characterized in that The acquiring the interactive signal output by the other electronic device includes: The interactive signal output by the other electronic device is obtained according to the preset signal receiving frequency and bandwidth through the signal receiving circuit connected to the near field communication module in the electronic atomization device.
8. The method according to claim 2, characterized in that: The detecting of the sensing distance value between the electronic atomization device and any other electronic device includes: If the sensing distance fluctuation value between the electronic atomization device and any other electronic device is detected to be greater than a preset fluctuation threshold value for multiple consecutive times, the distance detection is suspended, and the near field communication module is self-checked and signal calibrated; After the near field communication module is self-checked and signal calibrated, the distance detection is restarted until the sensing distance value is detected.
9. An electronic atomization device, characterized in that: include: An acquisition module, used to acquire an interactive signal output by any other electronic device after establishing a near-field induction connection between the electronic atomization device and the other electronic device; A parsing module, used for parsing the interaction signal to obtain interaction instruction information; A logic judgment module, used for performing logic judgment according to the local device information of the electronic atomization device and the interaction instruction information to obtain interaction operation information, wherein the interaction operation information includes at least one of the following: interaction scene, interaction mode, interaction state, interaction duration, and interaction prompt; The display module is used to display the interactive operation information in the form of dynamic effect images on the human-computer interaction interface of the electronic atomization device.
10. The electronic atomization device according to claim 9, characterized in that: The electronic atomization device also includes: A near-field communication module is used to detect the sensing distance value between the electronic atomization device and any other electronic device; and in response to detecting that the sensing distance value is less than a preset distance threshold, establish a near-field induction connection between the electronic atomization device and the other electronic device; wherein the electronic atomization device and the other electronic device are both provided with: a near-field communication module and an antenna used in conjunction with the near-field communication module.
11. The electronic atomization device according to claim 10, characterized in that: The near field communication module is also used to detect the sensing distance value between the electronic atomization device and any other electronic device, wherein the near field communication module includes: a Bluetooth communication module and / or an NFC communication module.
12. The electronic atomization device according to claim 9, characterized in that: The electronic atomization device also includes: A parsing module is used to obtain the data content carried in the interactive signal; and parse the data content according to a preset interactive protocol and a preset encoding rule to obtain the interactive instruction information, wherein the data content includes: a header identifier, instruction content and a verification part, the preset interactive protocol specifies the encoding method of the header identifier corresponding to different types of interactive signals, and the preset encoding rule specifies the specific encoding format of each parameter in the instruction content.
13. The electronic atomization device according to claim 9, characterized in that: The electronic atomization device also includes: A power sensor, used to obtain the current power value of the electronic atomization device; A storage setting module, used for obtaining current atomization parameters of the electronic atomization device, wherein the current atomization parameters include at least one of the following: atomization concentration, atomization flavor, and atomization duration; The status monitoring module is used to obtain the current operating status of the electronic atomization device, and the current operating status includes at least one of the following: normal operating status, abnormal operating status, and firmware upgrade in progress.
14. The electronic atomization device according to claim 9, characterized in that: The logic judgment module includes: An acquisition submodule, used to acquire a logic judgment rule corresponding to the interaction instruction information, wherein the logic judgment rule is pre-set based on the application scenario and interaction function of the electronic atomization device; A judgment submodule, used to perform a logical judgment on the local device information and the interaction instruction information according to the logical judgment rule to obtain the interaction operation content and the interaction operation sequence; The generating submodule is used to obtain the interactive operation information according to the interactive operation content and the interactive operation sequence.
15. The electronic atomization device according to claim 10, wherein the acquisition module comprises: The signal receiving circuit is connected to the near field communication module and is used to obtain the interactive signal output by the other electronic device according to a preset signal receiving frequency and bandwidth.
16. The electronic atomization device according to claim 10, characterized in that: The near field communication module is specifically used for: If the sensing distance fluctuation value between the electronic atomization device and any other electronic device is detected to be greater than a preset fluctuation threshold value for multiple consecutive times, the distance detection is suspended, and the near field communication module is self-checked and signal calibrated; After the near field communication module is self-checked and signal calibrated, the distance detection is restarted until the sensing distance value is detected.
17. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the electronic device implements the method according to any one of claims 1 to 8.
18. A computer program product, characterized in that The invention comprises a computer program which, when executed, causes the method according to any one of claims 1 to 8 to be performed.
19. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Data synchronization method and device, atomization equipment and storage medium
CN120676445A
Interactive communication device and method, atomization equipment, electronic equipment and storage medium
CN120769336A