Equipment control method and device, equipment and readable storage medium

By adding equipment connection function to the heating and non-combustible equipment, communication connection and control with other equipment are achieved, the problem of single equipment functions is solved and the user experience and usage rate is improved.

CN119254812APending Publication Date: 2025-01-03SHENZHEN GEEKVAPE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411400109.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

The existing heating and non-combustible equipment has a single function, resulting in low user usage.

Method used

By adding equipment connection functions to the aerosol generation equipment, communication connection and control with other equipment can be achieved, and the functional diversity of the equipment can be expanded.

Benefits of technology

It improves the human-computer interaction efficiency between users and other devices and the utilization rate of aerosol-generating devices, allowing users to implement control functions for different devices through a single device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119254812A_ABST
    Figure CN119254812A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of heating non-combustion equipment, and provides an equipment control method and device, equipment and a readable storage medium. Under the condition that the aerosol generating device and the first device meet the state connection condition, the aerosol generating device and the first device are in communication connection, and a communication connection result is obtained; and under the condition that the communication connection result accords with a connection success condition, controlling the first equipment to execute a first action based on the aerosol generation equipment. According to the technical scheme, the communication connection function is additionally arranged on the aerosol generation equipment, so that the aerosol generation equipment has the control capability on other equipment, a user can control different equipment through single aerosol generation equipment, the man-machine interaction efficiency between the user and other equipment is improved, and meanwhile, the utilization rate of the aerosol generation equipment by the user is also improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of heat-not-burn equipment, and in particular, relates to equipment control methods, devices, equipment and readable storage media. Background Art

[0002] With the development of technology, the application of heat-not-burn devices has become increasingly widespread. The heat-not-burn devices are composed of a built-in power supply, a heating system, an aerosol-generating matrix, and a filter. When in use, the built-in power supply provides electrical energy, and the aerosol-generating matrix is ​​heated and atomized by the heating system to generate aerosol, thereby realizing cigarette imitation. After the user draws on the device, the device needs to perform temperature compensation to achieve continuous power supply.

[0003] In the related art, after the aerosol generating device is operated, the user can use the device to take a puff.

[0004] However, since the device is mainly used for suction function only, the function of the device is single, which reduces the user's device utilization rate. Summary of the invention

[0005] The embodiments of the present application provide a device control method, apparatus, device and readable storage medium, which utilize the device to implement control functions for different devices, thereby enriching the functional diversity of the device and improving the user's utilization rate of the device.

[0006] In a first aspect, an embodiment of the present application provides a device control method, including:

[0007] operating an aerosol generating device, wherein the aerosol generating device has a device connection function, wherein the device connection function is used to establish a communication connection between the aerosol generating device and a control device;

[0008] When the aerosol generating device and the first device meet the state connection condition, the aerosol generating device is communicatively connected with the first device to obtain a communication connection result;

[0009] When the communication connection result meets a connection success condition, the first device is controlled to perform a first action based on the aerosol generating device, where the first action is used to adjust the operating state of the first device.

[0010] Optionally, when the communication connection result meets the connection success condition, controlling the first device to perform a first action based on the aerosol generating device includes:

[0011] When the communication connection result meets the connection success condition, obtaining a first operating state corresponding to the first device, where the first operating state refers to an operating state corresponding to the first device at a current moment;

[0012] A first instruction is sent to the first device, where the first instruction is used to instruct the first device to perform the first action, where the first action is used to instruct to adjust the first device from the first operating state to a second operating state.

[0013] Optionally, before controlling the first device to perform a first action based on the aerosol generating device, the method further includes:

[0014] receiving a displacement operation on the aerosol generating device, wherein the displacement operation is used to indicate a change in adjusting a position of the aerosol generating device;

[0015] The controlling the first device to perform a first action based on the aerosol generating device comprises:

[0016] In a case where the movement route of the displacement operation matches a first preset movement route, the first device is controlled to perform the first action based on the aerosol generating device, and there is a corresponding relationship between the first action and the first preset movement route.

[0017] Optionally, the method further comprises:

[0018] In a case where the movement route of the displacement operation matches a second preset movement route, the first device is controlled to perform a second action based on the aerosol generating device, and there is a corresponding relationship between the second action and the second preset movement route.

[0019] Optionally, when a state connection condition is satisfied between the aerosol generating device and the first device, performing communication connection between the aerosol generating device and the first device to obtain a communication connection result includes:

[0020] When the device connection function is in an on state, detecting a connectable control device within a first area where the aerosol generating device is located;

[0021] When it is detected that the first device is within the first area and is in a connectable state, the aerosol generating device is communicatively connected to the first device to obtain the communication connection result.

[0022] Optionally, when detecting that the first device is within the first area and in a connectable state, establishing a communication connection between the aerosol generating device and the first device to obtain the communication connection result includes:

[0023] When the first device is in the connectable state, obtaining first position information corresponding to the aerosol generating device and second position information corresponding to the first device, wherein the first position information is used to indicate that the aerosol generating device is in a first position, and the second position information is used to indicate that the first device is in a second position;

[0024] When the position distance between the first position and the second position is less than a preset distance threshold, the aerosol generating device is communicatively connected to the first device to obtain the communication connection result.

[0025] Optionally, after detecting a connectable control device within the first area where the aerosol generating device is located, the method further includes:

[0026] When multiple candidate devices are within the first area and in the connectable state, connection indication information is displayed, and the connection indication information includes at least one of the number of devices corresponding to the candidate devices, device names, connection signal strengths, or connection status priorities.

[0027] Optionally, after displaying the connection indication information, the method further includes:

[0028] In the case of receiving connection selection operations for a plurality of aerosol generating devices, acquiring an action execution order corresponding to the plurality of aerosol generating devices based on an operation order of the plurality of connection selection operations, the aerosol generating devices being control devices that meet a connection success condition with the aerosol generating device, the action execution order being used to determine an execution order of the plurality of aerosol generating devices executing target actions, the target actions being used to adjust an operation state corresponding to the aerosol generating devices;

[0029] Based on the action execution order and the aerosol generating devices, the plurality of aerosol generating devices are sequentially controlled to respectively execute the target actions.

[0030] Optionally, the method further comprises:

[0031] When the communication connection result meets the connection success condition, playing a first prompt tone, wherein the first prompt tone is used to indicate the communication result between the aerosol generating device and the first device;

[0032] When the aerosol generating device switches from the communication connection with the first device to the communication connection with the second device, a second prompt tone is played, where the second prompt tone is used to indicate the communication result between the aerosol generating device and the second device.

[0033] In a second aspect, an embodiment of the present application provides a device control apparatus, including:

[0034] An operation module, used for operating an aerosol generating device, wherein the aerosol generating device has a device connection function, and the device connection function is used for establishing a communication connection between the aerosol generating device and a control device;

[0035] a connection module, configured to, when a state connection condition is satisfied between the aerosol generating device and the first device, establish a communication connection between the aerosol generating device and the first device, and obtain a communication connection result;

[0036] An execution module is used to control the first device to perform a first action based on the aerosol generating device when the communication connection result meets the connection success condition and the control condition between the aerosol generating device and the first device is met, and the first action is used to adjust the operating state of the first device.

[0037] In a third aspect, an embodiment of the present application provides a computer 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 device control method described in any one of the first aspects above is implemented.

[0038] 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, the device control method described in any one of the first aspects is implemented.

[0039] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer device, enables the computer device to execute the device control method described in any one of the above-mentioned first aspects.

[0040] 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.

[0041] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0042] During the operation of the aerosol generating device, by providing the aerosol generating device with a device connection function, when it is detected that the aerosol generating device and the first device meet the status connection condition, the aerosol generating device and the first device are communicatively connected, and when the control condition is met between the two, the aerosol generating device is used to control the first device to perform the first action. That is, a communication connection function is added to the aerosol generating device to enable it to have control over other devices, so that the user can control different devices through a single aerosol generating device, thereby improving the human-computer interaction efficiency between the user and other devices, and also improving the user's utilization rate of the aerosol generating device. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] 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.

[0044] Figure 1 is a schematic diagram of an object testing system provided by an embodiment of the present application;

[0045] Figure 2 is a flow chart of a device control method provided by an embodiment of the present application;

[0046] Figure 3 is a flow chart of a device control method provided by an embodiment of the present application;

[0047] Figure 4 is a schematic diagram of the structure of the device control device provided in an embodiment of the present application;

[0048] Figure 5 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] 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.

[0050] 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.

[0051] 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.

[0052] 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.

[0053] 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.

[0054] 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.

[0055] For illustration, please refer to Figure 1 , which shows a schematic diagram of a device control system provided by an exemplary embodiment of the present application, such as Figure 1 As shown, the device regulation system includes an aerosol generating device 110 and a control device 120 .

[0056] In some embodiments, the aerosol generating device 110 is operated, wherein the aerosol generating device 110 has a device connection function, and the device connection function refers to a communication connection between the aerosol generating device 110 and the control device 120 .

[0057] In some embodiments, if the aerosol generating device 110 and the first device 121 (taking a television as an example) in the control device 120 are connected in a matching state, for example, the position distance between the aerosol generating device 110 and the first device 121 is less than 50 centimeters, the aerosol generating device 110 and the first device 121 are communicatively connected to obtain a communication connection result.

[0058] In some embodiments, when the communication connection result is a successful connection, if the first device 121 is in a powered-off state, the first device 121 is turned on by the aerosol generating device 110 to put the first device 121 into a running state.

[0059] Optionally, the control device 120 includes a computer device, a television, a refrigerator, a lamp, and other devices with communication connection functions.

[0060] Optionally, the aerosol generating device 110 comprises at least one of an electric heating type device or a carbon heating type device.

[0061] In combination with the above-mentioned device control system, the device control method provided in the embodiment of the present application is described in detail. For illustration, please refer to Figure 2 , which shows a flow chart of a device control method provided by an exemplary embodiment of the present application, the method includes the following steps 210 to 230.

[0062] Step 210, operating the aerosol generating device.

[0063] The aerosol generating device has a device connection function, and the device connection function is used to establish a communication connection between the aerosol generating device and the control device.

[0064] Optionally, operating the aerosol generating device includes placing the aerosol generating device in at least one of a preheating state, a puffing state, a puffing end state, and a start-up non-heating state.

[0065] The preset state refers to the state of the heating component (eg, heating wire) in the aerosol generating device during the heating process after the aerosol generating device is started.

[0066] The inhalation state refers to the state when the aerosol generating device is preheated and the user uses the aerosol generating device to inhale.

[0067] Among them, the puffing end state refers to the state in which the aerosol generating device is assembled with an aerosol generating matrix and a device base, and the device is in a natural cooling state after the user uses the device to puff a single aerosol generating matrix.

[0068] The startup non-heating state refers to the state corresponding to when the device does not perform any of the above processes after being turned on.

[0069] Illustratively, the device connection function means that the aerosol generating device can be communicatively connected with at least one control device.

[0070] Optionally, the communication connection includes at least one of a serial port connection (for example, connection via an RS232 serial port), a Bluetooth connection, a wireless communication (Wi-Fi) connection, a communication serial bus (Universal Serial Bus, USB) connection, an Ethernet connection, a low-speed, short-distance transmission wireless Internet protocol (Zigbee) connection, and the like.

[0071] Optionally, the control device includes one or more, which is not limited.

[0072] Optionally, the aerosol generating device may be communicatively connected to one or more control devices at a time, which is not limited thereto.

[0073] When the aerosol generating device is connected to multiple control devices, the multiple control devices may have connection priorities. The aerosol generating device has a higher connection priority than the control device to which it is connected for communication.

[0074] Optionally, during the process of the aerosol generating device communicating and connecting with multiple control devices, the aerosol generating device may communicate and connect with multiple control devices through one or more different connection modes at the same time, and this is not limited.

[0075] Optionally, when the aerosol generating device is running, the communication connection function corresponding to the aerosol generating device is automatically turned on; or, when the aerosol generating device is running, the communication connection function corresponding to the aerosol generating device is started upon receiving an operation to turn on the communication connection function corresponding to the aerosol generating device, and there is no limitation on this.

[0076] Step 220: When the aerosol generating device and the first device meet the state connection condition, the aerosol generating device is communicatively connected to the first device to obtain a communication connection result.

[0077] Illustratively, the first device refers to at least one of the control devices that meets the state connection condition with the aerosol generating device.

[0078] In some embodiments, meeting the connection condition means that the aerosol generating device and the first device have the conditions for a communication connection, that is, the aerosol generating device and the first device can establish a communication connection.

[0079] Optionally, the connection condition includes at least one of the following conditions:

[0080] First, the aerosol generating device and the first device are connected via a serial bus.

[0081] For example, the aerosol generating device and the first device are connected via a USB cable, indicating that the aerosol generating device and the first device meet the connection condition.

[0082] Second, the connection condition includes a preset distance threshold.

[0083] For example, when the location distance between the aerosol generating device and the first device is less than a preset distance threshold, it indicates that the connection condition between the aerosol generating device and the first device is met.

[0084] Third, the connection condition includes functional states corresponding to the aerosol generating device and the first device respectively.

[0085] For example: if the aerosol generating device and the first device respectively have Bluetooth connection functions, and the Bluetooth connection functions corresponding to the aerosol generating device and the first device are both in the turned-on state, it means that the connection conditions between the aerosol generating device and the first device are met.

[0086] The fourth type is within the same local area network.

[0087] For example, when the aerosol generating device and the first device are in the same local area network, it means that the connection condition is met between the aerosol generating device and the first device.

[0088] It is worth noting that the above connection conditions are merely illustrative examples and are not limited to this in the embodiments of the present application.

[0089] Optionally, the communication connection result includes any one of the two results of communication connection success and communication connection failure.

[0090] Optionally, when there are multiple first devices that meet the connection conditions with the aerosol generating device, the aerosol generating device synchronously communicates and connects with the multiple first devices to obtain communication connection results corresponding to the multiple first devices respectively; or, the aerosol generating device communicates and connects with the multiple first devices in turn to obtain communication connection results corresponding to the multiple first devices respectively; or, the aerosol generating device communicates and connects with the multiple first devices in turn according to the connection priorities pre-set for the multiple first devices respectively, to obtain communication connection results corresponding to the multiple first devices respectively.

[0091] In an optional case, the connection priority corresponding to the control device is determined according to the historical connection status corresponding to the control device. In one example, the historical connection status includes the number of times the control device is connected to the aerosol generating device in a historical time period, and the more times, the higher the connection priority corresponding to the control device, and vice versa, the lower the control priority corresponding to the control device.

[0092] In some embodiments, when the device connection function is in an on state, a connectable control device is detected within a first area where the aerosol generating device is located; when it is detected that the first device is within the first area and is in a connectable state, the aerosol generating device is communicatively connected with the first device to obtain a communication connection result.

[0093] In this embodiment, taking the aerosol generating device turning on the Bluetooth connection function as an example, the location of the aerosol generating device is taken as the center point, a first area range is generated according to a pre-set radius, and a control device with the Bluetooth connection function turned on is searched within the first area range. If the first device has the Bluetooth connection function turned on and is within the first area range, the aerosol generating device is automatically paired with the first device through Bluetooth to obtain a Bluetooth pairing result.

[0094] In some embodiments, when the first device is in a connectable state, first position information corresponding to the aerosol generating device and second position information corresponding to the first device are obtained, the first position information is used to indicate that the aerosol generating device is in the first position, and the second position information is used to indicate that the first device is in the second position; when the position distance between the first position and the second position is less than a preset distance threshold, the aerosol generating device is communicatively connected with the first device to obtain a communication connection result.

[0095] In this embodiment, taking the Bluetooth connection function as an example, if the first device turns on the Bluetooth connection function, it means that the first device is in a connectable state, and the first position of the aerosol generating device is obtained to determine the corresponding first position information, wherein the first position information can be implemented as the first position coordinates corresponding to the aerosol generating device.

[0096] In this embodiment, the second position of the first device is obtained to determine the corresponding second position information, wherein the second position information can be implemented as the second position coordinates corresponding to the first device.

[0097] In this embodiment, when the distance between the first position coordinates and the second position coordinates is less than a preset distance threshold, the aerosol generating device and the first device are automatically connected via Bluetooth to obtain a Bluetooth connection result.

[0098] In some embodiments, when multiple candidate devices are within the first area and are in a connectable state, connection indication information is displayed, and the connection indication information includes at least one of the number of devices corresponding to the candidate devices, the device name, the connection signal strength, or the connection status priority.

[0099] In this embodiment, if there are multiple candidate devices capable of performing Bluetooth connection with the aerosol generating device, connection indication information is displayed in the aerosol generating device, indicating that there are currently multiple candidate devices capable of performing Bluetooth connection.

[0100] In the present embodiment, in the first example, an indicator light is provided in the aerosol generating device, and the number of times the indicator light flashes is used to indicate the number of candidate devices. In the second example, an information display area is displayed in the aerosol generating device, and the device names corresponding to multiple candidate devices are displayed in the information display area, wherein the device name can be set by the user or automatically generated during the device manufacturing process. In the third example, an indicator light is provided in the aerosol generating device, and if the Bluetooth connection signal of the candidate device is stronger, the indicator light flashes brighter, and if the Bluetooth connection signal of the candidate device is weaker, the indicator light flashes weaker. In the fourth example, the aerosol generating device includes an information display area, and the device names corresponding to multiple candidate devices arranged in a priority order corresponding to the connection status priority are displayed in the information display area, wherein the candidate device with a higher connection status priority is arranged higher in the priority order.

[0101] Step 230: When the communication connection result meets the connection success condition, the aerosol generating device controls the first device to perform the first action.

[0102] The first action is used to adjust the operating state of the first device.

[0103] Illustratively, the connection success condition is used to indicate that the aerosol generating device successfully establishes a communication connection with the first device.

[0104] In the first case, when the Bluetooth functions corresponding to the aerosol generating device and the first device are respectively in the turned-on state, and the position distance corresponding to the aerosol generating device and the first device is less than the preset distance threshold, it indicates that the aerosol generating device and the first device meet the conditions for successful connection.

[0105] In the second case, when the aerosol generating device and the first device are in the same local area network, and the aerosol generating device and the first device are respectively connected to the same local area network (Wi-Fi A network), it means that the aerosol generating device and the first device meet the connection success condition.

[0106] In the third case, when the aerosol generating device and the first device are connected via USB and authorized by the first device, it means that the aerosol generating device and the first device meet the connection success condition.

[0107] Illustratively, the first action refers to an action performed by the first device without relying on user operation when there is a communication connection between the aerosol generating device and the first device.

[0108] Optionally, the first action is an action that is automatically executed after a communication connection is established between the aerosol generating device and the first device; or, the first action is an action that is synchronously executed according to a specified operation after a communication connection is established between the aerosol generating device and the first device and a specified operation is performed by the aerosol generating device, for example: the user waves the aerosol generating device upward and the first device performs a power-on operation.

[0109] Among them, after executing the designated operation through the aerosol generating device, in the case of the action performed synchronously according to the designated operation, if the aerosol generating device performs different operations, the first operation performed by the first device is also different. For example: the user waves the aerosol generating device upward, and the first device performs a power-on operation; the user waves the aerosol generating device downward, and the first device performs a power-off operation.

[0110] In a feasible situation, when the communication connection result meets the connection success condition, a first action is performed on the first device based on the aerosol generating device, and the first action refers to adjusting the first device from a first operating state to a second operating state. When the aerosol generating device and the first device disconnect the communication connection, the first device continues to maintain the second operating state.

[0111] In another feasible situation, when the communication connection result meets the connection success condition, a first action is performed on the first device based on the aerosol generating device, and the first action refers to adjusting the first device from the first operating state to the second operating state. When the aerosol generating device and the first device disconnect the communication connection, the first device performs a third action, and the third action refers to adjusting the first device from the second operating state to the first operating state.

[0112] In another feasible situation, when the communication connection result meets the connection success condition, a first action is performed on the first device based on the aerosol generating device, and the first action refers to adjusting the first device from the first operating state to the second operating state. When the aerosol generating device and the first device are disconnected from the communication connection, the first device maintains the second operating state for a period of time and then automatically adjusts to the first operating state.

[0113] Optionally, when the communication connection result meets the connection success condition, a single first action is executed, or multiple different first actions are executed in sequence according to a preset action sequence, which is not limited to this.

[0114] In some embodiments, when connection selection operations for multiple aerosol generating devices are received, an action execution order corresponding to the multiple aerosol generating devices is obtained based on the operation order of the multiple connection selection operations, the aerosol generating device is a control device that meets the successful connection conditions with the aerosol generating device, and the action execution order is used to determine the execution order of the multiple aerosol generating devices to perform target actions, and the target action is used to adjust the corresponding operating status of the aerosol generating device; based on the action execution order and the aerosol generating devices, the multiple aerosol generating devices are controlled in turn to perform the target actions respectively.

[0115] In this embodiment, when there are multiple aerosol generating devices that meet the conditions for successful connection with the aerosol generating device, connection selection operations for the multiple aerosol generating devices are received, wherein the connection selection operation refers to an operation of selecting an aerosol generating device to perform a target action.

[0116] In this embodiment, the action execution order corresponding to the multiple aerosol generating devices is determined according to the operation order corresponding to the connection selection operations respectively performed on the multiple aerosol generating devices. The action execution order is used to determine the order corresponding to the multiple aerosol generating devices executing the target actions respectively. For example: in the case of device 1, device 2 and device 3, the operation order is: select device 1, select device 3, select device 2, therefore, the action execution order is device 1, device 3, device 2.

[0117] In this embodiment, target actions corresponding to the multiple aerosol generating devices are executed in sequence according to the action execution order.

[0118] In some embodiments, when the communication connection result meets the requirement of a successful connection, a first operating state corresponding to the first device is obtained, where the first operating state refers to the operating state corresponding to the first device at the current moment; a first instruction is sent to the first device, where the first instruction is used to instruct the first device to perform a first action; and an action execution result is received as feedback from the first device, where the action execution result is used to instruct the first device to adjust the first operating state to the second operating state by performing the first action.

[0119] In this embodiment, if the aerosol generating device and the first device are successfully connected via Bluetooth, the real-time operating status corresponding to the first device at the current moment is obtained as the first operating status, and the aerosol generating device sends a first instruction in the form of a Bluetooth signal to the first device. The first instruction is used to instruct the first device to perform a first action. After receiving the first instruction, the first device performs the first action according to the first instruction, that is, adjusts from the first operating status to the second operating status.

[0120] Optionally, when the first device is adjusted to the second operating state, the first device sends action feedback information to the aerosol generating device, which is used to indicate that the first device currently completes the first action.

[0121] In some embodiments, a displacement operation on an aerosol generating device is received, and the displacement operation is used to indicate a change in the position of the aerosol generating device; when a moving route of the displacement operation matches a first preset moving route, the first device is controlled to perform a first action based on the aerosol generating device, and there is a corresponding relationship between the first action and the first preset moving route.

[0122] In this embodiment, the displacement operation refers to an operation corresponding to moving the aerosol generating device from a current position to a specified position, for example, moving the aerosol generating device upwards by a distance of 10 centimeters from the current position.

[0123] In this embodiment, during the displacement operation of the aerosol generating device, the moving route corresponding to the aerosol generating device is determined according to the starting position and moving direction of the aerosol generating device. If the moving route matches the pre-set first moving route, the first device is controlled to perform the corresponding first action.

[0124] In some embodiments, when the movement route of the displacement operation matches the second preset movement route, the aerosol generating device controls the first device to perform the second action, and there is a corresponding relationship between the second action and the second preset movement route.

[0125] In this embodiment, during the displacement operation of the aerosol generating device, the moving route corresponding to the aerosol generating device is determined according to the starting position and moving direction of the aerosol generating device. If the moving route matches the pre-set second moving route, the first device is controlled to perform the corresponding second action.

[0126] In some embodiments, when the communication connection result meets the connection success condition, a first prompt tone is played, and the first prompt tone is used to indicate the communication result between the aerosol generating device and the first device; when the aerosol generating device switches from communicating with the first device to communicating with the second device, a second prompt tone is played, and the second prompt tone is used to indicate the communication result between the aerosol generating device and the second device.

[0127] In this embodiment, when the aerosol generating device successfully establishes a Bluetooth connection with the first device, the aerosol generating device plays a first prompt tone. If the aerosol generating device switches from the first device to successfully establish a Bluetooth connection with the second device, the aerosol generating device plays a second prompt tone. Different prompt tones are played by different devices to inform the user of the device connection status of the current aerosol generating device.

[0128] The device control method provided in the embodiment of the present application, during the operation of the aerosol generating device, by providing the aerosol generating device with a device connection function, when it is detected that the aerosol generating device and the first device meet the status connection condition, the aerosol generating device and the first device are communicatively connected, and when the control condition between the two is met, the aerosol generating device is used to control the first device to perform a first action. That is, a communication connection function is added to the aerosol generating device to enable it to have control capabilities over other devices, so that the user can achieve control functions for different devices through a single aerosol generating device, thereby improving the human-computer interaction efficiency between the user and other devices, and also improving the user's utilization rate of the aerosol generating device.

[0129] For illustration, please refer to Figure 3 , which shows a flow chart of a device control method provided by an exemplary embodiment of the present application, such as Figure 3 As shown, the method includes the following steps.

[0130] Step 310, developing a Bluetooth module.

[0131] During the hardware development of the aerosol generating device, a Bluetooth module is added to the circuit board (PCBA board) in the aerosol generating device.

[0132] Step 320, configure the Bluetooth function.

[0133] When compiling the program for the aerosol generating device, program content corresponding to the Bluetooth function is added, including turning on the Bluetooth function, turning off the Bluetooth function, configuring Bluetooth, searching for devices within the area where the aerosol generating device is located, connecting to Bluetooth devices, and transmitting data with Bluetooth devices.

[0134] Step 330: Bluetooth pairing the aerosol generating device with the first device.

[0135] After the Bluetooth function of the aerosol generating device is turned on, the first area range is determined according to the location of the aerosol generating device, and a device that can be connected to the aerosol generating device through Bluetooth is searched within the first area. If a first device that is within the first area and has the Bluetooth function turned on is found, a Bluetooth connection is established between the aerosol generating device and the first device. If the connection is successful, execute step 350; if the connection fails, execute step 340.

[0136] Step 340, prompting that the Bluetooth connection fails.

[0137] If the Bluetooth connection between the aerosol generating device and the first device fails, the aerosol generating device displays a prompt message, for example, the indicator light flashes red, indicating that the Bluetooth connection between the current aerosol generating device and the first device fails.

[0138] Step 350: Control the first device to perform a first action.

[0139] If the aerosol generating device is successfully connected to the first device via Bluetooth, the first device automatically executes the first action. For example, when the aerosol generating device establishes a Bluetooth connection with the car, the car door is opened. For another example, when the aerosol generating device establishes a Bluetooth connection with the air conditioner, the air conditioner is turned on.

[0140] Step 360, end.

[0141] If the first device is not within the first area corresponding to the aerosol generating device, it indicates that the connection between the first device and the aerosol generating device has failed. Alternatively, if the connection duration between the first device and the aerosol generating device exceeds the preset duration threshold, it indicates that the Bluetooth connection between the first device and the aerosol generating device has failed. At this time, the first device performs the second operation. For example, when the aerosol generating device is disconnected from the car via Bluetooth, the car door is closed. For another example, when the aerosol generating device is disconnected from the air conditioner via Bluetooth, the air conditioner is turned off. Alternatively, after the Bluetooth connection between the first device and the aerosol generating device has failed, the first device maintains the operating state corresponding to the first action.

[0142] The device control method provided in the embodiment of the present application, during the operation of the aerosol generating device, by providing the aerosol generating device with a device connection function, when it is detected that the aerosol generating device and the first device meet the status connection condition, the aerosol generating device and the first device are communicatively connected, and when the control condition between the two is met, the aerosol generating device is used to control the first device to perform a first action. That is, a communication connection function is added to the aerosol generating device to enable it to have control capabilities over other devices, so that the user can achieve control functions for different devices through a single aerosol generating device, thereby improving the human-computer interaction efficiency between the user and other devices, and also improving the user's utilization rate of the aerosol generating device.

[0143] In this embodiment, the user's dependence on the product is greatly improved through the Bluetooth mode, such as: the communication of all Bluetooth devices such as unlocking and locking the vehicle, turning the air conditioner on and off, etc.

[0144] For illustration, please refer to Figure 4 , which shows a schematic diagram of the structure of a device control device provided by an exemplary embodiment of the present application, wherein the device control device may specifically include the following modules:

[0145] An operation module 410, for operating an aerosol generating device, wherein the aerosol generating device has a device connection function, and the device connection function is used to establish a communication connection between the aerosol generating device and a control device;

[0146] A connection module 420, configured to establish a communication connection between the aerosol generating device and the first device when a state connection condition is met between the aerosol generating device and the first device, and obtain a communication connection result;

[0147] The execution module 430 is used to control the first device to perform a first action based on the aerosol generating device when the communication connection result meets the connection success condition and the control condition between the aerosol generating device and the first device is met. The first action is used to adjust the operating state of the first device.

[0148] In some embodiments, the execution module 430 is also used to obtain a first operating state corresponding to the first device when the communication connection result meets the connection success condition, and the first operating state refers to the operating state corresponding to the first device at the current moment; send a first instruction to the first device, and the first instruction is used to instruct the first device to perform the first action, and the first action is used to instruct the first device to adjust from the first operating state to the second operating state.

[0149] In some embodiments, the execution module 430 is also used to receive a displacement operation on the aerosol generating device, and the displacement operation is used to indicate the position change of the aerosol generating device; when the moving route of the displacement operation matches the first preset moving route, the first device is controlled to perform the first action based on the aerosol generating device, and there is a corresponding relationship between the first action and the first preset moving route.

[0150] In some embodiments, the execution module 430 is also used to control the first device to perform a second action based on the aerosol generating device when the moving route of the displacement operation matches a second preset moving route, and there is a corresponding relationship between the second action and the second preset moving route.

[0151] In some embodiments, the connection module 420 is also used to detect a connectable control device within a first area where the aerosol generating device is located when the device connection function is in an on state; and when it is detected that the first device is within the first area and is in a connectable state, the aerosol generating device is communicatively connected with the first device to obtain the communication connection result.

[0152] In some embodiments, the connection module 420 is also used to obtain first position information corresponding to the aerosol generating device and second position information corresponding to the first device when the first device is in the connectable state, the first position information being used to indicate that the aerosol generating device is in the first position, and the second position information being used to indicate that the first device is in the second position; when the position distance between the first position and the second position is less than a preset distance threshold, the aerosol generating device is communicatively connected with the first device to obtain the communication connection result.

[0153] In some embodiments, the connection module 420 is also used to display connection indication information when multiple candidate devices are within the first area and in the connectable state, and the connection indication information includes at least one of the number of devices corresponding to the candidate devices, the device name, the connection signal strength or the connection status priority.

[0154] In some embodiments, the execution module 430 is also used to obtain the action execution order corresponding to the multiple aerosol generating devices based on the operation order of the multiple connection selection operations when receiving connection selection operations for multiple aerosol generating devices, the aerosol generating device is a control device that meets the successful connection conditions with the aerosol generating device, and the action execution order is used to determine the execution order of the multiple aerosol generating devices to perform target actions, and the target action is used to adjust the corresponding operating state of the aerosol generating device; based on the action execution order and the aerosol generating devices, the multiple aerosol generating devices are controlled in turn to perform the target actions respectively.

[0155] In some embodiments, the execution module 430 is also used to play a first prompt tone when the communication connection result meets the connection success condition, and the first prompt tone is used to indicate the communication result between the aerosol generating device and the first device; when the aerosol generating device switches from communicating with the first device to communicating with the second device, play a second prompt tone, and the second prompt tone is used to indicate the communication result between the aerosol generating device and the second device.

[0156] The device control device provided in the embodiment of the present application, during the operation of the aerosol generating device, provides the aerosol generating device with a device connection function. When it is detected that the aerosol generating device and the first device meet the status connection condition, the aerosol generating device and the first device are communicatively connected. When the control condition between the two is met, the aerosol generating device is used to control the first device to perform a first action. That is, a communication connection function is added to the aerosol generating device to enable it to have control capabilities over other devices, so that the user can achieve control functions for different devices through a single aerosol generating device, thereby improving the human-computer interaction efficiency between the user and other devices, and also improving the user's utilization rate of the aerosol generating device.

[0157] See also Figure 5 , which shows a schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 5 As shown, the computer device 1000 of this embodiment includes: at least one processor 1010 ( Figure 5 Only one is shown in the figure) a processor, a memory 1020, and a computer program 1021 stored in the memory 1020 and executable on at least one processor 1010, and when the processor 1010 executes the computer program 1021, the steps in the above-mentioned device control method embodiment are implemented.

[0158] The computer device 1000 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor 1010 and a memory 1020. Those skilled in the art will appreciate that Figure 5 The computer device 1000 is merely an example and does not constitute a limitation on the computer device 1000 . The computer device 1000 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device 1000 may also include input and output devices, network access devices, etc.

[0159] The processor 1010 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0160] In some embodiments, the memory 1020 may be an internal storage unit of the computer device 1000, such as a hard disk or memory of the computer device 1000. In other embodiments, the memory 1020 may also be an external storage device of the computer device 1000, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 1000. Further, the memory 1020 may also include both an internal storage unit of the computer device 1000 and an external storage device. The memory 1020 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of computer programs. The memory 1020 may also be used to temporarily store data that has been output or is to be output.

[0161] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can 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 scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0162] 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.

[0163] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed 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.

[0164] In the embodiments provided in the present application, it should be understood that the disclosed devices / computer equipment and methods can be implemented in other ways. For example, the device / computer equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and 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.

[0165] 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.

[0166] In addition, each functional unit in each embodiment of the present application 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0167] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.

[0168] The present application implements all or part of the processes in the above-mentioned embodiment method, and may also be completed through a computer program product. When the computer program product runs on a computer device, the computer device can implement the steps in the above-mentioned method embodiments when executing.

[0169] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application is described in detail with reference to the above embodiments, a person skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A device control method, characterized in that: The method comprises: operating an aerosol generating device, wherein the aerosol generating device has a device connection function, wherein the device connection function is used to establish a communication connection between the aerosol generating device and a control device; When the aerosol generating device and the first device meet the state connection condition, the aerosol generating device is communicatively connected with the first device to obtain a communication connection result; When the communication connection result meets a connection success condition, the first device is controlled to perform a first action based on the aerosol generating device, where the first action is used to adjust the operating state of the first device.

2. The method according to claim 1, characterized in that When the communication connection result meets the connection success condition, controlling the first device to perform a first action based on the aerosol generating device includes: When the communication connection result meets the connection success condition, obtaining a first operating state corresponding to the first device, where the first operating state refers to an operating state corresponding to the first device at a current moment; A first instruction is sent to the first device, where the first instruction is used to instruct the first device to perform the first action, where the first action is used to instruct to adjust the first device from the first operating state to a second operating state.

3. The method according to claim 1, characterized in that Before controlling the first device to perform a first action based on the aerosol generating device, the method further includes: receiving a displacement operation on the aerosol generating device, wherein the displacement operation is used to indicate a change in adjusting a position of the aerosol generating device; The controlling the first device to perform a first action based on the aerosol generating device comprises: In a case where the movement route of the displacement operation matches a first preset movement route, the first device is controlled to perform the first action based on the aerosol generating device, and there is a corresponding relationship between the first action and the first preset movement route.

4. The method according to claim 3, characterized in that: The method further comprises: In a case where the movement route of the displacement operation matches a second preset movement route, the first device is controlled to perform a second action based on the aerosol generating device, and there is a corresponding relationship between the second action and the second preset movement route.

5. The method according to any one of claims 1 to 4, characterized in that: When the state connection condition is satisfied between the aerosol generating device and the first device, the aerosol generating device is communicatively connected with the first device to obtain a communication connection result, including: When the device connection function is in an on state, detecting a connectable control device within a first area where the aerosol generating device is located; When it is detected that the first device is within the first area and is in a connectable state, the aerosol generating device is communicatively connected to the first device to obtain the communication connection result.

6. The method according to claim 5, characterized in that The step of, in the case where it is detected that the first device is within the first area and is in a connectable state, establishing a communication connection between the aerosol generating device and the first device to obtain the communication connection result, comprises: When the first device is in the connectable state, obtaining first position information corresponding to the aerosol generating device and second position information corresponding to the first device, wherein the first position information is used to indicate that the aerosol generating device is in a first position, and the second position information is used to indicate that the first device is in a second position; When the position distance between the first position and the second position is less than a preset distance threshold, the aerosol generating device is communicatively connected to the first device to obtain the communication connection result.

7. The method according to claim 5, characterized in that After detecting a connectable control device within the first area where the aerosol generating device is located, the method further includes: When multiple candidate devices are within the first area and in the connectable state, connection indication information is displayed, and the connection indication information includes at least one of the number of devices corresponding to the candidate devices, device names, connection signal strengths, or connection status priorities.

8. The method according to claim 7, characterized in that After displaying the connection indication information, the method further includes: In the case of receiving connection selection operations for a plurality of aerosol generating devices, acquiring an action execution order corresponding to the plurality of aerosol generating devices based on an operation order of the plurality of connection selection operations, the aerosol generating devices being control devices that meet a connection success condition with the aerosol generating device, the action execution order being used to determine an execution order of the plurality of aerosol generating devices executing target actions, the target actions being used to adjust an operation state corresponding to the aerosol generating devices; Based on the action execution order and the aerosol generating devices, the plurality of aerosol generating devices are sequentially controlled to respectively execute the target actions.

9. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: When the communication connection result meets the connection success condition, playing a first prompt tone, wherein the first prompt tone is used to indicate the communication result between the aerosol generating device and the first device; When the aerosol generating device switches from the communication connection with the first device to the communication connection with the second device, a second prompt tone is played, where the second prompt tone is used to indicate the communication result between the aerosol generating device and the second device.

10. A device control device, characterized in that: The device comprises: An operation module, used for operating an aerosol generating device, wherein the aerosol generating device has a device connection function, and the device connection function is used for establishing a communication connection between the aerosol generating device and a control device; a connection module, configured to, when a state connection condition is satisfied between the aerosol generating device and the first device, establish a communication connection between the aerosol generating device and the first device, and obtain a communication connection result; An execution module is used to control the first device to perform a first action based on the aerosol generating device when the communication connection result meets the connection success condition and the control condition between the aerosol generating device and the first device is met, and the first action is used to adjust the operating state of the first device.

11. A computer device, characterized in that: The computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the device control method according to any one of claims 1 to 9 when executing the computer program.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the device control method according to any one of claims 1 to 9 is implemented.