CN115297155A - Configuration management method and device applied to automatic driving platform and related equipment - Google Patents

Configuration management method and device applied to automatic driving platform and related equipment Download PDF

Info

Publication number
CN115297155A
CN115297155A CN202210928300.0A CN202210928300A CN115297155A CN 115297155 A CN115297155 A CN 115297155A CN 202210928300 A CN202210928300 A CN 202210928300A CN 115297155 A CN115297155 A CN 115297155A
Authority
CN
China
Prior art keywords
configuration
target
attribute value
item
program
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.)
Pending
Application number
CN202210928300.0A
Other languages
Chinese (zh)
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.)
Guangzhou Weride Technology Co Ltd
Original Assignee
Guangzhou Weride Technology 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 Guangzhou Weride Technology Co Ltd filed Critical Guangzhou Weride Technology Co Ltd
Priority to CN202210928300.0A priority Critical patent/CN115297155A/en
Publication of CN115297155A publication Critical patent/CN115297155A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a configuration management method, a configuration management device and related equipment applied to an automatic driving platform, wherein the method comprises the following steps: acquiring a target configuration item and a target attribute value; acquiring a corresponding configuration program and a configuration rule, wherein the configuration program is a preset executable program for modifying a target configuration item; judging whether the target attribute value is legal or not based on the configuration rule; if yes, setting the attribute value of the target configuration item as a target attribute value by using a configuration program, updating a configuration file of the system according to the target configuration item and the target attribute value, and recording the attribute value of each configuration item in each module by using the configuration file. The method and the device can configure each configuration item in each module, so that unified configuration of each module is realized; the configuration file records the attribute values of the configuration items in the modules, a new version can be formed after each update, and the configuration file of each version reflects the configuration history, so that the management and maintenance of the configuration items are facilitated.

Description

Configuration management method and device applied to automatic driving platform and related equipment
Technical Field
The present application relates to the field of automatic driving technologies, and in particular, to a configuration management method and apparatus applied to an automatic driving platform, and a related device.
Background
The automatic driving vehicle platform has a large and complex software and hardware integrated system, wherein the software system comprises an artificial intelligence model, an automatic driving framework and the like, and the hardware system comprises various sensors such as a camera and a laser radar, an automatic driving platform host and the like. The complex software and hardware systems interact with each other to ensure that the automatic driving can accurately and stably run together.
Due to the complexity of the overall system, the autopilot platform has a wide variety of and complex configurations. In current practical applications, each module needs to be configured separately, for example, a certain module is configured through a bash command, or the configuration of the certain module is changed by modifying a configuration file of the certain module. In this way, it is difficult to uniformly configure the configuration items, to keep the configuration history, and to manage and maintain the configuration items.
Disclosure of Invention
In view of this, the present application provides a configuration management method and apparatus applied to an autopilot platform, and a related device, so as to implement unified configuration management of each module on the autopilot platform.
In order to achieve the above object, a first aspect of the present application provides a configuration management method applied to an automatic driving platform, including:
acquiring a target configuration item and a target attribute value;
acquiring a configuration program and a configuration rule corresponding to the target configuration item, wherein the configuration program is a preset executable program for modifying the target configuration item;
judging whether the target attribute value is legal or not based on the configuration rule;
if yes, setting the attribute value of the target configuration item as the target attribute value by using the configuration program, and updating a configuration file of a system according to the target configuration item and the target attribute value, wherein the configuration file records the attribute value of each configuration item in each module.
Preferably, the process of obtaining the configuration program and the configuration rule corresponding to the target configuration item includes:
acquiring a configuration program and a configuration rule corresponding to the target configuration item based on a preset configuration tree;
the configuration tree adopts a tree structure to record configuration programs and configuration rules of configuration items in each module.
Preferably, the configuration tree further records configuration information of each module; the process of setting the property value of the target configuration item to the target property value using the configuration program includes:
acquiring configuration information corresponding to the target configuration item based on a preset configuration tree;
updating the configuration information by using the target configuration item and the target attribute value to obtain target configuration information;
and updating the attribute values of the configuration items of the module to which the target configuration item belongs by using the configuration program based on the target configuration information.
Preferably, the process of obtaining the target configuration item and the target attribute value includes:
acquiring a configuration command statement input by a user, and analyzing the configuration command statement to obtain a target configuration item and a target attribute value;
alternatively, the first and second electrodes may be,
and acquiring a target configuration file imported by a user, and analyzing the target configuration file to obtain a target configuration item and a target attribute value.
Preferably, before obtaining the configuration command statement input by the user, the method further includes:
based on a segment of a configuration command input by a user, searching a candidate configuration command matched with the segment from a preset dictionary tree, and displaying the candidate configuration command, wherein the candidate configuration command is a complete configuration command.
Preferably, after the configuration command statement input by the user is obtained, the method further includes:
sending a configuration command statement input by a user to a server;
after updating the configuration file of the system according to the target configuration item and the target attribute value, the method further comprises the following steps:
exporting the updated configuration file, and sending the updated configuration file to a server.
Preferably, the method further comprises the following steps:
acquiring a non-configuration command statement input by a user, and analyzing the non-configuration command statement to obtain a target instruction;
judging whether the user has the authority to execute the target instruction or not based on the target instruction and a preset blacklist;
and if so, executing the target instruction.
A second aspect of the present application provides a configuration management apparatus applied to an automatic driving platform, including:
the command acquisition unit is used for acquiring a target configuration item and a target attribute value;
an entity obtaining unit, configured to obtain a configuration program and a configuration rule corresponding to the target configuration item, where the configuration program is a preset executable program for modifying the target configuration item;
a legality checking unit for judging whether the target attribute value is legal based on the configuration rule;
and the command execution unit is used for setting the attribute value of the target configuration item as the target attribute value by using the configuration program when the legality checking unit determines that the configuration item is legal, and updating a configuration file of a system according to the target configuration item and the target attribute value, wherein the configuration file records the attribute value of each configuration item in each module.
A third aspect of the present application provides a configuration management device applied to an autopilot platform, including: a memory and a processor;
the memory is used for storing programs;
the processor is used for executing the program and realizing the steps of the configuration management method applied to the automatic driving platform.
A fourth aspect of the present application provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the configuration management method applied to an autopilot platform as described above.
According to the technical scheme, the target configuration item and the target attribute value are firstly obtained. And then, acquiring a configuration program and a configuration rule corresponding to the target configuration item, wherein the configuration program is preset, and it can be understood that each configuration item in each module in the automatic driving platform corresponds to a configuration program, and the configuration items in each module can be configured through the configuration programs, so that the unified configuration of each module is realized. Then, whether the target attribute value is legal is judged based on the configuration rule. And when the target attribute value is determined to be legal, setting the attribute value of the target configuration item as the target attribute value by using the configuration program. And simultaneously, updating a configuration file of the system according to the target configuration item and the target attribute value. The configuration file records the attribute values of the configuration items in the modules, a new version can be formed by updating the configuration file each time, and the configuration file of each version reflects the configuration history, thereby being beneficial to the management and maintenance of the configuration items.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic diagram of a processing method for a configuration command according to an embodiment of the present disclosure;
FIG. 2 is a general schematic diagram of a configuration management method applied to an automatic driving platform according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a configuration tree disclosed in an embodiment of the present application;
FIG. 4 is another schematic diagram of a configuration tree disclosed in an embodiment of the present application;
FIG. 5 is a diagram illustrating a method for processing non-configuration commands according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a configuration management device applied to an autopilot platform according to an embodiment of the disclosure;
fig. 7 is a schematic diagram of a configuration management device applied to an automatic driving platform according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The following describes a configuration management method applied to an automatic driving platform according to an embodiment of the present application. Referring to fig. 1 and fig. 2, a configuration management method applied to an automatic driving platform according to an embodiment of the present application may include the following steps:
and step S101, acquiring a target configuration item and a target attribute value.
The target configuration item is a configuration item to be configured, such as an angle of a camera, a shooting pixel of the camera, and the like. The target attribute value is a value corresponding to an attribute of a target configuration item, e.g., for a target configuration item, which is an angle of a camera, the target attribute value may be a specific angle value; for a target configuration item, which is a shooting pixel of a camera, a target attribute value may be a specific pixel value.
It will be understood that it is automatically assumed that each module in the platform may correspond to a plurality of configuration items, for example, for a camera module, configuration items such as angle and shooting pixels; the host (module) of the automatic driving platform can be correspondingly provided with configuration items such as an interface IP (Internet protocol), an interface communication protocol and the like.
Step S102, acquiring a configuration program and a configuration rule corresponding to the target configuration item.
Wherein, the configuration program is an executable program which is preset and used for modifying the target configuration item. For example, a corresponding configuration function may be written for each module according to a configuration entry provided by each heterogeneous module to generate a configuration program, and the configuration program directly configures the corresponding module.
The configuration rule describes information such as format, range and default value of attribute value of the configuration item. For example, for the configuration item of the angle of the camera, the configuration rule may include: the numerical format is integer, the numerical range is 0-180 degrees, and the default value is 90 degrees.
Step S103, judging whether the target attribute value is legal based on the configuration rule. If yes, go to step S104.
And step S104, setting the attribute value of the target configuration item as a target attribute value by using the configuration program, and updating the configuration file of the system according to the target configuration item and the target attribute value.
Wherein, the configuration file records the attribute values of the configuration items of the modules in the automatic driving platform. That is, all configuration information for all modules in the autopilot platform is recorded in the configuration file. It can be understood that, since the change of any configuration item is updated to the configuration file, the historical change situation of each configuration item can be clearly reflected by retaining the configuration files of each version. The version management of the configuration file may be implemented by an existing version management tool, which is not limited in this application.
The method comprises the steps of firstly obtaining a target configuration item and a target attribute value. And then, acquiring a configuration program and a configuration rule corresponding to the target configuration item, wherein the configuration program is preset, and it can be understood that each configuration item in each module in the automatic driving platform corresponds to a configuration program, and the configuration items in each module can be configured through the configuration programs, so that the unified configuration of each module is realized. Then, whether the target attribute value is legal is judged based on the configuration rule. And when the target attribute value is determined to be legal, setting the attribute value of the target configuration item as the target attribute value by using the configuration program. And simultaneously, updating a configuration file of the system according to the target configuration item and the target attribute value. The configuration file records the attribute values of the configuration items in the modules, a new version can be formed by updating the configuration file each time, and the configuration file of each version reflects the configuration history, thereby being beneficial to the management and maintenance of the configuration items.
In some embodiments of the present application, the process of obtaining the target configuration item and the target attribute value in step S101 may include:
mode 1: and acquiring a configuration command statement input by a user, and analyzing the configuration command statement to obtain a target configuration item and a target attribute value.
Alternatively, the first and second electrodes may be,
mode 2: and acquiring a target configuration file imported by a user, and analyzing the target configuration file to obtain a target configuration item and a target attribute value.
The configuration commands of the configuration items in the modules adopt a uniform command format, so that the command parser can correctly identify the configuration commands, and meanwhile, the learning cost of a user is reduced.
It can be understood that the target configuration file may include configuration information for a plurality of configuration items in a plurality of modules, and therefore, a plurality of sets of one-to-one corresponding target configuration items and target attribute values may be obtained after the target configuration file is parsed, and subsequently, validity check and configuration may be performed on each target configuration item one by one.
It should be noted that, when the user inputs a configuration command statement or imports a target configuration file, the user can directly access the automatic driving platform of the vehicle through the keyboard, so as to input the configuration command statement or import the target configuration file. In addition, the user can remotely access the automatic driving platform of the vehicle through a network, for example, remotely access the automatic driving platform of the vehicle through SSH (Secure Shell), or access the server through a webpage end, and then connect the automatic driving platform of the vehicle through the server.
In some embodiments of the present application, before obtaining the configuration command statement input by the user in the above manner 1, the method may further include:
based on the segment of the configuration command input by the user, searching a candidate configuration command matched with the segment from a preset dictionary tree, and displaying the candidate configuration command. Wherein the candidate configuration command is a complete configuration command.
Specifically, the dictionary tree is recorded with all the configuration commands, and the configuration commands are recorded in the dictionary tree in dictionary order. Through the dictionary tree, candidate configuration commands matched with a configuration command segment can be found out quickly according to the configuration command segment input by a user, it needs to be noted that more than one candidate configuration command matched with a certain configuration command segment can be provided, and when the candidate configuration commands are displayed in a screen, the candidate configuration commands can be sorted according to the similarity degree, so that the user can locate the target configuration command more quickly.
In some embodiments of the present application, after obtaining the configuration command statement input by the user in the above manner 1, the method may further include:
and sending the configuration command statement input by the user to the server.
By sending the configuration command statements input by the user to the server, the configuration command history can be kept in the server so as to be convenient for subsequent inquiry.
It should be noted that, in addition to backing up the configuration command statements to the server, all configuration command statements may be recorded locally on the vehicle's autonomous driving platform to form a local backup of the historical data of the configuration command statements.
In some embodiments of the present application, the process of obtaining the configuration program and the configuration rule corresponding to the target configuration item in step S102 may include:
and acquiring a configuration program and a configuration rule corresponding to the target configuration item based on a preset configuration tree.
The configuration tree adopts a tree structure to record configuration programs and configuration rules of configuration items in each module. For example, the configuration tree may have a structure as shown in fig. 3, where the child nodes of the root node are the modules, and the child nodes of each module are the configuration program and the configuration rule of the module.
By recording the configuration programs and the configuration rules of the configuration items in the modules in a tree structure mode, the modules to be configured can be conveniently and quickly located, and the modules are linked to the corresponding configuration programs and the corresponding configuration rules.
In some embodiments of the present application, referring to fig. 4, the configuration tree may also record configuration information of each module. It should be noted that the configuration tree is stored in a Shared Memory (Shared Memory) of the autopilot platform, and therefore, the configuration tree is global, and the configuration information can be derived and also global, which enables configuration modifications to modules in the autopilot system between different users to unify information.
Specifically, taking a network module as an example, the data structure of the configuration information (protoBuf) may include:
Figure BDA0003780584200000071
based on this, the process of setting the attribute value of the target configuration item to the target attribute value by using the configuration program in step S104 may include:
s1, acquiring configuration information corresponding to a target configuration item based on a preset configuration tree.
And S2, updating the configuration information by using the target configuration item and the target attribute value to obtain target configuration information.
For example, for the above network module, assuming that the user inputs a configuration command statement and desires to change the network card IP, the configuration information of the network module is updated according to the target attribute value of the network card IP input by the user.
And S3, updating the attribute values of the configuration items of the module to which the target configuration item belongs by using the configuration program based on the target configuration information.
It can be understood that, when the configuration program executes a specific configuration, the execution granularity of the configuration program is at a module level, not at a configuration item level, and even if only the attribute value of a certain configuration item below the module is changed, the configuration update is executed on the whole module, wherein for other configuration items which do not need to be substantially configured, the original attribute values of the configuration items can be used for updating the configuration items.
In some embodiments of the present application, after the step S104 updates the configuration file of the system according to the target configuration item and the target attribute value, the method may further include:
exporting the updated configuration file and sending the updated configuration file to the server.
Since the configuration file contains the configuration information of all modules in the automatic driving platform, a history record can be formed by sending the configuration file updated each time to the server, and the history change condition of each configuration item can be clearly reflected.
It can be understood that, since the configuration information of all modules can be conveniently imported and exported through the configuration file, the one-key export, backup, history management and other work of the whole configuration of the automatic driving system can be conveniently carried out through the configuration file. All the configuration files are managed through the online server, and large-scale unified management operation can be performed on the configuration of each vehicle, for example, the configuration of one vehicle is copied to another vehicle, or the configuration of a certain vehicle is restored to a certain version.
The above embodiments describe configuration commands, and in fact, commands for the autopilot platform are non-configuration commands in addition to configuration commands, such as start-up, shut-down, restart, software update, system software installation, and the like. In the prior art, interaction with the autopilot host is primarily through a default bash command line tool. This causes a problem that the command right is difficult to manage. If some more dangerous commands (such as shutdown) are executed during autonomous driving travel, a catastrophic disaster may be inflicted on the autonomous vehicle.
Based on this, in some embodiments of the present application, referring to fig. 2 and fig. 5, the configuration management method applied to the autopilot platform may further include:
step S105, acquiring a non-configuration command statement input by a user, and analyzing the non-configuration command statement to obtain a target instruction.
Step S106, based on the target instruction and the preset blacklist, judging whether the user has the authority to execute the target instruction. If yes, go to step S107.
In step S107, the target instruction is executed.
The preset blacklist can comprise a blacklist at all times and a blacklist in an automatic driving mode, wherein the blacklist at all times is effective at any time, and the blacklist in the automatic driving mode is only effective when a vehicle is in the automatic driving mode, so that user authorities in different states are defined, authority of various commands is managed more accurately, and configuration modification behaviors which are difficult to master are prevented from being executed by a user in modes such as bash and the like.
The following describes a configuration management device applied to an automatic driving platform provided in an embodiment of the present application, and the configuration management device applied to the automatic driving platform described below and the configuration management method applied to the automatic driving platform described above may be referred to correspondingly.
Referring to fig. 6, a configuration management apparatus applied to an autopilot platform according to an embodiment of the present application may include:
a command acquisition unit 21 configured to acquire a target configuration item and a target attribute value;
an entity obtaining unit 22, configured to obtain a configuration program and a configuration rule corresponding to the target configuration item, where the configuration program is an executable program that is preset and is used to modify the target configuration item;
a validity checking unit 23, configured to determine whether the target attribute value is valid based on the configuration rule;
and a command executing unit 24, configured to, when the validity checking unit determines that the configuration item is valid, set the attribute value of the target configuration item as the target attribute value by using the configuration program, and update a configuration file of the system according to the target configuration item and the target attribute value, where the configuration file records the attribute value of each configuration item in each module.
In some embodiments of the present application, the process of instructing the obtaining unit 21 to obtain the target configuration item and the target attribute value may include:
acquiring a configuration command statement input by a user, and analyzing the configuration command statement to obtain a target configuration item and a target attribute value;
alternatively, the first and second liquid crystal display panels may be,
and acquiring a target configuration file imported by a user, and analyzing the target configuration file to obtain a target configuration item and a target attribute value.
In some embodiments of the present application, before the command acquiring unit 21 acquires the configuration command statement input by the user, the method may further include:
based on a segment of a configuration command input by a user, searching a candidate configuration command matched with the segment from a preset dictionary tree, and displaying the candidate configuration command, wherein the candidate configuration command is a complete configuration command.
In some embodiments of the present application, after the command acquiring unit 21 acquires the configuration command statement input by the user, the method may further include:
sending a configuration command statement input by a user to a server;
after updating the configuration file of the system according to the target configuration item and the target attribute value, the method further comprises the following steps:
exporting the updated configuration file, and sending the updated configuration file to a server.
In some embodiments of the present application, the process of acquiring, by the entity acquiring unit 22, the configuration program and the configuration rule corresponding to the target configuration item may include:
acquiring a configuration program and a configuration rule corresponding to the target configuration item based on a preset configuration tree;
the configuration tree adopts a tree structure to record configuration programs and configuration rules of configuration items in each module.
In some embodiments of the present application, the configuration tree further records configuration information of each module; the process of the command execution unit 24 setting the attribute value of the target configuration item to the target attribute value by using the configuration program may include:
acquiring configuration information corresponding to the target configuration item based on a preset configuration tree;
updating the configuration information by using the target configuration item and the target attribute value to obtain target configuration information;
and updating the attribute values of the configuration items of the module to which the target configuration item belongs by using the configuration program based on the target configuration information.
In some embodiments of the present application, the configuration management apparatus applied to the automatic driving platform may further include a non-configuration command processing unit configured to:
acquiring a non-configuration command statement input by a user, and analyzing the non-configuration command statement to obtain a target instruction;
judging whether the user has the authority to execute the target instruction or not based on the target instruction and a preset blacklist;
and if so, executing the target instruction.
The configuration management device applied to the automatic driving platform provided by the embodiment of the application can be installed on configuration management equipment applied to the automatic driving platform, such as an on-board computer. Alternatively, fig. 7 is a block diagram illustrating a hardware structure of the configuration management device applied to the autopilot platform, and referring to fig. 7, the hardware structure of the configuration management device applied to the autopilot platform may include: at least one processor 31, at least one communication interface 32, at least one memory 33 and at least one communication bus 34.
In the embodiment of the present application, the number of the processor 31, the communication interface 32, the memory 33 and the communication bus 34 is at least one, and the processor 31, the communication interface 32 and the memory 33 complete the communication with each other through the communication bus 34;
the processor 31 may be a central processing unit CPU, or an Application Specific Integrated Circuit ASIC (Application Specific Integrated Circuit), or one or more Integrated circuits configured to implement the embodiments of the present Application, etc.;
the memory 33 may include a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory;
wherein the memory 33 stores a program and the processor 31 may invoke the program stored in the memory 33, the program being for:
acquiring a target configuration item and a target attribute value;
acquiring a configuration program and a configuration rule corresponding to the target configuration item, wherein the configuration program is a preset executable program for modifying the target configuration item;
judging whether the target attribute value is legal or not based on the configuration rule;
if yes, setting the attribute value of the target configuration item as the target attribute value by using the configuration program, and updating a configuration file of a system according to the target configuration item and the target attribute value, wherein the configuration file records the attribute value of each configuration item in each module.
Alternatively, the detailed function and the extended function of the program may refer to the above description.
An embodiment of the present application further provides a storage medium, where the storage medium may store a program adapted to be executed by a processor, where the program is configured to:
acquiring a target configuration item and a target attribute value;
acquiring a configuration program and a configuration rule corresponding to the target configuration item, wherein the configuration program is a preset executable program for modifying the target configuration item;
judging whether the target attribute value is legal or not based on the configuration rule;
if yes, setting the attribute value of the target configuration item as the target attribute value by using the configuration program, and updating a configuration file of a system according to the target configuration item and the target attribute value, wherein the configuration file records the attribute value of each configuration item in each module.
Alternatively, the detailed function and the extended function of the program may be as described above.
In summary, the following steps:
the method comprises the steps of firstly obtaining a target configuration item and a target attribute value. And then, acquiring a configuration program and a configuration rule corresponding to the target configuration item, wherein the configuration program is preset, and it can be understood that each configuration item in each module in the automatic driving platform corresponds to a configuration program, and the configuration programs can configure each configuration item in each module, so that the unified configuration of each module is realized. Then, whether the target attribute value is legal is judged based on the configuration rule. And when the target attribute value is determined to be legal, setting the attribute value of the target configuration item as the target attribute value by using the configuration program. And simultaneously, updating a configuration file of the system according to the target configuration item and the target attribute value. The configuration file records the attribute values of the configuration items in the modules, a new version can be formed by updating the configuration file each time, and the configuration file of each version reflects the configuration history, thereby being beneficial to the management and maintenance of the configuration items.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, the embodiments may be combined as needed, and the same and similar parts may be referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A configuration management method applied to an automatic driving platform is characterized by comprising the following steps:
acquiring a target configuration item and a target attribute value;
acquiring a configuration program and a configuration rule corresponding to the target configuration item, wherein the configuration program is a preset executable program for modifying the target configuration item;
judging whether the target attribute value is legal or not based on the configuration rule;
if yes, setting the attribute value of the target configuration item as the target attribute value by using the configuration program, and updating a configuration file of a system according to the target configuration item and the target attribute value, wherein the configuration file records the attribute value of each configuration item in each module.
2. The method of claim 1, wherein the process of obtaining configuration procedures and configuration rules corresponding to the target configuration items comprises:
acquiring a configuration program and a configuration rule corresponding to the target configuration item based on a preset configuration tree;
the configuration tree adopts a tree structure to record configuration programs and configuration rules of configuration items in each module.
3. The method of claim 2, wherein the configuration tree further records configuration information of each module; the process of setting the property value of the target configuration item to the target property value using the configuration program includes:
acquiring configuration information corresponding to the target configuration item based on a preset configuration tree;
updating the configuration information by using the target configuration item and the target attribute value to obtain target configuration information;
and updating the attribute values of the configuration items of the module to which the target configuration item belongs by using the configuration program based on the target configuration information.
4. The method of claim 1, wherein the process of obtaining the target configuration item and the target property value comprises:
acquiring a configuration command statement input by a user, and analyzing the configuration command statement to obtain a target configuration item and a target attribute value;
alternatively, the first and second liquid crystal display panels may be,
and acquiring a target configuration file imported by a user, and analyzing the target configuration file to obtain a target configuration item and a target attribute value.
5. The method of claim 4, wherein before obtaining the configuration command statement input by the user, further comprising:
based on a segment of a configuration command input by a user, searching a candidate configuration command matched with the segment from a preset dictionary tree, and displaying the candidate configuration command, wherein the candidate configuration command is a complete configuration command.
6. The method of claim 4, after obtaining the configuration command statement input by the user, further comprising:
sending a configuration command statement input by a user to a server;
after the configuration file of the system is updated according to the target configuration item and the target attribute value, the method further comprises the following steps:
exporting the updated configuration file, and sending the updated configuration file to a server.
7. The method of claim 1, further comprising:
acquiring a non-configuration command statement input by a user, and analyzing the non-configuration command statement to obtain a target instruction;
judging whether the user has the authority to execute the target instruction or not based on the target instruction and a preset blacklist;
and if so, executing the target instruction.
8. A configuration management device for use with an autopilot platform, comprising:
the command acquisition unit is used for acquiring a target configuration item and a target attribute value;
an entity obtaining unit, configured to obtain a configuration program and a configuration rule corresponding to the target configuration item, where the configuration program is a preset executable program for modifying the target configuration item;
a legality checking unit for judging whether the target attribute value is legal based on the configuration rule;
and the command execution unit is used for setting the attribute value of the target configuration item as the target attribute value by using the configuration program when the legality checking unit determines that the target configuration item is legal, and updating a configuration file of a system according to the target configuration item and the target attribute value, wherein the configuration file records the attribute value of each configuration item in each module.
9. A configuration management device for use with an autopilot platform, comprising: a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement the steps of the configuration management method applied to the automatic driving platform according to any one of claims 1 to 7.
10. A storage medium having stored thereon a computer program for implementing the steps of the configuration management method for an autonomous driving platform according to any of claims 1 to 7 when executed by a processor.
CN202210928300.0A 2022-08-03 2022-08-03 Configuration management method and device applied to automatic driving platform and related equipment Pending CN115297155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210928300.0A CN115297155A (en) 2022-08-03 2022-08-03 Configuration management method and device applied to automatic driving platform and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210928300.0A CN115297155A (en) 2022-08-03 2022-08-03 Configuration management method and device applied to automatic driving platform and related equipment

Publications (1)

Publication Number Publication Date
CN115297155A true CN115297155A (en) 2022-11-04

Family

ID=83826149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210928300.0A Pending CN115297155A (en) 2022-08-03 2022-08-03 Configuration management method and device applied to automatic driving platform and related equipment

Country Status (1)

Country Link
CN (1) CN115297155A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110099130A (en) * 2019-05-15 2019-08-06 腾讯科技(深圳)有限公司 Configure update method, device and server
CN111277432A (en) * 2020-01-10 2020-06-12 腾讯科技(深圳)有限公司 Configuration information updating method and device, electronic equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110099130A (en) * 2019-05-15 2019-08-06 腾讯科技(深圳)有限公司 Configure update method, device and server
CN111277432A (en) * 2020-01-10 2020-06-12 腾讯科技(深圳)有限公司 Configuration information updating method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11902313B2 (en) Dynamic hierarchical tagging system and method
EP3842948B1 (en) Method and apparatus for testing edge computing, device, and readable storage medium
CN111061817B (en) Adaptive business construction system, method and computer readable medium
US20150026167A1 (en) Discovering fields to filter data returned in response to a search
CN111666189B (en) Method and system for declaratively visually configuring Prometheus monitoring alarm
US7673031B1 (en) Resource mapping in a network environment
CN112564988A (en) Alarm processing method and device and electronic equipment
CN111225064A (en) Ceph cluster deployment method, system, device and computer-readable storage medium
US20140250125A1 (en) Identifying an incident-addressing step
CN107679107B (en) Graph database-based power grid equipment reachability query method and system
US7127675B1 (en) Method and system for automatically revising software help documentation
US20210103639A1 (en) Model-based systems engineering model conversion with text requirements
CN114089889A (en) Model training method, device and storage medium
CN115297155A (en) Configuration management method and device applied to automatic driving platform and related equipment
CN113535225B (en) Environment configuration file processing method, device, equipment and medium of application software
CN112099879B (en) Configuration information management method and device, computer equipment and storage medium
CN114816470A (en) Metadata database management method and device, electronic equipment and medium
EP3999917B1 (en) Method and system for generating a digital representation of asset information in a cloud computing environment
CN112000354A (en) Version information updating method, version information updating device, version information updating equipment and storage medium
US20240020741A1 (en) Catalog service replication
US11882124B1 (en) Account integration with an event-driven application programing interface call manager
US11468026B2 (en) Information processing apparatus, information processing method, and recording medium recording information processing program
US20240053718A1 (en) Background discovery agent orchestration
CN114610350A (en) Method and device for updating query system, electronic equipment and storage medium
WO2016025524A1 (en) Systems for managing datacenters

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