Parameter storage method and device applied to vehicle terminal, vehicle terminal and vehicle
By storing the parameter information of vehicle function switches in a unified manner in the vehicle controller, the problems of cumbersome operation and low efficiency caused by scattered storage in the existing technology are solved, and the effects of simplifying operation and improving processing efficiency are achieved.
Patent Information
- Application Number
- CN202310382251.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-11
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2043-04-11
AI Technical Summary
In the existing technology, the position parameters of vehicle function switches are stored in various actuators, resulting in cumbersome operation and low processing efficiency.
The parameter information is uniformly stored in the vehicle's whole controller. The storage location is selected according to the number and type of controllers, including the whole controller, the cockpit controller, or the controller associated with the preset function, which simplifies the operation process and improves the processing efficiency.
By storing parameter information uniformly in the vehicle controller, the process of storing parameter information is simplified, operational efficiency and processing speed are improved, and the possibility of system software changes is reduced.
Smart Images

Figure CN116215409B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of automotive technology, and in particular relates to a parameter storage method, device, vehicle terminal and vehicle for use in vehicle terminals. Background Technology
[0002] With the deep integration of IT technology and automotive electrification, technologies such as 5G, big data, and AI are driving the intelligent development of automobiles. This is transforming cars from cold, mechanical products into intelligent mobile terminals with thoughts, feelings, and an understanding of their owners. The coupling between the vehicle's electrical system and subsystems is strengthened, and the human-machine interaction experience is becoming increasingly diverse and user-friendly. Currently, vehicles support approximately 300 personalized settings, involving thousands of positional parameters for various function switches.
[0003] In the existing technology, the position parameters of each of the above-mentioned function switches are usually stored in multiple execution controllers associated with each function, which is cumbersome and results in low processing efficiency. Summary of the Invention
[0004] This application provides a parameter storage method, device, vehicle terminal, and vehicle for use in vehicle terminals, which is simple to operate and improves processing efficiency.
[0005] In a first aspect, embodiments of this application provide a parameter storage method for an in-vehicle terminal, comprising:
[0006] Obtain a parameter setting request for a preset function of the vehicle; the parameter setting request carries parameter information corresponding to the preset function and the number of controllers associated with the preset function;
[0007] If the number is greater than one, the parameter information is stored in the vehicle controller.
[0008] Optionally, after obtaining the parameter setting request for the vehicle's preset functions, the process may also include:
[0009] If the quantity is equal to one, then the type of storage device in the controller associated with the preset function is detected;
[0010] If the storage device is a volatile memory, then the parameter information is stored in the vehicle controller;
[0011] If the storage device is a non-volatile memory, the parameter information is stored in the controller associated with the preset function.
[0012] Optionally, storing the parameter information in the vehicle's overall controller includes:
[0013] Determine the type of the parameter information;
[0014] If the parameter information is of the non-state parameter type, then the parameter information is stored in the vehicle controller.
[0015] Optionally, after determining the type of the parameter information, the method further includes:
[0016] If the parameter information is of the type of status parameter, then the parameter information is stored in the vehicle's cockpit controller.
[0017] Optionally, the status parameter is used to control the opening and closing of controls associated with the preset function, and determining the type of the parameter information includes:
[0018] The system detects whether the control has a self-reset function; the self-reset function describes the control performing an initialization operation each time the vehicle is powered on; the initialization operation of the control includes the initialization operation of the state parameters;
[0019] If the preset control does not have the self-reset function, then the type of the parameter information is determined.
[0020] Optionally, after storing the parameter information in the vehicle's cockpit controller, the method further includes:
[0021] Obtain the user information of the vehicle;
[0022] The cockpit controller associates and stores the parameter information and user information, and sends the parameter information and user information to the server for association and storage.
[0023] Optionally, after storing the parameter information in the vehicle's vehicle controller, the method further includes:
[0024] When the vehicle is detected to be powered on again, the parameter information is read from the vehicle controller and sent to the vehicle's cockpit controller.
[0025] The cockpit controller is controlled to perform operations corresponding to the preset functions according to the parameter information.
[0026] Secondly, embodiments of this application provide a parameter storage device for an in-vehicle terminal, comprising:
[0027] The first acquisition unit is used to acquire parameter setting requests for preset functions of the vehicle; the parameter setting requests carry parameter information corresponding to the preset function and the number of controllers associated with the preset function;
[0028] The first storage unit is used to store the parameter information to the vehicle controller if the quantity is greater than one.
[0029] Thirdly, embodiments of this application provide an in-vehicle terminal, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the parameter storage method for the in-vehicle terminal as described in any one of the first aspects above.
[0030] Fourthly, embodiments of this application provide a vehicle including an in-vehicle terminal, the in-vehicle terminal being used to execute the parameter storage method applied to the in-vehicle terminal as described in any of the first aspects.
[0031] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the parameter storage method for an in-vehicle terminal as described in any one of the first aspects above.
[0032] Fifthly, embodiments of this application provide a computer program product that, when run on an in-vehicle terminal, enables the in-vehicle terminal to execute the parameter storage method applied to the in-vehicle terminal as described in any of the first aspects.
[0033] The beneficial effects of the embodiments in this application compared with the prior art are:
[0034] This application provides a parameter storage method for an in-vehicle terminal. The method involves obtaining a parameter setting request for a preset function of a vehicle. The parameter setting request carries parameter information corresponding to the preset function and the number of controllers associated with the preset function. If the number is greater than one, the parameter information is stored in the vehicle's overall controller. Compared to existing technologies where multiple controllers are associated with a preset function, requiring each parameter to be stored separately in each controller, the method provided in this application directly stores all parameter information in the vehicle's overall controller. This eliminates the need for the in-vehicle terminal to search for each controller associated with the preset function or to confirm the correspondence between the parameter information and each associated controller. Instead, all parameter information is stored in a single controller—the overall vehicle controller—rather than in their individual controllers. This shortens the parameter storage process for the in-vehicle terminal, simplifying operation and improving processing efficiency. Attached Figure Description
[0035] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0036] Figure 1 This is a flowchart illustrating the implementation of a parameter storage method for an in-vehicle terminal according to an embodiment of this application;
[0037] Figure 2 This is a flowchart illustrating the implementation of a parameter storage method for an in-vehicle terminal according to another embodiment of this application;
[0038] Figure 3 This is a flowchart illustrating the implementation of a parameter storage method for an in-vehicle terminal according to another embodiment of this application;
[0039] Figure 4 This is a flowchart illustrating the implementation of a parameter storage method for an in-vehicle terminal, provided in another embodiment of this application.
[0040] Figure 5 This is a schematic diagram of the structure of a parameter storage device applied to an in-vehicle terminal according to an embodiment of this application;
[0041] Figure 6 This is a schematic diagram of the structure of an in-vehicle terminal provided in one embodiment of this application. Detailed Implementation
[0042] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0043] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0044] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0045] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0046] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0047] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0048] Please see Figure 1 , Figure 1 This is a flowchart illustrating the implementation of a parameter storage method for an in-vehicle terminal according to an embodiment of this application. In this embodiment, the in-vehicle terminal is the executing entity of the parameter storage method for the in-vehicle terminal.
[0049] like Figure 1 As shown, a parameter storage method for an in-vehicle terminal provided in one embodiment of this application may include S101 to S102, which are described in detail below:
[0050] In S101, a parameter setting request for a preset function of the vehicle is obtained; the parameter setting request carries parameter information corresponding to the preset function and the number of controllers associated with the preset function.
[0051] In practical applications, when a vehicle user needs to configure a certain function of the vehicle, they can send a parameter setting request for the preset function to the in-vehicle terminal. The preset function can be set according to actual needs and is not limited here. For example, the preset function could be a driving mode selection function or a welcome function, etc.
[0052] In this embodiment, the vehicle terminal detecting a user's request to set parameters for a preset function of the vehicle can be achieved by detecting a preset operation on the vehicle terminal. The preset operation can be set according to actual needs and is not limited here. For example, the preset operation could be clicking a preset app on the vehicle terminal's display interface or clicking a preset control within a preset app. Based on this, when the vehicle terminal detects that the preset control has been clicked, it determines that a preset operation has been detected, i.e., a user's request to set parameters for a preset function of the vehicle has been detected.
[0053] After receiving the above parameter setting request, the vehicle terminal can extract the parameter information corresponding to the preset function and the number of controllers associated with the preset function from the parameter setting request.
[0054] It should be noted that the controller associated with the preset function is used to characterize the controller that needs to be used when implementing the preset function.
[0055] The parameter information corresponding to the preset function refers to the specific parameter values executed by the controller associated with the preset function when the vehicle implements the preset function. For example, assuming the preset function is the air conditioning adjustment function, and the parameter information corresponding to the air conditioning adjustment function is to increase the air conditioning temperature by 2 degrees, then the air conditioning controller associated with the air conditioning adjustment function can control the vehicle's air conditioning temperature to increase by 2 degrees.
[0056] In this embodiment of the application, after obtaining the number of controllers associated with the preset function, the vehicle terminal can detect whether the number of controllers associated with the preset function is greater than one.
[0057] In one embodiment of this application, the vehicle terminal can execute step S102 when it detects that the number of controllers associated with a preset function is greater than one.
[0058] In another embodiment of this application, when the vehicle terminal detects that the number of controllers associated with a preset function is equal to one, the vehicle terminal may specifically perform the following: Figure 2 The steps S201 to S203 are shown.
[0059] In S102, if the number is greater than one, the parameter information is stored in the vehicle controller of the vehicle.
[0060] In this embodiment, when the vehicle terminal detects that the number of controllers associated with the preset function is greater than one, it indicates that there are multiple controllers associated with the preset function, that is, multiple controllers need to work together to achieve the preset function. Therefore, in order to avoid storing parameter information in each corresponding controller, resulting in uneven distribution of parameter information in each controller of the vehicle and increasing the occurrence of related system software changes and maintenance caused by function changes, the vehicle terminal can store all parameter information corresponding to the preset function in the vehicle's whole vehicle controller.
[0061] It should be noted that the aforementioned vehicle controller can be a vehicle-level controller, that is, a controller used to control the entire vehicle. For example, a vehicle-level controller can be a central computing unit or a controller with a system-on-a-chip (SOC).
[0062] In this embodiment, the types of parameter information corresponding to the preset function include, but are not limited to, status parameters and non-status parameters. Among them, status parameters are used to control the opening and closing of controls associated with the preset function. These controls can be various switches.
[0063] Based on this, in one embodiment of this application, the vehicle terminal can specifically be implemented as follows: Figure 3 The execution steps S102 shown in S301 to S302 are detailed below:
[0064] In S301, the type of the parameter information is determined.
[0065] In S302, if the parameter information is of the type of non-state parameter, then the parameter information is stored in the vehicle controller.
[0066] In this embodiment, the vehicle terminal can determine the type of parameter information based on the attributes of the parameter information.
[0067] The parameters include, but are not limited to, a first attribute and a second attribute. The first attribute indicates that the parameters are used to control the opening and closing of the control, and the second attribute indicates that the parameters are used to control the opening degree of the control.
[0068] In some possible embodiments, when the attribute of the parameter information is the first attribute, the parameter information can be represented by the numbers "0" and "1". Here, the number "0" represents the control being turned on, and the number "1" represents the control being turned off.
[0069] Parameter information can also be represented by the words "OFF" and "ON".
[0070] When the attribute of the parameter information is the second attribute, the parameter information can be represented by a specific numerical value and an increment / decrement sign. For example, assuming the preset function is the air conditioning adjustment function, +5 can represent an increase of 5 degrees in the air conditioning temperature.
[0071] In this embodiment, when the vehicle terminal determines that the parameter information is a non-state parameter, it can store the parameter information in the vehicle controller.
[0072] In one embodiment of this application, when the vehicle terminal determines that the type of parameter information is a status parameter, the vehicle terminal can store the parameter information in the vehicle's cockpit controller.
[0073] In another embodiment of this application, when the control associated with the preset function has a self-reset function, that is, the control performs an initialization operation every time the vehicle is powered on, that is, the control is restored to its initial state. In other words, even if the state parameters of the control are stored, the control still needs to reset the state parameters after the vehicle is powered on again. Therefore, in order to improve the processing efficiency of the vehicle terminal and avoid the vehicle terminal from performing invalid work, the vehicle terminal can specifically perform step S301 through the following steps, which are detailed below:
[0074] The system detects whether the control has a self-reset function; the self-reset function describes the control performing an initialization operation each time the vehicle is powered on; the initialization operation of the control includes the initialization operation of the state parameters;
[0075] If the preset control does not have the self-reset function, then the type of the parameter information is determined.
[0076] In this embodiment, the vehicle terminal can determine whether the control associated with the preset function has a self-reset function through a server with which it is wirelessly connected.
[0077] Based on this, when the vehicle terminal determines that the above control does not have a self-reset function, it means that the control will not perform an initialization operation each time the vehicle is powered on, that is, the control will not be restored to the initial state. Therefore, at this time, the vehicle terminal can determine the type of parameter information and determine the controller storing the parameter information based on the type.
[0078] As can be seen from the above, the parameter storage method for an in-vehicle terminal provided in this application obtains a parameter setting request for a preset function of the vehicle. The parameter setting request carries parameter information corresponding to the preset function and the number of controllers associated with the preset function. If the number is greater than one, the parameter information is stored in the vehicle's whole controller. Compared with the prior art, when there are multiple controllers associated with the preset function, each parameter corresponding to the preset function needs to be stored separately in each controller. The method provided in this application can directly store all parameter information in the vehicle's whole controller when there are multiple controllers associated with the preset function. This eliminates the need for the in-vehicle terminal to search for each controller associated with the preset function or to confirm the correspondence between the parameter information corresponding to the preset function and each associated controller. Instead, all parameter information is directly stored in one controller, i.e., the whole controller, rather than in their respective controllers. This shortens the parameter information storage process for the in-vehicle terminal, making the operation simpler and improving processing efficiency.
[0079] Please see Figure 2 , Figure 2 This is another embodiment of the parameter storage method for an in-vehicle terminal provided in this application. Compared to... Figure 1 In a corresponding embodiment, this embodiment may further include S201 to S203 after S101, as detailed below:
[0080] In S201, if the quantity is equal to one, the type of storage device in the controller associated with the preset function is detected.
[0081] In this embodiment, when the vehicle terminal detects that the number of controllers associated with the preset function is one, it indicates that there is only one controller associated with the preset function, that is, only one controller is needed to realize the preset function. Therefore, in order to identify the controller that stores the parameter information corresponding to the preset function and improve the success rate of storing the parameter information so that the vehicle can directly realize the preset function after powering on again without resetting, the vehicle terminal can detect the type of storage device in the controller associated with the preset function.
[0082] It should be noted that the types of storage devices include, but are not limited to, volatile memory and non-volatile memory.
[0083] Volatile memory refers to memory that loses data after power failure, while non-volatile memory refers to memory that does not lose data after power failure.
[0084] Based on this, in this embodiment, when the vehicle terminal detects that the type of storage device in the controller associated with the preset function is volatile memory, it can execute step S202.
[0085] When the vehicle terminal detects that the type of storage device in the controller associated with the preset function is non-volatile memory, it can execute step S203.
[0086] In S202, if the type of the storage device is volatile memory, the parameter information is stored in the vehicle controller.
[0087] In this embodiment, when the vehicle terminal detects that the type of storage device in the controller associated with the preset function is volatile memory, it indicates that the storage device in the controller associated with the preset function is a memory that will lose data after power failure. Therefore, in order to avoid loss of parameter information and improve user experience, the vehicle terminal can store the parameter information in the vehicle controller.
[0088] In S203, if the type of the storage device is non-volatile memory, the parameter information is stored in the controller associated with the preset function.
[0089] In this embodiment, when it is detected that the type of storage device in the controller associated with the preset function is non-volatile memory, it indicates that the storage device in the controller associated with the preset function is a memory that will not lose data after power failure. Therefore, the vehicle terminal can directly store parameter information in the controller associated with the preset function.
[0090] In one embodiment of this application, in order to improve user experience and avoid loss of parameter information, the vehicle terminal specifically performs the following steps, detailed below:
[0091] Obtain the user information of the vehicle;
[0092] The parameter information is sent to the cockpit controller, which then associates and stores the parameter information with the user information. Finally, the parameter information and the user information are sent to the server for associated storage.
[0093] In this embodiment, user information includes, but is not limited to, the user's facial image and fingerprint information.
[0094] In one implementation of this embodiment, the vehicle terminal can acquire in real time the facial image of the user who sends a parameter setting request for preset functions of the vehicle to the vehicle terminal through a camera device that is wirelessly connected to it.
[0095] In another implementation of this embodiment, the vehicle terminal can obtain the fingerprint information of the user who sends a parameter setting request for the vehicle's preset functions to the vehicle terminal in real time through a fingerprint acquisition device that is wirelessly connected to it.
[0096] Based on this, the vehicle terminal can send the parameter information stored in the controller associated with the preset function to the vehicle's cockpit controller, and control the cockpit controller to associate and store the parameter information and user information, and then send the parameter information and user information to a server wirelessly connected to the vehicle terminal for association and storage.
[0097] As can be seen from the above, the parameter storage method for vehicle terminals provided in this embodiment, if the number is equal to one, detects the type of storage device in the controller associated with the preset function; if the type of storage device is volatile memory, the parameter information is stored in the vehicle controller; if the type of storage device is non-volatile memory, the parameter information is stored in the controller associated with the preset function. When the method provided in this embodiment detects that there is only one controller associated with the preset function, it needs to determine the controller used to store the parameter information based on the type of storage device of the controller associated with the preset function. This can improve the success rate of storing parameter information and prevent the loss of the parameter information after the controller is powered off, so that the preset function can be directly implemented after the vehicle is powered on again without resetting, thereby improving the user experience.
[0098] Please see Figure 4 , Figure 4 This is another embodiment of the parameter storage method for an in-vehicle terminal provided in this application. Compared to... Figure 1 In a corresponding embodiment, this embodiment may further include S401 to S402 after S102, as detailed below:
[0099] In S401, the user information of the vehicle is obtained.
[0100] In S402, the cockpit controller is controlled to associate and store the parameter information and the user information, and then send the parameter information and the user information to the server for associated storage.
[0101] In this embodiment, user information includes, but is not limited to, the user's facial image and fingerprint information.
[0102] In one implementation of this embodiment, the vehicle terminal can acquire in real time the facial image of the user who sends a parameter setting request for preset functions of the vehicle to the vehicle terminal through a camera device that is wirelessly connected to it.
[0103] In another implementation of this embodiment, the vehicle terminal can obtain the fingerprint information of the user who sends a parameter setting request for the vehicle's preset functions to the vehicle terminal in real time through a fingerprint acquisition device that is wirelessly connected to it.
[0104] Based on this, the vehicle terminal can control the vehicle's cockpit controller to associate and store parameter information and user information, and send the parameter information and user information to a server that is wirelessly connected to the vehicle terminal for association and storage.
[0105] As can be seen from the above, the parameter storage method for in-vehicle terminals provided in this embodiment can obtain vehicle user information after storing the parameter information in the vehicle's cockpit controller; control the cockpit controller to associate and store the parameter information and user information, and send the parameter information and user information to the server for associated storage. The method provided in this embodiment associates and stores parameter information and user information so that the vehicle can subsequently obtain the corresponding parameter information based on the user information of different users using the vehicle, thereby improving the user experience. At the same time, sending the parameter information and user information to the server for associated storage avoids data loss.
[0106] In one embodiment of this application, after storing the parameter information to the vehicle's controller, the vehicle terminal may further perform the following steps, detailed below:
[0107] When the vehicle is detected to be powered on again, the parameter information is read from the vehicle controller and sent to the vehicle's cockpit controller.
[0108] The cockpit controller is controlled to perform operations corresponding to the preset functions according to the parameter information.
[0109] In this embodiment, when the vehicle terminal detects that the vehicle is powered on again, since the parameter information is stored in the vehicle's whole vehicle controller, in order to control the vehicle to implement the preset functions, the vehicle terminal can read the parameter information corresponding to the stored preset functions from the vehicle's whole vehicle controller and send the parameter information to the vehicle's cockpit controller.
[0110] Then, the vehicle terminal can control the cockpit controller to perform the operation corresponding to the preset function according to the parameter information received for the preset function, so as to realize the preset function.
[0111] As can be seen from the above, the parameter setting method for the vehicle terminal provided in this embodiment can send the parameter information to the cockpit controller after storing the parameter information in the vehicle controller and detecting that the vehicle is powered on again. This allows the cockpit controller to execute the operation corresponding to the preset function according to the parameter information. After the user starts the vehicle, the vehicle terminal can directly realize the preset function according to the stored parameter information without the user having to set the preset function again, thereby improving the user experience.
[0112] The method of this application will be described in detail below with a specific example. The background of this example is that the preset function is a personalized function (including seat adjustment and steering wheel adjustment).
[0113] First, when a user needs to set personalized functions, they can adjust the seat and steering wheel in the vehicle. When the in-vehicle terminal detects that the seat and steering wheel are being used, it indicates a request for setting parameters for the personalized functions. Therefore, the in-vehicle terminal can obtain the first parameter after the seat is adjusted and the second parameter after the steering wheel is adjusted. Since the controllers associated with the aforementioned personalized functions include the cockpit controller and the steering wheel controller (i.e., the number of associated controllers is greater than one), the terminal device can store both the first and second parameters in the vehicle's overall controller.
[0114] Subsequently, after detecting that the vehicle is powered on again, the vehicle terminal can directly obtain the first and second parameters from the vehicle controller and send them to the cockpit controller so that the cockpit controller can adjust the seat according to the first parameter and adjust the steering wheel controller connected to it according to the second parameter.
[0115] In one implementation, the terminal device can obtain the user's information, namely, the user's facial image information or fingerprint information, and associate the first parameter and the second parameter with the user information for storage, so that when the user uses the vehicle again, the vehicle's on-board terminal can directly adjust the vehicle's seat and steering wheel according to the first parameter and the second parameter associated with the user information.
[0116] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0117] Corresponding to the parameter storage method for an in-vehicle terminal described in the above embodiments, Figure 5 This diagram illustrates a parameter storage device for an in-vehicle terminal according to an embodiment of this application. For ease of explanation, only the parts relevant to the embodiment of this application are shown. (Refer to...) Figure 5 The parameter storage device 500 applied to the vehicle terminal includes: a first acquisition unit 51 and a first storage unit 52. Wherein:
[0118] The first acquisition unit 51 is used to acquire parameter setting requests for preset functions of the vehicle; the parameter setting requests carry parameter information corresponding to the preset function and the number of controllers associated with the preset function.
[0119] The first storage unit 52 is used to store the parameter information to the vehicle controller if the quantity is greater than one.
[0120] In one embodiment of this application, the parameter storage device 500 applied to the vehicle terminal further includes: a first detection unit, a second storage unit, and a third storage unit. Wherein:
[0121] The first detection unit is used to detect the type of storage device in the controller associated with the preset function if the number is equal to one.
[0122] The second storage unit is used to store the parameter information to the vehicle controller if the type of the storage device is volatile memory.
[0123] The third storage unit is used to store the parameter information to the controller associated with the preset function if the type of the storage device is non-volatile memory.
[0124] In one embodiment of this application, the first storage unit 51 specifically includes: a first determining unit and a fourth storage unit. Wherein:
[0125] The first determining unit is used to determine the type of the parameter information.
[0126] The fourth storage unit is used to store the parameter information to the vehicle controller if the parameter information is of the non-state parameter type.
[0127] In one embodiment of this application, the parameter storage device 500 applied to the vehicle terminal further includes: a fifth storage unit.
[0128] The fifth storage unit is used to store the parameter information in the vehicle's cockpit controller if the parameter information is of the type of a status parameter.
[0129] In one embodiment of this application, the state parameter is used to control the opening and closing of the control associated with the preset function, and the first determining unit specifically includes: a second detection unit and a second determining unit. Wherein:
[0130] The second detection unit is used to detect whether the control has a self-reset function; the self-reset function is used to describe the control performing an initialization operation each time the vehicle is powered on; the initialization operation of the control includes the initialization operation of the state parameters.
[0131] The second determining unit is used to determine the type of the parameter information if the preset control does not have the self-reset function.
[0132] In one embodiment of this application, the parameter storage device 500 applied to the vehicle terminal further includes: a second acquisition unit and a first control unit. Wherein:
[0133] The second acquisition unit is used to acquire the user information of the vehicle.
[0134] The first control unit is used to control the cockpit controller to associate and store the parameter information and the user information, and to send the parameter information and the user information to the server for association and storage.
[0135] In one embodiment of this application, the parameter storage device 800 applied to the vehicle terminal further includes: a reading unit and a second control unit. Wherein:
[0136] The reading unit is used to read the parameter information from the vehicle controller when the vehicle is detected to be powered on again, and to send the read parameter information to the vehicle's cockpit controller.
[0137] The second control unit is used to control the cockpit controller to perform operations corresponding to the preset functions according to the parameter information.
[0138] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0139] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0140] Figure 6 This is a schematic diagram of the structure of a vehicle-mounted terminal provided in one embodiment of this application. Figure 6 As shown, the vehicle-mounted terminal 6 in this embodiment includes: at least one processor 60 ( Figure 6(Only one is shown) a processor, a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60, wherein the processor 60 executes the computer program 62 to implement the steps in any of the above-described embodiments of the parameter storage method applied to the vehicle terminal.
[0141] The vehicle-mounted terminal may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will understand that... Figure 6 This is merely an example of vehicle terminal 6 and does not constitute a limitation on vehicle terminal 6. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input / output devices, network access devices, etc.
[0142] The processor 60 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0143] In some embodiments, the memory 61 may be an internal storage unit of the vehicle terminal 6, such as the RAM of the vehicle terminal 6. In other embodiments, the memory 61 may be an external storage device of the vehicle terminal 6, such as a plug-in hard drive, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the vehicle terminal 6. Furthermore, the memory 61 may include both internal and external storage units of the vehicle terminal 6. The memory 61 is used to store the operating system, applications, bootloader, data, and other programs, such as the program code of the computer program. The memory 61 can also be used to temporarily store data that has been output or will be output.
[0144] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.
[0145] This application provides a computer program product that, when run on an in-vehicle terminal, enables the in-vehicle terminal to execute the steps described in the above-described method embodiments.
[0146] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to an in-vehicle terminal, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0147] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0148] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A parameter storage method for an in-vehicle terminal, characterized in that, include: Obtain parameter setting requests for preset functions of the vehicle; The parameter setting request carries parameter information corresponding to the preset function and the number of controllers associated with the preset function; the types of parameter information corresponding to the preset function include state parameters and non-state parameters, the state parameters are used to control the opening and closing of the controls associated with the preset function, and the non-state parameters are used to control the opening range of the controls; If the number is greater than one, it indicates that there are multiple controllers associated with the preset function, and multiple controllers need to work together to achieve the preset function. In this case, the parameter information is stored in the vehicle's whole vehicle controller to avoid storing the parameter information in each corresponding controller, which would result in uneven distribution of the parameter information in the vehicle's controllers and increase the occurrence of related system software changes and maintenance caused by function changes. If the quantity is equal to one, then the type of storage device in the controller associated with the preset function is detected; If the storage device is a volatile memory, the parameter information is stored in the vehicle controller to avoid loss of parameter information; if the storage device is a non-volatile memory, the parameter information is stored in the controller associated with the preset function so that the vehicle can directly implement the preset function after power-on without resetting; the volatile memory refers to a memory that loses data after power failure, and the non-volatile memory refers to a memory that does not lose data after power failure.
2. The parameter storage method as described in claim 1, characterized in that, The step of storing the parameter information to the vehicle's overall controller includes: Determine the type of the parameter information; If the parameter information is of the non-state parameter type, then the parameter information is stored in the vehicle controller.
3. The parameter storage method as described in claim 2, characterized in that, After determining the type of the parameter information, the following is also included: If the parameter information is of the type of status parameter, then the parameter information is stored in the vehicle's cockpit controller.
4. The parameter storage method as described in claim 3, characterized in that, The status parameters are used to control the opening and closing of controls associated with the preset function, and determining the type of the parameter information includes: The system detects whether the control has a self-reset function; the self-reset function describes the control performing an initialization operation each time the vehicle is powered on; the initialization operation of the control includes the initialization operation of the state parameters; If the control associated with the preset function does not have the self-reset function, then the type of the parameter information is determined.
5. The parameter storage method as described in claim 3, characterized in that, After storing the parameter information in the vehicle's cockpit controller, the method further includes: Obtain the user information of the vehicle; The cockpit controller associates and stores the parameter information and user information, and sends the parameter information and user information to the server for association and storage.
6. The parameter storage method according to any one of claims 1-5, characterized in that, After storing the parameter information in the vehicle's overall controller, the method further includes: When the vehicle is detected to be powered on again, the parameter information is read from the vehicle controller and sent to the vehicle's cockpit controller. The cockpit controller is controlled to perform operations corresponding to the preset functions according to the parameter information.
7. A parameter storage device for use in a vehicle-mounted terminal, characterized in that, include: The first acquisition unit is used to acquire parameter setting requests for preset functions of the vehicle; The parameter setting request carries parameter information corresponding to the preset function and the number of controllers associated with the preset function; the types of parameter information corresponding to the preset function include state parameters and non-state parameters, the state parameters are used to control the opening and closing of the controls associated with the preset function, and the non-state parameters are used to control the opening range of the controls; The first storage unit is used to store the parameter information in the vehicle controller if the number is greater than one, indicating that there are multiple controllers associated with the preset function and multiple controllers need to work together to achieve the preset function. This is to avoid storing the parameter information in each corresponding controller, which would result in uneven distribution of the parameter information in each controller of the vehicle and increase the occurrence of related system software changes and maintenance caused by function changes. The parameter storage device applied to the vehicle terminal also includes: The first detection unit is used to detect the type of storage device in the controller associated with the preset function if the number is equal to one. The second storage unit is used to store the parameter information to the vehicle controller if the type of the storage device is volatile memory, so as to avoid the loss of parameter information; the volatile memory refers to a memory that will lose data after power failure; The third storage unit is used to store the parameter information to the controller associated with the preset function if the type of the storage device is non-volatile memory, so that the vehicle can directly implement the preset function after power is restored without resetting; the non-volatile memory refers to memory that will not lose data after power failure.
8. A vehicle-mounted terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the parameter storage method for an in-vehicle terminal as described in any one of claims 1 to 6.
9. A vehicle, characterized in that, Including the vehicle-mounted terminal as described in claim 8.
Citation Information
Patent Citations
Whole electric car controller provided with memory and wireless communication module
CN204184284U