Mutual exclusion function control method and device, vehicle and storage medium
By obtaining and judging the adjustment operation and feedback signals of the mutually exclusive functional controls in the vehicle, the control state rebound problem caused by the feedback time difference of the underlying signal is solved, and the stability and accuracy of the control state are achieved.
Patent Information
- Application Number
- CN202411915773.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-12-24
AI Technical Summary
In modern vehicles, the bottom signal feedback time difference of the mutually exclusive function causes the control status to rebound, affecting the user's operating experience and driving safety.
By obtaining the adjustment operations of the functional controls in the collection of mutexual function controls, the adjustment signals of each mutexual function are determined and sent to the corresponding underlying opponent. Receive the status signal feedback from the underlying device to determine whether it comes from the opponent in the function-on state. If so, return the status signal, and if not, ignore it.
Accurately filter out the valid signals corresponding to the enabled functions, avoid unexpected jumps in the shutdown control caused by the shutdown signal first reaching the upper layer, and ensure the stability and accuracy of the control status in the interactive interface.
Smart Images

Figure CN119781324A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of signal transmission control, and more specifically, to a mutually exclusive function control method, device, vehicle and storage medium in the field of signal transmission control. Background Art
[0002] In addition to some independent controls that control individual functions in modern vehicles, there are also special controls for controlling mutually exclusive functions that are activated at the same time. When operating the controls of mutually exclusive functions, the underlying hardware components (i.e., the counterpart) of each function will feedback their adjusted status signals to the upper control system.
[0003] The inventors of the present application have found that due to the influence of various software and hardware factors, there may be a certain time difference between these feedback signals. This means that when some feedback signals that do not meet the adjustment operation first reach the upper control system, the system may update the state of the mutually exclusive function control according to these erroneous signals. Summary of the invention
[0004] The present application provides a mutually exclusive function control method, device, vehicle and storage medium, which can solve the technical problem of control state rebound caused by the underlying signal feedback time difference of the mutually exclusive function in the related art.
[0005] In a first aspect, a method for mutually exclusive function control is provided, the method comprising:
[0006] Obtaining an adjustment operation for a function control in a mutually exclusive function control set, wherein the mutually exclusive function control set includes at least two function controls for turning on at least two mutually exclusive functions and one turn-off control for turning off each mutually exclusive function, wherein each function control corresponds to only one mutually exclusive function, and at least two mutually exclusive functions support only one of the functions to be turned on at the same time;
[0007] Determine adjustment signals corresponding to at least two mutually exclusive functions based on the adjustment operation, and send each adjustment signal to the underlying counterparty of the corresponding mutually exclusive function;
[0008] Receive status signals fed back by each underlying counterpart, and determine whether the status signals are from underlying counterparts in a function-enabled state;
[0009] If yes, the status signal is returned to the function control corresponding to the status signal; if no, the status signal is ignored.
[0010] The beneficial effects brought about by the technical solution of the first aspect above include at least: since the user generally hopes to turn on and use the function when operating the function control, other mutually exclusive functions will be turned off at this time. That is to say, among all mutually exclusive functions, there will be an opponent that feeds back an effective adjustment signal when the function is turned on, and the opponent of other functions will only feed back a closing signal when it is turned off. Then, when the bottom-level opponent of the mutually exclusive function feeds back a status signal, it only needs to determine whether the opponent that sends the signal is in the function-on state, so as to accurately filter out the valid signal corresponding to the turned-on function, and will not return other closing signals in the mutually exclusive function to the upper layer, thereby avoiding unexpected jumps in the closing control caused by the closing signal reaching the upper layer first.
[0011] In some possible implementations, the above-mentioned adjustment signals are sent to the underlying counterpart of the corresponding mutually exclusive function, including: sending each adjustment signal to the underlying counterpart of the corresponding mutually exclusive function through the setting channel of the corresponding mutually exclusive function.
[0012] Through the technical solutions in the above possible implementation methods, since mutually exclusive functions in the interactive interface are controlled by different controls, a separate setting channel is established between each control and the counterpart based on the function, which is used to specifically send the setting signal corresponding to the function. The distributed setting channel is conducive to the management and maintenance of the function controls in the mutually exclusive function control set.
[0013] In some possible implementations, after sending each adjustment signal to the underlying counterpart corresponding to the mutually exclusive function, the method also includes: if no status signal feedback from the underlying counterpart in the function-on state is received within the first preset time period, obtaining the current status signal of each underlying counterpart; determining whether there is a target current status signal from the underlying counterpart in the function-on state; if so, returning the target current status signal to the function control corresponding to the target current status signal; if not, returning any current status signal to the closing control.
[0014] Through the technical solution in the above possible implementation method, a waiting time threshold is set for the feedback signal of the opponent in the turned-on state. If the status signal fed back by the underlying opponent in the function-on state is not received within the first preset time, it means that an abnormality or failure may occur at this time, and it is necessary to actively obtain the current status signal of each opponent. If there is a status signal corresponding to the function-on state, it is returned to the corresponding upper-level control. If the underlying status signals are all closed signals, then any one of them can be returned to the closed control.
[0015] In some possible implementations, the method further includes: determining the intended adjustment function corresponding to the adjustment operation; after sending each adjustment signal to the underlying counterpart corresponding to the mutually exclusive function, it further includes: if no status signal is received from the underlying counterpart in the function-on state within a second preset time period, then obtaining the current status signal corresponding to the underlying counterpart of the intended adjustment function, and returning the current status signal to the function control corresponding to the intended adjustment function.
[0016] Through the technical solutions in the above possible implementation methods, when the user performs an adjustment operation, he can first record the corresponding intended function, and then, if no valid status signal is received within the specified second preset time period, he can actively request the current status signal from the counterpart corresponding to the intended function, and return the current signal of the intended function to the upper-level control to meet the user's adjustment needs for the target function.
[0017] In some possible implementations, the underlying counterpart is configured to add a functional status identifier to the status signal according to the working status; the above-mentioned determination of whether the status signal originates from the underlying counterpart in a functionally enabled state includes: determining whether the underlying counterpart corresponding to the status signal is in a functionally enabled state based on the functional status identifier of the status signal.
[0018] Through the technical solutions in the above possible implementation methods, the underlying counterpart adds an identification to the function according to its own working status. Then, when judging the status signal fed back by the underlying counterpart, it can be determined whether the counterpart corresponding to the signal is in the function-on state according to the function status identification.
[0019] In some possible implementations, each function control in the above mutually exclusive function control set has multiple adjustable gears, and each gear is used to represent a different degree of adjustment of each underlying hand piece.
[0020] Through the technical solutions in the above possible implementation methods, each functional control may include multiple adjustable gears, each gear corresponds to a different degree of adjustment of the function, and the user can adjust the target functional module to different degrees by operating the control.
[0021] In some possible implementations, the underlying counterpart is configured to determine a signal value in a status signal based on a working gear; the above-mentioned determination of whether the status signal originates from an underlying counterpart in a function-on state includes: determining whether the underlying counterpart corresponding to the status signal is in a function-on state based on the signal value in the status signal.
[0022] Through the technical solutions in the above possible implementation methods, for controls and functions with multiple adjustment gears, all gears are uniformly represented based on numerical values, so whether the current function is turned on can be determined based on the signal value.
[0023] In a second aspect, a mutually exclusive function control device is provided, the device comprising:
[0024] an operation response module, used for obtaining an adjustment operation for a function control in a mutually exclusive function control set, wherein the mutually exclusive function control set includes at least two function controls for turning on at least two mutually exclusive functions and one turn-off control for turning off each mutually exclusive function, wherein each function control corresponds to only one mutually exclusive function, and at least two mutually exclusive functions support only one of the functions to be turned on at the same time;
[0025] A signal sending module, used for determining adjustment signals corresponding to at least two mutually exclusive functions respectively based on the adjustment operation, and sending each adjustment signal to the underlying counterparty of the corresponding mutually exclusive function;
[0026] A feedback judgment module is used to receive the state signal fed back by each underlying counterpart, and judge whether the state signal comes from the underlying counterpart in a function-enabled state;
[0027] The feedback upload module is used to return the status signal to the function control corresponding to the status signal if yes, and ignore the status signal if no.
[0028] In a third aspect, a vehicle is provided, comprising a memory for storing executable program code; and a processor for calling and running the executable program code from the memory, so that the vehicle executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0029] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0030] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A schematic diagram of mutually exclusive function controls in an interactive interface provided by an embodiment of the present application;
[0032] Figure 2 An exemplary system architecture diagram of a mutually exclusive function control method provided in an embodiment of the present application;
[0033] Figure 3 A flowchart of a mutually exclusive function control method provided in an embodiment of the present application;
[0034] Figure 4 A flowchart of a mutually exclusive function control method provided in an embodiment of the present application;
[0035] Figure 5 A logical architecture diagram of a mutually exclusive function control method provided in an embodiment of the present application;
[0036] Figure 6 A structural block diagram of a mutually exclusive function control device provided in an embodiment of the present application;
[0037] Figure 7 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the features and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0039] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims. And in the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" refers to two or more than two.
[0040] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0041] In the complex functional system of the vehicle, in addition to some independent controls that control individual functions, there is also a type of control used to control mutually exclusive functions. The so-called mutually exclusive functions refer to those functions that operate on the same vehicle module but cannot be activated at the same time. For example, for the seat mode adjustment module, the module includes two adjustable seat modes "heating" and "ventilation", and the seat can only be adjusted to one of the two modes, and cannot reflect both modes at the same time, then the adjustment functions corresponding to these two modes are mutually exclusive functions. Different mutually exclusive functions can be controlled by the same control or by different controls. When each mutually exclusive function has its own function control, the function controls can be managed as a set of mutually exclusive function controls, which can also include a close button shared by all functions.
[0042] Specifically, see Figure 1 , Figure 1 Schematic diagram of mutually exclusive function controls in an interactive interface provided by an embodiment of the present application. Figure 1 As shown in (A), taking the two mutually exclusive functions of "heating" and "ventilation" as an example, the mutually exclusive function control set includes the "heating" control, the "ventilation" control, and the "OFF" control shared by the heating and ventilation functions. For the convenience of user operation, the "heating" control and the "ventilation" control can be placed on the left and right of the "OFF" control. Whenever the user performs an operation in the mutually exclusive function set, the upper layer will simultaneously send respective control signals to the counterparts corresponding to each function. Subsequently, these counterparts will each feedback their adjusted state signals to the upper control system. However, there may be a certain time difference between these feedback signals. This means that the upper control state will jump multiple times according to the signals that arrive successively, which will not only affect the user's operating experience, but may also cause confusion or misjudgment of the user, thereby affecting driving safety.
[0043] For example, see Figure 1 ,like Figure 1 As shown in (B), the original seat mode is "heating", the "heating" control is now highlighted, and the states of the counterparts of the two functions are "heating on" and "ventilation off"; then, the user clicks on the "ventilation" control to adjust the seat mode to "ventilation", at which time the "ventilation" control becomes highlighted, and at the same time sends the "heating off control signal" and "ventilation on control signal" to the heating counterpart and the ventilation counterpart respectively; and the two counterparts will feedback their own states after responding to the control signals; if the "heating off state signal" of the heating counterpart arrives first, then the "off" control will first jump to the highlighted state according to the feedback signal; and the "ventilation on state signal" of the ventilation counterpart will not be changed to the highlighted state until it arrives. In this way, it appears to the user that there is an obvious unexpected abnormal jump.
[0044] Therefore, an embodiment of the present application provides a mutually exclusive function control method to solve the technical problem of control state rebound caused by the underlying signal feedback time difference of the above mutually exclusive function.
[0045] See also Figure 2 , Figure 2 An exemplary system architecture diagram of a mutually exclusive function control method provided in an embodiment of the present application.
[0046] like Figure 2 As shown, the system architecture may include a vehicle processor 201, a network 202, and an underlying control system 203. The network 202 is used to provide a medium for a communication link between the vehicle processor 201 and the underlying control system 203. The network 202 may include various types of wireless communication links and wired communication links, wherein the wireless communication link includes a Bluetooth communication link, a Wireless-Fidelity (Wi-Fi) communication link, etc., and the wired communication link includes a Controller Area Network (CAN), LIN bus, FlexRay bus, MOST bus, and vehicle Ethernet bus, etc.
[0047] The vehicle processor 201 can interact with the underlying control system 203 through the network 202 to receive messages from the underlying control system 203 or send messages to the underlying control system 203. Specifically, the vehicle processor 201 is generally used in the vehicle to execute various user instructions, receive user interaction information, and send instructions, signals and other messages to the underlying control system 203, so that the specific underlying functional modules in the underlying control system 203 are operated and adjusted according to the control messages. The underlying control system 203 can receive instructions, signals and other messages sent by the vehicle processor 201, and based on the control messages, operate and adjust various underlying functional modules in the vehicle for supporting various functional operations, such as air conditioning control modules, seat control modules, sunroof control modules, etc., and each underlying functional module is based on hardware and software to jointly realize the functional support of the vehicle.
[0048] In the embodiment of the present application, the controls of each mutually exclusive function are managed as a mutually exclusive function control set, and the mutually exclusive function control set includes at least two function controls for turning on at least two mutually exclusive functions and a closing control for turning off each mutually exclusive function, wherein each function control corresponds to only one mutually exclusive function. In the process of controlling mutually exclusive functions, the vehicle processor 201 first obtains the user's adjustment operation on the function controls in the mutually exclusive function control set; further, the vehicle processor 201 determines the adjustment signals corresponding to at least two mutually exclusive functions based on the adjustment operation, and sends each adjustment signal to the underlying counterpart of the corresponding mutually exclusive function in the underlying control system 203; at this time, each underlying counterpart in the underlying control system 203 will automatically feedback the status signal after completing the adjustment operation based on the signal, and when the vehicle processor 201 receives the status signal fed back by each underlying counterpart, it immediately determines whether the status signal comes from the underlying counterpart in the function-on state; if so, the status signal is returned to the function control corresponding to the status signal, and if not, the status signal is ignored.
[0049] Similarly, in addition to the exemplary vehicle processor 201 in the embodiment of the present application, the mutually exclusive function control method can also be executed on electronic devices such as smart phones, smart tablets, and various types of computers. According to implementation needs, the system architecture can include any electronic device with corresponding processing capabilities to execute the mutually exclusive function control method. The vehicle processor 201 for executing the mutually exclusive function control method provided in the embodiment of the present application should not limit the electronic device that implements the mutually exclusive function control method.
[0050] It should be understood that Figure 2 The number of vehicle processors, networks, and underlying control systems in the figure is only illustrative, and any number of vehicle processors, networks, and underlying control systems may be used according to implementation requirements.
[0051] See also Figure 3 , Figure 3 A flowchart of a mutually exclusive function control method provided in an embodiment of the present application. The execution subject of the embodiment of the present application can be a vehicle that executes the mutually exclusive function control, or a processor in a vehicle that executes the mutually exclusive function control method, or a mutually exclusive function control service in a vehicle that executes the mutually exclusive function control method. For the convenience of description, the specific execution process of the mutually exclusive function control method is introduced below by taking the execution subject being a processor in a vehicle as an example.
[0052] like Figure 3 As shown, the mutually exclusive function control method may at least include:
[0053] S302, obtaining an adjustment operation for a function control in a mutually exclusive function control set, wherein the mutually exclusive function control set includes at least two function controls for turning on at least two mutually exclusive functions and one off control for turning off each mutually exclusive function, wherein each function control corresponds to only one mutually exclusive function, and at least two mutually exclusive functions support only one of the functions to be in an on state at the same time.
[0054] Optionally, in the display interface of the vehicle, when there are multiple functions in a set of mutually exclusive functions, a separate function control can be set for each function, that is, each function control corresponds to only one mutually exclusive function, and these function controls used to turn on the corresponding function and a closing control shared by all functions together constitute a set of mutually exclusive function controls. It should be noted that each mutually exclusive function does not necessarily have only one control, but may be controlled by multiple controls according to the refinement of the function's adjustment options. For example, the seat heating function may be further refined into multiple sub-functions such as "adjusting the heating wind speed", "timing", and "adjusting the air frequency", and these sub-functions are controlled by separate controls. In other words, these controls are only used to control the seat heating function, and the seat heating function is adjusted in different aspects by multiple controls.
[0055] In order to facilitate intuitive interaction between users and function controls, various function controls will display different interactive effects on the display interface based on the status of their own functions, so that users can intuitively understand the status of the corresponding functions through the interactive effects of the controls. For example, in the mutually exclusive function control set corresponding to the seat adjustment function, there is a close control and two function controls for turning on the ventilation function and the heating function. If the ventilation is turned on, the "ventilation" function control will be highlighted on the display interface, and the heating function is turned off, and its corresponding "heating" function control and "off" control will be displayed in the normal state (that is, not highlighted) on the display interface; if both functions are in the off state, the "off" control will be highlighted, and the other two function controls will be displayed in the normal state.
[0056] Optionally, in actual operation scenarios, the adjustment operations performed by users on target controls are direct manifestations of user intentions. Therefore, it is necessary to monitor the interaction between users and vehicles in real time, and timely and accurately capture the user's adjustment operations on the function controls in the mutually exclusive function control set. After obtaining the user's adjustment operations, the user's adjustment needs can be analyzed from them, so as to send corresponding adjustment signals to the underlying counterparts of the mutually exclusive functions, and adjust the vehicle to a functional state that meets the user's needs.
[0057] S304: Determine adjustment signals corresponding to at least two mutually exclusive functions based on the adjustment operation, and send each adjustment signal to the underlying counterparty of the corresponding mutually exclusive function.
[0058] Optionally, when a user performs an adjustment operation on a function control in a set of mutually exclusive function controls, the user intends to use the function corresponding to the function control. In the process of responding to such an adjustment operation, the vehicle computer first determines the adjustment signals corresponding to each mutually exclusive function based on the adjustment operation. These adjustment signals will be sent to the underlying counterparts of the corresponding functions to accurately control the startup, operation parameter adjustment, and stop operations of each underlying counterpart. The underlying counterpart is a hardware or software component that performs a specific function and is responsible for receiving the adjustment signal and performing corresponding operations based on the signal content. In this process, it is necessary to ensure that the signal transmission is fast and reliable to minimize delays and improve the overall response speed of the system.
[0059] S306: Receive status signals fed back by each underlying counterpart, and determine whether the status signals are from an underlying counterpart in a function-enabled state.
[0060] Optionally, among all the adjustment signals determined according to the adjustment operation, there is at most one signal indicating that the function is turned on, and the others should be signals indicating that the function is turned off. Accordingly, after the adjustment is completed, at most only one underlying counterpart of each mutually exclusive function should be in the function-on state, and the other underlying counterparts should be in the function-off state. Furthermore, among the status signals fed back by each underlying counterpart, at most only one status signal should come from the underlying counterpart in the function-on state. Since the close control is shared by multiple mutually exclusive functions, the close signal fed back by any underlying counterpart in the function-off state will cause the close control to jump to the highlighted state. Therefore, in order to avoid abnormal jumps in the close control caused by the close signal fed back by the underlying counterpart in the function-off state, it is necessary to determine whether the received status signal comes from the underlying counterpart in the function-on state.
[0061] Specifically, when the underlying counterpart adds a function status identifier to the status signal based on its current working state, the working state is divided into a function-on state and a function-off state. Accordingly, the function-on state corresponds to the function-on state identifier, and the function-off state corresponds to the function-off state identifier. When the vehicle receives the status signal fed back by the underlying counterpart, it can obtain the corresponding function status identifier from it. Depending on whether the function status identifier is a function-on state identifier or a function-off state identifier, it can be clearly determined whether the counterpart that fed back the status signal is in a function-on state.
[0062] S308: If yes, the status signal is returned to the function control corresponding to the status signal; if no, the status signal is ignored.
[0063] Optionally, if the received status signal comes from the underlying counterpart in the function-on state, it means that the status signal comes from the function that is turned on at this time, that is, the function that the user wants to use in the mutually exclusive function, then it can be used as effective feedback, further processed and returned to the corresponding function control. After receiving the status signal, the function control will adjust its own interaction state according to the signal content to ensure that the interface state of the control is consistent with the underlying state. However, if the received status signal comes from the underlying counterpart in the function-off state, then it can be considered that the user does not need to use this status signal, and the upper layer cannot jump to the effect of closing the control when the user uses other functions, so it is necessary to ignore the status signal and not perform any processing. Such a design can prevent the interaction state of the upper-level control from being disturbed by irrelevant information and rebounding abnormally, ensuring the stability and accuracy of the control state in the interactive interface.
[0064] In an embodiment of the present application, a mutually exclusive function control method is provided, which obtains an adjustment operation for a function control in a mutually exclusive function control set, wherein the mutually exclusive function control set includes at least two function controls for turning on at least two mutually exclusive functions and a closing control for turning off each mutually exclusive function, wherein each function control corresponds to only one mutually exclusive function, and at least two mutually exclusive functions only support one of the functions to be in the turned-on state at the same time; based on the adjustment operation, the adjustment signals corresponding to at least two mutually exclusive functions are determined, and each adjustment signal is sent down to the underlying counterpart of the corresponding mutually exclusive function; the state signal fed back by each underlying counterpart is received, and it is determined whether the state signal comes from the underlying counterpart in the function turned-on state; if so, the state signal is returned to the function control corresponding to the state signal, and if not, the state signal is ignored. Since the user generally wants to turn on and use the function when operating the function control, other mutually exclusive functions will be turned off at this time. That is to say, among all mutually exclusive functions, there will be one counterpart that feeds back an effective adjustment signal in the function turned-on state, and the counterparts of other functions will only feed back a closing signal in the turned-off state. Then, when the underlying counterpart of the mutually exclusive function feeds back a status signal, it only needs to determine whether the counterpart sending the signal is in the function-on state, so as to accurately filter out the valid signal corresponding to the turned-on function, without returning other closing signals in the mutually exclusive function to the upper layer, thus avoiding unexpected jumps in the closing control caused by the closing signal reaching the upper layer first.
[0065] See also Figure 4 , Figure 4 A flowchart of a mutually exclusive function control method provided in an embodiment of the present application.
[0066] like Figure 4 As shown, the mutually exclusive function control method may at least include:
[0067] S402: Acquire adjustment operations for function controls in a mutually exclusive function control set.
[0068] Regarding step S402, please refer to the detailed description in step S202, which will not be repeated here.
[0069] S404: Determine adjustment signals corresponding to at least two mutually exclusive functions based on the adjustment operation, and send each adjustment signal to the underlying counterpart of the corresponding mutually exclusive function through a setting channel of the corresponding mutually exclusive function.
[0070] Optionally, see Figure 5 , Figure 5 This is a logical architecture diagram of a mutually exclusive function control method provided in an embodiment of the present application. Figure 5 As shown, taking two mutually exclusive functions as an example, represented as function control A and function control B, each mutually exclusive function in the mutually exclusive function control set is controlled by a dedicated function control, then a separate setting channel can be established between each control and the counterpart of the corresponding function, which is used to specifically send the setting signal corresponding to the function, that is, in the embodiment of the present application, after determining the adjustment signal corresponding to each mutually exclusive function based on the adjustment operation, these adjustment signals are further sent to the underlying counterpart of the corresponding mutually exclusive function through the setting channel of the corresponding mutually exclusive function. Such a distributed setting channel is conducive to the management and maintenance of the function controls in the mutually exclusive function control set.
[0071] S406: Receive the status signal fed back by each underlying counterpart, and determine whether the underlying counterpart corresponding to the status signal is in a function-enabled state according to the signal value in the status signal.
[0072] Optionally, for functions with multiple gears or modes, the corresponding function controls may also have multiple adjustable gears, where each gear is used to represent a different degree of adjustment of the underlying handpiece. Preferably, each function control may be implemented using a control component comprising multiple sub-controls, where each sub-control corresponds to a different adjustment gear, and the user triggers the adjustment signal of the corresponding function and gear by interacting with different sub-controls, and the interaction effect of each sub-control will also change with the user's operation.
[0073] Optionally, according to conventional settings, when each underlying counterpart provides feedback signals, it should also be implemented through an independent feedback channel between the controller and the counterpart. However, in the embodiment of the present application, in order to facilitate the judgment of the feedback signal, a strategy layer is set in the control system, which is specifically used to manage the feedback signals of at least two mutually exclusive functions. Figure 5Based on the strategy layer, the return format and return content of the status signals of multiple mutually exclusive functions can be standardized. The underlying counterpart is set to determine the signal value in the status signal according to the working gear, so that the strategy layer can determine whether the underlying counterpart corresponding to the status signal is in the function-on state according to the signal value in the status signal. For example, the seat heating function and the seat ventilation function in the vehicle each have 3 adjustable gears. When the feedback signal value is 0, it means that the corresponding function is in gear 0 (that is, the off state); when there is a feedback signal value of 1 / 2 / 3, it means that the corresponding function is not in gear 0 (that is, the on state), and the actual gear corresponds to the specific signal value one by one.
[0074] S408: If yes, the status signal is returned to the function control corresponding to the status signal; if no, the status signal is ignored.
[0075] Regarding step S408, please refer to the detailed description in step S208, which will not be repeated here.
[0076] S410: If no status signal fed back by the underlying counterpart in the function-on state is received within the first preset time period, the current status signal of each underlying counterpart is obtained.
[0077] Optionally, when waiting for a valid status signal, a first preset time is set as the waiting time threshold. If a status signal is received from the underlying counterpart in the function-on state within the first preset time, it is returned to the upper layer normally; if a status signal is not received from the underlying counterpart in the function-on state within the first preset time, it indicates that an abnormality or failure may occur at this time, and it is necessary to actively obtain the current status signal of each counterpart, so as to adjust the status of the control in the interactive interface according to the current status of each underlying counterpart, thereby maintaining the consistency of the control status with the underlying status. This active acquisition step is achieved by querying the status register of the underlying counterpart, sending status query instructions, etc., to ensure that the acquired status information is the latest and accurate.
[0078] S412. Determine whether there is a target current state signal from the underlying counterpart in a function-on state; if so, return the target current state signal to the function control corresponding to the target current state signal; if not, return any current state signal to the shutdown control.
[0079] Furthermore, based on the signal value and / or function status identifier in the status signal, it is determined whether there is a target current status signal from the underlying counterpart in the function-on state. If the signal value is not 0 and / or the function status identifier is a function-on state identifier, it means that there is a status signal corresponding to the function-on state, and it can be returned to the corresponding upper-level control; if the signal value is 0 and / or the function status identifier is a function-off state identifier, it means that the underlying state of the underlying counterpart is closed at this time, and any closing signal can be returned to the closing control.
[0080] In addition to the method described in steps S410-S412, when actively acquiring the current state signal of the underlying counterpart, the following steps can also be used:
[0081] S414. Determine the intended adjustment function corresponding to the adjustment operation. If no status signal is received from the underlying counterpart in the function-on state within the second preset time period, obtain the current status signal corresponding to the underlying counterpart of the intended adjustment function, and return the current status signal to the function control corresponding to the intended adjustment function.
[0082] Optionally, considering that when a user operates a certain function control, he must want to change the state or gear of this function, which means that the user is more concerned about whether the state of this function is adjusted to his expectations. This function is the user's intention adjustment function. Then, when no valid signal is received normally for a certain period of time after the signal is sent down, only the current state of the intention adjustment function can be actively obtained, and the current signal of the intention function can be returned to the upper-level control to meet the user's adjustment needs for the target function.
[0083] Specifically, after obtaining the adjustment operation, first determine the intended adjustment function corresponding to the adjustment operation, and then monitor whether the status signal fed back by the underlying counterpart in the function-on state is received normally within the second preset time period. If not received, the current operating status information of the underlying counterpart corresponding to the intended adjustment function, that is, its corresponding current status signal, will be actively obtained. After successfully obtaining the current status signal, the system will return this information to the function control corresponding to the intended adjustment function. By feeding back the actual status of the underlying counterpart to the user, the user can intuitively understand whether the adjustment operation is successfully executed, or whether there are any problems that need to be solved, providing the user with a more reliable and efficient adjustment operation experience.
[0084] In an embodiment of the present application, a mutually exclusive function control method is provided. Based on the adjustment operation, the adjustment signals corresponding to at least two mutually exclusive functions are determined, and each adjustment signal is sent to the underlying counterpart of the corresponding mutually exclusive function through the setting channel of the corresponding mutually exclusive function, and a separate setting channel is established between each control and the counterpart. Such a distributed setting channel is conducive to the management and maintenance of the function controls in the mutually exclusive function control set. Each function control can include multiple adjustable gears, each gear corresponds to a different adjustment degree of the function, and the user can adjust the target function module to different degrees by operating the control. For controls and functions with multiple adjustment gears, all gears are uniformly represented based on numerical values, so whether the current function is turned on can be determined according to the signal value. A waiting time threshold is set for the feedback signal of the counterpart in the turned-on state. If the state signal fed back by the underlying counterpart in the function-on state is not received within the first preset time, the current state signal of each counterpart is actively obtained, and the signal uploaded to the upper layer is selected according to the actual situation of these current state signals. Alternatively, when the user is performing an adjustment operation, the user can first record the corresponding intended function, and then, if no valid status signal is received within the specified second preset time period, actively request the current status signal from the counterpart corresponding to the intended function, and return the current signal of the intended function to the upper-level control to meet the user's adjustment needs for the target function.
[0085] See also Figure 6 , Figure 6 This is a structural block diagram of a mutually exclusive function control device provided in an embodiment of the present application. Figure 6 As shown, the mutually exclusive function control device 600 includes:
[0086] An operation response module 610 is used to obtain an adjustment operation for a function control in a mutually exclusive function control set, wherein the mutually exclusive function control set includes at least two function controls for turning on at least two mutually exclusive functions and a turn-off control for turning off each mutually exclusive function, wherein each function control corresponds to only one mutually exclusive function, and at least two mutually exclusive functions support only one of the functions to be turned on at the same time;
[0087] A signal sending module 620, configured to determine the adjustment signals corresponding to at least two mutually exclusive functions based on the adjustment operation, and send each adjustment signal to the underlying counterparty of the corresponding mutually exclusive function;
[0088] Feedback judgment module 630, used to receive the state signal fed back by each bottom-level counterpart, and judge whether the state signal comes from the bottom-level counterpart in the function-enabled state;
[0089] The feedback upload module 640 is used to return the status signal to the function control corresponding to the status signal if yes, and ignore the status signal if no.
[0090] Optionally, the signal sending module 620 is further used to send each adjustment signal to the underlying counterpart of the corresponding mutually exclusive function through the setting channel of the corresponding mutually exclusive function.
[0091] Optionally, the mutually exclusive function control device 600 also includes: a current state acquisition module, which is used to obtain the current state signal of each underlying opponent if no state signal feedback from the underlying opponent in the function-on state is received within a first preset time period; determine whether there is a target current state signal from the underlying opponent in the function-on state; if so, return the target current state signal to the function control corresponding to the target current state signal; if not, return any current state signal to the shutdown control.
[0092] Optionally, the mutually exclusive function control device 600 also includes: an intention recording module, used to determine the intended adjustment function corresponding to the adjustment operation; an intention judgment module, used to obtain the current state signal corresponding to the underlying opponent of the intended adjustment function if no state signal feedback from the underlying opponent in the function-on state is received within a second preset time period, and return the current state signal to the function control corresponding to the intended adjustment function.
[0093] Optionally, the underlying counterpart is configured to add a functional status identifier to the status signal according to the working status; the feedback judgment module 630 is also used to determine whether the underlying counterpart corresponding to the status signal is in a functionally enabled state based on the functional status identifier of the status signal.
[0094] Optionally, each function control in the mutually exclusive function control set has multiple adjustable gears, and each gear is used to represent a different degree of adjustment of each underlying hand piece.
[0095] Optionally, the underlying counterpart is configured to determine a signal value in a status signal according to a working gear; the feedback judgment module 630 is further configured to determine whether the underlying counterpart corresponding to the status signal is in a function-on state according to the signal value in the status signal.
[0096] See also Figure 7 , Figure 7 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. Figure 7 As shown, the vehicle 700 may include: at least one vehicle processor 701 , at least one network interface 704 , a user interface 703 , a memory 705 , and at least one communication bus 702 .
[0097] The communication bus 702 is used to realize the connection and communication between these components.
[0098] The user interface 703 may include a display screen (Display) and a camera (Camera), and the optional user interface 703 may also include a standard wired interface and a wireless interface.
[0099] The network interface 704 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0100] Among them, the vehicle processor 701 may include one or more processing cores. The vehicle processor 701 uses various interfaces and lines to connect various parts of the entire vehicle 700, and executes various functions and processes data of the vehicle 700 by running or executing instructions, programs, code sets or instruction sets stored in the memory 705, and calling data stored in the memory 705. Optionally, the vehicle processor 701 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The vehicle processor 701 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the vehicle processor 701, and it can be implemented separately through a chip.
[0101] The memory 705 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 705 includes a non-transitory computer-readable storage medium. The memory 705 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 705 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 705 may optionally be at least one storage device located away from the aforementioned vehicle processor 701. As Figure 7 As shown, the memory 705 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a mutually exclusive function control program.
[0102] exist Figure 7 In the vehicle 700 shown, the user interface 703 is mainly used to provide an input interface for the user and obtain the data input by the user; and the vehicle processor 701 can be used to call the mutually exclusive function control program stored in the memory 705, and specifically perform the following operations:
[0103] Obtaining an adjustment operation for a function control in a mutually exclusive function control set, wherein the mutually exclusive function control set includes at least two function controls for turning on at least two mutually exclusive functions and one turn-off control for turning off each mutually exclusive function, wherein each function control corresponds to only one mutually exclusive function, and at least two mutually exclusive functions support only one of the functions to be turned on at the same time;
[0104] Determine adjustment signals corresponding to at least two mutually exclusive functions based on the adjustment operation, and send each adjustment signal to the underlying counterparty of the corresponding mutually exclusive function;
[0105] Receive status signals fed back by each underlying counterpart, and determine whether the status signals are from underlying counterparts in a function-enabled state;
[0106] If yes, the status signal is returned to the function control corresponding to the status signal; if no, the status signal is ignored.
[0107] In some embodiments, when the vehicle processor 701 executes the execution of sending each adjustment signal to the underlying counterpart of the corresponding mutually exclusive function, it specifically performs the following steps: sending each adjustment signal to the underlying counterpart of the corresponding mutually exclusive function through the setting channel of the corresponding mutually exclusive function.
[0108] In some embodiments, after executing the execution of sending each adjustment signal to the underlying counterpart of the corresponding mutually exclusive function, the vehicle processor 701 also specifically performs the following steps: if no status signal feedback from the underlying counterpart in the function-on state is received within the first preset time period, then the current status signal of each underlying counterpart is obtained; it is determined whether there is a target current status signal from the underlying counterpart in the function-on state; if so, the target current status signal is returned to the function control corresponding to the target current status signal; if not, any current status signal is returned to the shutdown control.
[0109] In some embodiments, the vehicle processor 701 also specifically performs the following steps: determining the intended adjustment function corresponding to the adjustment operation; after executing the execution of sending each adjustment signal to the underlying counterpart of the corresponding mutually exclusive function, the vehicle processor 701 also specifically performs the following steps: if no status signal is received from the underlying counterpart in the function-on state within the second preset time period, then obtaining the current status signal corresponding to the underlying counterpart of the intended adjustment function, and returning the current status signal to the function control corresponding to the intended adjustment function.
[0110] In some embodiments, the underlying counterpart is configured to add a functional status identifier to the status signal according to the working status; when the vehicle processor 701 determines whether the status signal comes from the underlying counterpart in a functionally enabled state, it specifically performs the following steps: based on the functional status identifier of the status signal, determine whether the underlying counterpart corresponding to the status signal is in a functionally enabled state.
[0111] In some embodiments, each function control in the mutually exclusive function control set has multiple adjustable gears, and each gear is used to represent a different degree of adjustment of each underlying hand piece.
[0112] In some embodiments, the underlying opponent is configured to determine the signal value in the status signal according to the working gear; when the vehicle processor 701 determines whether the status signal comes from the underlying opponent in the function-on state, it specifically performs the following steps: determine whether the underlying opponent corresponding to the status signal is in the function-on state according to the signal value in the status signal.
[0113] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program code. When the computer program code runs on a computer, the computer executes the above-mentioned related method steps to implement a method of mutually exclusive function control provided by the above-mentioned embodiment.
[0114] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a method for mutually exclusive function control provided by the above-mentioned embodiment.
[0115] Among them, the device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here.
[0116] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0117] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0118] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The above computer program product includes one or more computer instructions. When the above computer program instructions are loaded and executed on a computer, the above process or function according to the embodiment of this specification is generated in whole or in part. The above computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The above computer instructions can be stored in a computer-readable storage medium or transmitted by the above computer-readable storage medium. The above computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The above computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more available media integrated. The above-mentioned available media can be magnetic media (for example, floppy disks, hard disks, tapes), optical media (for example, digital versatile discs (DVD)), or semiconductor media (for example, solid state drives (SSD)), etc.
[0119] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0120] In addition, it should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in the embodiments of the present application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0121] The above describes specific embodiments of the present 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 an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0122] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0123] The above is a description of a mutually exclusive function control method, device, storage medium and vehicle provided in the present application. For technicians in this field, according to the ideas of the embodiments of the present application, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A mutually exclusive function control method, characterized in that: The method comprises: Acquire an adjustment operation for a function control in a mutually exclusive function control set, wherein the mutually exclusive function control set includes at least two function controls for turning on at least two mutually exclusive functions and one turn-off control for turning off each mutually exclusive function, wherein each function control corresponds to only one mutually exclusive function, and the at least two mutually exclusive functions support only one of the functions to be turned on at the same time; Determine adjustment signals corresponding to the at least two mutually exclusive functions respectively based on the adjustment operation, and send each adjustment signal to the underlying counterparty of the corresponding mutually exclusive function; receiving a status signal fed back by each of the underlying counterparts, and determining whether the status signal originates from an underlying counterpart in a function-enabled state; If so, the status signal is returned to the function control corresponding to the status signal; if not, the status signal is ignored.
2. The method according to claim 1, characterized in that The step of sending each adjustment signal to the underlying counterparty corresponding to the mutually exclusive function includes: Each adjustment signal is sent to the underlying counterpart of the corresponding mutually exclusive function through the setting channel of the corresponding mutually exclusive function.
3. The method according to claim 1, characterized in that After sending each adjustment signal to the underlying counterpart of the corresponding mutually exclusive function, the method further includes: If no state signal fed back by the underlying counterpart in the function-on state is received within the first preset time period, then obtaining the current state signal of each underlying counterpart; Determine whether there is a target current state signal from the underlying counterpart in a function-enabled state; If it exists, returning the target current state signal to the function control corresponding to the target current state signal; If not present, any current state signal is returned to the shutdown control.
4. The method according to claim 1, characterized in that: The method further comprises: Determining an intended adjustment function corresponding to the adjustment operation; After sending each adjustment signal to the underlying counterpart of the corresponding mutually exclusive function, the method further includes: If no status signal is received from the underlying counterpart in the function-on state within the second preset time period, the current status signal corresponding to the underlying counterpart of the intention adjustment function is obtained, and the current status signal is returned to the function control corresponding to the intention adjustment function.
5. The method according to claim 1, characterized in that The bottom layer counterpart is configured to add a functional status identifier to the status signal according to the working status; The determining whether the status signal originates from the underlying counterparty in a function-enabled state includes: Based on the functional status identifier of the status signal, it is determined whether the underlying counterpart corresponding to the status signal is in a functionally enabled state.
6. The method according to claim 1, characterized in that Each function control in the mutually exclusive function control set has multiple adjustable gears, and each gear is used to represent a different degree of adjustment of each of the underlying hand parts.
7. The method according to claim 6, characterized in that The bottom layer counterpart is configured to determine a signal value in the status signal according to the working gear position; The determining whether the status signal originates from the underlying counterparty in a function-enabled state includes: Determine whether the underlying counterpart corresponding to the status signal is in a function-enabled state according to the signal value in the status signal.
8. A mutually exclusive function control device, characterized in that: The device comprises: an operation response module, used for obtaining an adjustment operation for a function control in a mutually exclusive function control set, wherein the mutually exclusive function control set includes at least two function controls for turning on at least two mutually exclusive functions and one turn-off control for turning off each mutually exclusive function, wherein each function control corresponds to only one mutually exclusive function, and the at least two mutually exclusive functions support only one of the functions to be turned on at the same time; A signal sending module, used for determining the adjustment signals corresponding to the at least two mutually exclusive functions respectively based on the adjustment operation, and sending each adjustment signal to the underlying counterpart of the corresponding mutually exclusive function; A feedback judgment module, used for receiving the state signal fed back by each of the underlying counterparts, and judging whether the state signal comes from the underlying counterpart in a function-enabled state; The feedback upload module is used to return the status signal to the function control corresponding to the status signal if yes, and ignore the status signal if no.
9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Initiation controller of electronic detonator and control method thereof
CN105547062A
Equipment controlling state feedback interaction method and system, and equipment
CN109631256A
Vehicle interaction signal processing method and device, vehicle and storage medium
CN110901567A
Equipment function management system and method
CN116467014A
Control state control method and device, vehicle and storage medium
CN118760388A