Data Processing Method, System, Electronic Device, Storage Medium and Vehicle
Through the coordinated management of calibration data by servers and electronic devices, the problems of insufficient memory and inconvenient calibration parameters management of vehicle controllers are solved, efficient and flexible calibration data storage and management are realized, and user experience is improved.
Patent Information
- Application Number
- CN202411061204.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2044-08-05
AI Technical Summary
The vehicle controller has limited memory, and storing a large number of calibration parameters leads to excessive memory usage, inconvenient management of calibration parameters, low utilization rate, and cumbersome operation.
By setting up the calibration data storage at the three ends of the server, electronic equipment and target vehicle, the server stores calibration parameters and manages based on electronic equipment, with high flexibility, and users can adjust calibration data through the mobile APP end.
Reduce the memory usage of vehicle controllers, improve calibration data utilization, facilitate operation, and improve user experience.
Smart Images

Figure CN118631931B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of automobiles, and particularly relates to a data processing method, system, electronic device, storage medium and vehicle. Background Art
[0002] In vehicle intelligent control technology, since intelligent control requires a lot of calibrated data for support, after the parameters are calibrated, the calibrated data needs to be backfed to the vehicle controller. However, due to the complexity of the vehicle intelligent control system and the huge amount of calibrated data, a lot of calibrated data often needs to be stored, resulting in excessive memory space occupied by the data storage of the vehicle controller and frequent data operations, which affect the vehicle performance. Summary of the Invention
[0003] This application provides a data processing method, system, electronic device, storage medium and vehicle, aiming to solve the problem of reduced data storage performance of the target vehicle controller.
[0004] In a first aspect, this application provides a data processing method, which is applied to an electronic device and includes:
[0005] The electronic device, the server and the vehicle controller are interconnected;
[0006] Transmit the calibrated data to the server, where the calibrated data is the current control function data of the vehicle;
[0007] Transmit a first calibrated parameter to the vehicle controller, where the first calibrated parameter is the control function parameter in the vehicle corresponding to the calibrated data and in an enabled state.
[0008] Optionally, the calibrated data includes a vehicle identifier, at least one set of calibrated parameters, version information of the calibrated parameters, and a status change identifier;
[0009] Wherein, the calibrated parameter is the control function parameter of the vehicle, the calibrated parameter includes the first calibrated parameter, and the status change identifier represents the change status of the calibrated parameter.
[0010] Optionally, the transmitting the calibrated data to the server includes:
[0011] Obtain the calibrated data;
[0012] When the electronic device is normally connected to the server, the electronic device transmits the calibrated data to the server;
[0013] When the electronic device is abnormally connected to the server, the electronic device transmits the calibration data to the vehicle controller, so as to transmit the calibration data to the server through the vehicle controller.
[0014] Optionally, the transmitting the first calibration parameter to the vehicle controller includes:
[0015] Determine whether the vehicle corresponding to the vehicle identifier has the control function corresponding to the first calibration parameter;
[0016] If the vehicle has the control function and the control function is in an enabled state, transmit the first calibration parameter to the vehicle controller.
[0017] Optionally, the method further includes:
[0018] Obtain the status identifier corresponding to the control function stored in the vehicle controller, and determine whether the control function is in an enabled state according to the status identifier;
[0019] Wherein, the status identifier is updated according to the control function adjustment instruction triggered by the electronic device, and the control function adjustment instruction carries control function enabling information and control function disabling information.
[0020] Optionally, the method includes:
[0021] Receive a first storage result fed back by the vehicle controller for the first calibration parameter;
[0022] Update the status change identifier according to the first storage result.
[0023] Optionally, before transmitting the calibration data to the server, the method includes:
[0024] Update the calibration data and update the status change identifier to a parameter overwrite identifier.
[0025] Optionally, the updating the calibration data includes:
[0026] Receive the first calibration data sent by the server, and the first calibration data is the control function data of the vehicle;
[0027] When the first vehicle identifier is the same as the vehicle identifier, and the second calibration parameter is inconsistent with the calibration parameter, and / or, when the first version information is inconsistent with the version information, update the calibration data according to the first calibration data;
[0028] Wherein, the first vehicle identifier is the vehicle identifier in the first calibration data, the second calibration parameter is the vehicle control function parameter in the first calibration data, and the first version information is the version information of the second calibration parameter.
[0029] Optionally, the method further includes:
[0030] Based on the modification operation of the calibration data triggered by the electronic device, update the calibration data.
[0031] In a second aspect, the present application provides a data processing method applied to a vehicle controller. The method includes:
[0032] Receiving first calibration parameters sent by an electronic device and / or a server, where the first calibration parameters carry the device identifier of the electronic device, and the first calibration parameters are control function parameters corresponding to the control functions enabled in the vehicle controller;
[0033] Saving the first calibration parameters and the device identifier; wherein, the electronic device, the server, and the vehicle controller are interconnected.
[0034] Optionally, before receiving the first calibration parameters sent by the electronic device and / or the server, it includes:
[0035] Receiving a control function adjustment instruction sent by the electronic device and / or the server;
[0036] Updating the status identifier corresponding to the control function stored in the vehicle controller according to the control function adjustment instruction;
[0037] The status identifier includes a control function enable identifier and a control function disable identifier.
[0038] In a third aspect, the present application provides a data processing method applied to a server. The method includes:
[0039] Receiving and saving calibration data sent by an electronic device and / or a vehicle controller;
[0040] And / or, transmitting the calibration data saved in the system to the electronic device and / or the vehicle controller;
[0041] Wherein, the electronic device, the server, and the vehicle controller are interconnected.
[0042] In a fourth aspect, the present application provides a data processing system, including:
[0043] An electronic device, a server, and a vehicle controller, where the electronic device, the server, and the vehicle controller are interconnected;
[0044] The electronic device includes a first service processing module, which is configured to transmit calibration data to the server and transmit first calibration parameters to the corresponding vehicle controller. The calibration data is the current control function data of the vehicle, and the first calibration parameters are the control function parameters of the control functions enabled in the vehicle corresponding to the calibration data.
[0045] The server includes a second service processing module, which is configured to receive and store the calibration data sent by the electronic device and / or the vehicle controller; and / or transmit the calibration data stored in the system to the electronic device and / or the vehicle controller.
[0046] The vehicle controller includes a third service processing module, which is configured to receive the first calibration parameters sent by the electronic device and / or the server. The first calibration parameters carry the device identifier of the electronic device. The first calibration parameters are the control function parameters corresponding to the control functions enabled in the vehicle controller, and save the first calibration parameters and the device identifier.
[0047] Optionally, a data processing system includes:
[0048] The electronic device includes a first storage module, which is configured to store the calibration data. The calibration data includes a vehicle identifier, at least one set of calibration parameters, version information of the calibration parameters, and a status change identifier. The calibration parameters are the control function parameters of the vehicle, the calibration parameters include the first calibration parameters, and the status change identifier represents the change status of the calibration parameters.
[0049] The vehicle controller includes a second storage module, which is configured to store the first calibration parameters and the device identifier of the electronic device.
[0050] The server includes a third storage module, which is configured to store the device identifier, the vehicle identifier, and the at least one set of calibration parameters corresponding to the device identifier and the vehicle identifier.
[0051] In a fifth aspect, the present application provides an electronic device, which includes:
[0052] One or more processors;
[0053] A memory; and
[0054] One or more applications, where the one or more applications are stored in the memory and configured to be executed by the processor to implement any one of the data processing methods.
[0055] In a sixth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored. The computer program is loaded by a processor to execute the steps in any one of the above data processing methods.
[0056] In a seventh aspect, the present application provides a vehicle, including a vehicle controller, which is configured to execute the steps in any one of the above data processing methods.
[0057] The present application provides a data processing method, system, electronic device, storage medium and vehicle. The electronic device is interconnected with a server and a vehicle controller; calibration data is transmitted to the server; the first calibration parameter in the updated calibration data is transmitted to the corresponding vehicle controller, and the first calibration parameter is the control function parameter in the calibration data corresponding to the vehicle that is in an enabled state. This solution stores calibration data through three terminals: a server, an electronic device, and a target vehicle, and manages calibration data based on the electronic device. The first calibration parameter stored in the vehicle controller is the calibration parameter corresponding to the enabled state, with a small storage quantity and high utilization rate, without occupying the memory of the vehicle controller. Moreover, the calibration data is managed based on the electronic device, with high flexibility. Users can adjust the calibration data through the mobile phone APP according to their usage habits, improving the usage experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.
[0059] Figure 1 is a schematic diagram of the scenario of the data processing method provided by an embodiment of the present application;
[0060] Figure 2 is a schematic flowchart of an embodiment of the data processing method provided by an embodiment of the present application;
[0061] Figure 3 is another schematic flowchart of the data processing method provided by an embodiment of the present application;
[0062] Figure 4 is one of the schematic flowcharts of the state change update in the data processing method provided by an embodiment of the present application;
[0063] Figure 5 is one of the schematic flowcharts of the calibration parameter transmission in the data processing method provided by an embodiment of the present application;
[0064] Figure 6 Some schematic diagrams of the transmission of the selected target calibration parameter types provided for an embodiment of the present application;
[0065] Figure 7 A schematic flowchart of one of the implementation schemes for calibrating parameter modification in the data processing method provided for an embodiment of the present application;
[0066] Figure 8 A schematic flowchart of the implementation process of the keyless entry function in the data processing method provided for an embodiment of the present application;
[0067] Figure 9 A schematic structural diagram of an embodiment of an electronic device provided in an embodiment of the present application. Detailed implementation manners
[0068] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present invention.
[0069] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus cannot be understood as a limitation to the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless otherwise specifically defined.
[0070] In the embodiments of the present application, "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / ", unless otherwise specified, generally represents an "or" relationship between the associated objects before and after.
[0071] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or instance". Any embodiment described as "exemplary" in this application is not necessarily to be construed as more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. In the following description, details are set forth for purposes of explanation. It should be understood that those of ordinary skill in the art can recognize that the invention can be practiced without these specific details. In other instances, well-known structures and processes are not elaborated in detail so as not to obscure the description of the invention with unnecessary details. Therefore, the invention is not intended to be limited to the embodiments shown, but rather to be consistent with the broadest scope that conforms to the principles and features disclosed in this application.
[0072] Among them, the calibration refers to the process of adjusting and calibrating the measurement object according to known measurement data and standard values to ensure that its performance meets the design specifications. The application scope of calibration is very wide, involving multiple fields such as electronic appliances, mechanical manufacturing, and chemical analysis.
[0073] The technical solution of this application involves calibration parameters, which refer to the data that meet the accuracy requirements obtained by professional technicians using professional equipment and software tools. By adjusting the calibration parameters, the stability of the performance of the system or device can be changed. It plays a crucial role in the manufacturing and use of products.
[0074] Exemplarily, for automotive Bluetooth Low Energy (BLE) positioning, Ultra WideBand (UWB) positioning, and Near Field Communication (NFC) positioning, it means that through the near field communication between the mobile phone and the vehicle controller module, the ranging function is realized, the distance and position between the vehicle and the mobile phone are judged, so as to realize the intelligent vehicle control function. Among them, the mobile phone corresponds to the electronic device in this solution, and the vehicle controller module corresponds to the module in the target vehicle, that is, the calibration parameter is the distance parameter, which is used to provide the intelligent vehicle control function realized by Bluetooth positioning and UWB positioning, such as the keyless entry function. The calibration parameter may include the vehicle unlocking distance and the vehicle starting distance corresponding to the keyless entry function, so as to be used as the parameter for judging to realize the keyless entry function.
[0075] In the related art, taking the vehicle positioning control function as the control function, the calibration parameters after calibration of the vehicle positioning controller (including Bluetooth positioning and UWB positioning) will be fed back to the vehicle controller (the vehicle controller is installed in the target vehicle). However, due to the different performances of different mobile phones and different vehicle models, the calibration parameters will also vary. Thus, the following problems arise:
[0076] 1. The memory of the vehicle controller is limited. When there are too many calibration parameters to be filled (for example, a vehicle model is bound to multiple calibration parameters of multiple mobile phones), it will cause the calibration parameters to occupy too much memory, even exceeding the memory.
[0077] 2. Storing calibration parameters in the vehicle controller is not convenient for information management. When the calibration parameters change (including adding calibration parameters, deleting calibration parameters, and modifying calibration parameters), it is necessary to refill the vehicle controller, which is a cumbersome operation.
[0078] 3. The utilization rate of calibration parameters is low. Since the vehicle controller stores multiple sets of calibration parameters, when the mobile phone and the vehicle perform positioning judgment, it is necessary to find a corresponding set of calibration parameters from multiple sets of calibration parameters.
[0079] Therefore, the embodiments of the present application provide a data processing method, system, electronic device, and computer-readable storage medium (the computer-readable storage medium can be abbreviated as the storage medium in full text). The calibration data is stored by setting three terminals: a server, an electronic device, and a target vehicle. Based on the fact that the number of calibration parameters stored in the server is not affected by the memory, a large amount of calibration parameters can be stored, and it is convenient to manage the information by storing the calibration parameters in the server. When the calibration data changes (including adding calibration parameters, deleting calibration parameters, and modifying calibration parameters), it can be changed in a timely manner, and the operation is convenient. At the same time, the timeliness is high. The calibration data transmission uses a dual insurance of a network channel and a Bluetooth channel to ensure that the calibration parameters can be synchronized to the vehicle controller in a timely manner. The utilization rate of the calibration data of the vehicle controller is high. The vehicle terminal only needs to store the calibration parameters of the currently used device model, which does not occupy the memory of the vehicle controller, simplifies the processing flow of the vehicle controller, and is highly flexible based on the electronic device for calibration parameter management. The user can adjust the positioning range through the mobile application (Application, APP) terminal according to his own usage habits, change the calibration parameters of the vehicle controller, and improve the usage experience. The following will be described in detail respectively.
[0080] The data processing method in the embodiments of the present invention is applied to a data processing device. The data processing device is set in an electronic device. One or more processors, memories, and one or more application programs are set in the electronic device. One or more application programs are stored in the memory and configured to be executed by the processor to implement the data processing method. The electronic device can be an electronic device, such as a mobile phone or a tablet computer.
[0081] As Figure 1 shown, Figure 1This is a schematic diagram of the scenario for the data processing method of the embodiments of the present application. In the data processing scenario of the embodiments of the present invention, there are an electronic device 100 (a data processing device is integrated in the electronic device 100), a server 200, and a target vehicle 300. Among them, a computer-readable storage medium corresponding to data processing runs in the electronic device 100 to execute the steps of data processing.
[0082] In the embodiments of the present invention, the electronic device 100 is mainly used for: connecting the electronic device, the server, and the vehicle controller to each other; transmitting the calibrated data updated based on the electronic device to the server; and transmitting the first calibration parameter in the updated calibrated data to the corresponding vehicle controller, where the first calibration parameter is the control function parameter in the calibrated data corresponding to the vehicle that is in an enabled state.
[0083] In the embodiments of the present invention, the server 200 is mainly used for: receiving and saving the calibrated data sent by the electronic device and / or the vehicle controller; and / or, transmitting the calibrated data saved by the system to the electronic device and / or the vehicle controller. Specifically, by receiving a calibrated parameter acquisition request sent by the electronic device, determining the target vehicle identifier corresponding to the device identifier of the electronic device; for each of the target vehicle identifiers, extracting the calibrated data of each control function under the target vehicle identifier, generating a data packet, where the data packet includes a plurality of calibrated data, and each calibrated data includes: a vehicle identifier, at least one set of calibration parameters corresponding to the vehicle identifier, and the version information of the calibrated data, each calibrated data corresponds to a control function, and the first calibration parameter is any set of calibration parameters in the calibrated data; sending the data packet to the electronic device, so that the electronic device stores the calibrated data in the data packet locally and determines the state change of the calibrated data according to the calibrated data; the state change includes a parameter overwrite flag, and the parameter overwrite flag is used to instruct the electronic device to transmit the first calibration parameter of the control function in the electronic device identifier and the vehicle identifier corresponding to the vehicle in the calibrated data that is in an enabled state to the target vehicle (the vehicle corresponding to the vehicle identifier in the calibrated data), so that the target vehicle overwrites the control function corresponding to the electronic device identifier and the first calibration parameter stored locally with the electronic device identifier and the first calibration parameter.
[0084] In the embodiments of the present invention, the target vehicle 300 is mainly used for: receiving the first calibration parameter sent by the electronic device and / or the server, where the first calibration parameter carries the device identifier of the electronic device, and the first calibration parameter is the control function parameter corresponding to the control function in the vehicle controller that is in an enabled state; saving the first calibration parameter and the device identifier; where the electronic device, the server, and the vehicle controller are connected to each other.
[0085] Those skilled in the art can understand that Figure 1 the application environment shown in Figure 1 is only one application scenario of the solution of this application, and does not constitute a limitation on the application scenario of the solution of this application. Other application environments may also include more or fewer electronic devices 100 and target vehicles 300 than those shown in Figure 1 or the network connection relationship between the electronic device 100 / target vehicle 300. For example,
[0086] It should be noted that Figure 1 the schematic diagram of the scenario of the data processing method shown is only an example. The scenario of the data processing method described in the embodiments of the present invention is for more clearly explaining the technical solution of the embodiments of the present invention, and does not constitute a limitation on the technical solution provided by the embodiments of the present invention.
[0087] Based on the scenario of the above data processing method, embodiments of the data processing method are proposed.
[0088] As Figure 2 shown, Figure 2 is a schematic flowchart of an embodiment of the data processing method in the embodiments of the present application. In the implementation solution of the present application, the data processing method is applied to an electronic device, and the electronic device is interconnected with a server and a vehicle controller. The data processing method includes steps S201-S202:
[0089] S201. Transmit the calibration data to the server.
[0090] Specifically, in the implementation solution of the present application, the calibration data includes a vehicle identifier, at least one set of calibration parameters corresponding to the vehicle identifier, and version information of the calibration data. Each calibration data corresponds to a control function, and the first calibration parameter is any one set of calibration parameters in the calibration data.
[0091] Specifically, in another implementation solution of the present application, the calibration data includes a vehicle identifier, at least one set of calibration parameters, version information of the calibration parameters, and a status change identifier; wherein, the calibration parameters are control function parameters of the vehicle, the calibration parameters include the first calibration parameter, and the status change identifier represents the change status of the calibration parameters.
[0092] It is understandable that the electronic device correspondingly stores the calibration data corresponding to all vehicles having a binding relationship with the electronic device.
[0093] Wherein, the target vehicle identifier is the unique identifier corresponding to the target vehicle. The user identifies the target vehicle. Exemplarily, the target vehicle identifier may be the VIN of the target vehicle. The vehicle VIN is Vehicle Identification Number, which represents the vehicle identification number.
[0094] Specifically, in the implementation scheme of the present application, the data processing method is applied to an electronic device. The electronic device is movable. The user creates a binding relationship between the electronic device and the target vehicle based on the electronic device, and obtains the target vehicle identifier corresponding to the target vehicle based on the trigger operation of the electronic device. The trigger operation is, for example, creating a Bluetooth connection between the electronic device and the target electronic device.
[0095] Exemplarily, the electronic device is a mobile phone. The user registers based on the APP registration page provided by the mobile phone to create a binding relationship between the electronic device and the target vehicle. Specifically, based on the mobile phone Bluetooth connection page, trigger a Bluetooth connection with the target vehicle. After the Bluetooth connection is successful, send a target vehicle identifier acquisition request to the target vehicle. The target vehicle responds to the target vehicle identifier acquisition request and feeds back the target vehicle identifier to the electronic device. The electronic device completes obtaining the vehicle identifier corresponding to the target vehicle, and creates a binding between the device identifier of the electronic device and the vehicle identifier corresponding to the target vehicle, realizing the creation of the binding relationship between the electronic device and the target vehicle.
[0096] Furthermore, the target user can update any calibration data corresponding to any vehicle stored in the electronic device based on the electronic device, and transmit the updated calibration data to the server, so that the server updates the updated calibration data and saves it, realizing update synchronization.
[0097] S202: Transmit the first calibration parameter to the vehicle controller. The first calibration parameter is the control function parameter in the enabled state in the vehicle corresponding to the calibration data.
[0098] Specifically, in this solution, the first calibration parameter in the updated calibration data is transmitted to the corresponding vehicle controller. The first calibration parameter is the control function parameter in the enabled state in the vehicle corresponding to the calibration data.
[0099] Specifically, the vehicle controller is assembled on the vehicle, that is, the vehicle controller has a one-to-one correspondence with the vehicle identifier.
[0100] Specifically, after the updated calibration data, when it is recognized that the control function corresponding to the vehicle of the updated calibration data is in an enabled state, the first calibration parameter corresponding to the enabled state in the calibration data is sent to the vehicle controller corresponding to the vehicle for storage, so that the vehicle controller executes the control function based on the first calibration parameter.
[0101] It can be understood that different vehicle control functions corresponding to the target vehicle include at least one set of calibration parameters, and different calibration parameters may correspond to different control precisions.
[0102] In this implementation scheme, the calibration data is stored by setting three terminals: a server, an electronic device, and a target vehicle; based on the fact that the number of calibration parameters stored in the server is not affected by the memory, a large amount of calibration parameters can be stored, and the calibration parameters stored in the server are convenient for information management. When the calibration data changes (including adding calibration parameters, deleting calibration parameters, modifying calibration parameters), it can be changed in a timely manner, and the operation is convenient; the first calibration parameter stored in the vehicle controller is the calibration parameter corresponding to the enabled state, with a small storage quantity and high utilization rate, which does not occupy the memory of the vehicle controller, and based on the electronic device for calibration data management, it has high flexibility. Users can adjust the calibration data through the mobile APP terminal according to their own usage habits to improve the usage experience.
[0103] Further, on the basis of the above implementation scheme, the present application also provides an implementation scheme for transmitting the updated calibration data based on the electronic device to the server. Specifically, the calibration data is obtained, that is, the updated calibration data based on the electronic device is obtained; the calibration data is transmitted to the server, and / or the calibration data is transmitted to the vehicle controller, so that the vehicle controller transmits the calibration data to the server.
[0104] It can be understood that since the connection between the electronic device and the server may be abnormal due to environmental factors, the present application adaptively selects different data transmission methods according to the connection situation between the electronic device and the server to upload the updated calibration data based on the electronic device to the server for updating, ensuring the accuracy of data updating.
[0105] Specifically, transmitting the calibration data to the server, and / or transmitting the calibration data to the vehicle controller so that the vehicle controller transmits the calibration data to the server includes the steps of:
[0106] (1) When the electronic device is normally connected to the server, the electronic device transmits the calibration data to the server;
[0107] (2) When the electronic device is abnormally connected to the server, the electronic device transmits the calibration data to the vehicle controller, so as to transmit the calibration data to the server through the vehicle controller.
[0108] It can be understood that in some other embodiments of the present application, a dual - insurance method can also be adopted to send simultaneously, and the specific implementation of the present application is not limited.
[0109] Specifically, in one embodiment of the present application, a specific embodiment for transmitting the first calibration parameter in the updated calibration data to the corresponding vehicle controller is further provided. Specifically, refer to Figure 3 , Figure 3 It is a schematic flowchart of another embodiment of the data processing method provided for an embodiment of the present application, specifically including steps S301 - S302:
[0110] S301. Determine whether the vehicle corresponding to the vehicle identifier has the control function corresponding to the first calibration parameter.
[0111] Specifically, by determining whether the vehicle corresponding to the vehicle identifier in the calibration data has the control function corresponding to the calibration data.
[0112] Specifically, in the embodiment of the present application, after the electronic device determines the vehicle corresponding to the vehicle identifier in the updated calibration data (for the sake of easy description, this vehicle is called the target vehicle), it determines whether the target vehicle has the control function corresponding to the calibration data.
[0113] It can be understood that the specific implementation method for identifying whether the target vehicle identifier has the control function is not specifically limited in the present application. Exemplarily: when the user triggers the electronic device to enable the control function, it is determined that the target vehicle identifier has the control function. Or, by obtaining the status information of the target vehicle, it is determined whether the target vehicle identifier has the control function according to the status information.
[0114] S302. If the vehicle has the control function and the control function is in an enabled state, transmit the first calibration parameter to the vehicle controller.
[0115] Specifically, if the vehicle has the control function and it is determined that the control function is in an enabled state, transmit the first calibration parameter corresponding to the control function in the calibration data to the corresponding vehicle controller.
[0116] Specifically, when the target vehicle identifier has the control function and it is determined that the control function is in an enabled state, send the first calibration parameter corresponding to the target vehicle to the vehicle controller corresponding to the target vehicle.
[0117] Specifically, in one implementation of the present application, to determine whether the control function of the vehicle is in an enabled state, by obtaining the status identifier corresponding to the control function stored in the vehicle controller, and judging whether the control function of the vehicle is in an enabled state according to the status identifier and the vehicle identifier; wherein, the status identifier is updated according to the control function adjustment instruction triggered by the electronic device, and the control function adjustment instruction carries control function enabling information and control function disabling information.
[0118] Exemplarily, in some implementations of the present application, the user triggers the control function adjustment instruction of the target vehicle through the first page displayed on the electronic device, and sends the control function adjustment instruction to the vehicle controller, so that the vehicle controller updates the status identifier according to the control function enabling information and control function disabling information carried in the control function adjustment instruction.
[0119] Further, in some other implementations of the present application, the calibration data further includes a status change identifier. Specifically, the sending of the first calibration parameter to the vehicle controller is triggered by the status change identifier, which specifically includes the steps of:
[0120] (1) When it is detected that the calibration data is updated, update the status change identifier in the calibration data to a parameter overwrite identifier;
[0121] (2) When it is detected that the change status of the calibration data is the parameter overwrite identifier, transmit the first calibration parameter in the updated calibration data to the corresponding vehicle controller.
[0122] Wherein, the status change identifier includes a parameter overwrite identifier and a parameter same identifier. For the corresponding status change identifier of each calibration data, it is used to characterize whether the calibration data stored in the electronic device is the same as the first calibration parameter stored in the corresponding target vehicle; wherein, the parameter overwrite identifier indicates that the calibration data stored in the electronic device is different from the first calibration parameter stored in the target vehicle correspondingly, and then the first calibration parameter stored in the target vehicle needs to be overwritten; the parameter same identifier is used to characterize that the calibration data stored in the electronic device is the same as the first calibration parameter stored in the target vehicle correspondingly, and then it indicates that there is no need to overwrite the first calibration parameter stored in the target vehicle.
[0123] Further, in one implementation of the present application, after the first calibration parameter is sent to the vehicle controller and the vehicle controller successfully stores the first calibration parameter, a first storage result feedback for the first calibration parameter is fed back. The electronic device receives the first storage result feedback for the first calibration parameter from the vehicle controller, and updates the status change identifier corresponding to the calibration parameter according to the first storage result.
[0124] That is, the first storage result includes storage success and storage failure. If the storage fails, the state change flag remains the parameter overwriting flag. If the storage is successful, the state change flag is adjusted to the parameter same flag.
[0125] Furthermore, the present application also provides an implementation scheme for receiving calibration data sent by a server to an electronic device, see Figure 4 , Figure 4 A flowchart of one implementation method for updating a status change identifier in a data processing method provided in one embodiment of the present application specifically includes steps S401-S402:
[0126] S401: Receive first calibration data sent by the server.
[0127] Specifically, the first calibration data is any one of the calibration parameters corresponding to the electronic device stored in the server. The trigger of the first calibration data sent by the server can be that the electronic device actively initiates a request, or the server sends it regularly, or the server actively sends it after detecting that the first calibration data is updated. This application does not make specific limitations.
[0128] Specifically, in one of the implementation schemes of the present application, after the user logs in to the mobile phone APP corresponding to the electronic device for vehicle control, the user sends a data request information carrying the identification of the electronic device to the server. The server sends a data packet corresponding to the vehicle that has a binding relationship with the electronic device to the electronic device. The electronic device parses the data packet to obtain the first calibration data corresponding to each vehicle and stores it.
[0129] Specifically, in the implementation scheme of the present application, the data packet may include first calibration data of all or part of the vehicles (including the target vehicle) that have a binding relationship with the electronic device, and each of the first calibration data includes: a first vehicle identification, at least one set of second calibration parameters, and a first version information of the second calibration parameters.
[0130] S402: When the first vehicle identification is the same as the vehicle identification, and the second calibration parameter is inconsistent with the calibration parameter, and / or when the first version information is inconsistent with the version information, update the calibration data according to the first calibration data.
[0131] Specifically, if the first version information in the first calibration data sent down is different from the locally stored version information, the first calibration parameters and the version information corresponding to the control function stored locally will be overwritten with the second calibration parameters and the first version information in the first calibration data sent down.
[0132] Among them, the version information and the calibration data in the calibration parameters issued at the historical time of the first calibration parameters.
[0133] Specifically, after receiving the data packet sent by the data server, the electronic device parses the data packet. For each first calibration data, it determines whether the first version information therein is the same as the version information stored locally. Among them, the version information stored locally for comparison is: the version information of the first calibration parameters under the control function stored locally at the historical time.
[0134] Specifically, if the first version information is different from the version information stored locally, it indicates that the server has updated the version. Then, the corresponding first calibration parameters and version information stored locally in the electronic device are overwritten with the second calibration parameters and the first version information in the calibration data.
[0135] It can be understood that when the first version information is different from the version information stored locally, the status change identifier of the overwritten calibration parameters needs to be updated to the parameter overwrite identifier, so as to indicate the transmission of the device identifier of the electronic device and the first calibration parameters to the target vehicle.
[0136] It can be understood that the judgment of detecting whether the status change identifier is the parameter overwrite identifier can be a periodic detection judgment, or a judgment when it is recognized that the target vehicle identifier has a control function. That is, when it is recognized that the target vehicle identifier has a control function, the status change identifier of the calibration data corresponding to the target vehicle is obtained from the local.
[0137] In some embodiments of the present application, when the first vehicle identifier is different from the vehicle identifier, the vehicle corresponding to the vehicle identifier is the vehicle to which the electronic device is newly bound, and the first calibration data is saved.
[0138] Furthermore, the present application also provides an embodiment for modifying calibration data. Based on the modification operation of the calibration data triggered by the electronic device, the calibration data is updated. Specifically, it includes the steps:
[0139] (1) In response to the operation of modifying the calibration data triggered by the electronic device, obtain the updated calibration data corresponding to the operation;
[0140] (2) Overwrite the corresponding calibration data stored locally with the updated calibration data, and obtain the calibration data updated based on the electronic device.
[0141] Specifically, the electronic device can provide a modification page for modifying the calibration data corresponding to the target vehicle. The user triggers an operation to modify the calibration data corresponding to the target vehicle based on the page, and determines the calibration data corresponding to the operation by collecting the user's operation. Further, after obtaining the calibration data corresponding to the operation, compare it with the calibration data corresponding to the target vehicle and the control function stored locally in the electronic device. If the comparison result is different, the calibration data corresponding to the operation is the updated calibration data; if they are the same, this operation is invalid and the updated calibration data cannot be obtained.
[0142] Specifically, if the comparison result is different, it is necessary to erase the corresponding calibration data stored locally in the electronic device and write the updated calibration data correspondingly, so as to overwrite the locally stored calibration parameters with the updated calibration parameters.
[0143] Further, in some other embodiments of the present application, the control function includes sub-functions corresponding to multiple different control precisions, and each sub-function corresponds to a set of calibration parameters; the user can select the sub-function corresponding to the control function based on the electronic device to control the target vehicle to store the first calibration parameter corresponding to the sub-function and execute the sub-function, specifically including the steps:
[0144] (1) In response to triggering an operation to configure the type of calibration parameter of the control function, determine the target sub-function corresponding to the operation;
[0145] (2) If the target sub-function is different from the historical sub-function corresponding to the control function of the target vehicle, update the status change identifier of the calibration data corresponding to the control function to the parameter overwrite identifier, so that the electronic device responds to the status change identifier and sends the first calibration parameter corresponding to the target sub-function to the vehicle controller of the target vehicle for parameter update.
[0146] Exemplarily, after the user selects the target vehicle to be controlled based on the electronic device, the user can select the control function page corresponding to the target vehicle. When triggering an operation to start the control function based on the control function page, a sub-function selection page is triggered, and the user triggers an operation to configure the sub-function of the control function based on the sub-function selection page.
[0147] In one of the implementation scenarios, the control function is the keyless entry function. Among them, the keyless entry function includes different sub-functions: long-distance control, medium-distance control, and short-distance control. Different controls correspond to different calibration parameters PE and PS. Exemplarily, the PE represents the unlocking distance of the keyless vehicle, and the PS represents the starting distance of the keyless vehicle. After the user selects a different target sub-function, the first calibration parameter to be sent to the vehicle can be determined. Among them, the first calibration parameter carries the device identifier of the electronic device, so that the vehicle controller updates and saves the first calibration parameter corresponding to the device identifier.
[0148] Exemplarily, refer to Figure 5 , Figure 5 FIG. is a schematic flow chart of one of the implementation scenarios of the calibration parameter transmission in the data processing method provided by an implementation of the present application. In the implementation of the present application, the electronic device is a mobile phone, and the vehicle owner's mobile phone APP is installed on the mobile phone. The mobile phone implements the data processing method based on the vehicle owner's mobile phone APP, which specifically includes the following steps:
[0149] 1. When establishing a Bluetooth (BLE) connection with the vehicle based on the vehicle owner's mobile phone APP, the vehicle will transmit the VIN (vehicle identifier) to the vehicle owner's mobile phone APP;
[0150] 2. The vehicle owner's mobile phone APP determines whether the current VIN has the Bluetooth positioning function (corresponding to the step of determining whether the vehicle corresponding to the vehicle identifier in the calibration data has the control function corresponding to the calibration data):
[0151] (1) If it does not have the Bluetooth positioning function, no processing is performed;
[0152] (2) If it has the Bluetooth positioning function, go to step 3;
[0153] 3. The vehicle owner's mobile phone APP determines whether the current VIN enables the [Keyless Entry] function;
[0154] (1) If the [Keyless Entry] function is not enabled, notify the vehicle controller to disable the keyless entry function corresponding to this device model through the Bluetooth channel;
[0155] (2) If the [Keyless Entry] function is enabled (corresponding to the step of determining that the vehicle has the control function and the control function is in the enabled state), go to step 4;
[0156] 4. The vehicle owner's mobile phone APP determines whether the flag bit (change status) corresponding to the current VIN is 0:
[0157] (1) If the flag bit is 1, no processing is performed;
[0158] (2) The flag bit is 0. The vehicle owner's mobile phone APP searches for the current vehicle to set the keyless entry range as [expanded] or [normal] or [reduced] (target sub-function), and transmits the device model (device identifier) corresponding to the VIN and the first calibration parameter to the vehicle controller through the Bluetooth channel;
[0159] 5. The vehicle controller overwrites the original device model and the first calibration parameter with the changed device model and the first calibration parameter, and returns the processing result (the first storage result) to the vehicle owner's mobile phone APP:
[0160] (1) If the vehicle owner's mobile phone APP receives a successful return result, the flag bit corresponding to the current VIN is set to 1;
[0161] (2) If the vehicle owner's mobile phone APP receives a failed return result, the flag bit corresponding to the current VIN remains 0;
[0162] Among them, the above flag bit corresponds to the status change identifier.
[0163] Specifically, in one implementation of the present application, the control function is a control function implemented based on Bluetooth positioning, the calibration parameter is a Bluetooth positioning distance parameter, and the method specifically further includes the steps:
[0164] (1) If the control function implemented based on Bluetooth positioning with the target vehicle is started, a Bluetooth connection with the target vehicle is created, and the Bluetooth signal strength corresponding to the Bluetooth connection is obtained;
[0165] (2) According to the Bluetooth signal strength, the target distance from the target vehicle is determined;
[0166] (3) According to the target distance and the Bluetooth positioning distance parameter, the control function is executed.
[0167] Exemplarily, in the keyless scenario, the target vehicle detects the signal strength of the Received Signal Strength Indication (RSSI) corresponding to the current Bluetooth connection with the electronic device, performs corresponding algorithm processing in the vehicle Microcontroller Unit (MCU), determines the target distance between the actual electronic device corresponding to the detected RSSI signal strength and the target vehicle, and when the detected target distance is close to the Bluetooth positioning distance parameter, performs keyless vehicle unlocking and / or keyless vehicle ignition to implement the control function.
[0168] Exemplarily, referring to the above implementation scenario, the keyless entry function is a control function implemented based on Bluetooth positioning. For the specific implementation process, refer to the process Figure 6, Specifically, the user logs in to the vehicle APP (i.e., the owner's mobile phone APP) based on the electronic device. When the vehicle APP on the electronic device establishes a network connection with the server, the APP uploads the VIN set and the currently logged-in device model to the server. The server checks whether each VIN has the Bluetooth positioning function. If the VIN does not have the Bluetooth positioning function, no processing is performed. If the target vehicle corresponding to the VIN has the Bluetooth positioning function, the server searches for the corresponding calibration data based on the device model of the electronic device and the VIN of the target vehicle, and sends it to the electronic device. The electronic device determines whether it has received the new VIN corresponding to the calibration data (indicating that a new vehicle is bound). If it receives the new VIN, it locally stores the new VIN and the corresponding calibration data, and sets the flag bit to 0; if it does not receive the new VIN, it means that the vehicle corresponding to the calibration parameter has been bound historically, and the electronic device already stores the calibration data locally. At this time, it is judged whether the version number information in the calibration data corresponding to the same VIN has changed. If the version number has changed, the received calibration data is used to overwrite the original corresponding calibration data, and the flag bit (change status) is modified to 0, completing the actions after receiving the data sent by the server; if the version number has not changed, the calibration data stored locally on the electronic device remains unchanged.
[0169] Exemplarily, refer to Figure 7 , Figure 7 FIG. is a schematic flow chart of one implementation of the calibration parameter transmission in the data processing method provided by an implementation of the present application. Specifically, it includes:
[0170] 1. Log in to the owner's mobile phone APP. When the owner's mobile phone APP establishes a network connection with the server, the owner's mobile phone APP uploads the VIN set to the server and requests whether the server has established a network connection with the vehicle:
[0171] (1) If the server has not established a network connection with the vehicle, no processing is performed;
[0172] (2) If the server has established a network connection with the vehicle, go to step 2;
[0173] 2. The owner's mobile phone APP determines whether the current VIN has the Bluetooth positioning function:
[0174] (1) If it does not have the Bluetooth positioning function, no processing is performed;
[0175] (2) If it has the Bluetooth positioning function, go to step 3;
[0176] 3. The owner's mobile phone APP determines whether the current VIN has the [Keyless Entry] function enabled:
[0177] (1) If the [Keyless Entry] function is not enabled, notify the vehicle controller through the network channel to disable the keyless entry function corresponding to this device model;
[0178] (2) Enable the [Keyless Entry] function and proceed to step 4;
[0179] 4. The vehicle owner's mobile APP determines whether the flag bit corresponding to the current VIN is 0:
[0180] (1) If the flag bit is 1, no processing is performed;
[0181] (2) If the flag bit is 0, the vehicle owner's mobile APP searches for the [Expanded] or [Normal] or [Reduced] keyless entry range set for the current vehicle, and transmits the device model and calibration parameters corresponding to the VIN to the vehicle controller through the network channel;
[0182] 5. The vehicle controller overwrites the original device model and calibration parameters with the changed device model and calibration parameters, and returns the processing result to the vehicle owner's mobile APP:
[0183] (1) If the vehicle owner's mobile APP receives a successful return result, the flag bit corresponding to the current VIN is set to 1;
[0184] (2) If the vehicle owner's mobile APP receives a failed return result, the flag bit corresponding to the current VIN remains 0.
[0185] Furthermore, based on any of the above embodiments, the present application also provides another data processing method. The data processing method is applied to the vehicle controller. Refer to Figure 8 , Figure 8 which is a schematic flowchart of the implementation process of the keyless entry function in the data processing method provided for an embodiment of the present application. The method includes steps S801 - S802:
[0186] S801. Receive the first calibration parameter sent by the electronic device and / or the server. The first calibration parameter carries the device identifier of the electronic device, and the first calibration parameter is the control function parameter corresponding to the control function enabled in the vehicle controller;
[0187] S802. Save the first calibration parameter and the device identifier; wherein, the electronic device, the server, and the vehicle controller are interconnected.
[0188] In one embodiment of the present application, the vehicle controller only stores a set of calibration parameters corresponding to the control functions in the enabled state. That is, when the vehicle controller starts the control function corresponding to the target vehicle (i.e., it recognizes that the target vehicle identifier has the control function), it automatically updates the status change identifier stored locally in the electronic device to the parameter overwrite identifier, so as to indicate that the device identifier of the electronic device and the calibration parameters are transmitted to the vehicle controller of the target vehicle, so that the vehicle controller overwrites the currently stored device identifier and current calibration parameters with the received device identifier and the first calibration parameters.
[0189] Specifically, after the target vehicle receives the calibration parameters and the device identifier of the electronic device, it erases the first calibration parameters and the corresponding device identifier stored at the historical time, and writes the currently received first calibration parameters and the device identifier of the electronic device to the corresponding erased positions to achieve overwriting. The target electronic device cooperates with the electronic device based on the calibration parameters to implement the control function.
[0190] In this solution, the vehicle controller only needs to store the first calibration parameters and the device identifier corresponding to the control function to be executed. Through the device identifier, the electronic device that needs to jointly execute the control function can be determined, and the calibration parameters corresponding to the electronic device are stored and synchronized in the form of calibration parameter overwriting. It is not necessary to store the calibration parameters corresponding to all the electronic devices with which it has a binding relationship, which greatly reduces the amount of stored data and improves the storage performance of the target vehicle.
[0191] Further, in one embodiment of the present application, before the vehicle controller receives the first calibration parameters sent by the electronic device and / or the server, it includes the steps of:
[0192] (1) Receiving a control function adjustment instruction sent by the electronic device and / or the server;
[0193] (2) Updating the status identifier corresponding to the control function stored in the vehicle controller according to the control function adjustment instruction;
[0194] (3) The status identifier includes a control function enable identifier and a control function disable identifier.
[0195] For the specific implementation process, refer to the above embodiments and no specific elaboration will be made.
[0196] Further, on the basis of the above embodiments, the present application also provides some data processing methods applied to the server. The data processing methods include the steps of:
[0197] (1) Receiving and saving the calibration data sent by the electronic device and / or the vehicle controller;
[0198] (2) and / or, transmit the calibration data saved by the system to the electronic device and / or the vehicle controller;
[0199] Wherein, the electronic device, the server and the vehicle controller are interconnected.
[0200] Specifically, the specific implementation process of the server sending calibration data and receiving and saving the calibration data sent by the electronic device and / or the vehicle controller is as shown in the above implementation scheme and will not be specifically described.
[0201] Further, the present application also provides a data processing system, the system includes:
[0202] An electronic device, a server and a vehicle controller, the electronic device, the server and the vehicle controller are interconnected;
[0203] The electronic device includes a first service processing module, and the first service processing module is used to transmit calibration data to the server and transmit first calibration parameters to the corresponding vehicle controller. Wherein, the calibration data is the current control function data of the vehicle, and the first calibration parameter is the control function parameter of the control function in the vehicle corresponding to the calibration data that is in an enabled state;
[0204] The server includes a second service processing module, and the second service processing module is used to receive and save the calibration data sent by the electronic device and / or the vehicle controller; and / or, transmit the calibration data saved by the system to the electronic device and / or the vehicle controller;
[0205] The vehicle controller includes a third service processing module, and the third service processing module is used to receive the first calibration parameters sent by the electronic device and / or the server. The first calibration parameter carries the device identifier of the electronic device. The first calibration parameter is the control function parameter corresponding to the control function in the vehicle controller that is in an enabled state, and save the first calibration parameter and the device identifier.
[0206] Specifically, in one implementation scheme of the present application, the electronic device includes a first storage module, and the first storage module is used to store the calibration data of the vehicle corresponding to the vehicle having a binding relationship with the electronic device. The calibration data includes a vehicle identifier and at least one set of calibration parameters corresponding to the vehicle identifier.
[0207] Exemplarily, in some implementation schemes of the present application, the data storage format of the electronic device is in the form of a table. For example, the storage format of the calibration parameters corresponding to a certain control function of a certain target vehicle is:
[0208]
[0209] Among them, the flag bit is the status change identifier corresponding to the calibration parameter.
[0210] Specifically, the local owner's mobile phone APP of the electronic device corresponding to vehicle control only stores the calibration list corresponding to the VIN (vehicle identifier) under the device model (device identifier); multiple groups of VINs may exist in the calibration list, and the number of VINs depends on the number of registered vehicles under the owner's mobile phone APP account; and the owner's mobile phone APP determines the corresponding flag bit according to whether the VIN and the version number change:
[0211] The flag bit being 0 indicates that the calibration data has changed (newly added or modified), and information needs to be synchronized to the vehicle, that is, 0 corresponds to the parameter overwrite identifier;
[0212] The flag bit being 1 indicates that the calibration data remains unchanged and there is no need to synchronize information to the vehicle end, that is, 1 corresponds to the parameter same identifier.
[0213] Exemplarily, in some embodiments of the present application, after the mobile phone APP is uninstalled, the local calibration list on the mobile phone is completely cleared, and the calibration data will be re-obtained after reinstallation.
[0214] Specifically, in one embodiment of the present application, the vehicle controller includes a second storage module, and the second storage module is used to store the first calibration parameter and the device identifier of the electronic device.
[0215] Exemplarily, in the embodiments of the present application, the data format stored in the target vehicle is as follows:
[0216]
[0217] Among them, the device model corresponds to the device identifier of the electronic device as described above.
[0218] Among them, the target vehicle only stores a set of calibration parameters corresponding to the control function, that is, the first calibration parameter.
[0219] The state, that is, the status identifier corresponding to the control function, represents the enabled and disabled states of the control function.
[0220] Specifically, the server includes a third storage module, and the third storage module is used to store multiple groups of the calibration data corresponding to the electronic device and the vehicle with a binding relationship. Each calibration data stored in the third storage module includes the electronic device identifier, the vehicle identifier, and at least one set of calibration parameters corresponding to the device identifier and the vehicle identifier.
[0221] Exemplarily, in the embodiments of the present application, the server stores data in the form of a table. Exemplarily, for example, the data storage format for a certain control function under a certain target vehicle is as follows:
[0222]
[0223] Among them, the device model and the device identifier of the corresponding electronic device, that is, the real mobile phone model transmitted by the mobile phone when actually logging in to the owner's mobile phone APP; the update time, that is, the update time representing the calibration parameters, and the version number is the version information, and the vehicle model corresponds to the vehicle identifier of the target vehicle.
[0224] It can be understood that there may be multiple different types of sub-functions corresponding to one control function. That is, the calibration parameters data (small), calibration parameters data (medium), and calibration parameters data (large) in the above data format correspond to the parameters of different sub-functions. That is, there may be multiple sets of calibration parameters corresponding to one control function.
[0225] That is, the calibration parameters can be imported into the background web electronic device management through an Excel table form. The background web electronic device, that is, the server; it can also be specifically deleted and modified the calibration parameters on the front end through the electronic device. Specifically, the version number in the server database starts from 0. Under the same device model and vehicle model, when any one of the calibration parameters data [(small), (medium), (large)] changes, the version number is automatically incremented by 1; the update time records the latest creation time or modification time of each piece of data.
[0226] Specifically, in one of the embodiments of the present application, for the electronic device, the server, and the vehicle controller, the electronic device, the server, and the vehicle controller are connected to each other, and can be connected through wireless connection and / or Bluetooth connection and other means.
[0227] Specifically, the connection methods between the electronic device and the vehicle control include wireless connection based on the server and Bluetooth connection.
[0228] In one of the embodiments of the present application, the electronic device and the vehicle controller have different data transmission methods corresponding to different connection methods. Exemplarily:
[0229] Bluetooth channel transmission: When the mobile phone APP (electronic device) makes a BLE connection with the vehicle (vehicle controller), the first calibration parameter is transmitted to the Bluetooth module of the vehicle controller;
[0230] Network access transmission (i.e., 4G public network): The mobile phone APP transmits the first calibration parameter to the server, and then the server transparently transmits the data to the in-vehicle tablet computer (portable android device, PAD), and the PAD transmits it to the vehicle controller via the vehicle controller area network bus (CAN with Flexible Data rate, CANFD).
[0231] Specifically, in this solution, when it is determined that both the Bluetooth channel transmission and the network access transmission meet the transmission speed requirements, the device identifier of the electronic device and the calibration parameter can be transmitted to the target vehicle through the dual channels respectively, realizing simultaneous dual-channel transmission and enhancing data transmission guarantee.
[0232] Alternatively, by comparing the transmission speeds corresponding to the two transmission channels, the transmission channel with the faster transmission speed can be selected for transmission, and the specific method is not limited.
[0233] Specifically, in some embodiments of the present application, if the calibrated data updated based on the electronic device is different from the calibrated parameter stored locally, the calibrated parameter modified by the electronic device needs to be uploaded to the server to complete data unification and avoid data storage chaos. This process further includes generating version information of the updated calibrated data, specifically including:
[0234] (1) Obtain the historical version information of the calibrated data stored locally;
[0235] (2) Determine the target version information of the updated calibrated data according to the historical version information;
[0236] (3) Upload the calibrated data including the target version information to the server, so that the server overwrites and stores the updated calibrated data and the target version information in the parameter storage table corresponding to the vehicle identifier and the device identifier.
[0237] For specific implementation details, refer to the above embodiments and will not be elaborated here.
[0238] Furthermore, based on the above embodiments, the present application further provides an electronic device, which includes:
[0239] One or more processors;
[0240] A memory; and
[0241] One or more applications, wherein the one or more applications are stored in the memory and are configured to be executed by the processor to implement the steps in the data processing method described in any one of the above embodiments.
[0242] Such asFigure 9 As shown Figure 9 is a schematic structural diagram of an embodiment of an electronic device provided in an embodiment of the present application.
[0243] Specifically: The electronic device may include a processor 1001 with one or more processing cores, a memory 1002 with one or more computer-readable storage media, a power supply 1003, an input unit 1004, and other components. Those skilled in the art can understand that Figure 9 the structure of the electronic device shown in
[0244] does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. Among them:
[0245] The processor 1001 is the image processing center, connecting various parts of the entire electronic device through various interfaces and circuits, and executing various functions of the electronic device and processing data by running or executing software programs and / or modules stored in the memory 1002, and calling data stored in the memory 1002, so as to monitor the entire electronic device. It can be understood that the processor 1001 transmits signals with the controller. Optionally, the processor 1001 may include one or more processing cores; preferably, the processor 1001 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 1001.
[0245] The memory 1002 can be used to store software programs and modules, and the processor 1001 executes various function applications and data processing by running the software programs and modules stored in the memory 1002. The memory 1002 may mainly include a program storage area and a data storage area. Among them, the program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.); the data storage area may store data created according to the use of the electronic device. In addition, the memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 1002 may also include a memory controller to provide the processor 1001 with access to the memory 1002.
[0246] In some embodiments of the present application, the memory of the electronic device may store a computer program composed of various program modules of the data processing device, so that the processor executes the steps in the data processing methods of various embodiments of the present application described in this specification.
[0247] The electronic device includes a processor, a memory, and a network interface connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used to communicate with external electronic devices via a network connection. When the computer program is executed by the processor, a data processing method is implemented.
[0248] The electronic device further includes a power supply 1003 for supplying power to each component. Preferably, the power supply 1003 can be logically connected to the processor 1001 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 1003 can also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.
[0249] The electronic device may further include an input unit 1004, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
[0250] Although not shown, the electronic device may further include a display unit, etc., which will not be elaborated here. Specifically, in this embodiment, the processor 1001 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 1002 according to the following instructions, and the processor 1001 will run the application programs stored in the memory 1002 to realize various functions as follows:
[0251] The electronic device is interconnected with a server and a vehicle controller;
[0252] Transmit calibration data to the server, where the calibration data is the current control function data of the vehicle;
[0253] Transmit a first calibration parameter to the vehicle controller, where the first calibration parameter is the control function parameter in the vehicle corresponding to the calibration data that is in an enabled state.
[0254] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling related hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0255] To this end, an embodiment of the present invention provides a computer-readable storage medium, which may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), a magnetic disk, an optical disc, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any one of the data processing methods provided by the embodiments of the present invention. For example, when the computer program is loaded by the processor, the following steps may be executed:
[0256] The electronic device is interconnected with the server and the vehicle controller;
[0257] Transmit the calibration data to the server, where the calibration data is the current control function data of the vehicle;
[0258] Transmit the first calibration parameter to the vehicle controller, where the first calibration parameter is the control function parameter in the enabled state in the vehicle corresponding to the calibration data.
[0259] In the above embodiments, the descriptions of the respective embodiments have their own focuses. For the parts not detailed in a certain embodiment, reference may be made to the detailed descriptions of other embodiments above, and details will not be repeated here.
[0260] In specific implementation, the above-mentioned respective units or structures may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities. For the specific implementation of the above-mentioned respective units or structures, reference may be made to the method embodiments above, and details will not be repeated here.
[0261] For the specific implementation of the above respective operations, reference may be made to the foregoing embodiments, and details will not be repeated here.
[0262] Furthermore, the present application also provides a vehicle, including a vehicle controller, to execute the steps in the data processing method described in any one of the above implementation solutions.
[0263] The above has introduced in detail a data processing method, system, electronic device, storage medium and vehicle provided by the embodiments of the present application. Specific examples are used herein to elaborate on the principles and implementation manners of the present invention. The descriptions of the above embodiments are only used to help understand the method and its core idea of the present invention; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present invention.
Claims
1. A data processing method, characterized in that, Applied to an electronic device, including: The electronic device, the server, and the vehicle controller are interconnected; Transmit the calibrated data updated based on the electronic device to the server. The calibrated data is the current control function data of the vehicle, and the calibrated data includes at least one set of calibration parameters, a vehicle identifier, version information of the calibration parameters, and a status change identifier. The calibration parameters are control function parameters of the vehicle, and different calibration parameters correspond to different control precisions. The calibration parameters include a first calibration parameter, and the first calibration parameter carries the device identifier of the electronic device; Transmit the first calibration parameter in the updated calibrated data to the vehicle controller, so that the vehicle controller overwrites the currently stored device identifier and current calibration parameter with the received device identifier and the first calibration parameter; the first calibration parameter is the control function parameter in the calibrated data corresponding to the vehicle in an enabled state.
2. The data processing method according to claim 1, wherein The transmitting the calibrated data updated based on the electronic device to the server includes: Obtain the calibrated data updated based on the electronic device; When the electronic device is normally connected to the server, the electronic device transmits the calibrated data to the server; When the electronic device is abnormally connected to the server, the electronic device transmits the calibrated data to the vehicle controller, so that the vehicle controller transmits the calibrated data to the server.
3. The data processing method according to claim 1, wherein The transmitting the first calibration parameter in the updated calibrated data to the vehicle controller includes: Judge whether the vehicle corresponding to the vehicle identifier has the control function corresponding to the first calibration parameter; If the vehicle has the control function and the control function is in an enabled state, transmit the first calibration parameter in the updated calibrated data to the vehicle controller.
4. The data processing method according to claim 3, wherein The method further includes: Obtain the status identifier corresponding to the control function stored in the vehicle controller, and judge whether the control function is in an enabled state according to the status identifier; Wherein, the status identifier is updated according to a control function adjustment instruction triggered by the electronic device, and the control function adjustment instruction carries control function enabling information and control function disabling information.
5. The data processing method according to claim 1, characterized in that The method includes: Receive a first storage result feedback by the vehicle controller for the first calibration parameter; Update the status change identifier according to the first storage result.
6. The data processing method according to claim 1, characterized in that, Before transmitting the calibrated data updated based on the electronic device to the server, the method includes: Update the calibrated data and update the status change identifier to a parameter overwrite identifier.
7. The data processing method according to claim 6, wherein The updating the calibrated data includes: Receive the first calibrated data sent by the server, and the first calibrated data is the control function data of the vehicle; When the first vehicle identifier is the same as the vehicle identifier, and the second calibration parameter is inconsistent with the calibration parameter, and / or the first version information is inconsistent with the version information, update the calibrated data according to the first calibrated data; Wherein, the first vehicle identifier is the vehicle identifier in the first calibration data, the second calibration parameter is the vehicle control function parameter in the first calibration data, and the first version information is the version information of the second calibration parameter.
8. The data processing method according to claim 7, wherein The method further includes: Based on the trigger of the electronic device for modifying the calibration data, updating the calibration data.
9. A data processing method, characterized in that Applied to a vehicle controller, the method includes: Receiving a first calibration parameter sent by an electronic device and / or a server, the first calibration parameter carrying the device identifier of the electronic device, the first calibration parameter being the control function parameter corresponding to a control function in an enabled state in the vehicle controller, and updating the calibration parameter based on the electronic device; Saving the first calibration parameter and the device identifier, so that the vehicle controller overwrites the currently stored device identifier and current calibration parameter with the received device identifier and the first calibration parameter, such that the vehicle controller stores only one set of calibration parameters at the same time; wherein, the electronic device, the server, and the vehicle controller are interconnected.
10. The data processing method according to claim 9, wherein Before receiving the first calibration parameter sent by the electronic device and / or the server, it includes: Receiving a control function adjustment instruction sent by the electronic device and / or the server; Updating the state identifier corresponding to the control function stored in the vehicle controller according to the control function adjustment instruction; The state identifier includes a control function enabled identifier and a control function disabled identifier.
11. A data processing method, characterized in that Applied to a server, the method includes: Receiving and saving the calibration data sent by the electronic device and / or the vehicle controller; And / or, transmitting the calibration data saved by the system to the electronic device and / or the vehicle controller; Wherein, the electronic device, the server, and the vehicle controller are interconnected; The calibration data is the current control function data of the vehicle, the calibration data includes at least one set of calibration parameters, a vehicle identifier, the version information of the calibration parameter, and a state change identifier, the calibration parameter is the control function parameter of the vehicle, the calibration parameter includes a first calibration parameter, the first calibration parameter carrying the device identifier of the electronic device, and transmitting the calibration data to the vehicle controller triggers the vehicle controller to overwrite the currently stored device identifier and current calibration parameter with the received device identifier and the first calibration parameter, such that the vehicle controller stores only one set of calibration parameters at the same time.
12. A data processing system, characterized in that, It includes: An electronic device, a server, and a vehicle controller, the electronic device, the server, and the vehicle controller are interconnected; The electronic device includes a first service processing module, which is configured to transmit the calibrated data updated based on the electronic device to the server, and transmit a first calibration parameter in the updated calibrated data to the corresponding vehicle controller. The calibrated data is the current control function data of the vehicle, and the calibrated data includes at least one set of calibration parameters, a vehicle identifier, version information of the calibration parameters, and a status change identifier. The calibration parameters are the control function parameters of the vehicle, and different calibration parameters correspond to different control precisions. The calibration parameters include the first calibration parameter, and the first calibration parameter is the control function parameter of the control function in the enabled state in the vehicle corresponding to the calibrated data. The server includes a second service processing module, which is configured to receive and store the calibrated data sent by the electronic device and / or the vehicle controller; and / or transmit the calibrated data stored in the system to the electronic device and / or the vehicle controller. The vehicle controller includes a third service processing module, which is configured to receive the first calibration parameter sent by the electronic device and / or the server. The first calibration parameter carries the device identifier of the electronic device, and the first calibration parameter is the control function parameter corresponding to the control function in the enabled state in the vehicle controller. The first calibration parameter and the device identifier are stored, so that the vehicle controller overwrites the currently stored device identifier and current calibration parameter with the received device identifier and the first calibration parameter, so that the vehicle controller stores only one set of calibration parameters at the same time.
13. The data processing system according to claim 12, wherein The electronic device includes a first storage module, which is configured to store the calibrated data. The calibrated data includes a vehicle identifier, at least one set of calibration parameters, version information of the calibration parameters, and a status change identifier. The calibration parameters are the control function parameters of the vehicle, the calibration parameters include the first calibration parameter, and the status change identifier characterizes the change status of the calibration parameter. The vehicle controller includes a second storage module, which is configured to store the first calibration parameter and the device identifier of the electronic device. The server includes a third storage module, which is configured to store the device identifier, the vehicle identifier, and the at least one set of calibration parameters corresponding to the device identifier and the vehicle identifier.
14. An electronic device, characterized in that, The electronic device includes: one or more processors; a memory; and one or more applications, where the one or more applications are stored in the memory and are configured to be executed by the processor to implement the data processing method according to any one of claims 1 to 8.
15. A computer-readable storage medium, characterized in that, A computer program is stored thereon, and the computer program is loaded by the processor to execute the steps in the data processing method according to any one of claims 1 to 8.
16. A vehicle, characterized in that, It includes a vehicle controller to execute the steps in the data processing method according to any one of claims 9 to 10.
Citation Information
Patent Citations
Cloud-based remote maintenance method for automobile electronic control unit
CN110300041A
Digital key calibration method, mobile terminal, cloud server and storage medium
CN115714792A