Data transmission method and device, equipment, storage medium and program product
By sending the equipment status data of the aerosol generation equipment to the detection equipment, it is possible to detect faults in advance without returning to the factory for maintenance, shorten the maintenance cycle, improve the detection efficiency, and solve the problem of inefficient equipment failure and maintenance.
Patent Information
- Application Number
- CN202411848679.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-04-18
AI Technical Summary
During use, aerosol generation equipment needs to be returned to the factory for repair due to equipment failure, resulting in inefficient maintenance and affecting the user experience.
By sending the equipment status data of the aerosol generation equipment to the detection equipment under specified conditions, the testing equipment is used for analysis in advance, shortening the subsequent maintenance time and improving maintenance efficiency.
In the event that the return to the factory is not performed, the equipment status data can be transmitted to the detection equipment in advance through designated operations, shortening the equipment return to the factory maintenance cycle and improving the equipment detection efficiency.
Smart Images

Figure CN119854744A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of aerosol generating devices, and in particular, relates to data transmission methods, devices, equipment, storage media and program products. Background Art
[0002] With the development of technology, aerosol generating devices (also known as heat-not-burn devices) are increasingly widely used. The aerosol generating matrix is heated and atomized through a built-in heating system to produce aerosol smoke.
[0003] In the related art, if an aerosol generating device fails during use, it needs to be returned to the factory for repair and inspection. During the return process, the aerosol generating device needs to be inspected for faults and repaired according to the fault conditions.
[0004] However, due to the long process cycle of returning to the factory for repair, the equipment repair efficiency is low, which affects the user experience. Summary of the invention
[0005] The embodiments of the present application provide a data transmission method, apparatus, device, storage medium and program product, which send the device status data corresponding to the aerosol generating device to the detection device under specified conditions, so that the detection device can analyze it in advance, shorten the subsequent maintenance time and improve the maintenance efficiency.
[0006] In a first aspect, an embodiment of the present application provides a data transmission method, including:
[0007] receiving a first operation on an aerosol generating device, wherein the first operation is used to start a data transmission function of the aerosol generating device;
[0008] Based on the first operation, and when the device status data corresponding to the aerosol generating device meets the data transmission conditions, the device status data corresponding to the aerosol generating device is sent to the detection device, and the device status data refers to the device parameters of the aerosol generating device in a specified state. The detection device is used to detect the fault condition corresponding to the aerosol generating device based on the device status data.
[0009] Optionally, based on the first operation and when the device status data corresponding to the aerosol generating device meets the data transmission condition, sending the device status data corresponding to the aerosol generating device to the detection device includes:
[0010] In the operating state of the first operation, if the device status data meets the data transmission condition, the device status data is sent to the detection device.
[0011] Optionally, the operation status includes at least one of an operation duration, an operation number, a time interval between two adjacent first operations, or a triggering method.
[0012] Optionally, the aerosol generating device is in a charging state, and the device state data includes a charging time corresponding to the aerosol generating device; or,
[0013] The aerosol generating device is in an operating state, and the device state data includes an operating temperature corresponding to the aerosol generating device; or,
[0014] The aerosol generating device is in an operating state, and the device state data includes the number of puff operations received by the aerosol generating device.
[0015] Optionally, the detection device stores reference state data, and the reference state data refers to device parameters of the aerosol generating device when operating in a normal state;
[0016] The method further comprises:
[0017] In the case where the device state data fails to match the reference state data, receiving mis-touch indication information, where the mis-touch indication information is used to indicate that the first operation is a mis-touch operation;
[0018] The aerosol generating device is restarted based on the false touch indication information.
[0019] Optionally, after sending the device status data corresponding to the aerosol generating device to the detection device, the method further includes:
[0020] When the detection device detects that the aerosol generating device has a device failure, maintenance instruction information sent by the test device is received, where the maintenance instruction information is used to indicate a maintenance method corresponding to the failure condition of the aerosol generating device.
[0021] In a second aspect, an embodiment of the present application provides a data transmission device, including:
[0022] An acquisition module, used for acquiring device status data corresponding to the aerosol generating device, wherein the device status data refers to device parameters of the aerosol generating device in a specified state;
[0023] A receiving module, configured to receive a first operation on the aerosol generating device, wherein the first operation is used to start a data transmission function of the aerosol generating device;
[0024] A sending module is used to send the device status data to a detection device based on the first operation and when the device status data meets the data transmission conditions, and the detection device is used to detect the fault condition corresponding to the aerosol generating device based on the device status data.
[0025] 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 data transmission method described in any one of the first aspects above is implemented.
[0026] 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 data transmission method described in any one of the first aspects is implemented.
[0027] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is executed on a computer device, the computer device executes the data transmission method described in any one of the first aspects above.
[0028] 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.
[0029] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0030] The device status data corresponding to the aerosol generating device is obtained, and when the first operation on the aerosol generating device is received, if the device status data meets the data transmission conditions, the device status data is sent to the detection device, so that the detection device can detect the fault of the aerosol generating device according to the device status data. That is, in the case of not performing the factory repair, the device status data corresponding to the aerosol generating device can be transmitted to the detection device in advance through the specified operation, thereby shortening the factory repair cycle of the device and improving the equipment detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] 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.
[0032] Figure 1 is a schematic diagram of an aerosol generating device system provided in one embodiment of the present application;
[0033] Figure 2 is a flow chart of a data transmission method provided by an embodiment of the present application;
[0034] Figure 3 is a flow chart of a data transmission method provided by an embodiment of the present application;
[0035] Figure 4 is a flow chart of a data transmission method provided in an embodiment of the present application;
[0036] Figure 5 is a schematic diagram of the structure of a data transmission device provided in an embodiment of the present application;
[0037] Figure 6 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] 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.
[0039] 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.
[0040] 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.
[0041] 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.
[0042] 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.
[0043] 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.
[0044] For illustration, please refer to Figure 1 , which shows a schematic diagram of an aerosol generating device system provided by an exemplary embodiment of the present application, such as Figure 1 As shown, the aerosol generating device system includes an aerosol generating device 110 .
[0045] In some embodiments, device status data corresponding to the aerosol generating device 110 is obtained, and the device status data refers to device parameters of the aerosol generating device 110 in a specified state; a first operation on the aerosol generating device 110 is received, for example: the aerosol generating device 110 is provided with a first control 101, and a trigger operation on the first control 101 is received as the first operation.
[0046] In some embodiments, according to the first operation, and when the device status data meets the data transmission conditions, the device status data is sent to the detection device 120, so that the detection device 120 can detect the corresponding fault condition of the aerosol generating device 110 according to the device status data.
[0047] Optionally, the aerosol generating device 110 comprises at least one of an electric heating type device or a carbon heating type device.
[0048] Optionally, the detection device 120 includes at least one of a terminal device or a server.
[0049] Optionally, the detection device 120 involved in the above embodiments can be implemented as at least one of terminal device types such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. The embodiments of the present application do not impose any restrictions on the specific type of the terminal device.
[0050] For example, the terminal device can be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a vehicle networking terminal, a computer, a laptop computer, a handheld communication device, a handheld computing device, a satellite wireless device, a wireless modem card, a TV set top box (STB), a customer premise equipment (CPE) and / or other devices for communicating on a wireless system and a next-generation communication system, such as a mobile terminal in a 5G network or a mobile terminal in a future evolved Public Land Mobile Network (PLMN) network, etc.
[0051] As an example but not limitation, when the test device is a wearable device, the wearable device can also be a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not just hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.
[0052] Optionally, the detection device 120 involved in the above embodiments can be implemented as a server, including an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server of basic cloud computing servers such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, big data and artificial intelligence platforms.
[0053] Optionally, the detection device 120 involved in the above embodiment can also be implemented as a node of the blockchain system.
[0054] It should be noted that the information (including but not limited to the object device information, object personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the object or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of the relevant regions.
[0055] In conjunction with the above-mentioned aerosol generating device system, the data transmission 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 data transmission method provided by an exemplary embodiment of the present application, the method includes the following steps 210 to 230.
[0056] Step 210, obtaining device status data corresponding to the aerosol generating device.
[0057] The device status data refers to the device parameters of the aerosol generating device under a specified state.
[0058] Illustratively, device state data refers to device parameters of device components in an aerosol generating device in a specified state.
[0059] Optionally, the specified state includes at least one of a charging state, an operating state or a shutdown state.
[0060] Among them, when the designated state is the charging state, the device component refers to the device battery installed in the aerosol generating device, and the device state data refers to the charging capacity of the device battery.
[0061] Among them, when the specified state is the operating state, the device component refers to the resistance element installed in the aerosol generating device, such as: thermistor (Negative Temperature Coefficient, NTC), and the device state data refers to the resistance value range corresponding to the resistance element during the operation of the aerosol generating device.
[0062] Among them, when the specified state is the operating state, the device component refers to the resistance element installed in the aerosol generating device, such as the thermistor NTC. According to the resistance value corresponding to the thermistor, it is converted into the operating temperature corresponding to the aerosol generating device. Therefore, the device status data refers to the operating temperature range corresponding to the aerosol generating device during operation.
[0063] Among them, when the specified state is the shutdown state, the device component refers to the indicator light installed in the aerosol generating device. In an example, under normal circumstances, if a startup operation is received in the shutdown state, the indicator light displays yellow. If the indicator light displays red, it means that there is a device failure in the aerosol generating device and it cannot be started. Therefore, the device status data refers to the corresponding display of the indicator light during the operation of the aerosol generating device.
[0064] Optionally, a plurality of different device status data corresponding to the aerosol generating device are obtained (including device parameters corresponding to different device components); or, a single type of device status data corresponding to the aerosol generating device is obtained once (for example, an operating temperature range is obtained as device status data, or a resistance value range is obtained as device status data).
[0065] Optionally, the device status data corresponding to the aerosol generating device is obtained in real time; or, the device status data within a specified time range is obtained at pre-set time intervals, for example: every 3 seconds, the device status data corresponding to the aerosol generating device within 5 seconds starting from the current moment is read; if the current moment is the 20th second after startup, for example, after 3 seconds, the device status data corresponding to the aerosol generating device within 5 seconds is read starting from the 24th second.
[0066] In one practicable case, with user authorization, after obtaining device status data corresponding to the aerosol generating device, the device status data is stored in a folder of a device chip in the aerosol generating device.
[0067] Step 220: receiving a first operation of the aerosol generating device.
[0068] The first operation is used to start the data transmission function of the aerosol generating device.
[0069] Schematically, the data transmission function refers to the transmission of data between the aerosol generating device and other devices.
[0070] Optionally, the data transmission function includes at least one of the following two situations:
[0071] In the first, the aerosol-generating device sends data to other devices;
[0072] Second, the aerosol generating device receives data sent by other devices.
[0073] It is worth noting that the above data transmission function is only an illustrative example and is not limited to this in the embodiments of the present application.
[0074] In some embodiments, when a communication connection is established between the aerosol generating device and the other device, the aerosol generating device is capable of transmitting data between the other device.
[0075] Optionally, the communication connection may be established in at least one of the following ways:
[0076] The first is to establish a communication connection through a wireless network. For example, a wireless communication module (such as Wi-Fi or Bluetooth) is provided in the aerosol generating device, so as to establish a communication connection between the aerosol generating device and other devices. In addition, the aerosol generating device can encrypt the data through the HTTP / HTTPS protocol before sending it to other devices.
[0077] The second method is to establish a two-way communication channel between the aerosol generating device and other devices through the WebSocket protocol to transmit data in real time. That is, through WebSocket, the aerosol generating device can send real-time device status data to other devices and receive instant feedback from other devices;
[0078] The third method is to establish a communication connection between the aerosol generating device and other devices through cloud services. That is, the aerosol generating device uploads the device status data to the cloud service by calling the cloud service application programming interface (Application Programming Interface, API), and the cloud server transmits it to other devices.
[0079] The fourth method is to establish a communication connection between the aerosol generating device and other devices through near field communication technology (NFC), wherein the NFC technology is applicable when the physical distance between the aerosol generating device and other devices is less than a preset distance threshold;
[0080] The fifth method is physical transmission, that is, a communication connection can be established between the aerosol generating device and other devices through a Universal Serial Bus (USB).
[0081] It is worth noting that the above-mentioned communication establishment method is only an illustrative example and this application does not limit it.
[0082] Optionally, a single first operation on the aerosol generating device is received; or, a plurality of first operations on the aerosol generating device are received.
[0083] Step 230: Based on the first operation, and if the device status data meets the data transmission condition, send the device status data to the detection device.
[0084] Among them, the detection device is used to detect the corresponding fault condition of the aerosol generating device based on the device status data.
[0085] Illustratively, the detection device is used to perform fault detection on the aerosol generating device, so as to determine whether there is a device fault in the aerosol generating device.
[0086] In an optional case, when the first operation is received, if the device status data meets the data transmission condition, the aerosol generating device sends the device status data to the detection device.
[0087] In another optional case, when the operating state of the first operation meets the preset operating condition and the device state data of the aerosol generating device meets the operating state condition, the aerosol generating device sends the device state data to the detection device.
[0088] Illustratively, after receiving the device status data, the detection device performs a fault analysis on the aerosol generating device according to the device status data to determine whether there is a device fault in the aerosol generating device.
[0089] In one feasible case, the detection device compares the device status data with preset reference status data to determine whether the aerosol generating device has a device failure.
[0090] The reference state data refers to the device parameters corresponding to when the aerosol generating device operates under normal conditions.
[0091] For example: taking the battery in the aerosol generating device as an example, the device status data refers to the battery charge change curve within a specified time range, and the reference status data is the reference charge change curve of the battery in the aerosol generating device under normal conditions, and the charge change curve is compared with the reference charge change curve. In the comparison process, the charge change curve is composed of a time-charge change curve. Therefore, multiple time points are selected to obtain first charge values corresponding to the multiple time points, and multiple second charge values in the reference charge change curve are obtained based on the multiple time points. If the charge difference between the first charge value and the second charge value corresponding to the same time point is greater than the charge threshold, it is considered that the battery of the aerosol generating device is faulty.
[0092] In one practicable case, if the detection device detects that the aerosol generating device has a device fault, the fault detection result is fed back to the aerosol generating device. Optionally, the fault detection result is displayed in a designated area of the aerosol generating device.
[0093] The data transmission method provided in the embodiment of the present application obtains the device status data corresponding to the aerosol generating device, and when the first operation on the aerosol generating device is received, if the device status data meets the data transmission conditions, the device status data is sent to the detection device, so that the detection device can detect the fault of the aerosol generating device according to the device status data. That is, in the case of not performing the factory repair, the device status data corresponding to the aerosol generating device can be transmitted to the detection device in advance through the specified operation, thereby shortening the factory repair cycle of the device and improving the efficiency of equipment detection.
[0094] In some embodiments, the display process of the status information is described in detail. For example, please refer to Figure 3 , which shows a flow chart of a data transmission method provided by an exemplary embodiment of the present application, that is, step 230 also includes step 231, such as Figure 3 As shown, the method also includes the following steps.
[0095] Step 231 : When the operation state of the first operation meets the preset operation condition and the device state data meets the data transmission condition, the device state data is sent to the detection device.
[0096] Illustratively, when the first operation is received, if the operating state of the first operation meets the preset operating conditions and the device status data meets the data transmission conditions, the aerosol generating device sends the device status data to the detection device.
[0097] In some embodiments, the operation status includes at least one of an operation duration, an operation number, a time interval between two adjacent first operations, or a triggering method.
[0098] In this embodiment, the operation duration refers to the duration of the first operation. For example, the aerosol generating device is provided with a first control, the first operation is implemented by triggering the first control, and the operation duration is the triggering duration of the first control.
[0099] In this embodiment, the number of operations refers to the number of first operations. For example, the aerosol generating device is provided with a first control, the first operation is implemented by triggering the first control, and the number of operations is the number of times the first control is triggered.
[0100] In this embodiment, the time interval between two adjacent first operations refers to the length of time between the previous first operation and the next first operation. For example, after the i-th first operation is completed, the (i+1)-th first operation is performed 3 seconds later. Therefore, 3 seconds is used as the time interval.
[0101] In this embodiment, the triggering mode refers to the operating mode of the first operation. For example, the aerosol generating device is provided with a first control. The triggering mode can be implemented by pressing the first control, rotating the first control (in this case, the first control is a knob control), or shaking the first control.
[0102] In some embodiments, the aerosol generating device is in a charging state, and the device status data includes the corresponding charging time of the aerosol generating device; or, the aerosol generating device is in an operating state, and the device status data includes the corresponding operating temperature of the aerosol generating device; or, the aerosol generating device is in an operating state, and the device status data includes the number of puff operations received by the aerosol generating device.
[0103] Schematically, according to different states of the aerosol generating device, the corresponding device state data is also different.
[0104] Among them, if the aerosol generating device is in a charging state, the device status data can be realized as the charging time corresponding to the aerosol generating device.
[0105] Among them, if the aerosol generating device is in an operating state, the device state data can be realized as an operating temperature corresponding to a thermistor in the aerosol generating device, wherein the operating temperature can be converted into a corresponding operating temperature according to a resistance value corresponding to the thermistor.
[0106] If the aerosol generating device is in operation, the device status data may be implemented as the number of puff operations received by the aerosol generating device.
[0107] In some embodiments, reference state data is stored in the detection device, and the reference state data refers to device parameters of the aerosol generating device when operating in a normal state; when the device state data fails to match the reference state data, false touch indication information is received, and the false touch indication information is used to indicate that the first operation is a false touch operation; and the aerosol generating device is restarted based on the false touch indication information.
[0108] In this embodiment, the detection device pre-stores reference state data for indicating device parameters of the aerosol generating device under normal operation. The detection device compares the device state data with the reference state data during fault detection of the aerosol generating device. If the device state data and the reference state data fail to match, the detection device receives mis-touch indication information sent by the detection device to indicate that the first operation is a mis-touch operation. When the display time of the mis-touch indication information reaches a preset time threshold, the aerosol generating device is automatically restarted.
[0109] In some embodiments, when the detection device detects that the aerosol generating device has a device failure, maintenance instruction information sent by the test device is received, where the maintenance instruction information is used to indicate a maintenance method corresponding to the failure condition of the aerosol generating device.
[0110] In this embodiment, in addition to detecting whether there is an equipment failure in the aerosol generating device, maintenance instruction information is also generated for the equipment failure to remind the current aerosol generating device that there is an equipment failure and provide corresponding maintenance methods. For example, if the equipment failure is a battery damage, the maintenance instruction information can be expressed as: it is recommended to replace the battery.
[0111] The data transmission method provided in the embodiment of the present application obtains the device status data corresponding to the aerosol generating device, and when the first operation on the aerosol generating device is received, if the device status data meets the data transmission conditions, the device status data is sent to the detection device, so that the detection device can detect the fault of the aerosol generating device according to the device status data. That is, in the case of not performing the factory repair, the device status data corresponding to the aerosol generating device can be transmitted to the detection device in advance through the specified operation, thereby shortening the factory repair cycle of the device and improving the efficiency of equipment detection.
[0112] For illustration, please refer to Figure 4 , which shows a flow chart of a data transmission method provided by an exemplary embodiment of the present application, such as Figure 4 As shown, the method includes the following steps.
[0113] Step 410, adding a network communication module.
[0114] During the development of the aerosol generating device, a network module is added to transmit the device status data in real time and upload the device status data to the server.
[0115] Step 420, software configuration function module.
[0116] The aerosol generating device is burned with a functional application program for compiling various functions of the aerosol generating device, such as: display function, heating function, motor vibration function, network function, etc.
[0117] During use, the aerosol generating device needs to determine whether there is a device failure according to the device status data. If there is a device failure in the aerosol generating device, step 430 is executed; otherwise, step 450 is executed.
[0118] Among them, the method for the aerosol generating device to determine whether the device has an equipment failure includes the following: pre-setting reference component data, which represents the corresponding component parameters in the aerosol generating device under normal conditions. If the component parameter data corresponding to the aerosol generating device in actual conditions is different from the reference component data, then it is considered that the aerosol generating device has an equipment failure.
[0119] It is worth noting that the aerosol generating device can only determine that there is a device failure in itself, but the type of device failure needs to be analyzed by the server based on the device status data of the aerosol generating device.
[0120] Step 430, upload to the detection device.
[0121] When the user uses the aerosol generating device, the user performs a first operation on the aerosol generating device, activates the network function according to the first operation, and uploads the device status data of the aerosol generating device to the detection device (taking the server as an example). If this function is not activated, or the activation fails, it means that the aerosol generating device is good and can be inhaled normally.
[0122] Here are some examples of network functions:
[0123] First, the aerosol generating device is in a charging state, and the operation time of the first operation reaches a preset time threshold.
[0124] For example: the program sets the charging time threshold to 5 minutes, and sets the preset time threshold of the first operation to 5 minutes. When the aerosol generating device is in a charging state and the user triggers the first operation on the aerosol generating device, if the charging state reaches 5 minutes and the operation time of the first operation reaches 5 minutes, the network module can be activated and the device status data can be uploaded to the server.
[0125] Second, the aerosol generating device is in a charging state and the operating temperature reaches a preset temperature threshold.
[0126] For example: the program sets the charging time threshold to 5 minutes, and sets the temperature threshold of the aerosol generating device to 32 degrees Celsius through the NTC in the aerosol generating device. When the aerosol generating device is in a charging state, if the charging state reaches 5 minutes and the operating temperature of the aerosol generating device reaches 32 degrees Celsius, the network module can be activated to upload the device status data to the server.
[0127] The third type is that the aerosol generating device is in a charging state, the operation time of the first operation reaches a preset time threshold and the operating temperature reaches a preset temperature threshold.
[0128] Similarly, only after the above three conditions are met can the network module be activated to upload the device status data to the server.
[0129] The fourth type: the aerosol generating device is in operation, through the microphone function (note function) + button
[0130] The aerosol generating device is equipped with a microphone. The program configures the high and low levels through the hardware configured pins. For example, when the microphone is at a high level, it is considered that a puff operation is received, and the number of puffs is counted. If the microphone is at a low level, it is considered that the aerosol generating device has not received a puff operation. The program is set to output a high level 5 times, which is equivalent to receiving five puff operations. The five puff operations are used as the operation quantity threshold. If the operation duration of the first operation reaches the preset duration threshold, and the microphone is at a high level five times, the network module can be activated to upload the device status data to the server.
[0131] Fifth method: Combining the above four methods, when each condition in the above four methods is met, the network module is activated to upload the device status data to the server.
[0132] Step 440, parse the device status data.
[0133] When the server receives the device status data, it matches the device status data with the pre-stored candidate status data and the corresponding fault type, thereby determining the fault type corresponding to the aerosol generating device as the device detection result.
[0134] Step 450, receiving a suction operation.
[0135] If there is no device failure in the aerosol generating device, the aerosol generating device is started to receive the inhalation operation normally.
[0136] Step 460, display the device detection result.
[0137] After the server determines the fault type corresponding to the aerosol generating device, it sends the fault type and the corresponding maintenance method as the device detection result to the aerosol generating device, and displays the device detection result in a designated area of the aerosol generating device.
[0138] Step 470, end.
[0139] The data transmission method provided in the embodiment of the present application obtains the device status data corresponding to the aerosol generating device, and when the first operation on the aerosol generating device is received, if the device status data meets the data transmission conditions, the device status data is sent to the detection device, so that the detection device can detect the fault of the aerosol generating device according to the device status data. That is, in the case of not performing the factory repair, the device status data corresponding to the aerosol generating device can be transmitted to the detection device in advance through the specified operation, thereby shortening the factory repair cycle of the device and improving the efficiency of equipment detection.
[0140] For illustration, please refer to Figure 5 , which shows a schematic diagram of the structure of a data transmission device provided by an exemplary embodiment of the present application, wherein the data transmission device may specifically include the following modules:
[0141] An acquisition module 510 is used to acquire device status data corresponding to the aerosol generating device, wherein the device status data refers to device parameters of the aerosol generating device in a specified state;
[0142] A receiving module 520, configured to receive a first operation on the aerosol generating device, wherein the first operation is configured to start a data transmission function of the aerosol generating device;
[0143] The sending module 530 is used to send the device status data to the detection device based on the first operation and when the device status data meets the data transmission conditions, and the detection device is used to detect the fault condition corresponding to the aerosol generating device based on the device status data.
[0144] Optionally, the sending module 530 is further configured to send the device status data to the detection device when the operating state of the first operation meets a preset operating condition and the device status data meets the data transmission condition.
[0145] Optionally, the operation status includes at least one of an operation duration, an operation number, a time interval between two adjacent first operations, or a triggering method.
[0146] Optionally, the aerosol generating device is in a charging state, and the device status data includes the corresponding charging time of the aerosol generating device; or, the aerosol generating device is in an operating state, and the device status data includes the corresponding operating temperature of the aerosol generating device; or, the aerosol generating device is in an operating state, and the device status data includes the number of puffing operations received by the aerosol generating device.
[0147] Optionally, reference state data is stored in the detection device, and the reference state data refers to device parameters of the aerosol generating device when operating in a normal state.
[0148] The receiving module 520 is further configured to receive false touch indication information when the device status data fails to match the reference status data, wherein the false touch indication information is configured to indicate that the first operation is a false touch operation; and restart the aerosol generating device based on the false touch indication information.
[0149] Optionally, the receiving module 520 is further used to receive maintenance instruction information sent by the testing device when the detection device detects that the aerosol generating device has a device failure, and the maintenance instruction information is used to indicate a maintenance method corresponding to the failure condition of the aerosol generating device.
[0150] The data transmission device provided in the embodiment of the present application obtains the device status data corresponding to the aerosol generating device, and when receiving the first operation on the aerosol generating device, if the device status data meets the data transmission conditions, sends the device status data to the detection device, so that the detection device can detect the fault of the aerosol generating device according to the device status data. That is, in the case of not performing the factory repair, the device status data corresponding to the aerosol generating device can be transmitted to the detection device in advance through the specified operation, shortening the factory repair cycle of the device and improving the equipment detection efficiency.
[0151] See also Figure 6 , which shows a schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 6 As shown, the computer device 1000 of this embodiment includes: at least one processor 1010 ( Figure 6 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 data transmission method embodiment are implemented.
[0152] 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 6 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.
[0153] 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.
[0154] 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.
[0155] 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.
[0156] 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.
[0157] 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.
[0158] 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.
[0159] 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.
[0160] 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.
[0161] 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.
[0162] 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.
[0163] 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 data transmission method, characterized in that: The method is applied to an aerosol generating device, and the method comprises: Acquire device status data corresponding to the aerosol generating device, wherein the device status data refers to device parameters of the aerosol generating device in a specified state; receiving a first operation on the aerosol generating device, wherein the first operation is used to start a data transmission function of the aerosol generating device; Based on the first operation, and when the device status data meets the data transmission condition, the device status data is sent to a detection device, and the detection device is used to detect a fault condition corresponding to the aerosol generating device based on the device status data.
2. The method according to claim 1, characterized in that: The step of sending the device status data corresponding to the aerosol generating device to the detection device based on the first operation and when the device status data meets the data transmission condition includes: When the operation state of the first operation meets the preset operation condition and the device state data meets the data transmission condition, the device state data is sent to the detection device.
3. The method according to claim 2, characterized in that The operation status includes at least one of an operation duration, an operation number, a time interval between two adjacent first operations, or a triggering method.
4. The method according to claim 2, characterized in that: The aerosol generating device is in a charging state, and the device state data includes a charging time corresponding to the aerosol generating device; or, The aerosol generating device is in an operating state, and the device state data includes an operating temperature corresponding to the aerosol generating device; or, The aerosol generating device is in an operating state, and the device state data includes the number of puff operations received by the aerosol generating device.
5. The method according to any one of claims 1 to 4, characterized in that: The detection device stores reference state data, wherein the reference state data refers to device parameters of the aerosol generating device when the aerosol generating device is operating in a normal state; The method further comprises: In the case where the device state data fails to match the reference state data, receiving mis-touch indication information, where the mis-touch indication information is used to indicate that the first operation is a mis-touch operation; The aerosol generating device is restarted based on the false touch indication information.
6. The method according to any one of claims 1 to 4, characterized in that: After sending the device status data corresponding to the aerosol generating device to the detection device, the method further includes: When the detection device detects that the aerosol generating device has a device failure, maintenance instruction information sent by the test device is received, where the maintenance instruction information is used to indicate a maintenance method corresponding to the failure condition of the aerosol generating device.
7. A data transmission device, characterized in that: The device comprises: An acquisition module, used for acquiring device status data corresponding to the aerosol generating device, wherein the device status data refers to device parameters of the aerosol generating device in a specified state; A receiving module, configured to receive a first operation on the aerosol generating device, wherein the first operation is used to start a data transmission function of the aerosol generating device; A sending module is used to send the device status data to a detection device based on the first operation and when the device status data meets the data transmission conditions, and the detection device is used to detect the fault condition corresponding to the aerosol generating device based on the device status data.
8. A computer device, characterized in that: The computer device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the data transmission method according to any one of claims 1 to 6 when executing the computer program.
9. 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 data transmission method according to any one of claims 1 to 6 is implemented.
10. A computer program product, characterized in that The invention comprises a computer program, which, when being executed, enables the data transmission method according to any one of claims 1 to 6 to be executed.