Control method, control device and equipment of vehicle-mounted cosmetic mirror and medium
Patent Information
- Application Number
- CN202411317377.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2024-11-26
Smart Images

Figure CN119018029A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to a control method, a control device, a device and a medium for a vehicle-mounted vanity mirror. Background Art
[0002] At present, most vehicles are equipped with small mirrors in the sun visors to facilitate drivers or passengers to do simple makeup or grooming while driving, meeting the user's needs.
[0003] However, with the development of vehicle technology, users have more and more demands for in-vehicle functions. Traditional in-vehicle makeup mirrors can only form an image of the user's face by reflecting light, which is far from meeting users' demands for intelligent in-vehicle makeup mirrors. Summary of the invention
[0004] In view of this, the purpose of this application is to provide a control method, control device, equipment and medium for a vehicle-mounted makeup mirror, which collects facial images through a camera and displays them on a liquid crystal display module to make the imaging clearer. At the same time, real-time external environment data is obtained through vehicle-mounted sensors, and the most suitable skin care recommendation information for the current environment is determined based on the external environment data and the skin care recommendation mode set by the user, which not only improves the practicality of the vehicle-mounted makeup mirror, but also improves the user experience.
[0005] In a first aspect, an embodiment of the present application provides a control method for a vehicle-mounted vanity mirror, the control method being applied to a vehicle-mounted controller, the control method comprising:
[0006] When it is detected that the current mode of the vehicle-mounted makeup mirror is the beauty makeup mirror mode and the vehicle-mounted makeup mirror is in the on-state, a face image captured by a camera arranged above the vehicle-mounted makeup mirror is acquired, and the face image is displayed on a liquid crystal display module of the vehicle-mounted makeup mirror;
[0007] Obtain external environment data detected by the vehicle-mounted sensor and determine the skin care recommendation mode currently set by the user;
[0008] The current environment value is calculated according to the skin care advice mode and the external environment data, corresponding skin care advice information is determined based on the current environment value and the skin care advice mode, and the skin care advice information is displayed on the liquid crystal display module.
[0009] Furthermore, the vehicle-mounted sensor includes an ultraviolet sensor, an air quality sensor, and a temperature and humidity sensor, and the current environmental value is calculated according to the skin care recommendation mode and the external environmental data, including:
[0010] Determine a first weight corresponding to the ultraviolet sensor, a second weight corresponding to the air quality sensor, and a third weight corresponding to the temperature and humidity sensor based on the skin care advice mode;
[0011] Calculate a first environmental value based on the historical ultraviolet intensity detected by the ultraviolet sensor, the current ultraviolet intensity, the smoothing weight value, and the first weight;
[0012] Acquire an air quality fitting curve, and calculate a second environment value based on a fitting straight line slope of the air quality fitting curve, a fitting straight line parameter of the fitting straight line slope, a current air quality index detected by the air quality sensor, and the second weight; wherein the air quality fitting curve is obtained by fitting a historical air quality index detected by the air quality sensor in a historical time period;
[0013] Acquire multiple temperature and humidity values collected by the temperature and humidity sensor in a current collection period, and calculate a third environment value based on the multiple temperature and humidity values and the third weight;
[0014] The sum of the first environmental value, the second environmental value and the third environmental value is determined as the current environmental value.
[0015] Furthermore, the control method further includes:
[0016] The current ultraviolet intensity, the current air quality index and the current temperature and humidity values collected by the temperature and humidity sensor are displayed on the liquid crystal display module.
[0017] Furthermore, the control method further includes:
[0018] Acquire the light intensity inside the vehicle collected by the vehicle-mounted light sensor in real time, and determine whether the light intensity inside the vehicle is less than or equal to the light intensity threshold;
[0019] If so, the fill light installed on the vehicle-mounted vanity mirror is controlled to turn on.
[0020] Furthermore, after controlling the fill light installed on the vehicle-mounted vanity mirror to turn on, the control method further includes:
[0021] Acquire in real time the current distance between the user and the vehicle-mounted vanity mirror detected by a distance sensor disposed on the vehicle-mounted vanity mirror;
[0022] When it is detected that the current distance is less than or equal to the distance threshold, reducing the brightness of the fill light;
[0023] When it is detected that the current distance is greater than the distance threshold, the brightness of the fill light is enhanced.
[0024] Furthermore, the control method further includes:
[0025] When it is detected that the current mode of the vehicle-mounted makeup mirror is the sunscreen detection mode, the ultraviolet camera arranged above the vehicle-mounted makeup mirror is turned on, and the ultraviolet spectrum image of the face collected by the ultraviolet camera is displayed on the liquid crystal display module, so that the user can judge the application condition of the sunscreen through the ultraviolet spectrum image of the face.
[0026] In a second aspect, an embodiment of the present application further provides a control device for a vehicle-mounted vanity mirror, the control device being applied to a vehicle-mounted controller, the control device comprising:
[0027] a first display module, configured to, when detecting that the current mode of the vehicle-mounted vanity mirror is a beauty mirror mode and the vehicle-mounted vanity mirror is in an on-state, obtain a face image captured by a camera disposed above the vehicle-mounted vanity mirror, and display the face image on a liquid crystal display module of the vehicle-mounted vanity mirror;
[0028] A data acquisition module, used to acquire external environment data detected by the vehicle-mounted sensor and determine the skin care recommendation mode currently set by the user;
[0029] The second display module is used to calculate the current environment value according to the skin care advice mode and the external environment data, determine the corresponding skin care advice information based on the current environment value and the skin care advice mode, and display the skin care advice information on the liquid crystal display module.
[0030] Furthermore, the vehicle-mounted sensor includes an ultraviolet sensor, an air quality sensor, and a temperature and humidity sensor. When the second display module is used to calculate the current environmental value according to the skin care recommendation mode and the external environmental data, the second display module is also used to:
[0031] Determine a first weight corresponding to the ultraviolet sensor, a second weight corresponding to the air quality sensor, and a third weight corresponding to the temperature and humidity sensor based on the skin care advice mode;
[0032] Calculate a first environmental value based on the historical ultraviolet intensity detected by the ultraviolet sensor, the current ultraviolet intensity, the smoothing weight value, and the first weight;
[0033] Acquire an air quality fitting curve, and calculate a second environment value based on a fitting straight line slope of the air quality fitting curve, a fitting straight line parameter of the fitting straight line slope, a current air quality index detected by the air quality sensor, and the second weight; wherein the air quality fitting curve is obtained by fitting a historical air quality index detected by the air quality sensor in a historical time period;
[0034] Acquire multiple temperature and humidity values collected by the temperature and humidity sensor in a current collection period, and calculate a third environment value based on the multiple temperature and humidity values and the third weight;
[0035] The sum of the first environmental value, the second environmental value and the third environmental value is determined as the current environmental value.
[0036] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the control method of the vehicle-mounted makeup mirror as described above are performed.
[0037] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the control method of the vehicle-mounted makeup mirror as described above are executed.
[0038] The embodiment of the present application provides a control method, control device, equipment and medium for a vehicle-mounted vanity mirror. First, when it is detected that the current mode of the vehicle-mounted vanity mirror is a beauty mirror mode and the vehicle-mounted vanity mirror is in an on-state, a face image captured by a camera arranged above the vehicle-mounted vanity mirror is obtained, and the face image is displayed on a liquid crystal display module of the vehicle-mounted vanity mirror; then, the external environment data detected by the vehicle-mounted sensor is obtained, and the skin care suggestion mode currently set by the user is determined; the current environment value is calculated according to the skin care suggestion mode and the external environment data, and the corresponding skin care suggestion information is determined based on the current environment value and the skin care suggestion mode, and the skin care suggestion information is displayed on the liquid crystal display module. The vehicle-mounted vanity mirror provided by the present application can replace the traditional vanity mirror, and the face image is collected by the camera and displayed on the liquid crystal display module, so that the image is clearer. At the same time, the real-time external environment data is obtained by the vehicle-mounted sensor, and the most suitable skin care suggestion information in the current environment is determined according to the external environment data and the skin care suggestion mode set by the user, which not only improves the practicality of the vehicle-mounted vanity mirror, but also improves the user experience.
[0039] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 A flow chart of a control method for a vehicle-mounted vanity mirror provided in an embodiment of the present application;
[0042] Figure 2 This is one of the structural schematic diagrams of a control device for a vehicle-mounted vanity mirror provided in an embodiment of the present application;
[0043] Figure 3 The second structural schematic diagram of a control device for a vehicle-mounted vanity mirror provided in an embodiment of the present application;
[0044] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0046] First, the application scenarios to which the present application is applicable are introduced. The present application can be applied in the field of automotive technology.
[0047] At present, most vehicles are equipped with small mirrors in the sun visors to facilitate drivers or passengers to do simple makeup or grooming while driving, meeting the user's needs.
[0048] However, with the development of vehicle technology, users have more and more demands for in-vehicle functions. Traditional in-vehicle makeup mirrors can only form an image of the user's face by reflecting light, which is far from meeting users' demands for intelligent in-vehicle makeup mirrors.
[0049] Based on this, an embodiment of the present application provides a control method for a vehicle-mounted makeup mirror, which not only improves the practicality of the vehicle-mounted makeup mirror, but also improves the user experience.
[0050] See also Figure 1 , Figure 1 This is a flow chart of a control method for a vehicle-mounted vanity mirror provided in an embodiment of the present application. Figure 1 As shown in , the control method provided by the embodiment of the present application includes:
[0051] S101, when it is detected that the current mode of the vehicle-mounted makeup mirror is the beauty mirror mode and the vehicle-mounted makeup mirror is in an on state, a face image captured by a camera arranged above the vehicle-mounted makeup mirror is obtained, and the face image is displayed on a liquid crystal display module of the vehicle-mounted makeup mirror.
[0052] For the above step S101, in the specific implementation, the user can select the current mode of the vehicle-mounted makeup mirror through the function button on the vehicle-mounted makeup mirror or the vehicle-mounted central console or the user terminal. When it is detected that the current mode of the vehicle-mounted makeup mirror is the beauty mirror mode and the vehicle-mounted makeup mirror is in the on state, the face image captured by the camera set above the vehicle-mounted makeup mirror is obtained, and the face image is displayed on the liquid crystal display module of the vehicle-mounted makeup mirror. Here, specifically, the liquid crystal display module can select a TFT liquid crystal display module. As an optional embodiment, the liquid crystal display module can also use an active anti-peeping backlight, which can reduce energy consumption, improve display effects, and achieve an anti-peeping effect. The active anti-peeping function can be turned on and off manually by the user. For the vehicle-mounted controller, when it is detected that the active anti-peeping switch is turned on, the anti-peeping function of the liquid crystal display module is turned on. In this way, in the beauty mirror mode, a high-definition facial image of the user is displayed on the liquid crystal display module.
[0053] S102, obtaining external environment data detected by the vehicle-mounted sensor, and determining the skin care recommendation mode currently set by the user.
[0054] Here, the user can manually select a skin care suggestion mode, and the same outdoor environment will generate different skin care suggestion information according to the skin care suggestion mode selected by the user. Specifically, according to the embodiment provided by the present application, the skin care suggestion mode may include a comfort mode, a light sun protection mode, and a heavy sun protection mode.
[0055] Regarding the above step S102, during the specific implementation, the external environment data detected by the vehicle-mounted sensor is obtained, and the skin care recommendation mode currently set by the user is determined.
[0056] S103, calculating the current environment value according to the skin care advice mode and the external environment data, determining corresponding skin care advice information based on the current environment value and the skin care advice mode, and displaying the skin care advice information on the liquid crystal display module.
[0057] In the above step S103, in the specific implementation, the current environment value is calculated according to the skin care suggestion mode selected by the user and the external environment data collected by the vehicle-mounted sensor. The corresponding skin care suggestion information is determined based on the current environment value and the selected skin care suggestion mode, and the skin care suggestion information is displayed on the liquid crystal display module. In this way, the user can intuitively see the current skin care suggestions through the vehicle-mounted makeup mirror, which enhances the user's experience.
[0058] Specifically, the vehicle-mounted sensors include ultraviolet sensors, air quality sensors, and temperature and humidity sensors. With respect to the above step S103, the current environmental value is calculated according to the skin care recommendation mode and the external environmental data, including:
[0059] Step 1031, determining a first weight corresponding to the ultraviolet sensor, a second weight corresponding to the air quality sensor, and a third weight corresponding to the temperature and humidity sensor based on the skin care recommendation mode.
[0060] Specifically, the vehicle-mounted sensor in the same skin care recommendation mode will use different weight values. Regarding the above step 1031, in specific implementation, the first weight λ corresponding to the ultraviolet sensor is determined based on the skin care recommendation mode selected by the user. 1 , the second weight λ corresponding to the air quality sensor 2 And the third weight λ corresponding to the temperature and humidity sensor 3 The relationship between the total weight value is: 1 +λ 2 +λ 3 = 1. For example, when the skin care recommendation mode is the comfort mode, you do not want the sun protection measures to be too strict, so you need to use a lower λ 1 , the corresponding λ 2 , 3 The value of can be appropriately increased to make the skin care suggestions given reach a comfortable level. Different on-board sensors will use different weight values in different skin care suggestion modes to give more reasonable skin care suggestions.
[0061] Step 1032: Calculate a first environmental value based on the historical ultraviolet intensity detected by the ultraviolet sensor, the current ultraviolet intensity, the smoothing weight value, and the first weight.
[0062] For the above step 1032, in specific implementation, the first environment value is calculated based on the historical ultraviolet intensity detected by the ultraviolet sensor, the current ultraviolet intensity detected by the ultraviolet sensor, the smoothing weight value of the ultraviolet sensor, and the first weight of the ultraviolet sensor. Specifically, the first environment value is calculated by the following formula:
[0063] A=λ 1 {z 1 *(1-α)+z 2 *α)}
[0064] Among them, z 1 represents the historical UV intensity, z 2 Indicates the current ultraviolet intensity, α indicates the smoothing weight value of the ultraviolet sensor, which needs to be obtained based on the calibration of ultraviolet sensors of different brands, and A indicates the first environment value.
[0065] Step 1033, obtaining an air quality fitting curve, and calculating a second environment value based on the fitting line slope of the air quality fitting curve, the fitting line parameter of the fitting line slope, the current air quality index detected by the air quality sensor, and the second weight.
[0066] For the above step 1033, in the specific implementation, an air quality fitting curve is obtained, where the air quality fitting curve is obtained by fitting the historical air quality index detected by the air quality sensor in the historical time period. The second environment value is calculated based on the slope of the fitting line of the air quality fitting curve, the fitting line parameter of the slope of the fitting line, the current air quality index detected by the air quality sensor, and the second weight. Specifically, the second environment value is calculated by the following formula:
[0067] B=λ 2 (kx+b)
[0068] Among them, k represents the fitting straight line slope of the air quality fitting curve, b represents the fitting straight line parameter of the fitting straight line slope, x represents the current air quality index detected by the air quality sensor, and B represents the second environment value.
[0069] Step 1034, obtaining multiple temperature and humidity values collected by the temperature and humidity sensor in the current collection period, and calculating a third environment value based on the multiple temperature and humidity values and the third weight.
[0070] For the above step 1034, in the specific implementation, multiple temperature and humidity values collected by the temperature and humidity sensor in the current collection period are obtained. Here, the current collection period can be one hour, which is not specifically limited in this application. Then, the third environment value is calculated based on the multiple temperature and humidity values and the third weight. Specifically, the third environment value is calculated by the following formula:
[0071] C=λ 3 {(x 1 +x 2 +…+x n ) / n}
[0072] Among them, x 1 …x n It represents the n temperature and humidity values collected by the temperature and humidity sensor in the current collection cycle, where n represents the number of collections in one collection cycle, and C represents the third environment value.
[0073] Step 1035: determine the sum of the first environment value, the second environment value and the third environment value as the current environment value.
[0074] Regarding the above step 1035, in a specific implementation, the first environment value, the second environment value and the third environment value are summed to obtain the current environment value.
[0075] In this way, according to the above steps 1031-1035, the outputs of the three vehicle-mounted sensors can be integrated. By selecting different skin care recommendation modes and passing in different weight values, different current environmental values can be obtained. Then, the corresponding skin care recommendation information is determined based on the calculated current environmental value and the skin care recommendation mode selected by the user, and skin care recommendations suitable for the current weather are given.
[0076] Here, as an example, when the skin care recommendation mode selected by the user is the comfort mode and the calculated current environment value is a1, the skin care recommendation information given is: Sun protection factor of sunscreen: Select a sunscreen with SPF 30-50+, and ensure that the product has a PA+++ rating to fully protect against UVA and UVB. Physical sun protection: Wear a wide-brimmed hat with a brim large enough to cover the face and neck. Use sunglasses to protect the eyes and skin around the eyes. Wear long-sleeved clothes and long pants, or use sun-protective clothing to reduce direct exposure of the skin to the sun. Air quality and temperature and humidity: Due to good air quality and low humidity, the skin is not easy to feel stuffy, but it is still necessary to pay attention to hydration and use moisturizing spray or lotion to keep the skin hydrated. Given the suitable temperature, you can choose sun-protective clothing with good breathability to avoid excessive stuffiness.
[0077] When the skin care recommendation mode selected by the user is the mild sun protection mode and the calculated current environment value is a2, the skin care recommendation information given is: Sun protection index of sunscreen: It is still recommended to use high-power sunscreen with SPF 50+ and PA+++ to ensure that the skin is fully protected during long-term outdoor activities. Physical sun protection: On the basis of the skin comfort mode, you can add sun protection measures, such as wearing sun protection gloves to protect your hands and using sun umbrellas to reduce the ultraviolet exposure of the whole body skin. Carry sunscreen and reapply at any time, especially after sweating or swimming. Air quality and temperature and humidity: Considering the suitable temperature, you can continue to keep the skin moisturized and use refreshing moisturizing products. Due to the low humidity, pay attention to avoid excessive dryness of the skin. You can carry a moisturizing spray with you to replenish water at any time.
[0078] When the skin care recommendation mode selected by the user is the heavy sun protection mode and the calculated current environment value is a3, the skin care recommendation information given is: Sun protection index of sunscreen: Choose top sunscreen with SPF 50+ and PA++++ to ensure the strongest UV protection. Waterproof, sweat-proof and friction-resistant sunscreens are preferred, which are suitable for long-term outdoor activities or strenuous exercise. Physical sun protection: All-round physical shielding, including wide-brimmed hats, sunglasses, sun-proof clothing, sun-proof gloves, sun-proof umbrellas, etc., to ensure that no inch of skin is exposed to UV rays. When engaging in long-term outdoor activities, it is recommended to reapply sunscreen every two hours to ensure continuous protection. Air quality and temperature and humidity: Although you don’t care about the feeling of your skin, you still need to pay attention to maintaining basic comfort of your skin and avoid excessive dryness or stuffiness. While providing high sun protection, you can choose sunscreen containing antioxidants or soothing ingredients to further protect your skin health.
[0079] As an optional embodiment, the control method provided in the present application also includes:
[0080] The current ultraviolet intensity, the current air quality index and the current temperature and humidity values collected by the temperature and humidity sensor are displayed on the liquid crystal display module.
[0081] Regarding the above steps, during the specific implementation, in the beauty mirror mode, the real-time temperature and humidity values, air quality index and ultraviolet intensity will be superimposed and displayed on the car-mounted beauty mirror to ensure that the user can quickly and intuitively understand the current weather conditions.
[0082] As an optional embodiment, the control method provided in the present application also includes:
[0083] The light intensity inside the vehicle collected by the vehicle-mounted light sensor is obtained in real time, and it is determined whether the light intensity inside the vehicle is less than or equal to a light intensity threshold; if so, the fill light installed on the vehicle-mounted vanity mirror is controlled to turn on.
[0084] Specifically, the car makeup mirror is also provided with a fill light to provide light to the user when the light in the car is insufficient, so as to ensure the clarity of the face image displayed in the car makeup mirror. For the above two steps, in the specific implementation, the light intensity in the car collected by the car light sensor is obtained in real time, and it is determined whether the light intensity in the car is less than or equal to the light intensity threshold. When the light intensity in the car is less than or equal to the light intensity threshold, the fill light installed on the car makeup mirror is controlled to turn on.
[0085] As an optional embodiment, after controlling the fill light installed on the vehicle-mounted vanity mirror to turn on, the control method further includes:
[0086] The current distance between the user and the vehicle-mounted vanity mirror detected by a distance sensor arranged on the vehicle-mounted vanity mirror is acquired in real time; when it is detected that the current distance is less than or equal to a distance threshold, the brightness of the fill light is reduced; when it is detected that the current distance is greater than the distance threshold, the brightness of the fill light is increased.
[0087] Here, the distance sensor is used to detect the distance between the user's face and the vehicle-mounted vanity mirror. In the above steps, when the distance sensor set on the vehicle-mounted vanity mirror is implemented, the current distance between the user and the vehicle-mounted vanity mirror is obtained in real time, and the distance threshold is set to be linked with the fill light. Specifically, when it is detected that the current distance is less than or equal to the distance threshold, the brightness of the fill light is reduced; when it is detected that the current distance is greater than the distance threshold, the brightness of the fill light is increased.
[0088] As an optional embodiment, the control method provided in the present application also includes:
[0089] When it is detected that the current mode of the vehicle-mounted makeup mirror is the sunscreen detection mode, the ultraviolet camera arranged above the vehicle-mounted makeup mirror is turned on, and the ultraviolet spectrum image of the face collected by the ultraviolet camera is displayed on the liquid crystal display module, so that the user can judge the application condition of the sunscreen through the ultraviolet spectrum image of the face.
[0090] Here, the sunscreen detection mode can detect the application of sunscreen by the user through the ultraviolet camera. In the ultraviolet camera called in this mode, the sunscreen will appear black under the ultraviolet camera, and the picture collected by the ultraviolet camera will be displayed on the liquid crystal display module, which the user can use to judge the application of sunscreen. With respect to the above steps, in the specific implementation, when it is detected that the current mode of the car makeup mirror selected by the user is the sunscreen detection mode, the ultraviolet camera set above the car makeup mirror is turned on, and the ultraviolet spectrum image of the face collected by the ultraviolet camera is displayed on the liquid crystal display module, so that the user can judge the application of sunscreen by observing the ultraviolet spectrum image of the face.
[0091] The control method provided in the embodiment of the present application is applied to a vehicle controller. First, when it is detected that the current mode of the vehicle-mounted makeup mirror is the beauty mirror mode and the vehicle-mounted makeup mirror is in the on-state, a face image captured by a camera arranged above the vehicle-mounted makeup mirror is obtained, and the face image is displayed on the liquid crystal display module of the vehicle-mounted makeup mirror; then, the external environment data detected by the vehicle-mounted sensor is obtained, and the skin care suggestion mode currently set by the user is determined; the current environment value is calculated according to the skin care suggestion mode and the external environment data, and the corresponding skin care suggestion information is determined based on the current environment value and the skin care suggestion mode, and the skin care suggestion information is displayed on the liquid crystal display module. The vehicle-mounted makeup mirror provided in the present application can replace the traditional makeup mirror, and the face image is collected by the camera and displayed on the liquid crystal display module, so that the imaging is clearer. At the same time, the real-time external environment data is obtained by the vehicle-mounted sensor, and the most suitable skin care suggestion information in the current environment is determined according to the external environment data and the skin care suggestion mode set by the user, which not only improves the practicality of the vehicle-mounted makeup mirror, but also improves the user experience.
[0092] See also Figure 2 , Figure 3 , Figure 2 This is one of the structural schematic diagrams of a control device for a vehicle-mounted vanity mirror provided in an embodiment of the present application. Figure 3 This is a second structural diagram of a control device for a vehicle-mounted vanity mirror provided in an embodiment of the present application. Figure 2 As shown in , the control device 200 includes:
[0093] The first display module 201 is used to obtain a face image captured by a camera arranged above the vehicle-mounted vanity mirror when it is detected that the current mode of the vehicle-mounted vanity mirror is a beauty mirror mode and the vehicle-mounted vanity mirror is in an on state, and display the face image on a liquid crystal display module of the vehicle-mounted vanity mirror;
[0094] The data acquisition module 202 is used to acquire the external environment data detected by the vehicle-mounted sensor and determine the skin care recommendation mode currently set by the user;
[0095] The second display module 203 is used to calculate the current environment value according to the skin care advice mode and the external environment data, determine the corresponding skin care advice information based on the current environment value and the skin care advice mode, and display the skin care advice information on the liquid crystal display module.
[0096] Furthermore, the vehicle-mounted sensor includes an ultraviolet sensor, an air quality sensor, and a temperature and humidity sensor. When the second display module 203 is used to calculate the current environment value according to the skin care recommendation mode and the external environment data, the second display module 203 is also used to:
[0097] Determine a first weight corresponding to the ultraviolet sensor, a second weight corresponding to the air quality sensor, and a third weight corresponding to the temperature and humidity sensor based on the skin care advice mode;
[0098] Calculate a first environmental value based on the historical ultraviolet intensity detected by the ultraviolet sensor, the current ultraviolet intensity, the smoothing weight value, and the first weight;
[0099] Acquire an air quality fitting curve, and calculate a second environment value based on a fitting straight line slope of the air quality fitting curve, a fitting straight line parameter of the fitting straight line slope, a current air quality index detected by the air quality sensor, and the second weight; wherein the air quality fitting curve is obtained by fitting a historical air quality index detected by the air quality sensor in a historical time period;
[0100] Acquire multiple temperature and humidity values collected by the temperature and humidity sensor in a current collection period, and calculate a third environment value based on the multiple temperature and humidity values and the third weight;
[0101] The sum of the first environmental value, the second environmental value and the third environmental value is determined as the current environmental value.
[0102] See also Figure 3 The control device 200 further includes a third display module 204, and the third display module 204 is used to:
[0103] The current ultraviolet intensity, the current air quality index and the current temperature and humidity values collected by the temperature and humidity sensor are displayed on the liquid crystal display module.
[0104] See also Figure 3 The control device 200 further includes a fill light control module 205, and the fill light control module 205 is used to:
[0105] Acquire the light intensity inside the vehicle collected by the vehicle-mounted light sensor in real time, and determine whether the light intensity inside the vehicle is less than or equal to the light intensity threshold;
[0106] If so, the fill light installed on the vehicle-mounted vanity mirror is controlled to turn on.
[0107] Further, after the fill light installed on the vehicle-mounted vanity mirror is controlled to be turned on, the fill light control module 205 is further used to:
[0108] Acquire in real time the current distance between the user and the vehicle-mounted vanity mirror detected by a distance sensor disposed on the vehicle-mounted vanity mirror;
[0109] When it is detected that the current distance is less than or equal to the distance threshold, reducing the brightness of the fill light;
[0110] When it is detected that the current distance is greater than the distance threshold, the brightness of the fill light is enhanced.
[0111] Furthermore, the control device 200 further includes a sunscreen detection module 206, and the sunscreen detection module 206 is used to:
[0112] When it is detected that the current mode of the vehicle-mounted makeup mirror is the sunscreen detection mode, the ultraviolet camera arranged above the vehicle-mounted makeup mirror is turned on, and the ultraviolet spectrum image of the face collected by the ultraviolet camera is displayed on the liquid crystal display module, so that the user can judge the application condition of the sunscreen through the ultraviolet spectrum image of the face.
[0113] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 4 As shown in , the electronic device 400 includes a processor 410 , a memory 420 and a bus 430 .
[0114] The memory 420 stores machine-readable instructions executable by the processor 410. When the electronic device 400 is running, the processor 410 communicates with the memory 420 via the bus 430. When the machine-readable instructions are executed by the processor 410, the above-mentioned Figure 1 The steps of the method for controlling the vehicle-mounted vanity mirror in the method embodiment shown in the figure, and the specific implementation manner can be referred to the method embodiment, which will not be repeated here.
[0115] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 The steps of the method for controlling the vehicle-mounted vanity mirror in the method embodiment shown in the figure, and the specific implementation manner can be referred to the method embodiment, which will not be repeated here.
[0116] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0117] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0118] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0119] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0120] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0121] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A control method for a vehicle-mounted vanity mirror, characterized in that: The control method is applied to a vehicle-mounted controller, and the control method includes: When it is detected that the current mode of the vehicle-mounted makeup mirror is the beauty makeup mirror mode and the vehicle-mounted makeup mirror is in the on-state, a face image captured by a camera arranged above the vehicle-mounted makeup mirror is acquired, and the face image is displayed on a liquid crystal display module of the vehicle-mounted makeup mirror; Obtain external environment data detected by the vehicle-mounted sensor and determine the skin care recommendation mode currently set by the user; The current environment value is calculated according to the skin care advice mode and the external environment data, corresponding skin care advice information is determined based on the current environment value and the skin care advice mode, and the skin care advice information is displayed on the liquid crystal display module.
2. The control method according to claim 1, characterized in that: The vehicle-mounted sensor includes an ultraviolet sensor, an air quality sensor, and a temperature and humidity sensor, and the current environmental value is calculated according to the skin care recommendation mode and the external environmental data, including: Determine a first weight corresponding to the ultraviolet sensor, a second weight corresponding to the air quality sensor, and a third weight corresponding to the temperature and humidity sensor based on the skin care advice mode; Calculate a first environmental value based on the historical ultraviolet intensity detected by the ultraviolet sensor, the current ultraviolet intensity, the smoothing weight value, and the first weight; Acquire an air quality fitting curve, and calculate a second environment value based on a fitting straight line slope of the air quality fitting curve, a fitting straight line parameter of the fitting straight line slope, a current air quality index detected by the air quality sensor, and the second weight; wherein the air quality fitting curve is obtained by fitting a historical air quality index detected by the air quality sensor in a historical time period; Acquire multiple temperature and humidity values collected by the temperature and humidity sensor in a current collection period, and calculate a third environment value based on the multiple temperature and humidity values and the third weight; The sum of the first environmental value, the second environmental value and the third environmental value is determined as the current environmental value.
3. The control method according to claim 2, characterized in that: The control method further comprises: The current ultraviolet intensity, the current air quality index and the current temperature and humidity values collected by the temperature and humidity sensor are displayed on the liquid crystal display module.
4. The control method according to claim 1, characterized in that: The control method further comprises: Acquire the light intensity inside the vehicle collected by the vehicle-mounted light sensor in real time, and determine whether the light intensity inside the vehicle is less than or equal to the light intensity threshold; If so, the fill light installed on the vehicle-mounted makeup mirror is controlled to turn on.
5. The control method according to claim 4, characterized in that: After the control of turning on the fill light installed on the vehicle-mounted vanity mirror, the control method further includes: Acquire in real time the current distance between the user and the vehicle-mounted vanity mirror detected by a distance sensor disposed on the vehicle-mounted vanity mirror; When it is detected that the current distance is less than or equal to the distance threshold, reducing the brightness of the fill light; When it is detected that the current distance is greater than the distance threshold, the brightness of the fill light is enhanced.
6. The control method according to claim 1, characterized in that: The control method further comprises: When it is detected that the current mode of the vehicle-mounted makeup mirror is the sunscreen detection mode, the ultraviolet camera arranged above the vehicle-mounted makeup mirror is turned on, and the ultraviolet spectrum image of the face collected by the ultraviolet camera is displayed on the liquid crystal display module, so that the user can judge the application condition of the sunscreen through the ultraviolet spectrum image of the face.
7. A control device for a vehicle-mounted vanity mirror, characterized in that: The control device is applied to a vehicle-mounted controller, and the control device comprises: a first display module, configured to, when detecting that the current mode of the vehicle-mounted vanity mirror is a beauty mirror mode and the vehicle-mounted vanity mirror is in an on-state, obtain a face image captured by a camera disposed above the vehicle-mounted vanity mirror, and display the face image on a liquid crystal display module of the vehicle-mounted vanity mirror; A data acquisition module, used to acquire external environment data detected by the vehicle-mounted sensor and determine the skin care recommendation mode currently set by the user; The second display module is used to calculate the current environment value according to the skin care advice mode and the external environment data, determine the corresponding skin care advice information based on the current environment value and the skin care advice mode, and display the skin care advice information on the liquid crystal display module.
8. The control device according to claim 7, characterized in that: The vehicle-mounted sensor includes an ultraviolet sensor, an air quality sensor, and a temperature and humidity sensor. When the second display module is used to calculate the current environment value according to the skin care recommendation mode and the external environment data, the second display module is also used to: Determine a first weight corresponding to the ultraviolet sensor, a second weight corresponding to the air quality sensor, and a third weight corresponding to the temperature and humidity sensor based on the skin care advice mode; Calculate a first environmental value based on the historical ultraviolet intensity detected by the ultraviolet sensor, the current ultraviolet intensity, the smoothing weight value, and the first weight; Acquire an air quality fitting curve, and calculate a second environment value based on a fitting straight line slope of the air quality fitting curve, a fitting straight line parameter of the fitting straight line slope, a current air quality index detected by the air quality sensor, and the second weight; wherein the air quality fitting curve is obtained by fitting a historical air quality index detected by the air quality sensor in a historical time period; Acquire multiple temperature and humidity values collected by the temperature and humidity sensor in a current collection period, and calculate a third environment value based on the multiple temperature and humidity values and the third weight; The sum of the first environmental value, the second environmental value and the third environmental value is determined as the current environmental value.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the control method of the vehicle-mounted makeup mirror as described in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the control method of the vehicle-mounted vanity mirror according to any one of claims 1 to 6 are executed.
