Contextual model configuration method and device, vehicle, electronic equipment and storage medium

By reading and synchronizing the target configuration files of the scenario modes, the configuration complexity problem on different vehicle models and display screens is solved, the flexible configuration and efficient update of the scenario modes are achieved, and the system security and user experience are improved.

CN120645680APending Publication Date: 2025-09-16BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410275152.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-11
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

Due to the inconsistency of scenario modes across different car models, different vehicle platforms, and different display screens, scenario mode configuration is complex, consuming time and resources, increasing maintenance costs, and may result in logical operation errors, causing the scenario mode to fail to start normally.

Method used

By reading the target configuration file of the scenario mode, determining the target configuration item version and data, updating the currently used configuration item version, and synchronizing the target configuration item data to related parties, the configuration items of the scenario mode are updated and adjusted using a unified configuration item interface, reducing duplication and error risks and improving adaptation efficiency.

Benefits of technology

It achieves flexible configuration and maintainability of scenario modes, reduces the duplication and error risk of configuration item adaptation, and improves adaptation efficiency and system security and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120645680A_ABST
    Figure CN120645680A_ABST
Patent Text Reader

Abstract

The invention discloses a contextual model configuration method and device, a vehicle, electronic equipment and a storage medium, and the method comprises the steps: reading a configuration file of a contextual model, and determining a target configuration item version and target configuration item data of the contextual model; under the condition that it is determined that the currently used configuration item version is inconsistent with the target configuration item version, or under the condition that the currently used configuration item version is an empty configuration item version, the contextual model is updated to be the target configuration item version; and after updating of the contextual model is completed, synchronizing the target configuration item data to an associated party corresponding to the contextual model. According to the method, the target configuration item version and the corresponding target configuration item data are written into the configuration file, the configuration item version is provided through the configuration item interface to be updated and adjusted, the configuration item adaptation repeatability and the risk of adaptation errors are reduced, the adaptation efficiency is improved, and the flexibility and maintainability of differentiated configuration of the contextual model are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle technology, and in particular to a scenario mode adaptation method and device, a vehicle, an electronic device, and a storage medium. Background Art

[0002] With the development of science and technology, more and more vehicles are equipped with scenario modes to meet the various needs of users. Since the various scenarios may be inconsistent in different car models, different car platforms (some models with a common chassis design and vehicle structure), and different display screens, and the associated parties of the scenario modes between different car models or different car platforms (different entrances for starting the scenario modes, such as the main driver screen settings, the main driver quick panel, the co-driver quick panel, the rear seat quick panel, and voice control to enter the scenario mode, etc.) may be inconsistent, in order to make the scenario modes applicable to different car platforms, different car models, and different display screens, the availability of each scenario mode needs to be differentiated for different car platforms, different car models, and different display screens.

[0003] In the related art, during the configuration process of scenario modes, since the various modes of the scenario modes may be inconsistent in different car models, different car platforms and different display screens, and the associated parties between different car models and car platforms may be inconsistent, as the associated parties of each mode of the scenario mode, it is necessary to process the configuration item information of each mode of the scenario mode and the logic between each mode and the associated parties, which involves the identification and configuration of parameters of different car platforms, car models and display screens, which brings the complexity of differentiated configuration to the associated parties in configuring the scenario modes.

[0004] Due to the complexity of the differentiated configuration method caused by the inconsistency of each mode and the inconsistency of the associated parties of this scenario mode, processing the configuration item information adapted by each mode of the scenario mode and the logic between each mode and the associated parties will not only consume additional time and resources, and increase the cost of updating and maintenance, but there is also the possibility of errors or omissions in the configuration of each mode of the scenario mode, resulting in logical operation errors on different vehicle platforms, models and display screens, and the inability to start the scenario mode. Summary of the Invention

[0005] The present disclosure provides a method and apparatus for configuring scenario modes, as well as a vehicle, electronic device, and storage medium. Its primary purpose is to address the complexity of differentiated scenario mode configurations, which results in processing the configuration item information for each scenario mode and the logic between each mode and its associated parties. This not only consumes additional time and resources, increases update and maintenance costs, but also can lead to errors or omissions in the configuration of each scenario mode, resulting in logical operation errors and inability to activate the scenario mode on different vehicle platforms, models, and display screens.

[0006] According to a first aspect of the present disclosure, a method for configuring a scenario mode is provided, comprising:

[0007] Reading a target configuration file corresponding to a scenario mode, and determining a target configuration item version and target configuration item data of the scenario mode; the configuration file includes at least one configuration item version, and one configuration item version corresponds to one configuration item data;

[0008] Determine the current configuration item version used by the scenario mode;

[0009] When it is determined that the currently used configuration item version is inconsistent with the target configuration item version, or when the currently used configuration item version is an empty configuration item version, updating the scenario mode to the target configuration item version and target configuration item data;

[0010] After completing the update of the scenario mode, the target configuration item data is synchronized to the associated party corresponding to the scenario mode.

[0011] Optionally, before reading the target configuration file corresponding to the scenario mode, the method further includes:

[0012] Configuring configuration item data of the scenario mode and storing the configuration item data in the target configuration file, wherein the configuration item data includes configuration item parameters, and the configuration item parameters include vehicle type parameters, display screen parameters, and function configuration item parameters, wherein a mapping relationship exists between the vehicle type parameters and the display screen parameters, and a mapping relationship exists between the display screen parameters and the function configuration item parameters;

[0013] Configure the corresponding configuration item version for the target configuration file.

[0014] Optionally, synchronizing the target configuration item data to an associated party corresponding to the scenario mode includes:

[0015] The target configuration item data is sent to the associated party based on the configuration item interface of the scenario mode, so that the associated party returns the available status / unavailable status of each scenario mode in the target configuration item data, wherein the configuration item interface is used for managing the configuration item parameters and providing and receiving status information of the configuration item parameters;

[0016] Receiving, based on the configuration item interface, the available status / unavailable status of each scenario mode sent by the associated party;

[0017] After synchronizing the target configuration item data to the associated party corresponding to the scenario mode, the method includes:

[0018] When it is determined that the scenario mode is in an available state, determining whether each configuration item parameter corresponding to each scenario mode is available according to the vehicle model parameter and the display screen parameter;

[0019] The target configuration file is reconfigured according to the available / unavailable status of the parameters of each configuration item.

[0020] Optionally, before configuring the configuration item data of the scenario mode, the method includes:

[0021] In response to a new configuration item parameter adding instruction, adding the new configuration item parameter to the target configuration file, wherein the new configuration item parameter includes at least one of a new vehicle model parameter, a new display screen parameter, and a new function configuration item parameter;

[0022] The scenario mode configurations corresponding to the newly added parameters are all configured to be unavailable.

[0023] Optionally, after all scenario mode configurations corresponding to the newly added parameters are configured to be unavailable, the method includes:

[0024] Determining whether each newly added function configuration item parameter corresponding to each scenario mode is available based on the newly added vehicle model parameters and the newly added display screen parameters;

[0025] When it is determined that the parameters of each new function configuration item are available, the parameters of each new function configuration item are adjusted to an available state.

[0026] Optionally, after determining the currently used configuration item version of the scenario mode, the method further includes:

[0027] Comparing the target configuration item version with the currently used configuration item version;

[0028] If it is determined that the target configuration item version is consistent with the currently used configuration item version, the currently used configuration item version of the scenario mode is kept unchanged.

[0029] According to a second aspect of the present disclosure, a configuration device for a scenario mode is provided, comprising:

[0030] a reading unit, configured to read a target configuration file corresponding to a scenario mode, and determine a target configuration item version and target configuration item data of the scenario mode; the configuration file includes at least one configuration item version, and one configuration item version corresponds to one configuration item data;

[0031] a determining unit, configured to determine a currently used configuration item version of the scenario mode;

[0032] an updating unit, configured to update the scenario mode to the target configuration item version and target configuration item data when it is determined that the currently used configuration item version is inconsistent with the target configuration item version, or when the currently used configuration item version is an empty configuration item version;

[0033] A synchronization unit is used to synchronize the target configuration item data to the associated party corresponding to the scenario mode after completing the update of the scenario mode.

[0034] Optionally, the apparatus further includes a first configuration unit, wherein the first configuration unit includes:

[0035] A configuration module, configured to configure the configuration item data of the scenario mode before reading the configuration file of the scenario mode;

[0036] a storage module, configured to store the configuration item data in the configuration file, the configuration item data including configuration item parameters, the configuration item parameters including vehicle type parameters, display screen parameters, and function configuration item parameters, wherein a mapping relationship exists between the vehicle type parameters and the display screen parameters, and a mapping relationship exists between the display screen parameters and the function configuration item parameters;

[0037] The first determining module is configured to determine a configuration item version corresponding to the configuration item data.

[0038] Optionally, the synchronization unit includes:

[0039] a sending module, configured to send the target configuration item data to the associated party based on a configuration item interface of a scenario mode, so that the associated party returns the available status / unavailable status of each scenario mode in the target configuration item data, wherein the configuration item interface is used for managing the configuration item parameters and providing and receiving status information of the configuration item parameters;

[0040] A receiving module, configured to receive, based on the configuration item interface, the available status / unavailable status of each scenario mode sent by the associated party;

[0041] Optionally, the device further includes a second configuration unit, including:

[0042] A second determination module is configured to, after synchronizing the target configuration item data to the associated party corresponding to the scenario mode, determine whether each configuration item parameter corresponding to each scenario mode is available based on the vehicle model parameter and the display screen parameter if the scenario mode is determined to be available;

[0043] The second configuration module is configured to perform secondary configuration on the target configuration file according to the available / unavailable status of the parameters of each configuration item.

[0044] Optionally, the device further includes a new unit, and the new unit includes:

[0045] an adding module, configured to, before configuring the configuration item data of the scenario mode, add the newly added configuration item parameters to the target configuration file in response to a new configuration item parameter adding instruction, wherein the newly added configuration item parameters include at least one of newly added vehicle model parameters, newly added display screen parameters, and newly added function configuration item parameters;

[0046] The third configuration module is used to configure all scenario mode configurations corresponding to the newly added parameters to be in an unavailable state.

[0047] Optionally, the newly added unit further includes:

[0048] A third determining module is configured to, after configuring all scenario mode configurations corresponding to the newly added item parameters to an unavailable state, determine whether each newly added function configuration item parameter corresponding to each scenario mode is available based on the newly added vehicle model parameters and the newly added display screen parameters;

[0049] The adjustment module is used to adjust the parameters of each new function configuration item to an available state when it is determined that the parameters of each new function configuration item are available.

[0050] Optionally, the device further includes a comparison unit, wherein the comparison unit includes:

[0051] A comparison module, configured to compare the target configuration item version with the currently used configuration item version;

[0052] A maintaining unit is configured to maintain the currently used configuration item version of the scenario mode unchanged if it is determined that the target configuration item version is consistent with the currently used configuration item version.

[0053] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0054] at least one processor; and

[0055] a memory communicatively connected to the at least one processor; wherein,

[0056] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect.

[0057] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the first aspect.

[0058] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the method as described in the first aspect above.

[0059] The configuration method and device, vehicle, electronic device and storage medium of the scenario mode provided by the present disclosure read the configuration file of the scenario mode to determine the target configuration item version and target configuration item data of the scenario mode; the configuration file contains at least one configuration item version, and one configuration item version corresponds to one configuration item data; the currently used configuration item version of the scenario mode is determined; when it is determined that the currently used configuration item version is inconsistent with the target configuration item version, or when the currently used configuration item version is an empty configuration item version, the scenario mode is updated to the target configuration item version and target configuration item data; after completing the update of the scenario mode, the target configuration item data is synchronized to the associated party corresponding to the scenario mode. Compared with other related technologies, the configuration method of the scenario mode provided by the present invention writes the target configuration item version and the corresponding target configuration item data into the configuration file, and provides the related party configuration item version through a unified configuration item interface to update and adjust the scenario mode configuration items, thereby reducing the duplication of configuration item adaptation and the risk of adaptation errors, improving adaptation efficiency, and at the same time converging the logic of updating configuration item data and status management of configuration item parameters within the scenario mode, realizing flexible management of the available status of configuration item parameters, and improving the flexibility and maintainability of differentiated configuration of scenario modes.

[0060] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] The accompanying drawings are provided to facilitate a better understanding of the present invention and do not constitute a limitation of the present disclosure.

[0062] Figure 1A flow chart of a method for configuring a scenario mode provided in an embodiment of the present disclosure;

[0063] Figure 2 A reference diagram of a target configuration item version provided in an embodiment of the present application;

[0064] Figure 3 A reference diagram of target configuration item data provided in an embodiment of the present application;

[0065] Figure 4 A schematic diagram of the structure of a configuration device for a scenario mode provided in an embodiment of the present disclosure;

[0066] Figure 5 A schematic diagram of the structure of another scenario mode configuration device provided by an embodiment of the present disclosure;

[0067] Figure 6 A schematic block diagram of an exemplary electronic device 300 provided in accordance with an embodiment of the present disclosure. DETAILED DESCRIPTION

[0068] The following description of exemplary embodiments of the present disclosure is made in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0069] The following describes a method, apparatus, electronic device, and storage medium for configuring a scenario mode according to embodiments of the present disclosure with reference to the accompanying drawings.

[0070] Figure 1 This is a flow chart of a configuration method for a scenario mode provided by an embodiment of the present disclosure. The method is applied in a vehicle. The control method can be executed by a control device or equipment for information prompts. The device or equipment can be configured in a server, a processor or a main control chip. For example, it can be deployed on the vehicle's vehicle computer side, domain controller side, etc. Figure 1 As shown, the method comprises the following steps:

[0071] Step 101 , reading a target configuration file corresponding to a scenario mode, and determining a target configuration item version and target configuration item data of the scenario mode; the configuration file includes at least one configuration item version, and one configuration item version corresponds to one configuration item data.

[0072] In one embodiment of the present application, the configuration file is used to store the target configuration item version and target configuration item data. The configuration file contains at least one configuration item version, with each configuration item version corresponding to one configuration item data. The target configuration item data is the basis for adjusting the configuration item parameters of the scenario mode. The target configuration item version is the version that needs to be updated.

[0073] In some embodiments, the target configuration item version may be stored in a manner that is not limited to SettingsProvider. The SettingsProvider is a Provider that provides settings data sharing and can be simply understood as a database. It contains global and system-level user-programmed settings. For example, in the Settings application on a mobile phone, users can make many device settings in Settings, and many of these user preference settings are saved in SettingsProvider. SettingsProvider classifies data into three types: Global, System, and Secure. Among them, Global type data is all preference settings that are open to all users of the system. Third-party applications (Application, APP) have read permissions but no write permissions; System type data contains a variety of user preference system settings; Secure type data is user preference system settings for security, and third-party APPs have read permissions but no write permissions.

[0074] In order to better understand the target configuration item version, Figure 2 A reference diagram of a target configuration item version provided in an embodiment of the present application. Figure 2 As shown, the target configuration item version is set in the format of key-value pairs (key:value). Figure 2 Indicates setting the configuration item version with version number 1 as the target configuration item version, where: Figure 2 The "xmode_config_enable_version" indicates the scenario mode configuration item version.

[0075] The target configuration item data includes configuration item parameters, which include vehicle type parameters, display screen parameters, and function configuration item parameters. There is a mapping relationship between the vehicle type parameters and the display screen parameters, and there is a mapping relationship between the display screen parameters and the function configuration item parameters. In order to better understand the target configuration item data, Figure 3 A reference diagram of target configuration item data provided in an embodiment of the present application. Figure 3In the "xmode_config_enable_data" section, the scenario mode configuration item data is represented by the target configuration item data, which also uses the (key:value) format. X01 is the vehicle model parameter, indicating that the current target configuration item data serves as the basis for controlling the vehicle model X01. MAIN, VICE, and REAR are the display screens, corresponding to the main driver's display, the co-driver's display, and the rear display, respectively. NAP_MODE, CAMP_MODE, DRIVING_TIPS_MODE, CAR_WASH_MODE, NOT_DISTURB_MODE, MOVE_OFF_ON_TIME, BED_MODE, ACC_MODE, and ACTIVATE_GUIDE are the function configuration item parameters, corresponding to nine scenario modes: nap mode, camping mode, driving reminder mode, car wash mode, do not disturb mode, scheduled departure, bed mode, leave the vehicle with power on mode, and activation guide. Use true and false to set the scenario mode's enabled / disabled state. For example, "NAP_MODE":true in "X01_MAIN" indicates that the nap mode on the main driver's display of the vehicle model X01 is available and can be activated through the main driver's display.

[0076] Step 102: Determine the current configuration item version of the scenario mode.

[0077] In order to determine whether the scenario mode needs to be updated, the target configuration item version needs to be compared with the currently used configuration item version, so the currently used configuration item version of the scenario mode needs to be determined.

[0078] Step 103: When it is determined that the currently used configuration item version is inconsistent with the target configuration item version, or when the currently used configuration item version is an empty configuration item version, the scenario mode is updated to the target configuration item version and target configuration item data.

[0079] In an embodiment of the present application, in order to better illustrate how, when it is determined that the currently used configuration item version is inconsistent with the target configuration item version, or when the currently used configuration item version is an empty configuration item version, the scenario mode is updated to the target configuration item version and the target configuration item data, please refer to the following embodiment: If the version number of the currently used configuration item version is 2 and the target configuration item version is 3, the scenario mode is updated to the target configuration item version with version number 3; similarly, if the currently used configuration item version is an empty configuration version, that is, the current scenario mode does not use any configuration item version, the scenario mode is updated to the target configuration item version.

[0080] Step 104: After completing the update of the scenario mode, synchronize the target configuration item data to the associated party corresponding to the scenario mode.

[0081] In an embodiment of the present application, the associated parties are different entrances for starting the scenario mode. Taking the nap mode entrance as an example, the change in the available status of the entrance requires changes to the following associated parties: main driver screen settings, main driver shortcut panel, co-driver shortcut panel, rear seat shortcut panel and voice control to enter nap mode.

[0082] The present disclosure provides a configuration method for a scenario mode, which reads a configuration file of the scenario mode to determine a target configuration item version and target configuration item data of the scenario mode; the configuration file includes at least one configuration item version, and one configuration item version corresponds to one configuration item data; the currently used configuration item version of the scenario mode is determined; when it is determined that the currently used configuration item version is inconsistent with the target configuration item version, or when the currently used configuration item version is an empty configuration item version, the scenario mode is updated to the target configuration item version and target configuration item data; after completing the update of the scenario mode, the target configuration item data is synchronized to an associated party corresponding to the scenario mode, so that the associated party can determine the available status of the scenario mode based on the target configuration item data. Compared with other related technologies, the configuration method of the scenario mode provided by the present invention writes the target configuration item version and the corresponding target configuration item data into the configuration file, and provides the related party configuration item version through a unified configuration item interface to update and adjust the scenario mode configuration items, thereby reducing the duplication of configuration item adaptation and the risk of adaptation errors, improving adaptation efficiency, and at the same time converging the logic of updating configuration item data and status management of configuration item parameters within the scenario mode, realizing flexible management of the available status of configuration item parameters, and improving the flexibility and maintainability of differentiated configuration of scenario modes.

[0083] In some embodiments, after completing the update of the scenario mode, the target configuration item data is synchronized to the associated party corresponding to the scenario mode. This can be done by, but not limited to, using a unified configuration item interface provided by the configuration file, wherein the configuration item interface is used to match the associated party and provide the target configuration item data to the associated party. A determination is made based on the associated party as to whether the scenario mode is available, and the available / unavailable status of each scenario mode of the associated party is obtained based on the configuration item interface. The configuration file is then reconfigured based on the available / unavailable status of each configuration item parameter.

[0084] By providing a unified scenario-based configuration item interface, other related businesses only need to adapt to the configuration item interface to complete the adaptation. This can protect the configuration item interface from abuse or misuse, improving the security and stability of the system.

[0085] In some embodiments, if the configuration item data needs to be changed, after the target configuration file is reconfigured according to the available / unavailable status of the various configuration item parameters, in response to a restart instruction for the vehicle, the vehicle is restarted, and the target configuration item data is loaded and run.

[0086] As a supplement to the above step 103, when determining whether the currently used configuration item version is consistent with the target configuration item version, the target configuration item version is compared with the currently used configuration item version. If it is determined that the target configuration item version is consistent with the currently used configuration item version, the currently used configuration item version of the scenario mode is kept unchanged.

[0087] In some embodiments, there are also cases where newly added configuration item parameters exist. In order to avoid other problems caused by the vehicle model, corresponding display screen and corresponding functional configuration items corresponding to the newly added configuration item parameters during use, the method provided by the present disclosure configures all the scenario mode configurations corresponding to the newly added item parameters to an unavailable state after the newly added configuration item parameters are updated. The specific implementation method includes adding the newly added configuration item parameters to the target configuration file, and the newly added configuration item parameters include at least one of newly added vehicle model parameters, newly added display screen parameters and newly added functional configuration item parameters; for example, if the X01 vehicle model adds an unknown functional configuration item to the main driver's display screen and the co-driver's display screen, i.e., the rear display screen, then the corresponding newly added configuration item parameters added in the target configuration file should be configured to an unavailable state by default.

[0088] As a supplement to the above embodiment, after all scenario mode configurations corresponding to the newly added item parameters are configured as unavailable, whether the respective newly added function configuration item parameters corresponding to the respective scenario modes are available is determined based on the newly added vehicle model parameters and the newly added display screen parameters; the target configuration file is secondary configured based on the available / unavailable status of the respective newly added function configuration item parameters to determine the available / unavailable status of the scenario modes corresponding to the newly added item parameters; after the secondary configuration is completed, the respective newly added function configuration item parameters are adjusted to an available status. For example, in the original current configuration item version with version number 2, the main driver's display screen does not have a "double bed mode" function configuration item, but after updating to the target configuration item version with version number 3, the main driver's display screen has added a "double bed mode" function configuration item. In this case, the "double bed mode" function configuration item of the current main driver's display screen is in an unavailable status. Alternatively, when a new car model A appears, the configuration item version currently used by the new car model may be configuration item version b of another car model B. Configuration item version b only has configuration item parameters for the main driver's display screen and the front passenger display screen, but no configuration item parameters for the rear screen. Car model A has a main driver's display screen, a front passenger display screen, and a rear screen. Therefore, configuration item version b is not compatible with car model A. After the configuration of configuration item version a adapted for car model A is completed, configuration item version a is used to update the scenario mode of car model A. After the update, the scenario mode function items of the rear screen are set to unavailable to prevent more serious problems caused by adaptation errors. After confirming that each scenario mode function item is adapted correctly, the corresponding scenario mode function item is adjusted to an available state.

[0089] By using the method provided in the above embodiment, after the scenario mode has adapted the newly added configuration item parameters, the corresponding configuration item is set to an available state, thereby ensuring that the configuration item function can be used normally after adaptation is completed, thereby improving the availability of the scenario mode and user experience.

[0090] In summary, the embodiments of the present disclosure can achieve the following effects:

[0091] 1. By providing a unified scenario-based configuration item interface, other related businesses only need to adapt to the configuration item interface to complete the adaptation. This protects the configuration item interface from abuse or misuse, improving the security and stability of the system.

[0092] 2. After the scenario mode has adapted the newly added configuration item parameters, the corresponding configuration item is set to an available state. This ensures that the configuration item function can be used normally after adaptation, improving the usability and user experience of the scenario mode.

[0093] Corresponding to the above-mentioned scenario mode configuration method, the present invention also provides a scenario mode configuration device. Since the device embodiment of the present invention corresponds to the above-mentioned method embodiment, details not disclosed in the device embodiment can be referred to the above-mentioned method embodiment and will not be repeated in the present invention.

[0094] Figure 4 A schematic diagram of a configuration device for a scenario mode provided in an embodiment of the present disclosure is shown in FIG. Figure 4 As shown, it includes: a reading unit 21, a determining unit 22, an updating unit 23, and a synchronization unit 24.

[0095] A reading unit 21 is configured to read a target configuration file corresponding to a scenario mode and determine a target configuration item version and target configuration item data of the scenario mode; the configuration file includes at least one configuration item version, and one configuration item version corresponds to one configuration item data;

[0096] A determining unit 22, configured to determine a currently used configuration item version of the scenario mode;

[0097] An updating unit 23 is configured to update the scenario mode to the target configuration item version and target configuration item data when it is determined that the currently used configuration item version is inconsistent with the target configuration item version, or when the currently used configuration item version is an empty configuration item version;

[0098] The synchronization unit 24 is configured to synchronize the target configuration item data to the associated party corresponding to the scenario mode after completing the update of the scenario mode.

[0099] The present disclosure provides a configuration device for a scenario mode, which reads a configuration file of the scenario mode, determines a target configuration item version and target configuration item data of the scenario mode; the configuration file contains at least one configuration item version, one configuration item version corresponding to one configuration item data; determines a currently used configuration item version of the scenario mode; when it is determined that the currently used configuration item version is inconsistent with the target configuration item version, or when the currently used configuration item version is an empty configuration item version, updates the scenario mode to the target configuration item version and target configuration item data; after completing the update of the scenario mode, synchronizes the target configuration item data to the associated party corresponding to the scenario mode. Compared with other related technologies, the configuration method for the scenario mode provided by the present disclosure writes the target configuration item version and the corresponding target configuration item data into the configuration file, provides the associated party configuration item version through a unified configuration item interface to update and adjust the scenario mode configuration item, reduces the duplication of configuration item adaptation and the risk of adaptation error, improves adaptation efficiency, and at the same time converges the logic of updating configuration item data and state management of configuration item parameters within the scenario mode, realizes flexible management of the available state of configuration item parameters, and improves the flexibility and maintainability of differentiated configuration of scenario modes.

[0100] Furthermore, in a possible implementation of this embodiment, as Figure 5 As shown, the apparatus further includes a first configuration unit 25, and the first configuration unit 25 includes:

[0101] The configuration module 251 is used to configure the configuration item data of the scenario mode before reading the configuration file of the scenario mode;

[0102] a storage module 252 for storing the configuration item data in the configuration file, wherein the configuration item data includes configuration item parameters, and the configuration item parameters include vehicle type parameters, display screen parameters, and function configuration item parameters, wherein a mapping relationship exists between the vehicle type parameters and the display screen parameters, and a mapping relationship exists between the display screen parameters and the function configuration item parameters;

[0103] The first determining module 253 is configured to determine a configuration item version corresponding to the configuration item data.

[0104] Optionally, the synchronization unit 24 includes:

[0105] a sending module 241 configured to send the target configuration item data to the associated party based on a configuration item interface of a scenario mode, so that the associated party returns the available / unavailable status of each scenario mode in the target configuration item data, wherein the configuration item interface is used to manage the configuration item parameters and provide and receive status information of the configuration item parameters;

[0106] A receiving module 242 is configured to receive, based on the configuration item interface, the available status / unavailable status of each scenario mode sent by the associated party;

[0107] Optionally, the apparatus further includes a second configuration unit 26, comprising:

[0108] A second determining module 261 is configured to, after synchronizing the target configuration item data to the associated party corresponding to the scenario mode, determine whether each configuration item parameter corresponding to each scenario mode is available based on the vehicle model parameters and the display screen parameters if the scenario mode is determined to be available;

[0109] The second configuration module 262 is configured to perform secondary configuration on the target configuration file according to the available / unavailable status of each configuration item parameter.

[0110] Optionally, the device further includes a new adding unit 27, and the new adding unit 27 includes:

[0111] an adding module 271 for adding, before configuring the configuration item data of the scenario mode, the newly added configuration item parameters in the target configuration file in response to a new configuration item parameter adding instruction, wherein the newly added configuration item parameters include at least one of newly added vehicle model parameters, newly added display screen parameters, and newly added function configuration item parameters;

[0112] The third configuration module 272 is configured to configure all scenario mode configurations corresponding to the newly added parameters to be in an unavailable state.

[0113] Optionally, the newly added unit 27 further includes:

[0114] The third determining module 273 is configured to, after configuring all the scenario mode configurations corresponding to the newly added item parameters to be unavailable, determine whether the newly added function configuration item parameters corresponding to each scenario mode are available based on the newly added vehicle model parameters and the newly added display screen parameters;

[0115] The adjustment module 274 is configured to adjust each of the newly added function configuration item parameters to an available state when it is determined that the parameters of the newly added function configuration item are available.

[0116] Optionally, the device further includes a comparison unit 28, and the comparison unit 28 includes:

[0117] Comparison module 281, configured to compare the target configuration item version with the currently used configuration item version;

[0118] The maintaining module 282 is configured to maintain the currently used configuration item version of the scenario mode unchanged if it is determined that the target configuration item version is consistent with the currently used configuration item version.

[0119] It should be noted that the above explanation of the method embodiment is also applicable to the device of this embodiment, and the principles are the same, which is not limited in this embodiment.

[0120] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0121] Figure 6 A schematic block diagram of an example electronic device 300 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are provided as examples only and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0122] like Figure 6 As shown, the device 300 includes a computing unit 301, which can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 302 or a computer program loaded from a storage unit 308 into a RAM (Random Access Memory) 303. Various programs and data required for the operation of the device 300 can also be stored in the RAM 303. The computing unit 301, ROM 302, and RAM 303 are connected to each other via a bus 304. An I / O (Input / Output) interface 305 is also connected to the bus 304.

[0123] Various components in device 300 are connected to I / O interface 305, including: an input unit 306, such as a keyboard, mouse, etc.; an output unit 307, such as various types of displays, speakers, etc.; a storage unit 308, such as a magnetic disk, optical disk, etc.; and a communication unit 309, such as a network card, modem, wireless communication transceiver, etc. The communication unit 309 allows device 300 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0124] The computing unit 301 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Unit), various specialized AI (Artificial Intelligence) computing chips, various computing units that run machine learning model algorithms, a DSP (Digital Signal Processor), and any suitable processor, controller, microcontroller, etc. The computing unit 301 performs the various methods and processes described above, such as the method for configuring a scenario mode. For example, in some embodiments, the method for configuring a scenario mode can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 308. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 300 via the ROM 302 and / or the communication unit 309. When the computer program is loaded into the RAM 303 and executed by the computing unit 301, one or more steps of the method described above can be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to execute the aforementioned scenario mode configuration method in any other appropriate manner (for example, by means of firmware).

[0125] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SOCs (System on Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0126] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0127] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or apparatus. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, RAM, ROM, EPROM (Electrically Programmable Read-Only-Memory) or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0128] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0129] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), the Internet, and blockchain networks.

[0130] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact via a communication network. This client-server relationship is established by computer programs running on the respective computers, establishing a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host, a host product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosts and VPS services ("Virtual Private Servers" or simply "VPS"). The server may also be a server in a distributed system or a server integrated with blockchain.

[0131] It's important to note that artificial intelligence (AI) is the study of how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, and planning). This encompasses both hardware and software technologies. AI hardware technologies generally include sensors, specialized AI chips, cloud computing, distributed storage, and big data processing. AI software technologies primarily encompass computer vision, speech recognition, natural language processing, machine learning / deep learning, big data processing, and knowledge graphs.

[0132] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved. This is not limited herein.

[0133] The above specific embodiments do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure shall be included within the scope of protection of this disclosure.

Claims

1. A method for configuring a scenario mode, characterized in that: include: Read the configuration file of the scenario mode and determine the target configuration item version and target configuration item data of the scenario mode; The configuration file includes at least one configuration item version, and one configuration item version corresponds to one configuration item data; Determine the current configuration item version used by the scenario mode; When it is determined that the currently used configuration item version is inconsistent with the target configuration item version, or when the currently used configuration item version is an empty configuration item version, updating the scenario mode to the target configuration item version and target configuration item data; After completing the update of the scenario mode, the target configuration item data is synchronized to the associated party corresponding to the scenario mode.

2. The method according to claim 1, characterized in that Before reading the configuration file of the scenario mode, the method further includes: Configuring configuration item data of the scenario mode and storing the configuration item data in the configuration file, wherein the configuration item data includes configuration item parameters, and the configuration item parameters include vehicle type parameters, display screen parameters, and function configuration item parameters, wherein a mapping relationship exists between the vehicle type parameters and the display screen parameters, and a mapping relationship exists between the display screen parameters and the function configuration item parameters; Determine the configuration item version corresponding to the configuration item data.

3. The method according to claim 2, characterized in that The step of synchronizing the target configuration item data to an associated party corresponding to the scenario mode includes: The target configuration item data is sent to the associated party based on the configuration item interface of the scenario mode, so that the associated party returns the available status / unavailable status of each scenario mode in the target configuration item data, wherein the configuration item interface is used for managing the configuration item parameters and providing configuration item data and receiving status information of the configuration item parameters; Receiving, based on the configuration item interface, the available status / unavailable status of each scenario mode sent by the associated party; After synchronizing the target configuration item data to the associated party corresponding to the scenario mode, the method includes: When it is determined that the scenario mode is in an available state, determining whether each configuration item parameter corresponding to each scenario mode is available according to the vehicle model parameter and the display screen parameter; The configuration file is reconfigured according to the available / unavailable status of the parameters of each configuration item.

4. The method according to claim 2, characterized in that Before configuring the configuration item data of the scenario mode, the method includes: In response to a configuration item parameter adding instruction, adding the new configuration item parameter to the target configuration file, wherein the new configuration item parameter includes at least one of a new vehicle model parameter, a new display screen parameter, and a new function configuration item parameter; The scenario mode configurations corresponding to the newly added parameters are all configured to be unavailable.

5. The method according to claim 4, characterized in that After all the scenario mode configurations corresponding to the newly added parameters are configured to be unavailable, the method includes: Determining whether each newly added function configuration item parameter corresponding to each scenario mode is available based on the newly added vehicle model parameters and the newly added display screen parameters; When it is determined that the parameters of each new function configuration item are available, the parameters of each new function configuration item are adjusted to an available state.

6. The method according to any one of claims 1 to 5, characterized in that After determining the currently used configuration item version of the scenario mode, the method further includes: Comparing the target configuration item version with the currently used configuration item version; If it is determined that the target configuration item version is consistent with the currently used configuration item version, the currently used configuration item version of the scenario mode is kept unchanged.

7. A configuration device for scene mode, characterized in that: include: A reading unit, configured to read a target configuration file corresponding to a scenario mode, and determine a target configuration item version and target configuration item data of the scenario mode; One configuration file corresponds to one configuration item version; a determining unit, configured to determine a currently used configuration item version of the scenario mode; An updating unit, configured to update the scenario mode to the target configuration item version and target configuration item data when determining that the currently used configuration item version is inconsistent with the target configuration item version; A synchronization unit is configured to synchronize the target configuration item data to an associated party corresponding to the scenario mode after completing the update of the scenario mode, so that the associated party can determine the availability status of the scenario mode based on the target configuration item data.

8. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed 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 the method according to any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 6.