Fragrance recognition method, storage medium, fragrance device and vehicle
The signal strength elimination of the fragrance status information misread by the information reading unit, solves the problem of misreading the fragrance information of the vehicle-mounted fragrance device, ensuring the accuracy of the fragrance and the improvement of user experience.
Patent Information
- Application Number
- CN202310958197.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-31
- Publication Date
- 2025-02-18
AI Technical Summary
When the existing vehicle-mounted fragrance device reads fragrance information through the NFC antenna, it is easy to misread the information of adjacent fragrances, resulting in the fragrance selected by the user that does not match the fragrance actually emitted, reducing the user experience.
A fragrance recognition method is adopted to eliminate the fragrance state information misread by the information reading unit through signal strength, determine the accurately read information reading unit, and perform information processing to ensure the accuracy of the fragrance.
It effectively avoids the problem of inconsistent fragrance and fragrance caused by misreading, ensures that the fragrance emitted meets user needs and improves user experience.
Smart Images

Figure CN119459264A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicles, and in particular to a fragrance recognition method, a storage medium, a fragrance device and a vehicle. Background Art
[0002] In the related art, the existing vehicle-mounted fragrance device reads fragrance information through an NFC (Near Field Communication) antenna, but the NFC antenna may misread the fragrance information of adjacent fragrances, which may easily cause the fragrance selected by the user to be inconsistent with the actual fragrance emitted, thereby reducing the user experience. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, one purpose of the present invention is to propose a fragrance recognition method, which can eliminate the fragrance status information misread by the information reading unit through signal strength, thereby avoiding the problem that the fragrance selected by the user is inconsistent with the actual fragrance emitted due to misreading, and can effectively ensure that the emitted fragrance meets the needs of the user and improve the user experience.
[0004] A second objective of the present invention is to provide a computer storage medium.
[0005] A third object of the present invention is to provide a fragrance device.
[0006] A fourth object of the present invention is to provide a vehicle.
[0007] In order to solve the above problems, an embodiment of a first aspect of the present invention provides a fragrance recognition method for a fragrance device, wherein the fragrance device includes multiple fragrance units and multiple information reading units for reading fragrance status information of the fragrance units, each information reading unit is arranged corresponding to each fragrance unit, and the recognition method includes: receiving fragrance status information read by each information reading unit, the fragrance status information at least includes signal strength; determining a pending information reading unit according to the fragrance status information, the pending information reading unit is an information reading unit with the same fragrance status information; determining a target information reading unit according to the signal strength corresponding to each pending information reading unit; and performing information processing according to the fragrance status information read by the target information reading unit.
[0008] According to the fragrance identification method of the embodiment of the present invention, during the use of the fragrance, when it is determined based on the fragrance status information that there are pending information reading units with the same information in all the information reading units, it means that there is a misreading of adjacent fragrance information in the information reading unit. In order to avoid the problem that the user cannot experience the selected fragrance type due to misreading, the present application excludes the misread information reading units based on the signal strength corresponding to each pending information reading unit to screen out the accurately read information reading units, namely the target information reading units. Thus, information processing is performed according to the fragrance status information read by the target information reading unit, which can effectively ensure the accuracy of the information, avoid the problem that the fragrance selected by the user is inconsistent with the actual fragrance emitted due to misreading, and effectively ensure that the emitted fragrance meets the needs of the user, thereby improving the user experience.
[0009] In some embodiments, the fragrance status information also includes a fragrance identifier, and determining, based on the fragrance status information, whether there is a pending information reading unit with the same information among all the information reading units includes: taking an information reading unit with the same fragrance identifier among all the information reading units as the pending information reading unit.
[0010] In some embodiments, determining the target information reading unit according to the signal strength corresponding to each pending information reading unit includes: determining the maximum signal strength from the signal strengths corresponding to each pending information reading unit; and using the pending information reading unit corresponding to the maximum signal strength as the target information reading unit.
[0011] In some embodiments, performing information processing according to the fragrance status information read by the target information reading unit includes: performing a debounce operation on the fragrance status information read by the target information reading unit to obtain valid fragrance status information; and performing information processing according to the valid fragrance status information.
[0012] In some embodiments, a de-jitter operation is performed on the fragrance status information read by the target information reading unit to obtain valid fragrance status information, including: receiving the fragrance status information read by the target information reading unit for a preset number of consecutive times; if it is determined that the fragrance status information received each time is the same, then using the fragrance status information read by the target information reading unit as the valid fragrance status information.
[0013] In some embodiments, a de-jitter operation is performed on the fragrance status information read by the target information reading unit to obtain valid fragrance status information, including: receiving the fragrance status information read by the target information reading unit for a preset number of consecutive times; counting the number of identical fragrance status information in all received fragrance status information; if it is determined that the number of information is higher than a preset threshold, using the identical fragrance status information as the valid fragrance status information.
[0014] In some embodiments, before performing information processing according to the fragrance status information read by the target information reading unit, it also includes: obtaining a target fragrance identifier in the fragrance status information read by the target information reading unit; obtaining a pre-stored legal fragrance identifier; and verifying the target fragrance identifier according to the pre-stored legal fragrance identifier to determine the legitimacy of the fragrance status information read by the target information reading unit.
[0015] A second aspect of the present invention provides a computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the fragrance recognition method described in the above embodiment.
[0016] A third aspect of the present invention provides a fragrance device, comprising: a plurality of fragrance units; a plurality of information reading units, each information reading unit being arranged corresponding to each fragrance unit, each of the information reading units being used to read the fragrance status information of the fragrance unit; and a control unit, respectively connected to each information reading unit, for executing the fragrance identification method described in the above embodiment.
[0017] According to the fragrance device of the embodiment of the present invention, by executing the fragrance recognition method of the above embodiment, the signal strength can be used to eliminate the fragrance status information misread by the information reading unit, thereby avoiding the problem that the fragrance selected by the user is inconsistent with the actual fragrance emitted due to misreading, and can effectively ensure that the emitted fragrance meets the user's needs and improve the user experience.
[0018] In some embodiments, the information reading unit is an NFC antenna, and each of the fragrance units includes: a fragrance containing portion, which is used to contain the fragrance block; an NFC chip, which is communicatively connected to the control unit via the NFC antenna, and the NFC chip is used to record the fragrance status information of the fragrance block.
[0019] In some embodiments, the control unit is also used to obtain fragrance demand information provided by the user, and send a fragrance control signal according to the fragrance demand information; the fragrance device also includes: an execution unit, which is connected to the control unit, and the execution unit is used to perform operations according to the fragrance control signal to emit fragrance.
[0020] In some embodiments, the fragrance control signal includes a fragrance type control signal and a fragrance concentration control signal, and the execution unit includes: a motor, which is connected to the control unit and is used to output the fragrance type selected by the user according to the fragrance type control signal; and a fan, which is connected to the control unit and is used to output the wind speed according to the fragrance concentration control signal.
[0021] In some embodiments, the control unit is also used to send a status display signal according to the fragrance status information; the fragrance device also includes: a display unit, which is connected to the control unit, and the display unit is used to display the fragrance status according to the status display signal, and to collect fragrance demand information provided by the user.
[0022] In some embodiments, the display unit is connected to the control unit via a LIN bus.
[0023] A fourth aspect of the present invention provides a vehicle, comprising the fragrance device described in the above embodiment.
[0024] According to the vehicle of the embodiment of the present invention, through the fragrance device of the above embodiment, the signal strength can be used to eliminate the fragrance status information misread by the information reading unit, thereby avoiding the problem that the fragrance selected by the user is inconsistent with the actual fragrance emitted due to misreading, and can effectively ensure that the emitted fragrance meets the user's needs and improve the user experience.
[0025] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0027] Figure 1 is a structural block diagram of a fragrance device according to an embodiment of the present invention;
[0028] Figure 2 is a flow chart of a fragrance identification method according to an embodiment of the present invention;
[0029] Figure 3 is a structural block diagram of a track system according to an embodiment of the present invention.
[0030] Reference numerals:
[0031] Vehicle 100; Aromatherapy device 90;
[0032] Fragrance unit 1; information reading unit 2; control unit 3; execution unit 5; display unit 6; fragrance block detection unit 7; motor 51; fan 52. DETAILED DESCRIPTION
[0033] Embodiments of the present invention are described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. Embodiments of the present invention are described in detail below.
[0034] In order to solve the above problems, the first aspect of the embodiment of the present invention provides a fragrance identification method for use in a fragrance device. This method can be used to eliminate fragrance status information misread by an information reading unit through signal strength, thereby avoiding the problem that the fragrance selected by the user is inconsistent with the actual fragrance emitted due to misreading, and can effectively ensure that the emitted fragrance meets the user's needs and improve the user experience.
[0035] In an embodiment, Figure 1 As shown, the fragrance device includes multiple fragrance units 1 and multiple information reading units 2, wherein the information reading unit is used to read the fragrance status information of the fragrance unit, and each information reading unit is set corresponding to each fragrance unit. Therefore, the fragrance device in this application supports multiple fragrance types for users to choose their favorite fragrances to meet the user's usage needs.
[0036] Reference below Figure 2 The fragrance recognition method according to an embodiment of the present invention is described as follows: Figure 2 As shown, the identification method at least includes: step S1 to step S4.
[0037] Step S1, receiving the fragrance status information read by each information reading unit, where the fragrance status information at least includes signal strength.
[0038] The fragrance status information includes at least signal strength, fragrance information, usage, usage time, remaining quantity, and whether the fragrance is placed, etc., and there is no restriction on this.
[0039] Specifically, each information reading unit reads the fragrance state information of the fragrance unit and sends it to the fragrance device, and the fragrance device receives the fragrance state information read by each information reading unit.
[0040] Step S2, determining the pending information reading unit according to the fragrance state information, where the pending information reading unit is the information reading unit having the same fragrance state information.
[0041] Specifically, the fragrance state information of all information reading units is compared to obtain the information reading unit with the same fragrance state information among all information reading units. The information reading unit is the pending information reading unit. At this time, all information reading units may misread adjacent fragrance information.
[0042] Step S3, determining the target information reading unit according to the signal strength corresponding to each pending information reading unit.
[0043] Specifically, the existing fragrance device reads fragrance information through the NFC antenna, and the NFC antenna may misread the fragrance information of the adjacent fragrance, which may easily cause the fragrance selected by the user to be inconsistent with the actual fragrance emitted, thereby reducing the user experience. In order to solve the above problem, in this application, the misread information reading unit is excluded by the signal strength corresponding to each pending information reading unit. That is to say, after receiving the fragrance status information read by each information reading unit, when it is determined according to the fragrance status information that there is a pending information reading unit with the same information in all the information reading units, it means that there is a misreading of the adjacent fragrance information in the information reading unit. In order to avoid the problem that the user cannot experience the selected fragrance type due to misreading, the signal strength corresponding to each pending information reading unit is compared, so as to determine the target information reading unit according to the size of the signal strength corresponding to each pending information reading unit, so as to screen out the accurately read information reading unit, that is, the target information reading unit, and exclude the fragrance status information misread by the information reading unit. Therefore, in this application, the target information reading unit is determined by the signal strength of the pending information reading unit, so as to avoid the problem that the fragrance selected by the user is inconsistent with the actual fragrance emitted due to misreading.
[0044] Step S4, performing information processing according to the fragrance status information read by the target information reading unit.
[0045] Specifically, the existing fragrance device reads fragrance information through the NFC antenna, and the NFC antenna may misread the fragrance information of the adjacent fragrance, which may easily cause the fragrance selected by the user to be inconsistent with the actual fragrance emitted, reducing the user experience. In order to solve this problem, the fragrance device in this application processes information according to the fragrance status information read by the target information reading unit, so that the displayed fragrance status is consistent with the actual fragrance status, so that after the user selects the displayed fragrance on the display unit, it can effectively ensure that the emitted fragrance meets the user's needs, thereby improving the user experience. In addition, the display unit can be a display screen such as a car tablet computer and a central control screen, and there is no limitation on this.
[0046] According to the fragrance identification method of the embodiment of the present invention, during the use of the fragrance, when it is determined based on the fragrance status information that there is a pending information reading unit with the same information in all the information reading units, it means that there is a misreading of adjacent fragrance information in the information reading unit. In order to avoid the problem that the user cannot experience the selected fragrance type due to misreading, the present application excludes the misread information reading unit according to the signal strength corresponding to each pending information reading unit to screen out the accurately read information reading unit, namely the target information reading unit. Thus, information processing is performed according to the fragrance status information read by the target information reading unit, which can effectively ensure the accuracy of the information, avoid the problem that the fragrance selected by the user is inconsistent with the actual fragrance emitted due to misreading, and effectively ensure that the emitted fragrance meets the needs of the user, thereby improving the user experience.
[0047] In some embodiments, the fragrance state information also includes a fragrance identifier, and determining, based on the fragrance state information, whether there is a pending information reading unit with the same information among all the information reading units includes: taking the information reading unit with the same fragrance identifier among all the information reading units as the pending information reading unit.
[0048] Specifically, pending information reading units with the same information are obtained from all information reading units, each information reading unit reads the fragrance status information of the corresponding fragrance unit, wherein the fragrance status information may include a fragrance identifier, and the fragrance identifier is unique, wherein the fragrance identifier may be a digital identifier, a text identifier, or a pattern identifier, without limitation, and the fragrance identifiers in all information reading units are compared to obtain information reading units with consistent fragrance identifiers in all information reading units, and then all information reading units with consistent fragrance identifiers in all information reading units are used as pending information reading units, that is, at this time, all information reading units have the situation of misreading adjacent fragrance information.
[0049] In some embodiments, determining the target information reading unit according to the signal strength corresponding to each pending information reading unit includes: determining the maximum signal strength from the signal strengths corresponding to each pending information reading unit; and taking the pending information reading unit corresponding to the maximum signal strength as the target information reading unit.
[0050] Specifically, when a fragrance block is not placed in a certain fragrance unit, the information reading unit corresponding to the fragrance unit may easily misread the fragrance status information of the adjacent fragrance unit, which may easily cause the fragrance selected by the user to be inconsistent with the actual fragrance emitted, thereby reducing the user experience. Therefore, in order to avoid the problem that the user cannot experience the selected fragrance type due to misreading, the signal strength corresponding to the fragrance status information read by each pending information reading unit is compared to determine the pending information reading unit with the maximum signal strength. It can be understood that the greater the signal strength corresponding to the fragrance status information read by each information reading unit, the closer the distance between the information reading unit and the fragrance unit, and the pending information reading unit corresponding to the maximum signal strength is used as the target information reading unit. The fragrance unit corresponding to the target information reading unit has a fragrance block placed therein, while the fragrance units corresponding to other pending information reading units are determined to have no fragrance blocks placed therein. Therefore, in the present application, the target information reading unit is determined by the signal strength of the pending information reading unit, thereby avoiding the problem that the user cannot experience the selected fragrance type due to misreading, and can effectively ensure that the emitted fragrance meets the needs of the user and improve the user experience.
[0051] In some embodiments, information processing is performed according to the fragrance status information read by the target information reading unit, including: performing a debounce operation on the fragrance status information read by the target information reading unit to obtain valid fragrance status information; performing information processing according to the valid fragrance status information. Specifically, in order to improve the reliability of the fragrance status information read by the target information reading unit, a debounce operation is performed on the fragrance status information read by the target information reading unit to obtain valid fragrance status information, and by performing information processing on the valid fragrance status information, the valid fragrance status information of the fragrance unit corresponding to the target reading unit is displayed on the display unit, thereby effectively preventing the problem of message errors through the debounce operation, ensuring that the real fragrance status information can be obtained in a timely and effective manner.
[0052] In some embodiments, a de-jitter operation is performed on the fragrance status information read by the target information reading unit to obtain valid fragrance status information, including: receiving the fragrance status information read by the target information reading unit for a preset number of consecutive times; if it is determined that the fragrance status information received each time is the same, the fragrance status information read by the target information reading unit is used as the valid fragrance status information.
[0053] The preset number of times is the number of times information is read preset in the fragrance device according to actual needs.
[0054] Specifically, in order to improve the reliability of the fragrance status information read by the target information reading unit, a de-jitter operation is performed on the fragrance status information read by the target information reading unit, wherein the de-jitter operation is to receive the fragrance status information read by the target information reading unit for a preset number of consecutive times, and compare all the fragrance status information read by the target information. If it is determined that the fragrance status information received each time is the same, the fragrance status information read by the target information reading unit is used as the valid fragrance status information. Conversely, if it is determined that the fragrance status information received for a preset number of consecutive times is different, the fragrance status information read by the target information reading unit is considered to be a jitter signal. Therefore, the de-jitter operation can effectively prevent the problem of message errors, thereby ensuring that the real fragrance status information can be obtained in a timely and effective manner.
[0055] In some embodiments, in order to improve the reliability of the fragrance status information read by the target information reading unit, a de-jitter operation is performed on the fragrance status information read by the target information reading unit to obtain true and valid fragrance status information. The de-jitter operation is to receive the fragrance status information read by the target information reading unit for a preset number of consecutive times, and count the number of identical fragrance status information in all received fragrance status information. If it is determined that the number of information is higher than a preset threshold, where the preset threshold can be understood as the number of information preset based on the authenticity and validity of the read fragrance status information, the same fragrance status information is used as valid fragrance status information. Conversely, if it is determined that the number of information is lower than the preset threshold, it is considered that the fragrance status information read by the target information reading unit is a jitter signal. Therefore, the de-jitter operation can effectively prevent message errors and ensure that the true fragrance status information can be obtained in a timely and effective manner.
[0056] In some embodiments, before information processing is performed according to the fragrance status information read by the target information reading unit, in order to prevent the fragrance block of the fragrance unit from being replaced by a counterfeit and inferior fragrance block, the legitimacy of the fragrance status information read by the target information reading unit is judged, that is, the fragrance device obtains the target fragrance identifier in the fragrance status information read by the target information reading unit, and obtains the pre-stored legal fragrance identifier stored by the fragrance device, and then verifies the target fragrance identifier according to the pre-stored legal fragrance identifier to determine the legitimacy of the fragrance status information read by the target information reading unit. For example, if the pre-stored legal fragrance identifier contains the target fragrance identifier, that is, the fragrance identifier in the pre-stored legal fragrance identifier is consistent with the target fragrance identifier, then the fragrance status information read by the target information reading unit is determined to be legal. If the pre-stored legal fragrance identifier does not contain the target fragrance identifier, then the fragrance status information read by the target information reading unit is determined to be illegal. Therefore, the legitimacy of the fragrance status information is judged by the uniqueness of the fragrance identifier, thereby preventing the fragrance block of the fragrance unit from being replaced by a counterfeit and inferior fragrance block, improving the overall experience of the fragrance device, and avoiding endangering the physical and mental health of the user.
[0057] A second aspect of the present invention provides a computer storage medium having a computer program stored thereon, wherein the computer program implements the fragrance recognition method in the above embodiment when executed by a processor.
[0058] A third aspect of the present invention provides a fragrance device, such as Figure 1 As shown, the fragrance device 90 includes: a plurality of fragrance units 1, a plurality of information reading units 2 and a control unit 3.
[0059] Among them, each information reading unit 2 is set corresponding to each fragrance unit 1, and each information reading unit 2 is used to read the fragrance status information of the fragrance unit; the control unit 3 is connected to each information reading unit respectively, and is used to execute the fragrance identification method in the above embodiment.
[0060] It should be noted that the specific implementation of the fragrance device 90 of the embodiment of the present invention is similar to the specific implementation of the fragrance recognition method of any of the above embodiments of the present invention. Please refer to the description of the method part for details. In order to reduce redundancy, it will not be repeated here.
[0061] According to the fragrance device 90 of the embodiment of the present invention, by executing the fragrance recognition method of the above embodiment, the signal strength can be used to eliminate the fragrance status information misread by the information reading unit, thereby avoiding the problem that the fragrance selected by the user is inconsistent with the actual fragrance emitted due to misreading, and can effectively ensure that the emitted fragrance meets the user's needs and improve the user experience.
[0062] In an embodiment, the control unit may determine the remaining amount of the current fragrance block based on the received fragrance status information to remind the user to replace the fragrance block in time to meet the user's needs.
[0063] In some embodiments, the information reading unit is an NFC antenna, and each fragrance unit includes: a fragrance container and an NFC chip.
[0064] The fragrance storage part is used to store the fragrance block, and the NFC chip is connected to the control unit through the NFC antenna. The NFC chip is used to record the fragrance status information of the fragrance block. In other words, each NFC chip records the fragrance status information of the corresponding fragrance block, and the fragrance status information recorded by the corresponding NFC chip is different for each fragrance type of the fragrance block. Each NFC antenna receives the fragrance status information sent by the corresponding NFC chip and sends the fragrance status information to the control unit, and the control unit parses the received fragrance status information.
[0065] In some embodiments, the control unit is further used to obtain fragrance demand information provided by the user, and send a fragrance control signal according to the fragrance demand information.
[0066] In some embodiments, Figure 1 As shown, the fragrance device 90 further includes: an execution unit 5 .
[0067] Among them, the control unit obtains the fragrance control signal input by the user, the execution unit is connected to the control unit, and the execution unit performs operations according to the fragrance control signal to emit fragrance into the interior space of the vehicle, thereby meeting the user's fragrance usage needs.
[0068] In some embodiments, the fragrance control signal includes a fragrance type control signal and a fragrance concentration control signal, and the execution unit 5 includes: a motor 51 and a fan 52.
[0069] Among them, the control unit obtains the fragrance type control signal and the fragrance concentration control signal input by the user, the motor is connected to the control unit, and the motor outputs the fragrance type selected by the user according to the received fragrance type control signal, that is, the fan is turned on and rotated a certain angle to the position corresponding to the fragrance type in the fragrance containing part to select the fragrance type required by the user, the fan is connected to the control unit, and the fan outputs the wind speed according to the received fragrance concentration control signal to control the fragrance concentration, that is, the fragrance emitted by the fragrance is brought to the air duct through the fan on the fan, and then dissipated into the vehicle space, thereby meeting user needs.
[0070] In some embodiments, the control unit is further configured to send a status display signal according to the fragrance status information, such as Figure 1 As shown, the fragrance device 90 further includes: a display unit 6 .
[0071] The display unit is connected to the control unit, and the display unit is used to display the fragrance status according to the status display signal, and to collect the fragrance demand information provided by the user. That is to say, the control unit sends the status display signal to the display unit according to the fragrance status information, and after the display unit receives the status display signal, it then displays the fragrance status according to the status display signal, such as displaying whether the fragrance container is filled with fragrance, and the working status, usage, remaining amount and fragrance information of the current fragrance, so that the user can view the fragrance status and ensure the signal transmission between the control unit and the display unit.
[0072] In an embodiment, the display unit obtains the fragrance demand information input by the user through the display unit, wherein the fragrance demand information includes: fragrance switch control, fragrance concentration control and fragrance type control. The display unit sends the fragrance demand information to the control unit, and the control unit sends the fragrance control signal to the execution unit through the fragrance demand information. Therefore, in this application, the user can select the fragrance type and fragrance concentration on the display unit, and control the fragrance on and off, thereby improving the intelligence of the control.
[0073] In some embodiments, Figure 1 As shown, the display unit 6 is connected to the control unit 3 via a LIN (Local Interconnect Network) bus. That is, the control unit sends the status display signal to the display unit via the LIN bus, and the LIN bus has the advantages of small line interference and saving wiring harnesses.
[0074] A fourth aspect of the present invention provides a vehicle 100, such as Figure 3 As shown, the vehicle includes the fragrance device 90 in the above embodiment.
[0075] According to the vehicle of the embodiment of the present invention, through the fragrance device of the above embodiment, the signal strength can be used to eliminate the fragrance status information misread by the information reading unit, thereby avoiding the problem that the fragrance selected by the user is inconsistent with the actual fragrance emitted due to misreading, and can effectively ensure that the emitted fragrance meets the user's needs and improve the user experience.
[0076] In the description of this specification, any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code including one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.
[0077] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0078] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0079] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0080] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0081] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
[0082] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example.
[0083] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
Claims
1. A method for identifying fragrance, characterized in that: For a fragrance device, the fragrance device includes a plurality of fragrance units and a plurality of information reading units for reading fragrance status information of the fragrance units, each information reading unit is arranged corresponding to each fragrance unit, and the identification method includes: receiving the fragrance status information read by each information reading unit, wherein the fragrance status information at least includes signal strength; Determine a pending information reading unit according to the fragrance state information, wherein the pending information reading unit is an information reading unit with the same fragrance state information; Determine the target information reading unit according to the signal strength corresponding to each pending information reading unit; Information processing is performed according to the fragrance status information read by the target information reading unit.
2. The fragrance identification method according to claim 1, characterized in that: The fragrance state information also includes a fragrance identifier, and determining, according to the fragrance state information, that there is a pending information reading unit with the same information among all the information reading units, includes: The information reading unit that reads the same fragrance identification among all the information reading units is used as the pending information reading unit.
3. The fragrance identification method according to claim 1, characterized in that: Determining a target information reading unit according to the signal strength corresponding to each pending information reading unit includes: Determine the maximum signal strength from the signal strengths corresponding to each pending information reading unit; The pending information reading unit corresponding to the maximum signal strength is used as the target information reading unit.
4. The fragrance identification method according to claim 1, characterized in that: Performing information processing according to the fragrance state information read by the target information reading unit includes: performing a debounce operation on the fragrance status information read by the target information reading unit to obtain valid fragrance status information; Information processing is performed according to the effective fragrance status information.
5. The method for identifying fragrance according to claim 4, characterized in that: Performing a debounce operation on the fragrance status information read by the target information reading unit to obtain valid fragrance status information, including: receiving the fragrance status information read by the target information reading unit for a preset number of consecutive times; If it is determined that the fragrance state information received each time is the same, the fragrance state information read by the target information reading unit is used as the valid fragrance state information.
6. The method for identifying fragrance according to claim 4, characterized in that: Performing a debounce operation on the fragrance status information read by the target information reading unit to obtain valid fragrance status information, including: receiving the fragrance status information read by the target information reading unit for a preset number of consecutive times; Count the number of messages with the same fragrance status information among all received fragrance status information; If it is determined that the information quantity is higher than a preset threshold, the same fragrance state information is used as the valid fragrance state information.
7. The method for identifying fragrance according to any one of claims 1 to 6, characterized in that: Before performing information processing according to the fragrance state information read by the target information reading unit, the method further includes: Acquire a target fragrance identifier in the fragrance state information read by the target information reading unit; Get the pre-stored legal fragrance logo; The target fragrance identifier is verified according to the pre-stored legal fragrance identifier to determine the legality of the fragrance status information read by the target information reading unit.
8. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the fragrance recognition method according to any one of claims 1 to 7 is implemented.
9. A fragrance device, characterized in that: include: Multiple fragrance units; A plurality of information reading units, each of which is provided corresponding to each fragrance unit, and each of which is used to read fragrance status information of the fragrance unit; A control unit is connected to each information reading unit respectively, and is used to execute the fragrance identification method according to any one of claims 1 to 7.
10. The fragrance device according to claim 9, characterized in that: The information reading unit is an NFC antenna, and each of the fragrance units includes: A fragrance containing portion, the fragrance containing portion being used to contain fragrance blocks; An NFC chip, wherein the NFC chip is communicatively connected with the control unit via the NFC antenna, and the NFC chip is used to record the fragrance status information of the fragrance block.
11. The fragrance device according to claim 9, characterized in that: The control unit is also used to obtain fragrance demand information provided by the user, and send a fragrance control signal according to the fragrance demand information; The fragrance device further comprises: An execution unit is connected to the control unit, and is used to execute an operation according to the fragrance control signal to emit a fragrance smell.
12. The fragrance device according to claim 11, characterized in that: The fragrance control signal includes a fragrance type control signal and a fragrance concentration control signal, and the execution unit includes: A motor, the motor is connected to the control unit, and the motor is used to output the fragrance type selected by the user according to the fragrance type control signal; A fan is connected to the control unit, and is used to output a wind speed according to the fragrance concentration control signal.
13. The fragrance device according to claim 9, characterized in that: The control unit is also used to send a status display signal according to the fragrance status information; The fragrance device further comprises: A display unit is connected to the control unit, and is used to display the fragrance status according to the status display signal, and to collect fragrance demand information provided by the user.
14. The fragrance device according to claim 13, characterized in that: The display unit is connected to the control unit via a LIN bus.
15. A vehicle, characterized in that: The fragrance device comprises any one of claims 9 to 14.