Soft switch setting methods, devices, electronic equipment and vehicles

By receiving soft-switch function requirements, generating and displaying target soft switches using preset function databases and signal matrix databases, the problem of soft switches not being able to be freely constructed in existing technologies is solved, enabling personalized settings and higher adaptability.

CN120803333BActive Publication Date: 2026-06-30GREAT WALL MOTOR CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREAT WALL MOTOR CO LTD
Filing Date
2025-06-27
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

The soft switches on the existing vehicle human-machine interface cannot be freely constructed according to user needs, resulting in poor functional compatibility, affecting user experience and potentially causing inconvenience in emergency situations.

Method used

By receiving the soft switch function requirement, the system uses a preset function database to determine whether a signal matrix exists, determines whether a target signal matrix exists, generates the target signal matrix, and generates and displays the target soft switch.

Benefits of technology

It enables soft switches that allow users to personalize vehicle functions according to their needs, improving the adaptability of the soft switches on the display system to user requirements and enhancing the convenience and safety of operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120803333B_ABST
    Figure CN120803333B_ABST
Patent Text Reader

Abstract

This application provides a soft-switch setting method, apparatus, electronic device, and vehicle, relating to the field of intelligent vehicle technology. The method includes: receiving a soft-switch function requirement; determining, based on the soft-switch function requirement and a preset function database, whether a target signal identifier corresponding to the soft-switch function requirement exists; responding to the existence of a target signal identifier, determining, based on the target signal identifier, whether a target signal matrix corresponding to the target signal identifier exists in a signal matrix database; responding to the existence of a target signal matrix in the signal matrix database, determining a corresponding signal control strategy based on the target signal matrix and the soft-switch function requirement; and generating and displaying the target soft switch on a display system according to the signal control strategy. The technical solution of this application enables personalized soft-switch settings for vehicle functions, improving the adaptability of the soft switch on the display system to user needs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent vehicle technology, and in particular to a soft switch setting method, device, electronic device, and vehicle. Background Technology

[0002] In the context of the development of intelligent vehicles, human-machine interfaces have become an important way for drivers to interact with vehicle systems.

[0003] Soft switches refer to a technology that uses software to control switching functions. Existing human-machine interfaces (HMIs) can display soft switches, allowing users to quickly interact with the vehicle system by triggering them. However, the functionality of soft switches on HMIs is often limited. First, some functions lack corresponding soft switches; second, existing soft switches do not match user needs; and finally, it is impossible to add custom soft switches to meet specific user requirements. This not only affects the user's vehicle experience but may also cause inconvenience in emergency situations. Summary of the Invention

[0004] In view of this, the purpose of this application is to provide a soft switch setting method, device, electronic device and vehicle to solve the problem of poor compatibility between the existing soft switches on the display system and the user, which is caused by the inability to add soft switches according to user needs.

[0005] To achieve the above objectives, this application provides a soft switch setting method, which includes:

[0006] Receive soft-switching function requirements;

[0007] Based on the soft-switching function requirements and the preset function database, determine whether there is a target signal identifier corresponding to the soft-switching function requirements; wherein, the preset function database is a database containing signal identifiers corresponding to each function;

[0008] In response to the existence of a target signal identifier corresponding to the soft-switching function requirement, the system determines whether a target signal matrix corresponding to the target signal identifier exists in the signal matrix database based on the target signal identifier; wherein, the signal matrix database is a database containing signal matrices corresponding to each signal identifier.

[0009] In response to the existence of a target signal matrix in the signal matrix database, a corresponding signal control strategy is determined based on the target signal matrix and the soft-switching function requirements.

[0010] According to the signal control strategy, the target soft switch is generated and displayed on the display system.

[0011] Based on the above method, the step of determining whether there is a target signal identifier corresponding to the soft-switching function requirement according to the soft-switching function requirement and the preset function database includes:

[0012] Based on the soft switch function requirements, determine the corresponding function keywords;

[0013] Based on the functional keywords, a search is performed in the preset functional database to determine whether there is a target signal identifier corresponding to the soft switch function requirement.

[0014] Based on the above method, the step of responding to the existence of a target signal identifier corresponding to the soft-switching function requirement, and determining whether a target signal matrix corresponding to the target signal identifier exists in the signal matrix database according to the target signal identifier, includes:

[0015] In response to the existence of a target function identifier corresponding to the soft switch function requirement, it is determined whether the security corresponding to the target function identifier is secure;

[0016] If the security corresponding to the target function identifier is secure, then based on the target signal identifier, determine whether the target signal matrix corresponding to the target signal identifier exists in the signal matrix database.

[0017] Based on the above method, the step of determining whether a target signal matrix corresponding to the target signal identifier exists in the signal matrix database according to the target signal identifier includes:

[0018] For each target signal identifier, a search is performed in the signal matrix database based on the target signal identifier to determine the existence status of the signal matrix corresponding to the target signal identifier;

[0019] If all states of the signal matrix are present, it is determined that a target signal matrix exists in the signal matrix database, and the signal matrix corresponding to each target signal identifier in the signal matrix database is taken as the target signal matrix.

[0020] If at least one signal matrix is ​​found to be absent, then it is determined that the target signal matrix does not exist in the signal matrix database.

[0021] In addition to the methods described above, the following are also included:

[0022] If there is no target signal identifier corresponding to the soft switch function requirement or the target signal matrix does not exist in the signal matrix database, the cause of failure is determined, and the soft switch function requirement, the cause of failure, and the vehicle identifier are uploaded to the cloud platform. The cloud platform then determines the number of vehicle identifiers and the number of triggers corresponding to each soft switch function requirement, determines the update priority corresponding to the soft switch function requirement based on the number of vehicle identifiers and the number of triggers, and updates the preset function database and / or the signal matrix database based on the update priority and the cause of failure.

[0023] Based on the above method, after generating and displaying the target soft switch on the display system according to the signal control strategy, the method further includes:

[0024] In response to receiving the trigger operation of the target soft switch, the gateway status and data integrity corresponding to the target soft switch are obtained;

[0025] If the gateway status is valid and the data integrity is complete, then the signal control strategy corresponding to the target soft switch is executed.

[0026] Based on the above method, the soft-switching function requirement includes:

[0027] In response to receiving a soft switch setting request, a soft switch generation script template is displayed on the display system;

[0028] Receive initial functional requirements, determine initial keywords based on the initial functional requirements, and search the preset functional database based on the initial keywords to determine whether there are at least two candidate functional identifiers corresponding to the soft switch functional requirements;

[0029] If so, then based on at least two candidate function identifiers, generate opinion information, display the opinion information on the display system, and return to execute the operation of receiving the initial function requirement;

[0030] If not, the initial functional requirement will be determined as a soft-switching functional requirement.

[0031] To achieve the above objectives, this application also provides a soft switch setting device, which includes:

[0032] The soft-switching function requirement receiving module is used to receive soft-switching function requirements.

[0033] The first judgment module is used to determine whether there is a target signal identifier corresponding to the soft switch function requirement based on the soft switch function requirement and the preset function database; wherein, the preset function database is a database containing signal identifiers corresponding to each function;

[0034] The second judgment module is used to, in response to the existence of a target signal identifier corresponding to the soft switch function requirement, determine whether a target signal matrix corresponding to the target signal identifier exists in the signal matrix database; wherein, the signal matrix database is a database containing signal matrices corresponding to each signal identifier;

[0035] The signal control strategy determination module is used to determine the corresponding signal control strategy based on the target signal matrix and the soft-switching function requirements in response to the existence of a target signal matrix in the signal matrix database.

[0036] A soft switch display module is used to generate and display a target soft switch on a display system according to the signal control strategy.

[0037] In view of the above objectives, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the soft switch setting method provided in any embodiment of this application.

[0038] For the purposes described above, this application also provides a vehicle, characterized in that the vehicle includes electronic equipment as provided in any embodiment of this application.

[0039] As can be seen from the above, the soft switch setting method provided in this application receives soft switch function requirements, determines the user's need to add a soft switch, and then, based on the soft switch function requirements and a preset function database, determines whether there is a target signal identifier corresponding to the soft switch function requirements, so as to determine whether the vehicle has the corresponding function. If the vehicle has the function, the corresponding target signal identifier can be determined. In response to the existence of a target signal identifier corresponding to the soft switch function requirements, the method determines whether there is a target signal matrix corresponding to the target signal identifier in the signal matrix database, so as to determine whether the signal control of the corresponding function can be performed. In response to the existence of a target signal matrix in the signal matrix database, the method determines the corresponding signal control strategy based on the target signal matrix and the soft switch function requirements, so as to construct the execution strategy for the soft switch function requirements. Based on the signal control strategy, the target soft switch is generated and displayed on the display system. This solves the problem in the prior art that it is impossible to freely construct soft switches according to user needs, realizes the personalized setting of vehicle functions with soft switches, and improves the adaptability of soft switches on the display system to user needs. Attached Figure Description

[0040] Figure 1 A flowchart illustrating a soft switch setting method provided in an embodiment of this application;

[0041] Figure 2 A flowchart illustrating another soft switch setting method provided in this application embodiment;

[0042] Figure 3 This is a schematic diagram of the structure of a soft switch setting device provided in an embodiment of this application;

[0043] Figure 4 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0044] Figure 1 This is a flowchart illustrating a soft switch setting method provided in an embodiment of this application. Figure 1 The illustrated process applies to situations where a corresponding soft switch is generated on the display system based on the user's soft switch function requirements. Furthermore, this soft switch can be used by the user to fulfill the corresponding soft switch function requirements. This method can be executed by control devices such as the vehicle controller or the overall vehicle controller. Figure 1 As shown, the method may specifically include S110-S150.

[0045] S110, Receive soft switch function requirements.

[0046] Among them, the soft switch function requirement is the function requirement of the soft switch that the user wants to add.

[0047] Specifically, when determining whether to add a soft switch setting, the system can receive the user's input of the soft switch function requirements via text, voice, or other means.

[0048] S120. Based on the soft-switching function requirements and the preset function database, determine whether there is a target signal identifier corresponding to the soft-switching function requirements.

[0049] The preset function database contains signal identifiers for each function. For example, for the function "seat ventilation," the corresponding signal identifier is 0x123. The target signal identifiers are the signal identifiers in the preset function database that correspond to the soft-switch function requirements.

[0050] Specifically, in the preset function database, the soft switch function requirements are matched to determine if a data item corresponding to the soft switch function requirement can be found. If a match is found, the signal identifier in the data item is used as the target signal identifier, confirming the existence of a target signal identifier corresponding to the soft switch function requirement. If no match is found, it can be determined that no target signal identifier corresponding to the soft switch function requirement exists, and the target soft switch corresponding to the soft switch function requirement cannot be directly set. Further judgment is required after the preset function database is updated.

[0051] S130. In response to the existence of a target signal identifier corresponding to the soft-switching function requirement, determine whether there is a target signal matrix corresponding to the target signal identifier in the signal matrix database based on the target signal identifier.

[0052] The signal matrix database contains signal matrices corresponding to each signal identifier. For example, signal identifier 0x123 corresponds to a signal matrix including signal name, sender, receiver, signal code, and transmission period. Signal names may include: 1. Driver's seat ventilation, 2. Passenger's seat ventilation, 3. Second-row seat ventilation. The signal code for driver's seat ventilation may include: 0x1: ON; 0x2: OFF; 0x3: Level 1; 0x4: Level 2, etc. The target signal matrix is ​​the signal matrix in the signal matrix database corresponding to the target signal identifier.

[0053] Specifically, if a target signal identifier corresponding to the soft-switching function requirement exists, the target signal identifier is used to search in the signal matrix database to determine whether a matching signal matrix can be found. If a match is found, the found signal matrix is ​​used as the target signal matrix corresponding to the target signal identifier. If no match is found, it is determined that no target signal matrix corresponding to the target signal identifier exists.

[0054] Building upon the example above, dangerous function blocking can be added during the search process to prevent the generation of corresponding target soft switches. This can be achieved in the following ways:

[0055] In response to the existence of a target function identifier corresponding to the soft-switching function requirement, it is determined whether the security corresponding to the target function identifier is secure.

[0056] If the security corresponding to the target function identifier is secure, then based on the target signal identifier, determine whether the target signal matrix corresponding to the target signal identifier exists in the signal matrix database.

[0057] The safety setting is used to indicate whether an external function is safe, categorized as either safe or dangerous. For example, the safety setting for functions like braking and steering control is dangerous; therefore, generating such soft switches is prohibited.

[0058] Specifically, if a target function identifier corresponding to the soft switch function requirement exists, it is necessary to further determine whether the soft switch function requirement can be externally configured as a soft switch. Therefore, it is necessary to determine whether the security level corresponding to the target function identifier is safe. For example, this can be determined by checking the security field of the target function identifier; a security field value of 0 indicates safety, and a security field value of 1 indicates danger. If the security level corresponding to the target function identifier is dangerous, it means that even if the target signal identifier corresponding to the function keyword can be retrieved, a soft switch cannot be configured for this soft switch function requirement. If the security level corresponding to the target function identifier is safe, it means that the soft switch function requirement can be used by setting up a soft switch. Therefore, subsequent operations can be performed, namely, checking whether a target signal matrix corresponding to the target signal identifier exists in the signal matrix database based on the target signal identifier.

[0059] S140. In response to the existence of a target signal matrix in the signal matrix database, the corresponding signal control strategy is determined based on the target signal matrix and the soft-switching function requirements.

[0060] Among them, the signal control strategy is a part of the control strategy determined in the target signal matrix for the soft switching function requirements, that is, how to execute to realize the soft switching function requirements when the target soft switch is triggered.

[0061] Specifically, if a target signal matrix exists in the signal matrix database, the signal control strategy corresponding to the soft-switching function requirement is determined by matching the target signal matrix according to the soft-switching function requirement. This strategy may include the signal sender, receiver, signal encoding, and transmission period.

[0062] The above example demonstrates how to intelligently select appropriate signal interaction strategies based on soft-switching functional requirements (user requirements), a preset functional database, and a signal matrix database, and construct signal control strategies corresponding to the soft-switching functional requirements, so as to facilitate the dynamic generation of soft switches in the future.

[0063] S150. Based on the signal control strategy, generate and display the target soft switch on the display system.

[0064] The display system is a visual operating system provided on the vehicle, and the soft switches displayed on this system are available for user use. The target soft switch is a soft switch capable of fulfilling the user's requested soft switch functionalities.

[0065] Specifically, according to the signal control strategy, the configuration code corresponding to the target soft switch is generated. The configuration code is then used to configure the display system to generate and display the target soft switch for users to use in order to achieve the corresponding soft switch function requirements.

[0066] The above example establishes a preset functional database, including functional specifications and interaction specifications, as well as a signal matrix database, to collect and organize the specification requirements of various vehicle functions, providing a basis for the generation of soft switches.

[0067] Based on the above example, there are two other scenarios: one is that there is no target signal identifier corresponding to the soft-switching function requirement, and the other is that the target signal matrix does not exist in the signal matrix database. If either of these scenarios occurs, it can be handled in the following way:

[0068] If there is no target signal identifier corresponding to the soft switch function requirement or the target signal matrix does not exist in the signal matrix database, the cause of failure is determined, and the soft switch function requirement, the cause of failure, and the vehicle identifier are uploaded to the cloud platform. The cloud platform then determines the number of vehicle identifiers and the number of triggers corresponding to each soft switch function requirement, determines the update priority corresponding to the soft switch function requirement based on the number of vehicle identifiers and the number of triggers, and updates the preset function database and / or signal matrix database based on the update priority and the cause of failure.

[0069] Reasons for failure include the absence of the function and a missing signal matrix. Vehicle identification is used to distinguish each vehicle and can be a unique identifier such as a vehicle identification number. The cloud platform can be a cloud-based platform used for statistical function updates and signal matrix updates. Trigger count is the number of times the soft switch function requirement is set, which can be the sum of the number of times the soft switch function requirement is triggered for each vehicle. Update priority is the priority for expanding and updating soft switch function requirements that were not successfully set.

[0070] Specifically, if the target signal identifier corresponding to the soft switch function requirement does not exist, or the target signal matrix does not exist in the signal matrix database, the target soft switch cannot be set first. Secondly, the reason for failure needs to be determined. If the target signal identifier corresponding to the soft switch function requirement cannot be found in the preset function database, the reason for failure is that the function does not exist. If the target signal matrix does not exist in the signal matrix database, the reason for failure is that the signal matrix is ​​missing. Then, the soft switch function requirement, the reason for failure, and the vehicle identifier are uploaded to the cloud platform. The cloud platform periodically determines the number of vehicle identifiers and the number of triggers corresponding to each uploaded soft switch function requirement. These are sorted according to the number of vehicle identifiers and the number of triggers, and corresponding update priorities are configured for each soft switch function requirement. Based on the update priority, staff can select the corresponding soft switch function requirement to add vehicle functions or adjust the signal matrix. If the reason for failure is that the function does not exist, the preset function database needs to be updated, which may require updating the signal matrix database. If the reason for failure is that the signal matrix is ​​missing, the signal matrix database also needs to be updated.

[0071] Optionally, the update priority for the soft switch function requirement can be determined based on the number of vehicle identifiers and the number of triggers using the following methods:

[0072] If the number of vehicle identifiers is greater than or equal to a first threshold and the number of triggers is greater than or equal to a second threshold, then the update priority corresponding to the soft switch function requirement is determined to be the first priority.

[0073] If the number of vehicle identifiers is greater than or equal to the first threshold and the number of triggers is less than the second threshold, then the update priority corresponding to the soft switch function requirement is determined to be the second priority.

[0074] If the number of vehicle identifiers is less than the first threshold and the number of triggers is greater than or equal to the second threshold, then the update priority corresponding to the soft switch function requirement is determined to be the second priority.

[0075] If the number of vehicle identifiers is less than the first threshold and the number of triggers is less than the second threshold, then the update priority corresponding to the soft switch function requirement is determined to be the third priority.

[0076] The first threshold is set based on demand to determine if there are enough vehicle requests to add the soft-switch function. The second threshold is set based on demand to determine if the soft-switch function request has been triggered a sufficient number of times. The first priority is higher than the second priority, and the second priority is higher than the third priority.

[0077] Specifically, it checks whether the number of vehicle identifiers is greater than or equal to a first threshold and whether the number of triggers is greater than or equal to a second threshold. If both are satisfied, it indicates that the demand for the soft switch function is very high, and the update priority corresponding to the soft switch function demand is determined as the first priority. If one is satisfied and the other is not, it indicates that the demand for the soft switch function is relatively high, and the update priority corresponding to the soft switch function demand is determined as the second priority. If neither is satisfied, it indicates that the demand for the soft switch function is very low, and the update priority corresponding to the soft switch function demand is determined as the third priority.

[0078] Optionally, after periodically updating the preset function database and / or signal matrix database, the updated preset function database and / or signal matrix database can be synchronized to each vehicle via OTA (Over-the-Air Technology).

[0079] The soft switch setting method provided in this embodiment receives soft switch function requirements, determines the user's need to add a soft switch, and then, based on the soft switch function requirements and a preset function database, determines whether there is a target signal identifier corresponding to the soft switch function requirements to determine whether the vehicle has the corresponding function. If the vehicle has the function, the corresponding target signal identifier can be identified. In response to the existence of a target signal identifier corresponding to the soft switch function requirements, the method checks whether there is a target signal matrix corresponding to the target signal identifier in the signal matrix database to determine whether signal control for the corresponding function can be performed. In response to the existence of a target signal matrix in the signal matrix database, the method determines a corresponding signal control strategy based on the target signal matrix and the soft switch function requirements to construct an execution strategy for the soft switch function requirements. Based on the signal control strategy, the target soft switch is generated and displayed on the display system. This solves the problem in the prior art that soft switches cannot be freely constructed according to user needs, realizes personalized soft switch settings for vehicle functions, and improves the adaptability of soft switches on the display system to user needs.

[0080] The above embodiments describe the method of setting up soft switches. Besides determining the signal control strategy and generating and displaying the target soft switch, this embodiment further describes two judgment processes: determining whether a target signal identifier corresponding to the soft switch functional requirements exists, and determining whether a target signal matrix corresponding to the target signal identifier exists in the signal matrix database. Furthermore, it adds a process for triggering the use of the target soft switch after displaying it, and further describes this process. Figure 2 As shown. Figure 2 This is a flowchart of another soft-switch setting method provided in an embodiment of this application, wherein the explanations of terms that are the same as or corresponding to those in the above embodiments are not repeated here. Figure 2 As shown, the method may specifically include S210-S290.

[0081] S210, Receive soft switch function requirements.

[0082] Based on the above example, if the soft-switching function requirement is a single function requirement, it can be received in the following manner:

[0083] In response to receiving a soft switch setting request, a soft switch generation script template is displayed on the display system;

[0084] Receive initial functional requirements, determine initial keywords based on initial functional requirements, and search the preset functional database based on initial keywords to determine whether there are at least two candidate functional identifiers corresponding to the soft switch functional requirements.

[0085] If so, then based on at least two candidate function identifiers, generate opinion information, display the opinion information on the display system, and return to the operation of receiving the initial function requirements;

[0086] If not, the initial functional requirement will be defined as a soft-switching functional requirement.

[0087] The soft switch setting request is a user's request to generate a new soft switch. The soft switch generation script template is a template provided to the user to describe their desired functionality. Initial functional requirements are the functional requirements entered by the user based on the soft switch generation script template. Initial keywords are keywords extracted from the initial functional requirements. Candidate function identifiers are signal identifiers retrieved from a preset function database using the initial keywords. Feedback information provides the user with feedback on at least two candidate function identifiers, allowing for a more accurate description of their functional requirements.

[0088] Specifically, upon receiving a user's soft switch setting request, a soft switch generation script template is displayed on the display system for the user to describe the function according to this template. The function input by the user is received as the initial functional requirement. Keyword extraction is performed on the initial functional requirement to obtain initial keywords. These initial keywords are then used to search the preset functional database to determine if there are at least two candidate function identifiers corresponding to the soft switch functional requirement. If so, it indicates that the functional description is not detailed enough, and two or more function identifiers are matched. These candidate function identifiers are analyzed to identify differences, and feedback information is generated based on these differences and displayed on the display system for the user to view and refine the functional description. Furthermore, if the user stops the soft switch setting request, the process can return to receive the initial functional requirement for the next round of analysis. If not, it indicates that only one function identifier matches the initial functional requirement, or no function identifier matches the initial functional requirement. Therefore, no further refinement by the user is required, and the initial functional requirement can be determined as the soft switch functional requirement.

[0089] Optionally, the soft switch function requirement can be a combined function requirement, meaning it can include two or more function requirements. These function requirements can be implemented through a single soft switch, thus enabling one-button operation of multiple functions. For example, the soft switch function requirement could include adjusting the seat heating to level two, opening the sunshade and adjusting it to level two, and turning on the steering wheel heating. The soft switch function requirement can then be received in the following manner:

[0090] In response to receiving a soft switch setting request, a soft switch generation script template is displayed on the display system;

[0091] Receive initial functional requirements and determine whether the initial functional requirements are combined functional requirements;

[0092] If the initial functional requirement is a composite functional requirement, then the initial functional requirement is broken down into at least two sub-functional requirements;

[0093] For each split functional requirement, determine the sub-functional keywords corresponding to the split functional requirement, and search the preset functional database based on the sub-functional keywords to determine whether there are at least two sub-functional identifiers corresponding to the split functional requirement.

[0094] If at least one split functional requirement has at least two corresponding sub-functional identifiers, then for the split functional requirement with at least two corresponding sub-functional identifiers, generate detailed information corresponding to the split functional requirement, display the detailed information on the display system, and return to the operation of receiving the initial functional requirement.

[0095] If not, the initial functional requirement will be defined as a soft-switching functional requirement.

[0096] Here, "decomposed functional requirements" refers to the different requirements within the initial functional requirements. "Sub-function keywords" are keywords used to briefly describe the decomposed functional requirements. "Sub-function identifiers" are signal identifiers obtained by retrieving sub-function keywords from a pre-defined functional database. "Detailed information" refers to further refinements made to the decomposed functional requirements.

[0097] Specifically, upon receiving a user's soft switch setting request, a soft switch generation script template is displayed on the display system for the user to describe the function according to this template. The user's input function is then received as the initial functional requirement. The system analyzes whether the initial functional requirement contains two or more functional requirements. If so, it is determined to be a combined functional requirement; otherwise, it is determined to be a single function. If the initial functional requirement is a combined functional requirement, it is broken down into at least two sub-functional requirements based on the different functional requirements. For each sub-functional requirement, a process similar to the single-function analysis can be performed. Specifically, for each sub-functional requirement, the corresponding sub-function keyword is used to search the preset functional database to determine if there are at least two sub-function identifiers corresponding to that sub-functional requirement. If at least one sub-functional requirement has at least two corresponding sub-function identifiers, it indicates that the description of at least one sub-functional requirement is not detailed enough. The sub-functional requirements with at least two corresponding sub-function identifiers are analyzed separately. The analysis of the at least two sub-function identifiers in each group reveals the distinguishing points for each sub-functional requirement requiring feedback, and detailed information for that sub-functional requirement is generated based on these distinguishing points. The system displays detailed information for users to view and refine the functional description, then returns to the process of receiving the initial functional requirements. If not, it indicates that each broken-down functional requirement is clearly described; therefore, no further refinement by the user is required, and the initial functional requirements can be defined as soft-switch functional requirements.

[0098] Optionally, user needs (soft switch function requirements) can be collected through the vehicle's voice assistant. Specifically, the user can enter the corresponding skill mode through the voice assistant, select to create a soft switch, and a pop-up window will clearly indicate the corresponding template or example to facilitate the collection of specific user needs. Next, it's necessary to determine if the user needs are clear. This involves a preliminary analysis of the collected user needs using NLP (Natural Language Processing), intent recognition, keyword matching, and other methods, connecting to various databases for analysis. For cases where user needs are unclear, an animation demonstrating the corresponding implementation can be provided after analysis and matching, allowing the user to confirm the accuracy of the analysis results.

[0099] S220. Based on the soft-switching function requirements, determine the function keywords corresponding to the soft-switching function requirements.

[0100] Among them, functional keywords are keywords that can briefly summarize the requirements of soft-switching functions.

[0101] Specifically, keywords are extracted from the soft-switching function requirements proposed by users to obtain functional keywords, which are used to briefly characterize the soft-switching function requirements.

[0102] S230. Based on the functional keywords, search the preset functional database to determine whether there is a target signal identifier corresponding to the soft switch function requirement.

[0103] Specifically, a search is performed in the preset function database using function keywords. If a data item matching the function keyword is found, the signal identifier in that data item is used as the target signal identifier corresponding to the soft-switching function requirement, thus confirming the existence of a target signal identifier corresponding to the soft-switching function requirement. If no data item matching the function keyword is found, it means that this function does not exist in the preset function database; therefore, it is determined that no target signal identifier corresponding to the soft-switching function requirement exists.

[0104] S240. In response to the existence of a target signal identifier corresponding to the soft-switching function requirement, for each target signal identifier, a search is performed in the signal matrix database based on the target signal identifier to determine the existence status of the signal matrix corresponding to the target signal identifier.

[0105] The existence state of the signal matrix is ​​a state quantity used to indicate whether the signal matrix corresponding to the target signal identifier exists in the signal matrix database. It can be either present or absent.

[0106] Specifically, if a target signal identifier exists corresponding to the soft-switching function requirement, a single function may have one target signal identifier, while combined function requirements may have two or more target signal identifiers. For each target signal identifier, a search is performed in the signal matrix database. By searching according to the target signal identifier, the existence status of the signal matrix corresponding to the target signal identifier can be obtained. Based on this, the existence status of the signal matrix corresponding to each target signal identifier can be obtained.

[0107] S250. In response to the presence of all signal matrices, it is determined that a target signal matrix exists in the signal matrix database, and the signal matrix corresponding to each target signal identifier in the signal matrix database is taken as the target signal matrix; in response to the presence of at least one signal matrix not existing, it is determined that a target signal matrix does not exist in the signal matrix database.

[0108] Specifically, if the signal matrix corresponding to each target signal identifier is in the "existence" state, then it can be determined that the target signal matrix exists in the signal matrix database, and the signal matrix corresponding to each target signal identifier in the signal matrix database is taken as the target signal matrix. If the signal matrix corresponding to at least one target signal identifier is in the "existence" state, it means that not all signal matrices can be found. Therefore, the signal matrices found in the signal matrix database are incomplete, and it can be determined that the target signal matrix does not exist in the signal matrix database.

[0109] S260. In response to the existence of a target signal matrix in the signal matrix database, the corresponding signal control strategy is determined based on the target signal matrix and the soft-switching function requirements.

[0110] S270. Based on the signal control strategy, generate and display the target soft switch on the display system.

[0111] Optionally, possible switch types can be listed as needed, forming a switch database. Before displaying, the corresponding switch type and placement location can be selected, and the target soft switch can be displayed based on the selection.

[0112] S280, in response to receiving the trigger operation of the target soft switch, obtain the gateway status and data integrity corresponding to the target soft switch.

[0113] Among these, the trigger operation is the user's activation action on the target soft switch, such as a single click or double click. The gateway status is the communication verification result used by the target soft switch. Data integrity is the result of verifying the integrity of the data emitted by the target soft switch.

[0114] Specifically, if a user triggers the target soft switch, the target soft switch can be verified, including the integrity of the communication network and signal data, to obtain the gateway status and data integrity of the target soft switch at the current moment.

[0115] Optionally, end-to-end reliability can be achieved through E2E (End-to-End) verification, including CRC (Cyclic Redundancy Check), CHECKSUM, and ROLLCOUNTER. The necessity of this verification lies in the fact that errors caused by incomplete signals can lead to ECU (Electronic Control Unit) failure.

[0116] After the target soft switch is rendered and generated, it needs to be verified and sent according to a safety verification method before use. This is to meet the safety level requirements of the vehicle system (such as ISO 26262 functional safety) and to ensure that critical operations require multiple verifications. The verification covers the entire signal transmission process.

[0117] S290. In response to the gateway status being valid and the data integrity being complete, the signal control strategy corresponding to the target soft switch is executed.

[0118] Specifically, if the gateway status is valid and the data integrity is complete, it means that the target soft switch can be used. Therefore, the signal control policy corresponding to the target soft switch is invoked and executed.

[0119] The entire process begins with user requirements (the user's proposed soft-switch function requirements), emphasizing starting from the user's actual needs to ensure that the final soft-switch function meets user expectations. Furthermore, the process includes multiple verification and checking steps to ensure the correctness and rationality of each step, ultimately achieving accurate and error-free functionality.

[0120] The soft switch setting method provided in this embodiment determines the functional keywords corresponding to the soft switch functional requirements based on the soft switch functional requirements. Then, based on the functional keywords, a search is performed in a preset functional database to determine whether a target signal identifier corresponding to the soft switch functional requirements exists. Using keyword retrieval allows for quick retrieval of results in the preset functional database. Furthermore, for each target signal identifier, a search is performed in a signal matrix database to determine the existence status of the signal matrix corresponding to the target signal identifier. If all signal matrix existence statuses are positive, it is determined that a target signal matrix exists in the signal matrix database, and the signal matrix corresponding to each target signal identifier in the signal matrix database is taken as the target signal matrix. If at least one signal matrix is ​​found to be non-existent, it is determined that the target signal matrix does not exist in the signal matrix database. This can also be applied to cases with multiple target signal identifiers. Furthermore, verification can be added when the target soft switch is used. In response to receiving the trigger operation of the target soft switch, the gateway status and data integrity corresponding to the target soft switch are obtained. If the gateway status is valid and the data integrity is complete, the signal control strategy corresponding to the target soft switch is executed to improve the effectiveness and security of the target soft switch. This improves the speed of searching in the preset function database, adds a scenario where a soft switch function requirement can be adapted to multiple target signal identifiers, and also improves the security and reliability of the target soft switch during use.

[0121] It should be noted that the method in this embodiment can be executed by a single device, such as a computer or server. The method can also be applied in a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method in this embodiment, and the multiple devices will interact with each other to complete the method described.

[0122] It should be noted that the above description describes some embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0123] Based on the same inventive concept, corresponding to any of the above embodiments, this application also provides a soft switch setting device. Figure 3 This is a schematic diagram of a soft switch setting device provided in an embodiment of this application, with reference to... Figure 3 The soft switch setting device includes: a soft switch function requirement receiving module 310, a first judgment module 320, a second judgment module 330, a signal control strategy determination module 340, and a soft switch display module 350.

[0124] The system includes: a soft-switch function requirement receiving module 310 for receiving soft-switch function requirements; a first judgment module 320 for determining, based on the soft-switch function requirements and a preset function database, whether a target signal identifier corresponding to the soft-switch function requirements exists; wherein the preset function database is a database containing signal identifiers corresponding to each function; a second judgment module 330 for, in response to the existence of a target signal identifier corresponding to the soft-switch function requirements, determining, based on the target signal identifier, whether a target signal matrix corresponding to the target signal identifier exists in a signal matrix database; wherein the signal matrix database is a database containing signal matrices corresponding to each signal identifier; a signal control strategy determination module 340 for, in response to the existence of a target signal matrix in the signal matrix database, determining a corresponding signal control strategy based on the target signal matrix and the soft-switch function requirements; and a soft-switch display module 350 for generating and displaying the target soft switch on a display system according to the signal control strategy.

[0125] Based on the above example, optionally, the soft switch function requirement receiving module 310 is further configured to determine the function keyword corresponding to the soft switch function requirement according to the soft switch function requirement; and to search the preset function database according to the function keyword to determine whether there is a target signal identifier corresponding to the soft switch function requirement.

[0126] Based on the above example, optionally, the second judgment module 330 is further configured to, in response to the existence of a target function identifier corresponding to the soft switch function requirement, determine whether the security corresponding to the target function identifier is secure; and in response to the security corresponding to the target function identifier being secure, determine whether a target signal matrix corresponding to the target signal identifier exists in the signal matrix database based on the target signal identifier.

[0127] Based on the above example, optionally, the second judgment module 330 is further configured to, for each target signal identifier, search the signal matrix database according to the target signal identifier to determine the existence status of the signal matrix corresponding to the target signal identifier; in response to the fact that all the signal matrix existence statuses are present, determine that the target signal matrix exists in the signal matrix database, and take the signal matrix corresponding to each target signal identifier in the signal matrix database as the target signal matrix; in response to the fact that at least one signal matrix existence status is absent, determine that the target signal matrix does not exist in the signal matrix database.

[0128] Optionally, based on the above example, the device further includes: a failure upload module, configured to determine the cause of failure in response to the absence of a target signal identifier corresponding to the soft switch function requirement or the absence of a target signal matrix in the signal matrix database, and upload the soft switch function requirement, the cause of failure, and the vehicle identifier to the cloud platform, so that the cloud platform determines the number of vehicle identifiers and the number of triggers corresponding to each soft switch function requirement, determines the update priority corresponding to the soft switch function requirement based on the number of vehicle identifiers and the number of triggers, and updates the preset function database and / or the signal matrix database based on the update priority and the cause of failure.

[0129] Based on the above example, optionally, after generating and displaying the target soft switch on the display system according to the signal control strategy, the device further includes: using a verification module to obtain the gateway status and data integrity corresponding to the target soft switch in response to receiving the trigger operation of the target soft switch; and executing the signal control strategy corresponding to the target soft switch in response to the gateway status being valid and the data integrity being complete.

[0130] Based on the above example, optionally, the soft switch function requirement receiving module 310 is further configured to, in response to receiving a soft switch setting request, display a soft switch generation script template on the display system; receive an initial function requirement, determine an initial keyword based on the initial function requirement, and search the preset function database based on the initial keyword to determine whether there are at least two candidate function identifiers corresponding to the soft switch function requirement; if so, generate opinion information based on the at least two candidate function identifiers, display the opinion information on the display system, and return to execute the operation of receiving the initial function requirement; if not, determine the initial function requirement as a soft switch function requirement.

[0131] For ease of description, the above devices are described in terms of function, divided into various modules. Of course, in implementing this application, the functions of each module can be implemented in one or more software and / or hardware.

[0132] The apparatus of the above embodiments is used to implement the corresponding soft switch setting method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0133] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the soft switch setting method described in any of the above embodiments.

[0134] Figure 4 This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0135] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0136] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0137] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0138] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means, such as USB (Universal Serial Bus) or Ethernet cable, or wireless means, such as mobile network, Wi-Fi (Wireless Fidelity), or Bluetooth.

[0139] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0140] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0141] The electronic devices described above are used to implement the corresponding soft switch setting methods in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0142] Based on the same inventive concept, this application also provides a vehicle, wherein the vehicle includes electronic equipment as described in the above embodiments.

[0143] Based on the same inventive concept, corresponding to any of the above embodiments, this application also provides a computer-readable storage medium storing computer instructions for causing the computer to execute the soft switch setting method as described in any of the above embodiments.

[0144] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0145] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the soft switch setting method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0146] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application (including the claims) is limited to these examples; within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in the details for the sake of brevity.

[0147] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of the implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0148] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0149] The embodiments of this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of this application.

Claims

1. A soft-switch setting method, characterized in that, include: Receive soft-switching function requirements; Based on the soft-switching function requirements and the preset function database, determine whether there is a target signal identifier corresponding to the soft-switching function requirements; wherein, the preset function database is a database containing signal identifiers corresponding to each function; In response to the existence of a target signal identifier corresponding to the soft-switching function requirement, the system determines whether a target signal matrix corresponding to the target signal identifier exists in the signal matrix database based on the target signal identifier; wherein, the signal matrix database is a database containing signal matrices corresponding to each signal identifier. In response to the existence of a target signal matrix in the signal matrix database, a corresponding signal control strategy is determined based on the target signal matrix and the soft-switching function requirements. According to the signal control strategy, the target soft switch is generated and displayed on the display system; Also includes: If there is no target signal identifier corresponding to the soft switch function requirement or the target signal matrix does not exist in the signal matrix database, the cause of failure is determined, and the soft switch function requirement, the cause of failure, and the vehicle identifier are uploaded to the cloud platform. The cloud platform then determines the number of vehicle identifiers and the number of triggers corresponding to each soft switch function requirement, determines the update priority corresponding to the soft switch function requirement based on the number of vehicle identifiers and the number of triggers, and updates the preset function database and / or the signal matrix database based on the update priority and the cause of failure.

2. The method according to claim 1, characterized in that, The step of determining whether a target signal identifier corresponding to the soft-switching function requirement exists based on the soft-switching function requirement and a preset function database includes: Based on the soft switch function requirements, determine the corresponding function keywords; Based on the functional keywords, a search is performed in the preset functional database to determine whether there is a target signal identifier corresponding to the soft switch function requirement.

3. The method according to claim 1, characterized in that, In response to the existence of a target signal identifier corresponding to the soft-switching function requirement, the step of determining whether a target signal matrix corresponding to the target signal identifier exists in the signal matrix database based on the target signal identifier includes: In response to the existence of a target function identifier corresponding to the soft switch function requirement, it is determined whether the security corresponding to the target function identifier is secure; If the security corresponding to the target function identifier is secure, then based on the target signal identifier, determine whether the target signal matrix corresponding to the target signal identifier exists in the signal matrix database.

4. The method according to claim 1, characterized in that, The step of determining whether a target signal matrix corresponding to the target signal identifier exists in the signal matrix database based on the target signal identifier includes: For each target signal identifier, a search is performed in the signal matrix database based on the target signal identifier to determine the existence status of the signal matrix corresponding to the target signal identifier; If all states of the signal matrix are present, it is determined that a target signal matrix exists in the signal matrix database, and the signal matrix corresponding to each target signal identifier in the signal matrix database is taken as the target signal matrix. If at least one signal matrix is ​​found to be absent, then it is determined that the target signal matrix does not exist in the signal matrix database.

5. The method according to claim 1, characterized in that, After generating and displaying the target soft switch on the display system according to the signal control strategy, the method further includes: In response to receiving the trigger operation of the target soft switch, the gateway status and data integrity corresponding to the target soft switch are obtained; If the gateway status is valid and the data integrity is complete, then the signal control strategy corresponding to the target soft switch is executed.

6. The method according to claim 1, characterized in that, The requirements for the receive soft switch function include: In response to receiving a soft switch setting request, a soft switch generation script template is displayed on the display system; Receive initial functional requirements, determine initial keywords based on the initial functional requirements, and search the preset functional database based on the initial keywords to determine whether there are at least two candidate functional identifiers corresponding to the soft switch functional requirements; If so, then based on at least two candidate function identifiers, generate opinion information, display the opinion information on the display system, and return to execute the operation of receiving the initial function requirement; If not, the initial functional requirement will be determined as a soft-switching functional requirement.

7. A soft-switching setting device, characterized in that, include: The soft-switching function requirement receiving module is used to receive soft-switching function requirements. The first judgment module is used to determine whether there is a target signal identifier corresponding to the soft switch function requirement based on the soft switch function requirement and the preset function database; wherein, the preset function database is a database containing signal identifiers corresponding to each function; The second judgment module is used to, in response to the existence of a target signal identifier corresponding to the soft switch function requirement, determine whether a target signal matrix corresponding to the target signal identifier exists in the signal matrix database; wherein, the signal matrix database is a database containing signal matrices corresponding to each signal identifier; The signal control strategy determination module is used to determine the corresponding signal control strategy based on the target signal matrix and the soft-switching function requirements in response to the existence of a target signal matrix in the signal matrix database. A soft switch display module is used to generate and display a target soft switch on a display system according to the signal control strategy. The device further includes: The failure upload module is used to determine the cause of failure in response to the absence of a target signal identifier corresponding to the soft switch function requirement or the absence of a target signal matrix in the signal matrix database. The module then uploads the soft switch function requirement, the cause of failure, and the vehicle identifier to the cloud platform. This allows the cloud platform to determine the number of vehicle identifiers and the number of triggers corresponding to each soft switch function requirement, determine the update priority for that soft switch function requirement based on the number of vehicle identifiers and the number of triggers, and update the preset function database and / or the signal matrix database based on the update priority and the cause of failure.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the soft switch setting method as described in any one of claims 1 to 6.

9. A vehicle, characterized in that, The vehicle includes the electronic equipment as described in claim 8.