A control method for game and electronic cigarette signal compatibility

By dynamically adjusting the functional status of e-cigarette equipment, combined with adaptive threshold algorithm and counter technology, the problem of insufficient responsiveness and fluctuation filtering in traditional methods is solved, and a high-precision, personalized game and e-cigarette equipment control experience is achieved, improving the User experience and motivation to quit smoking.

CN118567259BActive Publication Date: 2024-10-01VAPOR TECH SHENZHEN CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411001789.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-01
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

Traditional game and e-cigarette signal compatibility methods cannot dynamically adjust according to the user's real-time performance and skill level, resulting in poor system flexibility and responsiveness, the inability to accurately trigger functions at the millisecond level, and the lack of effective filtering of short-term performance fluctuations, which affects Coherence and interactivity of user experience.

Method used

Through the central processing unit connected to the game device, performance parameters such as score, completion degree and level type are obtained, the functional status of the e-cigarette device is dynamically adjusted, adaptive threshold algorithm and counter technology are used to monitor and record user performance in real time, and generate accurate e-cigarette data. Smoking equipment triggers commands, including unlocking, power adjustment and flavor changing, filtering short-term fluctuations and improving system response speed and stability.

Benefits of technology

It achieves precise function triggering at the millisecond level, improves the coherence and interactivity of the user experience, enhances the sensitivity and adaptability of the system, provides a personalized and rich game experience, and improves the user's motivation to quit smoking and the fun of the game.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567259B_ABST
    Figure CN118567259B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of electronic cigarette control, and specifically to a control method for compatibility of game and electronic cigarette signals. In the present invention, a central processing unit is connected to a game device to obtain performance parameters in the game device, and the performance parameters include scores, completion and game level types; wherein the scores are obtained through high-precision timers and touch sensors; the completion is obtained by real-time statistics of the hit rhythm points through a hardware interrupt-driven counter, using bit operations and fixed-point mathematics; the game level type is obtained by using bit field encoding to store type information; according to the performance parameters, the functional state of the electronic cigarette device is dynamically adjusted; different electronic cigarette device trigger instructions are determined according to different functional states and scores, completion and game level types.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic cigarette control, and in particular to a control method for compatibility of game and electronic cigarette signals. Background Art

[0002] The compatibility of traditional games and e-cigarette signals usually relies on fixed thresholds and preset parameters, and cannot be dynamically adjusted according to the user's real-time performance and skill level. This results in poor system flexibility and personalized responsiveness, making it difficult to meet the needs of different users in different gaming scenarios.

[0003] Secondly, traditional methods have limited sensitivity and reaction speed in detecting and responding to user performance, and are often unable to accurately trigger functions at the millisecond level, thus affecting the consistency and interactivity of the user experience. In addition, traditional methods lack an effective filtering mechanism for short-term performance fluctuations, which may cause the system to falsely trigger instructions when temporary changes are detected, reducing the stability and reliability of instruction execution.

[0004] Finally, traditional methods usually lack intelligent threshold calculation and dynamic adjustment capabilities, and are unable to perform real-time evaluation and adjustment based on the user's historical performance and current game data, which limits the system's adaptability in different game levels and modes. Therefore, these technical problems cause traditional methods to have major deficiencies in providing personalized, smooth and interactive gaming and e-cigarette device control experiences, making it difficult to achieve deep integration and a comprehensive improvement in user experience. Summary of the invention

[0005] The object of the present invention is to provide a control method for compatibility of game and electronic cigarette signals to solve the problems raised in the above background technology.

[0006] To achieve the above-mentioned purpose, the present invention provides the following technical solution: a control method for compatibility of game and electronic cigarette signals, the method steps comprising:

[0007] S1. Establish a connection between the central processing unit and the game device to obtain performance parameters in the game device, where the performance parameters include score, completion degree and game level type; wherein:

[0008] The score is obtained through high-precision timers and touch sensors; the completion degree is obtained by real-time statistics of hit rhythm points through hardware interrupt-driven counters, using bit operations and fixed-point mathematics; the game level type is obtained by bit field encoding storage type information;

[0009] S2. Dynamically adjust the functional state of the electronic cigarette device according to the performance parameters, wherein the functional state includes a basic functional mode and an advanced functional mode; wherein:

[0010] When the score in the performance parameter reaches a preset basic game score threshold, the basic function mode is entered. In the basic function mode, whether to trigger the basic function is determined according to whether the duration of the score reaches a preset basic duration threshold, and a corresponding electronic cigarette device trigger instruction is generated;

[0011] When the score in the performance parameter reaches a preset advanced game score threshold, the electronic cigarette device is triggered to switch from the basic function mode to the advanced function mode. In the advanced function mode, different advanced functions are dynamically triggered according to the score, completion degree and game level type, and an electronic cigarette device trigger instruction is generated;

[0012] S3. Convert and adapt the instructions according to the triggering instructions of the electronic cigarette device.

[0013] As a further improvement of the present technical solution, the basic game score threshold and the advanced game score threshold use an adaptive threshold algorithm to dynamically calculate the performance demarcation point. Specifically, by collecting historical performance parameter data of users and real-time data of current game sessions, using sliding window technology and exponentially weighted moving average method, the threshold is continuously adjusted, and a comprehensive evaluation is performed through a neural network model. Finally, two floating-point values ​​are output as performance demarcation points for triggering the basic function mode and the advanced function mode.

[0014] As a further improvement of the present technical solution, the basic functional mode includes unlocking and locking functions of the electronic cigarette.

[0015] As a further improvement of the present technical solution, the advanced functional modes include flavor change, power adjustment and extended usage time.

[0016] As a further improvement of the technical solution, the determination of whether to trigger the basic function according to whether the duration of the score reaches a preset basic duration threshold specifically includes:

[0017] In the basic function mode, the functional state of the electronic cigarette device is initially locked; the score in the performance parameter is checked once a second, and a basic counter is used to record the number of times the user reaches the basic game score threshold continuously. When it is detected that the score reaches or exceeds the basic game score threshold, the basic counter is increased by 1; if the score is lower than the basic game score threshold, the basic counter is reset to 0;

[0018] A predetermined basic duration threshold is set; a timer is used to record the time the user maintains the basic score threshold. When the value in the basic counter is not 0, the timer is started, and when the time of the timer reaches or exceeds the basic duration threshold, the unlocking function is triggered, and the unlocking function is used as a trigger instruction to generate a corresponding electronic cigarette device trigger instruction; otherwise, the locking function is continuously maintained.

[0019] As a further improvement of the technical solution, different advanced functions are dynamically triggered according to the score, completion degree and game level type, and an electronic cigarette device trigger instruction is generated, wherein the power adjustment trigger condition in the advanced function specifically includes:

[0020] Check the score in the performance parameter once every second, use a power counter to record the number of times the user reaches the advanced game score threshold in succession, and when it is detected that the score reaches or exceeds the advanced game score threshold, the power counter is increased by 1; if the score is lower than the advanced game score threshold, the power counter is reset to 0;

[0021] When the value in the power counter is not 0, a predetermined power count threshold is set. When the value in the power counter reaches or exceeds the power count threshold, the power increase function is triggered, and the power increase function is used as a trigger instruction to generate a corresponding electronic cigarette device trigger instruction. The increased power ratio is the size of the power counter multiplied by 100%, until the value in the power counter is less than the power count threshold or the power reaches the maximum rated power.

[0022] As a further improvement of the technical solution, the time extension triggering conditions in the advanced function specifically include:

[0023] Check the user's game completion every 5 seconds, and use a completion counter to record the number of times the user has reached 80% completion in a row. When the completion is detected to be at or above 80%, the completion counter is incremented by 1; if the completion is less than 80%, the completion counter is reset to 0;

[0024] A predetermined completion duration threshold is set. When the completion counter reaches or exceeds the completion duration threshold, the time extension function is triggered, and the time extension function is used as a trigger instruction to generate a corresponding electronic cigarette device trigger instruction until the value in the completion counter is 0.

[0025] As a further improvement of the technical solution, the taste change triggering conditions in the advanced function specifically include:

[0026] According to the game level type and the corresponding trigger conditions, the taste change is triggered; the level type is defined, including standard mode, limited time mode and endless mode, and the game level type is checked every time a new level is entered, and specific trigger conditions are set according to different level types, including:

[0027] Triggering conditions for standard mode: Each time a standard mode level is completed, the standard counter is incremented by 1, and a standard completion threshold is set. When the standard counter reaches or exceeds the standard completion threshold, the flavor switching function is triggered, and the flavor switching function is used as a trigger instruction to generate the corresponding electronic cigarette device trigger instruction;

[0028] Time-limited mode: Use a time-limited timer to record the time it takes for the user to complete a level in time-limited mode, set a predetermined time-limited time threshold, and when the time-limited timer reaches or exceeds the time-limited time threshold, trigger the flavor switching function;

[0029] Endless mode: Use an endless timer to record the duration of the user in the endless mode, set a predetermined endless duration threshold, and trigger the flavor switching function when the timer reaches or exceeds the endless duration threshold;

[0030] After the flavor switching function is triggered, the flavor switching function is used as a trigger instruction to generate a corresponding electronic cigarette device trigger instruction, wherein the flavor switching is a random flavor switching.

[0031] As a further improvement of the technical solution, the electronic cigarette device triggers the instruction, and performs instruction conversion and adaptation, specifically including:

[0032] Command classification and standardization: Classify the trigger commands of e-cigarette devices into the following categories: unlock / lock, power adjustment, extended use time and flavor switching; create a standardized format for each type of command, including command type, parameters and timestamp;

[0033] Unlock / lock command: converted into switch command;

[0034] Power adjustment instruction: converted into specific power value;

[0035] Time extension instruction: converted into a specific time extension value;

[0036] Flavor switching instructions: converted into random flavor switching codes;

[0037] Protocol adaptation: According to the communication protocol of the target e-cigarette device, the standardized instructions are encapsulated into a suitable data packet format, and the necessary header information, checksum and terminator are added.

[0038] Compared with the prior art, the present invention has the following beneficial effects:

[0039] 1. A control method for compatibility of game and electronic cigarette signals. Through the use of basic counters, power counters and completion counters, the system can accurately monitor and record the real-time performance of users, and dynamically adjust the functional status of electronic cigarette devices according to these data; this design not only improves the sensitivity and response speed of the system, enabling it to accurately trigger different functions at the millisecond level, but also increases the consistency and interactivity of the user experience; the inspection frequency per second and real-time data processing ensure that every time the user reaches a specific performance parameter, the system can record and respond in time to provide instant feedback; in addition, the reset mechanism of the counter enables the system to effectively filter out short-term performance fluctuations and ensure the stability and reliability of the trigger command; this high-precision, high-real-time counter design enables the system to perform well in dealing with complex user behaviors and diverse game scenarios, ultimately improving the overall user experience.

[0040] 2. This control method for game and electronic cigarette signal compatibility helps to improve users' motivation to quit smoking by combining the interactivity of the game with the functional adjustment of the electronic cigarette device; specifically, when the user's performance in the game reaches the preset basic game score threshold, the electronic cigarette device will enter the basic function mode and provide some basic rewards, such as unlocking functions. This instant positive feedback mechanism can motivate users to continue working hard in the game, thereby indirectly reducing their dependence on traditional cigarettes; when the user's performance is further improved and reaches the advanced game score threshold, the electronic cigarette device will switch to the advanced function mode and provide more attractive rewards, such as power adjustment, flavor change and extended use time. These advanced functions can not only increase the fun of the game, but also provide users with a richer user experience, thereby further improving their motivation to quit smoking and making the user's smoking cessation process more interesting.

[0041] 3. The application of the adaptive threshold algorithm in the control method for compatibility of game and electronic cigarette signals brings significant advantages to the interaction between games and electronic cigarette devices; it can dynamically adjust the threshold according to the unique performance and skill level of each user to ensure the personalization and challenge of the game experience; by analyzing the user's performance data in real time, the system can more accurately judge the user's game level, thereby triggering the corresponding electronic cigarette function mode at the appropriate time. This not only improves the consistency and fluency of the user experience, but also motivates users to continuously improve their gaming skills. In addition, since the threshold is dynamically adjusted, the system can better cope with game levels of different difficulties and different types of game modes, keeping the game interesting and attractive; this intelligent threshold calculation method ultimately achieves a deep integration of the game experience and the electronic cigarette usage experience, providing users with a richer, interactive and personalized comprehensive experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1It is a schematic diagram of the method steps of the present invention. DETAILED DESCRIPTION

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

[0044] See also Figure 1 The present invention provides a technical solution: a control method for compatibility of game and electronic cigarette signals, comprising the following method steps:

[0045] S1. Establish a connection between the central processing unit and the game device to obtain performance parameters in the game device, where the performance parameters include score, completion degree and game level type; wherein:

[0046] The score is obtained through high-precision timers and touch sensors; the completion degree is obtained by real-time statistics of hit rhythm points through hardware interrupt-driven counters, using bit operations and fixed-point mathematics; the game level type is obtained by bit field encoding storage type information;

[0047] S2. Dynamically adjust the functional state of the electronic cigarette device according to the performance parameters, wherein the functional state includes a basic functional mode and an advanced functional mode; wherein:

[0048] When the score in the performance parameter reaches a preset basic game score threshold, the basic function mode is entered. In the basic function mode, whether to trigger the basic function is determined according to whether the duration of the score reaches a preset basic duration threshold, and a corresponding electronic cigarette device trigger instruction is generated;

[0049] When the score in the performance parameter reaches a preset advanced game score threshold, the electronic cigarette device is triggered to switch from the basic function mode to the advanced function mode. In the advanced function mode, different advanced functions are dynamically triggered according to the score, completion degree and game level type, and an electronic cigarette device trigger instruction is generated;

[0050] S3. Convert and adapt the instructions according to the triggering instructions of the electronic cigarette device.

[0051] Specifically include:

[0052] S1. Real-time monitoring of the user's performance parameters in the rhythm game, wherein the performance parameters include score, completion degree and game level type, specifically including:

[0053] Scoring: A high-precision timer is used to record the timestamp of each touch input with millisecond accuracy. The touch sensor detects the user's touch input and transmits the touch coordinate information to the central processing unit. The central processing unit compares the touch coordinates with the predefined rhythm point position and calculates the spatial distance between the touch point and the nearest rhythm point. At the same time, the central processing unit compares the timestamp of the touch input with the preset rhythm point time and calculates the time deviation. Combining the spatial distance and time deviation, an accuracy coefficient between 0 and 100 is assigned to each touch input. A continuous counter is used to record the number of consecutive times that the accuracy coefficient is higher than the accuracy value threshold, which is used to calculate the number of combos. The final score = basic score * accuracy coefficient + number of combos.

[0054] The degree of completion is calculated by using a hardware interrupt-driven counter to count the number of rhythm points hit in real time, record the total number of rhythm points in each level and the number of rhythm points hit by the user, and use bit operations and fixed-point mathematics to optimize percentage calculations to express the user's degree of completion in percentage form;

[0055] Game level type recognition is implemented based on a predefined data structure and coding system. Each level is encoded as a different type, including standard mode, limited time mode, and endless mode. Every time the system enters a new level, it detects the type and difficulty of the current level through a state machine and sensors.

[0056] S2. The functional status of the electronic cigarette device includes basic functional mode and advanced functional mode, where:

[0057] Basic function mode: the standard working state of the electronic cigarette, providing basic functions, including unlocking and locking functions of the electronic cigarette;

[0058] Advanced Function Mode: An enhanced working state of the electronic cigarette, providing advanced functions, including flavor change, power adjustment and extended use time.

[0059] Dynamically adjust the functional status of the electronic cigarette device according to the performance parameters, including:

[0060] Set a predetermined base game score threshold, such as 1000 points;

[0061] When the user's real-time score in the rhythm game reaches or exceeds the basic game score threshold, the basic function mode is triggered;

[0062] In the basic function mode, the functional state of the electronic cigarette device is initially locked; the score in the performance parameter is checked once a second, and a basic counter is used to record the number of times the user reaches the basic game score threshold continuously. When it is detected that the score reaches or exceeds the basic game score threshold, the basic counter is increased by 1; if the score is lower than the basic game score threshold, the basic counter is reset to 0;

[0063] Set a predetermined basic duration threshold, such as 100 seconds; use a timer to record the time the user maintains the basic score threshold, when the value in the basic counter is not 0, start the timer, and when the time of the timer reaches or exceeds the basic duration threshold, trigger the unlocking function, and use the unlocking function as a trigger instruction to generate the corresponding electronic cigarette device trigger instruction; otherwise, continue to maintain the locking function.

[0064] When the score in the performance parameter reaches the preset advanced game score threshold, the electronic cigarette device is triggered to switch from the basic function mode to the advanced function mode, and dynamically triggers different advanced functions according to the score, completion, difficulty level and game level type in the performance parameter, including:

[0065] Power regulation: Check the score in the performance parameter once a second, use a power counter to record the number of times the user reaches the advanced game score threshold continuously, and when it is detected that the score reaches or exceeds the advanced game score threshold, the power counter is increased by 1; if the score is lower than the advanced game score threshold, the power counter is reset to 0; when the value in the power counter is not 0, set a predetermined power count threshold, and when the value in the power counter reaches or exceeds the power count threshold, trigger the power increase function, and use the power increase function as a trigger instruction to generate the corresponding electronic cigarette device trigger instruction, and the increased power ratio is the size of the power counter multiplied by 100%, until the value in the power counter is less than the power count threshold or the power reaches the maximum rated power;

[0066] Time extension: Check the user's game completion every 5 seconds, use a completion counter to record the number of times the user reaches 80% completion in a row, and when it is detected that the completion reaches or exceeds 80%, the completion counter is incremented by 1; if the completion is less than 80%, the completion counter is reset to 0; set a predetermined completion duration threshold, such as 10 times, and when the completion counter reaches or exceeds the completion duration threshold, trigger the time extension function, and use the time extension function as a trigger instruction to generate the corresponding electronic cigarette device trigger instruction until the value in the completion counter is 0;

[0067] Taste change: trigger taste change according to the game level type and the corresponding trigger conditions; define the level type, including standard mode, limited time mode and endless mode, check the game level type every time you enter a new level, and set specific trigger conditions according to different level types, including:

[0068] Triggering conditions for standard mode: Each time a standard mode level is completed, the standard counter is incremented by 1. A standard completion threshold is set, for example, 5 times. When the standard counter reaches or exceeds the standard completion threshold, the flavor switching function is triggered, and the flavor switching function is used as a trigger instruction to generate a corresponding electronic cigarette device trigger instruction;

[0069] Time-limited mode: Use a time-limited timer to record the time it takes for the user to complete a level in the time-limited mode. Set a predetermined time-limited threshold, such as 600 seconds. When the time-limited timer reaches or exceeds the time-limited threshold, the flavor switching function is triggered.

[0070] Endless mode: Use an endless timer to record the duration of the user in the endless mode, set a predetermined endless duration threshold, such as 1000 seconds, and trigger the flavor switching function when the timer reaches or exceeds the endless duration threshold;

[0071] After the flavor switching function is triggered, the flavor switching function is used as a trigger instruction to generate a corresponding electronic cigarette device trigger instruction, wherein the flavor switching is a random flavor switching.

[0072] The basic game score threshold and the advanced game score threshold use an adaptive threshold algorithm to dynamically calculate the performance demarcation point. Specifically, it collects user historical performance parameter data and real-time data of the current game session, uses sliding window technology and exponentially weighted moving average method, continuously adjusts the threshold, and conducts a comprehensive evaluation through a neural network model. Finally, it outputs two floating-point values ​​as performance demarcation points to trigger the basic function mode and the advanced function mode.

[0073] S3. According to the trigger instruction of the electronic cigarette device, convert and adapt the instruction to ensure that the trigger instruction of the electronic cigarette device can be correctly identified and executed by the target device, specifically including:

[0074] Command classification and standardization: Classify the trigger commands of e-cigarette devices into the following categories: unlock / lock, power adjustment, extended use time and flavor switching; create a standardized format for each type of command, including command type, parameters and timestamp;

[0075] Unlock / lock instructions: Converted into simple switch instructions, such as "UNLOCK" or "LOCK";

[0076] Power adjustment command: converted into a specific power value, such as "POWER_ADJUST:75" (indicates adjustment to 75% power);

[0077] Use the time extension command: convert to a specific time extension value, such as "TIME_EXTEND:300" (indicates extension of 300 seconds);

[0078] Flavor switching instruction: converted to a specific flavor code, such as "FLAVOR_CHANGE:RANDOM" (indicates randomly selecting a flavor from the preset flavor list for switching);

[0079] Protocol adaptation: According to the communication protocol of the target e-cigarette device (such as Bluetooth, Wi-Fi or proprietary protocol), the standardized instructions are encapsulated into a suitable data packet format, and the necessary header information, checksum and terminator are added to ensure the integrity of the data packet.

[0080] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A control method for compatibility of game and electronic cigarette signals, characterized in that: The method steps are as follows: S1. Establish a connection between the central processing unit and the game device to obtain performance parameters in the game device, where the performance parameters include score, completion degree and game level type; wherein: The score is obtained through high-precision timers and touch sensors; the completion degree is obtained by real-time statistics of hit rhythm points through hardware interrupt-driven counters, using bit operations and fixed-point mathematics; the game level type is obtained by bit field encoding storage type information; S2. Dynamically adjust the functional state of the electronic cigarette device according to the performance parameters, wherein the functional state includes a basic functional mode and an advanced functional mode; wherein: When the score in the performance parameter reaches a preset basic game score threshold, the basic function mode is entered. In the basic function mode, whether to trigger the basic function is determined according to whether the duration of the score reaches a preset basic duration threshold, and a corresponding electronic cigarette device trigger instruction is generated; When the score in the performance parameter reaches a preset advanced game score threshold, the electronic cigarette device is triggered to switch from the basic function mode to the advanced function mode. In the advanced function mode, different advanced function modes are dynamically triggered according to the score, completion degree and game level type, and an electronic cigarette device trigger instruction is generated; S3, converting and adapting the instruction according to the triggering instruction of the electronic cigarette device; The basic game score threshold and the advanced game score threshold use an adaptive threshold algorithm to dynamically calculate the performance demarcation point, specifically by collecting historical user performance parameter data and real-time data of the current game session, using sliding window technology and exponentially weighted moving average method, continuously adjusting the threshold, and performing a comprehensive evaluation through a neural network model, and finally outputting two floating-point values ​​as performance demarcation points for triggering the basic function mode and the advanced function mode.

2. The control method for compatibility of game and electronic cigarette signals according to claim 1, characterized in that: The basic function mode includes the unlocking and locking functions of the electronic cigarette.

3. The control method for compatibility of game and electronic cigarette signals according to claim 1, characterized in that: The advanced function modes include flavor change, power adjustment and extended use time.

4. The control method for compatibility of game and electronic cigarette signals according to claim 1, characterized in that: The determining whether to trigger the basic function according to whether the duration of the score reaches a preset basic duration threshold specifically includes: In the basic function mode, the functional state of the electronic cigarette device is initially locked; the score in the performance parameter is checked once a second, and a basic counter is used to record the number of times the user reaches the basic game score threshold continuously. When it is detected that the score reaches or exceeds the basic game score threshold, the basic counter is increased by 1; if the score is lower than the basic game score threshold, the basic counter is reset to 0; A predetermined basic duration threshold is set; a timer is used to record the time the user maintains the basic score threshold. When the value in the basic counter is not 0, the timer is started, and when the time of the timer reaches or exceeds the basic duration threshold, the unlocking function is triggered, and the unlocking function is used as a trigger instruction to generate a corresponding electronic cigarette device trigger instruction; otherwise, the locking function is continuously maintained.

5. The control method for compatibility of game and electronic cigarette signals according to claim 3, characterized in that: According to the score, completion degree and game level type, different advanced function modes are dynamically triggered, and the electronic cigarette device trigger instruction is generated, wherein the power adjustment trigger conditions in the advanced function mode specifically include: Check the score in the performance parameter once every second, use a power counter to record the number of times the user reaches the advanced game score threshold in succession, and when it is detected that the score reaches or exceeds the advanced game score threshold, the power counter is increased by 1; if the score is lower than the advanced game score threshold, the power counter is reset to 0; When the value in the power counter is not 0, a predetermined power count threshold is set. When the value in the power counter reaches or exceeds the power count threshold, the power increase function is triggered, and the power increase function is used as a trigger instruction to generate a corresponding electronic cigarette device trigger instruction. The increased power ratio is the size of the power counter multiplied by 100%, until the value in the power counter is less than the power count threshold or the power reaches the maximum rated power.

6. The control method for compatibility of game and electronic cigarette signals according to claim 5, characterized in that: The trigger conditions for extending the usage time in the advanced function mode specifically include: Check the user's game completion every 5 seconds, and use a completion counter to record the number of times the user has reached 80% completion in a row. When the completion is detected to be at or above 80%, the completion counter is incremented by 1; if the completion is less than 80%, the completion counter is reset to 0; A predetermined completion duration threshold is set. When the completion counter reaches or exceeds the completion duration threshold, the extended usage time function is triggered, and the extended usage time function is used as a trigger instruction to generate a corresponding electronic cigarette device trigger instruction until the value in the completion counter is 0.

7. The control method for compatibility of game and electronic cigarette signals according to claim 5, characterized in that: The taste change triggering conditions in the advanced function mode specifically include: According to the game level type and the corresponding trigger conditions, the taste change is triggered; the level type is defined, including standard mode, limited time mode and endless mode, and the game level type is checked every time a new level is entered, and specific trigger conditions are set according to different level types, including: Triggering conditions of standard mode: each time a standard mode level is completed, the standard counter is increased by 1, and a standard completion threshold is set. When the standard counter reaches or exceeds the standard completion threshold, the flavor change function is triggered, and the flavor change function is used as a trigger instruction to generate the corresponding electronic cigarette device trigger instruction; Time-limited mode: Use a time-limited timer to record the time it takes for the user to complete a level in time-limited mode, set a predetermined time-limited time threshold, and when the time-limited timer reaches or exceeds the time-limited time threshold, trigger the flavor change function; Endless mode: Use an endless timer to record the duration of the user in the endless mode, set a predetermined endless duration threshold, and trigger the flavor change function when the timer reaches or exceeds the endless duration threshold; After the flavor change function is triggered, the flavor change function is used as a trigger instruction to generate a corresponding electronic cigarette device trigger instruction, wherein the flavor change is a random flavor change.

8. The control method for compatibility of game and electronic cigarette signals according to claim 7, characterized in that: The electronic cigarette device triggers the instruction and performs instruction conversion and adaptation, specifically including: Command classification and standardization: Classify the trigger commands of e-cigarette devices into the following categories: unlock / lock, power adjustment, extended use time and flavor change; create a standardized format for each type of command, including command type, parameters and timestamp; Unlock / lock command: converted into switch command; Power adjustment instruction: converted into specific power value; Extended usage time instruction: converted into a specific extended usage time value; Taste change instruction: converted into random taste change code; Protocol adaptation: According to the communication protocol of the target e-cigarette device, the standardized instructions are encapsulated into a suitable data packet format, and the necessary header information, checksum and terminator are added.

Citation Information

Patent Citations

  • Control method and control device of electronic cigarette

    CN117204620A

  • Electronic cigarettes

    CN220936820U

  • Vaporization device having integrated games

    US20170259170A1

  • Application development for a network with an electronic cigarette

    WO2014195805A2