In-vehicle theme mode determination method and apparatus, and device, storage medium and vehicle
When a mobile service fails in a vehicle, the system uses a location information callback function to determine the current location and calculate sunrise and sunset times, automatically adjusting the in-vehicle theme mode. This solves the problem of low flexibility when users manually adjust the settings, improving driving safety and intelligence.
Patent Information
- Application Number
- PCT/CN2025/098903
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-27
- Filing Date
- 2025-06-03
- Publication Date
- 2026-01-02
AI Technical Summary
Existing vehicles require users to manually adjust the in-vehicle theme mode when used at night, which is inflexible and cannot meet user needs.
In response to mobile service failures, the system uses a pre-defined location information callback function to determine the vehicle's current location, calculates sunrise and sunset times, and automatically adjusts the in-vehicle theme mode.
It improves the stability of location information acquisition, reduces the risk of user privacy data leakage, enhances the intelligence of in-vehicle theme modes, and improves driving safety.
Smart Images

Figure CN2025098903_02012026_PF_FP_ABST
Abstract
Description
In-vehicle theme mode determination method, device, equipment, storage medium and vehicle
[0001] The present application claims priority to the application with the application number 202410844878.7, the patent application name "In-vehicle theme mode determination method, electronic device and vehicle", which was filed with the China Patent Office on June 27, 2024, and the entire content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] The present disclosure relates to the field of vehicle control, and in particular to an in-vehicle theme mode determination method, device, equipment, storage medium and vehicle. BACKGROUND
[0003] With the rapid development of the field of vehicle technology, vehicles have become an important means of transportation in people's daily life. Each component in the vehicle is fixedly configured at the factory, and if it needs to be changed, it needs to be manually adjusted by the user, and cannot be automatically adjusted according to environmental changes.
[0004] Currently, when a vehicle is used at night, the user needs to manually adjust the theme mode displayed in the vehicle, which has low flexibility and cannot meet the needs of users. SUMMARY
[0005] Therefore, the purpose of the present disclosure is to provide an in-vehicle theme mode determination method, device, equipment, storage medium and vehicle to solve the problem that the user needs to manually adjust the theme mode displayed in the vehicle when the current vehicle is used at night, which has low flexibility and cannot meet the needs of users.
[0006] To achieve the above purpose, the first aspect of the present disclosure provides an in-vehicle theme mode determination method, which comprises:
[0007] In response to a failed call to a mobile service, determining the current location information of the vehicle according to a preset location information callback function;
[0008] According to the current location information, calculating the sunrise time and sunset time corresponding to the current location information;
[0009] Obtaining the current time, and determining the target theme mode from the night theme mode and the daytime theme mode according to the current time, the sunrise time and the sunset time.
[0010] Based on the same inventive concept, the second aspect of the present disclosure provides an in-vehicle theme mode determination device, which comprises:
[0011] The information acquisition module is configured to determine the current location information of the vehicle according to a preset location information callback function in response to a failed call to a mobile service;
[0012] The time determination module is configured to calculate a sunrise time and a sunset time corresponding to the current position information according to the current position information.
[0013] The mode determination module is configured to acquire a current time, and determine a target theme mode from the night theme mode and the day theme mode according to the current time, the sunrise time and the sunset time.
[0014] Based on the same inventive concept, a third aspect of the present disclosure provides an electronic device, including a memory, a processor and a computer program stored in the memory and executable by the processor, and the processor implements the in-vehicle theme mode determination method as above when executing the computer program.
[0015] Based on the same inventive concept, a fourth aspect of the present disclosure provides a non-transitory computer-readable storage medium, which stores computer instructions for causing a computer to execute the in-vehicle theme mode determination method as above.
[0016] Based on the same inventive concept, a fifth aspect of the present disclosure provides a vehicle, including the in-vehicle theme mode determination apparatus of the second aspect, the electronic device of the third aspect or the storage medium of the fourth aspect.
[0017] As can be seen from the above, the present disclosure provides an in-vehicle theme mode determination method, apparatus, device, storage medium and vehicle, in response to a failure to invoke a mobile service, the current position information of the vehicle is determined according to a preset position information callback function. The current position information of the vehicle is determined through the position information callback function, on the one hand, without the authorization of the user, reducing the risk of leakage of user privacy data, on the other hand, the position information of the vehicle can still be obtained in an area with weak satellite signals, improving the stability of the position information acquisition. The sunrise time and the sunset time corresponding to the current position information are calculated according to the current position information, for subsequent determination of the target theme mode corresponding to the current position of the vehicle. The current time is acquired, and the target theme mode is determined from the night theme mode and the day theme mode according to the current time, the sunrise time and the sunset time. When the current time is between the sunrise time and the sunset time, it indicates a day environment, and the target theme mode is determined as the day theme mode, improving the visual clarity of the user. When the current time is outside the sunrise time and the sunset time, it indicates a night environment, and the target theme mode is determined as the night theme mode, reducing the visual pressure of the driver. That is, the theme mode in the vehicle can change with the current time, enhancing the intelligence of the system and improving the driving safety of the user. BRIEF DESCRIPTION OF DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the present disclosure or the related art, the drawings needed to be used in the embodiments or the related description will be briefly introduced. Obviously, the drawings in the following description are only embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without any creative effort based on these drawings.
[0019] FIG. 1 is a flowchart of a method for determining an in-vehicle theme mode according to an embodiment of the present disclosure;
[0020] FIG. 2 is a flowchart of a method for determining current position information of a vehicle according to an embodiment of the present disclosure;
[0021] FIG. 3 is a flowchart of a method for determining whether a call to a mobile service fails according to an embodiment of the present disclosure;
[0022] FIG. 4 is a flowchart of a method for determining a sunrise time and a sunset time according to an embodiment of the present disclosure;
[0023] FIG. 5 is a flowchart of a method for adjusting brightness of an in-vehicle center control screen according to an embodiment of the present disclosure;
[0024] FIG. 6 is another flowchart of a method for adjusting brightness of an in-vehicle center control screen according to an embodiment of the present disclosure;
[0025] FIG. 7 is a flowchart of a method for adjusting light in a vehicle according to an embodiment of the present disclosure;
[0026] FIG. 8 is a block diagram of a device for determining an in-vehicle theme mode according to an embodiment of the present disclosure;
[0027] FIG. 9 is a structural diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0028] In order to make the purposes, technical solutions, and advantages of the present disclosure clearer, the present disclosure will be further described in detail below with reference to specific embodiments and drawings.
[0029] It should be noted that, unless otherwise defined, technical terms or scientific terms used in the embodiments of the present disclosure shall have the common meaning understood by one of ordinary skill in the art to which the present disclosure belongs. The terms "first", "second", and similar terms used in the embodiments of the present disclosure do not denote any order, quantity, or importance, but are used to distinguish different components. The terms "include", "contain", and similar terms mean that the elements or objects before the terms encompass the elements or objects listed after the terms and their equivalents, and do not exclude other elements or objects. The terms "connect" or "connected" and similar terms are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. The terms "upper", "lower", "left", "right", and the like are used only to represent relative positional relationships, and when the absolute positions of the described objects are changed, the relative positional relationships can also be changed accordingly.
[0030] The terms involved in the present disclosure are as follows:
[0031] GPS: Global Navigation and Positioning Satellite System (GPS) refers to a system that provides positioning services globally using a new generation of polar orbit satellite constellation.
[0032] GMS: Google Mobile Services (GMS) is a set of applications and APIs developed by Google, which can provide support for functions and experiences for Android devices.
[0033] lm: Lumen, a physical unit describing luminous flux.
[0034] Each component in the vehicle is fixed and configured at the factory, and if it needs to be changed, it needs to be manually adjusted by the user, and cannot be automatically adjusted according to environmental changes. When the current vehicle is used at night, the user needs to manually adjust the theme mode displayed in the vehicle, which has low flexibility and cannot meet the needs of users.
[0035] At the same time, due to the limitation of network environment, the sunset and sunrise time is generally obtained through network service, or the geographical position information of the device is obtained by relying on the built-in GPS function to calculate the sunset and sunrise time.
[0036] When the sunrise and sunset time is obtained by using network service, the system needs to transmit the geographical position parameter to the server, and this operation involves the location privacy of the user, so the explicit authorization of the user must be obtained. Because it involves user privacy data, it is necessary to ensure the encryption of data transmission, and strict data protection measures are taken for the server.
[0037] The original scheme of obtaining position information depending on GPS signal can avoid involving user privacy data out of the cabin, but in weak satellite signal areas such as tunnels or underground parking lots, the automatic switching function of sunrise and sunset time may not respond in time.
[0038] Based on the above description, the embodiment provides a method for determining an in-vehicle theme mode, which is applied to a vehicle controller, as shown in FIG. 1, and the method comprises the following steps:
[0039] In step 101, in response to a failed call of a mobile service, current position information of the vehicle is determined according to a preset position information callback function.
[0040] In specific implementation, it is determined whether the mobile service can be successfully called, and in the embodiment, the mobile service is preferably a Google mobile service. When the call of the mobile service fails, it indicates that the sunrise time and the sunset time cannot be directly obtained by calling the mobile service. At this time, the current position information of the vehicle is determined according to the preset position information callback function, and the current position information is represented by the latitude and longitude of the current position.
[0041] In step 102, the sunrise time and the sunset time corresponding to the current position information are calculated according to the current position information.
[0042] In specific implementation, after obtaining the current position information of the vehicle, the sunrise time and the sunset time corresponding to the latitude and longitude information of the current position are calculated by using an interface provided by the vehicle machine system, wherein the sunrise time refers to the time when the sun rises from the eastern horizon every day, which changes with the season and the latitude of each place. The sunset time refers to the time when the sun falls from the western horizon every day, which is related to the latitude and longitude of the region and the season.
[0043] In step 103, the current time is obtained, and the target theme mode is determined from the night theme mode and the daytime theme mode according to the current time, the sunrise time and the sunset time.
[0044] In specific implementation, the current time is obtained, and the target theme mode is determined from the night theme mode and the daytime theme mode according to the current time, the sunrise time and the sunset time, wherein the night theme mode has lower brightness than the daytime theme mode, so as to reduce the visual pressure of the driver.
[0045] Specifically, the first time period is determined according to the sunrise time and the sunset time, when the current time is within the first time period, the target theme mode corresponding to the current position of the vehicle is the daytime theme mode. When the current time is outside the first time period, the target theme mode corresponding to the current position of the vehicle is the night theme mode.
[0046] For example, it is calculated that the sunrise time of the current location of vehicle A is 06:00 and the sunset time is 18:00. The current time is obtained as 12:20, and at this time it can be determined that the target theme mode of vehicle A is the daytime theme mode.
[0047] For another example, it is calculated that the sunrise time of the current location of vehicle B is 07:00 and the sunset time is 17:00. The current time is obtained as 19:30, and at this time it can be determined that the target theme mode of vehicle B is the nighttime theme mode.
[0048] Through the above scheme, in response to the failure of calling the mobile service, the current location information of the vehicle is determined according to the preset location information callback function. The current location information of the vehicle is determined through the location information callback function, on the one hand, without the authorization of the user, reducing the risk of leakage of user privacy data, on the other hand, the location information of the vehicle can still be obtained in the area where the satellite signal is weak, improving the stability of the location information acquisition. The sunrise time and the sunset time corresponding to the current location information are calculated according to the current location information, for subsequent determination of the target theme mode corresponding to the current location of the vehicle. The current time is obtained, and the target theme mode is determined from the nighttime theme mode and the daytime theme mode according to the current time, the sunrise time and the sunset time. When the current time is between the sunrise time and the sunset time, it means a daytime environment, and the target theme mode is determined as the daytime theme mode, improving the visual clarity of the user. When the current time is outside the sunrise time and the sunset time, it means a nighttime environment, and the target theme mode is determined as the nighttime theme mode, reducing the visual pressure of the driver. That is, the theme mode in the vehicle can change with the current time, enhancing the intelligence of the system and improving the driving safety of the user.
[0049] In some embodiments, the process of determining the current location information of the vehicle according to the preset location information callback function in step 101 is shown in FIG. 2, specifically including:
[0050] Step 1011, registering the preset location information callback function to obtain a callback result.
[0051] Step 1012, in response to the callback result being not empty, taking the location information corresponding to the callback result as the current location information.
[0052] Or,
[0053] Step 1013, in response to the callback result being empty, reading the first location information pre-stored in the database as the current location information.
[0054] In specific implementation, the preset location information callback function is registered, and the callback result is obtained after registration, wherein the callback result is longitude and latitude information. Based on the returned callback result, it is determined whether the location information is valid, that is, whether the longitude and latitude information corresponding to the callback result is empty.
[0055] When the callback result is not empty, i.e. the callback result contains the latitude and longitude information, the latitude and longitude information is taken as the current position information.
[0056] When the callback result is empty, i.e. the callback result does not return the latitude and longitude information, the first position information previously stored in the database is read and taken as the current position information. The first position information is the position corresponding to the last time when the vehicle determines the target theme mode.
[0057] For example, the registration position information callback function is obtained, the callback result is north latitude 38°34', east longitude 116°43', and the current position information of the vehicle is determined as north latitude 38°34', east longitude 116°43'.
[0058] Through the above scheme, the current position information of the vehicle is determined by judging whether the obtained callback result is empty. If the callback result is not empty, the current position of the vehicle is the position corresponding to the callback result. If the callback result is empty, the position previously stored in the database is taken as the current position of the vehicle, so that the current position information of the vehicle can be determined in any case, and the usability of the system is improved. At the same time, due to the small change of the sunrise and sunset time caused by the change of the area where the vehicle moves in a short time, the position corresponding to the last time when the target theme mode is determined can be taken as the position when the target theme mode is determined this time.
[0059] In some embodiments, the callback frequency of the position information callback function can be set to 30 minutes, i.e. every 30 minutes, the car machine automatically determines the current position information through the position information callback function, and then determines the target theme mode corresponding to the current position information. In this embodiment, the callback frequency of the position information callback function can be set by the manufacturer before the vehicle is shipped, or can be customized by the vehicle owner according to the needs of the vehicle owner.
[0060] In some embodiments, after step 103, the method further comprises:
[0061] The first position information is deleted from the database, and the current position information is stored in the database.
[0062] In specific implementation, when the vehicle determines the current position information, the first position information stored in the database is deleted. The current position information determined this time is stored in the database, and encryption processing can be performed when storing, so as to avoid leakage of user privacy.
[0063] Through the above scheme, the determined current position information is stored in the database, so that when the vehicle determines the target theme mode next time, if the obtained callback result is empty, the current position information of the vehicle is used next time.
[0064] In some embodiments, the specific process of determining that the calling of the mobile service fails in step 101 is shown in FIG. 3, which specifically includes:
[0065] Step 101A, checking whether the mobile service exists in the device application list of the vehicle.
[0066] Step 101B, in response to the non-existence of the mobile service, determining that the calling of the mobile service fails.
[0067] In specific implementation, after the vehicle is started, it is checked whether the mobile service exists in the device application list of the vehicle. In the embodiment, the mobile service is preferably Google mobile service (GMS). When it is determined that the mobile service does not exist in the device application list of the vehicle, it is determined that the calling of the mobile service fails. That is, at this time, the GMS is unavailable, and the sunrise time and the sunset time cannot be obtained by using the GMS, so that the current position information of the vehicle is determined according to the preset position information callback function.
[0068] In some embodiments, as shown in FIG. 4, if the calling of the mobile service succeeds, the sunrise time and the sunset time corresponding to the current position information can be determined by using the mobile service, that is, after step 1011, specifically further including:
[0069] Step A, in response to the existence of the mobile service, determining that the calling of the mobile service succeeds.
[0070] Step B, determining the sunrise time and the sunset time corresponding to the current position information by using the mobile service.
[0071] In specific implementation, after it is checked whether the mobile service exists in the device application list of the vehicle, if the mobile service exists, it is determined that the calling of the mobile service succeeds, that is, the sunrise time and the sunset time can be directly determined by using the GMS.
[0072] Through the above scheme, when it is determined that the mobile service is available, the sunrise time and the sunset time corresponding to the current position information can be directly obtained by using the mobile service, which improves the obtaining efficiency and shortens the obtaining time.
[0073] In some embodiments, after it is determined that the target theme mode is the daytime theme mode in step 103, the brightness of the in-vehicle central control screen can be further adjusted, as shown in FIG. 5, specifically further including:
[0074] Step 10A, obtaining the in-vehicle brightness, and determining the first target brightness of the in-vehicle central control screen according to the in-vehicle brightness.
[0075] Step 10B, obtaining the current brightness of the in-vehicle central control screen, and controlling the brightness of the in-vehicle central control screen to be adjusted from the current brightness to the first target brightness.
[0076] In a specific implementation, the in-vehicle brightness is determined by an in-vehicle sensor, and the first target brightness of the in-vehicle central control screen is determined according to the in-vehicle brightness. The first target brightness can be determined by searching a database or determined according to a comparison result of comparing the in-vehicle brightness with a preset brightness threshold.
[0077] Case 1: The first target brightness is determined by searching a database.
[0078] The in-vehicle brightness is searched in the database to obtain the first target brightness of the in-vehicle central control screen corresponding to the in-vehicle brightness. The database has a preset corresponding relationship between the in-vehicle brightness and the first target brightness of the in-vehicle central control screen. The corresponding relationship can include at least one of a relationship table, a functional relationship, a curve relationship, and a column chart relationship.
[0079] For example, the corresponding relationship between the in-vehicle brightness and the first target brightness of the in-vehicle central control screen is preset, such as that the in-vehicle brightness of 500 lm corresponds to the brightness of 50% of the in-vehicle central control screen, the in-vehicle brightness of 600 lm corresponds to the brightness of 60% of the in-vehicle central control screen, the in-vehicle brightness of 700 lm corresponds to the brightness of 70% of the in-vehicle central control screen, the in-vehicle brightness of 800 lm corresponds to the brightness of 80% of the in-vehicle central control screen, the in-vehicle brightness of 900 lm corresponds to the brightness of 90% of the in-vehicle central control screen, and the in-vehicle brightness of 1000 lm corresponds to the brightness of 100% of the in-vehicle central control screen.
[0080] Case 2: The first target brightness is determined according to a comparison result of comparing the in-vehicle brightness with a preset brightness threshold.
[0081] A first preset brightness threshold is obtained, and the in-vehicle brightness is compared with the first preset brightness threshold. In response to the in-vehicle brightness being greater than the first preset brightness threshold, it indicates that the vehicle is located in a strong light environment, and the brightness of the in-vehicle central control screen corresponds to the first brightness. In response to the in-vehicle brightness being less than or equal to the first preset brightness threshold, it indicates that the vehicle is located in an ordinary light environment, and the brightness of the in-vehicle central control screen corresponds to the second brightness.
[0082] For example, the first preset brightness threshold is 800 lm. When the in-vehicle brightness is greater than 800 lm, it indicates that the vehicle is located in a strong light environment, and the brightness of the in-vehicle central control screen corresponds to 80%-100%. When the in-vehicle brightness is less than or equal to 800 lm, it indicates that the vehicle is located in an ordinary light environment, and the brightness of the in-vehicle central control screen corresponds to 60%-80%.
[0083] The current brightness of the in-vehicle central control screen is obtained, and the brightness of the in-vehicle central control screen is adjusted from the current brightness to the first target brightness.
[0084] In some embodiments, the current brightness of the in-vehicle central control screen can be compared with the first target brightness. If the current brightness is greater than or equal to the first target brightness, it indicates that the brightness of the central control screen is sufficient to ensure that the user can see the information on the central control screen, and there is no need to adjust the brightness of the in-vehicle central control screen, thereby avoiding unnecessary adjustment operations.
[0085] Through the above scheme, when the vehicle is in the daytime theme mode, a light color theme is displayed, and the screen brightness can be adjusted according to the current in-vehicle brightness to improve the visual clarity of the central control screen and improve the display effect of the vehicle-mounted central control screen, thereby facilitating the acquisition of information on the central control screen. Meanwhile, the driving safety factor is improved.
[0086] In some embodiments, after determining in step 103 that the target theme mode is the nighttime theme mode, the brightness of the in-vehicle central control screen can be further adjusted. As shown in FIG. 6, the method further includes the following steps:
[0087] Step 10a: Obtain the in-vehicle brightness, and determine a second target brightness of the in-vehicle central control screen according to the in-vehicle brightness.
[0088] Step 10b: Obtain the current brightness of the in-vehicle central control screen, and control the brightness of the in-vehicle central control screen to be adjusted from the current brightness to the second target brightness.
[0089] In specific implementation, the in-vehicle brightness is determined by an in-vehicle sensor, and the second target brightness of the in-vehicle central control screen is determined according to the in-vehicle brightness. The second target brightness can be determined by searching a database or by comparing the in-vehicle brightness with a preset brightness threshold.
[0090] Case I: The second target brightness is determined by searching a database.
[0091] The database is searched according to the in-vehicle brightness to obtain the second target brightness of the in-vehicle central control screen corresponding to the in-vehicle brightness. The database has pre-stored corresponding relationship between the in-vehicle brightness and the second target brightness of the in-vehicle central control screen. The corresponding relationship can include at least one of the following: a relationship table, a functional relationship, a curve relationship, and a columnar graph relationship.
[0092] For example, the corresponding relationship between the in-vehicle brightness and the second target brightness of the in-vehicle central control screen is pre-set. For example, when the in-vehicle brightness is 500 lm, the brightness of the in-vehicle central control screen is 50%; when the in-vehicle brightness is 400 lm, the brightness of the in-vehicle central control screen is 40%; when the in-vehicle brightness is 300 lm, the brightness of the in-vehicle central control screen is 30%; when the in-vehicle brightness is 200 lm, the brightness of the in-vehicle central control screen is 20%; and when the in-vehicle brightness is 100 lm, the brightness of the in-vehicle central control screen is 10%.
[0093] Case II: The second target brightness is determined by comparing the in-vehicle brightness with a preset brightness threshold.
[0094] The second preset brightness threshold is obtained, and the in-vehicle brightness is compared with the second preset brightness threshold. In response to the in-vehicle brightness being greater than the second preset brightness threshold, at this time, it is indicated that the vehicle is located in a low-light environment, and the brightness of the in-vehicle central control screen corresponds to a third brightness. In response to the in-vehicle brightness being less than or equal to the second preset brightness threshold, at this time, it is indicated that the vehicle is located in a lightless environment, and the brightness of the in-vehicle central control screen corresponds to a fourth brightness.
[0095] Exemplarily, the second preset brightness threshold is 250 lm, when the in-vehicle brightness is greater than 250 lm, it is indicated that the vehicle is located in a low-light environment, and the brightness of the in-vehicle central control screen corresponds to 20%-40%. When the in-vehicle brightness is less than or equal to 250 lm, it is indicated that the vehicle is located in a lightless environment, and the brightness of the in-vehicle central control screen corresponds to 10%-20%.
[0096] The current brightness of the in-vehicle central control screen is obtained, and the brightness of the in-vehicle central control screen is adjusted from the current brightness to the second target brightness.
[0097] In some embodiments, the current brightness of the in-vehicle central control screen can be compared with the second target brightness, if the current brightness is less than or equal to the second target brightness, at this time, it is indicated that the brightness of the in-vehicle central control screen is dark, and there is no need to adjust the brightness of the in-vehicle central control screen, thereby avoiding unnecessary adjustment operations.
[0098] Through the above scheme, when the vehicle is in the night theme mode, a dark theme is displayed, and the screen brightness can be adjusted to be reduced according to the current in-vehicle brightness, thereby reducing the visual pressure of the driver, effectively reducing the large visual difference of the driver due to the difference between the light environment inside and outside the vehicle, and improving the driving safety.
[0099] In some embodiments, as shown in FIG. 7, after determining the target theme mode, the in-vehicle light can be adjusted, and the step 103 further includes:
[0100] Step a, obtaining the current light brightness of the in-vehicle target light, wherein the target light includes at least one of the following: in-vehicle atmosphere light, in-vehicle step light, trunk light or door light.
[0101] Step b, determining the third target brightness corresponding to the target theme mode, and controlling the brightness of the in-vehicle target light to be adjusted from the current light brightness to the third target brightness.
[0102] In specific implementation, the current light brightness of the in-vehicle target light is obtained, wherein the target light includes at least one of the following: in-vehicle atmosphere light, in-vehicle step light, trunk light or door light. After determining the target theme mode of the vehicle, the third target brightness corresponding to the target light under the target theme mode is found, and the brightness of the in-vehicle target light is controlled to be adjusted from the current light brightness to the third target brightness.
[0103] Exemplarily, the target light is a step-in light. When the target theme mode corresponding to the location of the vehicle is a daytime theme mode, it is found that the third target brightness of the step-in light is 0%, that is, the step-in light is not turned on in the daytime theme mode, thereby reducing unnecessary power consumption and improving the endurance of the vehicle.
[0104] Another example, the target light is an interior atmosphere lamp. When the target theme mode corresponding to the location of the vehicle is a nighttime theme mode, it is found that the third target brightness of the interior atmosphere lamp is 70%, that is, the interior atmosphere lamp is turned on and the brightness is controlled at 70% in the nighttime mode, thereby creating a comfortable driving environment for the user.
[0105] Another example, the target light is a trunk light. When the target theme mode corresponding to the location of the vehicle is a nighttime theme mode, it is found that the third target brightness of the trunk light is 100%, that is, the trunk light is turned on in the nighttime mode, so that the user can see the items in the trunk in the case that the outdoor brightness is low, thereby facilitating the user to take the items.
[0106] When adjusting the brightness of the target light in the vehicle, a prompt information can also be sent to the user, wherein the prompt information is used to prompt the user that the light in the vehicle is about to be adjusted. The prompt mode of the prompt information includes at least one of the following: voice broadcast, HUD display, instrument display, center screen display, window display, and interior equipment linkage. The HUD display is a head-up display. Exemplarily, the prompt mode of the prompt information is the HUD display, and the prompt information is projected in front of the user.
[0107] Exemplarily, the prompt mode of the prompt information is voice broadcast, the content form of the prompt information is text, and the target light in the vehicle is a step-in light. When adjusting the brightness of the step-in light in the vehicle, the prompt information "the brightness of the step-in light is about to be adjusted" is broadcasted by voice.
[0108] Through the above scheme, while adjusting the target light in the vehicle, the prompt information is sent to the user to inform the user that the target light in the vehicle is about to be adjusted, thereby avoiding the problem that the user is startled by sudden adjustment, and reducing the driving safety of the user.
[0109] It should be noted that the method of the embodiment of the present disclosure can be executed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed scenario, and completed by multiple devices cooperating with each other. In this distributed scenario, one of the multiple devices can only execute one or more steps in the method of the embodiment of the present disclosure, and the multiple devices can interact with each other to complete the method.
[0110] It is to be understood that the foregoing description is directed to embodiments of the disclosure. Various embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order and still achieve desirable results. In addition, the process depicted in the figures does not necessarily require the particular order shown or sequential order to achieve desirable results. In certain implementations, multitasking and parallel processing can be advantageous.
[0111] Based on the same inventive concept, the disclosure also provides an in-vehicle theme mode determination apparatus corresponding to any of the above-mentioned embodiment methods.
[0112] Referring to FIG. 8, the in-vehicle theme mode determination apparatus of the embodiment includes:
[0113] The information acquisition module 201 is configured to determine the current position information of the vehicle according to a preset position information callback function in response to a failure of invoking the mobile service;
[0114] The time determination module 202 is configured to calculate the sunrise time and the sunset time corresponding to the current position information according to the current position information;
[0115] The mode determination module 203 is configured to acquire the current time, and determine the target theme mode from the night theme mode and the daytime theme mode according to the current time, the sunrise time and the sunset time.
[0116] In some embodiments, the information acquisition module 201 is specifically configured to:
[0117] Register the preset position information callback function to obtain a callback result;
[0118] In response to the callback result being not empty, take the position information corresponding to the callback result as the current position information; or
[0119] In response to the callback result being empty, read the first position information pre-stored in the database as the current position information.
[0120] In some embodiments, the apparatus further includes a storage module, which is specifically configured to:
[0121] Delete the first position information from the database, and store the current position information into the database.
[0122] In some embodiments, the information acquisition module 201 specifically includes:
[0123] The searching unit is configured to search whether the mobile service exists in the device application list of the vehicle;
[0124] The judging unit is configured to determine that the calling of the mobile service fails in response to the absence of the mobile service.
[0125] In some embodiments, the information obtaining module 201 specifically further comprises a time determining unit, which is specifically configured to:
[0126] determine that the calling of the mobile service succeeds in response to the presence of the mobile service;
[0127] determine the sunrise time and the sunset time corresponding to the current location information by using the mobile service.
[0128] In some embodiments, the apparatus further comprises a first brightness adjusting module, which is configured to:
[0129] obtain the in-vehicle brightness, and determine the first target brightness of the in-vehicle center control screen according to the in-vehicle brightness;
[0130] obtain the current brightness of the in-vehicle center control screen, and control the brightness of the in-vehicle center control screen to be adjusted from the current brightness to the first target brightness.
[0131] In some embodiments, the apparatus further comprises a second brightness adjusting module, which is configured to:
[0132] obtain the in-vehicle brightness, and determine the second target brightness of the in-vehicle center control screen according to the in-vehicle brightness;
[0133] obtain the current brightness of the in-vehicle center control screen, and control the brightness of the in-vehicle center control screen to be adjusted from the current brightness to the second target brightness.
[0134] In some embodiments, the apparatus further comprises a third brightness adjusting module, which is configured to:
[0135] obtain the current light brightness of the in-vehicle target light, wherein the target light comprises at least one of the following: in-vehicle atmosphere light, in-vehicle step light, trunk light or door light;
[0136] determine the third target brightness corresponding to the target theme mode, and control the brightness of the in-vehicle target light to be adjusted from the current light brightness to the third target brightness.
[0137] In some embodiments, the mode determining module 203 is specifically configured to:
[0138] determine the first time period according to the sunrise time and the sunset time;
[0139] determine that the target theme mode is the daytime theme mode in response to the current time being within the first time period; or
[0140] determine that the target theme mode is the nighttime theme mode in response to the current time being outside the first time period.
[0141] In some embodiments, the first brightness adjustment module is specifically configured to:
[0142] obtain the in-vehicle brightness, compare the in-vehicle brightness with a first preset brightness threshold;
[0143] determine the first target brightness of the in-vehicle central control screen as the first brightness in response to the in-vehicle brightness being greater than the first preset brightness threshold; or
[0144] determine the first target brightness of the in-vehicle central control screen as a second brightness in response to the in-vehicle brightness being less than or equal to the first preset brightness threshold, wherein the second brightness is less than the first brightness.
[0145] In some embodiments, the second brightness adjustment module is specifically configured to:
[0146] obtain the in-vehicle brightness, compare the in-vehicle brightness with a second preset brightness threshold;
[0147] determine the second target brightness of the in-vehicle central control screen as a third brightness in response to the in-vehicle brightness being greater than the second preset brightness threshold; or
[0148] determine the second target brightness of the in-vehicle central control screen as a fourth brightness in response to the in-vehicle brightness being less than or equal to the second preset brightness threshold;
[0149] wherein the third brightness is less than the second brightness, and the fourth brightness is less than the third brightness.
[0150] For the convenience of description, the above apparatus is described in various modules according to functions. Of course, the functions of the modules can be implemented in one or more software and / or hardware in the implementation of the present disclosure.
[0151] The apparatus of the above embodiments is used to implement the corresponding in-vehicle theme mode determination method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described here again.
[0152] Based on the same inventive concept, the present disclosure also provides an electronic device corresponding to the method of any of the above embodiments, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the in-vehicle theme mode determination method of any of the embodiments when executing the program.
[0153] FIG. 9 shows a more specific hardware structure of an electronic device according to the present embodiment. The device can include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 for communication within the device.
[0154] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits, etc., for executing relevant programs to implement the technical solutions provided by the embodiments of the present specification.
[0155] The memory 1020 can be implemented by a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, etc. The memory 1020 can store an operating system and other application programs, and when the technical solutions provided by the embodiments of the present specification are implemented by software or firmware, relevant program codes are saved in the memory 1020 and called and executed by the processor 1010.
[0156] The input / output interface 1030 is configured to connect input / output modules to realize information input and output. The input / output modules can be configured as components in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. The input devices can include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices can include a display, a speaker, a vibrator, an indicator light, etc.
[0157] The communication interface 1040 is configured to connect a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired manner (such as USB, network cable, etc.) or through a wireless manner (such as mobile network, WIFI, Bluetooth, etc.).
[0158] The bus 1050 includes a channel for transmitting information between various components (such as the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040) of the device.
[0159] It should be noted that although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050, in the specific implementation process, the device can also include other components necessary for normal operation. In addition, those skilled in the art can understand that the above device can also only include components necessary for implementing the solutions of the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0160] The electronic device of the above embodiment is used to implement the corresponding in-vehicle theme mode determination method in any of the preceding embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0161] Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the in-vehicle theme mode determination method of any of the above embodiments.
[0162] The computer-readable medium of the present embodiment includes permanent and non-permanent, removable and non-removable media, which can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
[0163] The storage medium of the above embodiment stores computer instructions for causing a computer to execute the in-vehicle theme mode determination method of any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0164] Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present disclosure also provides a vehicle comprising the in-vehicle theme mode determination apparatus of the above embodiment, the electronic device of the above embodiment, the computer-readable storage medium of the above embodiment, and the vehicle device implements the in-vehicle theme mode determination method of any of the above embodiments.
[0165] The vehicle of the above embodiment is used to implement the in-vehicle theme mode determination method of any of the preceding embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0166] It can be understood that before using the technical solutions of the various embodiments in the present disclosure, the user will be informed of the type, scope of use, use scenario, etc. of the personal information involved by appropriate means, and the authorization of the user will be obtained.
[0167] For example, in response to receiving an active request of a user, a prompt information is sent to the user to explicitly prompt the user that the operation requested to be performed will require obtaining and using personal information of the user. Thus, the user can autonomously select whether to provide the personal information to the software or hardware such as an electronic device, an application program, a server or a storage medium performing the operation of the technical solution of the present disclosure according to the prompt information.
[0168] As an optional but non-limiting implementation, in response to receiving an active request of a user, the manner of sending a prompt information to the user may, for example, be a pop-up window manner, and the prompt information may, for example, be presented in the pop-up window in the form of text. In addition, the pop-up window may, for example, also carry a selection control for the user to select to "agree" or "disagree" to provide personal information to the electronic device.
[0169] It can be understood that the above notification and obtaining of user authorization process is only illustrative, and does not limit the implementation of the present disclosure, and other manners meeting the relevant laws and regulations can also be applied to the implementation of the present disclosure.
[0170] It should be understood by those of ordinary skill in the art that the above discussion of any embodiment is only exemplary and is not intended to imply that the scope of the present disclosure (including claims) is limited to these examples; under the idea of the present disclosure, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes of different aspects of the above embodiments of the present disclosure, which are not provided in detail for the sake of brevity. They.
[0171] In addition, in order to simplify the description and discussion, and so as not to make the embodiments of the present disclosure difficult to understand, the well-known power / ground connections of integrated circuit (IC) chips and other components can or can not be shown in the provided drawings. In addition, the devices can be shown in the form of block diagrams in order to avoid making the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented to implement the embodiments of the present disclosure (i.e., these details should be fully within the understanding of those skilled in the art). Where specific details (e.g., circuitry) are set forth in order to describe an exemplary embodiment of the present disclosure, it will be apparent to those skilled in the art that the present disclosure can be practiced without these specific details or with variations on these specific details. Therefore, these descriptions should be considered as illustrative rather than limiting.
[0172] While the present disclosure has been described in connection with certain embodiments thereof, many modifications, substitutions, and variations will be apparent to those of ordinary skill in the art from the foregoing description. For instance, other memory architectures (e.g., dynamic RAM (DRAM)) can use the embodiments discussed.
[0173] Embodiments of the disclosure are intended to cover all such alternatives, modifications, and variations as falling within the broad scope of the appended claims. Accordingly, any one or more of the above-described embodiments can be combined with any one or more of the above-described embodiments in any manner within the scope of the disclosure.
Claims
1. A method for determining an in-vehicle theme mode, characterized in that, include: In response to a failure to call the mobile service, the vehicle's current location information is determined based on a preset location information callback function; Calculate the sunrise and sunset times corresponding to the current location information based on the current location information; Obtain the current time, and determine the target theme mode from the night theme mode and the day theme mode based on the current time, the sunrise time, and the sunset time.
2. The method according to claim 1, characterized in that, Determining the vehicle's current location information according to a preset location information callback function includes: Register a preset location information callback function and obtain the callback result; In response to the callback result being non-empty, the position information corresponding to the callback result is used as the current position information; or, In response to an empty callback result, the first location information pre-stored in the database is read as the current location information.
3. The method according to claim 2, characterized in that, After determining the target theme mode from the night theme mode and the day theme mode based on the current time, the sunrise time, and the sunset time, the method further includes: The first location information is deleted from the database, and the current location information is stored in the database.
4. The method according to claim 1, characterized in that, The response to the failure to call the mobile service includes: Check if the mobile service exists in the vehicle's device application list; In response to the absence of the mobile service, it is determined that the call to the mobile service failed.
5. The method according to claim 4, characterized in that, After checking if the mobile service exists in the vehicle's list of device applications, the process also includes: Upon confirming the existence of the mobile service, it is determined that the call to the mobile service was successful. The sunrise and sunset times corresponding to the current location information are determined using the mobile service.
6. The method according to claim 1, characterized in that, After determining that the target theme pattern is a daytime theme pattern, the following is also included: Obtain the in-vehicle brightness and determine the first target brightness of the in-vehicle central control screen based on the in-vehicle brightness; Obtain the current brightness of the in-vehicle central control screen, and control the brightness of the in-vehicle central control screen to be adjusted from the current brightness to the first target brightness.
7. The method according to claim 1, characterized in that, After determining that the target theme mode is the night theme mode, the following is also included: Obtain the in-vehicle brightness and determine the second target brightness of the in-vehicle central control screen based on the in-vehicle brightness; Obtain the current brightness of the in-vehicle central control screen, and control the brightness of the in-vehicle central control screen to be adjusted from the current brightness to the second target brightness.
8. The method according to claim 1, characterized in that, After determining the target theme mode from the night theme mode and the day theme mode based on the current time, the sunrise time, and the sunset time, the method further includes: Obtain the current brightness of the target light inside the vehicle, wherein the target light includes at least one of the following: interior ambient light, interior step light, trunk light, or door light; Determine the third target brightness corresponding to the target theme mode, and control the brightness of the target light inside the vehicle to be adjusted from the current light brightness to the third target brightness.
9. The method according to claim 1, characterized in that, The step of determining the target theme mode from the night theme mode and the day theme mode based on the current time, the sunrise time, and the sunset time includes: The first time period is determined based on sunrise and sunset times; In response to the current time falling within the first time period, the target theme mode is determined to be a daytime theme mode; or, In response to the current time being outside the first time period, the target theme mode is determined to be the night theme mode.
10. The method according to claim 6, characterized in that, The step of acquiring the in-vehicle brightness and determining the first target brightness of the in-vehicle central control screen based on the in-vehicle brightness includes: Obtain the interior brightness of the vehicle and compare it with a first preset brightness threshold. In response to the in-vehicle brightness exceeding the first preset brightness threshold, the first target brightness of the in-vehicle central control screen is determined as the first brightness; or... In response to the in-vehicle brightness being less than or equal to the first preset brightness threshold, the first target brightness of the in-vehicle central control screen is determined to be the second brightness, wherein the second brightness is less than the first brightness.
11. The method according to claim 10, characterized in that, The step of acquiring the in-vehicle brightness and determining the second target brightness of the in-vehicle central control screen based on the in-vehicle brightness includes: The interior brightness is obtained and compared with a second preset brightness threshold. In response to the in-vehicle brightness exceeding the second preset brightness threshold, the second target brightness of the in-vehicle central control screen is determined to be the third brightness; or... In response to the in-vehicle brightness being less than or equal to the second preset brightness threshold, the second target brightness of the in-vehicle central control screen is determined to be the fourth brightness. The third brightness is less than the second brightness, and the fourth brightness is less than the third brightness.
12. A device for determining an in-vehicle theme mode, characterized in that, include: A processor, wherein the processor is configured to execute the following program modules stored in memory: The information acquisition module is configured to determine the vehicle's current location information based on a preset location information callback function in response to a failure to call the mobile service. The time determination module is configured to calculate the sunrise and sunset times corresponding to the current location information based on the current location information. The mode determination module is configured to obtain the current time and determine the target theme mode from the night theme mode and the day theme mode based on the current time, the sunrise time and the sunset time.
13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the method as claimed in any one of claims 1 to 11.
14. A non-transitory computer-readable storage medium, characterized in that, The non-transitory computer-readable storage medium stores computer instructions for causing a computer to perform the method according to any one of claims 1 to 11.
15. A vehicle, characterized in that, Includes the electronic device as described in claim 13.
Citation Information
Patent Citations
Method and system for automatically adjusting theme mode of vehicle-mounted central control screen
CN114974167A
Method and device for automatically adjusting day and night modes of automobile and vehicle
CN116758876A
In-vehicle theme mode determination method, electronic equipment and vehicle
CN118790174A
Control device for vehicle and control method
US20190214942A1