Method and device for processing vehicle control signals
By mapping control signal names to operation controls and directly sending them to the vehicle's control center, the method addresses inefficient processing in current systems, enhancing efficiency and user experience.
Patent Information
- Application Number
- CN202210238325.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-11
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2042-03-11
AI Technical Summary
Current vehicle control systems require extensive logic to classify and determine the appropriate operation for each received control signal, leading to inefficient processing and prolonged response times, which negatively impacts user experience.
A method and apparatus that generates control signals based on user interactions, maps signal names to operation controls using a predefined relationship, and directly sends these signals to the vehicle's control center, eliminating the need for repetitive logic checks, thereby reducing code volume and improving processing efficiency.
This approach enhances vehicle control efficiency by reducing response time and minimizing code maintenance, thus improving user experience.
Smart Images

Figure CN115431902B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of data processing, and more particularly, to a method and apparatus for processing vehicle control signals. Background Art
[0002] With the rapid development of electronic information technology, people's experience in using vehicles has been greatly improved. For example, application programs based on in-vehicle entertainment products can implement functions such as wireless communication, online entertainment, vehicle body control, and fault detection.
[0003] Currently, for each received control signal, the vehicle first determines the category to which the control signal belongs, then determines the corresponding operation for the signal, and after determination, sends the control signal to the vehicle control center to control the vehicle to perform corresponding actions according to the operation corresponding to the control signal. For example, it performs the action of opening the window according to the signal for controlling the vehicle to open the window. In this process, the vehicle uses a set of judgment logics for each received control signal to determine the signal category and corresponding operation of the corresponding control signal, resulting in low efficiency in controlling the vehicle. For example, the waiting response time is long, and it is difficult to meet the user's experience. Summary of the Invention
[0004] Based on this, embodiments of the present application provide a method, apparatus, in-vehicle terminal, and computer-readable storage medium for processing vehicle control signals to improve the efficiency of controlling a vehicle.
[0005] In a first aspect, an embodiment of the present application provides a method for processing vehicle control signals, including:
[0006] Generating a control signal in response to a user's operation on a target operation control, where the control signal includes a signal name and a signal value;
[0007] Determining the target operation control according to the signal name included in the control signal and a preset mapping relationship; where the preset mapping relationship includes: the mapping relationship between the signal name and the target operation control;
[0008] Binding the target operation control to the control signal;
[0009] Sending the signal value included in the control signal and the bound target operation control to the control center of the vehicle according to the bound target operation control, so that the control center of the vehicle responds to the control signal according to the target operation control.
[0010] As an optional implementation of the embodiment of the present application, before determining the target operation control according to the signal name and the preset mapping relationship, the method further includes:
[0011] Determine the value range of the signal value corresponding to the control signal according to the signal name included in the control signal;
[0012] Determine whether the signal value included in the control signal is within the value range of the signal value corresponding to the control signal;
[0013] If so, determine the target operation control according to the signal name and the preset mapping relationship.
[0014] As an optional implementation manner of the embodiment of the present application, the control signal includes one or more signal values;
[0015] The determination of whether the signal value included in the control signal is within the value range of the signal value corresponding to the control signal includes:
[0016] If each signal value among the one or more signal values included in the control signal is within the value range of the corresponding signal value of the control signal, it is determined that the signal value included in the control signal is within the value range of the signal value corresponding to the control signal;
[0017] If one or more signal values included in the control signal are not within the value range of the corresponding signal values of the control signal, it is determined that the signal value included in the control signal is not within the value range of the signal value corresponding to the control signal.
[0018] As an optional implementation manner of the embodiment of the present application, before sending the signal value included in the control signal and the bound target operation control to the vehicle control center, the method further includes:
[0019] Determine whether the control signal is a valid control signal generated based on the user's operation on the target operation control;
[0020] If so, send the control signal and the bound target operation control to the vehicle control center;
[0021] If not, display a first indication message to the user, where the first indication message is used to indicate that the user re-operations on the target operation control.
[0022] As an optional implementation manner of the embodiment of the present application, after sending the signal value included in the control signal and the bound target operation control to the vehicle control center, the method further includes:
[0023] Display a second indication message to the user, where the second indication message is used to indicate that the vehicle control center has successfully responded to the control signal.
[0024] As an alternative implementation manner of an embodiment of the present application, after presenting the second indication information to the user, the method further includes:
[0025] If the response information corresponding to the control signal is not received within a preset time, the second indication information is no longer presented to the user;
[0026] If the response information corresponding to the control signal is received within a preset time, the display state of the second indication information remains unchanged.
[0027] As an alternative implementation manner of an embodiment of the present application, the method further includes:
[0028] Obtain the sensor signal corresponding to the control signal;
[0029] Process the sensor signal according to a preset rule to generate the signal value included in the control signal.
[0030] In a second aspect, an embodiment of the present application provides a processing device for vehicle control signals, including
[0031] A definition module, configured to generate a control signal in response to a user's operation on a target operation control, where the control signal includes a signal name and a signal value;
[0032] A reference module, configured to determine the target operation control according to the signal name included in the control signal and a preset mapping relationship; where the preset mapping relationship includes: the mapping relationship between the signal name and the target operation control;
[0033] A loading module, binding the target operation control to the control signal;
[0034] A sending module, configured to send the signal value included in the control signal and the bound target operation control to the control center of the vehicle according to the bound target operation control, so that the control center of the vehicle responds to the control signal according to the target operation control.
[0035] As an alternative implementation manner of an embodiment of the present application, the device further includes: a judgment module, configured to determine the value range of the signal value corresponding to the control signal according to the signal name included in the control signal before determining the target operation control according to the signal name and the preset mapping relationship;
[0036] Determine whether the signal value included in the control signal is within the value range of the signal value corresponding to the control signal;
[0037] If so, determine the target operation control according to the signal name and the preset mapping relationship.
[0038] As an optional implementation manner of an embodiment of the present application, the control signal includes one or more signal values; the determining module is specifically configured to determine that the signal value included in the control signal is within the value range of the signal value corresponding to the control signal if each of the one or more signal values included in the control signal is within the value range of each signal value corresponding to the control signal;
[0039] If one or more signal values included in the control signal are not within the value range of each signal value corresponding to the control signal, it is determined that the signal value included in the control signal is not within the value range of the signal value corresponding to the control signal.
[0040] As an optional implementation manner of an embodiment of the present application, the determining module is further configured to determine whether the control signal is a valid control signal generated based on the user's operation on the target operation control before sending the signal value included in the control signal and the bound target operation control to the vehicle control center;
[0041] If so, the control signal and the bound target operation control are sent to the vehicle control center;
[0042] If not, a first indication message is displayed to the user, and the first indication message is used to indicate the user to re - operate the target operation control.
[0043] As an optional implementation manner of an embodiment of the present application, the device further includes: a display module, configured to display a second indication message to the user after sending the signal value included in the control signal and the bound target operation control to the vehicle control center, and the second indication message is used to indicate that the vehicle control center has successfully responded to the control signal.
[0044] As an optional implementation manner of an embodiment of the present application, the sending module is further configured to, after displaying the second indication message to the user, if the response message corresponding to the control signal is not received within a preset time, stop displaying the second indication message to the user;
[0045] If the response message corresponding to the control signal is received within the preset time, the display state of the second indication message remains unchanged.
[0046] In a third aspect, an embodiment of the present application provides an in - vehicle terminal, including: a memory and a processor, where the memory is used to store a computer program, and the processor is configured to execute the vehicle control signal processing method according to the first aspect or any optional implementation manner of the first aspect when calling the computer program.
[0047] Fourthly, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for processing a vehicle control signal according to the first aspect or any optional implementation manner of the first aspect is implemented.
[0048] The technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0049] An embodiment of the present application provides a method, an apparatus, an in-vehicle terminal, and a computer-readable storage medium for processing a vehicle control signal. The method includes: generating a control signal in response to an operation of a user on a target operation control, where the control signal includes a signal name and a signal value; determining the target operation control according to the signal name and a preset mapping relationship, where the preset mapping relationship includes: a mapping relationship between the signal name and the target operation control; binding the target operation control to the control signal; and sending the signal value included in the control signal and the bound target operation control to a control center of the vehicle, so that the control center of the vehicle responds to the control signal according to the target operation control. Since, based on the signal name and the preset mapping relationship, the target operation control corresponding to the control signal can be determined in the embodiment of the present application, and the target operation control is bound to the control signal, so that, according to the bound target operation control, the control signal and the bound target operation control can be sent to the control center of the vehicle, and the control center of the vehicle responds to the control signal according to the target operation control. It is not necessary to adopt a set of judgment logics for each received control signal to judge the signal category and the corresponding operation control of each control signal, which can reduce the amount of code written and reduce the workload of maintaining the code in the later stage. In addition, without executing the judgment logic, directly sending the signal value of the control signal and the target operation control to the control center of the vehicle based on the target operation control bound to the control signal can improve the control efficiency of the vehicle, such as shortening the response time and improving the user experience. Description of the Drawings
[0050] The drawings here are incorporated into the specification and constitute a part of this specification, showing the embodiments consistent with the present application and used together with the specification to explain the principles of the present application.
[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
[0052] Figure 1 It is a flowchart of a method for processing a vehicle control signal according to one or more embodiments of the present application;
[0053] Figure 2 Flow chart of a method for processing vehicle control signals provided according to one or more embodiments of the present application;
[0054] Figure 3 Flow chart of a method for processing vehicle control signals provided according to one or more embodiments of the present application;
[0055] Figure 4 Flow chart of a method for processing vehicle control signals provided according to one or more embodiments of the present application;
[0056] Figure 5 Structural block diagram of a processing device for vehicle control signals provided according to one or more embodiments of the present application;
[0057] Figure 6 Structural block diagram of a processing device for vehicle control signals provided according to one or more embodiments of the present application;
[0058] Figure 7 Internal structure diagram of an in-vehicle terminal provided according to one or more embodiments of the present application. Detailed implementation manners
[0059] To make the objectives, implementation manners, and advantages of the present application clearer, the following will clearly and completely describe the exemplary implementation manners of the present application with reference to the accompanying drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only a part of the embodiments of the present application, rather than all the embodiments.
[0060] Based on the exemplary embodiments described in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope protected by the appended claims of the present application. In addition, although the disclosed content in the present application is introduced according to exemplary one or several examples, it should be understood that each aspect of these disclosed contents can also separately constitute a complete implementation manner. It should be noted that the brief description of the terms in the present application is only for the convenience of understanding the subsequent described implementation manners, rather than intending to limit the implementation manners of the present application. Unless otherwise specified, these terms should be understood in their ordinary and general meanings.
[0061] First, the application scenario of the embodiments of the present application is described. With the development of the automotive electronics process, the functions of vehicles are becoming increasingly rich. In particular, the application of in-vehicle terminals has made it easier for users to control vehicles. For example, users can install multiple application programs on the in-vehicle terminal, and by operating the operation buttons or operation controls on the user interface displayed on the in-vehicle terminal, corresponding signal data is generated. When the vehicle control center receives the signal data, it first needs to determine the signal category (or function) to which the signal data belongs and the corresponding operation button or operation control based on judgment statements, etc. After the vehicle control center controls the vehicle to execute the operation corresponding to the signal data, the result is fed back to the in-vehicle terminal, so that the terminal device can switch the display state of the operation button or operation control corresponding to the signal data on the user interface.
[0062] However, if a judgment is made on the signal category to which each received signal data belongs and the corresponding operation button or operation control, a large amount of code needs to be written in a hard-coded manner to implement it. This will not only cause a lot of duplicate code writing (such as judgment statements), which is not conducive to later maintenance, but also affect the efficiency of processing vehicle signals, seriously affecting the user experience.
[0063] Based on this, the embodiments of the present application provide a method and device for processing vehicle control signals. Among them, the method determines the target operation control corresponding to the control signal through the name of the received control signal and the preset mapping relationship, binds the target operation control to the control signal, and thus can send the target operation control and the signal value of the control signal to the vehicle control center, enabling the vehicle control center to control the target operation control to respond to the control signal, without using a set of judgment logics to judge the signal category to which the control signal belongs and the corresponding operation control, saving the logical judgment process. Therefore, it can improve the efficiency of controlling the vehicle based on the received vehicle control signals, and at the same time reduce a lot of duplicate code, which is conducive to the later maintenance of the code.
[0064] The method for processing vehicle control signals provided by the embodiments of the present application can be executed by the in-vehicle terminal provided by the embodiments of the present application. The in-vehicle terminal provided by the embodiments of the present application can be, but is not limited to, an in-vehicle terminal (such as an in-vehicle computer), an in-vehicle infotainment product, etc.
[0065] Next, through several specific embodiments, the method for processing vehicle control signals provided by the embodiments of the present application will be elaborated in detail.
[0066] Figure 1 For the flowchart of the method for processing vehicle control signals provided by the embodiments of the present application, refer to Figure 1 As shown, the method for processing vehicle control signals provided in this embodiment includes the following steps:
[0067] S110. Generate a control signal in response to a user's operation on a target operation control.
[0068] Wherein, the control signal includes a signal name and a signal value, and one control signal may include one or more signal values. The target operation control may be an operation control or an operation button displayed on the display interface of the vehicle terminal provided in the embodiments of the present application. The user can operate the operation control or the operation button displayed on the display interface to send a control instruction to the vehicle. The vehicle terminal generates a control signal corresponding to the operation control in response to the user's operation on the operation control.
[0069] The signal name included in the control signal may be identification information configured for the control signal, which is used to indicate the function corresponding to the control signal.
[0070] Exemplarily, when the control signal is a control signal generated in response to the user's operation of turning on the switch button or control of the air conditioner, corresponding flag information may be configured for the control signal. The identification information may include the signal name of the control signal, and the signal name indicates that the control signal is a signal for turning on the air conditioner of the vehicle. When the control signal is a control signal generated in response to the user's operation on the adjustment button or control of the left rearview mirror of the vehicle, corresponding identification information may be configured for the control signal. The identification information may include the signal name of the control signal, and the signal name indicates that the control signal is a signal for the left rearview mirror of the vehicle.
[0071] Optionally, an implementable way to obtain the signal value included in the control signal includes: obtaining the signal of the sensor, and processing the obtained signal of the sensor according to a preset rule to generate the signal value of the control signal.
[0072] Wherein, the signal value of the control signal may be a number, such as 0, 1, or other status identifiers, such as true, false, etc.
[0073] Exemplarily, when the control signal is a control signal generated for the on / off operation of the vehicle air conditioner, the signal value generated according to the preset rule may indicate the on / off state of the air conditioner. For example, when the signal value is 1, it indicates that the control signal is used to turn on the vehicle air conditioner, and the state of the air conditioner corresponding to the control signal is the on state; when the signal value is 0, it indicates that the control signal is used to turn off the vehicle air conditioner, and the state of the air conditioner corresponding to the control signal is the off state. Alternatively, the signal value of the control signal indicating the opening of the vehicle air conditioner may also be true, and the signal value of the control signal indicating the closing of the vehicle air conditioner may be false. The type and value of the signal value included in the control signal can be determined according to the preset rule. The preset rule may be a configuration file, etc., and the embodiments of the present application do not make specific limitations.
[0074] Exemplarily, the signal name and signal value of the control signal can be stored in data formats such as xml and json, and the storage form can be in the form of a key-value (signal name - signal value) combination. The embodiments of the present application do not make specific limitations.
[0075] S120. Determine the target operation control according to the signal name and the preset mapping relationship.
[0076] Wherein, the preset mapping relationship includes: the mapping relationship between the signal name and the target operation control. The mapping relationship between the signal name and the target operation control can be stored in the form of a table.
[0077] It should be noted that since there is a mapping relationship between the signal name and the target operation control, the target operation control corresponding to the signal name can be directly determined through the preset mapping relationship, without the need to determine the signal category to which the control signal belongs and the corresponding target operation control through a judgment logic, thereby improving the processing efficiency of the control signal.
[0078] S130. Bind the target operation control to the control signal.
[0079] Wherein, the target operation control and the control signal can be bound through a preset function. The embodiments of the present application do not make specific limitations.
[0080] One implementable manner of step S130 includes: adopting the ClassLoader technology and the reflection technology to load the signal value of the control signal into the running environment of the application program of the vehicle-mounted terminal, realizing the binding of the signal value of the control signal and the target operation control, and then binding the target operation control to the control signal. And a corresponding software model is generated for storing the control signal and the signal value included in the control signal.
[0081] After binding the target operation control to the control signal, the corresponding target operation control can be directly determined based on the received control signal, without the need to determine it again through judgment, which can improve the processing efficiency of the vehicle control signal.
[0082] S140. Send the signal value included in the control signal and the target operation control to the control center of the vehicle according to the bound target operation control, so that the control center of the vehicle responds to the control signal according to the target operation control.
[0083] Exemplarily, when the target operation control is the opening control of the vehicle air conditioner, based on the opening control of the vehicle air conditioner, the identification information and the corresponding control signal of the opening control of the vehicle air conditioner can be sent to the vehicle control center more effectively and quickly. The vehicle control center controls the opening control of the vehicle air conditioner to point to the operation of turning on the air conditioner, so as to respond to the control signal for turning on the vehicle air conditioner.
[0084] It should be noted that in this embodiment, when the control signal is received for the first time, the control signal is bound to the corresponding target operation control in the manner described in steps S120 and S130. So that when the control signal is received again later, the control signal and the target operation control can be directly sent to the vehicle control center based on the originally bound target operation control without re-binding, and the purpose of sending the control signal to the vehicle control center more effectively and quickly can be achieved.
[0085] The vehicle control signal processing method provided by the embodiment of the present application includes: generating a control signal in response to a user's operation on a target operation control, where the control signal includes a signal name and a signal value; determining the target operation control according to the signal name and a preset mapping relationship, where the preset mapping relationship includes: the mapping relationship between the signal name and the target operation control; binding the target operation control to the control signal; sending the signal value included in the control signal and the bound target operation control to the vehicle control center, so that the vehicle control center responds to the control signal according to the target operation control. Since the embodiment of the present application can determine the target operation control corresponding to the control signal based on the signal name and the preset mapping relationship, bind the target operation control to the control signal, and thus can send the control signal and the bound target operation control to the vehicle control center according to the bound target operation control, so that the vehicle control center responds to the control signal according to the target operation control. Instead of using a set of judgment logics for each received control signal to judge the signal category and the corresponding operation control to which each control signal belongs, the amount of code written in the program can be reduced, and the workload of maintaining the code in the later stage can be reduced. In addition, without executing the judgment logic, directly sending the signal value of the control signal and the target operation control to the vehicle control center based on the target operation control bound to the control signal can improve the control efficiency of the vehicle, such as shortening the response time and improving the user experience.
[0086] Further, on the basis of the Figure 1 embodiment shown, before step S120 (determining the target operation control according to the signal name and the preset mapping relationship), steps S210 - S230 are further included. This embodiment no longer describes the Figure 1Specific descriptions and explanations are provided for the same or similar steps in the illustrated embodiments. For details, refer to Figure 1 the descriptions and explanations in the illustrated embodiments. Refer to Figure 2 As shown, before step S120, it further includes:
[0087] S210. Determine the value range of the signal value corresponding to the control signal according to the signal name included in the control signal.
[0088] Among them, the type of the value range of the signal value corresponding to the control signal can be an enumerated value range, such as 0, 1, or an interval value range, such as [0, 100]. There is no limitation on this.
[0089] S220. Determine whether the signal value included in the control signal is within the value range of the signal value corresponding to the control signal.
[0090] If so, execute step S230 ( Figure 1 step S120 in the illustrated embodiment), if not, re-obtain the signal value of the control signal.
[0091] S230. Determine the target operation control according to the signal name and the preset mapping relationship.
[0092] The determination of whether the signal value included in the control signal is within the value range of the signal value corresponding to the control signal is illustrated by the following several cases:
[0093] The first case: The control signal includes one signal value. For example, when the target operation control is the control for turning on the vehicle air conditioner or turning off the vehicle air conditioner, the user can generate a control signal by operating this control. Here, only the air conditioner is used as an exemplary illustration. There are many other scenarios where the control signal includes one signal value, which will not be listed one by one here.
[0094] In this case, if the one signal value included in the control signal is within the value range of the signal value corresponding to the control signal, it is determined that the signal value included in the control signal is within the value range of the signal value corresponding to the control signal; if the one signal value included in the control signal is not within the value range of the signal value corresponding to the control signal, it is determined that the signal value included in the control signal is not within the value range of the signal value corresponding to the control signal.
[0095] The second case: The control signal includes multiple signal values. For example, for the rear defrost button of a vehicle, the control signal generated by the user operating the rear defrost button includes: a rear defrost signal and a rearview mirror heating signal, corresponding to two signal values. Here, only the case where the control signal generated by operating the rear defrost button can include multiple signal values is used for exemplary illustration, and it does not constitute any limitation. There are many other scenarios where the control signal includes multiple signal values, which will not be listed one by one here.
[0096] In this case, if each of the multiple signal values included in the control signal is within the value range corresponding to each signal value of the control signal, it is determined that the signal values included in the control signal are within the value range corresponding to the control signal; if at least one of the multiple signal values included in the control signal is not within its corresponding value range, it is determined that the multiple signal values included in the control signal are not within the value range corresponding to the control signal.
[0097] Exemplarily, in the case where the control signal includes 4 signal values, each signal value corresponds to a signal value range. If all 4 signal values are within their corresponding signal value ranges, it is determined that the signal values included in the control signal are within the value range corresponding to the control signal; if one of the 4 signal values is not within its corresponding signal value range, or two of the 4 signal values are not within their corresponding signal value ranges, or three of the 4 signal values are not within their corresponding signal value ranges, or all 4 signal values are not within their corresponding signal value ranges, it is determined that the signal values included in the control signal are not within the value range corresponding to the control signal.
[0098] Further, on the basis of the Figure 1 shown embodiment, before step S140 (sending the signal values included in the control signal and the target operation control to the vehicle control center according to the bound target operation control, so that the vehicle control center responds to the control signal according to the target operation control), the vehicle control signal processing method shown further includes steps S310 - S330, as shown in Figure 3 shown. In this embodiment, the same or similar steps as those in the Figure 1 shown embodiment will not be specifically described and explained again. For details, reference can be made to the description and explanation in the Figure 1 shown embodiment.
[0099] S310. Determine whether the control signal is a valid control signal generated based on the user's operation of the target operation control.
[0100] Exemplarily, step S310 can be implemented as follows: Determine whether the signal value included in the control signal is within the value range of the signal value corresponding to the control signal. If the signal value included in the control signal is within the value range of the signal value corresponding to the control signal, then determine that the control signal is a valid control signal; if the signal value included in the control signal is not within the value range of the signal value corresponding to the control signal, then determine that the control signal is an invalid control signal.
[0101] Among them, as an implementation manner of determining whether the signal value included in the control signal is within the value range of the signal value corresponding to the control signal, reference can be made to the description of the two cases of step S230 in the previous embodiment, and details will not be elaborated here.
[0102] It should be noted that in some scenarios, when determining whether the signal value of the control signal is within the corresponding value range, it is necessary to make a judgment based on the signal value of the control signal and the step value. For example, when judging whether the signal value included in the control signal generated by the operation control for operating the temperature of the vehicle air conditioner is within the corresponding value range: If the control signal is the signal generated by the user operating the operation control for operating the temperature of the vehicle air conditioner, then obtain the sum of the control signal and the step value, and judge whether the sum of the control signal and the step value is within the value range corresponding to the signal value of the control signal; if so, determine that the signal value of the control signal is within the corresponding value range; if not, determine that the signal value of the control signal is not within the corresponding value range.
[0103] If so, then execute the following step S320( Figure 1 step S140 in the illustrated embodiment); if not, then execute the following step S330.
[0104] S320. Send the control signal and the bound target operation control to the vehicle control center, so that the vehicle control center responds to the control signal according to the target operation control.
[0105] Sending the control signal and the bound target operation control to the vehicle control center can enable the vehicle control center to control the vehicle to perform corresponding operations. For example, sending the operation control for turning on the vehicle air conditioner and the control signal to the vehicle control center, and the vehicle control center controls the vehicle to perform the operation of turning on the air conditioner.
[0106] S330. Then display the first indication information to the user.
[0107] Among them, the first indication information is used to instruct the user to operate the target operation control again.
[0108] One achievable way includes: when presenting the first indication information to the user based on the display interface, the first indication information can be text content such as "Operation failed, please try again" displayed, or voice prompt information, etc., which is used to remind the user that the control signal generated by operating the target operation control is an invalid signal, indicating that the user should re-operate the target operation control to generate a valid control signal. The specific form and content of the first indication information are not restricted here.
[0109] Another achievable way includes using the state of the target operation control on the display interface as the first indication information: within a preset duration after the user operates the target operation control, if the state of the target operation control on the display interface remains the initial state, the user needs to operate the target operation control again to generate a valid control signal.
[0110] Refer to Figure 4 As shown, on the basis of the embodiment shown in Figure 1 After step S140, the method further includes the following step S410. In this embodiment, the same or similar steps as those in the embodiment shown in Figure 1 are not specifically described and explained again. For details, reference can be made to the description and explanation in the embodiment shown in Figure 1
[0111] S410. Present the second indication information to the user.
[0112] Wherein, the second indication information is used to indicate that the control center of the vehicle has successfully responded to the control signal.
[0113] That is, implement the UI precedence strategy. Specifically, after sending the signal value included in the control signal and the target operation control to the control center of the vehicle according to the bound target operation control, the second indication information is presented to the user. The second indication information can be the change of the display state of the target operation control on the display interface.
[0114] Exemplarily, when the target operation control is the operation control corresponding to turning on the vehicle air conditioner, if the initial state of the target operation control on the display interface is the first state, after sending the signal value included in the control signal and the target operation control to the control center of the vehicle, the display state of the target operation control is switched from the first state to the second state, and the second state is the display state of the target operation control when the vehicle air conditioner is in the on state. Among them, the switch from the first state to the second state can be the change of the display color of the control. For example, when the display state of the target operation control is the first state, the color of the target operation control is red; when the display state of the target operation control is the second state, the color of the target operation control is green. Or, the switch from the first state to the second state can be the change of the shape of the icon corresponding to the target operation control, etc. Specific limitations are not made here.
[0115] By implementing the UI first strategy, the feedback result of successful operation on the target operation control can be presented to the user in advance, improving the user experience.
[0116] Optionally, after presenting the second indication information to the user, the following step S420 is executed:
[0117] S420: Determine whether the response information corresponding to the control signal is not received within a preset time.
[0118] If not, the following step S430 is executed; if so, the following step S440 is executed.
[0119] S430: No longer present the second indication information to the user.
[0120] Among them, the second indication information is presented to the user before the response information corresponding to the control signal is obtained. Therefore, if the response information corresponding to the control signal is not obtained within the preset time, it indicates that the control signal generated by the vehicle control center based on the operation of the user on the target operation control fails to successfully control the vehicle to perform the corresponding operation. When it is determined that the response information corresponding to the control signal is not received within the preset time, the second indication information is no longer presented to the user.
[0121] Furthermore, based on the change in the display state of the second indication information (from displaying the second indication information on the display interface to not displaying it on the display interface), the user can operate the target operation control again, so that the vehicle control center responds to the control signal according to the target operation control.
[0122] S440: Keep the display state of the second indication information unchanged.
[0123] That is, if the response information corresponding to the control signal is received within the preset time, it indicates that the control signal generated by the vehicle control center based on the operation of the user on the target operation control successfully controls the vehicle to perform the corresponding operation, and the second indication information displayed on the display interface remains unchanged.
[0124] Based on the same inventive concept, as an implementation of the above method, the embodiments of the present application also provide a processing device for vehicle control signals provided in the above embodiments. The device embodiments correspond to the foregoing method embodiments. For ease of reading, the details in the foregoing method embodiments are not described one by one in the device embodiments, but it should be clear that the terminal device in this embodiment can correspondingly implement all the contents in the foregoing method embodiments.
[0125] Figure 5The structural schematic diagram of the processing device for vehicle control signals provided by an embodiment of the present application is as follows. Figure 5 As shown, the selection device 500 for the target object provided in this embodiment includes:
[0126] A definition module 510, configured to generate a control signal in response to a user's operation on a target operation control, where the control signal includes a signal name and a signal value.
[0127] A reference module 520, configured to determine the target operation control according to the signal name included in the control signal and a preset mapping relationship; where the preset mapping relationship includes: the mapping relationship between the signal name and the target operation control.
[0128] A loading module 530 binds the target operation control to the control signal.
[0129] A sending module 540 is configured to send the signal value included in the control signal and the bound target operation control to the vehicle control center according to the bound target operation control, so that the vehicle control center responds to the control signal according to the target operation control.
[0130] As an optional implementation manner of an embodiment of the present application, the device further includes: a judgment module 610. Referring to Figure 6 As shown, the judgment module 610 is configured to, before determining the target operation control according to the signal name and the preset mapping relationship, determine the value range of the signal value corresponding to the control signal according to the signal name included in the control signal; determine whether the signal value included in the control signal is within the value range of the signal value corresponding to the control signal; if so, determine the target operation control according to the signal name and the preset mapping relationship.
[0131] As an optional implementation manner of an embodiment of the present application, the control signal includes one or more signal values; specifically, the judgment module 610 is configured to determine that the signal value included in the control signal is within the value range of the signal value corresponding to the control signal if each of the one or more signal values included in the control signal is within the value range of the respective signal value corresponding to the control signal; and determine that the signal value included in the control signal is not within the value range of the signal value corresponding to the control signal if one or more of the signal values included in the control signal are not within the value range of the respective signal value corresponding to the control signal.
[0132] As an optional implementation manner of an embodiment of the present application, the determination module 610 is further configured to determine whether the control signal is a valid control signal generated based on a user's operation on a target operation control before sending the signal value included in the control signal and the bound target operation control to the vehicle control center; if so, send the control signal and the bound target operation control to the vehicle control center; if not, display first indication information to the user, where the first indication information is used to instruct the user to re-operate the target operation control.
[0133] As an optional implementation manner of an embodiment of the present application, the device further includes: a display module 620, configured to display second indication information to the user after sending the signal value included in the control signal and the bound target operation control to the vehicle control center, where the second indication information is used to indicate that the vehicle control center has successfully responded to the control signal.
[0134] As an optional implementation manner of an embodiment of the present application, the sending module 540 is further configured to, after displaying the second indication information to the user, if the response information corresponding to the control signal is not received within a preset time, stop displaying the second indication information to the user; if the response information corresponding to the control signal is received within the preset time, keep the display state of the second indication information unchanged.
[0135] In an embodiment, an in-vehicle terminal is provided, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of any one of the vehicle control signal processing methods described in the above method embodiments are implemented.
[0136] Exemplarily, Figure 7 is a schematic structural diagram of the in-vehicle terminal provided in an embodiment of the present application. As Figure 7 shown, the in-vehicle terminal provided in this embodiment includes: a memory 71 and a processor 72. The memory 71 is used to store a computer program; the processor 72 is used to execute the steps in the vehicle control signal processing method provided in the above method embodiment when calling the computer program. The implementation principle and technical effect are similar and will not be described in detail here. Those skilled in the art can understand that Figure 7 the structure shown in
[0137] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the vehicle control signal processing methods described in the above method embodiments are implemented.
[0138] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the various embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static random access memory (SRAM) and dynamic random access memory (DRAM), etc.
[0139] It should be noted that in this document, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.
[0140] For the sake of convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above discussion in some embodiments is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. According to the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are for better explaining the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A method for processing vehicle control signals, characterized in that, Including: Generating a control signal in response to a user's operation on a target operation control, the control signal including a signal name and a signal value; Determining a value range of the signal value corresponding to the control signal according to the signal name included in the control signal; if the signal value included in the control signal is within the value range of the signal value corresponding to the control signal, then determining the target operation control according to the signal name and a preset mapping relationship; wherein, the preset mapping relationship includes: a mapping relationship between the signal name and the target operation control; Binding the target operation control to the control signal; Sending the signal value included in the control signal and the target operation control to a control center of a vehicle according to the bound target operation control, so that the control center of the vehicle responds to the control signal according to the target operation control.
2. The method according to claim 1, wherein After determining the value range of the signal value corresponding to the control signal according to the signal name included in the control signal, and before determining the target operation control according to the signal name and the preset mapping relationship, the method further includes: Determining whether the signal value included in the control signal is within the value range of the signal value corresponding to the control signal.
3. The method according to claim 2, wherein The control signal includes one or more signal values; The determining whether the signal value included in the control signal is within the value range of the signal value corresponding to the control signal includes: If each of the one or more signal values included in the control signal is within the value range of the corresponding signal value of the control signal, determining that the signal value included in the control signal is within the value range of the signal value corresponding to the control signal; If one or more of the signal values included in the control signal are not within the value range of the corresponding signal values of the control signal, determining that the signal value included in the control signal is not within the value range of the signal value corresponding to the control signal.
4. The method according to claim 1, wherein Before sending the signal value included in the control signal and the bound target operation control to the control center of the vehicle, the method further includes: Determining whether the control signal is a valid control signal generated based on a user's operation on a target operation control; If so, sending the control signal and the bound target operation control to the control center of the vehicle; If not, presenting first indication information to the user, the first indication information being used to instruct the user to operate the target operation control again.
5. The method according to claim 1, wherein After sending the signal value included in the control signal and the bound target operation control to the control center of the vehicle, the method further includes: Presenting second indication information to the user, the second indication information being used to indicate that the control center of the vehicle has successfully responded to the control signal.
6. The method according to claim 5, wherein After presenting the second indication information to the user, the method further includes: If no response information corresponding to the control signal is received within a preset time, no longer presenting the second indication information to the user; If response information corresponding to the control signal is received within a preset time, keeping the display state of the second indication information unchanged.
7. The method according to any one of claims 1-6, characterized in that The method further includes: Obtaining a sensor signal corresponding to the control signal; Process the sensor signal according to the preset rules to generate the signal value included in the control signal.
8. A processing device for vehicle control signals, characterized in that, Including: A definition module, configured to generate a control signal in response to a user's operation on a target operation control, where the control signal includes a signal name and a signal value; A reference module, configured to determine the value range of the signal value corresponding to the control signal according to the signal name included in the control signal; if the signal value included in the control signal is within the value range of the signal value corresponding to the control signal, then determine the target operation control according to the signal name and a preset mapping relationship; where the preset mapping relationship includes: the mapping relationship between the signal name and the target operation control; A loading module, binding the target operation control to the control signal; A sending module, configured to send the signal value included in the control signal and the bound target operation control to the vehicle control center according to the bound target operation control, so that the vehicle control center responds to the control signal according to the target operation control.
9. A vehicle-mounted terminal, comprising: A memory and a processor, where the memory stores a computer program, and is characterized in that when the processor executes the computer program, it implements the vehicle control signal processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the vehicle control signal processing method according to any one of claims 1 to 7.
Citation Information
Patent Citations
In-vehicle configurable soft switches
CN104765547A
Message display method and device, storage medium and computer equipment
CN112163174A