CN113448643B - Configuration data management system and method - Google Patents

Configuration data management system and method Download PDF

Info

Publication number
CN113448643B
CN113448643B CN202110310989.6A CN202110310989A CN113448643B CN 113448643 B CN113448643 B CN 113448643B CN 202110310989 A CN202110310989 A CN 202110310989A CN 113448643 B CN113448643 B CN 113448643B
Authority
CN
China
Prior art keywords
configuration data
target
vehicle
storage area
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110310989.6A
Other languages
Chinese (zh)
Other versions
CN113448643A (en
Inventor
王斌
邬小勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ThunderSoft Co Ltd
Original Assignee
ThunderSoft Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ThunderSoft Co Ltd filed Critical ThunderSoft Co Ltd
Priority to CN202110310989.6A priority Critical patent/CN113448643B/en
Publication of CN113448643A publication Critical patent/CN113448643A/en
Application granted granted Critical
Publication of CN113448643B publication Critical patent/CN113448643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses a configuration data management system and a configuration data management method, and belongs to the technical field of automobile application. The system comprises: a vehicle-mounted system and a control unit system; the vehicle-mounted system comprises an application operation module and a first storage area, the control unit system comprises a second storage area, and the first storage area and the second storage area are both used for storing configuration data corresponding to vehicle-mounted applications in the vehicle-mounted system; the application operation module is used for acquiring target configuration data corresponding to the target vehicle-mounted application from the first storage area under the condition that the control unit system is not started; the method and the device for providing the target configuration data for the target vehicle-mounted application enable the target vehicle-mounted application in the vehicle-mounted system to directly call the required configuration data in the first storage area of the vehicle-mounted system when the target vehicle-mounted application runs, without waiting for the start of the control unit system, so that the target vehicle-mounted application can still acquire the corresponding configuration data to finish running when the start time of the target vehicle-mounted application is earlier.

Description

Configuration data management system and method
Technical Field
The embodiment of the application relates to the technical field of automobile application, in particular to a configuration data management system and method.
Background
With the continuous development of intelligent cabs, the number and complexity of systems for realizing multiple functions in automobiles are gradually increased.
In the prior art, important vehicle configuration information is mainly stored in a specific micro control unit (Microcontroller Unit, MCU) system based on safety consideration, so that when the application in each system of the automobile runs specifically, related configuration information needs to be firstly obtained from the MCU system to finish initialization and running of the application according to the obtained configuration information, thereby realizing related functions of the automobile.
However, in the prior art, if the starting time of a certain system in an automobile is earlier than that of an MCU system, when the MCU system is not started or the socket cross-CPU communication is not established between the MCU system and the system, the application in the system cannot immediately acquire the required configuration information from the MCU during operation, thereby causing the failure of the application operation.
Disclosure of Invention
The embodiment of the application provides a configuration data management system and a configuration data management method, which can solve the problem that when an application in the system is started earlier, the required configuration information cannot be acquired from an MCU immediately, so that the operation of the application fails. The technical scheme is as follows:
In a first aspect, there is provided a configuration data management system, the system comprising:
A vehicle-mounted system and a control unit system;
The vehicle-mounted system comprises an application operation module and a first storage area, the control unit system comprises a second storage area, and the first storage area and the second storage area are both used for storing configuration data corresponding to vehicle-mounted applications in the vehicle-mounted system;
The application operation module is used for acquiring target configuration data corresponding to a target vehicle-mounted application from the first storage area under the condition that the control unit system is not started, and acquiring the target configuration data from the first storage area or the second storage area under the condition that the vehicle-mounted system and the control unit system are both started;
the application operation module is used for providing the target configuration data for the target vehicle-mounted application.
In a second aspect, a configuration data management method is provided, where the configuration data management system includes a vehicle-mounted system and a control unit system, the vehicle-mounted system includes a first storage area, the control unit system includes a second storage area, and the first storage area and the second storage area are both used to store configuration data corresponding to a vehicle-mounted application in the vehicle-mounted system, where the method includes:
Acquiring the running states of the vehicle-mounted system and the control unit system;
under the condition that the control unit system is not started, acquiring target configuration data corresponding to a target vehicle-mounted application from the first storage area;
Under the condition that the vehicle-mounted system and the control unit system are started, acquiring the target configuration data from the first storage area or the second storage area;
and sending the target configuration data to the target vehicle-mounted application.
In the configuration data management system provided by the embodiment of the application, because the configuration data corresponding to the vehicle-mounted application can be stored in the first storage area corresponding to the vehicle-mounted system and the second storage area corresponding to the control unit system, when the target vehicle-mounted application in the vehicle-mounted system runs, the required configuration data can be directly called in the first storage area of the vehicle-mounted system without waiting for the start of the control unit system, and then the required configuration information is acquired from the control unit system, so that when the start time of the target vehicle-mounted application is earlier, the target vehicle-mounted application can still acquire the corresponding configuration data to finish running.
Drawings
FIG. 1 is a schematic diagram of a configuration data management system according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a configuration data reading process according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a configuration data update process provided by an embodiment of the present application;
FIG. 4 is a flowchart illustrating steps of a method for managing configuration data according to an embodiment of the present application;
fig. 5 is a flowchart of specific steps of a configuration data management method according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
References herein to "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Referring to fig. 1, a block diagram of a configuration data management system according to an embodiment of the present application is shown. The system may include: the vehicle-mounted system 10 and the control unit system 20, wherein the vehicle-mounted system 10 comprises an application operation module 12 and a first storage area 11, the control unit system 20 comprises a second storage area 21, the first storage area 11 and the second storage area 21 are both used for storing configuration data corresponding to a vehicle-mounted application in the vehicle-mounted system 10, so that the application operation module 12 can acquire target configuration data corresponding to the target vehicle-mounted application from the first storage area 11 under the condition that the control unit system 20 is not started, and can acquire target configuration data from the first storage area 11 or the second storage area 21 under the condition that the vehicle-mounted system 10 and the control unit system 20 are both started, and further, the application operation module 12 can provide the target configuration data to the target vehicle-mounted application so that the target vehicle-mounted application can finish operation according to the target configuration data.
It should be noted that, in the existing vehicle running process, in a specific running process, an application in the vehicle-mounted system needs to first obtain relevant configuration parameters, for example, for a reversing image application on a vehicle, the relevant configuration data of the reversing image application needs to be read first, including relevant parameters of a camera for obtaining an environmental image, relevant parameters of image processing on the environmental image obtained by the camera, display parameters of a synthesized reversing image on a vehicle display device, and the like, and then the reversing image of the vehicle is obtained and displayed according to the configuration parameters, so as to complete the running of the reversing image application.
Based on safety, important configuration information on the vehicle is mainly stored in a specific control unit system, for example, a fixed micro control unit (Microcontroller Unit, MCU) for storing vehicle configuration data, the MCU is also called a single-chip Microcomputer (SINGLE CHIP Microcomputer) or a single-chip Microcomputer, which is to properly reduce the frequency and specification of the central processing unit, integrate peripheral interfaces such as a memory and the like on a single chip to form a chip-level computer, and perform different combination control for different application occasions, namely, configuration data related to the reversing image application is stored in the control unit system, rather than being in the same vehicle-mounted system with the reversing image application.
Therefore, after the user starts the vehicle, if the user needs to run the reverse image application, the reverse image application is started first, then the control unit system is waited for starting, and after socket connection is established between the control unit system and the vehicle-mounted system to realize communication connection across the CPU, the reverse image application in the vehicle-mounted system can acquire configuration data related to the reverse image application stored in the control unit system through communication connection between the systems. Because the running scene of the reverse image application is generally running immediately after the vehicle is ignited and started, at this time, the control unit system is not started, or the communication connection between the control unit system and the vehicle-mounted system is not established, so that the reverse image application cannot successfully acquire the relevant configuration data and cannot perform the initialization operation, and the reverse image application fails to run.
Accordingly, referring to fig. 1, when the vehicle-mounted application in the vehicle-mounted system 10 needs to acquire configuration data to implement operation, the vehicle-mounted application corresponding application program of the system application layer 16 in the vehicle-mounted system 10 may send a configuration data request to the control unit service end application of the control unit system 20 through the data access service and the vehicle configuration service of the system framework layer 15, the control unit client application of the HAL adaptation layer and the application operation module 12 of the system local library 14, and after receiving the configuration data request, the control unit service end application may acquire the configuration data corresponding to the vehicle-mounted application from the second storage area 21 because the second storage area 21 in the control unit system 20 is used to store the configuration data corresponding to the vehicle-mounted application in the vehicle-mounted system, and send the configuration data to the application program corresponding to the vehicle-mounted application in the system application layer 16 through the control unit client application of the application operation module 12, the HAL adaptation layer of the system local library 14, and the vehicle configuration service and the data access service of the system framework layer 15 of the system local library 12, so that the vehicle-mounted application can complete operation in combination with the configuration data.
The In-vehicle System 10 may be a System capable of implementing various functions on a vehicle, for example, an In-Vehicle Infotainment, IVI System may be implemented by a System on Chip (SoC), which is an integrated circuit with a dedicated target, including a complete System and having the entire content of embedded software.
The application operation module 12 may be a real-time operation system (QNX) corresponding to a vehicle-mounted application on a vehicle, where QNX is a commercial Unix-like real-time operation system, and complies with the POSIX specification, and the target market is mainly an embedded system, and the vehicle-mounted application may complete some application early access functions through the application operation module 12, for example, the reverse image application may run successfully in the early stage of starting the vehicle, obtain the reverse image of the vehicle, and complete the display of the reverse image. In addition, the application operation module 12 may further include a control unit client application, so that configuration data stored in the second storage area 21 in the control unit system 20 may be acquired through a communication connection between the control unit client application and the control unit server application.
The first storage partition 11 may be a data partition for storing configuration data in a hardware storage device of the in-vehicle system 10, for example, two independent bare data partitions may be allocated on a vehicle disk for storing configuration data, such as: the first partition 111 may be used to store default configuration data corresponding to the vehicle application, the second partition 112 may be used to store actual configuration data corresponding to the vehicle application, and a common data partition may be allocated to store other data, such as data required or generated by implementing other functions in the vehicle system 10 by the third partition 113.
The system application layer 16, the system frame layer 15, the system local library 14 and the system kernel layer 13 together form a system architecture corresponding to the vehicle-mounted system 10, and the system architecture can be realized based on an Android (Android) system, so that the system application layer can be an Android application layer, the system frame layer can be an Android frame layer, the system local library can be an Android local library, and the system kernel layer can be an Android kernel layer.
The Android system may be distributed with application packages of a series of core application programs, where the application programs may include an email client, an SMS short message program, a calendar, a map, a browser, a contact management program, and the like, which are generally written using Java, so that the system application layer 16 includes application programs corresponding to a plurality of vehicle applications in the vehicle system 10.
In addition, the Android system further comprises an application framework layer, an application developer can completely access an application program interface (Application Programming Interface, API) framework used by the vehicle-mounted application, the architecture design of the vehicle-mounted application simplifies the reuse of components, any vehicle-mounted application can release functional blocks of the vehicle-mounted application and any other vehicle-mounted application can use the released functional blocks (but only can follow the safety limit of the framework), and the reuse mechanism of the vehicle-mounted application also enables a user to conveniently replace program components; hidden behind each in-vehicle application is a series of services and systems, including: views, content provider (ContentProviders), resource manager (ResourceManager), notification manager (NotificationManager), and activity manager (ACTIVITYMANAGER). Views can be used to build applications; contentProviders may enable an application to access data of another application (e.g., a contacts database), or share their own data; resourceManager can provide access to non-code resources such as local strings, graphics, and layout files; notificationManager may enable the application to display custom hints in the status bar; ACTIVITYMANAGER can be used to manage application lifecycle and provide common navigation rollback functionality. In the embodiment of the application, the system frame layer 15 is an application frame layer of an Android system corresponding to a vehicle-mounted application, and the system frame layer 15 contains a data access service and a vehicle configuration service, wherein the data access service belongs to ResourceManager and can realize the access of data in the vehicle-mounted system, and the vehicle configuration service also belongs to ResourceManager and can realize the access of vehicle configuration data in the control unit system 20.
The Android system also comprises a system runtime layer, which can contain some C/C++ libraries, wherein the libraries can be used by different components in the Android system, and provide services for developers through an Android application framework. In the embodiment of the application, the system local library 14 is a system operation library layer of an Android system corresponding to the vehicle-mounted application, and the data read-write implementation library in the system local library 14 completes the data access service in the system framework layer 15 by reading and writing configuration data in the first storage area 11; the HAL adaptation layer in the system local library 14 enables the control unit client application to adapt to the Android system by performing adaptation operation on the control unit client application in the application operation module 12.
The Android system further comprises a Linux kernel layer, and the core system service of the Android system depends on a Linux2.6 kernel, such as security, memory management, process management, a network protocol stack and a driving model, and the Linux kernel also serves as an abstract layer between hardware and software stacks. In the embodiment of the application, the system kernel layer 13 is a Linux kernel layer of an Android system corresponding to a vehicle-mounted application, and the system kernel layer 13 contains a related file system.
In the embodiment of the present application, referring to fig. 1, since the first storage area 11 and the second storage area 21 are both used for storing configuration data corresponding to the vehicle-mounted application in the vehicle-mounted system 10, that is, the target configuration data required for running the target vehicle-mounted application is stored in both the first storage area 11 and the second storage area 21.
Specifically, in the case that the control unit system 20 is not started, the application operation module 12 may directly obtain, through a system input/output (I/O) operation in the system, target configuration data required for running the target vehicle-mounted application from the first storage area 11 in step S9, and provide the target configuration data to the target vehicle-mounted application, so that the target vehicle-mounted application may complete running according to the target configuration data, thereby implementing an application early access function of the target vehicle-mounted application.
Under the condition that the vehicle-mounted system 10 and the control unit system 20 are started, socket connection can be established between the control unit system 20 and the vehicle-mounted system 10 to realize communication connection across the CPU, so that the target vehicle-mounted application in the vehicle-mounted system 10 can acquire target configuration data required by the operation of the target vehicle-mounted application from the second storage area 21 in the control unit system 20 through the steps S1-S2-S3-S4-S5-S6, and the operation can be completed according to the target configuration data.
Optionally, in the process that the application operation module obtains target configuration data corresponding to a target vehicle-mounted application from the first storage area, the application operation module is specifically configured to obtain a dynamic library file, where the dynamic library file is obtained by compiling the vehicle-mounted system, and the dynamic library file includes a general interface for calling the first storage area; and calling the universal interface, determining the first storage area, and acquiring the target configuration data from the first storage area.
Specifically, the process of the application operation module obtaining target configuration data corresponding to the target vehicle-mounted application from the first storage area may specifically include:
and A1, the application operation module acquires a dynamic library file, wherein the dynamic library file is obtained according to compiling of the vehicle-mounted system, and the dynamic library file comprises a general interface for calling the first storage area.
In this process, the configuration data to be accessed can be stored in the first storage area according to the structure, that is, the first storage area can be preset to be a binary bare partition file, where the structure of the stored configuration data is binary format data, so after the configuration data to be stored in the first storage area is acquired, the configuration data needs to be first converted into data with binary format structure, and then is stored in the first storage area.
Furthermore, a dynamic library file can be provided to read and parse the first memory patch from the memory module of the vehicle-mounted system according to a fixed interface, and read out the configuration data in the first memory patch for access by a caller.
The dynamic library file is obtained according to the vehicle-mounted system, and the dynamic library file can comprise a universal interface for calling the first storage area, so that the application operation module can firstly obtain the dynamic library file to call the universal interface of the first storage area according to the dynamic library file.
And A2, the application operation module calls the universal interface, determines the first storage area and acquires the target configuration data from the first storage area.
In the process, after the dynamic library file is acquired, a universal interface of the first storage area can be called according to the dynamic library file, the first storage area is determined according to the universal interface, and then target configuration data corresponding to the target vehicle-mounted application is acquired in the first storage area.
Optionally, the configuration data corresponding to the vehicle-mounted application may include: default configuration data and actual configuration data; accordingly, referring to fig. 1, the first memory tile 11 may include two binary bare partitions: a first partition 111 and a second partition 112, wherein the first partition 111 is used for storing the default configuration data, and the second partition 112 is used for storing the actual configuration data.
Specifically, the default configuration data may be default configuration data set by a technician when the vehicle is manufactured and disconnected, that is, configuration data corresponding to each vehicle-mounted application in the vehicle-mounted system when the vehicle is not started or is not actually running, and further, the default configuration data may be converted into data with a binary structure and stored in a first partition in the first storage partition. The actual configuration data may be actual configuration data which is determined to be in accordance with the actual condition of the vehicle when the vehicle starts the vehicle machine system for the first time, that is, the vehicle-mounted system runs for the first time, in combination with the specific model and structure of the vehicle and the actual running condition of the vehicle, further, the actual configuration data may be converted into data with a binary structure and stored in a second storage area in the control unit system, and then the actual configuration data in the second storage area is acquired according to the communication mode of the socket crossing the central processor and is simultaneously stored in the second partition in the first storage area.
Optionally, under the condition that the vehicle-mounted system is programmed for the first time, the application operation module is further used for acquiring the default configuration data and converting the default configuration data into binary default configuration data; storing default configuration data in the binary form in the first partition; and acquiring the default configuration data from a first partition of the first storage partition, and determining the default configuration data as the target configuration data.
Specifically, before target configuration data corresponding to the target vehicle-mounted application is obtained from the first storage area, under the condition that the vehicle-mounted system is first programmed, default configuration data may be stored in the first partition, where the process of storing the default configuration data in the first partition may specifically include:
And B1, the application operation module acquires the default configuration data and converts the default configuration data into binary default configuration data.
In the process, when the vehicle is off line, the mirror image of the whole machine is burnt, early data partitions containing default configuration data are burnt in the vehicle-mounted system, specifically, the application operation module can acquire the default configuration data corresponding to each vehicle-mounted application in the vehicle-mounted system, specifically, the default configuration data can be input into the vehicle-mounted system by a technician, and the preset configuration data in the system can be acquired for the vehicle-mounted system.
Further, since the first partition, which is an early data partition, is a binary bare partition file, the default configuration data may be first converted into binary form data after the default configuration data is acquired.
And B2, the application operation module stores the default configuration data in the binary form in the first partition.
In this process, the application operation module may further store default configuration data in binary form in the first partition, and specifically, the application operation module may parse the data structure of the obtained default configuration data through the scripting tool, to generate default configuration data in binary form.
Correspondingly, the process of acquiring the target configuration data corresponding to the target vehicle-mounted application from the first storage area may specifically include:
and B3, acquiring the default configuration data from the first partition of the first storage partition, and determining the default configuration data as the target configuration data.
Specifically, under the condition that the vehicle-mounted system is programmed for the first time, because the first partition in the first storage area stores the target configuration data corresponding to the target vehicle-mounted application, and at the moment, the vehicle does not actually operate, so that the actual configuration data does not exist, default configuration data can be directly obtained from the first partition in the first storage area, and the default configuration data is determined as the target configuration data corresponding to the target vehicle-mounted application, so that the target vehicle-mounted application can operate according to the target configuration data.
Optionally, in the case that the vehicle-mounted system is running for the first time, the application operation module is further configured to: acquiring the actual configuration data from the control unit system according to the communication mode of the socket crossing the central processor, and converting the actual configuration data into binary actual configuration data; storing the actual configuration data in binary form in the second partition; and acquiring target actual configuration data from a second partition of the first storage partition, and determining the target actual configuration data as the target configuration data.
Specifically, before the target configuration data corresponding to the target vehicle-mounted application is obtained from the first storage area, under the condition that the vehicle-mounted system operates for the first time, the actual configuration data may be stored in the second partition, where the process of storing the actual configuration data in the second partition may specifically include:
And C1, the application operation module acquires the actual configuration data from the control unit system according to the communication mode of the socket crossing the central processor, and converts the actual configuration data into binary actual configuration data.
In this process, since important configuration information on the vehicle is mainly stored in a specific control unit system based on safety considerations, that is, actual configuration data conforming to the actual condition of the vehicle is determined according to the specific model and structure of the vehicle and the actual running condition of the vehicle is stored in the second storage area of the control unit system. Therefore, when the vehicle system is started for the first time after the vehicle is off line, the flow of reading the actual configuration data in the control unit system can be initiated by the data access service in the vehicle-mounted system.
Specifically, referring to fig. 1, the data access service of the system framework layer 15 may send an actual configuration data request to the control unit server application of the control unit system 20 through the vehicle configuration service, the HAL adaptation layer of the system local library 14, and the control unit client application of the application operation module 12, and after receiving the actual configuration data request, the control unit server application may obtain the actual configuration data from the second storage area 21 through steps S1-S2-S3-S4-S5-S7-S8, because the second storage area 21 in the control unit system 20 is used to store the actual configuration data corresponding to the vehicle application in the vehicle-mounted system. Wherein:
Step S1, controlling the data access inside the unit system.
In this step, since the control unit system 20 includes the second storage area 21 and the control unit server application, the control unit server application may acquire actual configuration data corresponding to the vehicle-mounted application from the second storage area through data access inside the control unit system 20.
Step S2, socket communication between the vehicle-mounted system and the control unit system is carried out across the CPU.
In this step, since the control unit server application is located in the control unit system 20 and the control unit client application is located in the vehicle-mounted system 10, the control unit client application may obtain actual configuration data corresponding to the vehicle-mounted application from the control unit server application through socket communication between the vehicle-mounted system 10 and the control unit system 20 across CPUs.
Step S3, socket communication of the internal cross-system of the vehicle-mounted system.
In this step, in order to enable the control unit client application to adapt to the Android system, a HAL adaptation layer of the system local library 14 is thus provided between the vehicle configuration service of the system framework layer 15 and the control unit client application. The HAL adaptation layer can acquire actual configuration data corresponding to the vehicle-mounted application from the control unit client application through socket communication of the cross-system inside the vehicle-mounted system 10.
And S4, inter-process access communication in the Android system.
In this step, the vehicle configuration service of the system framework layer 15 may obtain actual configuration data corresponding to the vehicle-mounted application from the HAL adaptation layer of the system local library 14 through inter-process access communication within the Android system.
And S5, inter-process access communication in the Android system.
In this step, the data access service of the system framework layer 15 may also obtain actual configuration data corresponding to the vehicle-mounted application from the vehicle configuration service through inter-process access communication in the Android system.
And S7, invoking a Java local interface (Javanativeinterface, jni) function in a process in the Android system.
In this step, since the hardware access service (data access service) in the Android system is developed using Java language, and the hardware abstraction layer module (data read-write implementation library) is developed using C/c++ language, the data access service and the data read-write implementation library quality inspection need to implement data transmission or function implementation through jni function call.
And S8, performing system input/output (I/O) operation in the Android system.
In this step, the data read-write implementation library in the Android local library may write the obtained actual configuration data corresponding to the vehicle-mounted application into the second partition 112 in the first storage partition 11 through a system input/output operation in the system.
Further, since the second partition, which is the early data partition, is a binary bare partition file, it is possible to first convert the actual configuration data into binary form data after the actual configuration data is acquired.
And step C2, the application operation module stores the actual configuration data in the binary form in the second partition.
In this process, the application operation module may further store the actual configuration data in the binary form in the second partition, and specifically, the application operation module may parse the data structure of the obtained actual configuration data through the scripting tool, generate the actual configuration data in the binary form, and access the index table data structure required for the actual configuration data.
Correspondingly, the process of acquiring the target configuration data corresponding to the target vehicle-mounted application from the first storage area may specifically include:
and C3, acquiring target actual configuration data from a second partition of the first storage partition, and determining the target actual configuration data as the target configuration data.
Specifically, under the condition that the vehicle-mounted system is started for the first time, because the second partition in the first storage partition stores a plurality of actual configuration data corresponding to the target vehicle-mounted application, the target actual configuration data can be obtained from the second partition in the first storage partition, and the target actual configuration data is determined to be the target configuration data corresponding to the target vehicle-mounted application, so that the target vehicle-mounted application can operate according to the target configuration data.
Optionally, the target vehicle-mounted application running in early stage obtains the target actual configuration data from the second partition of the first storage partition through an application operation module, and when the target actual configuration data is determined to be the target configuration data, the application operation module is specifically configured to generate a data obtaining request for the target configuration data, where the data obtaining request includes a target index number and a target check code; determining target actual configuration data corresponding to the target index number in the second partition; and determining the target actual configuration data as the target configuration data under the condition that the check code of the target actual configuration data is matched with the target check code.
Specifically, the process of acquiring, by the application operation module, the target actual configuration data from the second partition of the first storage partition and determining the target actual configuration data as the target configuration data by the target vehicle-mounted application running early may specifically include:
And D1, the application operation module generates a data acquisition request aiming at the target configuration data, wherein the data acquisition request comprises a target index number and a target check code.
In the process, after the target vehicle-mounted application running in early stage is started, an application operation module can generate a data acquisition request aiming at the target configuration data so that an application operation module can acquire a dynamic library file, a universal interface of a first storage area is called according to the dynamic library file, the first storage area is further determined according to the universal interface, and the target configuration data corresponding to the target vehicle-mounted application is acquired in the first storage area.
In the embodiment of the application, the data structure of each item of configuration data in the first storage area is in the form of configuration data value plus check code, wherein the length of the effective data of the configuration data is defined by an original data source and can be of an indefinite length.
Accordingly, the data acquisition request may include the target index number and the target check code, so that the target configuration data may be determined from the first storage area including the plurality of configuration data according to the target index number and the target check code.
Fig. 2 is a schematic diagram illustrating a configuration data reading process according to an embodiment of the present application, and referring to fig. 2, a data acquisition request may include item parameters such as a target index number and a target check code.
And D2, determining target actual configuration data corresponding to the target index number in the second partition.
In this step, the process of determining, in the second partition, the target actual configuration data corresponding to the target index number may specifically include:
(1) And determining the offset of the target actual configuration data in the index table corresponding to the second partition according to the target index number in the second partition.
Specifically, the application operation module may determine, in the second partition, an offset of the target actual configuration data in the index table corresponding to the second partition according to the target index number corresponding to the target configuration data in the data acquisition request.
(2) And determining the target position of the target actual configuration data in an index table according to the offset.
Specifically, after determining the offset of the target actual configuration data in the index table, the application operation module may further determine the target position of the target actual configuration data in the index table according to the offset.
(3) And extracting actual configuration data corresponding to the position, and determining the actual configuration data as the target actual configuration data.
Specifically, after determining the target position of the target actual configuration data in the index table, the application operation module may further extract the actual configuration data corresponding to the target position, and determine the actual configuration data as the target actual configuration data.
Referring to fig. 2, according to item parameters including a target index number and a target check code, an offset (offset) of target actual configuration data in the index table may be determined in the second partition index table according to the target index number, and a target position of the target actual configuration data in the index table may be determined according to the offset, so as to extract the target actual configuration data corresponding to the target position, and complete reading of the actual configuration data in the second partition. In addition, the length (length) of the target configuration data can be predetermined, so that the target position of the target actual configuration data in the index table is determined by combining the offset and the length, the target actual configuration data corresponding to the target position is extracted, and the accuracy of the configuration data acquisition process can be improved.
And D3, determining the target actual configuration data as the target configuration data under the condition that the check code of the target actual configuration data is matched with the target check code.
Further, referring to fig. 2, since the data structure of each item of configuration data stored in the first storage area is in the form of a configuration data value plus a check code, after determining the target actual configuration data, it may be further determined whether the check code of the target actual configuration data is matched with the target check code in the data acquisition request, if so, it is determined that the check is successful, and the target actual configuration data is determined as the target configuration data, so as to complete the process of acquiring the target configuration data.
Optionally, after determining, in the second partition, target actual configuration data corresponding to the target index number, the application operation module is further configured to: under the condition that the check code of the target actual configuration data is not matched with the target check code, acquiring default configuration data in the first partition, and determining the default configuration data as the target configuration data; and replacing target actual configuration data in the second partition with the default configuration data.
Specifically, the process of acquiring the target actual configuration data from the second partition of the first storage partition by the target vehicle-mounted application running in early stage through the application operation module and determining the target actual configuration data as the target configuration data may further include:
and D4, under the condition that the check code of the target actual configuration data is not matched with the target check code, acquiring default configuration data in the first partition, and determining the default configuration data as the target configuration data.
In this process, referring to fig. 2, if it is determined that the check code of the target actual configuration data does not match the target check code in the data acquisition request, it is indicated that the verification fails, and then the default configuration data is read from the first partition, and the default configuration data is determined as the target configuration data, so as to complete the process of acquiring the target configuration data.
And D5, replacing the target actual configuration data in the second partition with the default configuration data.
In this process, referring to fig. 2, after the default configuration data is read in the first partition and the default configuration data is determined as the target configuration data, the second partition may be further updated, and the target actual configuration data in the second partition is replaced with the default configuration data, so as to complete the reset data.
In the embodiment of the application, if the configuration data in the second storage area in the control unit system of the vehicle changes during actual use of the vehicle, for example, when the application functions under different configurations are verified by modifying the configuration during development and debugging of the vehicle, the configuration data corresponding to the vehicle-mounted application is modified, and then the actual configuration data in the second partition of the first storage area in the vehicle-mounted system can be synchronously updated.
Specifically, fig. 3 shows a schematic diagram of a configuration data updating process provided by the embodiment of the present application, referring to fig. 3, when a vehicle-mounted system updates configuration data corresponding to a vehicle-mounted application accessed from an Android side in an early stage, an upper-layer application directly opens a binary configuration data file in a second partition by calling a write-in data function, finds an offset (offset) of the configuration data in the second partition in an index table of the second partition according to a parameter item corresponding to the updated configuration data in the control unit system, determines a position of the configuration data in the index table according to the offset and a length of the updated configuration data, and updates the updated configuration data in the control unit system transferred by the upper layer to the position, thereby completing an updating process of actual configuration data in the second partition.
In summary, in the configuration data management system provided by the embodiment of the present application, since the configuration data corresponding to the vehicle-mounted application may be stored in the first storage area corresponding to the vehicle-mounted system and the second storage area corresponding to the control unit system, when the target vehicle-mounted application in the vehicle-mounted system is running, the required configuration data may be directly invoked in the first storage area of the vehicle-mounted system, without waiting for the start of the control unit system, and then the required configuration information may be acquired from the control unit system, so that when the start time of the target vehicle-mounted application is relatively long, the target vehicle-mounted application may still acquire the corresponding configuration data to complete the running.
Referring to fig. 4, a flowchart of steps of a configuration data management method according to an embodiment of the present application is shown. The method comprises the following steps:
and step 101, acquiring the running states of the vehicle-mounted system and the control unit system.
In this step, the application operation module of the vehicle-mounted system may acquire the operation states of the vehicle-mounted system and the control unit system, so that the vehicle-mounted system and the application operation module determine whether to acquire the target configuration data corresponding to the target vehicle-mounted application from the vehicle-mounted system or the control unit system.
Wherein, the configuration data management method is applied to a configuration data management system, referring to fig. 1, the system may include: the vehicle-mounted system 10 and the control unit system 20, wherein the vehicle-mounted system 10 comprises an application operation module 12 and a first storage area 11, the control unit system 20 comprises a second storage area 21, the first storage area 11 and the second storage area 21 are both used for storing configuration data corresponding to a vehicle-mounted application in the vehicle-mounted system 10, so that the application operation module 12 can acquire target configuration data corresponding to the target vehicle-mounted application from the first storage area 11 under the condition that the control unit system 20 is not started, and can acquire target configuration data from the first storage area 11 or the second storage area 21 under the condition that the vehicle-mounted system 10 and the control unit system 20 are both started, and further, the application operation module 12 can provide the target configuration data to the target vehicle-mounted application so that the target vehicle-mounted application can finish operation according to the target configuration data.
And 102, under the condition that the control unit system is not started, acquiring target configuration data corresponding to a target vehicle-mounted application from the first storage area.
In this step, in the case where it is determined that the control unit system 20 is not started according to the acquired operation states of the vehicle-mounted system 10 and the control unit system 20, the application operation module 12 may directly acquire, through a system input/output (I/O) operation in the system from the first storage area 11 in step S9, target configuration data required for the operation of the target vehicle-mounted application, and provide the target configuration data to the target vehicle-mounted application, so that the target vehicle-mounted application may complete the operation according to the target configuration data, thereby implementing an application early access function of the target vehicle-mounted application.
Step 103, under the condition that the vehicle-mounted system and the control unit system are started, acquiring the target configuration data from the first storage area or the second storage area.
In this step, in the case where it is determined that both the in-vehicle system and the control unit system are started according to the acquired operation states of the in-vehicle system and the control unit system, the target configuration data may be acquired from the first memory patch or the second memory patch.
Specifically, referring to fig. 1, the process of acquiring the target configuration parameter from the first storage area 11 is the same as the process of acquiring the target configuration data corresponding to the target vehicle-mounted application from the first storage area 11 in the case that the control unit system 20 is not started in step 102.
The process of obtaining the target configuration data corresponding to the target vehicle-mounted application from the second storage area 21 may specifically be: under the condition that the vehicle-mounted system 10 and the control unit system 20 are started, socket connection can be established between the control unit system 20 and the vehicle-mounted system 10 to realize communication connection across the CPU, so that the target vehicle-mounted application in the vehicle-mounted system 10 can acquire target configuration data required by the operation of the target vehicle-mounted application from the second storage area 21 in the control unit system 20 through the steps S1-S2-S3-S4-S5-S6, and the operation can be completed according to the target configuration data.
And 104, transmitting the target configuration data to the target vehicle-mounted application.
In this step, after the target configuration data is obtained, the application operation module may send the target configuration data to the target vehicle-mounted application, so that the target vehicle-mounted application completes running in combination with the target configuration data, thereby implementing an application early access function of the target vehicle-mounted application.
In summary, in the configuration data management method provided by the embodiment of the present application, since the configuration data corresponding to the vehicle-mounted application may be stored in the first storage area corresponding to the vehicle-mounted system and the second storage area corresponding to the control unit system, when the target vehicle-mounted application in the vehicle-mounted system is running, the required configuration data may be directly invoked in the first storage area of the vehicle-mounted system, without waiting for the start of the control unit system, and then the required configuration information may be acquired from the control unit system, so that when the start time of the target vehicle-mounted application is relatively long, the target vehicle-mounted application may still acquire the corresponding configuration data to complete the running.
Referring to fig. 5, a flowchart illustrating specific steps of a configuration data management method according to an embodiment of the present application is shown. The method comprises the following steps:
Step 201, obtaining the running states of the vehicle-mounted system and the control unit system.
The specific implementation manner of this step may be referred to step 101, and this embodiment is not described herein.
Step 202, under the condition that the vehicle-mounted system is programmed for the first time, acquiring the default configuration data, and converting the default configuration data into binary default configuration data.
In this step, when the vehicle is off-line, the mirror image of the whole machine is burned, and early data partitions containing default configuration data are burned in the vehicle-mounted system, specifically, the application operation module may acquire default configuration data corresponding to each vehicle-mounted application in the vehicle-mounted system, specifically, the default configuration data may be input into the vehicle-mounted system by a technician, or preset configuration data in the system may be acquired for the vehicle-mounted system.
Wherein the configuration data may include: default configuration data and actual configuration data; accordingly, referring to fig. 1, the first memory tile 11 may include two binary bare partitions: a first partition 111 and a second partition 112, wherein the first partition 111 is used for storing the default configuration data, and the second partition 112 is used for storing the actual configuration data.
Accordingly, since the first partition, which is an early data partition, is a binary bare partition file, the default configuration data may be first converted into binary form data after the default configuration data is acquired.
Step 203, storing default configuration data in the binary form in the first partition.
In this step, after determining the default configuration data in the binary form in step 202, the application operation module may further store the default configuration data in the binary form in the first partition, and specifically, the application operation module may parse the data structure of the obtained default configuration data through the scripting tool to generate default configuration data in the binary form.
Step 204, under the condition that the vehicle-mounted system operates for the first time, acquiring the actual configuration data from the control unit system according to a communication mode of a socket crossing the central processor, and converting the actual configuration data into binary actual configuration data.
In this step, since important configuration information on the vehicle is mainly stored in a specific control unit system based on safety considerations, i.e., actual configuration data conforming to the actual condition of the vehicle, which is determined according to the specific model and structure of the vehicle and the actual running condition of the vehicle, is stored in the second storage area of the control unit system. Therefore, when the vehicle system is started for the first time after the vehicle is off line, the flow of reading the actual configuration data in the control unit system can be initiated by the data access service in the vehicle-mounted system.
After step 201, it may be determined whether the vehicle-mounted system is first programmed or first operated according to the operation state of the vehicle-mounted system, if the vehicle-mounted system is first programmed, step 202 is executed, and if the vehicle-mounted system is first operated, step 204 is executed.
Specifically, referring to fig. 1, the data access service of the system framework layer 15 may send an actual configuration data request to the control unit server application of the control unit system 20 through the vehicle configuration service, the HAL adaptation layer of the system local library 14, and the control unit client application of the application operation module 12, and after receiving the actual configuration data request, the control unit server application may obtain the actual configuration data from the second storage area 21 through steps S1-S2-S3-S4-S5-S7-S8, because the second storage area 21 in the control unit system 20 is used to store the actual configuration data corresponding to the vehicle application in the vehicle-mounted system.
Step 205, storing the actual configuration data in binary form in the second partition.
In this step, after determining the actual configuration data in binary form in step 204, the application operation module may further store the actual configuration data in binary form in the second partition, and in particular, the application operation module may parse the data structure of the obtained actual configuration data through the scripting tool, generate the actual configuration data in binary form, and access the index table data structure required for the actual configuration data.
It should be noted that, after the default configuration data is stored in the first partition and the actual configuration data is stored in the second partition in step 203 and step 205, it may be further determined whether to obtain the configuration data from the first storage partition or the second storage partition according to the operation state of the control unit system obtained in step 201.
Specifically, if it is determined that the control unit system is not started, step 206 is executed, and if both the vehicle-mounted system and the configuration system are started, step 207 is executed.
And step 206, under the condition that the control unit system is not started, acquiring target configuration data corresponding to the target vehicle-mounted application from the first storage area.
In this step, the application operation module cannot establish socket connection between the control unit system and the vehicle-mounted system to implement communication connection across the CPU under the condition that the control unit system is not started, so that data transmission cannot be performed, and target configuration data corresponding to the target vehicle-mounted application in the second storage area cannot be acquired.
Optionally, step 206 may specifically include:
Sub-step 2061, obtaining a dynamic library file, where the dynamic library file is obtained according to the vehicle-mounted system compilation, and the dynamic library file includes a universal interface for calling the first storage area.
In this step, since the configuration data that needs to be accessed can be stored in the first storage area according to the structure, that is, the first storage area can be preset to be a binary bare partition file, where the structure of the stored configuration data is binary format data, after the configuration data that needs to be stored in the first storage area is acquired, the configuration data needs to be first converted into data having a binary format structure, and then stored in the first storage area.
Furthermore, a dynamic library file can be provided to read and parse the first memory patch from the memory module of the vehicle-mounted system according to a fixed interface, and read out the configuration data in the first memory patch for access by a caller.
The dynamic library file is obtained according to the vehicle-mounted system, and the dynamic library file can comprise a universal interface for calling the first storage area, so that the application operation module can firstly obtain the dynamic library file to call the universal interface of the first storage area according to the dynamic library file.
Sub-step 2062, invoking the generic interface, determining the first memory patch, and obtaining the target configuration data in the first memory patch.
In this step, after the dynamic library file is obtained, a universal interface of the first storage area may be called according to the dynamic library file, and the first storage area is determined according to the universal interface, so that target configuration data corresponding to the target vehicle-mounted application is obtained in the first storage area.
Optionally, in the case of the initial programming of the vehicle-mounted system, since the first partition in the first storage area stores the target configuration data corresponding to the target vehicle-mounted application, and at this time, since the vehicle is not actually running, there is no actual configuration data, and correspondingly, step 206 may specifically include:
sub-step 2063, obtaining the default configuration data from the first partition of the first storage tile and determining the default configuration data as the target configuration data.
In this step, default configuration data may be directly obtained from the first partition of the first storage partition, and the default configuration data is determined as target configuration data corresponding to the target vehicle-mounted application, so that the target vehicle-mounted application can implement operation according to the target configuration data.
Optionally, in the case of the first startup of the vehicle-mounted system, because the second partition in the first storage partition stores a plurality of actual configuration data corresponding to the target vehicle-mounted application, step 206 may specifically include:
sub-step 2064, obtaining target actual configuration data from the second partition of the first storage partition and determining the target actual configuration data as the target configuration data.
In this step, the target actual configuration data may be obtained from the second partition of the first storage partition, and the target actual configuration data is determined as target configuration data corresponding to the target vehicle-mounted application, so that the target vehicle-mounted application may implement operation according to the target configuration data.
Optionally, the substep 2064 may specifically include:
And E1, generating a data acquisition request aiming at the target configuration data, wherein the data acquisition request comprises a target index number and a target check code.
In the process, after the target vehicle-mounted application running in early stage is started, an application operation module can generate a data acquisition request aiming at the target configuration data so that an application operation module can acquire a dynamic library file, a universal interface of a first storage area is called according to the dynamic library file, the first storage area is further determined according to the universal interface, and the target configuration data corresponding to the target vehicle-mounted application is acquired in the first storage area.
In the embodiment of the application, the data structure of each item of configuration data in the first storage area is in the form of configuration data value plus check code, wherein the length of the effective data of the configuration data is defined by an original data source and can be of an indefinite length.
Accordingly, the data acquisition request may include the target index number and the target check code, so that the target configuration data may be determined from the first storage area including the plurality of configuration data according to the target index number and the target check code.
Fig. 2 is a schematic diagram illustrating a configuration data reading process according to an embodiment of the present application, and referring to fig. 2, a data acquisition request may include item parameters such as a target index number and a target check code.
And E2, determining target actual configuration data corresponding to the target index number in the second partition.
In this step, the offset of the target actual configuration data in the index table may be determined in the second partition from the index table corresponding to the second partition according to the target index number corresponding to the target configuration data in the data acquisition request, the position of the target actual configuration data in the index table is determined according to the offset, the actual configuration data corresponding to the position is extracted, and the actual configuration data is determined as the target actual configuration data.
Referring to fig. 2, an offset (offset) of actual configuration data of a target in the index table may be determined according to the target index number in the index table of the second partition according to item parameters including the target index number and the target check code, and a position of the actual configuration data of the target in the index table may be determined according to the offset, so as to extract the actual configuration data of the target corresponding to the position, and complete reading of the actual configuration data in the second partition. In addition, the length (length) of the target configuration data can be predetermined, so that the position of the target actual configuration data in the index table is determined by combining the offset and the length, the target actual configuration data corresponding to the position is extracted, and the accuracy of the configuration data acquisition process can be improved.
And E3, determining the target actual configuration data as the target configuration data under the condition that the check code of the target actual configuration data is matched with the target check code.
Further, referring to fig. 2, since the data structure of each item of configuration data stored in the first storage area is in the form of a configuration data value plus a check code, after determining the target actual configuration data, it may be further determined whether the check code of the target actual configuration data is matched with the target check code in the data acquisition request, if so, it is determined that the check is successful, and the target actual configuration data is determined as the target configuration data, so as to complete the process of acquiring the target configuration data.
Optionally, after the step of determining the target actual configuration data corresponding to the target index number in the second partition, the above process further includes:
and E4, under the condition that the check code of the target actual configuration data is not matched with the target check code, acquiring default configuration data in the first partition, and determining the default configuration data as the target configuration data.
In this process, referring to fig. 2, if it is determined that the check code of the target actual configuration data does not match the target check code in the data acquisition request, it is indicated that the verification fails, and then the default configuration data is read from the first partition, and the default configuration data is determined as the target configuration data, so as to complete the process of acquiring the target configuration data.
And E5, replacing the target actual configuration data in the second partition with the default configuration data.
In this process, referring to fig. 2, after the default configuration data is read in the first partition and the default configuration data is determined as the target configuration data, the second partition may be further updated, and the target actual configuration data in the second partition is replaced with the default configuration data, so as to complete the reset data.
Step 207, acquiring the target configuration data from the first storage area or the second storage area under the condition that the vehicle-mounted system and the control unit system are started.
Optionally, step 207 may specifically include:
Sub-step 2071, obtaining said target configuration data from said first memory patch through system input/output operations within the system.
In this step, under the condition that the vehicle-mounted system and the control unit system are started, the target configuration data can be obtained from the first storage area by the system input/output operation in the system preferentially, and the data can be obtained more quickly compared with the communication mode of the socket crossing the central processing unit in the system by the system input/output operation in the system, so that the required target configuration data can be obtained quickly.
Sub-step 2072, under the condition that the target configuration data is not successfully obtained from the first storage area, obtaining the target configuration data from the second storage area through a socket across the communication mode of the central processing unit.
In this step, if the target configuration data is not successfully obtained from the first storage area, the target configuration data may be further obtained from the second storage area by a socket cross-cpu communication manner, so as to ensure that the required target configuration data can be successfully obtained.
And step 208, sending the target configuration data to the target vehicle-mounted application.
The specific implementation manner of this step may be referred to step 104, and this embodiment is not described herein.
In summary, in the configuration data management method provided by the embodiment of the present application, since the configuration data corresponding to the vehicle-mounted application may be stored in the first storage area corresponding to the vehicle-mounted system and the second storage area corresponding to the control unit system, when the target vehicle-mounted application in the vehicle-mounted system is running, the required configuration data may be directly invoked in the first storage area of the vehicle-mounted system, without waiting for the start of the control unit system, and then the required configuration information may be acquired from the control unit system, so that when the start time of the target vehicle-mounted application is relatively long, the target vehicle-mounted application may still acquire the corresponding configuration data to complete the running.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The foregoing description of the preferred embodiments of the application is not intended to limit the application to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the application are intended to be included within the scope of the application.

Claims (10)

1. A configuration data management system, the system comprising:
A vehicle-mounted system and a control unit system;
The vehicle-mounted system comprises an application operation module and a first storage area, the control unit system comprises a second storage area, and the first storage area and the second storage area are both used for storing configuration data corresponding to vehicle-mounted applications in the vehicle-mounted system;
The application operation module is used for acquiring target configuration data corresponding to a target vehicle-mounted application from the first storage area under the condition that the control unit system is not started, and acquiring the target configuration data from the first storage area or the second storage area under the condition that the vehicle-mounted system and the control unit system are both started;
the application operation module is used for providing the target configuration data for the target vehicle-mounted application.
2. The system of claim 1, wherein the system further comprises a controller configured to control the controller,
The application operation module is specifically configured to obtain a dynamic library file, where the dynamic library file is obtained according to compilation of the vehicle-mounted system, and the dynamic library file includes a general interface for calling the first storage area; and calling the universal interface, determining the first storage area, and acquiring the target configuration data from the first storage area.
3. The system of claim 1, wherein the configuration data comprises: default configuration data and actual configuration data;
The first memory patch includes two binary bare partitions: the first partition is used for storing the default configuration data, and the second partition is used for storing the actual configuration data.
4. The system of claim 3, wherein, in the event of the initial programming of the in-vehicle system, the application operation module is further configured to:
acquiring the default configuration data and converting the default configuration data into binary default configuration data;
Storing default configuration data in the binary form in the first partition;
And acquiring the default configuration data from a first partition of the first storage partition, and determining the default configuration data as the target configuration data.
5. The system of claim 3, wherein, in the case where the in-vehicle system is running for the first time, the application operation module is further configured to:
Acquiring the actual configuration data from the control unit system according to the communication mode of the socket crossing the central processor, and converting the actual configuration data into binary actual configuration data;
Storing the actual configuration data in binary form in the second partition;
And acquiring target actual configuration data from a second partition of the first storage partition, and determining the target actual configuration data as the target configuration data.
6. The system of claim 5, wherein the system further comprises a controller configured to control the controller,
The application operation module is specifically configured to generate a data acquisition request for the target configuration data, where the data acquisition request includes a target index number and a target check code; determining target actual configuration data corresponding to the target index number in the second partition; and determining the target actual configuration data as the target configuration data under the condition that the check code of the target actual configuration data is matched with the target check code.
7. The system of claim 6, wherein the system further comprises a controller configured to control the controller,
The application operation module is specifically configured to determine, in the second partition according to the target index number, an offset of the target actual configuration data in the index table corresponding to the second partition from the index table; determining a target position of the target actual configuration data in an index table according to the offset; and extracting actual configuration data corresponding to the target position, and determining the actual configuration data as the target actual configuration data.
8. The system of claim 6, wherein the application operation module is further configured to:
Under the condition that the check code of the target actual configuration data is not matched with the target check code, acquiring default configuration data in the first partition, and determining the default configuration data as the target configuration data;
and replacing target actual configuration data in the second partition with the default configuration data.
9. A configuration data management method applied to the configuration data management system according to any one of claims 1 to 7, wherein the configuration data management system comprises a vehicle-mounted system and a control unit system, the vehicle-mounted system comprises a first storage area, the control unit system comprises a second storage area, and the first storage area and the second storage area are both used for storing configuration data corresponding to a vehicle-mounted application in the vehicle-mounted system, the method comprises:
Acquiring the running states of the vehicle-mounted system and the control unit system;
under the condition that the control unit system is not started, acquiring target configuration data corresponding to a target vehicle-mounted application from the first storage area;
Under the condition that the vehicle-mounted system and the control unit system are started, acquiring the target configuration data from the first storage area or the second storage area;
and sending the target configuration data to the target vehicle-mounted application.
10. The method according to claim 9, wherein obtaining the target configuration data from the first memory patch specifically comprises:
Acquiring the target configuration data from the first storage area through system input/output operation in a system;
The obtaining the target configuration data from the second storage area includes:
and under the condition that the target configuration data is not successfully obtained from the first storage area, obtaining the target configuration data from the second storage area in a socket cross-CPU communication mode.
CN202110310989.6A 2021-03-23 2021-03-23 Configuration data management system and method Active CN113448643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110310989.6A CN113448643B (en) 2021-03-23 2021-03-23 Configuration data management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110310989.6A CN113448643B (en) 2021-03-23 2021-03-23 Configuration data management system and method

Publications (2)

Publication Number Publication Date
CN113448643A CN113448643A (en) 2021-09-28
CN113448643B true CN113448643B (en) 2024-04-26

Family

ID=77809215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110310989.6A Active CN113448643B (en) 2021-03-23 2021-03-23 Configuration data management system and method

Country Status (1)

Country Link
CN (1) CN113448643B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124401B (en) * 2021-11-02 2023-11-17 佛吉亚歌乐电子(丰城)有限公司 Data authentication method, device, equipment and storage medium
CN114655140B (en) * 2022-03-15 2024-03-26 东软睿驰汽车技术(沈阳)有限公司 Vehicle starting control method and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092656A (en) * 2013-01-23 2013-05-08 深圳市航盛电子股份有限公司 Navigation system and navigation method
CN110389790A (en) * 2019-07-22 2019-10-29 深圳创维汽车智能有限公司 Panoramic parking system calibration parameter acquisition methods, device, terminal and storage medium
CN111731207A (en) * 2020-06-18 2020-10-02 北京百度网讯科技有限公司 Method, device and equipment for acquiring vehicle configuration information and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104145452B (en) * 2012-03-02 2017-10-31 三菱电机株式会社 Information processor, electronic control unit and information processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092656A (en) * 2013-01-23 2013-05-08 深圳市航盛电子股份有限公司 Navigation system and navigation method
CN110389790A (en) * 2019-07-22 2019-10-29 深圳创维汽车智能有限公司 Panoramic parking system calibration parameter acquisition methods, device, terminal and storage medium
CN111731207A (en) * 2020-06-18 2020-10-02 北京百度网讯科技有限公司 Method, device and equipment for acquiring vehicle configuration information and storage medium

Also Published As

Publication number Publication date
CN113448643A (en) 2021-09-28

Similar Documents

Publication Publication Date Title
CN113448643B (en) Configuration data management system and method
CN106598647B (en) Intelligent device development platform
CN114020621A (en) Debugging method, electronic device and storage medium
JP4724660B2 (en) How to manage software components that are integrated into an embedded system
CN114020340B (en) Server system and data processing method thereof
CN115291946A (en) Hongmong system transplanting method, device, electronic equipment and readable medium
CN113268275B (en) Hardware equipment driving system based on microkernel and driving method thereof
CN116643778B (en) Application program optimization method and electronic equipment
CN116954824A (en) Runtime system supporting multi-process mixed operation of multiple extended reality (XR) technical specification application programs and 2D application programs, data interaction method, device and medium
CN116483382A (en) Bare metal deployment method, device and medium thereof
WO2023168913A1 (en) Method and apparatus for compatibility of sdk with access application, device and medium
CN114416202B (en) Mobile terminal SDK calling method and system
CN113568603B (en) Component object creating and interface method calling method, terminal and storage device
JP4063573B2 (en) Device driver installation / execution method, installation / execution method, and program
EP4071601A1 (en) Mobile service upgrade method and apparatus, and terminal
CN112286568A (en) Multi-version compatible method for Android system
CN113835723A (en) System on chip, upgrading system and method for vehicle electronic control unit
CN116628670B (en) Authority setting method and electronic equipment
JP7375643B2 (en) In-vehicle information processing device, control method and computer program
CN115114610B (en) Android system-based module and method for calling service through Root
WO2024017278A1 (en) Method, device and program carrier for cross-platform porting of applications
JP2007272579A (en) Software verification method, system and program
JP2002297402A (en) Digital device, task management method and program therefor
CN116795620A (en) Redis server deployment method, electronic equipment and storage medium
CN117472393A (en) Multi-operating system burning method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant