CN107665181A - A kind of method and system of centralized configuration equipment - Google Patents

A kind of method and system of centralized configuration equipment Download PDF

Info

Publication number
CN107665181A
CN107665181A CN201610599086.3A CN201610599086A CN107665181A CN 107665181 A CN107665181 A CN 107665181A CN 201610599086 A CN201610599086 A CN 201610599086A CN 107665181 A CN107665181 A CN 107665181A
Authority
CN
China
Prior art keywords
data
equipment
setting
configuration
script
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
CN201610599086.3A
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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610599086.3A priority Critical patent/CN107665181A/en
Publication of CN107665181A publication Critical patent/CN107665181A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/177Initialisation or configuration control
    • 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

Landscapes

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

Abstract

The invention provides a kind of method and system of centralized configuration equipment, wherein method includes:According to the configuration task of application layer, the setting data of equipment to be configured are obtained, form source data;The source data is configured, obtains target data;The target data and the source data are compared, is generated according to comparison result and script is set;The setting script is issued to management system is set, to activate the setting script in the equipment to be configured.The program supports bigger data volume, improves operational efficiency, reduces resource consumption, has more preferable Intelligent treatment effect, using simple, automation height.

Description

A kind of method and system of centralized configuration equipment
Technical field
The present invention relates to device configuration field, more particularly to a kind of method and system of centralized configuration equipment.
Background technology
It is not only easy for the global system for mobile communications with big data configuration of complexity, existing setting technology Error, and engineering is numerous and diverse poorly efficient;With business expansion, system increases, technological evolvement, its resource requirement Increasing, treatment effeciency is more and more lower, or even unavailable phenomenon occurs in system.
In the prior art, the advance store function information table of traditional concentrated setting system needs, setting steps table, Context relation table is set, share parameter is set, the function that then selection needs to set is read from data source Data configuration information needed for taking, regenerates setting command, and last logging device is configured set by order All operations.Although this concentrated setting technology has preferable scalability, without complexity man-machine language, The duplication of labour is avoided, but more shortcoming be present, including:, configuration number high to operating personnel's technical requirements There is strict limitation according to amount, do not support complex device, setting system Intelligent treatment deficiency, bad adaptability.Or When ensureing autgmentability, when task creation is set, table serial process is pressed based on model using common, it is right As design comparison is simple, it is impossible to big data processing is tackled, once data volume is bigger, setting is bigger, its System can become slower and slower;Data comparing function uses dynamic script, its process performance be not it is very stable, Sometimes fast, sometimes slowly, because script exposes the internal information of object, its security is not also high, inside system The design of system lacks good synchronization scenario, and setting can be caused correctly to issue, influence other correlation functions Performance.
The content of the invention
A kind of method and system of centralized configuration equipment are provided in the embodiment of the present invention, to solve in the prior art Setting system Intelligent treatment deficiency, bad adaptability, it is impossible to the problem of tackling big data processing.
In order to solve the above-mentioned technical problem, the embodiment of the present invention adopts the following technical scheme that:
On the one hand, the embodiment of the present invention provides a kind of method of centralized configuration equipment, including:
According to the configuration task of application layer, the setting data of equipment to be configured are obtained, form source data;
The source data is configured, obtains target data;
The target data and the source data are compared, is generated according to comparison result and script is set;
The setting script is issued to management system is set, to activate the setting in the equipment to be configured Script.
Alternatively, the configuration task according to application layer, the setting data of equipment to be configured are obtained, is formed Source data, including:
According to the configuration task of application layer, the setting data of the equipment to be configured are chosen in matching;
The setting data of the equipment to be configured are grouped, and press the size order of every group of data after packet, The setting data are obtained successively, form the source data.
Alternatively, the comparison target data and the source data, generated according to comparison result and pin is set This step of, including:
Generate inquiry of the setting data of the equipment to be configured in the source data and the target data Script;
The query script is performed, the result data obtained to inquiry carries out collecting comparison, obtains comparison result In key character information;
According to the key character information, export included in comparison result corresponding with key character information and match somebody with somebody Put difference;
According to the configuration variance, generation sets script.
Alternatively, before described the step of generating setting script according to comparison result, in addition to:
The current setting data of the equipment to be configured are obtained, by the current setting data and the number of targets According to being contrasted, the first comparing result is obtained;
First comparing result is contrasted with the comparison result, obtains the second comparing result;
When judging that second comparing result meets the conflicting requirement of device configuration, into according to the ratio The step of setting script is generated to result.
Alternatively, the configuration task according to application layer, the setting data of equipment to be configured are obtained, is formed Before the step of source data, in addition to:
At least one configuration theme template is provided to application layer user;
User is obtained to enter the first disposal subject template chosen from least one disposal subject template After row modification, the amended first configuration theme template of importing;
The configuration task is obtained from the amended first configuration theme template.
Alternatively, the configuration task according to application layer, the setting data of equipment to be configured are obtained, is formed Before the step of source data, in addition to:
Pull the setting data of equipment in the setting management system;
According to the setting data of the equipment, data image area is formed;
The configuration task according to application layer, the setting data of equipment to be configured are obtained, form source data Step, including:
According to the configuration task of application layer, the setting data of equipment to be configured are obtained from the data image area, Form source data.
On the other hand, the embodiment of the present invention also provides a kind of system of centralized configuration equipment, including:
First acquisition module, for the configuration task according to application layer, the setting data of equipment to be configured are obtained, Form source data;
Configuration module, for being configured to the source data, obtain target data;
Generation module, for comparing the target data and the source data, generated and set according to comparison result Script;
Module is issued, for issuing the setting script to management system is set, with the equipment to be configured The upper activation setting script.
Alternatively, first acquisition module, including:
Submodule is chosen in matching, and for the configuration task according to application layer, the equipment to be configured is chosen in matching Setting data;
Acquisition submodule, for being grouped to the setting data of the equipment to be configured, and by every after packet The size order of group data, the setting data are obtained successively, form the source data.
Alternatively, the generation module, including:
First generation submodule, for generating the setting data of the equipment to be configured in the source data and institute State the query script in target data;
Submodule is compared, for performing the query script, the result data obtained to inquiry carries out collecting ratio It is right, obtain the key character information in comparison result;
Output sub-module, for according to the key character information, export included in comparison result with key Configuration variance corresponding to character information;
Second generation submodule, for setting script according to the configuration variance, generation.
Alternatively, the system also includes:
Second acquisition module, for obtaining the current setting data of the equipment to be configured, currently set described Put data to be contrasted with the target data, obtain the first comparing result;
Contrast module, for first comparing result to be contrasted with the comparison result, obtain second Comparing result;
Step enters module, for judge second comparing result meet device configuration conflicting requirement When, generate the step of script is set into according to the comparison result.
Alternatively, the system also includes:
Template provides module, for providing at least one configuration theme template to application layer user;
3rd acquisition module, for obtain user to chosen from least one disposal subject template After one disposal subject template is modified, the amended first configuration theme template of importing;
4th acquisition module, appoint for obtaining the configuration from the amended first configuration theme template Business.
Alternatively, the system also includes:
Module is pulled, for pulling the setting data of equipment in the setting management system;
Module is formed, for the setting data according to the equipment, forms data image area;
First acquisition module, is specifically used for:
According to the configuration task of application layer, the setting data of equipment to be configured are obtained from the data image area, Form source data.
One or more embodiments of the invention has the advantages that:
The method of centralized configuration equipment in the present embodiment, according to the configuration task of application layer, obtain to be configured The setting data of equipment, source data is formed, is configured on the basis of source data, obtains target data, entered One step sets script according to the comparison result generation after comparing target data and source data, issues the setting script To management system is set, the setting script is activated in equipment to be configured to realize, completes centralized configuration process, The process, by being matched somebody with somebody in advance on setting data basis of the management system upper strata in equipment to be configured is set Put, after configuration is complete, intellectual analysis configuration is front and rear to set the difference of data to generate setting script, can letter What single highly effective and safe was concentrated produces setting data for equipment, by setting activation of the script in equipment to be configured Concentrated setting is completed, supports bigger data volume, improves operational efficiency, reduces resource consumption, is had more preferable Intelligent treatment effect, using simple, automation is high.
Brief description of the drawings
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear Chu, it is fully described by, it is clear that described embodiment is part of the embodiment of the present invention, rather than all Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor The every other embodiment obtained under the premise of dynamic, belongs to the scope of protection of the invention.
Fig. 1 represents the flow chart of the method for centralized configuration equipment in first embodiment of the invention;
Fig. 2 represents the flow chart of the method for centralized configuration equipment in second embodiment of the invention;
Fig. 3 represents the schematic diagram of the method institute applicable system of centralized configuration equipment in the embodiment of the present invention;
Fig. 4 represents that the instantiation of the method institute applicable system of centralized configuration equipment in the embodiment of the present invention shows It is intended to;
Fig. 5 represents the structured flowchart of the system of centralized configuration equipment in third embodiment of the invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although shown in accompanying drawing The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure without should be by Embodiments set forth here is limited.Conversely, there is provided these embodiments are to be able to be best understood from this It is open, and the scope of the present disclosure can be completely communicated to those skilled in the art.
First embodiment
A kind of method of centralized configuration equipment disclosed in the present embodiment, with reference to shown in Fig. 1, including:
Step 101:According to the configuration task of application layer, the setting data of equipment to be configured are obtained, form source Data.
Wherein, the equipment to be configured is preferably at least one, can be to the setting data of the equipment to be configured of acquisition Stored, with reference to shown in Fig. 3, equipment setting area is correspondingly formed in data factory system.Specifically, During setting data are obtained, it can obtain and required in configuration task according to the configuration task of application layer Equipment to be configured flags parameters;According to the flags parameters, matching obtain be consistent with the flags parameters to The setting data of few equipment to be configured.The acquisition of the setting data can be from recording devices in system Configuration data data center at obtain.The setting data of the equipment to be configured are equipment to be configured current The configuration data of device of state.
Step 102:The source data is configured, obtains target data.
The target data can be stored, be stored jointly into equipment setting area with the source data.
Step 103:The target data and the source data are compared, is generated according to comparison result and script is set.
After target data and source data are compared, it can obtain including the comparison result of configuration variance, Match somebody with somebody the configuration variance for postponing to obtain according to those, generate and script is set, the mesh in intellectual analysis equipment setting area Mark data and source data generation sets script, using simple, automation height.Set the generation of script can be by According to the regular protocol generation defined, script is set.
Specifically,, can be to comparison result before setting script is generated according to comparison result in the step In configuration variance carry out legitimacy inspection, the configuration variance included in the comparison result meets device configuration Legitimacy requirement when, according to the comparison result generate set script.
Step 104:The setting script is issued to management system is set, to swash in the equipment to be configured The setting script living.
The step, the setting script that previous step generates is issued to setting management system, can be managed by setting Reason system is activated to device systems, realizes and those settings are activated in equipment to be configured, completes centralized configuration mistake Journey.
The method of centralized configuration equipment in the present embodiment, according to the configuration task of application layer, obtain to be configured The setting data of equipment, source data is formed, is configured on the basis of source data, obtains target data, entered One step sets script according to the comparison result generation after comparing target data and source data, issues the setting script To management system is set, the setting script is activated in equipment to be configured to realize, completes centralized configuration process, The process, by being matched somebody with somebody in advance on setting data basis of the management system upper strata in equipment to be configured is set Put, after configuration is complete, intellectual analysis configuration is front and rear to set the difference of data to generate setting script, can letter What single highly effective and safe was concentrated produces setting data for equipment, by setting activation of the script in equipment to be configured Concentrated setting is completed, supports bigger data volume, improves operational efficiency, reduces resource consumption, is had more preferable Intelligent treatment effect, using simple, automation is high.
Further, wherein, before the step of setting script is generated according to comparison result, this method is also wrapped Include:
The current setting data of the equipment to be configured are obtained, by the current setting data and the number of targets According to being contrasted, the first comparing result is obtained;
First comparing result is contrasted with the comparison result, obtains the second comparing result;
When judging that second comparing result meets the conflicting requirement of device configuration, into according to the ratio The step of setting script is generated to result.
In the implementation process of a centralized configuration is carried out to equipment, it is understood that there may be the arrange parameter of equipment is repaiied The setting of situation about changing, now to be configured equipment of the current setting data of equipment to be configured with forming source data Data may change, and to ensure before and after device configuration, the setting data of equipment do not clash, and need Conflicting inspection is carried out to configuration process, ensures effectively configuration.The conflicting requires:First contrast As a result have between the configuration variance included in the configuration variance and above-mentioned comparison result that are included in data Uniformity, not conflicting with one another contradiction, then it is assumed that the configuration process carried out to source data is effectively configuration, according to Comparison result generation between source data and target data sets script.The process, to whether having in data The judgement of conflicting, specifically it can increase fine-grained Status Flag in parameter or list item to setting in data, If the configuration status mark included in the first comparing result and the configuration status included in above-mentioned comparison result It is masked as conflicting mutually, then it is assumed that without the uniformity in data, can quickly discover whether conflict. It is above-mentioned that configuration progress validity, the rule of validity checking can specifically be set in advance, it is stored in rule and knows Know in storehouse.
Further, the configuration task according to application layer, the setting data of equipment to be configured, shape are obtained The step of source data before, this method also includes:
At least one configuration theme template is provided to application layer user;
User is obtained to enter the first disposal subject template chosen from least one disposal subject template After row modification, the amended first configuration theme template of importing;
The configuration task is obtained from the amended first configuration theme template.
The process provides the user configuration theme template, and guiding user carries out theme setting, and user is using more Simple and fast.The formation of those configuration theme templates, can be the setting data by recording user to equipment The modification operation of progress, such as, user have modified which object which attribute, which attribute of which object Often modification, what the purpose of modification is, is recorded, and analysis extraction is carried out to those modification operations, will Theme, which is set, introduces theme setting storehouse, templates or the service of different configuration themes is formed, to be supplied to user to come These related subjects are selected to set, so as to guide simple and quick set of user to download activation, theme is set can be with Inherit and transmit evolution extension, so as to improve the property and correctness easy to use of setting.During being somebody's turn to do, Ke Yitong The modification information of the setting data of overwriting airfield equipment, the foundation that operation is set is analyzed as subject-oriented.
Further, the configuration task according to application layer, the setting data of equipment to be configured, shape are obtained The step of source data before, this method also includes:
Pull the setting data of equipment in the setting management system;
According to the setting data of the equipment, data image area is formed;
Accordingly, this obtains the setting data of equipment to be configured, forms source according to the configuration task of application layer The step of data, including:According to the configuration task of application layer, obtained from the data image area to be configured The setting data of equipment, form source data.
Wherein, in the data image area there is from the setting number for setting the multiple equipment pulled in management system record According to.
Specifically, it is described with reference to example.With reference to shown in Fig. 3, management system is set to may include in business The heart, data center and device data area.Service center mainly handles the big Grained Requirements of out-out business;Data Center is mainly directed towards the fine-grained core demand of data processing, such as, data CRUD (Create, Retrieve, Update, Delete, increase, read inquiry, renewal, delete) operation, the calling accepted business.
Set the device data area in management system to be stored with the setting data of equipment, setting for management system is set Standby data field pressure or automatic synchronization are mirrored to the data image area of data factory system, and every kind of equipment has A kind of model, equipment are present in device systems, can be individual equipment or multiple equipment, go back It can be device clusters, set management system that device data is pushed into data factory system after model is created Data image area, in order to avoid data it is inconsistent cause set data it is incorrect.Data factory system can then be divided into Set and synchronous two big modules, synchronization module are mainly responsible for maintaining data image area, make data image area with setting Standby data field keeps synchronous consistent, and setup module mainly produces according to established rule according to user's request and sets pin This, finally downloads in the equipment being activated in device systems to realize.
If altering event, Notification of Changes is pushed to service center, service center, which is responsible for becoming again, to be corrected It is really errorless to be pushed to synchronization caching area;Device data area is used for storage device and sets data, including equipment to set The setting put snapshot and changed.
The setting data of the equipment pushed by synchronization caching area are pulled from setting management system, management system is set When there is data change, change is then pushed in data with rendezvous protocol by service center for the data center of system The synchronization caching area at synchronous center is registered in factory system, synchronous center can then be pulled with backstage method of service Setting data and synchronized push in synchronization caching area do not require strongly consistent to data image area, the synchronization, but It is required that it is complete correct with it is weak consistent, to ensure that data efficient correctly issues.After data image area is formed, from The setting data of equipment to be configured are chosen in data image area, is replicated from data image area and clones those data work For source data, store to equipment setting area.
Specifically, after the setting data of equipment in pulling setting management system, those are pushed data shape is set Into data image area, and the setting data of equipment to be configured are obtained from data image area, form source data During, the operation of synchronous center and setting center to data MIRROR SITE is using read-write lock mechanism, synchronous center Synchronous needs, which obtain, writes lock to obtain the authority of data write-in, and setting center needs to obtain read lock to obtain reading Data obtain the authority of source data, and the process takes push-and-pull mechanism, read-write lock mechanism, ensures that equipment is concentrated The high setting rate of setting and the correctness of setting.
In the configuration task according to application layer, the setting number of equipment to be configured is obtained from the data image area According to during forming source data, the acquisition process being realized by data center, inherit data image All object informations of equipment in area, set and carry out batch processing equipment wherein to be configured centrally through data center Setting data, complete the acquisition process of source data, security is stronger, operation it is more stable, correctness is higher.
Second embodiment
A kind of method of centralized configuration equipment disclosed in the present embodiment, with reference to shown in Fig. 2, Fig. 3, including:
Step 201:According to the configuration task of application layer, the setting data of equipment to be configured are chosen in matching.
Record has configuration requirement, and configuration object in the configuration task of application layer, according to those contents, matching Obtain the setting data of equipment to be configured.
Step 202:Setting data to equipment to be configured are grouped, and by after packet every group of data it is big Small order, to setting data to be obtained successively, form source data.
Those set data to be formed as object to be configured, those setting data are grouped, grouping process Packet transaction can be carried out according to the size of data in setting data, and press every group of size order after grouping To setting data to be obtained successively.
Preferably, the maximum data packet size of packet is the data package size of maximum processing capability of system, Because data center has fixed time-out to set, if being put into data center once performs completion entirely, can cause Time-out, so the center of setting sends commands to data center in batches, allow data center to perform, can so keep away Exempt to wrap excessive the problem of causing data center's time-out failure, avoid wrapping too small data transfer and excessively frequently result in effect The problem of rate reduces, realizes and system processing power is made full use of.
Preferably, wherein, the process of packet transaction, Ke Yishi are carried out according to the size of data in data is set According to the size for setting data in data, packet transaction is carried out by order from big to small.After grouping by every The size order of group to setting the process that is obtained successively of data, can be after grouping according to every group of size, By order from big to small, to setting data to be obtained successively, Bao Yue great, its priority is higher, realizes To the priority treatment of larger data, a kind of optimal pipeline processes scheme is realized, its processing effect can be improved Rate.And after packet is got, the storage to those setting data can be performed by data base concurrency Journey, store to equipment setting area, the corresponding acquisition process for performing a source data, can newly divide a piece of storage Space stores to it so that object data has relative independence, operation energy fast positioning, ensures High efficiency, security and autgmentability.
The process of the acquisition source data, the configuration information of all objects to be configured in data image area is inherited, directly Data center's batch processing is connected on, and takes packet pipeline system transmission, directly obtains configuration object, more With high efficiency, security and autgmentability;The process only needs to provide simple identification id can be intelligent By data center complete source data acquisition, realize the establishment of setting task, only data center batch Perform, reduce the dependence to external model, there is higher efficiency;Meanwhile the process is to pass through bottom Data center realizes, so as to underground configuration object private information, there is a preferable security.
Step 203:The source data is configured, obtains target data.
After source data is obtained, according to configuration task, configured based on source data, realize automatic example Change the process of configuration object.After the target data is obtained, it can be stored.
Step 204:The setting data of the equipment to be configured are generated in the source data and the target data In query script.
The query script corresponds to the setting data of equipment to be configured looking into source data and in target data Inquiry process, includes the setting data of the equipment to be configured configured in target data, can be with query script It is the inquiry that the keyword in the setting data using equipment to be configured is carried out as querying condition.
Step 205:The query script is performed, the result data obtained to inquiry carries out collecting comparison, obtains Key character information into comparison result.
It is to be configured before being configured from source data after query script is performed respectively according to query script The setting data of equipment and obtain, with the setting data of equipment to be configured postponed, being looked into from target data Result is ask, the Query Result is carried out to collect comparison, obtains the key character information in comparison result.
Step 206:According to the key character information, what is included in output comparison result believes with key character Configuration variance corresponding to breath.
Above-mentioned collecting is matched somebody with somebody before and after comparison process is configured caused by the setting data of equipment to be configured Difference is put, comparison process is collected by this, according to the key character information in comparison result, exports the key Configuration variance corresponding to character.
Data center carries out collecting comparison to source data and target data, forms pipe method and realizes that this was compared Journey, its key message is recorded, then unified according to the key message batch signatures object result, not repeatedly ratio It is right, efficiency high, and key message is only recorded, memory consumption is low, stable performance.
Step 207:According to the configuration variance, generation sets script.
After configuration variance is obtained, script is set according to the regular protocol generation defined.
During it is possible to further be the legitimacy requirement for meeting device configuration in the configuration variance, according to this Configuration variance generation sets script.It is specific to check judgment rule, it can be stored in rule-based knowledge base, root According to those rules, the validity, legitimacy and conflicting of setting are checked.
Step 208:The setting script is issued to management system is set, to swash in the equipment to be configured The setting script living.
Then and then script can will be set to be issued in setting management system, and will set management system getting After the setting script, by the setting script transmission to device systems, realize and the setting script is set to be configured Standby upper activation, completes configuration process, using simple, automation height.
The method of centralized configuration equipment in the present embodiment, according to the configuration task of application layer, source data is obtained, And configuration obtains target data, script is set according to the comparison result generation after comparison target data and source data, The setting script is issued to management system is set, the setting script is activated in equipment to be configured to realize, it is complete Into centralized configuration process, the process, by setting setting data of the management system upper strata in equipment to be configured On the basis of be pre-configured with, after configuration is complete, the intellectual analysis configuration front and rear difference next life that data are set Into script is set, data simply can be set being produced for equipment for highly effective and safe concentration, by setting script treating Concentrated setting is completed in the activation configured in equipment, supports bigger data volume, improves operational efficiency, reduces money Source consumes, and has more preferable Intelligent treatment effect, using simple, automation height.
Specifically, with reference to instantiation application scenarios, the method in previous embodiment is described further.
With reference to shown in Fig. 4, specifically in network management system, be respectively from top to bottom foreground device systems, OMMR/OMMB network management systems and webmaster centralized configuration system, specifically, the MIRROR SITE example in Fig. 3 Existing network area is turned to, the equipment pulled from OMMR/OMMB network management systems is stored with existing network area and is set Data, OMMR/OMMB network management systems are the management carried out to network element device, and equipment setting area instantiates On the basis of area and planning region, reference region storage active data, planning region is stored with target data, and wound deletes setting It is instantiated as wound and deletes planning region.
In the configuration task of layer that is applied, the implementation process for carrying out primary equipment centralized configuration, in setting After the heart obtains read lock, reference region, planning region establishment are initiated, the setting of equipment to be configured is obtained from existing network area Data, source data is formed, one piece of relatively independent memory space is distributed according to planning region ID, by number According to the storage process created in storehouse automatically from those source datas of existing network area clone data, reference region is created, it is right Source data is carried out with postponing, and establishment forms planning region.
The establishment process, setting object according to object size from size order processing, and by these objects It is divided into the group that some databases can handle completion at the appointed time, forms multiple optimal streamlines, allows data Storehouse performs storage process parallel, automatic identification object, obtains object information automatically, automatically creates object, from Dynamic instance object.Device configuration process is completed, or when the device configuration process need to be terminated, is being deleted Planning region and reference region.
Analysis planning region and reference region are compared, the configuration object that the setting data to equipment to be configured are formed produces The query script of source data and target data, then query script is submitted with parametric form fast with database Speed compares storage process, allows storage process to collect data in the cache of database and with pipe method ratio To producing comparison result key message, then it is unified according to key message object output difference, finally according to object Configuration variance generated according to established rule script be set, do not repeat to compare, efficiency high, and only record is crucial Information, memory consumption is low, is performed in database cache, stable performance, using simple, automation It is high.
Checked before generation sets script, it is necessary to carry out legitimacy, conflicting etc. to configuration variance.It is legal Property inspection can be inspection that static check, global-inspection or special rules limit, the validity checking, be The inspection carried out based on the configuration variance between source data and target data, is entered according to obtained configuration variance result Row service observation, the above-mentioned process according to key message object output difference, again such that validity checking Journey is simpler, does not repeat to compare, efficiency high;Conflicting inspection is checked during a centralized configuration, The equipment in configuration modification and OMMR/OMMB network management systems in planning region to setting data sets number According to modification whether consistent change, have conflict if inconsistent and closed, it is necessary to carry out Conflict solving and difference And.
When obtaining the configuration task of application layer, theme can be introduced storehouse is set, there is provided theme template, including Ground configuration template, UMTS (Universal Mobile Telecommunications System, general shifting Dynamic communication system) radio configuration template, TDD (Time Division Duplexing, time division duplex) wirelessly matches somebody with somebody Put the related subject template such as template.User selects the theme template oneself paid close attention to from these theme templates, so After export, change, then import, completing related subject so as to rapid batch is set.User can also lead Go out related subject template, then according to established rule, change theme template, generate a new theme template, And be saved in theme and set in storehouse, evolution extension theme setting storehouse is transmitted so as to inherit, improves setting Property and correctness easy to use.
Synchronous focus instance turns to existing network synchronization, and existing network does not synchronously take message event synchronization trigger mechanism, because Long time synchronously is needed for big data, along with concurrent, performance can be caused to reduce, message was accumulated More or network chain rupture can cause information drop-out, therefore take push-and-pull mechanism, pull OMMR/OMMB Setting data in network management system, push to existing network area, can be implemented according to its own processing capabilities flexible same Step process.In the embodiment of the present invention, responsibility is clearly divided, for OMMR/OMMB webmasters The service center of system, need during initialization to preserve full dose snapshot data, or full dose snapshot data information with Just snapshot data quickly can be correctly got, when having data change, OMMR/OMMB network management system business Center needs to ensure incremental data being completely correctly pushed to synchronization caching area;Synchronous, the existing network for existing network The synchronous synchronization policy that different priorities are taken according to obstructed wheel synchronization type, complete data is synchronous, forces number According to synchronous highest priority, it is necessary to preferentially perform;Increment synchronization or Timing Synchronization, existing network are synchronous from synchronization Carried out according to synchronisation requirement pulling synchronization in buffer area.Synchronization for big data quantity, existing network synchronous task need Obtain and write lock, the synchronization for small data quantity, existing network can need not synchronously obtain and write lock, ensure system Security and process performance.
3rd embodiment
A kind of system of centralized configuration equipment disclosed in the present embodiment, with reference to shown in Fig. 5, including:First obtains Modulus block 301, configuration module 302, generation module 303 and issue module 304.
First acquisition module 301, for the configuration task according to application layer, obtain the setting of equipment to be configured Data, form source data.
Configuration module 302, for being configured to the source data, obtain target data.
Generation module 303, for comparing the target data and the source data, generated according to comparison result Script is set.
Module 304 is issued, for issuing the setting script to management system is set, with described to be configured The setting script is activated in equipment.
Wherein, first acquisition module 301, including:
Submodule is chosen in matching, and for the configuration task according to application layer, the equipment to be configured is chosen in matching Setting data.
Acquisition submodule, for being grouped to the setting data of the equipment to be configured, and by every after packet The size order of group data, the setting data are obtained successively, form the source data.
Wherein, the generation module 303, including:
First generation submodule, for generating the setting data of the equipment to be configured in the source data and institute State the query script in target data.
Submodule is compared, for performing the query script, the result data obtained to inquiry carries out collecting ratio It is right, obtain the key character information in comparison result.
Output sub-module, for according to the key character information, export included in comparison result with key Configuration variance corresponding to character information.
Second generation submodule, for setting script according to the configuration variance, generation.
Wherein, the system also includes:
Second acquisition module, for obtaining the current setting data of the equipment to be configured, currently set described Put data to be contrasted with the target data, obtain the first comparing result;
Contrast module, for first comparing result to be contrasted with the comparison result, obtain second Comparing result;
Step enters module, for judge second comparing result meet device configuration conflicting requirement When, generate the step of script is set into according to the comparison result.
Wherein, the system also includes:
Template provides module, for providing at least one configuration theme template to application layer user.
3rd acquisition module, for obtain user to chosen from least one disposal subject template After one disposal subject template is modified, the amended first configuration theme template of importing.
4th acquisition module, appoint for obtaining the configuration from the amended first configuration theme template Business.
Wherein, the system also includes:
Module is pulled, for pulling the setting data of equipment in the setting management system.
Module is formed, for the setting data according to the equipment, forms data image area.
First acquisition module 301, is specifically used for:According to the configuration task of application layer, from the data The setting data of equipment to be configured are obtained in MIRROR SITE, form source data.
The system of centralized configuration equipment in the present embodiment, according to the configuration task of application layer, source data is obtained, And configuration obtains target data, script is set according to the comparison result generation after comparison target data and source data, The setting script is issued to management system is set, the setting script is activated in equipment to be configured to realize, it is complete Into centralized configuration process, the process, by setting setting data of the management system upper strata in equipment to be configured On the basis of be pre-configured with, after configuration is complete, the intellectual analysis configuration front and rear difference next life that data are set Into script is set, data simply can be set being produced for equipment for highly effective and safe concentration, by setting script treating Concentrated setting is completed in the activation configured in equipment, supports bigger data volume, improves operational efficiency, reduces money Source consumes, and has more preferable Intelligent treatment effect, using simple, automation height.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed All be the difference with other embodiment, between each embodiment identical similar part mutually referring to.
Although having been described for the preferred embodiment of the embodiment of the present invention, those skilled in the art once obtain Cicada basic creative concept, then other change and modification can be made to these embodiments.It is so appended Claim is intended to be construed to include preferred embodiment and falls into being had altered for range of embodiment of the invention And modification.
Finally, it is to be noted that, in embodiments of the present invention, such as first and second or the like pass It is that term is used merely to make a distinction an entity or operation with another entity or operation, and not necessarily It is required that either imply between these entities or operation any this actual relation or order be present.Moreover, Term " comprising ", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that Process, method, article or the terminal device of a series of elements, which must be included, not only includes those key elements, and Also include the other element that is not expressly set out, or also include for this process, method, article or The intrinsic key element of terminal device.In the absence of more restrictions, by sentence "including a ..." The key element of restriction, it is not excluded that in the process including the key element, method, article or terminal device also Other identical element be present.
Above-described is the preferred embodiment of the present invention, it should be pointed out that for the ordinary people of the art For member, some improvements and modifications can also be made under the premise of principle of the present invention is not departed from, these Improvements and modifications are also within the scope of the present invention.

Claims (12)

  1. A kind of 1. method of centralized configuration equipment, it is characterised in that including:
    According to the configuration task of application layer, the setting data of equipment to be configured are obtained, form source data;
    The source data is configured, obtains target data;
    The target data and the source data are compared, is generated according to comparison result and script is set;
    The setting script is issued to management system is set, to activate the setting in the equipment to be configured Script.
  2. 2. according to the method for claim 1, it is characterised in that
    The configuration task according to application layer, the setting data of equipment to be configured are obtained, form source data, Including:
    According to the configuration task of application layer, the setting data of the equipment to be configured are chosen in matching;
    The setting data of the equipment to be configured are grouped, and press the size order of every group of data after packet, The setting data are obtained successively, form the source data.
  3. 3. according to the method for claim 1, it is characterised in that
    The comparison target data and the source data, the step of setting script is generated according to comparison result, Including:
    Generate inquiry of the setting data of the equipment to be configured in the source data and the target data Script;
    The query script is performed, the result data obtained to inquiry carries out collecting comparison, obtains comparison result In key character information;
    According to the key character information, export included in comparison result corresponding with key character information and match somebody with somebody Put difference;
    According to the configuration variance, generation sets script.
  4. 4. according to the method for claim 1, it is characterised in that
    Before described the step of generating setting script according to comparison result, in addition to:
    The current setting data of the equipment to be configured are obtained, by the current setting data and the number of targets According to being contrasted, the first comparing result is obtained;
    First comparing result is contrasted with the comparison result, obtains the second comparing result;
    When judging that second comparing result meets the conflicting requirement of device configuration, into according to the ratio The step of setting script is generated to result.
  5. 5. according to the method for claim 1, it is characterised in that
    The configuration task according to application layer, the setting data of equipment to be configured are obtained, form source data Before step, in addition to:
    At least one configuration theme template is provided to application layer user;
    User is obtained to enter the first disposal subject template chosen from least one disposal subject template After row modification, the amended first configuration theme template of importing;
    The configuration task is obtained from the amended first configuration theme template.
  6. 6. according to the method for claim 1, it is characterised in that
    The configuration task according to application layer, the setting data of equipment to be configured are obtained, form source data Before step, in addition to:
    Pull the setting data of equipment in the setting management system;
    According to the setting data of the equipment, data image area is formed;
    The configuration task according to application layer, the setting data of equipment to be configured are obtained, form source data Step, including:
    According to the configuration task of application layer, the setting data of equipment to be configured are obtained from the data image area, Form source data.
  7. A kind of 7. system of centralized configuration equipment, it is characterised in that including:
    First acquisition module, for the configuration task according to application layer, the setting data of equipment to be configured are obtained, Form source data;
    Configuration module, for being configured to the source data, obtain target data;
    Generation module, for comparing the target data and the source data, generated and set according to comparison result Script;
    Module is issued, for issuing the setting script to management system is set, with the equipment to be configured The upper activation setting script.
  8. 8. system according to claim 7, it is characterised in that first acquisition module, including:
    Submodule is chosen in matching, and for the configuration task according to application layer, the equipment to be configured is chosen in matching Setting data;
    Acquisition submodule, for being grouped to the setting data of the equipment to be configured, and by every after packet The size order of group data, the setting data are obtained successively, form the source data.
  9. 9. system according to claim 7, it is characterised in that the generation module, including:
    First generation submodule, for generating the setting data of the equipment to be configured in the source data and institute State the query script in target data;
    Submodule is compared, for performing the query script, the result data obtained to inquiry carries out collecting ratio It is right, obtain the key character information in comparison result;
    Output sub-module, for according to the key character information, export included in comparison result with key Configuration variance corresponding to character information;
    Second generation submodule, for setting script according to the configuration variance, generation.
  10. 10. system according to claim 7, it is characterised in that also include:
    Second acquisition module, for obtaining the current setting data of the equipment to be configured, currently set described Put data to be contrasted with the target data, obtain the first comparing result;
    Contrast module, for first comparing result to be contrasted with the comparison result, obtain second Comparing result;
    Step enters module, for judge second comparing result meet device configuration conflicting requirement When, generate the step of script is set into according to the comparison result.
  11. 11. system according to claim 7, it is characterised in that also include:
    Template provides module, for providing at least one configuration theme template to application layer user;
    3rd acquisition module, for obtain user to chosen from least one disposal subject template After one disposal subject template is modified, the amended first configuration theme template of importing;
    4th acquisition module, appoint for obtaining the configuration from the amended first configuration theme template Business.
  12. 12. system according to claim 7, it is characterised in that also include:
    Module is pulled, for pulling the setting data of equipment in the setting management system;
    Module is formed, for the setting data according to the equipment, forms data image area;
    First acquisition module, is specifically used for:
    According to the configuration task of application layer, the setting data of equipment to be configured are obtained from the data image area, Form source data.
CN201610599086.3A 2016-07-27 2016-07-27 A kind of method and system of centralized configuration equipment Pending CN107665181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610599086.3A CN107665181A (en) 2016-07-27 2016-07-27 A kind of method and system of centralized configuration equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610599086.3A CN107665181A (en) 2016-07-27 2016-07-27 A kind of method and system of centralized configuration equipment

Publications (1)

Publication Number Publication Date
CN107665181A true CN107665181A (en) 2018-02-06

Family

ID=61114601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610599086.3A Pending CN107665181A (en) 2016-07-27 2016-07-27 A kind of method and system of centralized configuration equipment

Country Status (1)

Country Link
CN (1) CN107665181A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046153A (en) * 2018-11-19 2019-07-23 阿里巴巴集团控股有限公司 A kind of method, device and equipment of account fund verification
CN111028931A (en) * 2019-12-11 2020-04-17 医渡云(北京)技术有限公司 Medical data processing method and device, electronic equipment and storage medium
CN114297271A (en) * 2021-11-08 2022-04-08 北京思特奇信息技术股份有限公司 Method and system based on data dynamic conversion

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913559A (en) * 2006-08-30 2007-02-14 华为技术有限公司 Method and system of data service
CN101079755A (en) * 2007-07-03 2007-11-28 中兴通讯股份有限公司 Configuration method of network element management system
CN101860570A (en) * 2010-06-10 2010-10-13 中兴通讯股份有限公司 Method for backuping and restoring user data of mobile terminal
CN103109515A (en) * 2012-09-05 2013-05-15 华为技术有限公司 Business deploy method and device
US8769487B2 (en) * 2012-04-10 2014-07-01 Oracle International Corporation Configurable auto content testing framework for technical documentation
CN104965735A (en) * 2015-06-18 2015-10-07 北京京东尚科信息技术有限公司 Apparatus for generating upgrade SQL script
CN104966133A (en) * 2015-06-11 2015-10-07 安徽融信金模信息技术有限公司 Method for analyzing operation conditions of small and medium-sized enterprises
CN105224351A (en) * 2014-06-17 2016-01-06 中兴通讯股份有限公司 Rapid configuration implementation method and rapid configuration server
CN105550930A (en) * 2015-12-08 2016-05-04 安徽融信金模信息技术有限公司 Enterprise credit assessment method based on network data
CN105653253A (en) * 2014-12-02 2016-06-08 中兴通讯股份有限公司 Method and device for centralized configuration

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913559A (en) * 2006-08-30 2007-02-14 华为技术有限公司 Method and system of data service
CN101079755A (en) * 2007-07-03 2007-11-28 中兴通讯股份有限公司 Configuration method of network element management system
CN101860570A (en) * 2010-06-10 2010-10-13 中兴通讯股份有限公司 Method for backuping and restoring user data of mobile terminal
US8769487B2 (en) * 2012-04-10 2014-07-01 Oracle International Corporation Configurable auto content testing framework for technical documentation
CN103109515A (en) * 2012-09-05 2013-05-15 华为技术有限公司 Business deploy method and device
CN105224351A (en) * 2014-06-17 2016-01-06 中兴通讯股份有限公司 Rapid configuration implementation method and rapid configuration server
CN105653253A (en) * 2014-12-02 2016-06-08 中兴通讯股份有限公司 Method and device for centralized configuration
CN104966133A (en) * 2015-06-11 2015-10-07 安徽融信金模信息技术有限公司 Method for analyzing operation conditions of small and medium-sized enterprises
CN104965735A (en) * 2015-06-18 2015-10-07 北京京东尚科信息技术有限公司 Apparatus for generating upgrade SQL script
CN105550930A (en) * 2015-12-08 2016-05-04 安徽融信金模信息技术有限公司 Enterprise credit assessment method based on network data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046153A (en) * 2018-11-19 2019-07-23 阿里巴巴集团控股有限公司 A kind of method, device and equipment of account fund verification
CN110046153B (en) * 2018-11-19 2023-09-05 创新先进技术有限公司 Account fund checking method, device and equipment
CN111028931A (en) * 2019-12-11 2020-04-17 医渡云(北京)技术有限公司 Medical data processing method and device, electronic equipment and storage medium
CN111028931B (en) * 2019-12-11 2023-08-22 医渡云(北京)技术有限公司 Medical data processing method and device, electronic equipment and storage medium
CN114297271A (en) * 2021-11-08 2022-04-08 北京思特奇信息技术股份有限公司 Method and system based on data dynamic conversion

Similar Documents

Publication Publication Date Title
EP2932370B1 (en) System and method for performing a transaction in a massively parallel processing database
CN108932282A (en) A kind of database migration method, apparatus and storage medium
CN111597015B (en) Transaction processing method and device, computer equipment and storage medium
WO2018223214A1 (en) A permissioned blockchain development system based on open blockchain connector (obcc)
CN109906448A (en) Promote the operation on pluggable database using individual logical time stamp service
CN108446976B (en) A kind of common reserve fund transfer method, computer readable storage medium and terminal device
CN107113341A (en) The system of the high-throughput processing of affairs in the Distributed Relation Database Management System divided for data
CN107148617A (en) Automatically configuring for storage group is coordinated in daily record
CN107786355A (en) A kind of method and apparatus of smart city information sharing
US20110167041A1 (en) Method and device for maintaining a changelog in data synchronization
CN111881223A (en) Data management method, device, system and storage medium
CN109343979A (en) A kind of configuring management method and system
CN107665181A (en) A kind of method and system of centralized configuration equipment
CN107832448A (en) Database operation method, device and equipment
CN102222278A (en) Operation process customizing method and device
CN113542390B (en) Internet of things equipment management method and system adopting memory data model
CN112084270A (en) Data blood margin processing method and device, storage medium and equipment
CN108228762B (en) Method and system for configuring master database universal templates
CN112970011B (en) Pedigree in record query optimization
CN106598885B (en) A kind of working method of configurable multiport general data bridge system
Palmer et al. RAVEN: Using smartphones for collaborative disaster data collection.
CN107391539A (en) Transaction methods, server and storage medium
WO2016197953A1 (en) Method and device for deploying multi-mode base station
CN113568921A (en) Multi-person cooperative operation method for geographic information data production and update
EP2881896A1 (en) Near field communication tag based data transfer

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