Vehicle control application construction method and system and electronic equipment
By building data adaptation services and data display services in vehicle control applications, the problems of large workload, low efficiency and complex signal synchronization during the construction of vehicle control applications are solved, and the rapid development of vehicle control applications and the rapid binding of signal data are realized.
Patent Information
- Application Number
- CN202510339663.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-06-24
AI Technical Summary
In the construction of the existing technology, there are problems such as large workload, low efficiency and complex vehicle body signal synchronization scenarios.
By building data adaptation services based on vehicle data, generating setting item data objects, and quickly binding signal data and rapid interface development through data conversion services and data display services, the implementation of logic such as signal timeout, anti-shake, and throttling is solved.
It realizes rapid functional development of vehicle control applications, meets project cycles, saves development costs, and improves the feasibility of interface development efficiency and signal data synchronization.
Smart Images

Figure CN120191306A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of application development, and in particular, to a method, a system, and an electronic device for constructing a vehicle control application. Background Art
[0002] For vehicle control applications, due to the rapid replacement of vehicles, the development time of vehicle control applications is required to be short, and the joint debugging time between the vehicle control application and the body signals also needs to be reserved. Therefore, the construction cycle of the vehicle control application project is short, resulting in heavy development tasks for developers. Since the development process requires sorting out the body signals, as well as the process of interface development and data relationship binding, the workload of the overall construction process is large. In addition, in the construction process of vehicle control applications, each interface element generally has a unique fixed pattern, and there is a lot of repetitive work in interface development, resulting in low development efficiency. In the actual development process, it is also necessary to synchronize the interface display and the body signals, but there are complex scenarios such as delays, unresponses, and throttling in the sending and receiving of body signals, making it difficult to achieve the synchronization scenario.
[0003] In summary, there are still problems of large workload, low efficiency, and complex body signal synchronization scenarios in the construction process of vehicle control applications in the prior art. Summary of the Invention
[0004] In view of this, an object of the present invention is to provide a method, a system, and an electronic device for constructing a vehicle control application. This method can quickly realize the functional development of the vehicle control application, meet the project cycle, and save development costs; through unified data encapsulation, logics such as signal timeout, debounce, and throttling are realized; and through unified interface encapsulation, rapid interface development is realized, and rapid binding with signal data is achieved, thereby solving the above technical problems in the prior art.
[0005] In a first aspect, an embodiment of the present invention provides a method for constructing a vehicle control application, the method comprising:
[0006] Constructing a data adaptation service corresponding to the vehicle control application based on vehicle data, and generating a setting item data object corresponding to the vehicle control application by using the data adaptation service;
[0007] Constructing a data conversion service corresponding to the vehicle control application according to the data type parameter and the display mode parameter of the setting item data object, and controlling the conversion of the setting item data object into a display item data object based on the data conversion service;
[0008] Constructing a data display service corresponding to the vehicle control application according to the synchronous display parameter of the display item data object, and determining an interaction instruction of the vehicle control application based on the display area corresponding to the data display service;
[0009] Obtaining an interaction result corresponding to the display item data object based on the interaction instruction, and updating the interaction result to the setting item data object.
[0010] Optionally, construct a data adaptation service corresponding to the vehicle control application based on vehicle data, and use the data adaptation service to generate a setting item data object corresponding to the vehicle control application, including:
[0011] Obtain the sensor data, audio data, and configuration data included in the vehicle data, and respectively construct a sensor interaction interface, an audio interaction interface, and a configuration interaction interface corresponding to the vehicle control application based on the sensor data, audio data, and configuration data;
[0012] Construct a data adaptation service corresponding to the vehicle control application according to the sensor data, audio data, and configuration data; wherein, the input interface of the data adaptation service includes at least the sensor interaction interface, the audio interaction interface, and the configuration interaction interface;
[0013] Use the data adaptation service to determine the object processing strategy corresponding to the vehicle data, and after objectifying the vehicle data according to the object processing strategy, generate a setting item data object.
[0014] Optionally, after generating the setting item data object, the method further includes:
[0015] Construct a first data transmission channel corresponding to the vehicle control application based on the data adaptation service;
[0016] Use the first data transmission channel to control the transmission of the setting item data object to the data input interface corresponding to the data conversion service.
[0017] Optionally, construct a data conversion service corresponding to the vehicle control application according to the data type parameter and display mode parameter of the setting item data object, and control the conversion of the setting item data object into a display item data object based on the data conversion service, including:
[0018] Obtain the data type parameter corresponding to the setting item data object, determine the real-time data and status data included in the setting item data object based on the data type parameter, and construct a view data service corresponding to the vehicle control application by using the real-time data and status data;
[0019] Obtain the display mode parameter corresponding to the setting item data object, determine the switch setting item, selection setting item, and progress setting item included in the setting item data object based on the display mode parameter, and construct a setting control service corresponding to the vehicle control application by using the switch setting item, selection setting item, and progress setting item;
[0020] Construct a data conversion service corresponding to the vehicle control application according to the view data service and the setting control service, and determine the object conversion rule corresponding to the data conversion service;
[0021] Use the object conversion rule to control the conversion of the setting item data object into a display item data object.
[0022] Optionally, after using the object conversion rule to control the conversion of the setting item data object into the display item data object, the method further includes:
[0023] Constructing a second data transmission channel corresponding to the vehicle control application based on the data conversion service;
[0024] Using the second data transmission channel to control the transmission of the display item data object to the data input interface corresponding to the data display service.
[0025] Optionally, constructing a data display service corresponding to the vehicle control application according to the synchronous display parameters of the display item data object, and determining the interaction instruction of the vehicle control application based on the display area corresponding to the data display service, including:
[0026] Obtaining the data binding parameters corresponding to the display item data object, and determining the switch setting item, selection setting item, and progress setting item included in the display item data object, as well as the dialogue data, fragment data, and activity data corresponding to the vehicle control application;
[0027] Constructing a data display service based on the synchronous display parameters and using the switch setting item, selection setting item, and progress setting item, and obtaining the display area corresponding to the data display service in the vehicle control application;
[0028] Determining the interaction instruction corresponding to the vehicle control application according to the corresponding dialogue data, fragment data, and activity data in the display area.
[0029] Optionally, obtaining the interaction result corresponding to the display item data object based on the interaction instruction, and updating the interaction result to the setting item data object, including:
[0030] Real-time monitoring and obtaining the button click event and area sliding event in the display area;
[0031] Obtaining the interaction result corresponding to the display item data object based on the interaction instruction corresponding to the button click event and area sliding event;
[0032] Transmitting the interaction result to the data adaptation service, and controlling the data adaptation service to update the interaction result to the setting item data object.
[0033] Optionally, transmitting the interaction result to the data adaptation service, and controlling the data adaptation service to update the interaction result to the setting item data object, including:
[0034] Constructing a third data transmission channel corresponding to the vehicle control application based on the data display service;
[0035] Using the third data transmission channel to control the transmission of the interaction result to the data input interface corresponding to the data adaptation service, and obtaining the data output interface corresponding to the data input interface;
[0036] After the control data adaptation service updates the interaction result to the setting item data object, it obtains the updated data corresponding to the setting item data object, and uses the data output interface to control the data adaptation service to transfer the updated data to the data source corresponding to the vehicle data.
[0037] In a second aspect, the present invention provides a vehicle control application construction system, which includes:
[0038] A setting item data object generation module, configured to construct a data adaptation service corresponding to the vehicle control application based on the vehicle data, and use the data adaptation service to generate a setting item data object corresponding to the vehicle control application;
[0039] A display item data object generation module, configured to construct a data conversion service corresponding to the vehicle control application according to the data type parameter and the display mode parameter of the setting item data object, and control the conversion of the setting item data object into a display item data object based on the data conversion service;
[0040] A display interaction execution module, configured to construct a data display service corresponding to the vehicle control application according to the synchronous display parameter of the display item data object, and determine the interaction instruction of the vehicle control application based on the display area corresponding to the data display service;
[0041] A vehicle control application update module, configured to obtain the interaction result corresponding to the display item data object based on the interaction instruction, and update the interaction result to the setting item data object.
[0042] In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the steps of the vehicle control application construction method provided in the first aspect.
[0043] In a fourth aspect, an embodiment of the present invention further provides a storage medium, which stores computer executable instructions. When the computer executable instructions are called and executed by the processor, the computer executable instructions cause the processor to implement the steps of the vehicle control application construction method provided in the first aspect.
[0044] A method, system, and electronic device for constructing a vehicle control application provided by an embodiment of the present invention. During the development and construction of a vehicle control application, the method first constructs a data adaptation service corresponding to the vehicle control application based on vehicle data, and uses the data adaptation service to generate a setting item data object corresponding to the vehicle control application; then constructs a data conversion service corresponding to the vehicle control application according to the data type parameter and display mode parameter of the setting item data object, and controls the conversion of the setting item data object into a display item data object based on the data conversion service; subsequently constructs a data display service corresponding to the vehicle control application according to the synchronous display parameter of the display item data object, and determines an interaction instruction of the vehicle control application based on the display area corresponding to the data display service; finally obtains an interaction result corresponding to the display item data object based on the interaction instruction, and updates the interaction result to the setting item data object. This method can quickly implement the functional development of the vehicle control application, meet the project cycle, and save development costs; through unified data encapsulation, logics such as signal timeout, anti-shake, and throttling are implemented, and through unified interface encapsulation, rapid interface development is achieved, and rapid binding with signal data is realized.
[0045] Other features and advantages of the present invention will be described in the following specification, and, in part, will be obvious from the specification, or will be understood by implementing the present invention. The objectives and other advantages of the present invention are realized and obtained by the structures specifically pointed out in the specification, claims, and drawings.
[0046] To make the above objectives, features, and advantages of the present invention more obvious and understandable, the following specific preferred embodiments are given, and in conjunction with the accompanying drawings, the detailed description is as follows. Description of the Drawings
[0047] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0048] Figure 1 It is a flowchart of a method for constructing a vehicle control application provided by an embodiment of the present invention;
[0049] Figure 2 It is a flowchart of step S101 of a method for constructing a vehicle control application provided by an embodiment of the present invention;
[0050] Figure 3 It is a flowchart after generating a setting item data object in step S203 of a method for constructing a vehicle control application provided by an embodiment of the present invention;
[0051] Figure 4Flowchart of step S102 of a vehicle control application construction method provided by an embodiment of the present invention;
[0052] Figure 5 Flowchart after step S404 of a vehicle control application construction method provided by an embodiment of the present invention;
[0053] Figure 6 Flowchart of step S103 of a vehicle control application construction method provided by an embodiment of the present invention;
[0054] Figure 7 Flowchart of step S104 of a vehicle control application construction method provided by an embodiment of the present invention;
[0055] Figure 8 Flowchart of step S703 of a vehicle control application construction method provided by an embodiment of the present invention;
[0056] Figure 9 Structural schematic diagram of a vehicle control application construction system provided by an embodiment of the present invention;
[0057] Figure 10 Structural schematic diagram of another vehicle control application construction system provided by an embodiment of the present invention;
[0058] Figure 11 Structural schematic diagram of an electronic device provided by an embodiment of the present invention.
[0059] Icon:
[0060] 910 - Setting item data object generation module; 920 - Display item data object generation module; 930 - Display interaction execution module; 940 - Vehicle control application update module;
[0061] 101 - Processor; 102 - Memory; 103 - Bus; 104 - Communication interface. Detailed implementation manners
[0062] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are some, rather than all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0063] For vehicle control applications, due to the rapid replacement of vehicles, the development time requirement for vehicle control applications is relatively short. There is also a need to reserve time for joint debugging between the vehicle control application and body signals. Therefore, the construction cycle of the vehicle control application project is relatively short, resulting in heavy development tasks for developers. Since the development process requires sorting out body signals, as well as the process of interface development and data relationship binding, the workload of the overall construction process is relatively large. In addition, during the construction process of vehicle control applications, there are generally unique fixed patterns for each interface element, and there is a lot of repetitive work during interface development, resulting in low development efficiency. During the actual development process, it is also necessary to synchronize the interface display and body signals. However, there are complex scenarios such as delays, unresponsiveness, and throttling in both the sending and receiving of body signals, making it difficult to achieve the synchronization scenario.
[0064] In summary, in the construction process of existing vehicle control applications, there are still problems such as large workload, low efficiency, and complex body signal synchronization scenarios. Based on this, the embodiments of the present invention provide a vehicle control application construction method, system, and electronic device. This method can quickly realize the function development of vehicle control applications, meet the project cycle, and save development costs; through unified data encapsulation, logics such as signal timeout, anti-shake, and throttling are realized; and through unified interface encapsulation, rapid interface development is achieved, and rapid binding with signal data is realized, thus solving the above technical problems in the prior art.
[0065] To facilitate the understanding of this embodiment, first, a vehicle control application construction method disclosed in the embodiments of the present invention will be introduced in detail, as Figure 1 shown. This method includes:
[0066] Step S101, construct a data adaptation service corresponding to the vehicle control application based on vehicle data, and generate a setting item data object corresponding to the vehicle control application by using the data adaptation service.
[0067] In this step, the vehicle data collection and collation process is first executed. It is necessary to collect the real-time data and status information of the vehicle from various vehicle sensors (such as speed sensors, temperature sensors, fuel level sensors, etc.), electronic control units (ECUs), and other relevant data sources. This data may include the vehicle's driving speed, engine speed, fuel level, battery charge, door status, interior temperature, etc. At the same time, the collected data is sorted and classified, and organized according to different functional modules and data types for subsequent processing.
[0068] Subsequently, a data adaptation service corresponding to the vehicle control application is constructed. The data adaptation service is a data service layer, and its main function is to convert the original data format obtained from the vehicle into a format that the vehicle control application can understand and process. To achieve this goal, it is necessary to analyze the specific requirements of the vehicle control application for data, including data accuracy, data value range, data unit, etc. For example, the vehicle control application may need to convert the data in meters per second obtained by the speed sensor into kilometers per hour and control its accuracy to one decimal place. According to these requirements, corresponding code logic can be written to implement data conversion, filtering, and standardization processing.
[0069] Finally, using the constructed data adaptation service, the adapted data is encapsulated into a setting item data object. The setting item data object is a data entity with a specific structure. It contains the data items related to settings in the vehicle control application. Each setting item data object has its unique identifier and attributes. By operating and managing these attributes, the control and adjustment of vehicle-related settings can be achieved.
[0070] Step S102: Construct a data conversion service corresponding to the vehicle control application according to the data type parameter and display mode parameter of the setting item data object, and based on the data conversion service, control the conversion of the setting item data object into a display item data object.
[0071] This step first analyzes the parameters of the setting item data object, extracts the data type parameter (such as real-time data, status data, etc.) and display mode parameter (such as switch setting item, selection setting item, progress setting item, etc.) from the setting item data object through in-depth analysis. Then, use the above parameters to construct a data conversion service. The function of the data conversion service is to convert the setting item data object according to the requirements of data type and display mode, so that it can be displayed on the interface of the vehicle control application in a suitable form. Finally, convert the setting item data object into a display item data object. Specifically, use the constructed data conversion service to convert the setting item data object into a display item data object. The display item data object is a data entity designed specifically for the display of the vehicle control application interface. It contains the converted data and display-related attributes. Through this conversion, it is ensured that the setting item data can be presented to the user in a manner that meets the requirements of the user interface design.
[0072] Step S103: Construct a data display service corresponding to the vehicle control application according to the synchronous display parameter of the display item data object, and determine the interaction instruction of the vehicle control application based on the display area corresponding to the data display service.
[0073] This step first extracts the synchronous display parameters. By analyzing the display item data object, the synchronous display parameters therein are extracted. These parameters are used to ensure the synchronous display and real-time update of the display item data on the vehicle control application interface, mainly for switch setting items, selection setting items, progress setting items, etc. Subsequently, a data display service is constructed. According to the extracted synchronous display parameters, a data display service is constructed. The data display service is responsible for displaying the display item data object on the interface of the vehicle control application and managing the update and synchronization of the data. This process needs to interact with the user interface components of the vehicle control application to render the data according to the specified display area and display style.
[0074] Finally, the interaction instructions are determined. Based on the display area corresponding to the data display service, the interaction instructions of the vehicle control application are determined. The interface of the vehicle control application usually contains various interaction elements, such as buttons, sliders, text boxes, etc. Users achieve the control and setting of the vehicle by interacting with these elements. The data display service needs to identify the operations of the user in the display area and convert them into corresponding interaction instructions.
[0075] Step S104, obtain the interaction result corresponding to the display item data object based on the interaction instruction, and update the interaction result to the setting item data object.
[0076] This step first processes the interaction instruction. When the vehicle control application receives the interaction instruction, it needs to process it. According to the type and content of the interaction instruction, the corresponding business logic and function modules are called to perform specific operations. During the execution of the operation, processes such as communication with the vehicle, data processing and calculation may be involved. After the interaction instruction is executed, the corresponding interaction result is obtained. The interaction result may be a status information (such as whether the operation is successful, the current temperature setting value, etc.), or it may be a data object (such as the updated vehicle status data). Finally, the obtained interaction result is updated to the setting item data object, so as to realize the data closed-loop in the vehicle control application.
[0077] Optionally, step S101 of constructing a data adaptation service corresponding to the vehicle control application based on vehicle data and generating a setting item data object corresponding to the vehicle control application using the data adaptation service, such as Figure 2 shown, includes:
[0078] Step S201, obtain the sensor data, audio data and configuration data included in the vehicle data, and respectively construct a sensor interaction interface, an audio interaction interface and a configuration interaction interface corresponding to the vehicle control application based on the sensor data, audio data and configuration data.
[0079] Sensor data can be obtained through various sensors installed on the vehicle, such as speed sensors, acceleration sensors, temperature sensors, pressure sensors, etc. By communicating with the vehicle's sensor network, the data collected in real time by these sensors can be obtained according to a certain protocol (such as CAN bus protocol, LIN bus protocol, etc.); relevant sensor data such as vehicle fault diagnosis information can also be obtained through the OBD (On-Board Diagnostics) interface. These data are very important for vehicle control applications to understand the operating state of the vehicle.
[0080] Audio data mainly comes from the vehicle's audio system, including audio signals output by in-vehicle radios, multimedia players and other devices. These audio data can be obtained through the vehicle's audio bus or a dedicated audio interface. At the same time, audio data can also include audio data collected by the in-vehicle microphone for functions such as speech recognition. For example, when a user controls certain functions of the vehicle through voice commands, the microphone will collect the user's voice signal as audio data.
[0081] Configuration data refers to various system setting data and status parameter information of the vehicle, such as the vehicle's driving mode (economy mode, sport mode, etc.), seat position memory, air conditioning temperature preset, etc. These data are usually stored in the vehicle's electronic control unit (ECU) or a dedicated storage device. By interacting with the vehicle's communication module, these configuration data can be read. For example, by sending a request command to the corresponding ECU through the vehicle's CAN bus, the current driving mode configuration information can be obtained.
[0082] The sensor interaction interface is a bridge for data interaction between vehicle control applications and vehicle sensors. It is necessary to define the input and output formats of the interface. The input format is usually parameters related to sensor data acquisition, such as sampling frequency, data accuracy, etc.; the output format is the processed sensor data. In the process of implementing the interface communication function, corresponding communication methods can be adopted for data transmission according to different sensor network protocols. For example, for sensors based on the CAN bus, it is necessary to implement the CAN bus communication protocol, including functions such as message sending and receiving, error handling, etc. The implementation method of interface call can define a function getSensorData(sensorType), and by passing in the sensor type parameter, the corresponding sensor data can be returned.
[0083] The audio interaction interface is mainly used to handle the input and output of audio data. For audio input, it is necessary to define the audio sampling parameters of the interface, such as sampling rate, number of channels, bit depth, etc., to ensure accurate acquisition of audio data. At the same time, implement the encoding and decoding functions of audio data to convert the collected audio signal into a format suitable for vehicle control application processing. For audio output, it is necessary to define the audio playback parameters of the interface, such as volume control, audio format support, etc. Implement the audio data playback function to play the audio signal generated by the vehicle control application through the vehicle's audio system. The implementation method of interface call can define a function startAudioRecording() to start audio recording, playAudio(audioData) to play audio data, etc.
[0084] The configuration interaction interface is mainly used to interact with the configuration data of the vehicle. By defining the read and write operation methods of the interface, such as readConfig(configKey) to read the value of the specified configuration item, writeConfig(configKey,configValue) to write the value of the configuration item. Furthermore, implement the communication function with the vehicle storage device to ensure accurate reading and writing of configuration data. For example, for the configuration data stored in the ECU, it is necessary to interact with the ECU through the corresponding communication protocol.
[0085] Step S202, construct a data adaptation service corresponding to the vehicle control application according to the sensor data, audio data and configuration data; among them, the input interface of the data adaptation service includes at least a sensor interaction interface, an audio interaction interface and a configuration interaction interface.
[0086] The data adaptation service needs to have a clear adaptation architecture, including a data reception layer, a data processing layer and a data output layer. The data reception layer is responsible for receiving various data from the vehicle through the sensor interaction interface, audio interaction interface and configuration interaction interface; the data processing layer processes and converts the received data; the data output layer provides the processed data for other modules of the vehicle control application to use. In the actual scenario, the modular design idea can be adopted to encapsulate different types of data processing logics into independent modules, such as sensor data processing module, audio data processing module and configuration data processing module, to improve the maintainability and scalability of the data adaptation service.
[0087] Step S203, use the data adaptation service to determine the object processing strategy corresponding to the vehicle data, and after objectifying the vehicle data according to the object processing strategy, generate a setting item data object.
[0088] This step first requires determining the object processing strategy. By analyzing the vehicle data processed by the data adaptation service, its characteristics and patterns are understood. For example, analyzing the change trends of sensor data, the characteristics of audio data, the correlation relationships of configuration data, etc. Then, according to the characteristics of the data and the requirements of the vehicle control application, the processing methods for different types of data are determined. For example, for sensor data that changes in real time, a real-time update processing strategy may be adopted; for relatively stable configuration data, it may only need to be updated when the data changes. Finally, specific object processing rules are formulated based on the analysis results of the data. For example, for sensor data, according to the value range and change rate of the data, it can be divided into different state categories, and corresponding processing logics are defined for each state category. For audio data, according to the content and use of the audio, it can be converted into different audio objects, and corresponding operation methods are defined for each audio object.
[0089] Considering the correlation relationships between data, formulate the processing rules for associated data. For example, when the speed sensor data of the vehicle changes, it may be necessary to update the configuration data and display information related to the speed simultaneously. After the object processing strategy is determined, use this strategy to uniformly process and format the vehicle data to generate a standardized setting item data object.
[0090] Optionally, after generating the setting item data object, as Figure 3 shown, this method further includes:
[0091] Step S301, construct a first data transmission channel corresponding to the vehicle control application based on the data adaptation service;
[0092] Step S302, use the first data transmission channel to control the transmission of the setting item data object to the data input interface corresponding to the data conversion service.
[0093] After the setting item data object is generated, it needs to be transmitted to the data conversion service. The specific implementation process requires constructing a corresponding first data transmission channel to achieve the transmission of the object data. The first data transmission channel is an independent channel, constructed based on the data adaptation service. After the construction is completed, the input end of the first data transmission channel is at the data adaptation service end, and the output end is at the data conversion service end. After the first data channel is constructed, the setting item data object can be transmitted from the data adaptation service end to the data conversion service end.
[0094] Optionally, according to the data type parameter and display mode parameter of the setting item data object, construct a data conversion service corresponding to the vehicle control application, and step S102 for controlling the conversion of the setting item data object into a display item data object based on the data conversion service, as Figure 4 shown, includes:
[0095] Step S401: Obtain the data type parameter corresponding to the setting item data object, determine the real-time data and status data included in the setting item data object based on the data type parameter, and construct a view data service corresponding to the vehicle control application using the real-time data and status data.
[0096] This step first obtains the data type parameter, specifically extracting its data type parameter from the setting item data object. These parameters are defined when constructing the setting item data object in the early stage, and they clarify the data type of each setting item data. Then, based on the data type parameter, determine the real-time data and status data. The real-time data identification analyzes which setting item data belongs to real-time data according to the obtained data type parameter. Real-time data is usually data that changes continuously over time, such as the real-time speed of the vehicle, engine speed, current battery level, etc. Generally, data with continuous change characteristics and that needs to reflect the current state of the vehicle in a timely manner can be determined as real-time data. Status data represents a specific state of the vehicle at a certain moment and changes less frequently compared to real-time data. Determine which are status data based on the data type and the change characteristics of the data.
[0097] Then construct a setting control service corresponding to the vehicle control application. The identified real-time data and status data can be collected and integrated into a unified data structure. This data structure can be an object, an array, a database table, etc., for storing and managing this data. Design corresponding interfaces for the view data service so that other modules of the vehicle control application can easily obtain this data. These interfaces can include methods for obtaining real-time data, methods for obtaining status data, and methods for updating data, etc.
[0098] Step S402: Obtain the display mode parameter corresponding to the setting item data object, determine the switch setting item, selection setting item, and progress setting item included in the setting item data object based on the display mode parameter, and construct a setting control service corresponding to the vehicle control application using the switch setting item, selection setting item, and progress setting item.
[0099] In this step, first extract the display mode parameter from the setting item data object. The display mode parameter describes the display form of the setting item data on the vehicle control application interface, such as whether it is displayed using a switch button, a drop-down list, or a progress bar, etc. Similarly, these parameters can be obtained by accessing specific attributes or methods of the setting item data object.
[0100] Then, determine the switch setting item, selection setting item, and progress setting item. For the switch setting item, if the display mode parameter indicates that the setting item is displayed in the form of a switch, then it is a switch setting item. Switch setting items usually correspond to boolean-type data and are used to represent the switching between two states, such as the headlight switch of a vehicle, the switch of an air conditioner, etc. Determine the switch setting item by checking the display mode parameter and data type. For the selection setting item, when the display mode parameter is specified as a selection form such as a drop-down list, radio box, or checkbox, the setting item is a selection setting item. Selection setting items usually have multiple optional values. For example, the driving mode selection of a vehicle (economy mode, sport mode, comfort mode, etc.), the seat heating gear selection. Determine the selection setting item according to the display mode and the optional range of the data. For the progress setting item, if the display mode parameter is in the form of a progress bar, then the setting item is a progress setting item. Progress setting items generally correspond to numerical data with a certain range, such as the remaining fuel amount of a vehicle, the battery charging progress, etc. Determine the progress setting item by the display mode and the value range of the data.
[0101] Implement the corresponding control logics for the switch setting item, selection setting item, and progress setting item respectively. For the switch setting item, implement the control methods for opening and closing; for the selection setting item, implement the control methods for selecting different options; for the progress setting item, implement the control methods for adjusting and displaying the progress value. The setting control service needs to handle the interaction operations between the user and these setting items. When the user operates on the switch, selection item, or progress bar on the vehicle control application interface, the setting control service should be able to capture these operations and update the corresponding setting item data according to the operations. The setting control service also involves a data synchronization mechanism to ensure that the update of the setting item data in the setting control service is synchronized with the data in the view data service. When the user modifies the setting item data through the setting control service, it can timely notify the view data service to perform the corresponding data update to ensure the accuracy of the interface display.
[0102] Step S403, construct the data conversion service corresponding to the vehicle control application according to the view data service and the setting control service, and determine the object conversion rules corresponding to the data conversion service.
[0103] This step first constructs a data conversion service, integrating the view data service and the setting control service into the data conversion service. As an intermediate layer, the data conversion service is responsible for coordinating data interaction and conversion between the view data service and the setting control service. Then, the data circulation management process is implemented. The data conversion service needs to manage the circulation between the data obtained from the view data service and the data generated by the setting control service. For example, when real-time data or status data in the view data service changes, the data conversion service needs to transfer the changed data to the setting control service for corresponding processing; when the setting item data in the setting control service is modified by the user, the data conversion service needs to feedback the modified data to the view data service for interface update.
[0104] Then, determine the object conversion rules. Determine the conversion rules for data types based on the data type differences between the setting item data object and the display item data object. Subsequently, determine the display format conversion rules for data according to the display mode parameters. For switch setting items, convert the boolean value to the display state of the switch button; for selection setting items, convert the option value to the display text of the dropdown list or radio box; for progress setting items, convert the numerical value to the display ratio of the progress bar. By considering the association relationship between the setting item data object and the display item data object, determine the conversion rules for the association relationship. For example, some setting item data may have a dependency relationship with other data. When converting to the display item data object, ensure the correct display of this dependency relationship.
[0105] Step S404: Control the conversion of the setting item data object to the display item data object using the object conversion rules.
[0106] In this step, first perform the data extraction and preparation process, specifically extracting the data that needs to be converted from the setting item data object. Determine the data items to be converted and their corresponding attributes and values according to the object conversion rules. Then, perform conversion operations on the extracted data according to the determined object conversion rules. Specifically, process the data in sequence according to the data type conversion rules, display format conversion rules, and association relationship conversion rules. Subsequently, generate a display item data object and encapsulate the converted data into a new display item data object. The structure and attributes of the display item data object should meet the requirements of the vehicle control application interface display, including the converted data and display-related attributes such as display position, color, font, etc. Finally, provide the generated display item data object to the interface module of the vehicle control application for display on the interface. The interface module displays the data to the user in a suitable form according to the attributes and values of the display item data object.
[0107] Optionally, after step S404 of controlling the conversion of the setting item data object to the display item data object using the object conversion rules, as Figure 5 shown, the method further includes:
[0108] Step S501: Build a second data transmission channel corresponding to the vehicle control application based on the data conversion service;
[0109] Step S502: Use the second data transmission channel to control the transmission of the display item data object to the data input interface corresponding to the data display service.
[0110] After the display item data object is generated, it needs to be transmitted to the data display service. The specific implementation process requires building a corresponding second data transmission channel to achieve the transmission of the display item data object. The second data transmission channel is an independent channel, built based on the data conversion service. After completion, the input end of the second data transmission channel is at the data conversion service side, and the output end is at the data display service side. After the second data channel is built, the display item data object can be transmitted from the data conversion service side to the data display service side.
[0111] Optionally, step S103 of building a data display service corresponding to the vehicle control application according to the synchronous display parameters of the display item data object and determining the interaction instructions of the vehicle control application based on the display area corresponding to the data display service, as Figure 6 shown, includes:
[0112] Step S601: Obtain the data binding parameters corresponding to the display item data object, and determine the switch setting items, selection setting items, and progress setting items included in the display item data object, as well as the dialogue data, segment data, and activity data corresponding to the vehicle control application according to the data binding parameters.
[0113] The data binding parameters define the association method between the display item data object and the vehicle control application interface elements. Extracting these parameters from the display item data object can usually be achieved by accessing specific attributes or methods of the object. These parameters may contain information such as the rules and identifiers for binding data to interface elements. Subsequently, determine the switch setting items, selection setting items, and progress setting items included in the display item data object, as well as the dialogue data, segment data, and activity data corresponding to the vehicle control application according to the data binding parameters.
[0114] Specifically, the determination process of the switch setting items is based on the data binding parameters to identify the setting items presented in the form of switches in the display item data object. These setting items generally correspond to Boolean-type data and are used to represent the on or off state. The switch setting items are determined through the identifiers associated with the switch interface elements in the data binding parameters. The selection setting items are the setting items presented in the form of selections, such as radio boxes, check boxes, or drop-down lists, etc. These setting items usually have multiple optional values, and the selection setting items are found according to the rules associated with the selection interface elements in the data binding parameters. The progress setting items are the setting items displayed in the form of a progress bar and usually correspond to numerical data within a certain range. The progress setting items are determined through the association information with the progress bar interface element in the data binding parameters.
[0115] The dialogue data corresponding to the vehicle control application is mainly used in the interactive dialogue scenarios in the vehicle control application, such as voice interaction prompt messages, system message prompts, etc. The dialogue data corresponding to the vehicle control application is determined according to the association in the data binding parameters with the dialogue interface elements (such as dialog boxes). The fragment data is the reusable part in the vehicle control application interface, such as the display data of a specific function area. The corresponding fragment data is found through the association in the data binding parameters with the fragment interface elements. The activity data corresponds to each activity interface in the vehicle control application, such as the main interface, the setting interface, etc. The activity data is determined based on the association in the data binding parameters with the activity interface elements.
[0116] Step S602: Based on the synchronous display parameters, construct a data display service using the switch setting items, selection setting items, and progress setting items, and obtain the display area corresponding to the data display service in the vehicle control application.
[0117] In this step, first, a data display service is constructed based on the synchronous display parameters. The synchronous display parameters specify the display timing, update frequency, etc. requirements of the display item data on the interface. According to these parameters, combined with the switch setting items, selection setting items, and progress setting items, a data display service is constructed. This service is responsible for accurately displaying these setting item data on the vehicle control application interface according to the requirements of the synchronous display parameters.
[0118] Then, the display area is obtained. Through the data binding parameters and the interface layout information, the display area corresponding to the data display service in the vehicle control application is determined. Different setting items may correspond to different display areas. For example, the switch setting items may be displayed in a specific switch panel area, and the selection setting items are displayed in a drop-down list box area, etc. Specifically, the coordinates, sizes, etc. information of these display areas can be obtained through the layout information in the interface layout file or code.
[0119] Step S603: Determine the interaction instructions corresponding to the vehicle control application according to the corresponding dialogue data, fragment data, and activity data in the display area.
[0120] In this step, the corresponding dialogue data, segment data, and activity data in the display area are first analyzed to obtain the meanings represented by these data and the possible interaction scenarios that may be triggered. For example, the voice prompt in the dialogue data may guide the user to perform a certain operation. The specific function area in the segment data may contain clickable buttons. The interface switch in the activity data may require corresponding interaction instructions to trigger.
[0121] Then, according to the analysis results, the interaction instructions corresponding to the vehicle control application are determined. For the dialogue data, if the user is prompted to confirm an operation, the interaction instructions may be "confirm operation" or "cancel operation". For the clickable buttons in the segment data, the interaction instructions may be "click the button to execute the corresponding function". For the interface switch in the activity data, the interaction instructions may be "switch to the specified interface". These interaction instructions will be used for subsequent interaction processing between the user and the vehicle control application.
[0122] Optionally, step S104 of obtaining the interaction result corresponding to the display item data object based on the interaction instruction and updating the interaction result to the setting item data object, as Figure 7 shown, includes:
[0123] Step S701, real-time monitor and obtain the button click event and area sliding event in the display area.
[0124] Establish a real-time event monitoring mechanism in the front-end interface part of the vehicle control application, which is usually implemented by means of front-end development frameworks (such as JavaScript frameworks Vue.js, React, etc., or native Android and iOS development frameworks). By calling the event monitoring API provided by the framework, monitor the display area. Bind click event listeners to all button elements in the display area. When the user clicks a button, this action will be captured and the corresponding button click event will be generated. For example, in a vehicle control application developed using Vue.js, the click event handling function can be bound to the button through the @click directive. When the button is clicked, this function will be triggered to obtain the click event.
[0125] For the area with sliding operations in the display area (such as scroll lists, sliders, etc.), bind area sliding event listeners. Taking Android development as an example, use OnTouchListener to monitor touch events, and judge whether a sliding operation has occurred according to the change of touch coordinates, and then generate area sliding events.
[0126] Step S702, based on the interaction instructions corresponding to the button click event and area sliding event, obtain the interaction result corresponding to the display item data object.
[0127] After capturing a button click event or an area swipe event, these events need to be matched with predefined interaction instructions. During the development of vehicle control applications, corresponding interaction instructions are defined for each button and swipe area. For example, the interaction instruction corresponding to clicking the "Turn on air conditioner" button is "Turn on air conditioner", and the interaction instruction corresponding to swiping the temperature adjustment slider is "Adjust air conditioner temperature". Through the identification information of the event (such as the ID of the button, the name of the swipe area, etc.), the corresponding interaction instruction is found.
[0128] Execute the corresponding business logic according to the matched interaction instruction to obtain the interaction result. If the interaction instruction is "Turn on air conditioner", then call the vehicle's air conditioner control interface, send a request to turn on the air conditioner to the vehicle's control system, and wait for the system to return the operation result, which is the interaction result. If it is "Adjust air conditioner temperature", then calculate the target temperature value according to the swiping position, send it to the vehicle's air conditioner control system, and obtain the information on whether the temperature adjustment is successful feedback by the system as the interaction result.
[0129] The display item data object stores data related to the interface display. The interaction result may affect the state of these data. For example, after successfully turning on the air conditioner, the display value of the air conditioner status in the display item data object should be updated from "Off" to "On". Perform corresponding processing on the display item data object according to the interaction result, and update its attribute values to reflect the latest interaction status.
[0130] Step S703: Transmit the interaction result to the data adaptation service, and control the data adaptation service to update the interaction result to the setting item data object.
[0131] Transmit the obtained interaction result to the data adaptation service, and this process can be implemented through the message passing mechanism or interface call within the vehicle control application. For example, in a modular vehicle control application architecture, the front-end interface module encapsulates the interaction result into a message in a specific format and sends it to the data adaptation service module through a message queue or event bus.
[0132] After receiving the interaction result, the data adaptation service processes it. Since the data format of the interaction result may not be exactly the same as the data format of the setting item data object, the data adaptation service needs to perform data conversion and adaptation. After being processed by the data adaptation service, the processed interaction result is updated to the setting item data object. The setting item data object stores various settings and status information of the vehicle, and updating this information can ensure that the data stored in the vehicle control application is consistent with the actual state of the vehicle.
[0133] Optionally, step S703 of transmitting the interaction result to the data adaptation service and controlling the data adaptation service to update the interaction result to the setting item data object, as Figure 8 shown, includes:
[0134] Step S801: Based on the data display service, construct a third data transmission channel corresponding to the vehicle control application;
[0135] Step S802: Use the third data transmission channel to control the transmission of the interaction result to the data input interface corresponding to the data adaptation service, and obtain the data output interface corresponding to the data input interface;
[0136] Step S803: After controlling the data adaptation service to update the interaction result to the setting item data object, obtain the updated data corresponding to the setting item data object, and use the data output interface to control the data adaptation service to transmit the updated data to the data source corresponding to the vehicle data.
[0137] After the interaction result is generated, it needs to be transmitted to the data adaptation service for interaction. The specific implementation process requires constructing a corresponding third data transmission channel to perform data interaction on the setting item data object. The third data transmission channel is an independent channel and is constructed based on the data display service. The input end of the third data transmission channel after construction is at the data display service end, and the output end is at the data adaptation service end. After the third data channel is constructed, the interaction result can be transmitted from the data display service end to the data adaptation service end, and then the updated data corresponding to the setting item data object can be obtained. Finally, use the data output interface corresponding to the data input interface to control the data adaptation service to transmit the updated data to the data source corresponding to the vehicle data to ensure that the vehicle peripherals corresponding to these data sources can respond in a timely manner.
[0138] As can be seen from the vehicle control application construction method mentioned in the above embodiments, this method can quickly realize the function development of the vehicle control application, meet the project cycle, and save development costs; through unified data encapsulation, logics such as signal timeout, anti-shake, and throttling are implemented, and through unified interface encapsulation, rapid interface development is realized, and rapid binding with signal data is achieved.
[0139] Corresponding to the vehicle control application construction method provided in the foregoing embodiments, an embodiment of the present invention provides a vehicle control application construction system, as Figure 9 shown. This system includes:
[0140] A setting item data object generation module 910, configured to construct a data adaptation service corresponding to the vehicle control application based on vehicle data, and use the data adaptation service to generate a setting item data object corresponding to the vehicle control application;
[0141] A display item data object generation module 920, configured to construct a data conversion service corresponding to the vehicle control application according to the data type parameter and display mode parameter of the setting item data object, and control the conversion of the setting item data object into a display item data object based on the data conversion service;
[0142] A display interaction execution module 930, configured to construct a data display service corresponding to a vehicle control application according to the synchronous display parameters of a display item data object, and determine an interaction instruction of the vehicle control application based on a display area corresponding to the data display service;
[0143] A vehicle control application update module 940, configured to obtain an interaction result corresponding to the display item data object based on the interaction instruction, and update the interaction result to a setting item data object.
[0144] As Figure 10 shown in the structural schematic diagram of another vehicle control application construction system, Figure 10 the Model layer in Figure 9 corresponds to the setting item data object generation module 910 in
[0145] The data adaptation service corresponding to the ViewModel layer is implemented through DataService. During the signal adaptation process, signals from different sources (such as Vehicle Data, Audio Data, SystemData) can be adapted according to project requirements to ensure the diversity of data sources. Vehicle Data corresponds to obtaining real-time data from vehicle sensors, Audio Data corresponds to obtaining audio-related data from an audio system, and System Data corresponds to obtaining status and configuration data from the system. Then, the obtained data is input into Data Service for unified processing and formatting to generate a standardized setting item data object, and the processed setting item data object is transmitted from the Model layer to the View Model layer. Figure 9
[0146] The display item data object generation module 920 corresponding to the ViewModel layer, and the data conversion service is implemented through the ViewData component and the Control component, corresponding to the data type parameter and the display mode parameter respectively. After receiving the setting item data object from the Model layer, the ViewModel layer performs conversion according to the type of the data object (such as real-time data, status data, etc.) and the UI display mode (such as switch setting items, selection setting items, progress setting items, etc.) to generate a corresponding display item data object, and finally transmits the converted display item data object from the ViewModel layer to the View view layer. The View view layer corresponds to Figure 9In the display interaction execution module 930, the data display service is implemented through the DataBinding component. The ViewModel layer receives the setting item data object from the Model layer, and converts it according to the switch setting item Switch, the selection setting item RadioGroup, the progress setting item Progress, and the corresponding dialogue data Dialog, fragment data Fragment, and activity data Activity of the vehicle control application, generating the corresponding display item data object. Specifically, the UI display is synchronized according to the display item data object in the View Model layer, including switch setting items, selection setting items, progress setting items, etc., thereby realizing the UI display. During the user interaction process, according to the user's operations (such as button clicks, swipes, etc.), directly interact with the display item data object to obtain the corresponding interaction instructions.
[0147] Figure 10 The SettingData channel in corresponds to Figure 9 In the vehicle control application update module 940, after updating the interaction result corresponding to the display item data object of the interaction instruction to the setting item data object, the updated setting item data object is fed back from the View view layer to the Model layer to form a closed loop; then, the data is transmitted to the Vehicle peripheral, Audio peripheral, and system to ensure that each peripheral can respond to the user's operations in a timely manner.
[0148] It can be seen from the vehicle control application construction system mentioned in the above embodiments that the system can quickly realize the function development of the vehicle control application, meet the project cycle, and save the development cost; through the unified encapsulation of data, logics such as signal timeout, anti-shake, and throttling are realized, and through the unified encapsulation of the interface, the rapid development of the interface is realized, and the rapid binding with the signal data is realized.
[0149] The vehicle control application construction system provided by the embodiments of the present invention has the same implementation principle and the same technical effects as those of the foregoing embodiments of the vehicle control application construction method. For the sake of brief description, for the parts not mentioned in the system embodiment, reference may be made to the corresponding content in the foregoing embodiments of the vehicle control application construction method.
[0150] This embodiment also provides an electronic device, and the structural schematic diagram of the electronic device is as Figure 11 shown. The device includes a processor 101 and a memory 102; wherein, the memory 102 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor to implement the steps of the above-mentioned vehicle control application construction method.
[0151] Figure 11 The electronic device shown also includes a bus 103 and a communication interface 104, and the processor 101, the communication interface 104, and the memory 102 are connected through the bus 103.
[0152] Among them, the memory 102 may include high-speed random access memory (RAM), and may also include non-volatile memory, such as at least one disk memory. The bus 103 may be an ISA bus, a PCI bus, an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 11 only a bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0153] The communication interface 104 is used to connect to at least one user terminal and other network units through a network interface, and send the encapsulated IPv4 packet or IPv4 packet to the user terminal through the network interface.
[0154] The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method may be completed by the integrated logic circuit in the hardware of the processor 101 or instructions in the form of software. The above-mentioned processor 101 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field programmable gate array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present disclosure may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 102, and the processor 101 reads the information in the memory 102 and combines its hardware to complete the steps of the method in the foregoing embodiments.
[0155] The embodiment of the present invention also provides a storage medium, on which a computer program is stored, and when the computer program is run by a processor, it executes the steps of the vehicle control application construction method in the foregoing embodiments.
[0156] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices, equipment, and methods can be implemented in other ways. The system embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some communication interfaces. The indirect coupling or communication connection of the devices or units can be in electrical, mechanical, or other forms.
[0157] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0158] In addition, in each embodiment of the present invention, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0159] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0160] Finally, it should be noted that the above-described embodiments are only specific embodiments of the present invention, used to illustrate the technical solutions of the present invention, rather than limiting it. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the technical field can still modify the technical solutions described in the foregoing embodiments or easily conceive of changes, or perform equivalent replacements for some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for constructing a vehicle control application, characterized in that: The method comprises: Constructing a data adaptation service corresponding to the vehicle control application based on the vehicle data, and using the data adaptation service to generate a setting item data object corresponding to the vehicle control application; Constructing a data conversion service corresponding to the vehicle control application according to a data type parameter and a display mode parameter of the setting item data object, and controlling the conversion of the setting item data object into a display item data object based on the data conversion service; Constructing a data display service corresponding to the vehicle control application according to the synchronous display parameters of the display item data object, and determining an interactive instruction of the vehicle control application based on a display area corresponding to the data display service; The interaction result corresponding to the display item data object is acquired based on the interaction instruction, and the interaction result is updated to the setting item data object.
2. The vehicle control application construction method according to claim 1, characterized in that: Constructing a data adaptation service corresponding to the vehicle control application based on the vehicle data, and using the data adaptation service to generate a setting item data object corresponding to the vehicle control application, including: Acquire sensor data, audio data and configuration data contained in the vehicle data, and respectively construct a sensor interaction interface, an audio interaction interface and a configuration interaction interface corresponding to the vehicle control application based on the sensor data, the audio data and the configuration data; Constructing the data adaptation service corresponding to the vehicle control application according to the sensor data, the audio data and the configuration data; wherein the input interface of the data adaptation service at least includes the sensor interaction interface, the audio interaction interface and the configuration interaction interface; The object processing strategy corresponding to the vehicle data is determined by utilizing the data adaptation service, and the setting item data object is generated after object-oriented processing is performed on the vehicle data according to the object processing strategy.
3. The vehicle control application construction method according to claim 2, characterized in that: After generating the setting item data object, the method further includes: Building a first data transmission channel corresponding to the vehicle control application based on the data adaptation service; The first data transmission channel is used to control the transmission of the setting item data object to the data input interface corresponding to the data conversion service.
4. The vehicle control application construction method according to claim 1, characterized in that: Constructing a data conversion service corresponding to the vehicle control application according to a data type parameter and a display mode parameter of the setting item data object, and controlling the setting item data object to be converted into a display item data object based on the data conversion service, including: Acquire the data type parameter corresponding to the setting item data object, determine the real-time data and status data contained in the setting item data object based on the data type parameter, and construct the view data service corresponding to the vehicle control application using the real-time data and the status data; Acquire the display mode parameter corresponding to the setting item data object, determine the switch setting item, selection setting item and progress setting item contained in the setting item data object based on the display mode parameter, and construct the setting control service corresponding to the vehicle control application by using the switch setting item, selection setting item and progress setting item; Constructing the data conversion service corresponding to the vehicle control application according to the view data service and the setting control service, and determining an object conversion rule corresponding to the data conversion service; The object conversion rule is used to control the conversion of the setting item data object into the display item data object.
5. The vehicle control application construction method according to claim 4, characterized in that: After using the object conversion rule to control the setting item data object to be converted into the display item data object, the method further includes: Building a second data transmission channel corresponding to the vehicle control application based on the data conversion service; The second data transmission channel is used to control the display item data object to be transmitted to the data input interface corresponding to the data display service.
6. The vehicle control application construction method according to claim 1, characterized in that: Constructing a data display service corresponding to the vehicle control application according to the synchronous display parameters of the display item data object, and determining an interactive instruction of the vehicle control application based on a display area corresponding to the data display service, including: Acquire data binding parameters corresponding to the display item data object, and determine switch setting items, selection setting items and progress setting items contained in the display item data object and dialog data, fragment data and activity data corresponding to the vehicle control application according to the data binding parameters; Building the data display service based on the synchronous display parameter and using the switch setting item, the selection setting item and the progress setting item, and acquiring the display area corresponding to the data display service in the vehicle control application; The interaction instruction corresponding to the vehicle control application is determined according to the corresponding dialogue data, the fragment data and the activity data in the display area.
7. The vehicle control application construction method according to claim 6, characterized in that: Acquiring an interaction result corresponding to the display item data object based on the interaction instruction, and updating the interaction result to the setting item data object, including: Monitor and obtain button click events and area sliding events in the display area in real time; Based on the interaction instructions corresponding to the button click event and the area sliding event, acquiring the interaction result corresponding to the display item data object; The interaction result is transmitted to the data adaptation service, and the data adaptation service is controlled to update the interaction result to the setting item data object.
8. The vehicle control application construction method according to claim 7, characterized in that: Transmitting the interaction result to the data adaptation service, and controlling the data adaptation service to update the interaction result to the setting item data object, comprising: Constructing a third data transmission channel corresponding to the vehicle control application based on the data display service; Using the third data transmission channel to control the transmission of the interaction result to the data input interface corresponding to the data adaptation service, and obtaining the data output interface corresponding to the data input interface; After controlling the data adaptation service to update the interaction result to the setting item data object, the update data corresponding to the setting item data object is obtained, and the data output interface is used to control the data adaptation service to transmit the update data to the data source corresponding to the vehicle data.
9. A vehicle control application construction system, characterized in that: The system comprises: A setting item data object generation module, used to construct a data adaptation service corresponding to the vehicle control application based on vehicle data, and generate a setting item data object corresponding to the vehicle control application using the data adaptation service; A display item data object generation module, used to construct a data conversion service corresponding to the vehicle control application according to a data type parameter and a display mode parameter of the setting item data object, and control the conversion of the setting item data object into a display item data object based on the data conversion service; A display interaction execution module, configured to construct a data display service corresponding to the vehicle control application according to the synchronous display parameters of the display item data object, and determine an interaction instruction of the vehicle control application based on a display area corresponding to the data display service; The vehicle control application update module is used to obtain the interaction result corresponding to the display item data object based on the interaction instruction, and update the interaction result to the setting item data object.
10. An electronic device, characterized in that: It includes a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the steps of the vehicle control application construction method described in any one of claims 1 to 8.