A liquid projectile type identification method and system based on an atomizer and a storage medium
By generating combined information through changes in the level signals of the atomizer and liquid bullet pins, and combining this with a preset library to identify the type of liquid bullet, the high cost of NFC is solved, enabling low-cost identification of multiple liquid bullets and adaptability to different types of medicines.
Patent Information
- Application Number
- CN202310165584.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2043-02-24
AI Technical Summary
Existing atomizers use NFC to identify liquid cartridge types, which is costly and difficult to effectively identify different types of liquid cartridges.
By acquiring pin information from the atomizer and liquid bullet, determining changes in the signal level, generating pin level combination information, and combining it with a preset liquid bullet type library for identification, the number of pin modules used and their location changes are reduced, achieving low-cost liquid bullet type identification.
It achieves low-cost liquid bullet type identification, can identify multiple liquid bullets, and can identify more types with a small increase in the number of pins, adapting to the needs of a large number of drug types.
Smart Images

Figure CN116076791B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of atomizers, and in particular to a method, system and storage medium for identifying liquid bullet types based on atomizers. Background Technology
[0002] Atomizers are devices that purify liquids. They are widely used in medical, serum, and e-cigarette fields. Typically, after loading the corresponding liquid cartridge into the atomizer's chamber, the liquid inside the cartridge is atomized into gas and discharged through different atomization methods such as ultrasound, air compression, heating, or mesh.
[0003] Currently, there are many general-purpose nebulizers that can be fitted with different types of liquid cartridges for nebulization. Different types of liquid cartridges can be used to select different nebulization modes depending on the type of medicine, the patient's requirements for particle size, or to identify and record different liquid cartridges based on different flavors and formulas. Therefore, liquid cartridge identification based on nebulizers is one of the areas that nebulizers need to improve.
[0004] Currently, most atomizers identify the type of liquid cartridge using NFC. Different types of liquid cartridges are equipped with a separate NFC module, which records the specific information of the liquid cartridge. The atomizer housing is equipped with a corresponding NFC identification module to obtain the specific information of the liquid cartridge after it is installed in the housing. However, this method is relatively expensive to apply and produce. Summary of the Invention
[0005] In order to achieve identification of different liquid bullets at a lower cost, this application provides a liquid bullet type identification method, system and storage medium based on atomizer.
[0006] This application provides a liquid bullet type identification method based on an atomizer, which adopts the following technical solution:
[0007] A method for identifying liquid bullet types based on atomizers includes the following steps:
[0008] Acquire initial pin matrix information, which represents the initial number, arrangement, and level signal of pins when no liquid cartridge is installed on the atomizer;
[0009] Determine whether a change in the level signal occurs in the initial pin matrix information;
[0010] If a change in the level signal occurs, the information of the connected pin and the disconnected pin is obtained. The connected pin is characterized by the contact between the pins on the liquid bullet and the pins on the atomizer after the liquid bullet is inserted into the atomizer. The disconnected pin is characterized by the non-contact between the pins on the liquid bullet and the pins on the atomizer after the liquid bullet is inserted into the atomizer.
[0011] Based on the information of the connected pins and the information of the disconnected pins, and combined with a preset combination rule, corresponding pin level combination information is generated;
[0012] Based on the pin level combination information, the corresponding liquid bullet type information is obtained from the preset liquid bullet type library.
[0013] Preferably, the connected pin information includes connected pin level information, and the disconnected pin information includes disconnected pin level information. Generating corresponding pin level combination information based on the connected pin information and the disconnected pin information combined with a preset combination rule includes the following steps:
[0014] The starting pin position information is determined according to the preset combination rules;
[0015] Select the corresponding starting pin according to the starting pin position information, obtain and record the on or off pin level information on the initial pin;
[0016] The pin selection order is determined according to preset combination rules;
[0017] The pins on the atomizer are selected sequentially according to the pin selection order and the initial pin matrix information to obtain and record the on-pin level information or off-pin level information of all pins on the atomizer.
[0018] The pin level information of several connected or disconnected pins is sorted according to the selected order of all pins on the atomizer to obtain pin level combination information.
[0019] Preferably, the connected pin information includes connected pin level information and connected pin position information, and the disconnected pin information includes disconnected pin level information and disconnected pin position information. Generating corresponding pin level combination information based on the connected pin information and the disconnected pin information in combination with a preset combination rule includes the following steps:
[0020] Obtain the on / off pin level information or the off / unconnected pin level information of all pins on the atomizer;
[0021] Arrange all pin level information or non-connected pin level information according to the connected pin position information or non-connected pin position information corresponding to all pins to obtain a pin matrix set;
[0022] The pin selection order is determined according to preset combination rules;
[0023] According to the selected pin order, the pin level information or the pin level information of the pin at the corresponding position is obtained sequentially to obtain the pin level combination information.
[0024] Preferably, after obtaining the on / off pin level information or the off / off pin level information, a digital signal value is assigned to the on / off pin level information or the off / off pin level information, specifically including the following steps:
[0025] If the connected pin level signal is obtained, then the value is assigned to 1;
[0026] If the not-connected pin level signal is obtained, then the value is set to 0;
[0027] The pin level combination information is represented as an ordered set of numbers consisting of 0s or 1s.
[0028] Preferably, obtaining the corresponding liquid bullet type information from a preset liquid bullet type library based on the pin level combination information further includes the following steps:
[0029] If the preset liquid bullet type does not contain liquid bullet type information corresponding to the pin level combination information;
[0030] Determine whether the number of the connected pins and the disconnected pins in the pin level combination information matches the initial number of pins.
[0031] If it does not meet the requirements, output a damage alarm message;
[0032] If the conditions are met, determine whether there is an update instruction for the liquid bullet type library;
[0033] If it does not exist, output the corresponding abnormal identification alarm information;
[0034] If it exists, the liquid bullet type library is updated according to the update instruction, and it is determined whether the liquid bullet type corresponding to the pin level combination information exists in the new liquid bullet type library.
[0035] Secondly, this application provides a liquid bullet type identification system based on an atomizer, which adopts the following technical solution:
[0036] A liquid bullet type identification system based on an atomizer includes an atomizer pin matrix module, a liquid bullet pin module, and a level recognition module, wherein...
[0037] The atomizer pin matrix module includes several pins, which are disposed on the atomizer;
[0038] The liquid bullet pin module includes a plurality of pins disposed on the liquid bullet. When the liquid bullet is installed on the atomizer, the pins on the liquid bullet pin module are in contact with the pins on the atomizer pin matrix module.
[0039] The level recognition module is electrically connected to the atomizer pin matrix module. It is used to obtain initial pin matrix information, which represents the initial number, arrangement position and level signal of the pins when no liquid cartridge is installed on the atomizer, and to determine whether there is a change in the level signal in the initial pin matrix information.
[0040] If a change in the level signal occurs, the level recognition module acquires the information of the connected pin and the information of the disconnected pin. The connected pin is characterized by the contact between the pin on the liquid bullet and the pin on the atomizer after the liquid bullet is inserted into the atomizer, and the disconnected pin is characterized by the non-contact between the pin on the liquid bullet and the pin on the atomizer after the liquid bullet is inserted into the atomizer.
[0041] The level recognition module generates corresponding pin level combination information based on the connected pin information and the disconnected pin information combined with preset combination rules, and obtains the corresponding liquid bullet type information from a preset liquid bullet type library based on the pin level combination information.
[0042] Preferably, the atomizer pin matrix module includes at least three pins, and the number of pins in the liquid bullet pin module is less than or equal to the number of pins in the atomizer pin matrix module.
[0043] Thirdly, this application provides a computer storage medium, which adopts the following technical solution:
[0044] A computer storage medium storing a computer program, which, when executed by a processor, implements the above-described method for identifying liquid bullet types based on atomizers.
[0045] In summary, this application includes at least one of the following beneficial technical effects:
[0046] 1. Different types of liquid cartridges are classified and identified by pins on the atomizer and the liquid cartridge. Different types of liquid cartridges correspond to different numbers and positions of pins. After the liquid cartridge is installed on the atomizer, the connection between the pins on different types of liquid cartridges and the pins on the atomizer is different. Based on the information of the connected and disconnected pins, a pin level combination information representing the type of liquid cartridge is obtained. This can reduce the cost of installing FNC for identification. Only simple changes in pin position and number of pins are needed to identify multiple types of liquid cartridges. At the same time, a small increase in the number of pins can achieve an exponential increase in the corresponding drug types. When a large number of drug types need to be identified, the cost will not increase much. Attached Figure Description
[0047] Figure 1 This is a schematic diagram of the overall structure of an embodiment of this application. Detailed Implementation
[0048] The following is in conjunction with the appendix Figure 1 This application will be described in further detail.
[0049] This application discloses a method for identifying liquid bullet types based on atomizers.
[0050] like Figure 1 As shown, a method for identifying liquid bullet types based on atomizers includes the following steps:
[0051] S100, obtain initial pin matrix information.
[0052] The initial pin matrix information represents the initial number, arrangement, and level signal of the pins when no liquid cartridges are installed on the atomizer.
[0053] The atomizer has several pins, which are used not only for subsequent liquid cartridge connection but also for identifying different types of liquid cartridges. The initial pin matrix information can be pre-stored in the processor inside the atomizer when it leaves the factory, because the number of pins on different atomizers and the position of each pin are designed and will not change as the atomizer is used.
[0054] S200 determines whether there is a change in the level signal in the initial pin matrix information.
[0055] When the liquid cartridge is installed on the atomizer, it also has pins. The liquid cartridge needs to be connected to the pins on the atomizer to achieve electrical connection. Therefore, when the pins of the two components come into contact with each other, the entire electrical circuit will be connected. In this way, some pins on the atomizer will change from being pins not connected to the liquid cartridge to being pins in contact with the liquid cartridge, and the voltage level signal on them will change.
[0056] Therefore, when the level signal on the initial pin matrix information changes, it can be determined that a liquid bullet has been installed on the atomizer.
[0057] S300: If a change in the level signal occurs, it acquires the information of the connected pin and the disconnected pin.
[0058] A connection is indicated when the liquid cartridge is inserted into the atomizer and the pins on the atomizer make contact; a non-connection is indicated when there is no contact between the liquid cartridge pins and the atomizer pins after the liquid cartridge is inserted into the atomizer.
[0059] Since a change in the voltage level signal indicates that a liquid cartridge has been installed on the atomizer, the system retrieves information from all pins on the atomizer indicating whether a connection has occurred. If the pins of the atomizer and the liquid cartridge are in contact, the system retrieves a connected pin signal; if the pins of the atomizer and the liquid cartridge are not in contact, the system retrieves a disconnected signal.
[0060] S400 generates corresponding pin level combination information based on the information of the connected pins and the information of the unconnected pins, combined with preset combination rules.
[0061] Different types of liquid cartridges have different numbers and positions of pins. When different types of liquid cartridges are installed on an atomizer, the pins at different positions and with different numbers of pins come into contact with the pin matrix on the atomizer. As a result, the position and number of pins with connected pins will be different. Similarly, the position and number of pins with disconnected pins will also be different. By combining the connected and disconnected pin information at different positions and with different numbers of pins according to a preset combination rule, pin level combination information that can be used to characterize different liquid cartridges can be obtained, thereby enabling the identification of different liquid cartridges.
[0062] In some embodiments, the connected pin information includes connected pin level information, and the disconnected pin information includes disconnected pin level information. Therefore, step S400 specifically includes the following steps:
[0063] S410 determines the starting pin position information according to the preset combination rules, selects the corresponding starting pin according to the starting pin position information, and obtains and records the on-pin level information or off-pin level information on the starting pin.
[0064] First, the pin is determined as the starting pin by the preset combination rules. The distribution of the pin matrix may be different. It may be that multiple pins are evenly arranged along a straight line, multiple pins form a rectangular area, or multiple pins are distributed irregularly. The arrangement of the pin matrix can be known from the initial pin matrix information.
[0065] Depending on the arrangement, the preset combination rules will formulate different starting pin selection logic. For example, when arranged in a straight line, the pins at both ends are selected first, while the pins in a rectangular array can be selected first from the upper left, lower left, upper right, and lower right positions. When there is no regular distribution, the outermost pin can be selected first as the starting pin.
[0066] S411 determines the pin selection order according to the preset combination rules, and selects the pins on the atomizer in sequence according to the pin selection order and the initial pin matrix information, so as to obtain and record the on-pin level signal or off-pin level information of all pins on the atomizer.
[0067] Starting from the initial pin, select pins sequentially according to the pin selection order and obtain the corresponding on-pin level signal or off-pin level information on the pins, and record them.
[0068] The selection order is similar to the selection rules for the starting pin. Different pin selection orders are selected according to different pin array arrangements. For example, when the pins are arranged in a straight line, selection can be made from the starting pin in the direction of the line until the last pin on the line is selected. For a rectangular array of pins, selection can be made from the starting pin in any two directions where pins exist. For example, the starting pin in the upper left corner can be selected in the downward and right directions. After all the pins on the line are selected, selection can be made in an S-shaped direction. When the pins are not distributed regularly, selection can be made from the starting pin on the outermost side in the horizontal direction.
[0069] S412 sorts several on-pin level information or off-pin level information according to the selected order of all pins on the atomizer to obtain pin level combination information.
[0070] Once all pins on the atomizer are selected, the same number of pins on the atomizer will be selected as the number of pins connected or disconnected. Let's assume that the pin connected pin level is A and the pin disconnected pin level is B. Then we will get a portion of A and a portion of B.
[0071] The voltage levels are sorted according to the order in which these pins are selected, thus obtaining pin voltage combinations consisting of A and B, such as ABBA, AAB, AA, etc.
[0072] Any combination of pin levels can represent a type of liquid explosive. Different types of liquid explosives can have different combinations of pin levels by setting different numbers of pins in different positions.
[0073] For example, when an atomizer has 3 pins, after installing a liquid cartridge, the possible pin level combinations are ABB, AAB, ABA, AAA, BAB, BAA, BBA, and BBB (eight possibilities). BBB represents a situation where none of the three pins are connected to a liquid cartridge pin, so this case needs to be excluded. Therefore, there are actually 7 possibilities, meaning the atomizer can connect to 7 different types of liquid cartridges. Similarly, when an atomizer has 4 pins, it can connect to 15 different types of liquid cartridges; when it has 5 pins, it can connect to 31 different types of liquid cartridges; and when it has n pins, it can connect to 2... n -1 different types of liquid bullets.
[0074] In some embodiments, the connected pin information includes connected pin level information and connected pin position information, and the disconnected pin information includes disconnected pin level information and disconnected pin position information. Therefore, step S400 includes the following steps:
[0075] S420: Obtain the on / off pin level information or off / unconnected pin level information for all pins on the atomizer.
[0076] S421 sorts all pin level information or non-connected pin information according to the on-pin position information or off-pin position information corresponding to all pins to obtain a pin matrix set.
[0077] S422 determines the pin selection order according to the preset combination rules, and sequentially obtains the pin level information or the pin level information of the unconnected pins at the corresponding positions according to the pin selection order, so as to obtain the corresponding pin level combination information.
[0078] This method differs from the methods described above. The former method, after determining the starting pin, sequentially selects pins according to the pin selection order and obtains the on or off pin level information. In contrast, the method in this embodiment acquires the on or off pin level information of all pins on the atomizer at once to obtain a pin matrix set. The position of each pin in the pin matrix set is the same as the pin position on the atomizer. Then, according to the pin selection order, the pin information in the pin matrix set is selected and the pin level information or off pin level information is obtained to obtain the corresponding pin level combination information.
[0079] The final pin level combination information obtained is consistent with the method described above.
[0080] Furthermore, after obtaining the on / off pin level information or the off / off pin level information, a numerical signal is assigned to the on / off pin level information or the off / off pin level information. The assignment method is as follows:
[0081] The level signal of the connected pin is assigned a value of 1, and the level signal of the unconnected pin is assigned a value of 0.
[0082] By converting the level signal into a binary digital signal that is easy for the computer to read, the processor can easily identify and generate pin level combination information, reducing the workload of the computer.
[0083] Similarly, after assigning values to the level signals of each pin, the pin level combination information becomes a set of 0s and 1s, such as 1001, 110, 11, etc.
[0084] S500 retrieves the corresponding liquid bullet type information from a preset liquid bullet type library based on the pin level combination information.
[0085] The liquid bomb type library pre-stores the pin level combination information corresponding to several types of liquid bombs. For example, the pin level combination information of type A liquid bomb is 1110. When the obtained pin level combination information is 1110, it can be determined that the liquid bomb is type A.
[0086] Sometimes, there may be situations where the liquid cartridge type information corresponding to a certain pin level combination is not found in the liquid cartridge type library. This generally corresponds to three situations: 1. The pins on the atomizer or the liquid cartridge are damaged or aged; 2. The liquid cartridge is a fake liquid cartridge; 3. The liquid cartridge type information corresponding to the liquid cartridge does not exist in the liquid cartridge type library.
[0087] Therefore, the following judgments need to be made for these three situations:
[0088] S510, if there is no liquid bullet type information corresponding to the pin level combination information in the preset liquid bullet type library, then determine whether the number of connected pin information and disconnected pin information in the pin level combination information matches the initial number of pins.
[0089] If S520 does not meet the requirements, a damage alarm message will be output.
[0090] First, determine if the number of active and inactive pins in the pin level combination information matches the initial pin count. Generally, an undamaged pin exists in only two states: either it's contacted by a liquid spring pin and emits an active pin signal, or it's not contacted and emits an inactive pin signal. If the final total number of active and inactive pins doesn't match the initial pin count in the initial pin matrix information, it means some pins are unable to emit any pin signals. For example, a normally four-pin atomizer needs to emit a 10x10 combination signal, but because one pin is damaged, it can only emit a 1x10 signal. Therefore, the total number of active and inactive pins would be 3, not 4.
[0091] This indicates that a pin has been damaged, and a damage alarm message needs to be output to remind the user to check whether the pins on the atomizer or liquid cartridge are damaged.
[0092] S530, if it meets the requirements, then determine whether there is an update instruction for the liquid bullet type library.
[0093] If the condition is met, it means that all pins on the atomizer are normal and undamaged. If the liquid cartridge type library cannot find the corresponding liquid cartridge type, it is necessary to determine whether there is an update command for the liquid cartridge type library.
[0094] When new types or flavors of liquid bullets appear, the initial liquid bullet type database may not have updated and stored information about the new types of liquid bullets.
[0095] If S540 does not exist, the corresponding abnormal alarm information will be output.
[0096] If no update command is found, it means that the liquid bullet is not a new type or flavor of liquid bullet. In this case, an identification anomaly alarm will be issued to remind the user that the liquid bullet may be counterfeit.
[0097] S550, if it exists, then update the liquid bullet type library according to the update instruction, and determine whether there is liquid bullet type information corresponding to the pin level combination information in the new liquid bullet type library.
[0098] If an update command exists, the liquid bullet type library is updated according to the update command so that the drug type information in the liquid bullet type library is updated. After the update, the pin level combination information is re-identified to determine whether the liquid bullet type information corresponding to the pin level combination information exists in the new liquid bullet type library.
[0099] This application also discloses a liquid bullet type identification system based on an atomizer, including an atomizer pin matrix module, a liquid bullet pin module, and a level identification module.
[0100] The atomizer pin matrix module includes several pins that are located on the atomizer.
[0101] The liquid bullet pin module includes several pins, which are set on the liquid bullet. The liquid bullet pin module is different for different types of liquid bullets. When the liquid bullet is installed on the atomizer, the pins on the liquid bullet pin module are in contact with the pins on the atomizer pin matrix module.
[0102] The level recognition module is electrically connected to the atomizer pin matrix module. It is used to obtain the initial pin matrix information, which represents the initial number, arrangement position and level signal of the pins when no liquid cartridge is installed on the atomizer. It also determines whether there is a change in the level signal in the initial pin matrix information.
[0103] If a change in the level signal occurs, the level recognition module will obtain the information of the connected pin and the disconnected pin. The connected characteristic is that after the liquid cartridge is inserted into the atomizer, the pins on the liquid cartridge make contact with the pins on the atomizer. The disconnected characteristic is that after the liquid cartridge is inserted into the atomizer, the pins on the liquid cartridge do not make contact with the pins on the atomizer.
[0104] The level recognition module generates corresponding pin level combination information based on the information of the connected and unconnected pins and a preset combination rule, and retrieves the corresponding liquid bullet type information from a preset liquid bullet type library based on the pin level combination information.
[0105] Furthermore, the atomizer pin matrix module includes at least three pins, and the number of pins in the liquid bullet pin module is less than or equal to the number of pins in the atomizer pin matrix module.
[0106] Based on previous calculations, the relationship between the number of drug types the nebulizer can recognize and the number of pins is: 2 n -1, where n is the number of pins. We can see that the larger n is, the more types of drugs can be identified exponentially. 3 pins and 4 pins correspond to 7 and 15 drug types respectively, a difference of 8. 4 pins and 5 pins correspond to 15 and 31 drug types respectively, a difference of 16. 5 pins and 6 pins correspond to 31 and 63 drug types respectively, a difference of 32. Therefore, the more pins, the stronger the liquid bullet type recognition capability.
[0107] This application also discloses a computer storage medium storing a computer program, which, when executed by a processor, implements the above-described method for identifying liquid bullet types based on atomizers.
[0108] The implementation principle is as follows:
[0109] Different types of liquid cartridges are classified and identified by using pins on the atomizer and the liquid cartridges. Different types of liquid cartridges correspond to different numbers and positions of pins. After the liquid cartridges are installed on the atomizer, the connection between the pins on different types of liquid cartridges and the pins on the atomizer is different. Based on the information of the connected and disconnected pins, a pin level combination information representing the type of liquid cartridge is obtained. This can reduce the cost of installing FNC for identification. Only simple changes in the pin position and number of pins are needed to identify multiple types of liquid cartridges. At the same time, a small increase in the number of pins can achieve an exponential increase in the corresponding drug types. When a large number of drug types need to be identified, the cost will not increase much.
[0110] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.
Claims
1. A method for identifying liquid bullet types based on an atomizer, characterized in that, Includes the following steps: Acquire initial pin matrix information, which represents the initial number, arrangement, and level signal of pins when no liquid cartridge is installed on the atomizer; Determine whether a change in the level signal occurs in the initial pin matrix information; If a change in the level signal occurs, the information of the connected pin and the disconnected pin is obtained. The connected pin is characterized by the contact between the pins on the liquid bullet and the pins on the atomizer after the liquid bullet is inserted into the atomizer. The disconnected pin is characterized by the non-contact between the pins on the liquid bullet and the pins on the atomizer after the liquid bullet is inserted into the atomizer. Based on the connected pin information and the disconnected pin information, and combining them with a preset combination rule, corresponding pin level combination information is generated, wherein: the connected pin information includes connected pin level information, and the disconnected pin information includes disconnected pin level information. Generating the corresponding pin level combination information based on the connected pin information and the disconnected pin information, and combining them with the preset combination rule, includes the following steps: The starting pin position information is determined according to the preset combination rules; Select the corresponding starting pin according to the starting pin position information, obtain and record the on or off pin level information on the starting pin; The pin selection order is determined according to preset combination rules; The pins on the atomizer are selected sequentially according to the pin selection order and the initial pin matrix information to obtain and record the on-pin level information or off-pin level information of all pins on the atomizer. The pin level information of several connected or disconnected pins is sorted according to the selected order of all pins on the atomizer to obtain pin level combination information; Based on the pin level combination information, the corresponding liquid bullet type information is obtained from the preset liquid bullet type library.
2. The method for identifying liquid bullet types based on an atomizer according to claim 1, characterized in that: The connected pin information includes connected pin level information and connected pin position information; the disconnected pin information includes disconnected pin level information and disconnected pin position information. Based on the connected pin information and the disconnected pin information, and combining them with a preset combination rule, corresponding pin level combination information is generated, including the following steps: Obtain the on / off pin level information or the off / unconnected pin level information of all pins on the atomizer; Arrange all pin level information or non-connected pin level information according to the connected pin position information or non-connected pin position information corresponding to all pins to obtain a pin matrix set; The pin selection order is determined according to preset combination rules; According to the selected pin order, the pin level information or the pin level information of the pin at the corresponding position is obtained sequentially to obtain the pin level combination information.
3. The method for identifying liquid bullet types based on an atomizer according to claim 2, characterized in that: After obtaining the on / off pin level information or the off / off pin level information, digital signal values are assigned to the on / off pin level information or the off / off pin level information, specifically including the following steps: If the connected pin level signal is obtained, then the value is assigned to 1; If the not-connected pin level signal is obtained, then the value is set to 0; The pin level combination information is represented as an ordered set of numbers consisting of 0s or 1s.
4. The method for identifying liquid bullet types based on an atomizer according to claim 1, characterized in that: The method further includes the following steps: Retrieving the corresponding liquid bullet type information from a preset liquid bullet type library based on the pin level combination information; If the liquid bullet type information corresponding to the pin level combination information does not exist in the preset liquid bullet type library, then it is determined whether the number of the connected pin information and the disconnected pin information in the pin level combination information matches the initial number of pins. If it does not meet the requirements, output a damage alarm message; If the conditions are met, determine whether there is an update instruction for the liquid bullet type library; If it does not exist, output the corresponding abnormal identification alarm information; If it exists, the liquid bullet type library is updated according to the update instruction, and it is determined whether the liquid bullet type information corresponding to the pin level combination information exists in the new liquid bullet type library.
5. A liquid bullet type identification system based on an atomizer, characterized in that: This includes an atomizer pin matrix module, a liquid bullet pin module, and a level recognition module. The atomizer pin matrix module includes several pins, which are disposed on the atomizer; The liquid bullet pin module includes a number of pins, which are disposed on the liquid bullet. The liquid bullet pin modules are different for different types of liquid bullets. When the liquid bullet is installed on the atomizer, the pins on the liquid bullet pin module are in contact with the pins on the atomizer pin matrix module. The level recognition module is electrically connected to the atomizer pin matrix module. It is used to obtain initial pin matrix information, which represents the initial number, arrangement position and level signal of the pins when no liquid cartridge is installed on the atomizer, and to determine whether there is a change in the level signal in the initial pin matrix information. If a change in the level signal occurs, the level recognition module acquires the information of the connected pin and the information of the disconnected pin. The connected pin is characterized by the contact between the pin on the liquid bullet and the pin on the atomizer after the liquid bullet is inserted into the atomizer, and the disconnected pin is characterized by the non-contact between the pin on the liquid bullet and the pin on the atomizer after the liquid bullet is inserted into the atomizer. The level recognition module generates corresponding pin level combination information based on the connected pin information and the disconnected pin information combined with preset combination rules, and obtains the corresponding liquid bullet type information from a preset liquid bullet type library based on the pin level combination information.
6. The liquid bullet type identification system based on an atomizer according to claim 5, characterized in that: The atomizer pin matrix module includes at least three pins, and the number of pins in the liquid bullet pin module is less than or equal to the number of pins in the atomizer pin matrix module.
7. A computer storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the liquid bullet type identification method based on the atomizer as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Mobile terminal and method for detecting modularized part based on mobile terminal
CN106815165A
Method and system for identifying liquid crystal of different manufactures
CN107636632A