Vehicle-mounted fragrance box identification method, electronic equipment and vehicle with electronic equipment

By implementing presence detection and false alarm prevention strategies for the fragrance channel in the in-vehicle fragrance system, the problem of false alarms for the fragrance box was solved, and the accurate identification and stable display of the fragrance box status were achieved, thus improving the user experience.

CN122058724APending Publication Date: 2026-05-19GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGZHOU AUTOMOBILE GROUP CO LTD
Filing Date
2026-02-12
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In existing technologies, the identification methods for in-vehicle fragrance boxes are easily affected by vehicle vibration and electromagnetic interference, leading to frequent false alarms and false alarms that the fragrance box does not exist, thus affecting the user experience.

Method used

By acquiring information about the fragrance channels, the presence detection of integrated circuit chips or near-field communication modules is performed to determine the channels without fragrance boxes. Through anti-false alarm marking and count strategies, channels without fragrance boxes are accurately filtered out. Combined with system initialization status judgment, the stability and accuracy of status information are ensured.

Benefits of technology

It effectively reduces the probability of the fragrance controller falsely reporting that the fragrance box is lost under various operating conditions, optimizes the user experience, ensures the accuracy and continuity of status information, and avoids frequent false alarms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122058724A_ABST
    Figure CN122058724A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a vehicle-mounted fragrance box identification method, electronic equipment and a vehicle with the electronic equipment. The vehicle-mounted fragrance box identification method comprises the following steps: acquiring fragrance box information of at least one fragrance channel in a fragrance system; based on the fragrance box information of the at least one fragrance channel, determining a first fragrance channel without a fragrance box, and determining a first false alarm prevention mark and a first false alarm prevention frequency of the fragrance box corresponding to the first fragrance channel; and determining the current state information of the fragrance box corresponding to the first fragrance channel according to the first false alarm prevention mark and the first false alarm prevention frequency. Therefore, the problem of frequent false alarm of the fragrance box in the prior art is solved, the probability that the fragrance controller misreports the loss of the fragrance box under various use conditions is effectively reduced on the premise that the product cost is not increased, and the user experience is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of in-vehicle fragrance technology, and more particularly to an in-vehicle fragrance box identification method, electronic device, and vehicle having the same. Background Technology

[0002] In-car fragrance systems typically come with multiple fragrance boxes to meet users' personalized olfactory needs. The fragrance controller needs to identify the fragrance box information and report it to the central control screen so that users can select a fragrance.

[0003] In related technologies, the fragrance controller mainly adopts two schemes to identify the fragrance box ID and life information: (1) Contact integrated circuit (IC) identification scheme, which uses the fragrance controller to power the fragrance box IC chip to form an electrical circuit, and then reads the information stored in the chip with an electrical signal; (2) Contactless near field communication (NFC) identification scheme, which uses the fragrance controller's NFC radio frequency module to form a radio frequency field near the fragrance box, and the fragrance box NFC module obtains power and then transmits the stored information back in the form of electromagnetic waves.

[0004] However, in the related technologies, solution (1) is easily detached from the controller or disconnected from the electrical circuit due to the vibration of the vehicle driving, and solution (2) is easily affected by the surrounding electromagnetic field interference. Both of these will lead to the problem of frequent false alarms that the fragrance box does not exist, which urgently needs to be solved. Summary of the Invention

[0005] This application provides a method for identifying an in-vehicle fragrance box, an electronic device, and a vehicle equipped with the same, aiming to improve the problem of frequent false alarms due to the absence of the fragrance box in related technologies. Without increasing product costs, it effectively reduces the probability of the fragrance controller falsely reporting that the fragrance box is lost under various operating conditions, thus optimizing the user experience.

[0006] To achieve the above objectives, the first aspect of this application proposes a method for identifying in-vehicle fragrance boxes, comprising the following steps:

[0007] Obtain fragrance box information for at least one fragrance channel in the fragrance system; Based on the fragrance box information of the at least one fragrance channel, a first fragrance channel without a fragrance box is determined, and a first false alarm mark and a first false alarm count are determined for the fragrance box corresponding to the first fragrance channel. The current status information of the fragrance box corresponding to the first fragrance channel is determined based on the first false alarm flag and the first false alarm count.

[0008] Therefore, by acquiring the fragrance box information of the fragrance channel, the system identifies the first fragrance channel where a fragrance box does not exist, determines the first false alarm prevention flag and the first false alarm prevention count for the fragrance box corresponding to the first fragrance channel, and determines the current status information of the fragrance box corresponding to the first fragrance channel. This solves the problem of frequent false alarms due to the absence of fragrance boxes in related technologies, effectively reduces the probability of fragrance controllers falsely reporting fragrance box loss under various usage conditions without increasing product costs, and optimizes the user experience.

[0009] According to one embodiment of this application, determining the first fragrance channel where no fragrance box exists based on the fragrance box information of the at least one fragrance channel includes: Based on the fragrance box information of at least one fragrance channel, an existence detection is performed on the integrated circuit chip or near-field communication module of the fragrance box corresponding to each fragrance channel to obtain the detection result of each fragrance channel. Based on the detection results of each fragrance channel, the fragrance channel in which the integrated circuit chip or the near-field communication module is not present is designated as the first fragrance channel.

[0010] Therefore, by performing targeted presence detection on the integrated circuit chip or near-field communication module of each fragrance channel and accurately screening the first fragrance channel, the rapid identification and accurate definition of fragrance box-free channels are achieved.

[0011] According to one embodiment of this application, determining the first false alarm marker and the first false alarm count corresponding to the fragrance box of the first fragrance channel includes: Determine whether the false alarm prevention flag of the fragrance box corresponding to the first fragrance channel is a valid bit; If the false alarm prevention flag of the fragrance box corresponding to the first fragrance channel is not the valid bit, then the false alarm prevention flag of the fragrance box corresponding to the first fragrance channel is set to the valid bit, and the first false alarm count is accumulated according to the preset accumulation strategy. Otherwise, the first number of false alarms will be accumulated according to the preset accumulation strategy.

[0012] Therefore, by judging the status of the false alarm marker in the first fragrance channel and accumulating the number of false alarms, the abnormal status of the fragrance box-less channel can be accurately quantified and tracked.

[0013] According to one embodiment of this application, determining the current status information of the fragrance box corresponding to the first fragrance channel based on the first false alarm prevention flag and the first false alarm prevention count includes: If the first false alarm prevention flag is the valid bit, then it is determined that the number of first false alarm prevention attempts is less than or equal to the preset number; If the first number of false alarms is less than or equal to the preset number, then the last valid identification information and the last valid lifespan value of the fragrance box corresponding to the first fragrance channel are obtained, and the identification information and the last valid lifespan value of the fragrance box corresponding to the first fragrance channel are used as the current status information.

[0014] Therefore, by relying on both the valid bit flag and the threshold for the number of false alarms and retrieving historical valid information, frequent fluctuations and false alarms in the fragrance box status are avoided, ensuring the stability and continuity of status information reporting.

[0015] According to one embodiment of this application, determining the information to be displayed for the fragrance box corresponding to the first fragrance channel based on the first false alarm prevention marker and the first false alarm prevention count includes: If the first false alarm prevention flag is the valid bit, then determine whether the number of first false alarm prevention attempts is greater than the preset number; If the first number of false alarms exceeds the preset number, then the invalid value will be used as the current status information of the fragrance box corresponding to the first fragrance channel.

[0016] Therefore, by using a dual determination based on valid bit markers and a threshold for preventing false alarms, and outputting invalid values, the true missing status of the fragrance box can be accurately identified, avoiding the continuous reporting of long-term invalid information.

[0017] According to one embodiment of this application, before determining whether the first false alarm count is greater than a preset count, the method further includes: Identify whether the fragrance system is in an initialization state; If the fragrance system is in the initialization state, the last valid identifier information and the last valid lifespan value of the fragrance box corresponding to the first fragrance channel are used as the current state information.

[0018] Therefore, by adding system initialization status recognition and retrieving historical valid information before determining the threshold for the number of false alarms, the risk of misjudgment in the initialization stage is avoided, and the continuity and accuracy of status information are ensured.

[0019] According to one embodiment of this application, after obtaining the fragrance box information of at least one fragrance channel in the fragrance system, the method further includes: Based on the fragrance box information of the at least one fragrance channel, a second fragrance channel with a fragrance box is determined; Obtain the current identification information and current lifespan value of the fragrance box corresponding to the second fragrance channel; The current identification information and the current lifespan value are reported to the master node, and the current identification information and the current lifespan value are sent to the display device for display through the master node, and / or the current identification information and the current lifespan value are sent to the voice device for voice reminder through the master node.

[0020] Therefore, by accurately identifying the second fragrance channel in the fragrance box and reporting its identification and lifespan information in real time, the system can promptly display the status of the effective fragrance box and provide voice reminders, thereby improving the user's interactive experience and information acquisition efficiency.

[0021] According to one embodiment of this application, before obtaining the current identification information and current lifespan value of the fragrance box corresponding to the second fragrance channel, the method further includes: Set the second false alarm flag of the fragrance box corresponding to the second fragrance channel to the invalid bit, and set the second false alarm count of the fragrance box corresponding to the second fragrance channel to the preset value.

[0022] Therefore, by resetting the false alarm flag and count for the second fragrance channel containing the fragrance box and clearing interference from historical abnormal records, the accuracy and reliability of collecting effective fragrance box status information are ensured.

[0023] According to the in-vehicle fragrance box identification method proposed in this application, by acquiring the fragrance box information of the fragrance channel, a first fragrance channel without a fragrance box is determined, and a first false alarm prevention flag and a first false alarm prevention count corresponding to the fragrance box of the first fragrance channel are determined, as well as the current status information of the fragrance box corresponding to the first fragrance channel are determined. This solves the problem of frequent false alarms due to the absence of a fragrance box in related technologies, effectively reducing the probability of the fragrance controller falsely reporting a lost fragrance box under various usage conditions without increasing product costs, and optimizing the user experience.

[0024] To achieve the above objectives, a second aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the in-vehicle fragrance box recognition method as described in the above embodiments.

[0025] To achieve the above objectives, a third aspect of this application provides a vehicle including the electronic equipment shown in the second aspect embodiment.

[0026] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0027] Figure 1 This is a flowchart of a method for recognizing a car air freshener box according to an embodiment of this application; Figure 2 This is a flowchart of a method for recognizing a car air freshener box according to an embodiment of this application; Figure 3 This is a schematic diagram of the hardware structure of a fragrance system according to an embodiment of this application; Figure 4 This is a schematic diagram of the voice control hardware structure of a fragrance system according to an embodiment of this application; Figure 5 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of this application. Detailed Implementation

[0028] To make the technical problems, technical solutions, and beneficial effects solved by this application clearer, the following detailed description is provided in conjunction with embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0029] The following description, with reference to the accompanying drawings, describes a method for identifying an in-vehicle fragrance box, an electronic device, and a vehicle having the same, according to embodiments of this application.

[0030] Figure 1 This is a flowchart of a method for recognizing a car air freshener box according to an embodiment of this application.

[0031] like Figure 1 As shown, the car air freshener box identification method includes the following steps: In step S101, fragrance box information of at least one fragrance channel in the fragrance system is obtained.

[0032] Among them, the fragrance channel refers to an independent pathway unit in the fragrance system used to transmit and control a specific fragrance type. It is the core structure connecting the fragrance box and the fragrance release terminal.

[0033] Specifically, in the fragrance system, multiple channels can be set up, and each channel can only hold one fragrance box. During the operation of the fragrance system, this embodiment acquires the fragrance box information corresponding to at least one fragrance channel in the system through the information acquisition unit configured in each fragrance channel. The fragrance box information includes: the physical presence status of the fragrance box (such as whether it is installed in the preset slot of the corresponding channel), identification information (such as fragrance code, production batch, rated capacity, etc.), and operation-related data (such as remaining fragrance content, whether there are fault alarm information, etc.).

[0034] In step S102, based on the fragrance box information of at least one fragrance channel, a first fragrance channel without a fragrance box is determined, and a first false alarm flag and a first false alarm count are determined for the fragrance box corresponding to the first fragrance channel.

[0035] Optionally, in some embodiments, determining a first fragrance channel without a fragrance box based on fragrance box information of at least one fragrance channel includes: performing an existence detection on the integrated circuit chip or near-field communication module of the fragrance box corresponding to each fragrance channel based on fragrance box information of at least one fragrance channel to obtain a detection result for each fragrance channel; and taking the fragrance channel without an integrated circuit chip or near-field communication module as the first fragrance channel based on the detection result of each fragrance channel.

[0036] The first false alarm prevention marker refers to a rule identifier or parameter label preset for the first fragrance channel in the fragrance system, used to guide the execution of the false alarm prevention detection process. The near-field communication module refers to a small functional unit integrating a near-field communication chip, antenna, and communication protocol.

[0037] Specifically, based on the fragrance box information of at least one fragrance channel obtained in step S101, this embodiment performs an existence detection operation on the integrated circuit chip (i.e., IC chip) or near-field communication module (such as NFC module) mounted on the fragrance box corresponding to each fragrance channel, and obtains the detection result corresponding to each fragrance channel. Based on the detection results of each fragrance channel, this embodiment selects the fragrance channel on which no signal feedback from the integrated circuit chip or near-field communication module is detected as the first fragrance channel.

[0038] Optionally, in some embodiments, determining the first false alarm prevention flag and the first false alarm prevention count for the fragrance box corresponding to the first fragrance channel includes: determining whether the false alarm prevention flag for the fragrance box corresponding to the first fragrance channel is a valid bit; if the false alarm prevention flag for the fragrance box corresponding to the first fragrance channel is not a valid bit, then setting the false alarm prevention flag for the fragrance box corresponding to the first fragrance channel to a valid bit, and accumulating the first false alarm prevention count according to a preset accumulation strategy; otherwise, accumulating the first false alarm prevention count according to a preset accumulation strategy.

[0039] The valid bit refers to the binary logic flag bit used in the fragrance system to indicate whether the false alarm prevention flag is active. The expected accumulation strategy can be a user-preset strategy, a strategy obtained through a finite number of experiments, or a strategy obtained through a finite number of computer simulations.

[0040] Specifically, in this embodiment, the false alarm prevention flag corresponding to the first fragrance channel is retrieved, and it is determined whether the flag is valid. If the false alarm prevention flag for the fragrance box corresponding to the first fragrance channel is determined to be invalid, it indicates that this embodiment has detected an abnormal signal that may affect the fragrance box status judgment for the first time. The false alarm prevention flag is then set to a valid flag, and the first false alarm count is updated according to the expected accumulation strategy. If the false alarm prevention flag for the fragrance box corresponding to the first fragrance channel is determined to be valid, it indicates that this embodiment has previously detected a related abnormal signal, and the setting operation does not need to be repeated. The first false alarm count is updated directly according to the expected accumulation strategy.

[0041] For example, a false alarm prevention flag of 1 indicates that the flag is valid; a false alarm prevention flag of 0 indicates that the flag is invalid. If the false alarm prevention flag for the fragrance box corresponding to the first fragrance channel is 0, then the flag is set to 1, and the first false alarm count is incremented by 1; if the false alarm prevention flag for the fragrance box corresponding to the first fragrance channel is 1, then the first false alarm count is directly incremented by 1.

[0042] In step S103, the current status information of the fragrance box corresponding to the first fragrance channel is determined based on the first false alarm flag and the first false alarm count.

[0043] Optionally, in some embodiments, determining the current status information of the fragrance box corresponding to the first fragrance channel based on the first false alarm flag and the first false alarm count includes: if the first false alarm flag is valid, then determining that the first false alarm count is less than or equal to a preset count; if the first false alarm count is less than or equal to the preset count, then obtaining the last valid identification information and the last valid lifetime value of the fragrance box corresponding to the first fragrance channel, and using the identification information and the last valid lifetime value of the fragrance box corresponding to the first fragrance channel as the current status information.

[0044] The preset number of attempts can be a number pre-set by the user, a number obtained through a limited number of experiments, or a number obtained through a limited number of computer simulations. The last valid identifier (ID) refers to the set of valid data recording the core identity attributes of the fragrance box when the first fragrance channel was successfully detected for the last time. The last valid lifetime value refers to the quantitative data collected and stored from the last successfully detected fragrance box, which characterizes the remaining lifespan of the fragrance box.

[0045] Specifically, in this embodiment, it is determined whether the first false alarm prevention flag is a valid bit. If the first false alarm prevention flag is a valid bit, it is further determined whether the first false alarm prevention count is less than or equal to a preset count X. If the first false alarm prevention count is determined to be less than or equal to the preset count, the last valid identification information (i.e., fragrance box ID) and the last valid lifespan value of the fragrance box corresponding to the first fragrance channel stored in the fragrance system are retrieved, and the last valid identification information and the last valid lifespan value are used as the current status information of the fragrance box corresponding to the first fragrance channel. Further, if the first false alarm prevention flag is determined to be a valid bit, it indicates that the abnormal signal detected by the system is within the evaluable range, rather than a completely invalid interference signal. It is further determined whether the first false alarm prevention count is less than or equal to the preset count X. If this condition is met, it indicates that the frequency of the abnormal signal does not exceed a reasonable threshold, and it belongs to occasional interference rather than a continuous fault. In this embodiment, the historical valid information of the fragrance box corresponding to the first fragrance channel stored in the fragrance system, namely the last valid identification information (fragrance box ID) and the last valid lifespan value, are retrieved and used as the current status information.

[0046] Furthermore, in this embodiment of the application, the current status information of the fragrance box corresponding to the first fragrance channel is sent to the master node, so that the current status information is sent to the display device for display through the master node, and / or, the current status information is sent to the voice device for voice reminder through the master node.

[0047] Optionally, in some embodiments, determining the current status information of the fragrance box corresponding to the first fragrance channel based on the first false alarm flag and the first false alarm count includes: if the first false alarm flag is a valid bit, then determining whether the first false alarm count is greater than a preset count; if the first false alarm count is greater than the preset count, then using an invalid value as the current status information of the fragrance box corresponding to the first fragrance channel.

[0048] Specifically, in this embodiment, it is determined whether the first false alarm prevention flag is valid. If the first false alarm prevention flag is valid, it is further determined whether the number of first false alarms exceeds a preset number. If the number of first false alarms exceeds the preset number, the invalid value is directly used as the current state information of the fragrance box corresponding to the first fragrance channel. Further, when the first false alarm prevention flag is valid, it indicates that the system has detected an abnormal signal that may affect the fragrance box state judgment. At this time, it is further verified whether the number of first false alarms exceeds the preset number. If the number exceeds the preset number, it means that the abnormal signal is not an occasional interference, but a persistent invalid state triggering condition. Therefore, the invalid value is assigned as the current state information of the fragrance box corresponding to the first fragrance channel, thereby achieving accurate and reliable judgment of the fragrance box state and avoiding misjudgments caused by occasional abnormalities. The preset number can be set to 10~50, preferably 30.

[0049] Furthermore, in this embodiment of the application, the current status information of the fragrance box corresponding to the first fragrance channel is sent to the master node, so that the current status information is sent to the display device for display through the master node, and / or, the current status information is sent to the voice device for voice reminder through the master node.

[0050] Therefore, by acquiring the fragrance box information of the fragrance channel, the system identifies the first fragrance channel where a fragrance box does not exist, determines the first false alarm prevention flag and the first false alarm prevention count for the fragrance box corresponding to the first fragrance channel, and determines the current status information of the fragrance box corresponding to the first fragrance channel. This solves the problem of frequent false alarms due to the absence of fragrance boxes in related technologies, effectively reduces the probability of fragrance controllers falsely reporting fragrance box loss under various usage conditions without increasing product costs, and optimizes the user experience.

[0051] Furthermore, in order to avoid false alarms during the initialization phase of the fragrance system, this application embodiment needs to identify the initialization state of the fragrance system.

[0052] Optionally, in some embodiments, before determining whether the first number of false alarms is greater than a preset number, the method further includes: identifying whether the fragrance system is in an initialization state; if the fragrance system is in an initialization state, then the last valid identification information and the last valid lifespan value of the fragrance box corresponding to the first fragrance channel are used as the current state information.

[0053] Specifically, if the fragrance system is in the initialization state, problems such as incomplete hardware parameter calibration and fluctuating sensor data may occur. If the status information at this stage is directly used to determine the number of false alarms, the risk of misjudgment will increase due to data distortion. In this embodiment, before determining whether the first number of false alarms is greater than the preset number, it is necessary to first identify whether the fragrance system is in the initialization state. When it is confirmed that the fragrance system is in the initialization state, the last valid identification information and the last valid lifespan value of the fragrance box corresponding to the first fragrance channel are retrieved as the current status information, thereby avoiding interference from invalid data in the initialization stage.

[0054] This ensures the accuracy and reliability of false alarm detection, while also improving the stability of the fragrance system and the user experience.

[0055] Furthermore, for fragrance channels containing fragrance boxes, the current status information is obtained in the following way.

[0056] Optionally, in some embodiments, after obtaining the fragrance box information of at least one fragrance channel in the fragrance system, the method further includes: determining a second fragrance channel with a fragrance box based on the fragrance box information of at least one fragrance channel; obtaining the current identification information and current lifespan value of the fragrance box corresponding to the second fragrance channel; reporting the current identification information and current lifespan value to the master node, and sending the current identification information and current lifespan value to the display device through the master node for display, and / or sending the current identification information and current lifespan value to the voice device for voice reminder through the master node.

[0057] Optionally, in some embodiments, before obtaining the current identification information and current lifespan value of the fragrance box corresponding to the second fragrance channel, the method further includes: setting the second false alarm flag of the fragrance box corresponding to the second fragrance channel to an invalid bit, and setting the second false alarm count of the fragrance box corresponding to the second fragrance channel to a preset value.

[0058] The preset value can be a value set by the user, a value obtained through a limited number of experiments, or a value obtained through a limited number of computer simulations.

[0059] Specifically, based on the fragrance box information of at least one fragrance channel obtained in step S101, this embodiment determines a second fragrance channel with a fragrance box. This embodiment sets the second false alarm flag of the fragrance box corresponding to the second fragrance channel to an invalid bit, and resets the second false alarm count to a preset value, which can be 0. This avoids interference from historical data in the current status information collection.

[0060] This application embodiment obtains the current identification information and current lifespan value of the fragrance box corresponding to the second fragrance channel, and sends the current identification information and current lifespan value as the current status information of the fragrance box corresponding to the second fragrance channel to the master node. The master node plays the role of the hub for information distribution, and sends the information to the display device for visual display, so that users can intuitively view the identity and remaining lifespan of the fragrance box, and / or push the information to the voice device to inform the user of the fragrance box status through voice reminders, so as to meet the user's usage needs in different scenarios.

[0061] For example, if a car fragrance system has three channels, and each of the three channels contains a fragrance box. The IC chip / NFC module of the fragrance box in channel 1 stores ID=1 with a lifespan of 100%; the IC chip / NFC module of the fragrance box in channel 2 stores ID=2 with a lifespan of 90%; and the IC chip / NFC module of the fragrance box in channel 3 stores ID=3 with a lifespan of 70%. As shown in Table 1, Table 1 presents the current identification information and current lifespan value of the fragrance box corresponding to each channel according to an embodiment of this application.

[0062] Table 1

[0063] This ensures the accuracy of the fragrance box's status information, enabling users to perceive the fragrance box's status in real time and from multiple dimensions.

[0064] To facilitate a better understanding of the in-vehicle fragrance box identification method proposed in this application by those skilled in the art, the following is combined with... Figure 2 Further explanation is needed.

[0065] like Figure 2 As shown, Figure 2 This is a flowchart of a method for recognizing a car air freshener box according to an embodiment of this application. The method includes the following steps: S201, power on, the positive and negative voltages of the car air freshener are within the operating voltage range (depending on the vehicle's power distribution, the operating voltage range of a car air freshener is generally 9V to 16V).

[0066] S202, Initialization Timing: A countdown begins upon power-on, and initialization is complete when the countdown ends. Depending on the hardware differences of the in-vehicle fragrance system, the initialization timing can be set from 300ms to 1000ms, with 500ms being the preferred setting.

[0067] S203, determine whether the fragrance box integrated circuit chip or near-field communication module exists in each channel. If it exists, proceed to step S204; otherwise, proceed to step S207.

[0068] S204, Clear the false alarm prevention flag and reset the false alarm prevention count (each channel has a false alarm prevention flag and a corresponding false alarm prevention count, which are stored in the fragrance system's storage device).

[0069] S205, read the identification information (i.e., fragrance box ID) and lifespan information stored in the integrated circuit chip or near-field communication module of the fragrance box corresponding to the channel.

[0070] S206, update the channel fragrance box ID and lifespan information, report to the master node, and return to execute step S203.

[0071] S207. Determine whether there is a false alarm prevention marker in the channel. If yes, proceed to step S209; otherwise, proceed to step S208.

[0072] S208, switch the false alarm flag of the fragrance box corresponding to the fragrance channel to the valid position.

[0073] S209, increase the cumulative number of false alarms (i.e., the number of NG (No Good, Abnormal) events) by 1.

[0074] S210, determine whether the fragrance system is in the initialization state (i.e., if the countdown in step S202 is greater than 0ms, it is in the initialization state; if the countdown is equal to 0ms, it is not in the initialization state). If yes, proceed to step S212; otherwise, proceed to step S211.

[0075] S211, determine whether the number of false alarms is greater than the preset number X. If yes, proceed to step S206; otherwise, return to step S212.

[0076] S212, maintain the last valid identification information (i.e., fragrance box ID) and the last valid lifespan information of the fragrance box corresponding to the fragrance channel and report them to the master node, and return to execute step S203.

[0077] Furthermore, to facilitate those skilled in the art to better understand the in-vehicle fragrance box identification method proposed in this application, the following detailed description is provided in conjunction with specific embodiments.

[0078] On the one hand, such as Figure 3 As shown, Figure 3 This is a schematic diagram of the hardware structure of a fragrance system according to an embodiment of the present application. The system consists of a central control screen, a main node, a fragrance controller, channel 1 and its corresponding IC chip and fragrance box, channel 2 and its corresponding IC chip and fragrance box, and channel 3 and its corresponding IC chip and fragrance box.

[0079] For example, after the in-vehicle fragrance system is powered on, a 500ms countdown will start during the initialization phase. The fragrance controller will sequentially identify channel 1, channel 2, and channel 3 to confirm that the IC chip of the fragrance box in each channel is present. The fragrance system will set the false alarm flag of each channel to invalid bit (value is 0) and reset the NG count to the preset value (value is 0). The fragrance controller will read the ID and lifespan information stored in the IC chip of each fragrance box, update the ID and lifespan data of the fragrance box and report it to the master node. The master node will synchronize it to the central control screen for display, so that users can view the status of the fragrance box and make selections. As shown in Table 2, Table 2 is the ID and lifespan information of the fragrance box corresponding to each channel according to an embodiment of this application.

[0080] Table 2

[0081] After the operation is completed, the fragrance system will re-enter the identification process of the IC chip (or near-field communication module) of each channel fragrance box. The fragrance controller will identify the IC chip on the fragrance box in channel 1, channel 2, and channel 3. If the fragrance box IC chip in channel 2 is not found, the system will reset the false alarm prevention flag of channel 1 and channel 3 to invalid bit (value is 0) and clear its NG count (reset to 0). For channel 2, after reading the memory, the fragrance controller will confirm that there is no historical false alarm prevention flag, and then set the false alarm prevention flag of channel 2 to valid bit (value is 1), while incrementing its NG count by 1. After completing the marking and count configuration, the fragrance controller reads the ID and lifespan information stored in the fragrance box IC chip in channel 1 and channel 3, updates the corresponding data and reports it to the master node. The system detects that the initialization countdown has ended (the count is 0ms, and it is in a non-initialized state), and determines that the NG count of channel 2 is 1, which has not exceeded the preset count of 30. Therefore, the ID and lifespan information of the fragrance box in channel 2 are maintained at the last recorded value and reported to the master node synchronously (for specific data, please refer to Table 2).

[0082] After the operation is completed, the fragrance system will re-enter the identification process of the IC chip (or near-field communication module) of each channel fragrance box. The fragrance controller will identify the IC chip on the fragrance box in channel 1, channel 2, and channel 3 accordingly. In the new round of identification process, if the fragrance controller detects that the IC chip of the fragrance box in channel 2 is still not present, after reading the memory, it will confirm that the false alarm flag of channel 2 is currently valid and its NG count has accumulated to 2 (less than the preset threshold X). At this time, the fragrance controller will keep the ID and lifespan information of the fragrance box in channel 2 as the last recorded value and continue to report to the master node. The above process will be executed in a loop until the NG count of channel 2 accumulates to 31 (exceeding the preset number X). At this time, the fragrance controller will update the ID and lifespan information of the fragrance box in channel 2 and report to the master node, as shown in Table 3. Table 3 is a comparison table of the ID and lifespan information of the fragrance boxes corresponding to each channel according to the embodiments of this application.

[0083] Table 3

[0084] Subsequently, the fragrance system will re-enter the identification process of the fragrance box IC chip (or near-field communication module) in each channel, and so on.

[0085] On the other hand, such as Figure 4 As shown, Figure 4 This is a schematic diagram of the hardware structure for voice control of a fragrance system according to an embodiment of this application. The system comprises a voice control module, a master node, a fragrance controller, channel 1 and its corresponding NFC module and fragrance box, channel 2, channel 3 and their corresponding NFC modules and fragrance boxes.

[0086] For example, after the in-vehicle fragrance system is powered on, a 500ms countdown is initiated for initialization. The fragrance controller sequentially identifies the fragrance boxes in channels 1, 2, and 3. The result shows that channel 2 has no fragrance box NFC module. Based on this identification result, the fragrance controller sets the false alarm prevention flags of channels 1 and 3 to invalid bits and clears their NG counts to zero. After reading the memory, it finds that channel 2 has no historical false alarm prevention flags, so it sets the false alarm prevention flag of channel 2 to valid bits and increments its NG count by 1. The fragrance controller reads the ID and lifespan information stored in the NFC modules of the fragrance boxes in channels 1 and 3, updates the corresponding data, and reports it to the master node. Detecting that the initialization countdown has 150ms remaining, it determines that the system is still in the initialization state, and therefore maintains the synchronized reporting of the ID and lifespan information of the fragrance box in channel 2 to the master node. As shown in Table 4, Table 4 is a table of ID and lifespan information for each fragrance box corresponding to each channel according to an embodiment of this application.

[0087] Table 4

[0088] Subsequently, the fragrance system will re-enter the identification process of the fragrance box IC chip (or near-field communication module) in each channel, and so on.

[0089] According to the in-vehicle fragrance box identification method proposed in this application, by acquiring the fragrance box information of the fragrance channel, a first fragrance channel without a fragrance box is determined, and a first false alarm prevention flag and a first false alarm prevention count corresponding to the fragrance box of the first fragrance channel are determined, as well as the current status information of the fragrance box corresponding to the first fragrance channel are determined. This solves the problem of frequent false alarms due to the absence of a fragrance box in related technologies, effectively reducing the probability of the fragrance controller falsely reporting a lost fragrance box under various usage conditions without increasing product costs, and optimizing the user experience.

[0090] Figure 5 This is a schematic diagram of an electronic device provided in an embodiment of the present invention. The electronic device may include: The memory 501, the processor 502, and the computer program stored on the memory 501 and capable of running on the processor 502.

[0091] When the processor 502 executes the program, it implements the in-vehicle fragrance box recognition method provided in the above embodiments.

[0092] Furthermore, electronic devices also include: Communication interface 503 is used for communication between memory 501 and processor 502.

[0093] The memory 501 is used to store computer programs that can run on the processor 502.

[0094] The memory 501 may include high-speed RAM (Random Access Memory) memory, and may also include non-volatile memory, such as at least one disk storage.

[0095] If the memory 501, processor 502, and communication interface 503 are implemented independently, then the communication interface 503, memory 501, and processor 502 can be interconnected via a bus to complete communication between them. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0096] Optionally, in a specific implementation, if the memory 501, processor 502, and communication interface 503 are integrated on a single chip, then the memory 501, processor 502, and communication interface 503 can communicate with each other through an internal interface.

[0097] Processor 502 may be a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present invention.

[0098] Furthermore, embodiments of this application also propose a vehicle that includes the electronic equipment described above.

[0099] The vehicle proposed in the embodiments of this application solves the problem of frequent false alarms due to the absence of the fragrance box in the related technology through the above-mentioned electronic device. It effectively reduces the probability of the fragrance controller falsely reporting the loss of the fragrance box under various usage conditions without increasing product costs, and optimizes the user experience.

[0100] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0101] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0102] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A method for identifying in-car fragrance boxes, characterized in that, Includes the following steps: Obtain fragrance box information for at least one fragrance channel in the fragrance system; Based on the fragrance box information of the at least one fragrance channel, a first fragrance channel without a fragrance box is determined, and a first false alarm mark and a first false alarm count are determined for the fragrance box corresponding to the first fragrance channel. The current status information of the fragrance box corresponding to the first fragrance channel is determined based on the first false alarm flag and the first false alarm count.

2. The method according to claim 1, characterized in that, The step of determining a first fragrance channel that does not exist based on the fragrance box information of the at least one fragrance channel includes: Based on the fragrance box information of at least one fragrance channel, an existence detection is performed on the integrated circuit chip or near-field communication module of the fragrance box corresponding to each fragrance channel to obtain the detection result of each fragrance channel. Based on the detection results of each fragrance channel, the fragrance channel in which the integrated circuit chip or the near-field communication module is not present is designated as the first fragrance channel.

3. The method according to claim 1 or 2, characterized in that, The determination of the first false alarm marker and the first false alarm count for the fragrance box corresponding to the first fragrance channel includes: Determine whether the false alarm prevention flag of the fragrance box corresponding to the first fragrance channel is a valid bit; If the false alarm prevention flag of the fragrance box corresponding to the first fragrance channel is not the valid bit, then the false alarm prevention flag of the fragrance box corresponding to the first fragrance channel is set to the valid bit, and the first false alarm count is accumulated according to the preset accumulation strategy. Otherwise, the first number of false alarms will be accumulated according to the preset accumulation strategy.

4. The method according to claim 3, characterized in that, The step of determining the current status information of the fragrance box corresponding to the first fragrance channel based on the first false alarm flag and the first false alarm count includes: If the first false alarm prevention flag is the valid bit, then it is determined that the number of first false alarm prevention attempts is less than or equal to the preset number; If the first number of false alarms is less than or equal to the preset number, then the last valid identification information and the last valid lifespan value of the fragrance box corresponding to the first fragrance channel are obtained, and the identification information and the last valid lifespan value of the fragrance box corresponding to the first fragrance channel are used as the current status information.

5. The method according to claim 3, characterized in that, The step of determining the information to be displayed for the fragrance box corresponding to the first fragrance channel based on the first false alarm flag and the first false alarm count includes: If the first false alarm prevention flag is the valid bit, then determine whether the number of first false alarm prevention attempts is greater than the preset number; If the first number of false alarms exceeds the preset number, then the invalid value will be used as the current status information of the fragrance box corresponding to the first fragrance channel.

6. The method according to claim 5, characterized in that, Before determining whether the first number of false alarms exceeds the preset number, the process also includes: Identify whether the fragrance system is in an initialization state; If the fragrance system is in the initialization state, the last valid identifier information and the last valid lifespan value of the fragrance box corresponding to the first fragrance channel are used as the current state information.

7. The method according to claim 1, characterized in that, After obtaining the fragrance box information of at least one fragrance channel in the fragrance system, the method further includes: Based on the fragrance box information of the at least one fragrance channel, a second fragrance channel with a fragrance box is determined; Obtain the current identification information and current lifespan value of the fragrance box corresponding to the second fragrance channel; The current identification information and the current lifespan value are reported to the master node, and the master node sends the current identification information and the current lifespan value to the display device for display, and / or, the master node sends the current identification information and the current lifespan value to the voice device for voice reminder.

8. The method according to claim 7, characterized in that, Before obtaining the current identification information and current lifespan value of the fragrance box corresponding to the second fragrance channel, the process also includes: Set the second false alarm flag of the fragrance box corresponding to the second fragrance channel to the invalid bit, and set the second false alarm count of the fragrance box corresponding to the second fragrance channel to the preset value.

9. An electronic device, characterized in that, Including processor and memory, among which Memory, used to store computer programs; A processor is used to execute a program stored in a memory to implement the in-vehicle fragrance box recognition method according to any one of claims 1-8.

10. A vehicle, characterized in that, It includes the electronic device as described in claim 9.