CN114691239A - Method, system, electronic device and storage medium for changing device configuration - Google Patents

Method, system, electronic device and storage medium for changing device configuration Download PDF

Info

Publication number
CN114691239A
CN114691239A CN202210342684.8A CN202210342684A CN114691239A CN 114691239 A CN114691239 A CN 114691239A CN 202210342684 A CN202210342684 A CN 202210342684A CN 114691239 A CN114691239 A CN 114691239A
Authority
CN
China
Prior art keywords
storage
file
change
configuration
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210342684.8A
Other languages
Chinese (zh)
Inventor
詹爽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202210342684.8A priority Critical patent/CN114691239A/en
Publication of CN114691239A publication Critical patent/CN114691239A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a method, a system, electronic equipment and a storage medium for changing equipment configuration, wherein an original requirement file in a target format is generated on a change server according to requirement information uploaded to a front-end page server by an administrator; determining target storage equipment corresponding to the original demand file based on a preset storage planning script in the change server; if the state of the storage configuration information database is detected to be normal, establishing connection with the storage configuration information database; acquiring configuration information of target storage equipment from a storage configuration information database, and generating a storage planning file in a target format according to the configuration information and an original requirement file; acquiring a change control table corresponding to target storage equipment, and generating a change command file according to the change control table and a storage planning file; and carrying out configuration change on the configuration information of the target storage equipment based on the storage planning file and the change command file. The invention can improve the configuration change efficiency and avoid the risk of misoperation.

Description

Method, system, electronic device and storage medium for changing device configuration
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, a system, an electronic device, and a storage medium for changing a device configuration.
Background
With the continuous development of financial science and technology, the IT infrastructure scale of the data center is rapidly enlarged, the data volume borne by the data center is rapidly increased, and the number of storage devices for storing data is also increased.
In order to normally not affect or affect the normal operation of the service as little as possible, the operation and maintenance personnel choose to complete the configuration change of the equipment as soon as possible by adopting a manual mode in the low peak time of the service or adopt a strategy of centralized batch configuration change, complete the configuration change of the storage equipment, and occupy a large proportion in the daily work of the storage operation and maintenance personnel.
However, the manual change of the equipment arrangement is inefficient, and the risk of erroneous operation is likely to occur.
Disclosure of Invention
In view of this, the present invention provides a method, a system, an electronic device and a storage medium for changing a device configuration, so as to solve the problems in the prior art that the changing of the device configuration is inefficient and the risk of misoperation is easily caused due to the adoption of a manual device configuration changing manner.
The first aspect of the present invention discloses a method for changing device configuration, the method comprising:
acquiring demand information uploaded to a front-end page server by an administrator;
generating an original demand file in a target format on a change server according to the demand information;
determining target storage equipment corresponding to the original demand file based on a preset storage planning script in a change server;
if the state of the storage configuration information database is detected to be normal, establishing connection with the storage configuration information database;
acquiring the configuration information of the target storage equipment from the storage configuration information database, and generating a storage planning file in the target format according to the configuration information and the original requirement file;
acquiring a change control table corresponding to the target storage equipment, and generating a change command file according to the change control table and the storage planning file;
and carrying out configuration change on the configuration information of the target storage equipment based on the storage planning file and the change command file.
Optionally, the determining, based on a storage planning script preset in the change server, a target storage device corresponding to the original demand file includes:
acquiring a preset storage planning script from the change server;
and calling the storage planning script, sequencing all the storage equipment in the storage configuration information database, and selecting target storage equipment meeting the original requirement file from the sequenced storage equipment.
Optionally, the obtaining configuration information of the target storage device from the storage configuration information database, and generating the storage plan file in the target format according to the configuration information and the original requirement file includes:
acquiring the configuration information of the target storage equipment from the storage configuration information database;
and generating corresponding planning information according to the configuration information, and generating a storage planning file in the target format according to the planning information and the original demand file.
Optionally, based on the storage plan file and the change command file, performing configuration change on the configuration information of the target storage device, including:
determining change implementation equipment from each storage equipment in the storage configuration information database according to the storage planning file;
and calling a change command in the change command file through the change implementation equipment to perform configuration change on the configuration information of the target storage equipment.
Optionally, after the configuration information of the target storage device is changed in configuration, the method further includes:
acquiring the configuration information after configuration change;
and issuing the storage planning file, the target software required by the application server and the installation configuration script thereof to the application server through the front-end page server so that the application server installs the target software based on the installation configuration script corresponding to the target software, and feeding back a result obtained by changing the software configuration of the target software according to the storage planning file to the front-end page server, and an administrator checks the software configuration change state of the application server according to the result displayed on the front-end page server.
Optionally, the method further includes:
and updating the storage configuration information database by using the storage planning file, and writing back the generated updating result to an execution log of the front-end page server.
Optionally, before generating the original requirement file in the target format according to the requirement information, the method further includes:
checking whether the requirement information is legal or not;
generating an original requirement file in a target format on a change server according to the requirement information, wherein the method comprises the following steps:
and if the demand information is legal, generating an original demand file in a target format on a change server according to the demand information.
A second aspect of the present invention discloses a system for changing a device configuration, the system comprising:
the system comprises a demand information acquisition unit, a front-end page server and a management server, wherein the demand information acquisition unit is used for acquiring demand information uploaded to the front-end page server by an administrator;
the original demand file generating unit is used for generating an original demand file in a target format on the change server according to the demand information;
the target storage equipment determining unit is used for determining target storage equipment corresponding to the original demand file based on a preset storage planning script in the change server;
the connection establishing unit is used for establishing connection with the storage configuration information database if the state of the storage configuration information database is detected to be normal;
a storage plan file generating unit, configured to obtain configuration information of the target storage device from the storage configuration information database, and generate a storage plan file in the target format according to the configuration information and the original requirement file;
a change command file generating unit, configured to obtain a change control table corresponding to the target storage device, and generate a change command file according to the change control table and the storage plan file;
and the configuration changing unit is used for carrying out configuration change on the configuration information of the target storage equipment based on the storage planning file and the change command file.
In a third aspect of the present invention, an electronic device is disclosed, which comprises a processor and a memory, wherein the memory is used for storing program codes and data for changing the device configuration, and the processor is used for calling program instructions in the memory to execute the method for changing the device configuration as disclosed in the first aspect of the present invention.
A fourth aspect of the present invention discloses a storage medium, which includes a stored program, wherein when the program runs, a device on which the storage medium is located is controlled to execute the method for changing the device configuration as disclosed in the first aspect of the present invention.
The invention provides a method, a system, electronic equipment and a storage medium for changing equipment configuration, which are characterized in that demand information uploaded to a front-end page server by an administrator is acquired, and an original demand file in a target format is generated according to the acquired demand information; determining a target storage device corresponding to the original requirement file based on a preset storage planning script in the change server, establishing connection with the storage configuration information data under the condition that the state of the storage configuration information database is detected to be normal, so as to obtain the target storage device configuration information from the storage configuration information database and the original requirement file generated before, generate a storage planning file in a target format, and finally, based on the storage planning file and the change command file, the configuration change of the configuration information of the target storage equipment can be realized, and the whole process of changing the configuration of the equipment does not need manual intervention, so that the efficiency of the configuration change of the equipment can be improved, and the risk of misoperation can be reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for changing a device configuration according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a system for changing a device configuration according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules, or units, and are not used for limiting the order or interdependence of the functions performed by the devices, modules, or units.
It is noted that references to "a", "an", and "the" modifications in the disclosure are exemplary rather than limiting, and that those skilled in the art will understand that "one or more" unless the context clearly dictates otherwise.
Referring to fig. 1, a flowchart of a method for changing a device configuration according to an embodiment of the present invention is shown, and is applied to a system for changing a device configuration, where the method for changing a device configuration specifically includes the following steps:
s101: and acquiring the demand information uploaded to the front-end page server by the administrator.
In the process of specifically executing step S101, after the administrator writes the corresponding demand information, the demand information may be uploaded to the front-end page server; and acquiring the demand information uploaded to the front-end page server by the administrator through the equipment configuration changing system.
It should be noted that the requirement information at least includes performance indexes such as requirement type, application system name, application level, and capacity.
S102: and generating an original requirement file in a target format on the change server according to the requirement information.
In the process of specifically executing step S102, after the change device configuration system acquires the requirement information, the validity of the acquired requirement information may be verified, and in the case that it is determined that the requirement information is legal, an original requirement file in a target format may be generated on a change server of the change device configuration system according to the legal requirement information.
In the embodiment of the present application, the generated original requirement file may be issued to a storage planning server in the modification device configuration system.
It should be noted that the target format may be json format. The method can be set according to practical application, and the embodiment of the application is not limited.
S103: and determining a target storage device corresponding to the original demand file based on a preset storage planning script in the change server.
In the embodiment of the present application, a storage planning script is set in the change server in advance. The storage planning script can sequence the storage devices according to the device performance, and determine a target storage device which meets the original requirement file from each sequenced storage device.
In the specific process of executing step S103, after the storage planning server receives the original requirement file, the storage planning server may obtain a preset storage planning script from the change server, so as to order, by calling the storage planning script, each storage device in the storage configuration information database according to the device performance, and select a target storage device that satisfies the original requirement file from each ordered storage device.
S104: detecting whether the state of a storage configuration information database is normal or not in real time; if the state of the storage configuration information database is detected to be normal, step S105 is executed.
In the process of specifically executing step S104, the storage planning server detects whether the state of the storage configuration information data is normal in real time, and if it is detected that the state of the storage configuration information data is normal, the storage planning server establishes a connection with the storage configuration information database, that is, step S105 is executed.
S105: and establishing connection with a storage configuration information database.
S106: and acquiring the configuration information of the target storage equipment from the storage configuration information database, and generating a storage planning file in a target format according to the configuration information and the original requirement file.
In the embodiment of the present application, the storage configuration information database stores the configuration information of each storage device. After the connection is established with the storage configuration information database through the storage planning server, the configuration information corresponding to the target storage device can be acquired from the storage configuration information database.
And generating corresponding planning information according to the acquired configuration information, and generating a storage planning file in a target format according to the planning information and the original demand file.
It should be noted that the target format may be json format. The method can be set according to practical application, and the embodiment of the application is not limited.
S107: and acquiring a change control table corresponding to the target storage equipment, and generating a change command file according to the change control table and the storage planning file.
In this embodiment, for each storage device, the storage manufacturer corresponding to the storage device provides the change control table corresponding to the storage device.
In the specific process of step S107, after the storage plan file in the target format is generated, the change control table corresponding to the target storage device may be acquired, and then the corresponding change command file may be generated according to the acquired change control table and the target storage plan file.
Wherein the change command file includes at least one change command.
S108: and carrying out configuration change on the configuration information of the target storage equipment based on the storage planning file and the change command file.
In the process of specifically executing step S108, after the corresponding change command file is generated, a change implementation server may be determined from each storage device storing the configuration information database according to the storage plan file, and the change command file may be sent to the change implementation server.
And calling a change command in the change command file by the change implementation server to backup the configuration information of the target storage equipment, and then changing the configuration of the configuration information of the target storage equipment, thereby completing the configuration change of the target storage equipment.
Further, in the embodiment of the present application, after the configuration change is completed on the target storage device, the changed configuration information may be acquired by the change implementing server, and the changed configuration information may be backed up.
Further, in the embodiment of the present application, after the configuration change is completed on the target storage device, the storage configuration information database may also be updated by using the storage plan file, and the generated update result is written back to the execution log of the front-end page server, and the execution result is displayed on the visual interface of the front-end page server.
Further, in the embodiment of the present application, after the changed configuration information is obtained by the change implementing server, the front-end page server may issue the storage planning file, the target software required by the application server, and the installation configuration script thereof to the application server.
The application server can install the target software based on the installation configuration script corresponding to the target software, change the software configuration of the target software according to the storage planning file, and feed back the changed result to the front-end page server, so that an administrator can check the software configuration change state of the application server through the result displayed on the front-end page server.
It should be noted that the software configuration of the target software may be specifically changed according to the software configuration information of the target software in the original requirement file in the storage plan file and the configuration information of the target storage device.
The invention provides a method for changing equipment configuration, which comprises the steps of acquiring demand information uploaded to a front-end page server by an administrator, and generating an original demand file in a target format according to the acquired demand information; determining a target storage device corresponding to the original requirement file based on a preset storage planning script in the change server, establishing connection with the storage configuration information data under the condition that the state of the storage configuration information database is detected to be normal, so as to obtain the target storage device configuration information from the storage configuration information database and the original requirement file generated before, generate a storage planning file in a target format, and finally, based on the storage planning file and the change command file, the configuration change of the configuration information of the target storage equipment can be realized, and the whole process of changing the configuration of the equipment does not need manual intervention, so that the efficiency of the configuration change of the equipment can be improved, and the risk of misoperation can be reduced.
Corresponding to the method for changing the device configuration disclosed in the embodiment of the present invention, referring to fig. 2, an embodiment of the present invention further provides a schematic structural diagram of a system for changing the device configuration, where the method for changing the device configuration includes:
a demand information obtaining unit 21, configured to obtain demand information uploaded to a front-end page server by an administrator;
an original requirement file generating unit 22, configured to generate an original requirement file in a target format on the change server according to the requirement information;
a target storage device determining unit 23, configured to determine, based on a storage planning script preset in the change server, a target storage device corresponding to the original demand file;
a connection establishing unit 24, configured to establish a connection with the storage configuration information database if the state of the storage configuration information database is detected to be normal;
a storage plan file generating unit 25, configured to obtain configuration information of the target storage device from the storage configuration information database, and generate a storage plan file in a target format according to the configuration information and the original requirement file;
a change command file generating unit 26, configured to obtain a change control table corresponding to the target storage device, and generate a change command file according to the change control table and the storage plan file;
and a configuration changing unit 27, configured to change the configuration of the target storage device based on the storage plan file and the change command file.
The specific principle and the implementation process of each unit in the system for changing the device configuration disclosed in the embodiment of the present invention are the same as the method for changing the device configuration disclosed in fig. 1 in the embodiment of the present invention, and reference may be made to corresponding parts in the method for changing the device configuration disclosed in fig. 1 in the embodiment of the present invention, which are not described again here.
The invention provides a system for changing equipment configuration, which is characterized in that demand information uploaded to a front-end page server by an administrator is acquired, and an original demand file in a target format is generated according to the acquired demand information; determining a target storage device corresponding to the original requirement file based on a preset storage planning script in the change server, in case that the state of the storage configuration information database is detected to be normal, establishing connection with the storage configuration information database, so as to obtain the target storage device configuration information from the storage configuration information database and the original requirement file generated before, generate a storage planning file in a target format, and finally, based on the storage planning file and the change command file, the configuration change of the configuration information of the target storage equipment can be realized, and the whole process of changing the configuration of the equipment does not need manual intervention, so that the efficiency of the configuration change of the equipment can be improved, and the risk of misoperation can be reduced.
Optionally, the target storage device determining unit includes:
a storage planning script obtaining unit, configured to obtain a preset storage planning script from the change server;
and the target storage equipment selecting unit is used for calling the storage planning script, sequencing each storage equipment in the storage configuration information database, and selecting the target storage equipment meeting the original requirement file from each sequenced storage equipment.
Optionally, the storage plan file generating unit includes:
a first configuration information acquisition unit, configured to acquire configuration information of a target storage device from a storage configuration information database;
and the storage planning file generation unit is used for generating corresponding planning information according to the configuration information and generating a storage planning file in a target format according to the planning information and the original requirement file.
Optionally, the configuration changing unit includes:
a change implementation device determination unit configured to determine a change implementation device from each storage device storing the configuration information database according to the storage plan file;
and the configuration change subunit is used for calling the change command in the change command file through the change implementation equipment to perform configuration change on the configuration information of the target storage equipment.
Optionally, the system for changing the device configuration provided by the present invention further includes:
a second configuration information acquiring unit, configured to acquire configuration information after configuration change;
and the software configuration changing unit is used for issuing the storage planning file, the target software required by the application server and the installation configuration script thereof to the application server through the front-end page server so that the application server installs the target software based on the installation configuration script corresponding to the target software, and feeding back a result obtained by changing the software configuration of the target software according to the storage planning file to the front-end page server, and an administrator checks the software configuration changing state of the application server through the result displayed on the front-end page server.
Optionally, the system for changing the device configuration provided by the present invention further includes:
and the updating unit is used for updating the storage configuration information database by using the storage planning file and writing back the generated updating result to the front-end page server execution log.
Optionally, the system for changing the device configuration provided by the present invention further includes:
a checking unit for checking whether the demand information is legal;
the original demand file generation unit is further used for generating an original demand file in a target format on the change server according to the demand information if the demand information is legal.
An embodiment of the present application further provides an electronic device, which includes: the system comprises a processor and a memory, wherein the processor and the memory are connected through a communication bus; the processor is used for calling and executing the program stored in the memory; the memory is used for storing a program for implementing the method for changing the configuration of the equipment.
Referring now to FIG. 3, a block diagram of an electronic device suitable for use in implementing the disclosed embodiments of the invention is shown. The electronic devices in the disclosed embodiments of the present invention may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is only an example and should not bring any limitations to the function and scope of use of the disclosed embodiments of the present invention.
As shown in fig. 3, the electronic device may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)302 or a program loaded from a storage device 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While fig. 3 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may be alternatively implemented or provided.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method of altering a device configuration shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 309, or installed from the storage means 308, or installed from the ROM 302. The computer program, when executed by the processing apparatus 301, performs the above-described functions defined in the method of changing a device configuration of the disclosed embodiment of the invention.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are used to execute a method for changing a device configuration.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring demand information uploaded to a front-end page server by an administrator; generating an original demand file in a target format on a change server according to the demand information; determining target storage equipment corresponding to the original demand file based on a preset storage planning script in a change server; if the state of the storage configuration information database is detected to be normal, establishing connection with the storage configuration information database; acquiring the configuration information of the target storage equipment from the storage configuration information database, and generating a storage planning file in the target format according to the configuration information and the original requirement file; acquiring a change control table corresponding to the target storage equipment, and generating a change command file according to the change control table and the storage planning file; and carrying out configuration change on the configuration information of the target storage equipment based on the storage planning file and the change command file.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the computer readable medium mentioned above in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are merely illustrative, wherein units described as separate components may or may not be physically separate, and components shown 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 modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The above is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, a plurality of modifications and embellishments can be made without departing from the principle of the present invention, and these modifications and embellishments should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method of changing a device configuration, the method comprising:
acquiring demand information uploaded to a front-end page server by an administrator;
generating an original demand file in a target format on a change server according to the demand information;
determining target storage equipment corresponding to the original demand file based on a preset storage planning script in a change server;
if the state of the storage configuration information database is detected to be normal, establishing connection with the storage configuration information database;
acquiring the configuration information of the target storage equipment from the storage configuration information database, and generating a storage planning file in the target format according to the configuration information and the original requirement file;
acquiring a change control table corresponding to the target storage equipment, and generating a change command file according to the change control table and the storage planning file;
and carrying out configuration change on the configuration information of the target storage equipment based on the storage planning file and the change command file.
2. The method according to claim 1, wherein the determining the target storage device corresponding to the original requirement file based on a storage planning script preset in the change server comprises:
acquiring a preset storage planning script from the change server;
and calling the storage planning script, sequencing all the storage equipment in the storage configuration information database, and selecting target storage equipment meeting the original requirement file from the sequenced storage equipment.
3. The method of claim 1, wherein obtaining configuration information of the target storage device from the storage configuration information database and generating the storage plan file in the target format according to the configuration information and the original requirement file comprises:
acquiring the configuration information of the target storage equipment from the storage configuration information database;
and generating corresponding planning information according to the configuration information, and generating a storage planning file in the target format according to the planning information and the original requirement file.
4. The method of claim 1, wherein performing a configuration change to the configuration information of the target storage device based on the storage plan file and the change command file comprises:
determining change implementation equipment from each storage equipment in the storage configuration information database according to the storage planning file;
and calling a change command in the change command file through the change implementation equipment to perform configuration change on the configuration information of the target storage equipment.
5. The method of claim 4, wherein after making a configuration change to the configuration information of the target storage device, the method further comprises:
acquiring the configuration information after configuration change;
and issuing the storage planning file, the target software required by the application server and the installation configuration script thereof to the application server through the front-end page server so that the application server installs the target software based on the installation configuration script corresponding to the target software, and feeding back a result obtained by changing the software configuration of the target software according to the storage planning file to the front-end page server, wherein an administrator checks the software configuration change state of the application server according to the result displayed on the front-end page server.
6. The method of claim 5, further comprising:
and updating the storage configuration information database by using the storage planning file, and writing back the generated updating result to an execution log of the front-end page server.
7. The method of claim 1, wherein before generating the original requirements file in the target format based on the requirements information, the method further comprises:
checking whether the demand information is legal;
generating an original requirement file in a target format on a change server according to the requirement information, wherein the method comprises the following steps of:
and if the demand information is legal, generating an original demand file in a target format on a change server according to the demand information.
8. A system for changing a configuration of a device, the system comprising:
the system comprises a demand information acquisition unit, a front-end page server and a management server, wherein the demand information acquisition unit is used for acquiring demand information uploaded to the front-end page server by an administrator;
the original demand file generating unit is used for generating an original demand file in a target format on the change server according to the demand information;
the target storage equipment determining unit is used for determining target storage equipment corresponding to the original demand file based on a preset storage planning script in the change server;
the connection establishing unit is used for establishing connection with the storage configuration information database if the state of the storage configuration information database is detected to be normal;
a storage plan file generation unit, configured to obtain the configuration information of the target storage device from the storage configuration information database, and generate a storage plan file in the target format according to the configuration information and the original requirement file;
a change command file generating unit, configured to obtain a change control table corresponding to the target storage device, and generate a change command file according to the change control table and the storage plan file;
and the configuration changing unit is used for carrying out configuration change on the configuration information of the target storage equipment based on the storage planning file and the change command file.
9. An electronic device, comprising a processor and a memory, the memory storing program code and data for changing a device configuration, the processor being configured to invoke program instructions in the memory to perform a method of changing a device configuration as claimed in any one of claims 1 to 7.
10. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, a device on which the storage medium is located is controlled to execute a method for changing a device configuration according to any one of claims 1-7.
CN202210342684.8A 2022-04-02 2022-04-02 Method, system, electronic device and storage medium for changing device configuration Pending CN114691239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210342684.8A CN114691239A (en) 2022-04-02 2022-04-02 Method, system, electronic device and storage medium for changing device configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210342684.8A CN114691239A (en) 2022-04-02 2022-04-02 Method, system, electronic device and storage medium for changing device configuration

Publications (1)

Publication Number Publication Date
CN114691239A true CN114691239A (en) 2022-07-01

Family

ID=82140798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210342684.8A Pending CN114691239A (en) 2022-04-02 2022-04-02 Method, system, electronic device and storage medium for changing device configuration

Country Status (1)

Country Link
CN (1) CN114691239A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078583A1 (en) * 2002-10-18 2004-04-22 Hitachi, Ltd. Storage device and method of setting configuration information of same
CN110505088A (en) * 2019-08-20 2019-11-26 北京市燃气集团有限责任公司 Store the method and apparatus that authorize a change
CN113126881A (en) * 2019-12-30 2021-07-16 阿里巴巴集团控股有限公司 System configuration method, device, equipment, readable storage medium and distributed storage system
CN113872811A (en) * 2021-09-29 2021-12-31 中国建设银行股份有限公司 Operation change method, wide area network control system, electronic device, and storage medium
CN114022105A (en) * 2021-10-26 2022-02-08 博锐尚格科技股份有限公司 Data processing method and device, electronic equipment and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078583A1 (en) * 2002-10-18 2004-04-22 Hitachi, Ltd. Storage device and method of setting configuration information of same
CN110505088A (en) * 2019-08-20 2019-11-26 北京市燃气集团有限责任公司 Store the method and apparatus that authorize a change
CN113126881A (en) * 2019-12-30 2021-07-16 阿里巴巴集团控股有限公司 System configuration method, device, equipment, readable storage medium and distributed storage system
CN113872811A (en) * 2021-09-29 2021-12-31 中国建设银行股份有限公司 Operation change method, wide area network control system, electronic device, and storage medium
CN114022105A (en) * 2021-10-26 2022-02-08 博锐尚格科技股份有限公司 Data processing method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN110019279B (en) Online document collaborative updating method, device, equipment and storage medium
US20130297563A1 (en) Timestamp management method for data synchronization and terminal therefor
CN113872811A (en) Operation change method, wide area network control system, electronic device, and storage medium
CN110960855B (en) Communication protocol code updating method and device, electronic equipment and storage medium
CN115660589A (en) Business auditing method, device, equipment, computer readable medium and program product
CN109634702B (en) Information prompting method and device, electronic equipment and readable medium
CN110879729A (en) Channel configuration method and device for live broadcast room, readable medium and electronic equipment
CN109104481B (en) File integrity detection method, file integrity detection device and terminal equipment
CN111177260A (en) Database remote copying method and device and electronic equipment
CN114691239A (en) Method, system, electronic device and storage medium for changing device configuration
CN116302271A (en) Page display method and device and electronic equipment
CN110035496A (en) A kind of cloud platform switching method, system and electronic equipment
CN113760768A (en) Test method, monitoring platform, electronic equipment and storage medium
CN111626802A (en) Method and apparatus for processing information
CN114913005A (en) Mobile risk data detection method, mobile risk data detection system, electronic device and storage medium
CN110069417B (en) A/B test method and device
CN113656050A (en) Method and device for generating version number
CN115309480A (en) Interface change processing method, system, electronic equipment and storage medium
CN114253520B (en) Interface code generation method and device
CN116860717A (en) Architecture construction method, system, electronic equipment and storage medium
CN115766699A (en) File transmission method, system, electronic equipment and storage medium
CN115421716A (en) Page menu maintenance method, system, electronic equipment and storage medium
CN110264211B (en) Wind control method, system, device and equipment
CN115168328A (en) Data screening method, system, electronic equipment and storage medium
US20240152504A1 (en) Data interaction method, apparatus, and electronic device

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