CN111090453B - Equipment configuration method, equipment and storage medium - Google Patents

Equipment configuration method, equipment and storage medium Download PDF

Info

Publication number
CN111090453B
CN111090453B CN201911117180.0A CN201911117180A CN111090453B CN 111090453 B CN111090453 B CN 111090453B CN 201911117180 A CN201911117180 A CN 201911117180A CN 111090453 B CN111090453 B CN 111090453B
Authority
CN
China
Prior art keywords
configuration file
instance
parent
configuration
child
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911117180.0A
Other languages
Chinese (zh)
Other versions
CN111090453A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201911117180.0A priority Critical patent/CN111090453B/en
Publication of CN111090453A publication Critical patent/CN111090453A/en
Application granted granted Critical
Publication of CN111090453B publication Critical patent/CN111090453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a configuration method of equipment, which comprises the following steps: creating a plurality of parent configuration files by using the plurality of configuration items; creating a plurality of child configuration files for a number of the configuration items to be reused between parent configuration files; assigning different configuration information to each parent configuration file and each child configuration file to obtain a plurality of parent configuration file instances and a plurality of child configuration file instances; binding the child configuration file instance to a corresponding parent configuration file instance; and binding the parent configuration file instance to the corresponding device group or device. The invention also discloses a computer device and a readable storage medium. The method disclosed by the invention can realize batch configuration of a plurality of devices only by configuring one father template, and can realize simultaneous configuration of a plurality of father templates only by configuring the sub-templates without independently configuring the father templates.

Description

Equipment configuration method, equipment and storage medium
Technical Field
The present invention relates to the field of device management, and in particular, to a device configuration method, a device, and a storage medium.
Background
In the process of managing the device by the device platform, each configuration item of the added device needs to be added, modified or deleted. If the configuration items of the devices are modified in sequence, much time is consumed and management is not easy. Moreover, configuration items of each device need to be stored, and when a large number of devices managed on the device platform are increased, a large amount of storage space is consumed for storage.
Disclosure of Invention
In view of the above, in order to overcome at least one aspect of the above problems, an embodiment of the present invention provides a method for configuring a device, including:
creating a plurality of parent configuration files using the plurality of configuration items;
creating a plurality of child configuration files for a number of the configuration items to be reused between parent configuration files;
assigning different configuration information to each parent configuration file and each child configuration file to obtain a plurality of parent configuration file instances and a plurality of child configuration file instances;
binding the child configuration file instance to a corresponding parent configuration file instance;
and binding the parent configuration file instance to the corresponding device group or device.
In some embodiments, binding the parent profile instance to a corresponding device group or device further comprises:
creating a device group;
adding the device to the group of devices;
establishing a connection with the device;
and issuing the father configuration file examples bound to the equipment group and/or the equipment to the equipment.
In some embodiments, issuing the parent profile instance bound to the device group and/or device to the device further includes:
judging whether the father configuration file instance bound by the equipment and the father configuration file instance bound by the equipment group to which the equipment belongs are the same father configuration file or not;
and responding to the same father configuration file, and only issuing the father configuration file example bound with the equipment to the equipment.
In some embodiments, assigning different configuration information to each of the parent configuration files and each of the child configuration files to obtain a plurality of parent configuration file instances and a plurality of child configuration file instances, further comprises:
newly building a father configuration file instance or a son configuration file instance;
in response to selecting to copy the non-default parent profile instance or the non-default child profile instance, copying contents of the non-default parent profile instance or child profile instance into a newly created parent profile instance or child profile instance;
in response to selecting to copy the default parent profile instance or the default child profile instance, copying the contents of the default parent profile instance or the default child profile instance into a newly created parent profile instance or child profile instance.
In some embodiments, further comprising:
modifying configuration information in the parent configuration file instance and/or the child configuration file instance;
querying devices and/or device groups to which the modified parent profile instance or the child profile instance is bound;
establishing a connection with a device bound to the modified parent profile instance or the child profile instance;
and issuing the father configuration file example after the configuration information is modified.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer apparatus, including:
at least one processor; and
a memory storing a computer program operable on the processor, wherein the processor executes the program to perform the steps of:
creating a plurality of parent configuration files by using the plurality of configuration items;
creating a plurality of child configuration files for a number of the configuration items to be reused between parent configuration files;
assigning different configuration information to each parent configuration file and each child configuration file to obtain a plurality of parent configuration file instances and a plurality of child configuration file instances;
binding the child configuration file instance to a corresponding parent configuration file instance;
and binding the parent configuration file instance to the corresponding device group or device.
In some embodiments, binding the parent profile instance to a corresponding device group or device further comprises:
creating a device group;
adding the device to the group of devices;
establishing a connection with the device;
and issuing the father configuration file example bound to the equipment group and/or the equipment to the equipment.
In some embodiments, issuing the parent profile instance bound to the device group and/or device to the device further includes:
judging whether the father configuration file instance bound by the equipment and the father configuration file instance bound by the equipment group to which the equipment belongs are the same father configuration file or not;
and responding to the same father configuration file, and only issuing the father configuration file example bound with the equipment to the equipment.
In some embodiments, assigning different configuration information to each of the parent configuration files and each of the child configuration files to obtain a plurality of parent configuration file instances and a plurality of child configuration file instances, further comprises:
newly building a father configuration file instance or a son configuration file instance;
in response to selecting to copy the non-default parent profile instance or the non-default child profile instance, copying contents of the non-default parent profile instance or child profile instance into a newly created parent profile instance or child profile instance;
in response to selecting to copy the default parent profile instance or the default child profile instance, copying the contents of the default parent profile instance or the default child profile instance into a newly created parent profile instance or child profile instance.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of any one of the above-described device configuration methods.
The invention has one of the following beneficial technical effects: the method disclosed by the invention can realize batch configuration of a plurality of devices only by configuring one father template, and simultaneously can realize simultaneous configuration of a plurality of father templates only by configuring the sub-templates without independently configuring the father templates.
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, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for configuring a device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of binding connection between a template and a device or a device group according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a computer device provided in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
It should be noted that, in the embodiment of the present invention, the configuration file may also be a general template, for example, an alarm configuration template that may set a maximum and minimum threshold of an alarm.
According to an aspect of the present invention, an embodiment of the present invention proposes a method for configuring a device, which may include the steps of, as shown in fig. 1: s1, creating a plurality of father configuration files by using a plurality of configuration items; s2, creating a plurality of child configuration files by using a plurality of configuration items repeatedly utilized between parent configuration files; s3, assigning different configuration information to each parent configuration file and each child configuration file to obtain multiple parent configuration file instances and multiple child configuration file instances; s4, binding the sub configuration file instance to the corresponding father configuration file instance; and S5, binding the father configuration file instance to the corresponding device group or device.
When the method disclosed by the invention is used for carrying out batch configuration on the equipment platform, the configuration items are firstly divided into different types of configuration files, and when the different types of configuration files have common configuration items, common sub-configuration files can be continuously divided. The same configuration file can generate different configuration file instances according to different values of configuration items. Dividing the equipment according to groups, and only configuring the examples of the templates for the equipment groups when the same configuration is needed; when a device in the group needs special configuration, a new template instance is bound for the device.
In some embodiments, in step S1, all configuration items may be divided into parent templates of various types according to different services.
It should be noted that the same configuration item may be utilized by different parent templates, that is, there may be the same configuration item between different parent templates. When different types of parent templates contain the same configuration item, a plurality of child templates can be recreated using the same configuration item, respectively. For example, if a type A template includes two configuration items A1 and A2, and a type B template includes two configuration items A1 and B2, then configuration item A1 is created as a sub-template. Therefore, the configuration of a plurality of father templates can be realized simultaneously only by configuring the sub-templates, and the father templates do not need to be configured independently.
In some embodiments, in step S3, assigning different configuration information to each of the parent configuration files and each of the child configuration files to obtain a plurality of parent configuration file instances and a plurality of child configuration file instances, further includes:
newly building a father configuration file instance or a son configuration file instance;
in response to selecting to copy the non-default parent profile instance or the non-default child profile instance, copying contents of the non-default parent profile instance or child profile instance into a newly created parent profile instance or child profile instance;
in response to selecting to copy the default parent profile instance or the default child profile instance, copying the contents of the default parent profile instance or the default child profile instance into a newly created parent profile instance or child profile instance.
Specifically, each type of template has a default template instance named default, and the configuration items of the template instance are all default values. When a template instance is newly built, firstly selecting the type of the template, then selecting whether to copy the configuration item of the template instance, namely the value of the configuration item of the non-default configuration file instance, if not, copying the content of the default template instance into the newly built template instance; and if the copying is selected, copying the contents of the copied template instance into the newly-created template instance. Thus, the same father template can obtain a plurality of template examples, and the son template can also obtain a plurality of template examples
As shown in FIG. 2, a parent template of class A may have two instances a1 and a2, a parent template of class B may have two instances B1 and B2, and a child template of class C may have two instances C1 and C2.
In some embodiments, binding the parent profile instance to a corresponding device group or device further comprises:
creating a device group;
adding the device to the group of devices;
establishing a connection with the device;
and issuing the father configuration file example bound to the equipment group and/or the equipment to the equipment.
Specifically, the devices to be managed on the device platform may be divided into different groups according to types or other factors. For example, devices of the same type or requiring the same configuration may be grouped into the same device group. When adding a device, the device group of the device may be selected first, and basic information such as the IP and the device type of the device may be input. And after the equipment platform is connected to the equipment according to the IP address, the equipment platform issues the configuration information of the various template examples bound by the selected equipment group to the equipment.
In some embodiments, issuing the parent profile instance bound to the device group and/or device to the device further includes:
judging whether the father configuration file instance bound by the equipment and the father configuration file instance bound by the equipment group to which the equipment belongs are the same father configuration file or not;
and responding to the same father configuration file, and only issuing the father configuration file example bound with the equipment to the equipment.
Specifically, the configuration items are divided into various templates according to different services, the device group and the devices can bind instances of various templates, and when a device belongs to a certain group, the priority of the template instance bound by the device is higher than that of the template instance bound by the device group. When the device does not bind a certain type of template instance, the value of the configuration item of the device is the value of the device group to which the configuration corresponding to the template instance is bound.
For example, as shown in fig. 2, the device 2 belongs to a device group a, the device group a binds to an instance a1, the device 2 separately binds to an instance a2, and a1 and a2 are different instances under the same template, when issuing a template instance to the device 2, the device group bound instance a1 is ignored, and only the device 2 issues its separately bound instance a2, but instances of other templates bound to the device group are still issued to the device a2, that is, the instance B1 of the class B template is also issued to the device a 2.
In some embodiments, further comprising:
modifying configuration information in the parent configuration file instance and/or the child configuration file instance;
querying devices and/or device groups to which the modified parent profile instance or the child profile instance is bound;
establishing a connection with a device bound to the modified parent profile instance or the child profile instance;
and issuing the father configuration file example after the configuration information is modified.
Specifically, the device group or the configuration of the device is modified. The template examples bound by the equipment group can be switched, after the switching is successful, all equipment under the equipment group is traversed, the equipment bound with other template examples in the group is removed, the equipment is sequentially connected with other equipment in the group, and the configuration items of the new template examples are issued to the equipment to enable the modified configuration to take effect; the template example bound by the equipment can be switched, and after the switching is successful, the configuration item of the new template example is issued to the equipment, so that the modified configuration is effective; the other method is that the content of the template example is directly modified, after the modification is successful, the device group and the device bound by the template example are inquired, the device bound with other template examples is removed from the bound device group, the device bound with other template examples is traversed, the device bound with other template examples and the device bound with the template examples are sequentially connected, and the modified configuration item of the template example is issued to the device, so that the modified configuration takes effect. When the sub-template instance under the parent template instance changes, all the equipment groups and equipment using the parent template instance are connected to issue a new parent template instance according to the binding relationship, so that the configuration items of the sub-template instance on the equipment take effect.
The invention adopts an equipment management platform system, configuration items are divided into templates of different types according to business modules, and common configuration items are extracted into sub-templates; and grouping the devices, wherein each device group binds the template instance of each template. When the device group and the device do not select the template, bound templates are default template instances of various types of templates. When a particular device needs to be specially configured, a template instance of the template can be bound to the device. When switching the template instance of the device group, traversing the devices in the group, if the devices bind other instances of the template of the type, skipping, and only taking effect on the devices without binding the template instance. Thus, the combination of templating and individualization is ensured. When the template instance is modified, the equipment group and the equipment bound with the template instance are inquired, and modified configuration items are issued for all the equipment in the equipment group and the equipment bound with the template instance independently. Therefore, the configuration of the corresponding equipment can be ensured to be quickly validated after the configuration is modified.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 3, an embodiment of the present invention further provides a computer apparatus 501, comprising:
at least one processor 520; and
a memory 510, the memory 510 storing a computer program 511 executable on the processor, the processor 520 executing the program to perform the steps of any of the above method of configuring a device.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 4, an embodiment of the present invention further provides a computer-readable storage medium 601, where the computer-readable storage medium 601 stores computer program instructions 610, and the computer program instructions 610, when executed by a processor, perform the steps of the method for configuring any one of the above devices.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes of the methods of the above embodiments may be implemented by a computer program to instruct related hardware to implement the methods. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a Random Access Memory (RAM). The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
In addition, the apparatuses, devices, and the like disclosed in the embodiments of the present invention may be various electronic terminal devices, such as a mobile phone, a Personal Digital Assistant (PDA), a tablet computer (PAD), a smart television, and the like, or may be a large terminal device, such as a server, and the like, and therefore the scope of protection disclosed in the embodiments of the present invention should not be limited to a specific type of apparatus, device. The client disclosed by the embodiment of the invention can be applied to any one of the electronic terminal devices in the form of electronic hardware, computer software or a combination of the electronic hardware and the computer software.
Furthermore, the method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU, and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the functions defined above in the methods disclosed in the embodiments of the present invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. 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 disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method of configuring a device, comprising the steps of:
creating a plurality of parent configuration files using the plurality of configuration items;
creating a plurality of child configuration files for a number of the configuration items to be reused between parent configuration files;
assigning different configuration information to each parent configuration file and each child configuration file to obtain a plurality of parent configuration file instances and a plurality of child configuration file instances;
binding the child configuration file instance to a corresponding parent configuration file instance;
and binding the parent configuration file instance to the corresponding device group or device.
2. The method of claim 1, wherein binding the parent profile instance to a corresponding device group or device, further comprises:
creating a device group;
adding the device to the device group;
establishing a connection with the device;
and issuing the father configuration file example bound to the equipment group and/or the equipment to the equipment.
3. The method of claim 2, wherein the parent profile instance bound to the device group and/or devices is issued to the device, further comprising:
judging whether the father configuration file instance bound by the equipment and the father configuration file instance bound by the equipment group to which the equipment belongs are the same father configuration file or not;
and responding to the same father configuration file, and only issuing the father configuration file example bound with the equipment to the equipment.
4. The method of claim 1, wherein assigning different configuration information to each of the parent configuration files and each of the child configuration files results in multiple parent configuration file instances and multiple child configuration file instances, further comprising:
newly building a father configuration file instance or a son configuration file instance;
in response to selecting to copy the non-default parent profile instance or the non-default child profile instance, copying contents of the non-default parent profile instance or child profile instance into a newly created parent profile instance or child profile instance;
in response to selecting to copy the default parent profile instance or the default child profile instance, copying the contents of the default parent profile instance or the default child profile instance into a newly created parent profile instance or child profile instance.
5. The method of claim 2, further comprising:
modifying configuration information in the parent configuration file instance and/or the child configuration file instance;
querying devices and/or device groups to which the modified parent profile instance or the child profile instance is bound;
establishing a connection with a device bound to the modified parent profile instance or the child profile instance;
and issuing the father configuration file example after the configuration information is modified.
6. A computer device, comprising:
at least one processor; and
a memory storing a computer program operable on the processor, wherein the processor executes the program to perform the steps of:
creating a plurality of parent configuration files using the plurality of configuration items;
creating a plurality of child configuration files from a plurality of the configuration items recycled between parent configuration files;
endowing each father configuration file and each son configuration file with different configuration information to obtain a plurality of father configuration file examples and a plurality of son configuration file examples;
binding the child configuration file instance to a corresponding parent configuration file instance;
and binding the parent configuration file instance to the corresponding device group or device.
7. The computer device of claim 6, wherein binding the parent profile instance to a corresponding device group or device, further comprises:
creating a device group;
adding the device to the group of devices;
establishing a connection with the device;
and issuing the father configuration file examples bound to the equipment group and/or the equipment to the equipment.
8. The computer device of claim 7, wherein the parent profile instance bound to the device group and/or device is issued to the device, further comprising:
judging whether the father configuration file instance bound by the equipment and the father configuration file instance bound by the equipment group to which the equipment belongs are the same father configuration file or not;
and responding to the same father configuration file, and only issuing the father configuration file example bound with the equipment to the equipment.
9. The computer device of claim 6, wherein assigning each of the parent configuration files and each of the child configuration files different configuration information results in a plurality of parent configuration file instances and a plurality of child configuration file instances, further comprising:
newly building a father configuration file instance or a son configuration file instance;
in response to selecting to copy the non-default parent profile instance or the non-default child profile instance, copying contents of the non-default parent profile instance or child profile instance into a newly created parent profile instance or child profile instance;
in response to selecting to copy the default parent profile instance or the default child profile instance, copying the contents of the default parent profile instance or the default child profile instance into a newly created parent profile instance or child profile instance.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out the steps of the method of any one of claims 1 to 5.
CN201911117180.0A 2019-11-15 2019-11-15 Equipment configuration method, equipment and storage medium Active CN111090453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911117180.0A CN111090453B (en) 2019-11-15 2019-11-15 Equipment configuration method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911117180.0A CN111090453B (en) 2019-11-15 2019-11-15 Equipment configuration method, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111090453A CN111090453A (en) 2020-05-01
CN111090453B true CN111090453B (en) 2022-07-08

Family

ID=70393234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911117180.0A Active CN111090453B (en) 2019-11-15 2019-11-15 Equipment configuration method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111090453B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241141B (en) * 2020-11-12 2022-08-09 上海电气风电集团股份有限公司 Hardware configuration method, system, device and medium of PLC control system
CN114333102A (en) * 2021-12-24 2022-04-12 北京三快在线科技有限公司 Parameter configuration method and configuration device of unmanned equipment
CN116032680B (en) * 2023-03-29 2023-07-11 广东好太太智能家居有限公司 Configuration method and device of intelligent equipment, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8219854B2 (en) * 2010-03-24 2012-07-10 Microsoft Corporation Validating configuration of distributed applications
JP2018151806A (en) * 2017-03-13 2018-09-27 富士通株式会社 Information processing apparatus, method for controlling information processing apparatus, and program
CN106921524B (en) * 2017-03-31 2021-12-17 新华三技术有限公司 Method and device for configuring command line tag
CN109445835A (en) * 2018-09-03 2019-03-08 平安普惠企业管理有限公司 Method, terminal device and the computer readable storage medium of building project frame
CN110427342B (en) * 2019-07-09 2022-05-24 苏州浪潮智能科技有限公司 Method, equipment and readable medium for creating mirror library

Also Published As

Publication number Publication date
CN111090453A (en) 2020-05-01

Similar Documents

Publication Publication Date Title
CN111090453B (en) Equipment configuration method, equipment and storage medium
CN110427342B (en) Method, equipment and readable medium for creating mirror library
TW202042100A (en) Method and device for cooperatively editting document, computer device and storage media
CN107423387A (en) The method and apparatus of table is divided in a kind of point storehouse based on middleware
CN102567514B (en) Data processing method and system
JP6636647B2 (en) Method and apparatus for generating a random character string
CN110929883A (en) Method and device for supporting FPGA (field programmable gate array) training in TensorFlow
CN103440198A (en) Method for calibrating form
CN110659165A (en) Multi-node server automatic testing method and device
CN107330028A (en) Expansion application methods and system of a kind of Apache NiFi in terms of source data input database
CN110442307A (en) Binding method, equipment and the storage medium of disk in a kind of linux system
CN110647423B (en) Method, device and readable medium for creating storage volume mirror image based on application
CN111309264B (en) Method, system, device and medium for making directory quota compatible with snapshot
CN111143258B (en) Method, system, device and medium for accessing FPGA (field programmable Gate array) by system based on Opencl
CN109669678A (en) Template engine integration method, device, electronic equipment and storage medium
CN111176666B (en) BIOS + ME mirror image refreshing method, system, equipment and readable medium
CN111857963A (en) Container arrangement implementation method, device, equipment and medium for Proxmox VE
US20170213176A1 (en) Workflow customization
CN110727534B (en) Method, equipment and storage medium for repairing file system
CN108399076A (en) A kind of firmware update and device based on UEFI
CN109324731A (en) Information display method and device
CN111723007B (en) Test case merging method, system, equipment and medium
CN110502296B (en) Method, equipment and storage medium for displaying firmware upgrading command
CN110266546B (en) Method, equipment and readable medium for configuring switch port
CN111090496B (en) Virtual machine memory migration method and device based on automatic iteration time adjustment

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