Configuration file processing method and device, nonvolatile storage medium and electronic equipment

By simplifying the base station parameter loading process and using different types of configuration files and loading modules, the problem of low base station parameter loading efficiency is solved, and efficient and reliable base station parameter configuration and maintenance are achieved.

CN118540216APending Publication Date: 2024-08-23CHINA TELECOM INTELLIGENT NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410546420.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The loading process of base station parameters in the existing technology is complicated, resulting in low loading efficiency and lack of effective solutions.

Method used

By obtaining the configuration file to be loaded and determining its type, it is divided into three configuration files: used to maintain local files, perform abortable external parameter import operations, and non-abortable external parameter import operations. The configuration files are loaded through different loading modules. , simplify processes and improve efficiency.

Benefits of technology

It improves the loading efficiency of base station parameters, reduces maintenance costs, improves the development efficiency and reliability of configuration files and systems, and is suitable for the standard specifications of each user.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540216A
    Figure CN118540216A
Patent Text Reader

Abstract

The invention discloses a configuration file processing method and device, a nonvolatile storage medium and electronic equipment. The method comprises the following steps: acquiring a to-be-loaded configuration file; determining the file type of the to-be-loaded configuration file; the first configuration file is sent to a first loading module of the base station, the first configuration file is loaded through the first loading module, the second configuration file is sent to a second loading module of the base station, the second configuration file is loaded through the second loading module, and the third configuration file is sent to a third loading module of the base station; and loading the third configuration file through a third loading module. According to the method and the device, the technical problem of relatively low loading efficiency of the base station parameters caused by relatively complex loading process of the base station parameters in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communications, and in particular to a configuration file processing method and device, a non-volatile storage medium, and an electronic device. Background Art

[0002] With the rapid development of 5G (5th Generation Mobile Communication Technology), the deployment of 5G base station equipment is also expanding, meeting people's higher requirements for the network in production and life. In order to meet the needs of more 5G network usage scenarios, such as office buildings, industrial parks, large supermarkets and other scenarios, many 5G base station R&D users at home and abroad are investing more and more in base station R&D. With the large-scale deployment of 5G base stations, local configuration of 5G base station parameters has become a very important task for both R&D manufacturers and customers. During the maintenance of base stations, it is often necessary to configure the base station parameters locally. However, the loading process of base station parameters in related technologies is relatively complicated, which leads to low loading efficiency of base station parameters.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present application provide a configuration file processing method and device, a non-volatile storage medium, and an electronic device to at least solve the technical problem of low efficiency in loading base station parameters due to the complex loading process of base station parameters in related technologies.

[0005] According to one aspect of an embodiment of the present application, a configuration file processing method is provided, including: obtaining a configuration file to be loaded; determining a file type of the configuration file to be loaded, wherein the file type includes: a first configuration file, a second configuration file and a third configuration file, wherein the first configuration file is used to maintain a local file, and the content of the first configuration file includes: a first comment line, a first blank line, a command line for maintaining a local file, a first device type line, and an abnormal termination line; the second configuration file is used to perform a first import operation of an external parameter, and the first import operation of the external parameter is an abortable operation, and the content of the second configuration file includes: a second comment line, a second blank line, a parameter import file command line, and a second device type line; the third configuration file is used to perform a second import operation of an external parameter, and the second import operation of the external parameter is an un-abortable operation; sending the first configuration file to a first loading module of a base station, loading the first configuration file through the first loading module, sending the second configuration file to a second loading module of the base station, loading the second configuration file through the second loading module, sending the third configuration file to a third loading module of the base station, and loading the third configuration file through the third loading module.

[0006] Optionally, loading the first configuration file through the first loading module includes: obtaining a first numerical value corresponding to the device type of the device to be configured and a second numerical value corresponding to the product type; if the first numerical value and the second numerical value are equal to the value in any first device type row in the first configuration file, determining that the first configuration file is valid; if it is determined that the first configuration file is valid, executing the maintenance local file command lines one by one; after executing all the maintenance local file command lines, determining whether there are any maintenance local file command lines that fail to execute, and if there are no maintenance local file command lines that fail to execute, determining that the first configuration file is loaded successfully.

[0007] Optionally, when it is determined that the first configuration file is valid, after executing the maintenance local file command lines one by one, the method also includes: if an exception occurs in the overload of executing the maintenance local file command line, determining whether to terminate loading of the first configuration file according to the value corresponding to the abnormal termination line.

[0008] Optionally, loading the second configuration file through the second loading module includes: obtaining a first numerical value corresponding to the device type of the device to be configured and a second numerical value corresponding to the product type; if the first numerical value and the second numerical value are equal to the value in any second device type row in the second configuration file, determining that the second configuration file is valid; if it is determined that the second configuration file is valid, verifying the legality and validity of each parameter in the second configuration file, and if each parameter fails to pass the legality and validity verification, determining that the loading of the second configuration file has failed; if each parameter passes the legality and validity verification, executing the parameter import file command line one by one; after executing all the parameter import file command lines, determining whether there is a parameter import file command line that failed to execute, and if there is no parameter import file command line that failed to execute, determining that the loading of the second configuration file is successful.

[0009] Optionally, when the parameters of the device to be configured pass the legality and validity verification, after executing the parameter import file command lines one by one, the method also includes: if an exception occurs during the execution of the parameter import file command line, stopping the execution of the parameter import file command line, and restoring the parameters of the device to be configured to the state before executing the parameter import file command line.

[0010] Optionally, loading a third configuration file through a third loading module includes: obtaining a first value corresponding to the device type of the device to be configured and a second value corresponding to the product type; if the first value and the second value are equal to the value in any third device type row in the third configuration file, determining that the third configuration file is valid; when determining that the third configuration file is valid, traversing each parameter in the third configuration file, verifying the legality and validity of each parameter, and performing a second import operation of external parameters, and recording failure information when each parameter fails to pass the legality and validity check and the second import operation of external parameters fails; after traversing each parameter, querying whether there is failure information, and when there is failure information, determining that the loading of the third configuration file has failed, and when there is no failure information, determining that the loading of the third configuration file has been successful.

[0011] Optionally, the content of the third configuration file includes: a structure list node, an object node, a structure node, and a data element node, wherein the structure list node includes multiple structure instances of the same type, the object node is used to store device verification information, the structure node is used to characterize parameter structure instances, and the data element node is used to characterize device types and product types.

[0012] According to another aspect of the embodiment of the present application, a configuration file processing device is also provided, including: an acquisition module, used to acquire a configuration file to be loaded; a determination module, used to determine the file type of the configuration file to be loaded, wherein the file type includes: a first configuration file, a second configuration file and a third configuration file, wherein the first configuration file is used to maintain local files, and the content of the first configuration file includes: a first comment line, a first blank line, a command line for maintaining local files, a first device type line, and an abnormal termination line; the second configuration file is used to perform a first import operation of external parameters, and the first import operation of external parameters is an abortable operation, and the content of the second configuration file includes: a second comment line, a second blank line, a parameter import file command line, and a second device type line; the third configuration file is used to perform a second import operation of external parameters, and the second import operation of external parameters is an un-abortable operation; a loading module, used to send the first configuration file to a first loading module of a base station, load the first configuration file through the first loading module, send the second configuration file to a second loading module of the base station, load the second configuration file through the second loading module, send the third configuration file to a third loading module of the base station, and load the third configuration file through the third loading module.

[0013] According to another aspect of the embodiments of the present application, a non-volatile storage medium is provided, the storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the above configuration file processing method.

[0014] According to another aspect of the embodiments of the present application, an electronic device is provided, including: a memory and a processor, the processor being configured to run a program stored in the memory, wherein the above configuration file processing method is executed when the program is run.

[0015] According to yet another aspect of the embodiments of the present application, a computer program is further provided, wherein when the computer program is executed by a processor, the above configuration file processing method is implemented.

[0016] According to another aspect of the embodiments of the present application, a computer program product is further provided, the computer program product comprising a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above configuration file processing method is implemented.

[0017] In an embodiment of the present application, a configuration file to be loaded is obtained; a file type of the configuration file to be loaded is determined, wherein the file type includes: a first configuration file, a second configuration file and a third configuration file, wherein the first configuration file is used to maintain a local file, and the content of the first configuration file includes: a first comment line, a first blank line, a command line for maintaining a local file, a first device type line, and an abnormal termination line; the second configuration file is used to perform a first external parameter import operation, and the first external parameter import operation is an abortable operation, and the content of the second configuration file includes: a second comment line, a second blank line, a parameter import file command line, and a second device type line; the third configuration file is used to perform a second external parameter import operation, and the second external parameter import operation is an un-abortable operation; the first configuration file is sent to a first loading module of a base station, the first configuration file is loaded by the first loading module, the second configuration file is sent to a second loading module of the base station, the second configuration file is loaded by the second loading module, the third configuration file is sent to a third loading module of the base station, and the third configuration file is loaded by the third loading module, thereby achieving the purpose of simplifying the loading process of base station parameters, thereby achieving the technical effect of improving the loading efficiency of base station parameters, and thus solving the technical problem of low loading efficiency of base station parameters caused by the complex loading process of base station parameters in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0019] Figure 1 is a flowchart of a configuration file processing method according to an embodiment of the present application;

[0020] Figure 2is a flowchart of another configuration file processing method according to an embodiment of the present application;

[0021] Figure 3 is a flow chart of loading a first configuration file according to an embodiment of the present application;

[0022] Figure 4 is a flow chart of loading a second configuration file according to an embodiment of the present application;

[0023] Figure 5 is a flow chart of loading a third configuration file according to an embodiment of the present application;

[0024] Figure 6 is a structural diagram of a configuration file processing device according to an embodiment of the present application;

[0025] Figure 7 The present invention is a hardware structure block diagram of a computer terminal according to a configuration file processing method of an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0028] During base station maintenance, it is often necessary to configure base station parameters locally. Currently, there are two traditional methods in the industry for local configuration of base station parameters. One is to complete the configuration one by one on the local configuration client, such as the local network, operation and maintenance tool (Operation Maintenance Tool, OMT), etc.; the other is to log in to the serial port or use a tool based on the Secure Shell (Secure Shell, SSH) protocol to modify or replace the data storage file.

[0029] The above two traditional methods can be well implemented for the configuration of a small number of parameters. However, for the configuration of batch parameters, such as batch import of parameters, it takes a lot of time and is extremely inefficient. Especially for the latter, it is easy to make mistakes when manually modifying the data storage file, and the reliability is very poor. In addition, for parameters that can only take effect after restarting after modification, the traditional methods require maintenance personnel to manually restart the device after modification, which increases the complexity of local parameter configuration and takes a lot of configuration time, and also brings the problem of low configuration efficiency. Therefore, the traditional local configuration method of base station parameters will greatly reduce the local maintenance efficiency of base station parameters and increase maintenance costs. In addition to the traditional configuration method, some users in the industry have adopted the method of loadable configuration files. However, there is no standardized, unified, simple, efficient, reliable and applicable method for local configuration files and systems of base station parameters in the industry. The configuration files and systems designed by each user are limited to the user's own use and cannot be used as industry specifications. This leads to each user having no good standard specifications to refer to when designing, and needs to redesign their own configuration file format and system, which is easy to lead to problems such as low development efficiency, high cost and poor reliability.

[0030] In summary, no effective solution has been proposed in terms of local configuration of base station parameters and system development. In order to solve the above problems, the embodiments of the present application provide relevant solutions, which are described in detail below.

[0031] According to an embodiment of the present application, a method embodiment of a configuration file processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0032] Figure 1 is a flowchart of a configuration file processing method according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:

[0033] Step S102, obtaining the configuration file to be loaded.

[0034] The above-mentioned configuration files to be loaded include: base station local configuration files to be loaded, wherein the base station local configuration files to be loaded refer to the base station equipment that needs to be initialized and loaded with parameters according to specific configuration files. These configuration files usually contain information such as the network connection settings, signal adjustment parameters, and security settings of the base station. The base station equipment will load these configuration files at startup in order to correctly configure its own working mode and parameters so that it can access and work in the network normally. These configuration files can be customized and adjusted according to the specific model and network environment of the base station to meet different network requirements and operator needs.

[0035] It should be noted that the configuration file to be loaded obtained in step S102 mainly realizes the two functions of "modification" and "import" of base station parameters, wherein the object of "modification" is an instance of a structure parameter. If this parameter is a single instance, it can be understood that the structure parameter and the structure instance are equivalent. The object of "import" is a structure parameter. If this parameter is multiple instances, all instances of the parameter in the script are replaced with all instances of the parameter in the database.

[0036] Step S104, determining the file type of the configuration file to be loaded, wherein the file type includes: a first configuration file, a second configuration file and a third configuration file, wherein the first configuration file is used to maintain local files, and the content of the first configuration file includes: a first comment line, a first blank line, a command line for maintaining local files, a first device type line, and an abnormal termination line; the second configuration file is used to perform a first external parameter import operation, and the first external parameter import operation is an abortable operation, and the content of the second configuration file includes: a second comment line, a second blank line, a parameter import file command line, and a second device type line; the third configuration file is used to perform a second external parameter import operation, and the second external parameter import operation is a non-abortable operation.

[0037] The file type identifier of the first configuration file may be '.lm', which means a local maintenance file, which is used to execute data configuration function commands, such as setting (set), adding (add), deleting (delete), etc., and also supports commands related to non-parameter operations, such as restart commands, factory restore commands, etc.

[0038] The lm configuration file is used to execute lm commands in batches. Users can expand the definition according to their needs to achieve the purpose of "modifying" parameters. It also supports commands related to non-parameter operations, such as restart commands, factory restore commands, etc. The same lm command in the configuration file has the same execution effect whether it is executed with the help of the lm configuration file or with the help of the operator network. Preferably, the first configuration file has a suffix of .lm, and the file name can be defined by the user, where the lm in the suffix is ​​all lowercase English letters.

[0039] During the execution of the configuration file, in addition to verifying the validity of the configuration file, the system can also flexibly set whether to exit abnormally if a single command fails to execute, thereby improving the reliability of parameter configuration. The format requirements are as follows:

[0040] 1. The file content consists of multiple lines;

[0041] 2. Each line can only contain comment lines, blank lines, lm command lines, DeviceClass lines, and Abend lines. For relevant format requirements and instructions, see Table 1.

[0042] 3. Each line ends with \n or \r\n. Except for the end character, other content of each line cannot contain \n or \r\n.

[0043] 4. The first-level command word in the lm command in the script cannot be DeviceClass or Abend.

[0044]

[0045]

[0046] Table 1

[0047] The following is a sample lm configuration file format written according to Table 1 and the above requirements:

[0048] #lm configuration file format example

[0049] DeviceClass="xxxxxxxx",ProductClass="xxxxxxxx"

[0050] DeviceClass="xxxxxxxx",ProductClass="xxxxxxxx"

[0051] Abend=0

[0052] set DeviceLogLevel:LogLevel="critical";

[0053] Abend=1

[0054] set ClockSyn:ClockSynMode="1588".

[0055] The file type identifier of the second configuration file may be '.pi', which means a parameters import file.

[0056] The configuration file in pi format is designed to realize the batch "import" function of parameters, and is limited to batch "import" parameters in data storage files, and at least supports basic configuration commands such as setting (set), adding (add), deleting (delete), setting adding (setAdd), etc. Users can expand and define them according to their needs. Preferably, the suffix of the second configuration file is .pi, and the file name can be defined by oneself, where the pi in the suffix is ​​all lowercase English letters.

[0057] During the execution of this configuration file, in addition to verifying the validity of the configuration file, the legality and validity of the parameters must also be verified. When the batch import is abnormal, the import is terminated and the data is rolled back, which can greatly improve the configuration efficiency and reliability of parameter batch configuration. The pi configuration file is suitable for external batch import parameters. When there is an exception in the middle, the previously imported parameters need to be revoked and a failure is returned. The format requirements are as follows:

[0058] 1. The file content consists of multiple lines;

[0059] 2. Each line can only contain comment lines, blank lines, pi command lines, and DeviceClass lines. For relevant format requirements and instructions, see Table 2;

[0060] 3. Each line ends with \n or \r\n. Except for the end character, other content of each line cannot contain \n or \r\n.

[0061] 4. The first-level command word in the pi command in the configuration file cannot be DeviceClass.

[0062]

[0063] Table 2

[0064] The following is a sample format of the pi configuration file written in accordance with Table 2 and the above requirements:

[0065] #pi configuration file format example

[0066] ModelName="ModelName_Error",ProductClass="ProductClass_Error"

[0067] setAdd_S_Single:Member_1='C",Member_2=0,Member_3=1.Member_4=2;

[0068] setAddS_SingleTemp:Member_1='C",Member_2=0,Member_3=1,Member_4=2;

[0069] delete_S_Multi:Member_1="Key_1”;

[0070] delete_S_Multi:Member_1="Key_2”;

[0071] delete_S_Multi:Member_1="Key_3”;

[0072] add_S_Multi:Member_1="Key_1",Member_2=0,Member_3=1,Member_4=2,Member_5="M1';

[0073] add_S_Multi:Member_1="Key_2",Member_2=2,Member_3=2,Member_4=3,Member_5="M2";

[0074] add_S_Multi:Member_1="Key_3",Member_2=4,Member_3=3,Member_4=4,Member_5="M3";

[0075] setAdd_S_Multi:Member_1="Key_4",Member_2=0,Member_3=1,Member_4=2,Member_5="M4”;

[0076] setAddS_Multi:Member_1="Key_5",Member_2=2,Member_3=2,Member_4=3,Member_5="M5";

[0077] setAdd_s_Multi:Member_1="Key_6",Member_2=4,Member_3=3,Member_4=4,Member_5="M6";

[0078] add_S_MultiTemp:Member_1="Key_4",Member_2=0,Member_3=1,Member_4=-2.,Member_5="M4";

[0079] .add_S_MultiTemp:Member_1="Key_5",Member_2=2,Member_3=2,Member_4=3,Member_5="M5";

[0080] add_S_MultiTemp:Member_1="Key_6",Member_2=4,Member_3=3,Member_4=4,Member_5="M6".

[0081] Preferably, the content of the third configuration file includes: a structure list node, an object node, a structure node, and a data element node, wherein the structure list node includes multiple structure instances of the same type, the object node is used to store device verification information, the structure node is used to characterize the parameter structure instance, and the data element node is used to characterize the device type and product type.

[0082] The file type identifier of the third configuration file can be '.xml', which means eXtensible Markup Language file. It is worth noting that the xml configuration file is a batch "import" data storage file parameter. The difference from the pi configuration file is that the same or the same batch of parameters are stored in different configuration files, similar to the difference between storing a paragraph of text in word or excel.

[0083] The xml configuration file is designed using the xml markup language. Like the pi configuration file, it is used to implement the batch "import" function of parameters. The difference between the two is that when importing, xml imports parameters as much as possible. It is suitable for importing parameters of the old version to the new version, or when the software version is rolled back, the current version is exported, switched to the backup version and then the parameters are imported as much as possible. That is, there will be no rollback if there is an exception in the middle. The pi configuration file is suitable for external batch import of parameters. When there is an exception in the middle, the previously imported parameters need to be revoked and a failure is returned.

[0084] Preferably, the third configuration file has a suffix of .xml, and the file name can be defined by oneself, wherein the xml in the suffix is ​​composed of all lowercase English letters.

[0085] The format design example is as follows:

[0086] <:?xml version="1.0"encoding="utf-8standalone=yes?>

[0087] <StructList ImportMode="config>

[0088] <object name="compatiblemodulelist">

[0089] <Element DeviceClass="xxxxxx"ProductClass="xxxxxx" / >

[0090] < / object>

[0091] <Struct ID="22304"Name="AMC / >

[0092] <StructID="75301"Name="Antenna / >

[0093] <StructID="75352"Name="ANRAlgorithm" / >

[0094] <ElementID="60011001"Name="AlarmHandleEnable"Value="1' / >

[0095]

[0096] <Struct ID="60009"Name="AutonomousTransferCompletePolicy>

[0097] <Element ID="60009001"Name="Enable"Value="1' / >

[0098] <Element ID="60009002"Name="TransferTypefilter"Value="Both(Uploadand Download)" / >

[0099] <Element ID="60009003"Name="ResultTypefilter"Value="Both(Successand Failure)" / >

[0100] <ElementID="60009004"Name="FileTypefilter"Value="Vendor Log file” / >

[0101] <StructID='60032"Name="LmtUserMgmt">

[0102] <Element ID="60032001"Name="LmtUserID"Value="102 / >

[0103] <Element ID='60032002"Name="Username"Value="Test2 / >

[0104] <Element ID="60032003"Name="Password"Value="Test2" / >

[0105] <Element ID="60032004"Name="ValidTime"Value=" / >

[0106]

[0107] <Struct ID="60032"Name="LmtUserMgmt">

[0108] <Element ID="60032001"Name="LmtUserID"Value="103 / >

[0109] <Element ID="60032002"Name="Username"Value="Test3 / >

[0110] <ElementID="60032003"Name="Password"Value="b3f66ec1535de7702c38e94408fa4a17" / >

[0111] <Element ID='60032004"Name="ValidTime"Value="2016-03-11" / >

[0112]

[0113]

[0114] The explanations for the above nodes are as follows: StructList node: the root node of the xml configuration file, has an import mode attribute importMode, whose value is generally set to "config", indicating that all parameters under the root node need to be imported and configured.

[0115] Object node: Its Name attribute value is "CompatibleModuleList", which indicates a node storing device verification information. It is used to verify the validity of the XML configuration file. It has at least one Element member, which stores device information such as device type and product type.

[0116] Struct node: parameter structure instance node, with two attributes "ID" and "Name". The ID value is the unique identifier of the parameter structure, and the Name value is only for the convenience of user modification, and has no other function. Each Struct node represents a parameter structure instance. If a single-instance structure parameter needs to be imported, there can only be one corresponding parameter structure instance node. If it does not need to be imported, it does not need to be written into the xml configuration file, and the corresponding single-instance structure parameter in the database will not be changed; if a multi-instance structure parameter needs to be imported, there must be at least one corresponding multi-instance parameter structure instance node. If a multi-instance parameter needs to import an empty instance, the Struct node needs to be retained, and the number of Element members under the Struct node should be 0.

[0117] Element node: parameter member node, exists under Object node and Struct node. The Element node under Object node represents the device information node, has "DeviceClass" and "ProductClass" attributes, indicating the device type and product type information; the Element node under Struct node represents the parameter configuration information node, has "ID", "Name" and "Value" attributes, where the ID value is the unique identifier of the parameter member, the Name value is only for the convenience of user modification and has no other function, and the Value value represents the parameter value to be imported.

[0118] Preferably, in step S104, the file type of the configuration file to be loaded may be determined by a file type identifier of the configuration file.

[0119] Step S106, sending the first configuration file to the first loading module of the base station, loading the first configuration file through the first loading module, sending the second configuration file to the second loading module of the base station, loading the second configuration file through the second loading module, sending the third configuration file to the third loading module of the base station, loading the third configuration file through the third loading module.

[0120] For example, the first loading module is an lm configuration file loading module, the second loading module is a pi configuration file loading module, and the third loading module is an xml configuration file loading module.

[0121] Figure 2is a flowchart of another configuration file processing method according to an embodiment of the present application. Figure 2 As shown in the figure, the configuration file loading starts. First, the file type is determined according to the suffix name, and then it is assigned to the corresponding module for loading. During the configuration file loading process, the user can decide whether to perform validity and legality verification on the configuration parameter values ​​according to actual needs, and whether to ignore non-existent parameter names or member names. Among them, the parameter value validity and legality verification can be completed by the base station data management unit, such as Figure 2 As shown in , the configuration file loading system sends parameter information (including parameter ID, parameter value, etc.) to the data management unit. After verification, the data management unit returns the verification result to the configuration file loading module. According to the verification return result, it is determined whether the parameter value is valid and legal. If the parameter value is invalid or the parameter does not exist, the parameter configuration is deemed abnormal.

[0122] According to some optional embodiments of the present application, loading the first configuration file through the first loading module can be achieved through the following method: obtaining a first numerical value corresponding to the device type of the device to be configured and a second numerical value corresponding to the product type; if the first numerical value and the second numerical value are equal to the values ​​in any first device type row in the first configuration file, determining that the first configuration file is valid; when determining that the first configuration file is valid, executing the maintenance local file command lines one by one; after executing all the maintenance local file command lines, determining whether there are any maintenance local file command lines that failed to execute, and when there are no maintenance local file command lines that failed to execute, determining that the first configuration file is loaded successfully.

[0123] Furthermore, when it is determined that the first configuration file is valid, after executing the maintenance local file command lines one by one, the following steps need to be performed: if an exception occurs in the overload of executing the maintenance local file command line, determine whether to terminate loading the first configuration file based on the value corresponding to the abnormal termination line.

[0124] Figure 3 is a flow chart of loading a first configuration file according to an embodiment of the present application, such as Figure 3As shown, during the lm configuration file loading process, the validity of the lm configuration file needs to be verified first, wherein the validity verification is completed through the values ​​of DeviceClass (device type) and ProductClass (product type). As long as the DeviceClass and ProductClass values ​​of the current device are equal to the values ​​in any DeviceClass line in the lm configuration file, the lm configuration file is considered valid. Continue to execute the lm commands one by one, otherwise it is considered invalid and the lm configuration file execution is terminated. During the execution of each lm command, if an exception occurs, indicating that the command execution failed, then determine whether to terminate the lm configuration file execution based on the Abend value corresponding to the command. The Abend value is 0, indicating that the execution continues, and the Abend value is 1, indicating that the execution exits. After all lm commands are executed, determine whether there is an lm command execution failure. If there is, it means that the lm configuration file execution failed. Only when all lm commands are executed successfully, the lm configuration file execution is considered successful.

[0125] In some optional embodiments of the present application, loading the second configuration file through the second loading module can be achieved through the following method: obtaining a first numerical value corresponding to the device type of the device to be configured and a second numerical value corresponding to the product type; if the first numerical value and the second numerical value are equal to the values ​​in any second device type row in the second configuration file, determining that the second configuration file is valid; when it is determined that the second configuration file is valid, verifying the legality and validity of each parameter in the second configuration file, and when each parameter fails to pass the legality and validity verification, determining that the loading of the second configuration file has failed; when each parameter passes the legality and validity verification, executing the parameter import file command lines one by one; after executing all the parameter import file command lines, determining whether there are any parameter import file command lines that failed to execute, and when there are no parameter import file command lines that failed to execute, determining that the loading of the second configuration file is successful.

[0126] Furthermore, when the parameters of the device to be configured pass the legality and validity verification, after executing the parameter import file command lines one by one, the following steps need to be performed: if an exception occurs during the execution of the parameter import file command line, stop executing the parameter import file command line, and restore the parameters of the device to be configured to the state before executing the parameter import file command line.

[0127] Figure 4 is a flow chart of loading a second configuration file according to an embodiment of the present application, such as Figure 4As shown in the figure, during the loading process of the PI configuration file, the validity of the configuration file is first verified. The verification method is the same as that of the LM configuration file. Unlike the LM configuration file, after the validity verification is passed, before the parameters are imported in batches, the legality and validity of the parameters need to be verified. If there are parameters that fail to pass the validity and legality verification, the execution of the PI configuration file is terminated and the parameter import fails. After the parameter legality and validity verification is passed, the batch import of parameters begins. During the import process, if there is a parameter import failure, the import is stopped, and the data is rolled back to the state before the parameter import, and the parameter import fails. It can be understood that this is different from the flexible configuration of the LM configuration file. Only when all parameters are imported successfully, the PI configuration file is considered to be executed successfully.

[0128] In some optional embodiments of the present application, loading the third configuration file through the third loading module can be achieved through the following method: obtaining a first value corresponding to the device type of the device to be configured and a second value corresponding to the product type; if the first value and the second value are equal to the value in any third device type row in the third configuration file, determining that the third configuration file is valid; when determining that the third configuration file is valid, traversing each parameter in the third configuration file, verifying the legality and validity of each parameter, and performing a second import operation of external parameters, and recording failure information when each parameter fails to pass the legality and validity check and the second import operation of external parameters fails; after traversing each parameter, querying whether there is failure information, and when there is failure information, determining that the loading of the third configuration file has failed, and when there is no failure information, determining that the loading of the third configuration file has been successful.

[0129] Figure 5 is a flow chart of loading a third configuration file according to an embodiment of the present application, such as Figure 5 As shown, during the loading process of the XML configuration file, the validity of the configuration file is first verified. If the verification fails, the loading will be exited immediately, and the loading of the XML configuration file will fail. Before importing the parameters, the legality and validity of the parameters need to be verified. The verification method is the same as that of the PI configuration file. The difference from the loading of the PI configuration file is that if there is a parameter verification or import failure, it will not exit, but will record the failure information and then enter the traversal of the next parameter. After all the parameters in the XML configuration file have been traversed, the XML configuration file loading module will uniformly query whether there is a failure record information. If not, it is considered that the XML configuration file has been loaded successfully, otherwise it is considered that the XML configuration file has failed to load.

[0130] The above steps are not only simple, efficient and standardized, but also highly efficient and reliable in configuration. They can also improve the efficiency of local maintenance of base station parameters, reduce maintenance costs, and improve the efficiency of configuration files and system development. The above embodiments implement the local configuration function of base station parameters by adopting a loadable configuration file, focusing on the design of the formats of different configuration files such as "import" and "modify" of local base station parameters, and designing a base station parameter local configuration file execution software system based on this method, which is significant in that: 1. The efficiency and reliability of local batch configuration of base station parameters are improved, the efficiency of local maintenance of base station parameters is enhanced, and the maintenance cost is reduced. The traditional local configuration method of base station parameters can complete the task well for the configuration of a small amount of data, but when a large amount of data needs to be configured locally, the traditional method has the problems of time-consuming, labor-intensive, and poor reliability. The local configuration file design method and system for base station parameters proposed in this embodiment are implemented by referencing the configuration file. The configuration file format is simple in design, easy to implement, and efficient in execution. When a large amount of data needs to be configured, a lot of time can be saved, and when the configuration is abnormal, it will exit in time or prompt data rollback, which is not only efficient in configuration, but also reliable. At the same time, the present embodiment is simple in design and easy to understand. Maintenance personnel can easily use it to configure base station parameters, saving time and effort. Compared with traditional methods, it can greatly enhance the efficiency of local maintenance of base station parameters and reduce maintenance costs. 2. Improve the development efficiency of local configuration files and systems for base station parameters, reduce development costs, and improve the reliability of configuration files and systems. At present, the configuration files and systems designed by various users in the industry are limited to their own internal use and cannot be used as industry specifications. Other users do not have good standard specifications to refer to, and need to spend manpower, material resources, and financial resources to redesign, resulting in low development efficiency and high cost. The local configuration file design method and system for base station parameters proposed in this embodiment have the characteristics of unified specifications, simple and efficient, high reliability and applicability to various users. It can be used as a standard specification for the development of local configuration files and systems for base station parameters for various users in the industry, solving the problems of low development efficiency, high cost, and poor reliability of local configuration files and systems for base station parameters in the industry. 3. Improve the reliability of base station operation. For batch parameter configuration, the traditional method of manually configuring data storage files is prone to parameter configuration errors, resulting in major faults such as errors or even paralysis of base station equipment operation, greatly reducing the reliability of base station operation, and bringing poor user experience. The method and system for designing a local configuration file for base station parameters proposed in this embodiment can flexibly set whether to automatically stop configuration or perform data rollback when a configuration error occurs, whether in the configuration of a small amount of data or in the configuration of batch data, thereby greatly reducing the base station failure rate during parameter configuration and improving the reliability of base station operation. 4. Research and development of the design and system for standardization and standardization of local configuration files for base station parameters.The method and system for designing a local configuration file for base station parameters proposed in this embodiment are applicable to the design of configuration files for base station parameters and the development of the system for all base station users, and can gradually develop into a specification for the development of local configuration files for base station parameters and the system for each user. By adopting a unified design method and system, it is easy to formulate specifications for the development of local configuration files for base station parameters and the system. The formation of specifications can weaken the influence of individuals and ensure that when the core personnel of the project leave, someone will step up to replace him and continue to complete the task. The greatest effect brought by standardization is not only the rapid improvement of the design of local configuration files for base station parameters and the efficiency of the system, but also the substantial improvement of the quality of base station products.

[0131] According to the above steps, the configuration file to be loaded is obtained; the file type of the configuration file to be loaded is determined, wherein the file type includes: a first configuration file, a second configuration file and a third configuration file, wherein the first configuration file is used to maintain local files, and the content of the first configuration file includes: a first comment line, a first blank line, a command line for maintaining local files, a first device type line, and an abnormal termination line; the second configuration file is used to perform a first import operation of external parameters, and the first import operation of external parameters is an abortable operation, and the content of the second configuration file includes: a second comment line, a second blank line, a parameter import file command line, and a second device type line; the third configuration file is used to perform a second import operation of external parameters, and the second import operation of external parameters is an un-abortable operation; the first configuration file is sent to a first loading module of a base station, the first configuration file is loaded by the first loading module, the second configuration file is sent to a second loading module of the base station, the second configuration file is loaded by the second loading module, the third configuration file is sent to a third loading module of the base station, and the third configuration file is loaded by the third loading module, thereby achieving the purpose of simplifying the loading process of base station parameters, thereby achieving the technical effect of improving the loading efficiency of base station parameters.

[0132] Figure 6 is a structural diagram of a configuration file processing device according to an embodiment of the present application, such as Figure 6 As shown, the device comprises:

[0133] The acquisition module 60 is used to acquire the configuration file to be loaded.

[0134] Determination module 62 is used to determine the file type of the configuration file to be loaded, wherein the file type includes: a first configuration file, a second configuration file and a third configuration file, wherein the first configuration file is used to maintain local files, and the content of the first configuration file includes: a first comment line, a first blank line, a command line for maintaining local files, a first device type line, and an abnormal termination line; the second configuration file is used to perform a first import operation of external parameters, and the first import operation of external parameters is an abortable operation, and the content of the second configuration file includes: a second comment line, a second blank line, a parameter import file command line, and a second device type line; the third configuration file is used to perform a second import operation of external parameters, and the second import operation of external parameters is an un-abortable operation.

[0135] The loading module 64 is used to send the first configuration file to the first loading module of the base station, load the first configuration file through the first loading module, send the second configuration file to the second loading module of the base station, load the second configuration file through the second loading module, send the third configuration file to the third loading module of the base station, and load the third configuration file through the third loading module.

[0136] Optionally, the configuration file processing device is also used to perform the following steps: obtain a first numerical value corresponding to the device type of the device to be configured and a second numerical value corresponding to the product type; if the first numerical value and the second numerical value are equal to the value in any first device type row in the first configuration file, determine that the first configuration file is valid; if it is determined that the first configuration file is valid, execute the maintenance local file command lines one by one; after executing all the maintenance local file command lines, determine whether there are any maintenance local file command lines that failed to execute, and if there are no maintenance local file command lines that failed to execute, determine that the first configuration file is loaded successfully.

[0137] Optionally, the configuration file processing device is also used to perform the following steps: when it is determined that the first configuration file is valid, after executing the maintenance local file command lines one by one, if an exception occurs in the overload of executing the maintenance local file command lines, determine whether to terminate loading the first configuration file based on the value corresponding to the abnormal termination line.

[0138] Optionally, the configuration file processing device is also used to perform the following steps: obtain a first numerical value corresponding to the device type of the device to be configured and a second numerical value corresponding to the product type; if the first numerical value and the second numerical value are equal to the value in any second device type row in the second configuration file, determine that the second configuration file is valid; if it is determined that the second configuration file is valid, verify the legality and validity of each parameter in the second configuration file, and if each parameter fails to pass the legality and validity verification, determine that the loading of the second configuration file has failed; if each parameter passes the legality and validity verification, execute the parameter import file command line one by one; after executing all the parameter import file command lines, determine whether there is a parameter import file command line that failed to execute, and if there is no parameter import file command line that failed to execute, determine that the loading of the second configuration file is successful.

[0139] Optionally, the configuration file processing device is also used to perform the following steps: after executing the parameter import file command lines one by one when the parameters of the device to be configured pass the legality and validity verification, if an exception occurs during the execution of the parameter import file command lines, stop executing the parameter import file command lines, and restore the parameters of the device to be configured to the state before executing the parameter import file command lines.

[0140] Optionally, the configuration file processing device is also used to perform the following steps: obtain a first value corresponding to the device type of the device to be configured and a second value corresponding to the product type; if the first value and the second value are equal to the value in any third device type row in the third configuration file, determine that the third configuration file is valid; when it is determined that the third configuration file is valid, traverse each parameter in the third configuration file, verify the legality and validity of each parameter, and perform a second import operation of external parameters, and record failure information when each parameter fails to pass the legality and validity check and the second import operation of external parameters fails; after traversing each parameter, query whether there is failure information, and when there is failure information, determine that the loading of the third configuration file has failed, and when there is no failure information, determine that the loading of the third configuration file has been successful.

[0141] Optionally, the content of the third configuration file includes: a structure list node, an object node, a structure node, and a data element node, wherein the structure list node includes multiple structure instances of the same type, the object node is used to store device verification information, the structure node is used to characterize parameter structure instances, and the data element node is used to characterize device types and product types.

[0142] It should be noted that the above Figure 6The modules in the embodiment may be program modules (e.g., a set of program instructions for implementing a specific function) or hardware modules. For the latter, they may be expressed in the following forms, but are not limited thereto: the expression form of the above modules is a processor, or the functions of the above modules are implemented by a processor.

[0143] It should be noted that Figure 6 The preferred implementation of the illustrated embodiment can be found in Figure 1 The relevant description of the illustrated embodiment will not be repeated here.

[0144] Figure 7 FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing a configuration file processing method. Figure 7 As shown, the computer terminal 70 may include one or more (shown as 702a, 702b, ..., 702n in the figure) processors 702 (the processor 702 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 704 for storing data, and a transmission module 706 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 7 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 7 More or fewer components as shown, or with Figure 7 Different configurations shown.

[0145] It should be noted that the one or more processors 702 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 70. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0146] The memory 704 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the configuration file processing method in the embodiment of the present application. The processor 702 executes various functional applications and data processing by running the software programs and modules stored in the memory 704, that is, the above-mentioned configuration file processing method is realized. The memory 704 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 704 may further include a memory remotely arranged relative to the processor 702, and these remote memories may be connected to the computer terminal 70 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0147] The transmission module 706 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 70. In one example, the transmission module 706 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 706 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0148] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 70 .

[0149] It should be noted that, in some optional embodiments, the above Figure 7 The computer terminal shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 7 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the computer terminal described above.

[0150] It should be noted that Figure 7 The computer terminal shown is used to execute Figure 1 The configuration file processing method shown in the figure, therefore the relevant explanations in the execution method of the above command are also applicable to the electronic device and will not be repeated here.

[0151] The embodiment of the present application further provides a non-volatile storage medium, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above configuration file processing method.

[0152] A program for a non-volatile storage medium to perform the following functions: obtaining a configuration file to be loaded; determining a file type of the configuration file to be loaded, wherein the file type includes: a first configuration file, a second configuration file, and a third configuration file, wherein the first configuration file is used to maintain a local file, and the content of the first configuration file includes: a first comment line, a first blank line, a command line for maintaining a local file, a first device type line, and an abnormal termination line; the second configuration file is used to perform a first external parameter import operation, and the first external parameter import operation is an abortable operation, and the content of the second configuration file includes: a second comment line, a second blank line, a parameter import file command line, and a second device type line; the third configuration file is used to perform a second external parameter import operation, and the second external parameter import operation is an un-abortable operation; sending the first configuration file to a first loading module of a base station, and loading the first configuration file through the first loading module, sending the second configuration file to a second loading module of the base station, and loading the second configuration file through the second loading module, sending the third configuration file to a third loading module of the base station, and loading the third configuration file through the third loading module.

[0153] An embodiment of the present application further provides an electronic device, including: a memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the above configuration file processing method is executed when the program is running.

[0154] The processor is used to run a program that performs the following functions: obtain a configuration file to be loaded; determine the file type of the configuration file to be loaded, wherein the file type includes: a first configuration file, a second configuration file and a third configuration file, wherein the first configuration file is used to maintain a local file, and the content of the first configuration file includes: a first comment line, a first blank line, a command line for maintaining a local file, a first device type line, and an abnormal termination line; the second configuration file is used to perform a first external parameter import operation, which is an abortable operation, and the content of the second configuration file includes: a second comment line, a second blank line, a parameter import file command line, and a second device type line; the third configuration file is used to perform a second external parameter import operation, which is an un-abortable operation; send the first configuration file to a first loading module of a base station, load the first configuration file through the first loading module, send the second configuration file to a second loading module of the base station, load the second configuration file through the second loading module, send the third configuration file to a third loading module of the base station, and load the third configuration file through the third loading module.

[0155] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0156] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0157] In the above-mentioned embodiments of the present application, the collected information is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary protection measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0158] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0159] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0160] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0161] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.

[0162] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A configuration file processing method, characterized in that: include: Get the configuration file to be loaded; Determine the file type of the configuration file to be loaded, wherein the file type includes: a first configuration file, a second configuration file and a third configuration file, wherein the first configuration file is used to maintain a local file, and the content of the first configuration file includes: a first comment line, a first blank line, a command line for maintaining a local file, a first device type line, and an abnormal termination line; the second configuration file is used to perform a first external parameter import operation, and the first external parameter import operation is an abortable operation, and the content of the second configuration file includes: a second comment line, a second blank line, a parameter import file command line, and a second device type line; the third configuration file is used to perform a second external parameter import operation, and the second external parameter import operation is an un-abortable operation; The first configuration file is sent to a first loading module of a base station, and the first configuration file is loaded through the first loading module; the second configuration file is sent to a second loading module of the base station, and the second configuration file is loaded through the second loading module; the third configuration file is sent to a third loading module of the base station, and the third configuration file is loaded through the third loading module.

2. The method according to claim 1, characterized in that Loading the first configuration file through the first loading module includes: Obtain a first value corresponding to a device type and a second value corresponding to a product type of the device to be configured; If the first value and the second value are equal to a value in any one of the first device type rows in the first configuration file, determining that the first configuration file is valid; If it is determined that the first configuration file is valid, executing the local file maintenance command lines one by one; After executing all the local file maintenance command lines, it is determined whether there are any local file maintenance command lines that fail to execute, and if there are no local file maintenance command lines that fail to execute, it is determined that the first configuration file is loaded successfully.

3. The method according to claim 2, characterized in that When it is determined that the first configuration file is valid, after executing the maintenance local file command lines one by one, the method further includes: if an exception occurs in the overload execution of the maintenance local file command line, determining whether to terminate loading of the first configuration file according to the value corresponding to the abnormal termination line.

4. The method according to claim 1, characterized in that: Loading the second configuration file through the second loading module includes: Obtain a first value corresponding to a device type and a second value corresponding to a product type of the device to be configured; If the first value and the second value are equal to the value in any one of the second device type rows in the second configuration file, determining that the second configuration file is valid; If it is determined that the second configuration file is valid, verifying the legality and validity of each parameter in the second configuration file, and if each parameter fails to pass the legality and validity verification, determining that the loading of the second configuration file fails; When the parameters pass the legality and validity check, execute the parameter import file command line one by one; After executing all the parameter import file command lines, it is determined whether there are any parameter import file command lines that fail to execute, and if there are no parameter import file command lines that fail to execute, it is determined that the second configuration file is loaded successfully.

5. The method according to claim 4, characterized in that In the case where the parameters of the device to be configured pass the legality and validity check, after executing the parameter import file command lines one by one, the method further includes: if an exception occurs during the execution of the parameter import file command line, stopping the execution of the parameter import file command line, and restoring the parameters of the device to be configured to the state before the execution of the parameter import file command line.

6. The method according to claim 1, characterized in that Loading the third configuration file through the third loading module includes: Obtain a first value corresponding to a device type and a second value corresponding to a product type of the device to be configured; If the first value and the second value are equal to a value in any third device type row in the third configuration file, determining that the third configuration file is valid; When it is determined that the third configuration file is valid, traverse each parameter in the third configuration file, verify the legality and validity of each parameter, and perform a second external parameter import operation, and when each parameter fails to pass the legality and validity verification and the second external parameter import operation fails, record failure information; After traversing the various parameters, it is queried whether the failure information exists. If the failure information exists, it is determined that the loading of the third configuration file fails. If the failure information does not exist, it is determined that the loading of the third configuration file succeeds.

7. The method according to claim 1, characterized in that The content of the third configuration file includes: a structure list node, an object node, a structure node, and a data element node, wherein the structure list node includes multiple structure instances of the same type, the object node is used to store device verification information, the structure node is used to characterize a parameter structure instance, and the data element node is used to characterize a device type and a product type.

8. A configuration file processing device, characterized in that: include: The acquisition module is used to obtain the configuration file to be loaded; A determination module, used to determine the file type of the configuration file to be loaded, wherein the file type includes: a first configuration file, a second configuration file and a third configuration file, wherein the first configuration file is used to maintain a local file, and the content of the first configuration file includes: a first comment line, a first blank line, a command line for maintaining a local file, a first device type line, and an abnormal termination line; the second configuration file is used to perform a first external parameter import operation, and the first external parameter import operation is an abortable operation, and the content of the second configuration file includes: a second comment line, a second blank line, a parameter import file command line, and a second device type line; the third configuration file is used to perform a second external parameter import operation, and the second external parameter import operation is an un-abortable operation; A loading module is used to send the first configuration file to a first loading module of a base station, load the first configuration file through the first loading module, send the second configuration file to a second loading module of the base station, load the second configuration file through the second loading module, send the third configuration file to a third loading module of the base station, and load the third configuration file through the third loading module.

9. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the configuration file processing method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: include: A memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the configuration file processing method according to any one of claims 1 to 7 is executed when the program is run.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the configuration file processing method according to any one of claims 1 to 7 is implemented.