Vehicle machine parameter adjusting method and vehicle
By monitoring parameter changes in third-party applications and generating synchronized vehicle infotainment adjustments, the method addresses compatibility issues, allowing direct in-application setting adjustments for a better user experience.
Patent Information
- Application Number
- CN202510394857.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-07-15
AI Technical Summary
Users cannot directly adjust vehicle parameters in third-party applications, resulting in additional operations and affecting the user experience.
By monitoring the parameter changes of the target three-party application, a vehicle-machine parameter adjustment command is generated, and the vehicle-machine parameters are directly adjusted to bypass the problem of poor adaptability.
It realizes direct adjustment of vehicle and machine parameters within third-party applications to improve user experience and reduce additional operations.
Smart Images

Figure CN120315768A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive technologies, and in particular, to a method for adjusting in-vehicle computer parameters and a vehicle. Background Art
[0002] Since there are numerous Android software, but not every Android software is adapted to various types of in-vehicle computers, this leads to the problem that the third-party software downloaded by users in the third-party application store has a poor adaptability to the in-vehicle computer system. For example, when watching a video in the third-party software, the brightness and volume of the in-vehicle computer cannot be directly adjusted through the third-party software. Instead, the user has to exit the current third-party software first and then enter the in-vehicle computer settings interface to adjust the brightness and volume. This results in the need for additional operations by the user to adjust the parameters in the third-party software, which affects the user experience.
[0003] Therefore, how to directly adjust the in-vehicle computer parameters within the third-party software has become a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0004] In view of the above problems, the present disclosure provides a method for adjusting in-vehicle computer parameters that overcomes or at least partially solves the above problems. The technical solution is as follows: Determine that the target third-party application is in a running state, and obtain the target application parameters corresponding to the target third-party application; if it is monitored that the application parameter value of the target application parameter changes, obtain the application parameter change value within a preset time period; generate an in-vehicle computer parameter adjustment instruction based on the application parameter change value; and adjust the target in-vehicle computer parameter corresponding to the target application parameter based on the in-vehicle computer parameter adjustment instruction.
[0005] By monitoring the change of the key parameters of the target third-party application and generating the corresponding in-vehicle computer parameter adjustment instruction, it is possible to directly adjust the in-vehicle computer parameters within the third-party application with poor adaptability, which can improve the user experience of passengers.
[0006] Optionally, the generating an in-vehicle computer parameter adjustment instruction based on the application parameter change value specifically includes: obtaining the current application parameter value corresponding to the target third-party application and the application parameter range; obtaining the current in-vehicle computer parameter value of the target in-vehicle computer parameter and the in-vehicle computer parameter range; determining the parameter conversion ratio between the target application parameter and the target in-vehicle computer parameter based on the current application parameter value, the application parameter range, the current in-vehicle computer parameter value, and the in-vehicle computer parameter range; and generating the in-vehicle computer parameter adjustment instruction based on the parameter conversion ratio and the application parameter change value within the preset time period.
[0007] If the in-vehicle computer parameter adjustment instruction can be monitored, the in-vehicle computer parameter adjustment instruction can be directly generated according to the conversion ratio, and the required in-vehicle computer computing resources are relatively low.
[0008] Optionally, the obtaining of the target application parameters corresponding to the target third-party application specifically includes: recording parameter adjustment actions for adjusting the target application parameters multiple times, and a set of changed parameters in the target third-party application corresponding to each parameter adjustment action; determining the parameter name of the target application parameters based on the action amplitude corresponding to each parameter adjustment action and the parameter change amplitude in the set of changed parameters; binding the parameter name of the target application parameters to the name of the target third-party application.
[0009] The target application parameters in the target third-party application can be confirmed by repeating the parameter adjustment action.
[0010] Optionally, before generating the vehicle-mounted parameter adjustment instruction based on the application parameter change value, the method further includes: obtaining the current vehicle-mounted parameter value of the target vehicle-mounted parameter corresponding to the application parameter change value; after adjusting the target vehicle-mounted parameter corresponding to the target application parameter based on the vehicle-mounted parameter adjustment instruction, the method further includes: determining that an exit instruction of the target third-party application is received; generating a vehicle-mounted parameter adjustment instruction based on the current vehicle-mounted parameter value; and adjusting the vehicle-mounted parameters based on the vehicle-mounted parameter adjustment instruction to adjust the target vehicle-mounted parameter to the current vehicle-mounted parameter value.
[0011] After the third-party target application exits, the vehicle-mounted parameters are rolled back to prevent the user from adjusting each vehicle-mounted parameter individually, thereby improving the user experience.
[0012] Optionally, for the obtaining of the target application parameters corresponding to the target third-party application, the method further includes: determining that the application parameter change value of the target application parameters cannot be monitored within a preset time period; then determining the target area where the target third-party application is located on the vehicle-mounted screen; monitoring the screen contact action information in the target area through the vehicle-mounted screen; generating a vehicle-mounted parameter adjustment instruction based on the screen contact action information; and adjusting the target vehicle-mounted parameter corresponding to the target vehicle-mounted parameter in the target area based on the vehicle-mounted parameter adjustment instruction.
[0013] When the parameter adjustment instruction of the target third-party application cannot be monitored, at this time, the vehicle-mounted parameter adjustment instruction can be generated by monitoring the user's contact action on the screen, bypassing the target third-party application and directly adjusting the vehicle-mounted parameters.
[0014] Optionally, the screen contact action information includes the screen contact action trajectory and the contact time corresponding to each trajectory point of the screen contact action; generating a vehicle-mounted parameter adjustment instruction based on the screen contact action information specifically includes: determining a target vehicle-mounted parameter type corresponding to the vehicle-mounted parameter adjustment instruction based on the contact time and the area where each trajectory point of the screen contact action is located, and the target vehicle-mounted parameter type at least includes a screen brightness parameter and a volume parameter; determining a vehicle-mounted parameter change value based on the target vehicle-mounted parameter type and the screen contact action trajectory; and generating the vehicle-mounted parameter adjustment instruction based on the target vehicle-mounted parameter type and the parameter change value.
[0015] Optionally, determining a target vehicle-mounted parameter type corresponding to the vehicle-mounted parameter adjustment instruction based on the contact time and the area where each trajectory point of the screen contact action is located specifically includes: determining a contact start point included in the screen contact action based on the contact time corresponding to each trajectory point of the screen contact action; if the area where the contact start point is located is within the parameter adjustment area corresponding to the target vehicle-mounted parameter, using the target vehicle-mounted parameter type corresponding to the parameter adjustment area as the target vehicle-mounted parameter type corresponding to the vehicle-mounted parameter adjustment instruction; if the area where the contact start point is located is not within the parameter adjustment area, determining the distribution probability of each trajectory point of each screen contact action within each parameter adjustment area within a preset time period; the starting point of the preset time period is the time point corresponding to the contact start point; if the distribution probability of a certain parameter adjustment area is higher than a preset threshold, using the target application parameter type corresponding to the parameter adjustment area as the target application parameter type corresponding to the vehicle-mounted parameter adjustment instruction; if the distribution probabilities of all the parameter adjustment areas are lower than the preset threshold, determining that the screen contact action is an invalid adjustment action for the target vehicle-mounted parameter.
[0016] Optionally, determining a vehicle-mounted parameter change value based on the target vehicle-mounted parameter type and the screen contact action trajectory specifically includes: determining the moving distance of the screen contact action trajectory in a preset direction based on the screen contact action trajectory; and determining the vehicle-mounted parameter change value corresponding to the screen contact action trajectory based on the moving distance and a preset parameter change value corresponding to a unit moving distance.
[0017] Optionally, before listening for screen contact action information in the target area through the in-vehicle screen, the method further includes: determining all historical contact actions during the running time of the target third-party application based on the historical usage information of the target third-party application; and determining a parameter adjustment area corresponding to the target third-party application based on the contact areas, the target third-party application contact responses, and the in-vehicle parameter contact responses corresponding to all the historical contact actions within the target third-party application.
[0018] Based on the contact areas corresponding to all historical contact actions within the target third-party application, the contact reactions of the target third-party application, and the in-vehicle parameter contact reactions, a parameter adjustment area that can be selected by the user can be determined, so as to improve the user experience.
[0019] This application also provides a vehicle, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform: determining that a target third-party application is in a running state, and obtaining target application parameters corresponding to the target third-party application; if it is monitored that the application parameter value of the target application parameter changes, obtaining an application parameter change value within a preset time period; generating an in-vehicle parameter adjustment instruction based on the application parameter change value; and adjusting the target in-vehicle parameter corresponding to the target application parameter based on the in-vehicle parameter adjustment instruction.
[0020] The above description is only an overview of the technical solution of the present disclosure. In order to be able to understand the technical means of the present disclosure more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present disclosure more obvious and understandable, the specific embodiments of the present disclosure are specifically exemplified below. Description of the Drawings
[0021] By reading the detailed description of the preferred embodiments below, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present disclosure. And throughout the drawings, the same reference numerals are used to represent the same components. In the drawings:
[0022] Figure 1 A flowchart showing a method for adjusting in-vehicle parameters provided by an embodiment of the present application is shown;
[0023] Figure 2 A flowchart showing another method for adjusting in-vehicle parameters provided by an embodiment of the present application is shown;
[0024] Figure 3 A structural diagram showing a device for adjusting in-vehicle parameters provided by an embodiment of the present application is shown. Detailed Embodiments
[0025] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure can be more thoroughly understood and the scope of the present disclosure can be completely conveyed to those skilled in the art. The technical solutions provided by the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.
[0026] There is a problem that the third-party software downloaded by the user in the third-party application store has a poor compatibility with the in-vehicle system. For example, when watching a video in the third-party software, the brightness and volume of the in-vehicle system cannot be directly adjusted through the third-party software. Instead, the user has to exit the current third-party software first and then enter the in-vehicle settings interface to adjust the brightness and volume. This will cause the user to need additional operations to adjust the parameters in the third-party software, which will affect the user experience.
[0027] Taking a video playback software as an example, when the current third-party Android software sets the brightness value, it will try to adjust the screen brightness through the Android API, but this method does not work on the in-vehicle system because the brightness control of the in-vehicle system may be designed to respond to CAN signals rather than Android brightness setting commands.
[0028] To solve the above problems, Figure 1 It is a schematic flowchart of a method for adjusting in-vehicle parameters provided by one or more embodiments of this specification. This method can be applied to different types of third-party application software, such as video playback software, navigation software, document reading software, audio playback software, etc. This process can be executed by a computing device or a cloud device in the in-vehicle system. Some input parameters or intermediate results in the process allow manual intervention and adjustment to help improve accuracy.
[0029] The implementation of the analysis method involved in the embodiments of the present application can be a terminal device or a server, and the present application does not make special restrictions on this. For the convenience of understanding and description, the following embodiments will be described in detail taking the in-vehicle system in a vehicle as an example.
[0030] It should be noted that the server can be a single device or a system composed of multiple devices, that is, a distributed server, and the present application does not make specific limitations on this.
[0031] As Figure 1 shown, the embodiments of the present application provide a method for adjusting in-vehicle parameters, including:
[0032] S101: Determine that the target third-party application is in a running state, and obtain the target application parameters corresponding to the target third-party application.
[0033] First, when the in-vehicle computer determines that the target third-party application is in a running state, one or more target application parameters corresponding to the target third-party application are obtained. Here, the target third-party application refers to an application downloaded by the in-vehicle computer through a third-party application market or an application with a relatively low compatibility with the in-vehicle computer. At the same time, the user can set a certain application as the target third-party application by themselves to achieve the purpose of meeting the user's personalized operations. Here, the target application parameters refer to the relevant parameters that can be adjusted within the target third-party application but cannot be synchronized to the in-vehicle computer. It can be understood that there can be multiple target application parameters within a target third-party application. For example, the target application parameters in a video playback software can be brightness parameters, volume parameters, etc.
[0034] S102: If it is monitored that the application parameter value of the target application parameter changes, obtain the application parameter change value within a preset time period.
[0035] When the in-vehicle computer interface monitors that the target application parameter changes, obtain the application parameter change value corresponding to the target application parameter in each time period. The length of the preset time period here can be set by the user himself. The function of setting the preset time period is to convert the adjustment of the target application parameter by the user within a relatively long time period into multiple adjustments within a relatively short time period, so that the in-vehicle computer parameters can change at any time according to the adjustment actions during the adjustment process, preventing the situation of too slow adjustment response. For example, the user spends 1 s adjusting the brightness in a third-party video playback software. If the overall monitoring of the application parameter change value is carried out, the parameter change value can only be obtained after 1 s. During this 1 s, the user cannot know the change in the screen brightness corresponding to the current adjustment operation. In this regard, if 1 s is divided into multiple time periods, such as 10 0.1 s, the parameter change value in each time period will be displayed on the in-vehicle computer screen in a timely manner after the end of the current time period, and the user can adjust the subsequent operations in a timely manner according to the brightness change of the in-vehicle computer screen.
[0036] In addition, the application parameter change value refers to the change of the parameter within the application, and this change will not be responded to by the in-vehicle computer due to the type of signal. Still taking the brightness adjustment in a video software as an example, when monitoring the application parameters, the change of the parameter "screenBrightness" can be monitored through the SettingsProvider mechanism.
[0037] S103: Then, based on the application parameter change value, generate an in-vehicle computer parameter adjustment instruction.
[0038] If the in-vehicle unit successfully monitors changes in application parameters, it generates an in-vehicle unit parameter adjustment instruction for the preset time period that can make the in-vehicle unit respond according to the change value of the application parameters within the preset time period. Through an in-vehicle unit module that can bridge Android native settings (such as brightness and volume) and in-vehicle unit underlying hardware control (such as CAN signals), the adjustment operations of third-party Apps (such as setting brightness) can truly affect the in-vehicle unit hardware rather than just staying at the software level.
[0039] S104: Adjust the target in-vehicle unit parameters corresponding to the target application parameters based on the in-vehicle unit parameter adjustment instruction.
[0040] After generating the in-vehicle unit parameter adjustment instruction, the in-vehicle unit adjusts the corresponding in-vehicle unit parameters according to the in-vehicle unit parameter adjustment instruction.
[0041] In one embodiment, before adjusting the in-vehicle unit parameters, the current in-vehicle unit parameters can be recorded, and after the target third-party application is closed, the modified in-vehicle unit parameters can be adjusted to improve the user experience and enhance the satisfaction of the entertainment system. Specifically, before adjusting the in-vehicle unit parameters, the in-vehicle unit parameter value corresponding to the target application parameters needs to be recorded, and after determining the target third-party application, an in-vehicle unit parameter adjustment instruction is generated based on the current in-vehicle unit parameter value; finally, based on the in-vehicle unit parameter adjustment instruction, the in-vehicle unit parameters are adjusted to adjust the target in-vehicle unit parameters to the current in-vehicle unit parameter value.
[0042] Furthermore, when adjusting the in-vehicle unit parameters after the target third-party application exits, the influence of the current environmental parameters can also be considered to make the adjusted in-vehicle unit parameters conform to the environmental parameters and prevent causing discomfort to the user. Taking the brightness adjustment of a video playback software as an example, if the user has watched the video for a long time and the environmental light intensity has changed from relatively bright to relatively dim at this time, then when adjusting the in-vehicle unit parameters, the influence of the current environmental light intensity should be considered.
[0043] The following uses a simple linear model to illustrate the brightness adjustment by example: The in-vehicle unit screen brightness and the environmental light intensity can be quantified into the following piecewise linear model:
[0044]
[0045] Among them, L is the in-vehicle unit screen, L min is the lowest brightness of the in-vehicle unit screen, L max is the highest brightness of the in-vehicle unit screen, E1 and E2 are environmental light intensity thresholds, and the environmental light intensity corresponding to E1 is lower than that corresponding to E2. E is the current environmental light intensity, and k is a proportionality coefficient.
[0046] In one example, the above formula can be expressed as:
[0047]
[0048] Based on the above formula, before adjusting the in-vehicle unit parameters, if E is 1000 and the corresponding brightness of the in-vehicle unit screen is 55 at this time, after adjusting based on the target third-party application, the brightness of the in-vehicle unit screen comes to 200. When the target third-party application exits, at this time E ′ is 200. Even if the in-vehicle unit screen is adjusted to 55, it is still relatively bright compared to the current ambient light intensity. Therefore, at this time, the brightness of the in-vehicle unit screen after the target third-party application exits can be calculated based on the current ambient light intensity. Specifically, it can be based on the average value of E and E ′ which is 600, to calculate the brightness of the in-vehicle unit screen after the target third-party application exits, or only use E ′ which is 200, to calculate the brightness of the in-vehicle unit screen after the target third-party application exits. This application does not make any limitations on this.
[0049] In one embodiment, in the Android system, the brightness value is usually limited to between 0 and 1, while the in-vehicle unit brightness value is usually limited to between 0 and 100. Therefore, when generating an in-vehicle unit parameter adjustment instruction, it is necessary to determine the in-vehicle unit parameter change value based on the application parameter change value. At this time, it is necessary to obtain the current application parameter value, application parameter interval corresponding to the target third-party application, as well as the current in-vehicle unit parameter value and in-vehicle unit parameter interval corresponding to the in-vehicle unit parameter. Among them, the current application parameter value and the current in-vehicle unit parameter value refer to the parameter values corresponding before adjusting the application parameter. The application parameter interval is the upper and lower limit interval corresponding to the application parameter (such as 0 - 1 mentioned above), and the in-vehicle unit parameter interval is the upper and lower limit interval corresponding to the in-vehicle unit parameter (such as 0 - 100 mentioned above). If before adjustment, the current application parameter value is 0.2, but the current in-vehicle unit parameter value is 40, then when converting, when the parameter is turned down, 0.2 is corresponding to 40; when the parameter is turned up, 0.8 is corresponding to 60, to calculate the parameter conversion ratio between the target application parameter and the target in-vehicle unit parameter. Then, based on the parameter conversion ratio and the application parameter change value within a preset time period, an in-vehicle unit parameter adjustment instruction can be generated. For example, if the application parameter change value is +0.1, the in-vehicle unit parameter change value should be calculated through the following formula: That is, at this time, the in-vehicle unit parameter adjustment instruction is to increase the brightness of the in-vehicle unit screen to 47.5.
[0050] In one embodiment, when obtaining the target application parameters corresponding to the target third-party application, the target application parameter names corresponding to the target third-party application name can be directly read from the preset database. However, when the target third-party application is used for the first time, it is necessary to determine the target application parameters corresponding to the target third-party application to monitor the target application parameters. At this time, the parameter adjustment actions for adjusting the target application parameters multiple times can be recorded, as well as the set of changed parameters within the target third-party application corresponding to each parameter adjustment action. For example, if the target third-party application has a function of adjusting brightness, but the relevant brightness parameters cannot be synchronized with the in-vehicle computer parameters, the brightness can be adjusted multiple times within the target third-party application at this time to cause changes in the relevant brightness parameters. At the same time, the in-vehicle computer monitors all the parameters within the target third-party application to determine the parameters that are related to each brightness adjustment action and change, which are referred to as changed parameters here, to form a set of changed parameters. Through the action amplitude corresponding to each parameter adjustment action and the parameter change amplitude within the set of changed parameters, the target application parameters can be determined within the set of changed parameters, that is, the brightness parameter in the above example. Taking three parameter adjustment actions as an example, if the changed parameters that change before and after the three parameter adjustment actions are [a, b, c, d, e], [f, c, g, u, i], and [n, c, f, h] respectively, the target application parameter can be determined as c through the same changed parameters in the three sets. If there are still multiple identical changed parameters in the set of changed parameters after multiple adjustment actions, at this time, the identical changed parameters can be screened out through the action amplitude corresponding to the adjustment action and the parameter change amplitude within the set of changed parameters, and the changed parameter that best matches the action amplitude corresponding to the adjustment action is used as the target application parameter. Then, the parameter name of the target application parameter can be bound to the name of the target third-party application and stored in the preset database. When the target third-party application is opened again, the target application parameter name corresponding to the target third-party application can be directly read from the preset database.
[0051] The target third-party application described in the above embodiment is an application with its own corresponding parameter adjustment function. If the target third-party application does not have a corresponding parameter adjustment function, or its internal parameters cannot be monitored, or the target application parameters cannot be determined after monitoring the parameter adjustment actions multiple times, at this time, the screen contact actions can be directly monitored through the in-vehicle computer screen to achieve the function of bypassing the target third-party application and directly performing the corresponding parameter adjustment.
[0052] As Figure 2 shown, in another embodiment of the present application, when implementing in-vehicle computer parameter adjustment within the target third-party application, the following steps are included:
[0053] S201: Determine that the target third-party application is in a running state, and obtain the target application parameters corresponding to the target third-party application.
[0054] S202: Determine that the parameter change of the target application parameter cannot be monitored.
[0055] The inability to monitor here is based on the user having adjusted the in-vehicle display screen (such as having monitored the touch action on the in-vehicle screen). At this time, there are two situations. One is that the in-vehicle system cannot monitor the parameter change, and the other is that the in-vehicle system cannot determine which parameter of the target third-party application the target application parameter specifically is.
[0056] S203: Then determine the target area where the target third-party application is located within the in-vehicle screen.
[0057] The target area here includes two situations. One situation is that there are multiple in-vehicle screens in the vehicle. At this time, the target area refers to the in-vehicle screen where the target third-party application is displayed. Another situation is that the target third-party application does not completely occupy the entire screen but only occupies a part of a single in-vehicle screen. At this time, the target area refers to the part of the in-vehicle screen where the target third-party application is located. By determining the target area where the target third-party application is located, some target application parameters (such as brightness) can be accurately adjusted, thereby improving the user experience.
[0058] S204: Through the in-vehicle screen, monitor the screen touch action information within the target area.
[0059] Since the parameter change value of the target application parameter cannot be monitored, at this time, the screen touch action information within a preset time period can be monitored through the in-vehicle screen. The purpose of setting the preset time period here is the same as that in the previous embodiment, which is to hope that the parameter change value within each time period will be displayed on the in-vehicle screen in a timely manner after the end of the current time period, so that the user can adjust the subsequent operations in a timely manner according to the brightness change of the in-vehicle screen.
[0060] S205: Generate an in-vehicle parameter adjustment instruction based on the screen touch action information.
[0061] After obtaining the screen touch action information within the preset time period, an adjustment instruction for the corresponding in-vehicle parameter can be generated according to the screen touch action information. It should be noted that the generation of the in-vehicle parameter adjustment instruction here does not require the change of the application parameter of the target third-party application as a prerequisite. And throughout the process, whether it is monitoring the screen touch action information or generating the in-vehicle parameter adjustment instruction, it is completely controlled by the in-vehicle system, and the target third-party application does not participate in this process.
[0062] S206: Based on the in-vehicle parameter adjustment instruction, adjust the target in-vehicle parameter corresponding to the target application parameter within the target area.
[0063] After generating the vehicle head unit parameter adjustment instruction, the target vehicle head unit parameters of the target application in the target area can be adjusted based on the vehicle head unit parameter adjustment instruction. When the target vehicle head unit parameters are related to the screen, only the vehicle head unit screen parameters in the target area can be adjusted. For example, when the target vehicle head unit parameter is brightness, the vehicle head unit brightness parameter in the target area can be adjusted separately. When the target vehicle head unit parameter is not related to the vehicle head unit screen, the vehicle head unit parameters are directly adjusted without considering the target area. For example, when the target vehicle head unit parameter is volume, the volume parameters corresponding to all the in-vehicle speakers can be directly adjusted.
[0064] In one embodiment, some vehicle head unit parameters can also be set to be bound to relevant areas. For example, when there are multiple vehicle head unit screens in the vehicle, the speakers at a preset position can be bound to a specific vehicle head unit screen so that when a user watches a video using a specific vehicle head unit screen, they can only adjust the volume parameters of some speakers. Here is an example of a usage scenario: when a rear passenger watches a video through the rear vehicle head unit screen, the speakers located in the rear can be bound to this vehicle head unit screen. When a vehicle head unit parameter adjustment instruction corresponding to the target third-party application of this vehicle head unit screen is received, the rear speakers change their corresponding volume, but the front speakers do not change the volume parameter.
[0065] In one embodiment, when generating a vehicle head unit parameter adjustment instruction based on the screen contact action information, it is first necessary to determine the type of vehicle head unit parameter to be adjusted and generate a corresponding parameter progress bar so that the user can know the current parameter level based on the parameter progress bar. Then, the parameter change values corresponding to each vehicle head unit parameter are determined. Among them, the screen contact action information includes the screen contact action trajectory and the contact time corresponding to each trajectory point of the screen contact action. Here, the screen contact action trajectory not only includes the overall trajectory of the trajectory points but also includes the coordinates of each trajectory point on the screen. When generating the vehicle head unit parameter adjustment instruction, the type of target vehicle head unit parameter corresponding to the vehicle head unit parameter adjustment instruction can be determined based on the contact time and the area corresponding to each trajectory point of the screen contact action. Among them, the type of target vehicle head unit parameter can include the screen brightness parameter and the volume parameter, and the area where each trajectory point is located can be determined by the coordinates of each trajectory point on the screen. Then, based on the type of target vehicle head unit parameter and the screen contact action trajectory, the vehicle head unit parameter change value can be determined. Finally, after determining the type of target vehicle head unit parameter and the parameter change value, the vehicle head unit parameter adjustment instruction can be generated based on the type of target vehicle head unit parameter and the parameter change value.
[0066] Further, since it is necessary to preferentially generate the corresponding parameter progress bar so that the user can know the current parameter level based on the parameter progress bar, when determining the target in-vehicle parameter type, a short time is required. At this time, the target in-vehicle parameter type can be determined by the area where the contact start point of each screen contact action is located. Specifically, based on the contact time corresponding to each trajectory point of the screen contact action, the contact start point included in the screen contact action can be determined. If the area where the contact start point is located is within the parameter adjustment area corresponding to the target in-vehicle parameter, the target in-vehicle parameter type corresponding to the parameter adjustment area is used as the target vehicle parameter type corresponding to the in-vehicle parameter adjustment instruction. It should be noted that the parameter adjustment area and the corresponding target in-vehicle parameter type here are set by the user himself.
[0067] At the same time, to prevent the user from accidentally touching, even if the coordinates where the contact start point is located are not within the parameter adjustment area, the area where the subsequent contact points are located within a short time can also be considered, such as other contact points within 5 ms. If most of the other contact points within 5 ms are within the parameter adjustment area, at this time, the corresponding parameter adjustment action can also be considered as adjusting the target in-vehicle type corresponding to this parameter adjustment area. Specifically, if it is determined that the area where the contact start point is located is not within the parameter adjustment area, the distribution probability of each trajectory point of each screen contact action within the parameter adjustment area within the preset time period is determined. Among them, the starting point of the preset time period here is the time point corresponding to the contact start point. If the distribution probability is higher than the preset threshold, the target in-vehicle parameter type corresponding to the parameter adjustment area is used as the target in-vehicle parameter type corresponding to the in-vehicle parameter adjustment instruction. If the distribution probability is lower than the preset threshold, it means that the contact start point of this screen contact action is not within this parameter adjustment area, and other contact points are also likely to be not within the parameter adjustment area within a short time thereafter. At this time, this screen contact action is regarded as an invalid action.
[0068] It should be noted that one target in-vehicle parameter may correspond to multiple parameter adjustment areas. It can be understood that in addition to sliding, the screen contact action should also include contact actions such as single-click and double-click. At this time, when adjusting the in-vehicle parameter, in addition to dragging the sliding progress bar, the corresponding parameter progress bar can also be called by clicking the button corresponding to the parameter to be adjusted. At this time, in addition to the area where the parameter progress bar is located, the area where the parameter corresponding button is located is also the parameter adjustment area corresponding to this target in-vehicle parameter.
[0069] In one embodiment, when determining the change value of the in-vehicle unit parameters, the moving distance of the screen contact action trajectory in a preset direction may be determined based on the screen contact action trajectory, and then, based on the moving distance and the preset parameter change value corresponding to the unit moving distance, the change value of the in-vehicle unit parameters corresponding to the screen contact action trajectory may be determined. Among them, the preset direction may be the vertical direction or the horizontal direction. The preset parameter change value corresponding to the unit moving distance may be set by the user himself, or, on the premise that there is a function for adjusting the target in-vehicle unit parameters in the target third-party application, the increase amplitude of the parameter progress bar after the screen contact action moves a unit distance within the target third-party application may be determined to obtain the preset parameter change value corresponding to the unit moving distance. At the same time, if it is recognized that there is also a parameter progress bar for the target in-vehicle unit parameters in the target third-party application, the parameter progress bar does not need to be generated separately, but the occupancy ratio of the target third-party application may be used to determine the target in-vehicle unit parameters.
[0070] In one embodiment, the corresponding parameter adjustment area and the target in-vehicle unit parameters corresponding to the parameter adjustment area may be adjusted by the user himself. When selecting the parameter adjustment area, the usage frequency of each area in the target third-party application and the application response of the target third-party application to the contact actions in each area should be considered, and the area with a relatively low usage frequency and the area in the target third-party application that has no response to the contact actions should be preferably selected. Therefore, all historical contact actions during the running time of the target third-party application may be determined based on the historical usage information of the target third-party application. And based on the contact areas corresponding to all the historical contact actions within the target third-party application, the contact response of the target third-party application, and the contact response of the in-vehicle unit parameters, the optional parameter adjustment area corresponding to the target third-party application may be determined.
[0071] Specifically, when selecting the parameter adjustment area, the number of contact actions corresponding to each area can be determined, so as to determine the first optional parameter adjustment area where the number of contact actions is lower than the preset number threshold, such as the black screen areas on both sides of the target third-party application with poor adaptability on the in-vehicle screen. The second optional parameter adjustment area where the target third-party application does not respond to the contact action can also be determined. And the third optional parameter adjustment area where the target third-party application responds to the contact action, but the in-vehicle parameters do not change. At this time, the set of areas of the first optional parameter adjustment area, the second optional parameter adjustment area, and the third optional parameter adjustment area can be used as the optional target in-vehicle parameters of the target third-party application. By setting the optional target in-vehicle parameters corresponding to different target third-party applications, the parameter adjustment of different target third-party applications can be personalized according to the user's usage habits. That is, the parameter adjustment area settings of each user for each target third-party application can be different. At the same time, the user can upload the parameter adjustment area settings of different target third-party applications to the cloud, which is convenient for the user to adjust the parameters when changing vehicles, and convenient for other cloud users to directly use the relatively mature parameter adjustment area settings. At the same time, when the area range of a single parameter adjustment area is large, the single parameter adjustment area can be further divided to generate multiple parameter adjustment areas for the user to select. It should be noted that the parameter adjustment area here corresponds to the target third-party application, rather than the in-vehicle screen. When the target third-party application is displayed on different in-vehicle screens, the parameter adjustment area in the corresponding target third-party application is the same. The specific area division can be determined based on the size ratio between the in-vehicle screens, which will not be elaborated here.
[0072] In one embodiment, the user can also set the target in-vehicle device parameters corresponding to different parameter adjustment regions according to their own habits. At this time, all optional target in-vehicle device parameters of the target third-party application can be determined based on the application type of the target third-party application. For example, for a target third-party application without voice output, the volume parameter is not included in all optional target in-vehicle device parameters at this time. Then, based on the target third-party application contact response and the in-vehicle device parameter contact response corresponding to all historical contact actions, the optional target in-vehicle device parameters corresponding to each parameter adjustment region can be determined. If the target third-party application responds to the historical contact action, but the in-vehicle device parameters do not change due to the historical contact action, the target in-vehicle device parameters corresponding to the current parameter adjustment region can be determined based on the response of the target third-party application. For example, after the user slides within the parameter adjustment region, a volume progress bar appears in the target third-party application, but the in-vehicle device parameters do not change. Then, the optional target in-vehicle device parameters corresponding to the parameter adjustment region here should only be the volume parameter to prevent the brightness parameter from being adjusted while there is a volume progress bar in the target third-party application, which can easily lead to a poor user experience. If there are multiple optional target in-vehicle device parameters in a single parameter adjustment region after screening, any one of the multiple target in-vehicle device parameters can be selected as the target in-vehicle device parameter corresponding to the single parameter adjustment region.
[0073] The above parameter adjustment regions and the corresponding target in-vehicle device parameters can be pre-stored in the storage device of the computer device. When the user first opens the target third-party application or modifies the settings corresponding to the target third-party application, the computer device can select the parameter adjustment regions and the corresponding target in-vehicle device parameters from the storage device. Of course, the computer device can also obtain the parameter adjustment regions and the corresponding target in-vehicle device parameters from other external devices. For example, the parameter adjustment regions and the corresponding target in-vehicle device parameters are stored in the cloud. When the target third-party application is first opened or the settings corresponding to the target third-party application are modified, the computer device can obtain the parameter adjustment regions and the corresponding target in-vehicle device parameters from the cloud. The present embodiment does not limit the acquisition method of the parameter adjustment regions and the corresponding target in-vehicle device parameters.
[0074] As Figure 3 shown, an embodiment of the present application also provides an in-vehicle device parameter adjustment device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein,
[0075] the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to:
[0076] Determine that the target third-party application is in a running state, and obtain the target application parameters corresponding to the target third-party application; if it is monitored that the application parameter change value of the target application parameters within a preset time period; then based on the application parameter change value, generate a vehicle parameter adjustment instruction; based on the vehicle parameter adjustment instruction, adjust the target vehicle parameters corresponding to the target application parameters.
[0077] An embodiment of the present application further provides a vehicle, including: at least one processor; and, a memory communicatively connected to the at least one processor; wherein,
[0078] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to:
[0079] Determine that the target third-party application is in a running state, and obtain the target application parameters corresponding to the target third-party application; if it is monitored that the application parameter change value of the target application parameters within a preset time period; then based on the application parameter change value, generate a vehicle parameter adjustment instruction; based on the vehicle parameter adjustment instruction, adjust the target vehicle parameters corresponding to the target application parameters.
[0080] An embodiment of the present application further provides a non-volatile computer storage medium, storing computer-executable instructions, and the computer-executable instructions are set to:
[0081] Determine that the target third-party application is in a running state, and obtain the target application parameters corresponding to the target third-party application; if it is monitored that the application parameter change value of the target application parameters within a preset time period; then based on the application parameter change value, generate a vehicle parameter adjustment instruction; based on the vehicle parameter adjustment instruction, adjust the target vehicle parameters corresponding to the target application parameters.
[0082] In this embodiment, the vehicle can be divided into functional modules according to the above method example. For example, it can correspond to each functional module, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, only a logical function division, and there can be other division methods in actual implementation.
[0083] In the case of dividing each functional module according to the corresponding functions, the vehicle may include: a target application parameter module, a monitoring module, an instruction generation module, an adjustment module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be cited in the function description of the corresponding functional module, and will not be repeated here.
[0084] The vehicle provided in this embodiment is used to execute the above vehicle-mounted parameter adjustment method, so the same effects as those of the above implementation method can be achieved. In the case of adopting an integrated unit, the vehicle may include a processing module and a storage module. Among them, the processing module can be used to control and manage the actions of the vehicle. The storage module can be used to support the vehicle to execute mutual program codes, data, etc.
[0085] Among them, the processing module can be a processor or a controller, which can implement or execute various exemplary logic blocks, modules and circuits described in connection with the disclosure of the present application. The processor can also be a combination that realizes computing functions, such as including a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory.
[0086] This embodiment also provides a computer-readable storage medium. Computer program codes are stored in the computer-readable storage medium (including but not limited to disk memories, CD-ROMs, optical memories, etc.). When the computer program codes run on a computer, the computer is caused to execute the above-related method steps to implement a vehicle-mounted parameter adjustment method provided in the above embodiment.
[0087] This embodiment also provides a computer program product. When the computer program product runs on a computer, the computer is caused to execute the above-related steps to implement a vehicle-mounted parameter adjustment method provided in the above embodiment. Among them, the beneficial effects of the above embodiment can be referred to the beneficial effects in the corresponding method provided above, and will not be elaborated here.
[0088] Through the description of the above embodiments, those skilled in the art can understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0089] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of devices or units can be in electrical, mechanical or other forms. In the description of the present disclosure, it should be understood that if terms such as "upper", "lower", "front", "rear", "left" and "right" are used to indicate the orientation or positional relationship, it is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the indicated position or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present disclosure.
[0090] It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, commodity or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, commodity or device including the element.
[0091] The above are only the embodiments of the present disclosure and are not used to limit the present disclosure. For those skilled in the art, the present disclosure can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included within the scope of the claims of the present disclosure.
Claims
1. A method for adjusting vehicle machine parameters, characterized in that, Including: Determine that the target third-party application is in a running state, and obtain the target application parameters corresponding to the target third-party application; If it is monitored that the application parameter value of the target application parameter changes, obtain the application parameter change value within a preset time period; Generate a vehicle-mounted parameter adjustment instruction based on the application parameter change value; Adjust the target vehicle-mounted parameter corresponding to the target application parameter based on the vehicle-mounted parameter adjustment instruction.
2. The method according to claim 1, wherein The generating a vehicle-mounted parameter adjustment instruction based on the application parameter change value specifically includes: Obtain the current application parameter value corresponding to the target third-party application and the application parameter range; Obtain the current vehicle-mounted parameter value of the target vehicle-mounted parameter and the vehicle-mounted parameter range; Based on the current application parameter value, the application parameter range, the current vehicle-mounted parameter value, and the vehicle-mounted parameter range, determine the parameter conversion ratio between the target application parameter and the target vehicle-mounted parameter; Generate the vehicle-mounted parameter adjustment instruction based on the parameter conversion ratio and the application parameter change value within the preset time period.
3. The method according to claim 1, wherein The obtaining the target application parameters corresponding to the target third-party application specifically includes: Record multiple parameter adjustment actions for adjusting the target application parameter, and the set of changed parameters within the target third-party application corresponding to each parameter adjustment action; Based on the action amplitude corresponding to each parameter adjustment action and the parameter change amplitude within the set of changed parameters, determine the parameter name of the target application parameter; Bind the parameter name of the target application parameter to the name of the target third-party application.
4. The method according to claim 1, wherein Before generating the vehicle-mounted parameter adjustment instruction based on the application parameter change value, the method further includes: Obtain the current vehicle-mounted parameter value of the target vehicle-mounted parameter corresponding to the application parameter change value; After adjusting the target vehicle-mounted parameter corresponding to the target application parameter based on the vehicle-mounted parameter adjustment instruction, the method further includes: Determine that an exit instruction of the target third-party application is received; Generate a vehicle-mounted parameter adjustment instruction based on the current vehicle-mounted parameter value; Adjust the vehicle-mounted parameters based on the vehicle-mounted parameter adjustment instruction to adjust the target vehicle-mounted parameter to the current vehicle-mounted parameter value.
5. The method according to claim 1, wherein The obtaining the target application parameters corresponding to the target third-party application, the method further includes: Determine that the application parameter change value of the target application parameter cannot be monitored within a preset time period; Then determine the target area where the target third-party application is located within the vehicle-mounted screen; Monitor the screen contact action information within the target area through the vehicle-mounted screen; Generate a vehicle-mounted parameter adjustment instruction based on the screen contact action information; Adjust the target vehicle-mounted parameter corresponding to the target vehicle-mounted parameter within the target area based on the vehicle-mounted parameter adjustment instruction.
6. The method according to claim 5, wherein The screen contact action information includes the screen contact action trajectory and the contact time corresponding to each trajectory point of the screen contact action; The generating a vehicle-mounted parameter adjustment instruction based on the screen contact action information specifically includes: Determine the target vehicle-mounted parameter type corresponding to the vehicle-mounted parameter adjustment instruction based on the contact time and the area where each track point of the screen contact action is located, where the target vehicle-mounted parameter type at least includes a screen brightness parameter and a volume parameter; Determine the vehicle-mounted parameter change value based on the target vehicle-mounted parameter type and the screen contact action track; Generate the vehicle-mounted parameter adjustment instruction based on the target vehicle-mounted parameter type and the parameter change value.
7. The method according to claim 6, characterized in that, The determining the target vehicle-mounted parameter type corresponding to the vehicle-mounted parameter adjustment instruction based on the contact time and the area where each track point of the screen contact action is located specifically includes: Determine the contact start point included in the screen contact action based on the contact time corresponding to each track point of the screen contact action; If the area where the contact start point is located is within the parameter adjustment area corresponding to the target vehicle-mounted parameter, then use the target vehicle-mounted parameter type corresponding to the parameter adjustment area as the target vehicle-mounted parameter type corresponding to the vehicle-mounted parameter adjustment instruction; If the area where the contact start point is located is not within the parameter adjustment area, then determine the distribution probability of each track point of each screen contact action within each parameter adjustment area within a preset time period; the starting point of the preset time period is the time point corresponding to the contact start point; If the distribution probability of a certain parameter adjustment area is higher than a preset threshold, use the target application parameter type corresponding to the parameter adjustment area as the target application parameter type corresponding to the vehicle-mounted parameter adjustment instruction; If the distribution probabilities of all the parameter adjustment areas are lower than the preset threshold, then the screen contact action is determined to be an invalid adjustment action for the target vehicle-mounted parameter.
8. The method according to claim 6, wherein The determining the vehicle-mounted parameter change value based on the target vehicle-mounted parameter type and the screen contact action track specifically includes: Determine the moving distance of the screen contact action track in a preset direction based on the screen contact action track; Determine the vehicle-mounted parameter change value corresponding to the screen contact action track based on the moving distance and the preset parameter change value corresponding to a unit moving distance.
9. The method according to claim 5, wherein Before listening for the screen contact action information in the target area through the vehicle-mounted screen, the method further includes: Determine all historical contact actions during the running time of the target third-party application based on the historical usage information of the target third-party application; Determine the parameter adjustment area corresponding to the target third-party application based on the contact area, the target third-party application contact reaction, and the vehicle-mounted parameter contact reaction corresponding to all historical contact actions within the target third-party application.
10. A vehicle, characterized in that, Including: At least one processor; And a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute: Determine that the target third-party application is in a running state and obtain the target application parameters corresponding to the target third-party application; If it is monitored that the application parameter value of the target application parameter changes, then obtain the application parameter change value within a preset time period; Generate a vehicle head unit parameter adjustment instruction based on the change value of the application parameter; Adjust the target vehicle head unit parameter corresponding to the target application parameter based on the vehicle head unit parameter adjustment instruction.