Data processing method and device, equipment, storage medium and program product

By adding a lock function to the aerosol generation device and turning off the data transmission function, the problem of equipment operation parameters leakage is solved and data security is improved.

CN119817886APending Publication Date: 2025-04-15SHENZHEN GEEKVAPE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411978634.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

During use, the equipment operation parameters can be leaked due to its direct turn-on operation, resulting in poor data security.

Method used

By adding a locking function, after the aerosol generation device passes the equipment detection, the data transmission function in the aerosol generation device is activated by the detection device, and the data transmission function is turned off to improve data security.

Benefits of technology

It effectively prevents the equipment operating parameters of aerosol generation equipment from leaking during use, improving data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119817886A_ABST
    Figure CN119817886A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of data processing, and provides a data processing method and device, equipment, a storage medium and a program product, and the method comprises the steps: obtaining equipment test data corresponding to aerosol generation equipment; sending the equipment test data to detection equipment; receiving a first instruction sent by the test equipment under the condition that the aerosol generation equipment meets a good product condition; and closing a data transmission function corresponding to the aerosol generation equipment based on the first instruction. And after the aerosol generation equipment passes the equipment detection, the detection equipment controls the aerosol generation equipment to close the data transmission function, so that the safety of the equipment operation parameters in the use process of the aerosol generation equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and in particular, relates to data processing methods, devices, equipment, storage media and program products. Background Art

[0002] With the development of technology, the application of aerosol generating equipment has become increasingly widespread. When in use, a built-in power supply provides electrical energy, and the aerosol generating matrix is ​​heated and atomized through a heating system, thereby generating atomized aerosol.

[0003] In the related art, when the test station completes the test of the aerosol generating device and the aerosol generating device passes the test, when the user gets the aerosol generating device, he can turn it on for use.

[0004] However, since the aerosol generating device can be turned on and used directly, the device operating parameters of the aerosol generating device may be leaked, resulting in poor data security of the aerosol generating device. Summary of the invention

[0005] The embodiments of the present application provide a data processing method, apparatus, device, storage medium and program product. By adding a locking function, after the aerosol generating device passes the device detection, the detection device is used to start the data transmission function in the aerosol generating device, thereby improving the data security of the aerosol generating device.

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

[0007] Acquiring device test data corresponding to the aerosol generating device, wherein the device test data refers to component operating parameters of the aerosol generating device during the test operation;

[0008] sending the device test data to a detection device, wherein the detection device is used to detect whether the aerosol generating device has a fault based on the device test data;

[0009] When the aerosol generating device meets the good product condition, receiving a first instruction sent by the testing device;

[0010] Based on the first instruction, a data transmission function corresponding to the aerosol generating device is turned off, where the data transmission function refers to sending device operating parameters corresponding to the aerosol generating device to other devices.

[0011] Optionally, shutting down a data transmission function corresponding to the aerosol generating device based on the first instruction includes:

[0012] A locking function corresponding to the aerosol generating device is started based on the first instruction, where the locking function is used to turn off the data transmission function.

[0013] Optionally, the aerosol generating device corresponds to a first serial port, and the first serial port corresponds to the data transmission function;

[0014] The starting a locking function corresponding to the aerosol generating device based on the first instruction includes:

[0015] Lock the first serial port based on the first instruction, and obtain a locking state corresponding to the first serial port;

[0016] Determine, based on the locking state, to close a data transmission function corresponding to the aerosol generating device.

[0017] Optionally, the flag bit corresponding to the first serial port corresponds to a first identifier in an enabled state;

[0018] The locking the first serial port based on the first instruction and obtaining a locking state corresponding to the first serial port includes:

[0019] A first identifier corresponding to the first serial port is rewritten based on the first instruction to obtain a second identifier, where the second identifier is used to indicate that the first serial port is in a locked state.

[0020] Optionally, after sending the device test data to the detection device, the method further includes:

[0021] When the aerosol generating device meets the good product condition, receiving a second instruction sent by a second device, the second device being different from the detection device;

[0022] The locking function corresponding to the aerosol generating device is activated based on the second instruction.

[0023] Optionally, the first instruction includes a first device identifier corresponding to the detection device;

[0024] The locking function corresponding to the aerosol generating device is activated, comprising:

[0025] Performing instruction analysis on the second instruction to obtain instruction content corresponding to the second instruction;

[0026] When the first device identifier is not included in the instruction content, the locking function corresponding to the aerosol generating device is activated.

[0027] Optionally, after starting a locking function corresponding to the aerosol generating device based on the first instruction, the method further includes:

[0028] receiving a third instruction sent by the detection device, wherein the third instruction is used to obtain a device operating parameter corresponding to the aerosol generating device;

[0029] displaying unlock instruction content in the aerosol generating device based on the third instruction, wherein the unlock instruction content is used to unlock the locking function;

[0030] In response to the unlocking operation, the device operating parameters are sent to the detection device.

[0031] In a second aspect, an embodiment of the present application provides a data processing device, including:

[0032] An acquisition module, used to acquire device test data corresponding to the aerosol generating device, wherein the device test data refers to component operation parameters of the aerosol generating device during the test operation;

[0033] a sending module, used for sending the device test data to a detection device, wherein the detection device is used for detecting whether the aerosol generating device has a fault based on the device test data;

[0034] A receiving module, configured to receive a first instruction sent by the testing device when the aerosol generating device meets the good product condition;

[0035] A closing module is used to close the data transmission function corresponding to the aerosol generating device based on the first instruction, wherein the data transmission function refers to sending the device operating parameters corresponding to the aerosol generating device to other devices.

[0036] 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 processing method described in any one of the first aspects above is implemented.

[0037] 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 processing method described in any one of the first aspects is implemented.

[0038] 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 data processing method described in any one of the above-mentioned first aspects.

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

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

[0041] After obtaining the device test data corresponding to the aerosol generating device, the device test data is sent to the detection device for fault detection. If the aerosol generating device meets the good product conditions, the test device sends a first instruction to the aerosol generating device to turn off the data transmission function corresponding to the aerosol generating device, so that it cannot send the device operating parameters of the device to other devices. That is to say, when the aerosol generating device passes the equipment detection, the detection device controls the aerosol generating device to turn off the data transmission function, thereby improving the safety of the device operating parameters of the aerosol generating device during use. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0043] Figure 1 is a schematic diagram of an aerosol generating device system provided in one embodiment of the present application;

[0044] Figure 2 is a flow chart of a data processing method provided by an embodiment of the present application;

[0045] Figure 3 is a flow chart of a data processing method provided by an embodiment of the present application;

[0046] Figure 4 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;

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

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

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

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

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

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

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

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

[0055] In some embodiments, device test data corresponding to the aerosol generating device 110 is obtained, and the device test data refers to component operating parameters of the aerosol generating device 110 during the test operation; the device test data is sent to the detection device 120, wherein the detection device 120 is used to detect whether there is a fault in the aerosol generating device 110 based on the device test data; when the aerosol generating device 110 meets the good product conditions, the test device 120 sends a first instruction to the aerosol generating device 110; based on the first instruction, the data transmission function corresponding to the aerosol generating device 110 is turned off, wherein the data transmission function refers to sending the device operating parameters corresponding to the aerosol generating device 110 to other devices 130.

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

[0057] Optionally, the computer device (including the detection device 120) involved in the above embodiments can be implemented as at least one of the 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.

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

[0059] As an example but not limitation, when the computer 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 smart bracelets and smart jewelry for vital sign monitoring.

[0060] In conjunction with the above-mentioned aerosol generating device system, the data processing method provided in the embodiment of the present application is described in detail. For schematic illustration, please refer to Figure 2 , which shows a flow chart of a data processing method provided by an exemplary embodiment of the present application, the method includes the following steps 210 to 240.

[0061] Step 210, obtaining device test data corresponding to the aerosol generating device.

[0062] Among them, equipment test data refers to the component operating parameters of the aerosol generating device during the test operation.

[0063] Illustratively, the equipment test data refers to the operating parameters corresponding to each component in the aerosol generating device during the test operation of the aerosol generating device. For example, the aerosol generating device includes a heating component, and the equipment test data is the temperature change corresponding to the heating component during the heating test of the aerosol generating device on the heating component, including the corresponding temperature values ​​at multiple different times. For another example, the aerosol generating device is provided with a battery, and the equipment test data is the operating time corresponding to the battery during the operation of the aerosol generating device.

[0064] In one embodiment, the detection device sends a test instruction to the aerosol generating device. After receiving the test instruction, the aerosol generating device starts to run until it ends, and obtains the component operating parameters generated by each component in the aerosol generating device during the entire operation process as device test data.

[0065] Optionally, the device test data refers to data generated by the aerosol generating device during a single test run; or, the device test data refers to multiple sets of data generated by the aerosol generating device during multiple test runs, each set of data including data generated by each component during a single test run.

[0066] Step 220: Send device test data to the detection device.

[0067] Among them, the detection equipment is used to detect whether there is a fault in the aerosol generating equipment based on the equipment test data.

[0068] Illustratively, the aerosol generating device sends device test data to the detection device, and the detection device is used to check whether there is a device failure in the aerosol generating device.

[0069] In some embodiments, the detection device pre-stores multiple reference test data, and the reference test data refers to the component operating parameters corresponding to each component when the aerosol generating device is operating under normal conditions. The reference test data and the device test data corresponding to the same component are compared. If the two match, it is determined that there is no fault in the aerosol generating device. If the two do not match, it is determined that there is a fault in the aerosol generating device.

[0070] Step 230: When the aerosol generating device meets the good product condition, a first instruction sent by the testing device is received.

[0071] Indicatively, the good product condition means that the aerosol generating device has no equipment failure and meets the conditions corresponding to the factory requirements.

[0072] Illustratively, when determining that the aerosol generating device has no fault, the testing device sends a first instruction to the aerosol generating device to disable a data transmission function in the aerosol generating device.

[0073] Optionally, for different aerosol generating devices, the instruction content corresponding to the first instruction issued by the test device is different; or, for different aerosol generating devices, the instruction content corresponding to the first instruction issued by the test device is the same.

[0074] In a feasible situation, the test device issues the same first instruction to multiple different aerosol generating devices, wherein multiple device identifiers are configured in the first instruction, and the device identifiers correspond to the aerosol generating devices. After receiving the first instruction, the aerosol generating device identifies the multiple device identifiers. If the device identifier corresponding to its own device is identified, the instruction content corresponding to the first instruction is executed (that is, the data transmission function is turned off); otherwise, the instruction content corresponding to the first instruction is not executed.

[0075] Step 240: shut down the data transmission function corresponding to the aerosol generating device based on the first instruction.

[0076] Among them, the data transmission function refers to sending the device operating parameters corresponding to the aerosol generating device to other devices.

[0077] Indicatively, turning off the data transmission function means that other devices cannot obtain device operating parameters corresponding to the aerosol generating device.

[0078] Optionally, in the first case, the aerosol generating device cannot actively send device operating parameters to other devices; in the second case, after receiving the data acquisition request sent by other devices, the aerosol generating device discards or blocks the data acquisition request.

[0079] Schematically, the equipment operation parameters refer to the object data, usage data, equipment operation logic data, etc. corresponding to the aerosol generating equipment during operation.

[0080] Among them, object data refers to the information data corresponding to the first object that owns the aerosol generating device; usage data refers to the usage habits corresponding to the first object in the process of using the aerosol generating device; and device operation logic data refers to the program operation content corresponding to the aerosol generating device during operation.

[0081] In some embodiments, a locking function corresponding to the aerosol generating device is started based on the first instruction, and the locking function is used to turn off the data transmission function.

[0082] In this embodiment, the aerosol generating device includes a locking function, which is used to stop running some designated functions in the aerosol generating device, such as: data transmission function, voice function, Bluetooth transmission function, etc.

[0083] Optionally, the relevant function types that can be turned off by the locking function have been configured during the factory settings of the aerosol generating device, that is, the locking function is fixed to turn off specified functions in the aerosol generating device; or, the relevant function types that can be turned off by the locking function are freely determined by the first object that owns the aerosol generating device, and the embodiments of the present application do not limit this.

[0084] In this embodiment, the locking function is used to turn off the data transmission function in the aerosol generating device, that is, when the locking function is turned on, the data transmission function is turned off.

[0085] In a feasible situation, if the locking function is turned off, the data transmission function can be turned on or can continue to be turned off.

[0086] In some embodiments, the aerosol generating device corresponds to a first serial port, and the first serial port corresponds to a data transmission function; based on the first instruction, the first serial port is locked to obtain a locking state corresponding to the first serial port; based on the locking state, it is determined to close the data transmission function corresponding to the aerosol generating device.

[0087] Schematically, the first serial port refers to the serial interface corresponding to when the aerosol generating device establishes a communication connection with other devices. In the related technology, when the aerosol generating device establishes a communication connection with other devices through the first serial port, the first serial port is used to send and receive data between the two devices.

[0088] In this embodiment, after receiving the first instruction, the aerosol generating device locks the first serial port and obtains the locking state corresponding to the first serial port. That is to say, when the first serial port is in the locked state, the aerosol generating device cannot establish a communication connection with other devices through the first serial port. Furthermore, even if the aerosol generating device establishes a communication connection with other devices through the first serial port, the aerosol generating device cannot send device operating parameters to other devices through the first serial port.

[0089] In some embodiments, the flag bit corresponding to the first serial port corresponds to a first identifier in an open state; the flag bit corresponding to the first serial port is rewritten based on the first instruction to obtain a second identifier, and the second identifier is used to indicate that the first serial port is in a locked state.

[0090] In this embodiment, if the first serial port is in the open state, that is, when the aerosol generating device establishes a communication connection with other devices through the first serial port, the first serial port can be used to send and receive data between the two devices. At this time, the flag bit of the first serial port corresponds to the first identifier, for example: the first identifier is implemented as "11".

[0091] In this embodiment, after receiving the first instruction, the flag bit of the first serial port is rewritten, that is, the first identifier is rewritten to the second identifier. At this time, the state of the first serial port is changed from the open state to the locked state. When the first serial port is in the locked state, the aerosol generating device cannot establish a communication connection with other devices through the first serial port. Further, even if the aerosol generating device establishes a communication connection with other devices through the first serial port, the aerosol generating device cannot send device operating parameters to other devices through the first serial port, for example, the second identifier is implemented as "00".

[0092] In some embodiments, when the aerosol generating device meets the good product conditions, a second instruction sent by a second device is received, the second device is different from the detection device, and the second instruction is used to obtain device operating parameters corresponding to the aerosol generating device; based on the second instruction, the locking function corresponding to the aerosol generating device is started.

[0093] In this embodiment, when the aerosol generating device does not have a fault, and the detection device does not send the first instruction to the aerosol generating device, at this time, if the second instruction sent by the second device is received, and the second instruction is used to request to obtain the device operating parameters of the aerosol generating device, the aerosol generating device will automatically trigger the locking function after receiving the second instruction, thereby automatically turning off the data transmission function. In other words, even if the detection device does not send the first instruction to the aerosol generating device, when the aerosol generating device receives the data acquisition request sent by other devices, it can also automatically turn off the data transmission function to protect its own data.

[0094] In some embodiments, the first instruction includes a first device identifier corresponding to the detection device; the second instruction is analyzed to obtain instruction content corresponding to the second instruction; if the first device identifier is not included in the instruction content, the locking function corresponding to the aerosol generating device is activated.

[0095] In the present embodiment, further, the first instruction sent by the detection device includes a first device identification corresponding to the detection device itself. After obtaining the first device identification, the aerosol generating device is used to determine that the detection device is a trustworthy device. That is to say, the aerosol generating device can transmit data with the detection device. However, if a second instruction sent by a second device is received, but the first device identification does not exist in the second instruction, after the aerosol generating device receives the second instruction, since the first device identification is not recognized, it indicates that the second device is an untrustworthy device. At this time, the aerosol generating device will automatically start the locking function and turn off its own data transmission function to ensure its own data security.

[0096] In some embodiments, a third instruction sent by a detection device is received, and the third instruction is used to obtain device operating parameters corresponding to the aerosol generating device; based on the third instruction, unlocking instruction content is displayed in the aerosol generating device, and the unlocking instruction content is used to unlock the locking function; in response to the unlocking operation, the device operating parameters are sent to the detection device.

[0097] In this embodiment, since the detection device is a trustworthy device for the aerosol generating device, when the third instruction sent from the detection device is received to unlock the above-mentioned locking function, after receiving the unlocking operation from the first object, that is, after obtaining the authorization of the first object, the locking function can be unlocked, and then the device operating parameters of the aerosol generating device are sent to the detection device.

[0098] The data processing method provided in the embodiment of the present application obtains device test data corresponding to the aerosol generating device, and then sends the device test data to the detection device for fault detection. If the aerosol generating device meets the good product conditions, the test device sends a first instruction to the aerosol generating device, which is used to turn off the data transmission function corresponding to the aerosol generating device, so that it cannot send the device operating parameters of the device to other devices. That is to say, when the aerosol generating device passes the device detection, the detection device controls the aerosol generating device to turn off the data transmission function, thereby improving the safety of the device operating parameters of the aerosol generating device during use.

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

[0100] Step 310, selecting a chip with a read-write protection function.

[0101] During the hardware design of the aerosol generating device, a chip with read-write protection functions is selected as the operating chip of the aerosol generating device.

[0102] Among them, the read-write protection function of the chip refers to a security mechanism provided by the chip to protect the data stored in the chip from being illegally accessed or modified.

[0103] The read protection function acts on the entire storage area or a specific storage segment. Once the chip is set for read protection, the implementation of read protection inside the chip is usually achieved by setting specific option bytes, taking the core microcontroller as an example. For example, in the Flash memory of STM32, the read protection function can be enabled by programming the option bytes. Once enabled, the contents of the Flash memory cannot be read out through the debug interface. At the same time, even if write protection is not enabled, certain areas of the Flash memory (such as the area where the reset or interrupt vector is located) will be write-protected to prevent malicious code from jumping to these areas for execution.

[0104] The write protection function is used to protect the storage content inside the chip from being accidentally rewritten or erased. Taking the core microcontroller as an example, write protection is usually set in units of storage areas. For example, the Flash memory can be divided into multiple pages (each page is 1KB or larger), and write protection can be set for each of these pages. Programming or erasing operations on the protected pages will not be performed, and an operation error flag will be generated. In this way, even if the chip is subject to external interference or malicious attacks, the data stored in the protected pages will not be modified.

[0105] The setting and release of read-write protection functions usually need to be implemented through specific programs or tools. For example, the read-write protection can be set or released by calling related library functions.

[0106] Step 320, software configuration data security function.

[0107] A functional application is burned into the aerosol generating device for configuring the data security function of the aerosol generating device.

[0108] Optionally, the device data security function is configured by means of a secret key, a serial port tool, command characters, or specified protocol content.

[0109] Among them, the data security function means that data cannot be transmitted with other devices.

[0110] The aerosol generating device is factory tested by the testing equipment before leaving the factory, including the device parameters, device performance, operating temperature, component resistance, etc. of the aerosol generating device being tested, so as to determine whether there is a fault in the aerosol generating device. If there is no fault, the testing equipment will return the secret key, serial port tool, command character or specified protocol content as the first instruction for executing step 330, otherwise, execute step 350.

[0111] Step 330, activating the locking function.

[0112] If there is no fault in the aerosol generating device, the test device will return the secret key, serial port tool, command character or specified protocol content as the first instruction, and the aerosol generating device activates the locking function after receiving the first instruction.

[0113] Step 340, turn off the data transmission function.

[0114] The aerosol generating device turns off the data transmission function after activating the locking function.

[0115] Among them, the data transmission function includes serial port printing function and data output function. At this time, the chip is in read-write prohibited mode.

[0116] Among them, the serial port printing function refers to the function of transmitting the information on the aerosol generating device in the form of a continuous bit stream through the serial port interface to an external device for display or recording.

[0117] Step 350, prompting that the test failed.

[0118] If there is a faulty step in the aerosol generating device, a test failure message is displayed to indicate that there is a faulty step in the aerosol generating device and further fault detection is required.

[0119] Step 360, shipment.

[0120] When the data transmission function of the aerosol generating device is turned off, the aerosol generating device is shipped.

[0121] Step 370, end.

[0122] The data processing method provided in the embodiment of the present application obtains device test data corresponding to the aerosol generating device, and then sends the device test data to the detection device for fault detection. If the aerosol generating device meets the good product conditions, the test device sends a first instruction to the aerosol generating device, which is used to turn off the data transmission function corresponding to the aerosol generating device, so that it cannot send the device operating parameters of the device to other devices. That is to say, when the aerosol generating device passes the device detection, the detection device controls the aerosol generating device to turn off the data transmission function, thereby improving the safety of the device operating parameters of the aerosol generating device during use.

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

[0124] An acquisition module 410 is used to acquire device test data corresponding to the aerosol generating device, wherein the device test data refers to component operation parameters of the aerosol generating device during the test operation;

[0125] A sending module 420, configured to send the device test data to a detection device, wherein the detection device is configured to detect whether the aerosol generating device has a fault based on the device test data;

[0126] A receiving module 430, configured to receive a first instruction sent by the testing device when the aerosol generating device meets the good product condition;

[0127] The closing module 440 is used to close the data transmission function corresponding to the aerosol generating device based on the first instruction, where the data transmission function refers to sending the device operating parameters corresponding to the aerosol generating device to other devices.

[0128] Optionally, the closing module 440 is used to start a locking function corresponding to the aerosol generating device based on the first instruction, and the locking function is used to close the data transmission function.

[0129] Optionally, the aerosol generating device corresponds to a first serial port, and the first serial port corresponds to the data transmission function;

[0130] The closing module 440 is used to lock the first serial port based on the first instruction, obtain a locking state corresponding to the first serial port, and determine to close the data transmission function corresponding to the aerosol generating device based on the locking state.

[0131] Optionally, the flag bit corresponding to the first serial port corresponds to a first identifier in an enabled state;

[0132] The closing module 440 is used to rewrite the flag bit corresponding to the first serial port based on the first instruction to obtain a second identifier, where the second identifier is used to indicate that the first serial port is in a locked state.

[0133] Optionally, the receiving module 430 is used to receive a second instruction sent by a second device when the aerosol generating device meets the good product conditions, and the second device is different from the detection device. The second instruction is used to obtain device operating parameters corresponding to the aerosol generating device; based on the second instruction, the locking function corresponding to the aerosol generating device is started.

[0134] Optionally, the receiving module 430 is used to include a first device identifier corresponding to the detection device in the first instruction; perform instruction analysis on the second instruction to obtain instruction content corresponding to the second instruction; and activate the locking function corresponding to the aerosol generating device when the first device identifier is not included in the instruction content.

[0135] Optionally, the receiving module 430 is used to receive a third instruction sent by the detection device, the third instruction is used to obtain device operating parameters corresponding to the aerosol generating device; based on the third instruction, an unlocking instruction content is displayed in the aerosol generating device, and the unlocking instruction content is used to unlock the locking function; in response to the unlocking operation, the device operating parameters are sent to the detection device.

[0136] The data processing device provided in the embodiment of the present application obtains device test data corresponding to the aerosol generating device, and then sends the device test data to the detection device for fault detection. If the aerosol generating device meets the good product conditions, the test device sends a first instruction to the aerosol generating device, which is used to turn off the data transmission function corresponding to the aerosol generating device, so that it cannot send the device operating parameters of the device to other devices. That is to say, when the aerosol generating device passes the device detection, the detection device controls the aerosol generating device to turn off the data transmission function, thereby improving the safety of the device operating parameters of the aerosol generating device during use.

[0137] 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 5As shown, the computer device 1000 of this embodiment includes: at least one processor 1010 ( Figure 5 Only one processor is shown in the figure, a memory 1020, and a computer program 1021 stored in the memory 1020 and executable on at least one processor 1010. When the processor 1010 executes the computer program 1021, the steps in the above data processing method embodiment are implemented.

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

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

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

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

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

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

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

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

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

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

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

[0149] 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 processing method, characterized in that: The method comprises: Acquiring device test data corresponding to the aerosol generating device, wherein the device test data refers to component operating parameters of the aerosol generating device during the test operation; sending the device test data to a detection device, wherein the detection device is used to detect whether the aerosol generating device has a fault based on the device test data; When the aerosol generating device meets the good product condition, receiving a first instruction sent by the testing device; Based on the first instruction, a data transmission function corresponding to the aerosol generating device is turned off, where the data transmission function refers to sending device operating parameters corresponding to the aerosol generating device to other devices.

2. The method according to claim 1, characterized in that The shutting down the data transmission function corresponding to the aerosol generating device based on the first instruction includes: A locking function corresponding to the aerosol generating device is started based on the first instruction, where the locking function is used to turn off the data transmission function.

3. The method according to claim 2, characterized in that The aerosol generating device corresponds to a first serial port, and the first serial port corresponds to the data transmission function; The starting a locking function corresponding to the aerosol generating device based on the first instruction includes: Lock the first serial port based on the first instruction, and obtain a locking state corresponding to the first serial port; Determine, based on the locking state, to close a data transmission function corresponding to the aerosol generating device.

4. The method according to claim 3, characterized in that The flag bit corresponding to the first serial port corresponds to the first identifier in the open state; The locking the first serial port based on the first instruction and obtaining a locking state corresponding to the first serial port includes: A flag bit corresponding to the first serial port is rewritten based on the first instruction to obtain a second identifier, where the second identifier is used to indicate that the first serial port is in a locked state.

5. The method according to claim 2, characterized in that: After sending the device test data to the detection device, the method further includes: When the aerosol generating device meets the good product condition, receiving a second instruction sent by a second device, the second device is different from the detection device, and the second instruction is used to obtain a device operating parameter corresponding to the aerosol generating device; The locking function corresponding to the aerosol generating device is activated based on the second instruction.

6. The method according to claim 5, characterized in that The first instruction includes a first device identifier corresponding to the detection device; The locking function corresponding to the aerosol generating device is activated, comprising: Performing instruction analysis on the second instruction to obtain instruction content corresponding to the second instruction; When the first device identifier is not included in the instruction content, the locking function corresponding to the aerosol generating device is activated.

7. The method according to any one of claims 1 to 6, characterized in that: After the locking function corresponding to the aerosol generating device is activated based on the first instruction, the method further includes: receiving a third instruction sent by the detection device, wherein the third instruction is used to obtain a device operating parameter corresponding to the aerosol generating device; displaying unlock instruction content in the aerosol generating device based on the third instruction, wherein the unlock instruction content is used to unlock the locking function; In response to the unlocking operation, the device operating parameters are sent to the detection device.

8. A data processing device, characterized in that: The device comprises: An acquisition module, used to acquire device test data corresponding to the aerosol generating device, wherein the device test data refers to component operation parameters of the aerosol generating device during the test operation; a sending module, used for sending the device test data to a detection device, wherein the detection device is used for detecting whether the aerosol generating device has a fault based on the device test data; A receiving module, configured to receive a first instruction sent by the testing device when the aerosol generating device meets the good product condition; A closing module is used to close the data transmission function corresponding to the aerosol generating device based on the first instruction, wherein the data transmission function refers to sending the device operating parameters corresponding to the aerosol generating device to other devices.

9. 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 data processing method according to any one of claims 1 to 7 when executing the computer program.

10. 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 processing method according to any one of claims 1 to 7 is implemented.

11. A computer program product, characterized in that The invention comprises a computer program, which, when being executed, enables the data processing method according to any one of claims 1 to 7 to be executed.