CN111585810A - Operator parameter file customization method, customization device and readable storage medium - Google Patents

Operator parameter file customization method, customization device and readable storage medium Download PDF

Info

Publication number
CN111585810A
CN111585810A CN202010371380.5A CN202010371380A CN111585810A CN 111585810 A CN111585810 A CN 111585810A CN 202010371380 A CN202010371380 A CN 202010371380A CN 111585810 A CN111585810 A CN 111585810A
Authority
CN
China
Prior art keywords
parameter
operator
operator parameter
customization information
file
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.)
Granted
Application number
CN202010371380.5A
Other languages
Chinese (zh)
Other versions
CN111585810B (en
Inventor
曹凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Wingtech Electronic Technology Co Ltd
Original Assignee
Shanghai Wingtech Electronic 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 Shanghai Wingtech Electronic Technology Co Ltd filed Critical Shanghai Wingtech Electronic Technology Co Ltd
Priority to CN202010371380.5A priority Critical patent/CN111585810B/en
Publication of CN111585810A publication Critical patent/CN111585810A/en
Application granted granted Critical
Publication of CN111585810B publication Critical patent/CN111585810B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a customizing method, a customizing device and a readable storage medium for an operator parameter file, wherein the customizing method comprises the following steps: receiving a parameter configuration instruction input by a user and uploaded operator parameter customization information; determining a parameter configuration mode corresponding to the parameter configuration instruction based on the parameter configuration instruction and the operator parameter customization information; and generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode, which is favorable for reducing the workload of operator parameter code maintenance work, improving the work efficiency and accuracy of the operator parameter code maintenance work, and saving the labor and time cost for configuring the operator parameters.

Description

Operator parameter file customization method, customization device and readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, and a readable storage medium for customizing an operator parameter file.
Background
With the development of globalization, large mobile terminal brand manufacturers are gradually expanding global services, and therefore, the cooperation with different operators in different countries is more and more. However, networks built by different operators are different, and if a mobile terminal wants to normally use a network and related functions of a certain operator, it needs to configure parameters matching the operator. For a mobile terminal involving multiple operators in multiple countries, the operator parameters that it needs to configure are also very many.
Currently, when the operator configuration parameters need to be added, customized or modified, a maintenance person needs to spend a lot of time checking the native operator parameter codes, and configuring new operator parameters according to the requirements. The manual operation is time-consuming, labor-consuming and low in efficiency, and meanwhile, the manual operation errors are difficult to avoid.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, an apparatus and a readable storage medium for customizing an operator parameter file, which can generate an operator parameter file corresponding to operator parameter customization information according to a received parameter configuration instruction and the operator parameter customization information, thereby facilitating to reduce workload of operator parameter code maintenance work, improving work efficiency and accuracy of the operator parameter code maintenance work, and saving time and labor cost consumed for configuring an operator parameter.
The embodiment of the application provides a method for customizing an operator parameter file, which comprises the following steps:
receiving a parameter configuration instruction input by a user and uploaded operator parameter customization information;
determining a parameter configuration mode corresponding to the parameter configuration instruction based on the parameter configuration instruction and the operator parameter customization information;
and generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode.
Further, the parameter configuration mode includes: at least one of new parameter file creation, parameter deletion, parameter modification, parameter addition and version upgrading.
Further, when the parameter configuration mode includes a new parameter file, generating a target operator parameter file corresponding to the operator parameter customization information according to a generation mode corresponding to the parameter configuration mode includes:
and generating a target operator parameter file corresponding to the operator parameter customizing information according to the operator parameter customizing information based on the acquired original operator parameter code.
Further, when the parameter configuration mode includes parameter deletion, generating a target operator parameter file corresponding to the operator parameter customization information according to a generation mode corresponding to the parameter configuration mode includes:
determining parameters to be deleted from an original operator parameter file corresponding to the operator parameter customization information based on the operator parameter customization information;
and deleting the parameters to be deleted from the original operator parameter file to obtain a target operator parameter file corresponding to the operator parameter customization information.
Further, when the parameter configuration mode includes parameter modification, generating a target operator parameter file corresponding to the operator parameter customization information according to a generation mode corresponding to the parameter configuration mode includes:
based on the operator parameter customization information, determining parameters to be modified from an original operator parameter file corresponding to the operator parameter customization information;
and modifying the parameters to be modified to obtain a target operator parameter file corresponding to the operator parameter customization information.
Further, when the parameter configuration mode includes a parameter addition, generating a target operator parameter file corresponding to the operator parameter customization information according to a generation mode corresponding to the parameter configuration mode includes:
determining parameters to be added from the operator parameter customization information;
and based on the acquired original operator parameter code, adding the parameter to be added to an original operator parameter file corresponding to the operator parameter customization information to obtain a target operator parameter file corresponding to the operator parameter customization information.
Further, when the parameter configuration mode includes version upgrade, generating a target operator parameter file corresponding to the operator parameter customization information according to a generation mode corresponding to the parameter configuration mode includes:
and replacing the first version information of the original operator parameter file corresponding to the operator parameter customization information with the second version information indicated by the operator parameter customization information based on the acquired original operator parameter code to obtain a target operator parameter file corresponding to the operator parameter customization information.
The embodiment of the present application further provides a device for customizing an operator parameter file, where the device for customizing the operator parameter file includes:
the receiving module is used for receiving a parameter configuration instruction input by a user and uploaded operator parameter customization information;
the determining module is used for determining a parameter configuration mode corresponding to the parameter configuration instruction based on the parameter configuration instruction and the operator parameter customization information;
and the file generation module is used for generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode.
An embodiment of the present application further provides an electronic device, including: a processor, a memory, and a bus, the memory storing machine-readable instructions executable by the processor; when the electronic equipment is operated, the processor is communicated with the memory through the bus; the machine readable instructions, when executed by the processor, perform the steps of the method for customizing a carrier parameter file of any of the embodiments.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium; the computer program, when executed by a processor, performs the steps of the method for customizing a carrier parameter file according to any of the embodiments.
The embodiment of the application provides a method, a device and a readable storage medium for customizing an operator parameter file, which are used for receiving a parameter configuration instruction input by a user and uploaded operator parameter customization information; determining a parameter configuration mode corresponding to the parameter configuration instruction based on the parameter configuration instruction and the operator parameter customization information; and generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode.
Therefore, the method and the device can determine the parameter configuration mode corresponding to the parameter configuration instruction according to the received parameter configuration instruction and the operator parameter customization information, and generate the target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode, so that the workload of operator parameter code maintenance work is reduced, the work efficiency and accuracy of the operator parameter code maintenance work can be improved, and the time and labor cost consumed by configuring the operator parameters are saved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a flowchart of a method for customizing an operator parameter file according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of a parameter configuration method;
FIG. 3 is a second flowchart of a parameter configuration method;
FIG. 4 is a third flowchart of a parameter configuration method;
FIG. 5 is a fourth flowchart of the parameter configuration method;
FIG. 6 is a fifth flowchart of a parameter configuration method;
fig. 7 is a schematic structural diagram of an apparatus for customizing an operator parameter file according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. Every other embodiment that can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application falls within the protection scope of the present application.
First, an application scenario to which the present application is applicable will be described. The method and the device can be applied to the technical field of communication. When a parameter configuration instruction and operator parameter customization information are received, determining a parameter configuration mode corresponding to the parameter configuration instruction according to the parameter configuration instruction and the operator parameter customization information; and the target operator parameter file is generated according to the generation mode corresponding to the parameter configuration mode, so that the workload of the operator parameter code maintenance work is reduced, the work efficiency and accuracy of the operator parameter code maintenance work can be improved, and the time and labor cost consumed by the configuration of the operator parameters are saved.
Research shows that, at present, when operator configuration parameters need to be added, customized or modified newly, maintenance personnel need to spend a lot of time checking the native operator parameter codes and configuring the new operator parameters according to requirements. The manual operation is time-consuming, labor-consuming and low in efficiency, and meanwhile, the manual operation errors are difficult to avoid. Based on this, the embodiment of the present application provides a method for customizing an operator parameter file, which can generate an operator parameter file corresponding to operator parameter customization information according to a received parameter configuration instruction and the operator parameter customization information, thereby facilitating to reduce workload of operator parameter code maintenance work, improving work efficiency and accuracy of the operator parameter code maintenance work, and saving time and labor cost consumed for configuring an operator parameter.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for customizing an operator parameter file according to an embodiment of the present disclosure. As shown in fig. 1, a method for customizing an operator parameter file provided in an embodiment of the present application includes:
s101, receiving a parameter configuration instruction input by a user and uploaded operator parameter customization information.
In the step, a parameter configuration instruction input by a user is received, and uploaded operator parameter customization information generated according to customization requirements of an operator is received.
The operator parameter customizing information comprises customizing user information, configuring parameter information of the customizing user for the operator, and configuring parameter values corresponding to the configuring parameter information. And the customizing user generates the operator parameter customizing information by using the configuration parameter information and the configuration parameter value in a table form. In the embodiment of the present application, the operator parameter customization information is in the form of an excel form file, and in other embodiments, the operator parameter customization information may also be in the form of other files, such as the form of word and PDF, and the like, which is not limited herein.
S102, determining a parameter configuration mode corresponding to the parameter configuration instruction based on the parameter configuration instruction and the operator parameter customization information.
In this step, according to a parameter configuration instruction input by a user and operator parameter configuration information uploaded by the user, a parameter configuration mode corresponding to the parameter configuration instruction is determined, where the parameter configuration mode may include at least one of parameter file creation, parameter deletion, parameter modification, parameter addition, and version upgrade.
Specifically, whether an original operator parameter file corresponding to the operator parameter customization information exists in the operator parameter file library or not is detected, and if the original operator parameter file does not exist, a parameter configuration mode corresponding to the parameter configuration instruction can be determined to include new establishment of the parameter file.
The operator parameter file library comprises a plurality of operator parameter files which are pre-configured and stored by a user according to historical operator parameter customization information.
Detecting whether the original operator parameter file comprises parameters in the operator parameter customization information, if not, determining that the parameter configuration mode corresponding to the parameter configuration instruction comprises parameter addition; if so, further determining whether the parameter value of each parameter in the original operator parameter file is the same as the parameter value of the corresponding parameter in the operator parameter customization information, and if not, determining that the parameter configuration mode corresponding to the parameter configuration instruction comprises parameter modification; further, whether the parameter specified to be deleted in the operator parameter customization information is included in the original operator parameter file is detected, and if the parameter specified to be deleted in the operator parameter customization information is included in the original operator parameter file, it can be determined that the parameter configuration mode corresponding to the parameter configuration instruction includes parameter deletion.
And detecting whether the first version information in the original operator parameter file corresponding to the operator parameter customization information is consistent with the second version information in the operator parameter customization information, and if not, determining that the parameter configuration mode corresponding to the parameter configuration instruction comprises version upgrading.
In addition, if the user determines the parameter configuration mode corresponding to the parameter configuration instruction by selecting or inputting the parameter configuration instruction when inputting the parameter configuration instruction, the next operation can be directly performed according to the parameter configuration mode selected or input by the user without performing the process of detecting and determining the parameter configuration mode.
S103, generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode.
In the step, a target operator parameter file corresponding to the operator parameter customization information is generated according to a preset generation mode for generating the target operator parameter file corresponding to the determined parameter configuration mode.
The generation mode is a file generation flow preset by operation and maintenance personnel according to past maintenance experience or configuration experience, and when the operator parameters need to be maintained or new operator parameters need to be configured, the generation mode corresponding to the parameter configuration mode can be directly called to be used for generating the target operator parameter file.
Further, referring to fig. 2, fig. 2 is a flowchart of a parameter configuration method. As shown in fig. 2, when the parameter configuration mode includes a new parameter file, the generating a target operator parameter file corresponding to the operator parameter customization information according to a generation mode corresponding to the parameter configuration mode includes:
and step S21, generating a target operator parameter file corresponding to the operator parameter customizing information according to the operator parameter customizing information based on the acquired original operator parameter code.
In the step, when the parameter configuration mode is determined to include that the parameter file is newly established, an original operator parameter code is obtained from a parameter code library, and an operator parameter file corresponding to operator parameter customization information is generated according to the operator parameter customization information uploaded by a user based on the obtained original operator parameter code.
The original operator parameter code is a native operator parameter code, and any parameter configuration mode, such as parameter file new creation, parameter modification, parameter addition and the like, needs to perform corresponding parameter configuration operation based on the format of the original operator parameter.
For example, it is assumed that the operator parameter file library includes an "operator a parameter file," an "operator B parameter file," and an "operator C parameter file," and the operator configuration information uploaded by the user at this time corresponds to an "operator D," at this time, since the original operator parameter file corresponding to the "operator D" is not included in the operator parameter file library, an operator parameter file corresponding to the "operator D" needs to be newly created based on an original operator parameter code.
Therefore, when the operator parameter file needs to be newly established, the corresponding operator parameter file can be automatically established according to the operator parameter customization information, and the time and labor cost for configuring the operator parameter can be reduced.
Further, referring to fig. 3, fig. 3 is a second flowchart of a parameter configuration method. As shown in fig. 3, when the parameter configuration mode includes parameter deletion, the generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode includes:
s31, determining parameters to be deleted from the original operator parameter file corresponding to the operator parameter customization information based on the operator parameter customization information.
In the step, when the determined parameter configuration mode comprises parameter deletion, traversing an original operator parameter file corresponding to the operator parameter customization information, comparing the original operator parameter file with the operator parameter customization information in the traversing process, determining a parameter to be deleted from the original operator parameter file, and simultaneously determining a code to be deleted corresponding to the parameter to be deleted and the position of the code to be deleted.
S32, deleting the parameters to be deleted from the original operator parameter file to obtain a target operator parameter file corresponding to the operator parameter customization information.
In the step, after determining the code to be deleted corresponding to the parameter to be deleted and the position of the code to be deleted, deleting the code to be deleted from the corresponding position in the original operator parameter file, and further obtaining a target operator parameter file corresponding to the operator parameter customization information.
Therefore, when the original operator parameter file has the parameters to be deleted, the parameters to be deleted can be automatically deleted from the original operator parameter file, and the time and labor cost for configuring the operator parameters can be reduced.
Further, referring to fig. 4, fig. 4 is a third flowchart of a parameter configuration method. As shown in fig. 4, when the parameter configuration mode includes parameter modification, the generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode includes:
s41, based on the operator parameter customization information, determining parameters to be modified from the original operator parameter file corresponding to the operator parameter customization information.
In this step, when the determined parameter configuration mode includes parameter modification, traversing an original operator parameter file corresponding to the operator parameter customization information according to the operator parameter customization information, and determining a code to be modified corresponding to the parameter to be modified from the original operator parameter file.
S42, modifying the parameter to be modified to obtain a target operator parameter file corresponding to the operator parameter customization information.
In the step, after the parameter to be modified is determined, the information is customized according to the operator parameter, the code to be modified corresponding to the parameter to be modified is modified in the original operator parameter file according to the format of the original operator parameter code, and then the target operator parameter file corresponding to the operator parameter customization information is obtained.
Therefore, when the original operator parameter file has the parameters to be modified, the parameters to be modified in the original operator parameter file can be automatically modified, and the time and labor cost for configuring the operator parameters can be reduced.
Further, please refer to fig. 5, fig. 5 is a fourth flowchart of the parameter configuration method. As shown in fig. 5, when the parameter configuration mode includes a parameter addition, the generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode includes:
and S51, determining the parameters to be added from the operator parameter customization information.
In the step, when the determined parameter configuration mode comprises parameter addition, traversing an original operator parameter file corresponding to the operator parameter customization information, comparing the original operator parameter file with the operator parameter customization information in the traversing process, and determining the parameter to be added from the operator parameter customization information.
S52, based on the obtained original operator parameter code, adding the parameter to be added to the original operator parameter file corresponding to the operator parameter customizing information to obtain a target operator parameter file corresponding to the operator parameter customizing information.
In the step, aiming at the determined parameter to be increased, an original operator parameter code is obtained from a parameter code library, the parameter to be increased is added to an original operator parameter file corresponding to the operator parameter customizing information according to the format of the original operator parameter code, and then a target operator parameter file corresponding to the operator parameter customizing information is obtained.
Therefore, when the parameters need to be added to the original operator parameter file, the parameters to be added can be automatically added to the original operator parameter file according to the preset code format, and the time and labor cost for configuring the operator parameters can be reduced.
Further, please refer to fig. 6, in which fig. 6 is a fifth flowchart of the parameter configuration method. As shown in fig. 6, when the parameter configuration mode includes version upgrade, the generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode includes:
s61, replacing the first version information of the original operator parameter file corresponding to the operator parameter customization information with the second version information indicated by the operator parameter customization information based on the obtained original operator parameter code, and obtaining a target operator parameter file corresponding to the operator parameter customization information.
In the step, when the determined parameter configuration mode comprises version upgrading, an original operator parameter code is obtained from a parameter code library, first version information in an original operator parameter file corresponding to the operator parameter customizing information is replaced by second version information indicated in the operator parameter customizing information according to the format of the original operator parameter code, a target operator parameter file corresponding to the operator parameter customizing information is obtained, and upgrading of the version of the operator parameter file is achieved.
The method for customizing the operator parameter file provided by the embodiment of the application receives a parameter configuration instruction input by a user and uploaded operator parameter customization information; determining a parameter configuration mode corresponding to the parameter configuration instruction based on the parameter configuration instruction and the operator parameter customization information; and generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode.
Thus, the method and the device can determine the parameter configuration mode corresponding to the parameter configuration instruction according to the received parameter configuration instruction and the operator parameter customization information, wherein the parameter configuration mode comprises parameter file new establishment, parameter deletion, parameter modification, parameter addition, version upgrading and the like, so that a generation mode corresponding to the parameter configuration mode can be invoked according to different parameter configuration modes, for example, when the parameter configuration mode is the parameter file new establishment, a target operator parameter file corresponding to the operator parameter customization information is generated according to the operator parameter customization information based on the original operator parameter; when the parameter configuration mode is parameter deletion, the parameter to be deleted can be determined from the original operator parameter file corresponding to the operator parameter customization information, and the parameter to be deleted is deleted, so that the workload of operator parameter code maintenance work is reduced, the work efficiency and accuracy of the operator parameter code maintenance work can be improved, and the time and labor cost for configuring the operator parameter are saved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an apparatus for customizing an operator parameter file according to an embodiment of the present disclosure. As shown in fig. 7, the customizing apparatus 700 includes:
a receiving module 710, configured to receive a parameter configuration instruction input by a user and uploaded operator parameter customization information;
a determining module 720, configured to determine, based on the parameter configuration instruction and the operator parameter customization information, a parameter configuration mode corresponding to the parameter configuration instruction;
the file generating module 730 is configured to generate a target operator parameter file corresponding to the operator parameter customization information according to the generating manner corresponding to the parameter configuration manner.
Further, the parameter configuration mode includes: at least one of new parameter file creation, parameter deletion, parameter modification, parameter addition and version upgrading.
Further, when the parameter configuration mode includes a new parameter file, and the file generating module 730 is configured to generate the target operator parameter file corresponding to the operator parameter customization information according to the generating mode corresponding to the parameter configuration mode, the file generating module 730 is configured to:
and generating a target operator parameter file corresponding to the operator parameter customizing information according to the operator parameter customizing information based on the acquired original operator parameter code.
Further, when the parameter configuration mode includes parameter deletion, the file generating module 730 is configured to, when the file generating module 730 is configured to generate the target operator parameter file corresponding to the operator parameter customization information according to the generating mode corresponding to the parameter configuration mode, the file generating module 730 is configured to:
determining parameters to be deleted from an original operator parameter file corresponding to the operator parameter customization information based on the operator parameter customization information;
and deleting the parameters to be deleted from the original operator parameter file to obtain a target operator parameter file corresponding to the operator parameter customization information.
Further, when the parameter configuration mode includes parameter modification, the file generating module 730 is configured to, when the file generating module 730 is configured to generate the target operator parameter file corresponding to the operator parameter customization information according to the generating mode corresponding to the parameter configuration mode, the file generating module 730 is configured to:
based on the operator parameter customization information, determining parameters to be modified from an original operator parameter file corresponding to the operator parameter customization information;
and modifying the parameters to be modified to obtain a target operator parameter file corresponding to the operator parameter customization information.
Further, when the parameter configuration mode includes a parameter addition, the file generating module 730 is configured to, when the file generating module 730 is configured to generate a target operator parameter file corresponding to the operator parameter customization information according to the generating mode corresponding to the parameter configuration mode, the file generating module 730 is configured to:
determining parameters to be added from the operator parameter customization information;
and based on the acquired original operator parameter code, adding the parameter to be added to an original operator parameter file corresponding to the operator parameter customization information to obtain a target operator parameter file corresponding to the operator parameter customization information.
Further, when the parameter configuration mode includes version upgrade, the file generating module 730 is configured to, when the file generating module 730 is configured to generate the target operator parameter file corresponding to the operator parameter customization information according to the generating mode corresponding to the parameter configuration mode, the file generating module 730 is configured to:
and replacing the first version information of the original operator parameter file corresponding to the operator parameter customization information with the second version information indicated by the operator parameter customization information based on the acquired original operator parameter code to obtain a target operator parameter file corresponding to the operator parameter customization information.
The customizing device for the operator parameter file provided by the embodiment of the application receives a parameter configuration instruction input by a user and uploaded operator parameter customizing information; determining a parameter configuration mode corresponding to the parameter configuration instruction based on the parameter configuration instruction and the operator parameter customization information; and generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode.
The method and the device can determine a parameter configuration mode corresponding to the parameter configuration instruction according to the received parameter configuration instruction and operator parameter customization information, wherein the parameter configuration mode comprises parameter file new establishment, parameter deletion, parameter modification, parameter addition, version upgrading and the like, so that a generation mode corresponding to the parameter configuration mode can be called for different parameter configuration modes, for example, when the parameter configuration mode is the parameter file new establishment, a target operator parameter file corresponding to the operator parameter customization information is generated according to the operator parameter customization information based on the original operator parameters; when the parameter configuration mode is parameter deletion, the parameter to be deleted can be determined from the original operator parameter file corresponding to the operator parameter customization information, and the parameter to be deleted is deleted, so that the workload of operator parameter code maintenance work is reduced, the work efficiency and accuracy of the operator parameter code maintenance work can be improved, and the time and labor cost for configuring the operator parameter are saved.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 8, the electronic device 800 includes a processor 810, a memory 820, and a bus 830.
The memory 820 stores machine-readable instructions executable by the processor 810, when the electronic device 800 runs, the processor 810 communicates with the memory 820 through the bus 830, and when the machine-readable instructions are executed by the processor 810, the steps of the above-mentioned method for customizing an operator parameter file may be performed.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for customizing the operator parameter file may be executed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing a program carrier.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for customizing an operator profile, the method comprising:
receiving a parameter configuration instruction input by a user and uploaded operator parameter customization information;
determining a parameter configuration mode corresponding to the parameter configuration instruction based on the parameter configuration instruction and the operator parameter customization information;
and generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode.
2. The customization method according to claim 1, wherein the parameter configuration comprises: at least one of new parameter file creation, parameter deletion, parameter modification, parameter addition and version upgrading.
3. The customization method according to claim 2, wherein when the parameter configuration mode includes a new parameter file, the generating a target operator parameter file corresponding to the operator parameter customization information according to a generation mode corresponding to the parameter configuration mode includes:
and generating a target operator parameter file corresponding to the operator parameter customizing information according to the operator parameter customizing information based on the acquired original operator parameter code.
4. The customization method according to claim 2, wherein, when the parameter configuration mode includes parameter deletion, the generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode includes:
determining parameters to be deleted from an original operator parameter file corresponding to the operator parameter customization information based on the operator parameter customization information;
and deleting the parameters to be deleted from the original operator parameter file to obtain a target operator parameter file corresponding to the operator parameter customization information.
5. The customization method according to claim 2, wherein when the parameter configuration mode includes parameter modification, the generating a target operator parameter file corresponding to the operator parameter customization information according to a generation mode corresponding to the parameter configuration mode includes:
based on the operator parameter customization information, determining parameters to be modified from an original operator parameter file corresponding to the operator parameter customization information;
and modifying the parameters to be modified to obtain a target operator parameter file corresponding to the operator parameter customization information.
6. The customization method according to claim 2, wherein, when the parameter configuration mode includes a parameter addition, the generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode includes:
determining parameters to be added from the operator parameter customization information;
and based on the acquired original operator parameter code, adding the parameter to be added to an original operator parameter file corresponding to the operator parameter customization information to obtain a target operator parameter file corresponding to the operator parameter customization information.
7. The customization method according to claim 2, wherein, when the parameter configuration mode includes version upgrade, the generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode includes:
and replacing the first version information of the original operator parameter file corresponding to the operator parameter customization information with the second version information indicated by the operator parameter customization information based on the acquired original operator parameter code to obtain a target operator parameter file corresponding to the operator parameter customization information.
8. An apparatus for customizing a carrier profile, the apparatus comprising:
the receiving module is used for receiving a parameter configuration instruction input by a user and uploaded operator parameter customization information;
the determining module is used for determining a parameter configuration mode corresponding to the parameter configuration instruction based on the parameter configuration instruction and the operator parameter customization information;
and the file generation module is used for generating a target operator parameter file corresponding to the operator parameter customization information according to the generation mode corresponding to the parameter configuration mode.
9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when an electronic device is operating, the machine-readable instructions when executed by the processor performing the steps of the method of customizing a carrier parameter file according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for customizing a carrier parameter file according to any one of claims 1 to 7.
CN202010371380.5A 2020-05-06 2020-05-06 Operator parameter file customization method, customization device and readable storage medium Active CN111585810B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010371380.5A CN111585810B (en) 2020-05-06 2020-05-06 Operator parameter file customization method, customization device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010371380.5A CN111585810B (en) 2020-05-06 2020-05-06 Operator parameter file customization method, customization device and readable storage medium

Publications (2)

Publication Number Publication Date
CN111585810A true CN111585810A (en) 2020-08-25
CN111585810B CN111585810B (en) 2023-03-24

Family

ID=72111960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010371380.5A Active CN111585810B (en) 2020-05-06 2020-05-06 Operator parameter file customization method, customization device and readable storage medium

Country Status (1)

Country Link
CN (1) CN111585810B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672296A (en) * 2021-07-12 2021-11-19 西安闻泰信息技术有限公司 Switching method and switching device for customized application, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101099401A (en) * 2004-11-16 2008-01-02 高通股份有限公司 Method and apparatus for carrier customization in communication systems
CN104427085A (en) * 2013-08-22 2015-03-18 深圳富泰宏精密工业有限公司 Communication equipment software updating method and system
CN106102086A (en) * 2016-05-30 2016-11-09 努比亚技术有限公司 Data processing equipment and method
CN107948965A (en) * 2017-11-28 2018-04-20 宇龙计算机通信科技(深圳)有限公司 A kind of method and apparatus of generation MBN files
CN109587252A (en) * 2018-12-10 2019-04-05 上海闻泰电子科技有限公司 Loading method, device, electronic equipment and the storage medium of operator parameter
CN111078275A (en) * 2019-12-17 2020-04-28 捷开通讯(深圳)有限公司 Resource allocation method, device, storage medium and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101099401A (en) * 2004-11-16 2008-01-02 高通股份有限公司 Method and apparatus for carrier customization in communication systems
CN104427085A (en) * 2013-08-22 2015-03-18 深圳富泰宏精密工业有限公司 Communication equipment software updating method and system
CN106102086A (en) * 2016-05-30 2016-11-09 努比亚技术有限公司 Data processing equipment and method
CN107948965A (en) * 2017-11-28 2018-04-20 宇龙计算机通信科技(深圳)有限公司 A kind of method and apparatus of generation MBN files
CN109587252A (en) * 2018-12-10 2019-04-05 上海闻泰电子科技有限公司 Loading method, device, electronic equipment and the storage medium of operator parameter
CN111078275A (en) * 2019-12-17 2020-04-28 捷开通讯(深圳)有限公司 Resource allocation method, device, storage medium and server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672296A (en) * 2021-07-12 2021-11-19 西安闻泰信息技术有限公司 Switching method and switching device for customized application, electronic equipment and storage medium
CN113672296B (en) * 2021-07-12 2024-05-24 西安闻泰信息技术有限公司 Custom application switching method, switching device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111585810B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN110543327B (en) Service component multiplexing method, device, computer equipment and storage medium
CN112083971B (en) Component processing method, device and storage medium
CN111399840A (en) Module development method and device
CN111585810B (en) Operator parameter file customization method, customization device and readable storage medium
CN104699515A (en) Android operating system based upgrading method and intelligent terminal
CN113590097B (en) API interface generation method and device, electronic equipment and storage medium
CN110750286A (en) Management method, device, system, equipment and medium for upgrading Mbn through OTA
CN107239303B (en) Application program update package generation method and device and application program update method and device
CN110806891B (en) Method and device for generating software version of embedded device
CN105700900A (en) Method and device for optimizing wireless local area network function
CN110045980B (en) Method, device and system for remotely upgrading NB-IOT (NB-IOT) device
CN104461612A (en) Data processing method and device
CN112416384A (en) Software upgrading method and device and computer equipment
CN111857881A (en) Repo-based manifest warehouse loading method and device and storage medium
CN111338644A (en) Task script deployment method and system
CN114721681A (en) Configuration file updating method, device, equipment and storage medium
CN104281452A (en) Terminal
CN104462106A (en) Data updating method and system
CN114721686A (en) Configuration data updating method and device, electronic equipment and storage medium
CN113138760A (en) Page generation method and device, electronic equipment and medium
CN108363614B (en) Application service module management method and device and server
CN112000354A (en) Version information updating method, version information updating device, version information updating equipment and storage medium
CN112417012A (en) Data processing method and system
CN113032006B (en) Plug-in construction method, device, equipment and storage medium
CN109710293B (en) File processing method and device, electronic equipment and storage medium

Legal Events

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