Fragrance device control method, device and storage medium

By obtaining and recording the initial type and usage information of the fragrance spoon in the fragrance controller, periodically compare to determine whether to replace it, and calculate the remaining life spoon, the problem of wrong life spoon calculation after replacement is solved, and the accurate output of the fragrance spoon is achieved.

CN116729080BActive Publication Date: 2025-09-02CHERY AUTOMOBILE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310954600.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-28
Publication Date
2025-09-02
Estimated Expiration
2043-07-28

AI Technical Summary

Technical Problem

In the prior art, after the fragrance device is replaced, the lifespan calculation is incorrect, resulting in inaccurate fragrance information output.

Method used

The fragrance controller obtains initial type information and stores it when the vehicle is started, records usage information, periodically obtains type information, determines whether the fragrance bullet is replaced, and calculates the remaining life based on the usage information when it is not replaced, and outputs it to the user interface.

Benefits of technology

Ensure the accuracy of the remaining life of the fragrance ball, avoid life span errors caused by the replacement of the fragrance ball, and ensure the accuracy of the output information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116729080B_ABST
    Figure CN116729080B_ABST
Patent Text Reader

Abstract

The present disclosure provides a control method, device, and storage medium for a fragrance device, which belongs to the field of new energy vehicles. The method includes: a fragrance controller obtains initial type information from a fragrance cartridge and stores it in an external memory when the vehicle is started; the fragrance controller records usage information of the fragrance cartridge; the fragrance controller periodically obtains type information from the fragrance cartridge, the type information including a fragrance type field and a fragrance life field; the fragrance controller determines whether the fragrance cartridge has been replaced based on the obtained type information and the initial type information in the external memory; if the fragrance cartridge has not been replaced, the fragrance controller calculates the remaining service life of the fragrance cartridge based on the usage information of the fragrance cartridge; and the fragrance controller outputs the remaining service life and the type information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the automotive field, and in particular to a control method, device, and storage medium for a fragrance device. Background Art

[0002] Fragrance is an object that can emit fragrance and is widely used in the automotive field.

[0003] For example, new energy vehicles are equipped with an onboard fragrance device to provide a fragrance function. The fragrance device contains multiple fragrance cartridges, each containing a different scent. Each cartridge also includes a storage unit that stores fragrance lifespan information. The fragrance controller reads the initial lifespan information of the fragrance cartridge from the storage unit, calculates the current lifespan based on the initial lifespan information and the duration of use, and provides timely feedback to the user.

[0004] In the related art, if the user replaces the fragrance cartridge midway, the next time the fragrance life is calculated, the life of the current fragrance cartridge will be calculated based on the initial life information and usage time of the previous fragrance cartridge, resulting in an error in the life calculation. Summary of the Invention

[0005] The present disclosure provides a method for controlling a fragrance device. The technical solution is as follows:

[0006] In one aspect, a method for controlling a fragrance device is provided, the method comprising:

[0007] The fragrance controller obtains the initial type information from the fragrance bomb and stores it in the external memory when the vehicle is started;

[0008] The fragrance controller records the usage information of the fragrance bomb;

[0009] The fragrance controller periodically obtains type information from the fragrance bomb, wherein the type information includes a fragrance type field and a fragrance life field;

[0010] The fragrance controller determines whether the fragrance cartridge has been replaced based on the acquired type information and the initial type information in the external memory;

[0011] When the fragrance cartridge has not been replaced, the fragrance controller calculates the remaining service life of the fragrance cartridge based on the usage information of the fragrance cartridge;

[0012] The fragrance controller outputs the remaining service life and the type information.

[0013] Optionally, the fragrance controller calculates the remaining service life of the fragrance cartridge based on the usage information of the fragrance cartridge, including:

[0014] The fragrance controller obtains initial life information from the fragrance bomb when the vehicle is started and stores it in an external memory;

[0015] The fragrance controller calculates the remaining service life of the fragrance cartridge based on the usage information of the fragrance cartridge and the initial service life information in the external memory.

[0016] Optionally, the method further includes:

[0017] The fragrance controller updates the fragrance life field in the type information based on the remaining service life;

[0018] The fragrance controller uses the type information to update the initial type information in the fragrance bomb before the vehicle is turned off.

[0019] Optionally, the method further includes:

[0020] When the acquired initial life information is abnormal, the fragrance controller determines that the contact between the identification probe in the fragrance bomb and the fragrance is poor;

[0021] The fragrance controller outputs abnormal indication information.

[0022] Optionally, the method further includes:

[0023] The fragrance controller obtains the type information of the fragrance bomb when receiving the sleep instruction from the vehicle domain controller;

[0024] The fragrance controller determines whether the fragrance cartridge should be replaced based on the acquired type information and the initial type information;

[0025] When the fragrance cartridge has not been replaced, the fragrance controller calculates the remaining service life of the fragrance cartridge based on usage information of the fragrance cartridge and writes the remaining service life into an internal memory.

[0026] Optionally, the method further includes:

[0027] In response to the user selecting a fragrance type, the fragrance controller selects a fragrance cartridge corresponding to the fragrance type in the fragrance type field in the type information based on the fragrance type in the user instruction.

[0028] In another aspect, a fragrance device is provided, comprising:

[0029] An acquisition module, used to acquire initial type information from the fragrance bomb and store it in an external memory when the vehicle is started;

[0030] A recording module, used to record the usage information of the fragrance bomb;

[0031] The acquisition module is further configured to periodically acquire type information from the fragrance bomb, wherein the type information includes a fragrance type field and a fragrance life field;

[0032] a determination module, configured to determine whether the fragrance cartridge has been replaced based on the acquired type information and the initial type information in the external memory;

[0033] a processing module, configured to calculate the remaining service life of the fragrance cartridge based on the usage information of the fragrance cartridge when the fragrance cartridge has not been replaced;

[0034] An output module is used to output the remaining service life and the type information.

[0035] Optionally, the acquisition module is further configured to acquire initial life information from the fragrance bomb and store it in the external memory when the vehicle is started;

[0036] The processing module is configured to calculate the remaining service life of the fragrance cartridge based on the usage information of the fragrance cartridge and the initial service life information in the external memory.

[0037] On the other hand, a vehicle-mounted device is provided, which includes the apparatus as described above.

[0038] On the other hand, a computer-readable storage medium is provided, wherein at least one program code is stored in the computer-readable storage medium, and the program code is loaded and executed by a processor to implement any of the above methods.

[0039] The technical solutions provided by the embodiments of the present disclosure have the following beneficial effects:

[0040] By obtaining the type information of the fragrance cartridge and comparing the type information of the fragrance cartridge with the initial type information, it is determined whether the fragrance cartridge has been replaced. The type information of the fragrance cartridge includes a fragrance type field and a fragrance life field. The fragrance type field indicates the fragrance information of the fragrance cartridge, and the fragrance life field indicates the life information of the fragrance cartridge. Using the fragrance type field plus the fragrance life field can not only distinguish different types of fragrance cartridges based on the fragrance type field, but also distinguish the same type of fragrance cartridges based on the fragrance life field. When the fragrance cartridge is not replaced, the remaining service life of the fragrance cartridge can be calculated based on the usage information of the fragrance cartridge, and the remaining service life of the fragrance cartridge can be output to the user graphical interface, so that the type information and life information of the fragrance cartridge can be displayed on the user graphical interface. The above method can avoid the life calculation error caused by replacing the fragrance cartridge, and ensure the accuracy of the output fragrance information. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0042] Figure 1 is a structural block diagram of a vehicle provided by an embodiment of the present disclosure;

[0043] Figure 2 This is a structural block diagram of a fragrance generator provided by an embodiment of the present disclosure;

[0044] Figure 3 This is a control method for a fragrance device provided by an embodiment of the present disclosure;

[0045] Figure 4 This is another control method for a fragrance device provided by an embodiment of the present disclosure;

[0046] Figure 5 This is a logic block diagram of a fragrance device provided by an embodiment of the present disclosure during operation;

[0047] Figure 6 is a structural schematic diagram of a fragrance device provided by an embodiment of the present disclosure;

[0048] Figure 7 This is a structural block diagram of a vehicle-mounted device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0049] In order to make the objectives, technical solutions and advantages of the present disclosure more clear, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.

[0050] Figure 1 This is a structural block diagram of a vehicle provided by an embodiment of the present disclosure. Figure 1 , Figure 1 A vehicle domain controller 101 , a fragrance controller 102 , a fragrance generator 103 , an in-vehicle infotainment system 104 , and an external memory 105 are shown.

[0051] The vehicle domain controller 101 is connected to the fragrance controller 102 , and the fragrance controller 102 is connected to the fragrance generator 103 , the in-vehicle infotainment system 104 , and the external memory 105 .

[0052] The vehicle domain controller (VDC) 101 is used to send wake-up and sleep commands to the fragrance controller 102 .

[0053] The function of the fragrance controller 102 is to control the operation of the fragrance generator 103 . The fragrance controller 102 may be a chip.

[0054] The function of the fragrance generator 103 is to select the corresponding fragrance bomb under the instruction control of the fragrance controller 102 and control the fragrance bomb to emit fragrance.

[0055] The function of the in-vehicle infotainment system (IVI) 104 is to realize human-computer interaction functions, such as the display and control of the vehicle's central control screen.

[0056] The external memory 105 is used to store information. The external memory may be a random access memory (RAM) or other types of memory.

[0057] In the disclosed embodiment, the vehicle further includes a Controller Area Network (CAN) bus and a Local Interconnect Network (LIN) bus, wherein the vehicle domain controller and the fragrance controller are connected via the CAN bus, and the fragrance controller and the fragrance generator are connected via the LIN bus. Commands can be transmitted between electrical appliances via the above buses.

[0058] Figure 2 This is a structural block diagram of a fragrance generator provided by an embodiment of the present disclosure. Figure 2 , Figure 2The diagram shows a fragrance controller 102 and a fragrance generator 103 . The fragrance generator 103 includes a fragrance cartridge 201 and a blower 202 . The fragrance cartridge 201 includes fragrance 203 , an identification chip 204 , an internal memory 205 , an electronic switch 206 and an identification probe 207 .

[0059] The identification chip 204 is connected to the identification probe 207 . When the identification probe 207 contacts the fragrance 203 , the identification chip 204 can read the type of the fragrance 203 and store the type information in the internal memory 205 .

[0060] The internal memory 205 stores the type information and lifespan information of the fragrance bomb 201 . The type information is obtained by the identification chip 204 through the identification probe 207 , and the fragrance lifespan is written by the fragrance controller 102 when the vehicle is in sleep mode.

[0061] In one example, the internal memory 205 may be a memory in a black box.

[0062] The fragrance lifespan is also acquired by the identification probe. When the fragrance controller acquires lifespan information, it reads the information from internal memory via the identification probe. If there is no fragrance, the acquired lifespan information will be erroneous. Poor contact between the identification probe and the fragrance, or depletion of the fragrance, can also result in erroneous lifespan information.

[0063] The fragrance generator 103 also has a delivery channel for delivering the fragrance to the interior of the vehicle.

[0064] In the disclosed embodiment, the fragrance controller 102 is also used to control the electronic switch 206 of the fragrance cartridge 201 and the corresponding fan 202. The electronic switch 206 is used to control the opening and closing of the air inlet and outlet of the fragrance cartridge 201. After the user selects a fragrance type, the fragrance controller 102 controls the electronic switch 206 of the corresponding fragrance cartridge 201 to open the air inlet and outlet of the fragrance cartridge 201. The fragrance controller 102 controls the fan 202 to blow the fragrance 203 in the fragrance cartridge 201 through the air inlet. The fragrance 203 enters the vehicle interior along the delivery channel at the air outlet. Different speeds of the fan 202 correspond to different concentrations of the fragrance 203 delivered to the vehicle interior.

[0065] It is worth noting that, in the embodiment of the present disclosure, the number of the fragrance bombs 201 in the fragrance controller 103 is multiple, and the number of the corresponding fans 202 is also multiple.

[0066] Figure 3 This is a flow chart of a control method for a fragrance device provided by an embodiment of the present disclosure. Figure 3 , the method comprising:

[0067] 301. The fragrance controller obtains initial type information from the fragrance bomb and stores it in an external memory.

[0068] The initial type information includes a fragrance type field and a fragrance life field.

[0069] 302. The fragrance controller records the usage information of the fragrance bomb.

[0070] For example, the usage information includes the usage time of the fragrance bomb 201 and the concentration of the fragrance 203 delivered to the interior of the vehicle. The concentration of the fragrance 203 can be represented by the fan speed.

[0071] 303. The fragrance controller periodically obtains type information from the fragrance bomb.

[0072] The type information includes a fragrance type field and a fragrance life field.

[0073] 304. The fragrance controller determines whether the fragrance cartridge is replaced based on the acquired type information and the initial type information in the external memory.

[0074] For example, if the acquired type information is inconsistent with the fragrance type field and the fragrance life field in the initial type information, it can be determined that the fragrance bomb 201 has been replaced; otherwise, it has not been replaced.

[0075] 305. When the fragrance cartridge has not been replaced, the fragrance controller calculates the remaining service life of the fragrance cartridge based on the usage information of the fragrance cartridge.

[0076] For example, when the vehicle is started, the fragrance controller 102 obtains the initial life information from the fragrance bomb 201 and stores it in the external memory 105; the fragrance controller 102 calculates the remaining service life of the fragrance bomb 201 based on the usage information of the fragrance bomb 201 and the initial life information in the external memory 105.

[0077] The remaining service life of the fragrance bomb 201 can be accurately calculated based on the usage information and the initial service life information.

[0078] If fragrance cartridge 201 is replaced with a second fragrance cartridge, the currently recorded usage information for fragrance cartridge 201 includes usage information for both the first and second fragrance cartridges. However, the second fragrance cartridge is currently being used in the lifespan calculation for fragrance cartridge 201. If the lifespan calculation is performed directly, the remaining useful life of fragrance cartridge 201 will be incorrectly calculated. Therefore, if fragrance cartridge 201 is replaced, the original usage information for fragrance cartridge 201 is cleared upon detection of the replacement, and the usage information is re-recorded. The lifespan calculation for fragrance cartridge 201 is then performed in the next cycle. The lifespan calculation for fragrance cartridge 201 is still based on the initial lifespan information of the replaced fragrance cartridge 201 and the re-recorded usage information. Although this calculation method has errors, because the usage information is re-recorded more promptly, the error in the calculated remaining useful life is within the designed useful life margin for fragrance cartridge 201.

[0079] 306. The fragrance controller outputs the remaining service life and type information.

[0080] The type information of the fragrance cartridge 201 is obtained and compared with the initial type information to determine whether the fragrance cartridge 201 has been replaced. The type information of the fragrance cartridge 201 includes a fragrance type field and a fragrance lifespan field. The fragrance type field indicates the fragrance type of the fragrance cartridge 201, and the fragrance lifespan field indicates the lifespan of the fragrance cartridge. The combination of the fragrance type field and the fragrance lifespan field allows for not only different types of fragrance cartridges 201 to be distinguished based on the fragrance type field, but also fragrance cartridges 201 of the same type to be distinguished based on the fragrance lifespan field. If the fragrance cartridge 201 has not been replaced, the remaining service life of the fragrance cartridge 201 can be calculated based on the usage information of the fragrance cartridge 201. The remaining service life of the fragrance cartridge 201 can be output to a graphical user interface, where the type information and lifespan information of the fragrance cartridge 201 can be displayed. This method avoids lifespan calculation errors caused by replacing the fragrance cartridge 201, ensuring the accuracy of the output fragrance information.

[0081] Figure 4 Another control method for a fragrance device provided by an embodiment of the present disclosure. Figure 4 , the method comprising:

[0082] 401. In response to a wake-up instruction from the vehicle domain controller, the fragrance controller obtains initial type information and initial life information from the fragrance bomb when the vehicle is started and stores them in an external memory.

[0083] In one example, step 401 includes:

[0084] The first step is to obtain initial type information and initial life information, and store the initial type information and initial life information in an external memory.

[0085] When the user starts the vehicle, the vehicle domain controller 101 generates a wake-up command and sends the wake-up command to the fragrance controller 102. The fragrance controller 102 controls the operation of the fragrance generator 103 based on the wake-up command, and simultaneously reads the initial type information and initial life information of the fragrance bomb 201 in the fragrance generator 103, and stores the acquired initial type information and initial life information in the external memory 105.

[0086] The initial type information includes a fragrance type field and a fragrance life field. The fragrance type field is used to indicate the fragrance information of the fragrance bomb 201 , and the fragrance life field is used to indicate the life information of the fragrance bomb 201 .

[0087] It is worth noting that both fields in the type information can be a string of numbers or codes for indicating the fragrance type and life of the fragrance cartridge 201 , and the present disclosure does not impose any limitation on this.

[0088] The initial type information is used to determine whether the fragrance cartridge 201 needs to be replaced, and the initial lifespan information is used to calculate the remaining service life of the fragrance cartridge 201 .

[0089] In the embodiment of the present disclosure, before storing the initial life information in the external memory 105, it is necessary to determine that the initial life information is not an erroneous value. If it is an erroneous value, the initial life information is obtained based on the detection cycle until the correct initial life information is obtained, and then the initial life information is stored in the external memory 105.

[0090] For example, the initial lifespan information may be 20 hours, where "20 hours" refers to the length of time the fragrance bomb 201 can be used when the speed of the fan rotor 202 is the standard speed.

[0091] For example, the standard rotation speed of the fan 202 may be 50 r / min. The above standard rotation speed of the fan 202 is only an example.

[0092] For example, if the initial lifespan information obtained is FFFF, then the initial lifespan information is an incorrect value. In this case, if the initial lifespan information is used for lifespan calculation, the calculated lifespan of the fragrance cartridge 201 will be 0, making the fragrance cartridge 201 unavailable for selection in the user graphical interface. However, the incorrect initial lifespan information may be caused by poor contact between the identification probe 207 and the fragrance 203 in the fragrance cartridge 201.

[0093] In the embodiment of the present disclosure, when the acquired initial life information is abnormal, the fragrance controller 102 determines that the contact between the identification probe 207 in the fragrance bomb 201 and the fragrance 203 is poor, and the fragrance controller 102 outputs abnormal indication information.

[0094] By outputting abnormal indication information to feedback to the user that the fragrance cartridge 201 is abnormal, the problem of incorrect life of the fragrance cartridge 201 due to poor contact of the contacts can be avoided.

[0095] If the initial life information obtained multiple times still shows an error value after the abnormality of the fragrance cartridge 201 is fed back to the user, it means that the fragrance 203 in the fragrance cartridge 201 has been exhausted, and the initial life information of the fragrance cartridge 201 is set to 0.

[0096] In the embodiment of the present disclosure, the fragrance controller 102 controls the fragrance generator 103 to operate accordingly based on the fragrance type preset in the fragrance controller 102 or selected before the fragrance controller 102 goes into sleep mode.

[0097] In the disclosed embodiment, the vehicle domain controller 101 sends a wake-up command to the fragrance controller 102 via CAN.

[0098] In the embodiment of the present disclosure, the fragrance controller 102 controls the operation of the fragrance generator 103 via LIN.

[0099] The second step is to output the initial type information and initial life information.

[0100] After obtaining the initial type and lifespan information from the fragrance cartridges 201, the fragrance controller 102 sends this information to the in-vehicle infotainment system 104. The in-vehicle infotainment system 104 displays this information on a graphical user interface, providing the user with information about the type and lifespan of the multiple fragrance cartridges 201 in the fragrance generator 103. The user can then select a corresponding fragrance cartridge 201 based on the type information displayed on the graphical user interface.

[0101] It is worth noting that if the life of the fragrance cartridge 201 is 0, the fragrance cartridge 201 cannot be selected in the user graphical interface.

[0102] In one example, in response to the user selecting a fragrance type in the graphical interface, the fragrance controller 102 selects the fragrance bullet 201 corresponding to the fragrance type field in the type information and the fragrance type based on the fragrance type in the user instruction.

[0103] For example, the fragrance type selected by the user is "refreshing type", and the fragrance type field corresponding to "refreshing type" is "A", so the fragrance bomb 201 with the fragrance type field "A" is selected accordingly.

[0104] By matching the fragrance type field in the obtained fragrance type information with the fragrance type in the user instruction, the corresponding fragrance bomb 201 can be accurately found.

[0105] 402. The fragrance controller records the usage information of the fragrance bomb.

[0106] In one example, step 402 includes:

[0107] When the fragrance bomb 201 is used, the fragrance controller 102 records the usage time of the fragrance bomb 201 through a timer, and also records the time corresponding to different speeds of the fan 202.

[0108] For example, the usage information may be "the usage time of the fragrance bomb is 2 hours, wherein the rotation speed of 50 r / min corresponds to 0.5 hours, the rotation speed of 30 r / min corresponds to 1 hour, and the rotation speed of 60 r / min corresponds to 0.5 hours."

[0109] 403. The fragrance controller periodically obtains type information from the fragrance bomb, where the type information includes a fragrance type field and a fragrance lifespan field.

[0110] In one example, step 403 includes:

[0111] The fragrance controller 102 starts timing after obtaining the initial type information or the last time the type information is obtained. After the timing duration meets the detection cycle, the fragrance controller 102 obtains the type information from the fragrance bomb and restarts timing.

[0112] Exemplarily, the detection period may be 10 minutes.

[0113] The above detection period is only an example and can be changed according to actual needs.

[0114] It is worth noting that the acquired type information is used to compare whether the fragrance cartridge 201 is replaced.

[0115] 404. The fragrance controller determines whether the fragrance cartridge is replaced based on the acquired type information and the initial type information in the external memory.

[0116] In one example, step 404 includes:

[0117] The acquired type information of the fragrance cartridge 201 is compared with the fragrance type field and the fragrance life field in the initial type information to determine whether the fragrance cartridge 201 should be replaced.

[0118] In one example, the type information may be in the form of “first alphanumeric and second alphanumeric”, where the “first alphanumeric” is the fragrance type field and the “second alphanumeric” is the fragrance life field.

[0119] For example, "A 1L 180", where "A 1" is the fragrance type field, indicating that the fragrance cartridge 201 of fragrance type A is numbered 1, and "L 180" is the fragrance lifespan field, indicating that the lifespan of the fragrance cartridge 201 is 180 minutes.

[0120] For another example, "A 2L 450", the fragrance type field is "A 2", indicating that the fragrance cartridge 201 has the fragrance type A and is numbered 2; the fragrance life field is "L 450", indicating that the remaining life of the fragrance cartridge 201 is 450 minutes.

[0121] In the above manner, it is possible to determine whether the fragrance cartridge 201 has been replaced by simply comparing the fragrance type field in the fragrance cartridge 201 .

[0122] It is worth noting that, in the type information, the fragrance life field indicates the fragrance life corresponding to the last time the type information was updated, rather than the current life of the fragrance cartridge 201 .

[0123] 405. When the fragrance cartridge has not been replaced, the fragrance controller calculates the remaining service life of the fragrance cartridge based on the usage information of the fragrance cartridge.

[0124] In one example, step 405 includes:

[0125] When it is confirmed that the fragrance cartridge 201 has not been replaced, the remaining life information of the fragrance cartridge 201 is calculated based on the initial life information of the fragrance cartridge 201, the recorded usage time of the fragrance cartridge 201, and the fan speed.

[0126] For example, the initial life information represents the length of time the fragrance bomb 201 can be used at a standard speed. The obtained speed of the fan 202 and the usage time corresponding to different fan speeds are converted into the usage time at the standard speed to determine the loss time of the initial life information. The remaining usage time can be determined by deducting the loss time from the life of the fragrance bomb 201 in the initial life information.

[0127] When it is confirmed that the fragrance bomb 201 has been replaced, the type information of the fragrance bomb 201 is saved as the initial type information, and the life information is re-obtained from the fragrance bomb 201 and saved as the initial life information, and the usage information of the fragrance bomb 201 is re-recorded. When the next detection cycle is met, the type information of the fragrance bomb 201 is obtained again, and the life of the fragrance bomb 201 is calculated based on the above-mentioned re-obtained initial life information and the re-recorded usage information.

[0128] The above-mentioned method can avoid calculating an incorrect remaining service life of the fragrance cartridge 201 by using the usage information of the previous fragrance cartridge 201 and the initial service life information after the user replaces the fragrance cartridge 201 .

[0129] 406. The fragrance controller outputs the remaining service life and type information.

[0130] In one example, step 406 includes:

[0131] The remaining life information of the fragrance cartridge 201 and the fragrance information of the fragrance cartridge 201 included in the type information are sent to the in-vehicle infotainment system 104 , and the in-vehicle infotainment system 104 displays the remaining life information and the fragrance information of the fragrance cartridge 201 through a user graphical interface.

[0132] 407. In response to the sleep instruction of the vehicle domain controller, the fragrance controller updates the initial type information in the fragrance bomb.

[0133] In one example, step 407 includes:

[0134] The fragrance controller 102 updates the fragrance life field in the type information based on the remaining life;

[0135] Before the vehicle is turned off, the fragrance controller 102 uses the type information to update the initial type information in the fragrance bomb 201.

[0136] The value of the fragrance life field corresponding to the remaining service life is updated to the fragrance life field of the type information, so that the fragrance life field in the type information corresponds to the remaining service life of the fragrance bomb 201.

[0137] In another example, step 407 includes:

[0138] The first step is to obtain the type information of the fragrance bomb when the fragrance controller receives the sleep command.

[0139] In the second step, the fragrance controller determines whether the fragrance cartridge should be replaced based on the acquired type information and the initial type information.

[0140] It is worth noting that if it is determined that the fragrance cartridge 201 has been replaced, the lifespan will not be written.

[0141] In the third step, if the fragrance cartridge has not been replaced, the fragrance controller calculates the remaining service life of the fragrance cartridge based on the usage information of the fragrance cartridge and writes the remaining service life into the internal memory.

[0142] It is worth noting that when the remaining service life is written, the remaining service life will be written into the fragrance life field of the type information and the life information. The fragrance type field is updated after the recognition chip 204 obtains the fragrance type through the recognition probe 207.

[0143] The remaining service life is written into the fragrance bomb 201 through the above steps, so that the service life information of the fragrance bomb 201 can be obtained when the vehicle is started again.

[0144] In the disclosed embodiment, the fragrance cartridge 201 is designed with an extra margin in its lifespan. Therefore, when the user replaces the fragrance cartridge 201 midway, resulting in an inability to calculate the loss lifespan of the fragrance cartridge 201 and an error in the remaining service life of the fragrance cartridge 201, the error in the lifespan of the fragrance cartridge is ensured to be within a controllable range.

[0145] Figure 5 This is a logic block diagram of a fragrance device provided by an embodiment of the present disclosure during operation. Figure 5 It can be seen that the operation of the fragrance device is divided into four stages.

[0146] The first stage is the awakening stage, during which the fragrance bomb 201 is awakened and obtains information about the fragrance 203 through the identification probe 204 and the identification chip 207 .

[0147] The second stage is the information reading stage, in which the fragrance controller 102 reads the type information and the initial life information from the internal memory 205 in the fragrance bomb 201 , and stores the type information and the initial life information in the external memory 105 .

[0148] The third stage is the life calculation stage, in which the fragrance controller 102 obtains the remaining life based on the life in the external memory 105 and the recorded fragrance usage information, and stores the remaining life in the external memory 105 .

[0149] The fourth stage is the life writing stage, in which the remaining service life in the external memory 105 is written into the internal memory 205 when the vehicle is ready to go to sleep.

[0150] Figure 6 1 is a schematic diagram of the structure of a fragrance device provided by an embodiment of the present disclosure. The fragrance device can be part of or all of the fragrance controller 102. Figure 6 The device includes: an acquisition module 501, a recording module 502, a determination module 503, a processing module 504 and an output module 505.

[0151] The acquisition module 501 is used to acquire the initial type information from the fragrance bomb 201 and store it in the external memory 105 when the vehicle is started.

[0152] The recording module 502 is used to record the usage information of the fragrance bomb 201 .

[0153] The acquisition module 501 is further configured to periodically acquire type information from the fragrance bomb 201 , where the type information includes a fragrance type field and a fragrance lifespan field.

[0154] The determination module 503 is configured to determine whether the fragrance cartridge 201 has been replaced based on the acquired type information and the initial type information in the external memory 105 .

[0155] The processing module 504 is configured to calculate the remaining service life of the fragrance cartridge 201 based on the usage information of the fragrance cartridge 201 when the fragrance cartridge 201 has not been replaced.

[0156] The output module 505 is used to output the remaining service life and type information.

[0157] Optionally, the acquisition module 501 is further used to obtain initial life information from the fragrance bomb 201 when the vehicle is started and store it in the external memory 105; the processing module 504 is used to calculate the remaining service life of the fragrance bomb 201 based on the usage information of the fragrance bomb 201 and the initial life information in the external memory 105.

[0158] Optionally, the processing module 504 is further configured to update the fragrance life field in the type information based on the remaining service life; and before the vehicle is turned off, the type information is used to update the initial type information in the fragrance bomb 201 .

[0159] Optionally, the determination module 503 is further configured to determine that the contact between the identification probe 207 in the fragrance bomb 201 and the fragrance 203 is poor when the acquired initial life information is abnormal; the output module 505 is further configured to output abnormality indication information.

[0160] Optionally, the acquisition module 501 is further configured to acquire type information of the fragrance bomb 201 in response to a sleep instruction of the vehicle domain controller 101 .

[0161] The determination module 503 is further configured to determine whether the fragrance cartridge 201 should be replaced based on the acquired type information and the initial type information.

[0162] The processing module 504 is further configured to calculate the remaining service life of the fragrance cartridge 201 based on the usage information of the fragrance cartridge 201 when the fragrance cartridge 201 has not been replaced, and write the remaining service life into the internal memory 205 .

[0163] Optionally, the processing module 504 is further configured to select the fragrance bullet 201 corresponding to the fragrance type in the fragrance type field in the type information and the fragrance type based on the fragrance type in the user instruction in response to the user selecting the fragrance type.

[0164] It should be noted that the above-described embodiments of the fragrance device, when calculating fragrance lifespan, illustrate the division of the aforementioned functional modules only as an example. In actual applications, the aforementioned functions can be assigned to different functional modules as needed, i.e., the internal structure of the device can be divided into different functional modules to perform all or part of the functions described above. Furthermore, the fragrance device and the fragrance device control method embodiments provided in the above-described embodiments are based on the same concept. The specific implementation process is detailed in the method embodiments and will not be repeated here.

[0165] Figure 7 1 is a structural block diagram of a vehicle-mounted device provided by an embodiment of the present disclosure. The vehicle-mounted device may be a fragrance controller 102 , and generally includes: a processor 601 and a memory 602 .

[0166] Processor 601 may include one or more processing cores, such as a quad-core processor or an octa-core processor. Processor 501 may be implemented in at least one of the following hardware forms: a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), or a PLA (Programmable Logic Array). Processor 601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state.

[0167] Memory 602 may include one or more computer-readable storage media, which may be non-transitory. Memory 602 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in memory 602 is used to store at least one instruction, which is executed by processor 601 to implement the control method of the fragrance device provided by the vehicle-mounted device in the method embodiment of the present application.

[0168] The above description is merely an optional embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the scope of protection of the present disclosure.

Claims

1. A method for controlling a fragrance device, characterized in that: The method comprises: When the vehicle is started, the fragrance controller obtains initial type information and initial life information from the fragrance bomb and stores them in the external memory; The fragrance controller sends the initial type information and the initial life information to the in-vehicle infotainment system, and the in-vehicle infotainment system is used to display the initial type information and the initial life information through a user graphical interface; In response to the user selecting a fragrance type in the user graphical interface, the fragrance controller selects a fragrance cartridge corresponding to the fragrance type in the fragrance type field in the initial type information based on the fragrance type in the user instruction; The fragrance controller records the usage information of the fragrance bomb; The fragrance controller periodically obtains type information from the fragrance bomb, wherein the type information includes a fragrance type field and a fragrance life field, wherein the fragrance life field is used to indicate the fragrance life corresponding to the last time the type information was updated, rather than the current life; The fragrance controller compares the acquired type information with the fragrance type field and the fragrance life field in the initial type information. If the type information is inconsistent with the fragrance type field and the fragrance life field in the initial type information, the fragrance controller determines that the fragrance cartridge has been replaced; otherwise, the fragrance cartridge has not been replaced. When the fragrance cartridge has not been replaced, the fragrance controller calculates the remaining service life of the fragrance cartridge based on the usage information of the fragrance cartridge and the initial service life information; The fragrance controller outputs the remaining service life and the type information; The fragrance controller updates the fragrance life field in the type information based on the remaining service life; The fragrance controller uses the type information to update the initial type information in the fragrance bomb before the vehicle is turned off; When the fragrance cartridge is replaced, the fragrance controller saves the type information of the fragrance cartridge as the initial type information, re-acquires the life information from the fragrance cartridge and saves it as the initial life information, re-records the usage information of the fragrance cartridge, waits for the next detection cycle to be met, and re-acquires the type information of the fragrance cartridge, and calculates the life of the fragrance cartridge based on the re-acquired initial life information and the re-recorded usage information.

2. The method according to claim 1, characterized in that The method further comprises: When the acquired initial life information is abnormal, the fragrance controller determines that the contact between the identification probe in the fragrance bomb and the fragrance is poor; The fragrance controller outputs abnormal indication information.

3. The method according to claim 1, characterized in that The method further comprises: The fragrance controller obtains the type information of the fragrance bomb when receiving the sleep instruction from the vehicle domain controller; The fragrance controller determines whether the fragrance cartridge should be replaced based on the acquired type information and the initial type information; When the fragrance cartridge has not been replaced, the fragrance controller calculates the remaining service life of the fragrance cartridge based on usage information of the fragrance cartridge and writes the remaining service life into an internal memory.

4. A fragrance device, characterized in that: The device comprises: an acquisition module configured to acquire initial type information and initial life information from a fragrance cartridge when the vehicle is started and store the information in an external memory; transmit the initial type information and the initial life information to an in-vehicle infotainment system, wherein the in-vehicle infotainment system is configured to display the initial type information and the initial life information via a graphical user interface; and in response to a user selecting a fragrance type on the graphical user interface, select a fragrance cartridge corresponding to the fragrance type in the fragrance type field in the initial type information based on the fragrance type in the user instruction; A recording module, used to record the usage information of the fragrance bomb; The acquisition module is further configured to periodically acquire type information from the fragrance bomb, wherein the type information includes a fragrance type field and a fragrance life field, wherein the fragrance life field is configured to indicate the fragrance life corresponding to the last time the type information was updated, rather than the current life; a determination module, configured to compare the acquired type information with the fragrance type field and the fragrance life field in the initial type information; if the type information is inconsistent with the fragrance type field and the fragrance life field in the initial type information, the fragrance controller determines that the fragrance cartridge has been replaced; otherwise, the fragrance cartridge has not been replaced; a processing module, configured to calculate the remaining service life of the fragrance cartridge based on the usage information of the fragrance cartridge and the initial service life information when the fragrance cartridge has not been replaced; an output module, configured to output the remaining service life and the type information; The processing module is further configured to update the fragrance life field in the type information based on the remaining service life; and to update the initial type information in the fragrance bomb using the type information before the vehicle is turned off; The processing module is further configured to, when the fragrance cartridge is replaced, save the type information of the fragrance cartridge as the initial type information, re-acquire the lifespan information from the fragrance cartridge and save it as the initial lifespan information, re-record the usage information of the fragrance cartridge, wait for the next detection cycle to be met, re-acquire the type information of the fragrance cartridge, and calculate the lifespan of the fragrance cartridge based on the re-acquired initial lifespan information and the re-recorded usage information.

5. A vehicle-mounted device, characterized in that: The vehicle-mounted equipment includes the device according to claim 4.

6. A computer-readable storage medium, characterized in that At least one program code is stored in the computer-readable storage medium, and the program code is loaded and executed by a processor to implement the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Processing method of fragrance system, fragrance system, vehicle and readable storage medium

    CN116373557A