CN107465704A - A kind of data download method and device - Google Patents

A kind of data download method and device Download PDF

Info

Publication number
CN107465704A
CN107465704A CN201610387425.1A CN201610387425A CN107465704A CN 107465704 A CN107465704 A CN 107465704A CN 201610387425 A CN201610387425 A CN 201610387425A CN 107465704 A CN107465704 A CN 107465704A
Authority
CN
China
Prior art keywords
data
business
entry
resource
colliding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610387425.1A
Other languages
Chinese (zh)
Other versions
CN107465704B (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.)
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 CN201610387425.1A priority Critical patent/CN107465704B/en
Publication of CN107465704A publication Critical patent/CN107465704A/en
Application granted granted Critical
Publication of CN107465704B publication Critical patent/CN107465704B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment provides a kind of data download method and device, wherein, this method includes:Data download request is received, and according to data download request, receives the first data that webmaster issues;The colliding data with the first data collision is found out in the second data stored from grouping conveying network PTN device;Colliding data and the first data are issued, and eliminates colliding data.Embodiments of the invention can be in the case of non-interrupting service, data quick, that successfully download webmaster issues.

Description

A kind of data download method and device
Technical field
The present invention relates to communication technique field, more particularly to a kind of data download method and device.
Background technology
Equipment is in engineer applied, equipment for Packet Transport Network (PTN, Packet Transport Network) The business and resource of upper configuration up to tens thousand of, because business datum is various, operation hours length, upgrading Device version, webmaster change the reasons such as configuration offline, inevitably cause device data exception or net Pipe data and device data are inconsistent, thus need the data of synchronizing network management and equipment.
Wherein, a kind of method of the data of synchronizing network management and equipment is exactly to be downloaded the data to by webmaster in equipment, Both are allowed data to be consistent, the business normal operation being easy in maintained equipment.Yet with many reasons, Often during download, there is punching in the data stored in data and device databases that webmaster request issues Prominent, conflict scene is including mutual exclusion, binding relationship do not release between mutual exclusion, object in object.Such as static tunnel The resource contention that road, business use;Agreement (IP, the Internet interconnected between network between interface Protocol) conflict etc., these conflicts can all cause failed download.If the service disconnection in downloading process, Influenceing can be very big, has a strong impact on CSAT.
But when conflicting at present in downloading process, it manually can only change conflict item by item according to miscue and match somebody with somebody Put, not only efficient under, can not also meet non-interrupting service download the needs of.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of data download method and device, can be in non-interrupting service In the case of, data quick, that successfully download webmaster issues.
In order to achieve the above object, the embodiment provides a kind of data download method, including:
Data download request is received, and according to data download request, receives the first data that webmaster issues;
Found out in the second data stored from grouping conveying network PTN device and the first data collision Colliding data;
Colliding data and the first data are issued, and eliminates colliding data.
Wherein, found out in the second data stored from grouping conveying network PTN device and the first data The step of colliding data of conflict, including:
First data are entered with row format conversion, obtains the 3rd data, the form of the 3rd data is PTN device Recognizable form;
If webmaster issues the mode of the first data to download, according to first in default resource contention rule Resource, the first industry for being configured with first resource is found out in the multiple first business entries included from the 3rd data It is engaged in entry, and is found out in the multiple second business entries included from the second data and be configured with the of first resource Two business entries;
The first business entry of first resource and the second business entry of first resource is configured with according to being configured with, Colliding data is found out from the second data.
Wherein, the first business entry of first resource and the second business of first resource is configured with according to being configured with Entry, the step of finding out colliding data from the second data, including:
The the first business entry for being configured with first resource and the second business entry for being configured with first resource are entered Row compares;
If the first Business Name configured in the second business entry of first resource is configured with, with being configured with first The second Business Name configured in first business entry of resource differs, then will be configured with the of first resource Two business entries are as colliding data.
Wherein, if webmaster issues the mode of the first data to download, method also includes:
According to the 3rd Business Name in default modification conflict rule, multiple first included from the 3rd data The the first business entry for being configured with the 3rd Business Name is found out in business entry, and include from the second data The the second business entry for being configured with the 3rd Business Name is found out in multiple second business entries;
According to the first business entry for being configured with the 3rd Business Name and it is configured with the second of the 3rd Business Name Business entry, colliding data is found out from the second data.
Wherein, according to be configured with the 3rd Business Name the first business entry and be configured with the 3rd Business Name Second business entry, the step of finding out colliding data from the second data, including:
To being configured with the first business entry of the 3rd Business Name and being configured with the second industry of the 3rd Business Name Business entry is compared;
If the Secondary resource configured in the first business entry of the 3rd Business Name is configured with, with being configured with the 3rd The information resources configured in second business entry of Business Name differ, then will be configured with the 3rd Business Name The second business entry as colliding data.
Wherein, if webmaster issues the mode of the first data to download, method also includes:
According to the pre-set business entry in default deletion conflict rule, multiple first included from the 3rd data Found out in business entry with pre-set business entry identical the first business entry, and include from the second data Found out in multiple second business entries and pre-set business entry identical the second business entry;
Pair with pre-set business entry identical the first business entry and with pre-set business entry the second industry of identical Business entry is compared, and determines the first business entry that webmaster is deleted offline;
Found out from multiple second business entries and rely on the second of the first business entry that webmaster is deleted offline Business entry, and the second business entry of the first business entry that webmaster is deleted offline will be relied on as number of collisions According to.
Wherein, the step of issuing colliding data and the first data, and eliminating colliding data, including:
According to default data point reuse rule, the adjustment information being adjusted to colliding data is generated;
The information model into PTN device issues colliding data and the 3rd data successively, wherein, issue Adjustment information is carried in colliding data, so that information model is adjusted according to adjustment information to colliding data.
Wherein, data point reuse rule includes data modification rule or data deletion rule.
Embodiments of the invention additionally provide a kind of data download apparatus, including:
Receiving module, for receiving data download request, and according to data download request, receive webmaster and issue The first data;
Searching modul, for found out in the second data for being stored from grouping conveying network PTN device with The colliding data of first data collision;
Module is issued, for issuing colliding data and the first data, and eliminates colliding data.
Wherein, searching modul includes:
Converting unit, for the first data to be entered with row format conversion, obtain the 3rd data, the lattice of the 3rd data Formula is the form that PTN device can recognize that;
First searching unit, if the modes of the first data is issued for webmaster to download, according to default money First resource in the conflict rule of source, configuration is found out in the multiple first business entries included from the 3rd data There is the first business entry of first resource, and found out in the multiple second business entries included from the second data It is configured with the second business entry of first resource;
Second searching unit, it is configured with the first business entry of first resource for basis and is configured with the first money The second business entry in source, colliding data is found out from the second data.
Wherein, the second searching unit includes:
First searches subelement, for being configured with the first business entry of first resource and being configured with the first money The second business entry in source is compared;
Second searches subelement, if for being configured with the first industry configured in the second business entry of first resource Business title, is differed, then with being configured with the second Business Name configured in the first business entry of first resource The second business entry of first resource will be configured with as colliding data.
Wherein, if webmaster issues the mode of the first data to download, device also includes:
First module, for the 3rd Business Name in default modification conflict rule, from the 3rd data Including multiple first business entries in find out and be configured with the first business entry of the 3rd Business Name, and from The second business for being configured with the 3rd Business Name is found out in multiple second business entries that second data include Entry;
Second module, it is configured with the first business entry of the 3rd Business Name for basis and is configured with the 3rd industry Second business entry of title of being engaged in, colliding data is found out from the second data.
Wherein, the second module includes:
First module, for being configured with the first business entry of the 3rd Business Name and being configured with the 3rd business Second business entry of title is compared;
Second unit, if for being configured with the Secondary resource configured in the first business entry of the 3rd Business Name, Differ, then will be configured with being configured with the information resources configured in the second business entry of the 3rd Business Name Second business entry of the 3rd Business Name is as colliding data.
Wherein, if webmaster issues the mode of the first data to download, device also includes:
3rd module, for the pre-set business entry in default deletion conflict rule, from the 3rd data Including multiple first business entries in find out with pre-set business entry identical the first business entry, and from Found out in multiple second business entries that second data include and pre-set business entry the second business of identical Entry;
4th module, for pair with pre-set business entry identical the first business entry and with pre-set business entry Identical the second business entry is compared, and determines the first business entry that webmaster is deleted offline;
5th module, for finding out the first industry for relying on webmaster and deleting offline from multiple second business entries Second business entry of entry of being engaged in, and the second business bar that the first business entry that webmaster is deleted offline will be relied on Mesh is as colliding data.
Wherein, issuing module includes:
Generation unit, for according to default data point reuse rule, generating the tune being adjusted to colliding data Whole information;
Issuance unit, colliding data and the 3rd data are issued for the information model successively into PTN device, Wherein, carry adjustment information in the colliding data issued so that information model according to adjustment information to number of collisions According to being adjusted.
Wherein, data point reuse rule includes data modification rule or data deletion rule.
The such scheme of the present invention comprises at least following beneficial effect:
In an embodiment of the present invention, by when receiving the first data that webmaster issues, being transmitted from packet The colliding data with the first data collision is found out in the second data stored in the network equipment, then issues this Colliding data and the first data, and eliminate the colliding data, solve when conflicting in downloading process, Manually according to miscue item by item change conflict configuration, not only efficient under, can not also meet non-interrupting service The problem of demand of download, reach in the case of non-interrupting service, quickly, successfully downloaded under webmaster The effect of the data of hair.
Brief description of the drawings
Fig. 1 is the flow chart of data download method in first embodiment of the invention;
Fig. 2 is the flow chart of step 102 in Fig. 1 in first embodiment of the invention;
Fig. 3 is the flow chart of step 103 in Fig. 1 in first embodiment of the invention;
Fig. 4 is the structural representation of data download apparatus in second 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
As shown in figure 1, the first embodiment of the present invention provides a kind of data download method, this method includes:
Step 101, data download request is received, and according to data download request, receive that webmaster issues the One data.
Wherein, above-mentioned data download request is used to ask to download the first data on webmaster.
In the first embodiment of the present invention, the second number stored in grouping conveying network (PTN) equipment According to the second data stored in the first data and PTN device in exception or webmaster it is inconsistent when, PTN Adaptation module in equipment can download the first data according to the data download request received from webmaster, i.e. Receive the first data that webmaster issues to it.
Step 102, find out in the second data stored from grouping conveying network equipment and rushed with the first data Prominent colliding data.
Wherein, above-mentioned second data can be Command Line Interface (CLI, command-line interface) Etc. terminal or webmaster when to PTN device configuration service, configure and be stored in PTN device data Data.
In the first embodiment of the present invention, if due to exist in the second data for being stored in PTN device with The colliding data of first data collision, it can cause to download the first data failure.Therefore, it is necessary to first by number of collisions It is investigated that finding out, and it is handled, to download the success of the first data.
Step 103, colliding data and the first data are issued, and eliminates colliding data.
In the first embodiment of the present invention, the information model when adaptation module into PTN device issues prominent When data and the first data, colliding data can be adjusted, i.e. eliminate the colliding data, make the second number The data with the first data collision are not present in, consequently facilitating successfully downloading the first data.
It can be seen that in the first embodiment of the present invention, by when receiving the first data that webmaster issues, The colliding data with the first data collision is found out in the second data stored from grouping conveying network equipment, Then the colliding data and the first data are issued, and eliminates the colliding data, solves and goes out in downloading process When now conflicting, manually according to miscue item by item change conflict configuration, not only efficient under, can not also meet The problem of demand that non-interrupting service is downloaded, reach in the case of non-interrupting service, quickly, successfully The data (i.e. above-mentioned first data) that webmaster issues are downloaded, lift the effect of user satisfaction.
Alternatively, in the first embodiment of the present invention, as shown in Fig. 2 above-mentioned steps 102 are including as follows Step:
Step 201, the first data are entered with row format conversion, obtains the 3rd data.
Wherein, the second data in the first data and PTN device in webmaster have respective specific data Form, the form of the two are likely to differ, it is therefore desirable to which the first data issued to webmaster are entered row format and turned Change, the form for making the form of the 3rd data after changing can recognize that into PTN device.Certainly, if in webmaster The first data it is identical with the form of the second data in PTN device if, just need not enter row format turn Change.
In the first embodiment of the present invention, the process of above-mentioned form conversion is illustrated with an instantiation.Assuming that First data are referred to as Qx form messages, the second data are referred to as M mouth messages, and adaptation module is to every M The object abbreviation object identifier (OID, Object Identifier) that mouth message is modeled, each OID There is respective attribute.And due to Qx forms message and M mouth messages both data models granularity not Unanimously, and the fineness ratio M mouth messages of Qx form messages granularity it is big, so to Qx forms message carry out During conversion, a Qx form message generally corresponds to multiple OID of adaptation module.
Step 202, if webmaster issues the mode of the first data to download, advised according to default resource contention First resource in then, find out in the multiple first business entries included from the 3rd data and be configured with the first money The first business entry in source, and found out in the multiple second business entries included from the second data and be configured with Second business entry of one resource.
Wherein, the first resource in above-mentioned resource contention rule can be interface, IP, tag name etc..
Wherein, what is actually included in the 3rd data is the first multiple business entries, wherein each first business All include (being configured with) one Business Name in entry, and except Business Name in the first business entry of part Outside, it is also configured with resource;What is actually included in the second similar data is the second multiple business entries, its In each second business entry include and (being configured with) Business Name, and part the second business entry In in addition to Business Name, be also configured with resource.
In addition, above-mentioned resource contention rule is mainly mutual including resource (such as interface, IP, tag name etc.) Reprimand relation, if for example, business 1 has used interface 1, then other business just can not use interface 1.Tool Body, the resource contention rule is that staff is rule of thumb set in advance.Because staff can basis Rich experience, analysis and summary go out the resource which business uses and easily conflicted.So, adaptation module Can be according to the first resource in resource contention rule from multiple first business entries and multiple second business bars Retrieved in mesh, find out the first business entry and for the first resource being configured with resource contention rule Two business entries.
It should be noted that if reading webmaster issues the modes of the first data not to be to download, but other , step follow-up in first embodiment of the invention is just not carried out, it specifically performs flow and existing procedure Equally, therefore here, without excessively repeating.
Step 203, according to be configured with first resource the first business entry and be configured with the second of first resource Business entry, colliding data is found out from the second data.
Wherein, the first resource in step 203 refers to the first resource in resource contention rule.
In the first embodiment of the present invention, can be by being configured with the first business entry of first resource and matching somebody with somebody The mode that the second business entry of first resource is compared is equipped with, colliding data is found out from the second data. Specifically, if comparing out the first Business Name configured in the second business entry for be configured with first resource, with It is configured with the second Business Name configured in the first business entry of first resource to differ, then will be configured with Second business entry of one resource is as colliding data.
In the first embodiment of the present invention, above-mentioned steps 202 and step 203 are illustrated with an instantiation. Assuming that the first resource in resource contention rule is interface 1, with interface 1 from multiple first business entry lookups The first resource for going out the configuration of business entry 1 is interface 1, while is looked into interface 1 from multiple second business entries The first resource for finding out the configuration of business entry 2 is interface 1, and then business entry 1 and business entry 2 are entered Row compares, and the Business Name configured in the Business Name and business entry 1 that are configured in discovery business entry 2 is not It is identical, just using the business entry 2 as colliding data.
In the first embodiment of the present invention, if webmaster issues the mode of the first data to download, the above method Also include finding out in other two kinds the second data stored from PTN device and rushed with the first data collision The mode of prominent data.
Wherein, first way is:The 3rd Business Name first in default modification conflict rule, The first industry for being configured with the 3rd Business Name is found out in the multiple first business entries included from the 3rd data Business entry, and found out in the multiple second business entries included from the second data and be configured with the 3rd Business Name The second business entry, then according to be configured with the 3rd Business Name the first business entry and be configured with the 3rd Second business entry of Business Name, colliding data is found out from the second data.Specifically, can be by right It is configured with the first business entry of the 3rd Business Name and is configured with the second business entry of the 3rd Business Name The mode being compared, colliding data is found out from the second data.If it is configured with more specifically, comparing out The Secondary resource (such as interface, IP, tag name etc.) configured in first business entry of the 3rd Business Name, With being configured with the information resources configured in the second business entry of the 3rd Business Name (such as interface, IP, mark Signature etc.) differ, then the second business entry of the 3rd Business Name will be configured with as colliding data.Need It is noted that above-mentioned Secondary resource and information resources are same type of resource, such as all it is interface.
In the first embodiment of the present invention, above-mentioned first way is illustrated with an instantiation.Assuming that modification Business Name in conflict rule is title 1, goes out business bar from multiple first business entry lookups with title 1 The Business Name of mesh 3 is title 1, while goes out the business of business entry 4 from multiple second business entry lookups Entitled title 1, then business entry 3 and business entry 4 are compared, and find in business entry 4 The interface of configuration is interface 2, and the interface configured in business entry 3 is interface 3, just by business entry 4 As colliding data.
The second way is:Pre-set business entry first in default deletion conflict rule, from the 3rd Found out in multiple first business entries that data include with pre-set business entry identical the first business entry, And found out in the multiple second business entries included from the second data and pre-set business entry identical second Business entry, then pair with pre-set business entry identical the first business entry and identical with pre-set business entry The second business entry be compared, the first business entry that webmaster is deleted offline is determined, finally from multiple The the second business entry for relying on the first business entry that webmaster is deleted offline is found out in second business entry, and The second business entry of the first business entry that webmaster is deleted offline will be relied on as colliding data.
In the first embodiment of the present invention, the above-mentioned second way is illustrated with an instantiation.It is assuming that specific Delete conflict rule content in ground:If webmaster is deleted business entry 5 and relied on, it is necessary to delete in PTN device The business entry of the business entry 5, i.e. the pre-set business entry deleted in conflict rule is business entry 5, Go out from multiple first business entry lookups has 4 with identical the first business entry of business entry 5, and from more Individual second business entry lookup goes out has 5 with identical the second business entry of business entry 5, pair with business bar 5 identical of mesh, 4 the first business entries and 5 the second business entries are compared, and determine that webmaster is offline Which business entry 5 what is deleted is, and will rely on the second business entry of these business entries 5 as conflict Data.
It should be noted that above-mentioned deletion conflict rule and modification conflict rule are similar with resource contention rule, All it is that staff is rule of thumb set in advance.
Alternatively, in the first embodiment of the present invention, as shown in figure 3, above-mentioned steps 103 are including as follows Step:
Step 301, according to default data point reuse rule, the adjustment letter being adjusted to colliding data is generated Breath.
In the first embodiment of the present invention, above-mentioned data point reuse rule includes data modification rule or data are deleted Except rule, correspondingly, above-mentioned adjustment information is used to indicate modification or deletes colliding data.Wherein, data are repaiied Change the restrictive condition that rule refers to modify to the colliding data in the second data in PTN device, no Arbitrarily can directly it modify;Similarly, data deletion rule refers to the second data in PTN device In the restrictive condition deleted of colliding data, it is impossible to arbitrarily directly deleted.For example, business 1 Dependence be present with business 2, to business 1 be modified or being deleted, it is necessary to first be carried out to business 2 Modification is deleted.It should be noted that above-mentioned data point reuse rule is similar with resource contention rule, all it is work It is rule of thumb set in advance to make personnel, specifically, the two can all be entered by field language-specific (DSL) Edlin is set, and is preserved into PTN device.
Step 302, the information model successively into PTN device issues colliding data and the 3rd data.
Wherein, above-mentioned adjustment information is carried in the colliding data issued, so that information model is according to adjustment information Colliding data is adjusted.In addition, above-mentioned 3rd data are the number entered to the first data after row format conversion According to.It should be noted that only after the 3rd data are successfully issued to information model, PTN device is downloaded Data just terminate.
In the first embodiment of the present invention, due to the limitation of information model realization mechanism, it is in the bag of processing one During data, the second number in the colliding data real time modifying PTN device database above issued can not be handled According to when causing to issue three data below, the colliding data in PTN device database still has, and leads Cause failed download.Therefore colliding data and the 3rd data can not be sent in same bag, and need subpackage to send punching Prominent data and the 3rd data.That is, step 302 is specially:The subpackage information mould into PTN device successively Type issues colliding data and the 3rd data.
Specifically, colliding data can be issued in the first bag, and carries above-mentioned adjustment information simultaneously, so that information Model is adjusted according to adjustment information to colliding data;Then the 3rd data are issued in the second bag, so as to protect It is unaffected to demonstrate,prove core data, downloads successfully.Certainly after the 3rd data are successfully issued to information model, letter A successful response message of download can be fed back to adaptation module by ceasing model, and adaptation module is receiving the response After message, one can be fed back to webmaster and download successful response message.
As a preferable example, in the first embodiment of the present invention, in the first bag by under colliding data After being sent to information model, the more bags of the 3rd data point can also be sent, as long as the 3rd data can be successfully issued to Information model, if such as be divided to two bag send the 3rd data if, it is above-mentioned to issue punching to information model successively The process of prominent data and the 3rd data is:First bag issues colliding data, and the second bag issues the one of the 3rd data Part, three guarantees issue the remainder of the 3rd data.
Second embodiment
As shown in figure 4, the second embodiment of the present invention provides a kind of data download apparatus, the device includes:
Receiving module 401, for receiving data download request, and according to data download request, receive webmaster The first data issued;
Searching modul 402, for being searched in the second data for being stored from grouping conveying network PTN device Go out the colliding data with the first data collision;
Module 403 is issued, for issuing colliding data and the first data, and eliminates colliding data.
Wherein, searching modul 402 includes:
Converting unit, for the first data to be entered with row format conversion, obtain the 3rd data, the lattice of the 3rd data Formula is the form that PTN device can recognize that;
First searching unit, if the modes of the first data is issued for webmaster to download, according to default money First resource in the conflict rule of source, configuration is found out in the multiple first business entries included from the 3rd data There is the first business entry of first resource, and found out in the multiple second business entries included from the second data It is configured with the second business entry of first resource;
Second searching unit, it is configured with the first business entry of first resource for basis and is configured with the first money The second business entry in source, colliding data is found out from the second data.
Wherein, the second searching unit includes:
First searches subelement, for being configured with the first business entry of first resource and being configured with the first money The second business entry in source is compared;
Second searches subelement, if for being configured with the first industry configured in the second business entry of first resource Business title, is differed, then with being configured with the second Business Name configured in the first business entry of first resource The second business entry of first resource will be configured with as colliding data.
Wherein, if webmaster issues the mode of the first data to download, device also includes:
First module, for the 3rd Business Name in default modification conflict rule, from the 3rd data Including multiple first business entries in find out and be configured with the first business entry of the 3rd Business Name, and from The second business for being configured with the 3rd Business Name is found out in multiple second business entries that second data include Entry;
Second module, it is configured with the first business entry of the 3rd Business Name for basis and is configured with the 3rd industry Second business entry of title of being engaged in, colliding data is found out from the second data.
Wherein, the second module includes:
First module, for being configured with the first business entry of the 3rd Business Name and being configured with the 3rd business Second business entry of title is compared;
Second unit, if for being configured with the Secondary resource configured in the first business entry of the 3rd Business Name, Differ, then will be configured with being configured with the information resources configured in the second business entry of the 3rd Business Name Second business entry of the 3rd Business Name is as colliding data.
Wherein, if webmaster issues the mode of the first data to download, device also includes:
3rd module, for the pre-set business entry in default deletion conflict rule, from the 3rd data Including multiple first business entries in find out with pre-set business entry identical the first business entry, and from Found out in multiple second business entries that second data include and pre-set business entry the second business of identical Entry;
4th module, for pair with pre-set business entry identical the first business entry and with pre-set business entry Identical the second business entry is compared, and determines the first business entry that webmaster is deleted offline;
5th module, for finding out the first industry for relying on webmaster and deleting offline from multiple second business entries Second business entry of entry of being engaged in, and the second business bar that the first business entry that webmaster is deleted offline will be relied on Mesh is as colliding data.
Wherein, issuing module 403 includes:
Generation unit, for according to default data point reuse rule, generating the tune being adjusted to colliding data Whole information;
Issuance unit, colliding data and the 3rd data are issued for the information model successively into PTN device, Wherein, carry adjustment information in the colliding data issued so that information model according to adjustment information to number of collisions According to being adjusted.
Wherein, data point reuse rule includes data modification rule or data deletion rule.
In the second embodiment of the present invention, by when receiving the first data that webmaster issues, from packet The colliding data with the first data collision is found out in the transmission network equipment in the second data for storing, then under The colliding data and the first data are sent out, and eliminates the colliding data, solves and conflicts in downloading process When, manually according to miscue item by item change conflict configuration, not only efficient under, can not also meet not interrupt The problem of demand of service downloading, reach in the case of non-interrupting service, quickly, successfully descended contained network The effect for the data that pipe issues.
It should be noted that the data download apparatus that second embodiment of the invention provides is applied under above-mentioned data All embodiments of the device of support method, the i.e. above method are applied to the device, and can reach it is identical or Similar beneficial effect.
Described above is the preferred embodiment of the present invention, it is noted that for the common skill of the art For art personnel, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, These improvements and modifications also should be regarded as protection scope of the present invention.

Claims (16)

  1. A kind of 1. data download method, it is characterised in that including:
    Data download request is received, and according to the data download request, receives the first data that webmaster issues;
    Find out in the second data stored from grouping conveying network PTN device and rushed with first data Prominent colliding data;
    The colliding data and first data are issued, and eliminates the colliding data.
  2. 2. the method as described in claim 1, it is characterised in that described to be set from grouping conveying network PTN The step of colliding data with first data collision being found out in second data of standby middle storage, including:
    First data are entered with row format conversion, obtains the 3rd data, the form of the 3rd data is institute State the recognizable form of PTN device;
    If the webmaster issues the mode of first data to download, according to default resource contention rule In first resource, find out in the multiple first business entries included from the 3rd data be configured with it is described First business entry of first resource, and searched in the multiple second business entries included from second data Go out to be configured with the second business entry of the first resource;
    According to the first business entry for being configured with the first resource and it is configured with the second of the first resource Business entry, the colliding data is found out from second data.
  3. 3. method as claimed in claim 2, it is characterised in that the basis is configured with first money The first business entry in source and the second business entry for being configured with the first resource, from second data The step of finding out the colliding data, including:
    To being configured with the first business entry of the first resource and being configured with the second industry of the first resource Business entry is compared;
    If the first Business Name configured in the second business entry of the first resource is configured with, with being configured with The second Business Name configured in first business entry of the first resource differs, then will be configured with described Second business entry of first resource is as the colliding data.
  4. 4. method as claimed in claim 2, it is characterised in that if the webmaster issues first number According to mode to download, methods described also includes:
    According to the 3rd Business Name in default modification conflict rule, include from the 3rd data multiple Find out the first business entry for being configured with the 3rd Business Name in first business entry, and from described The second industry for being configured with the 3rd Business Name is found out in multiple second business entries that two data include Business entry;
    According to the first business entry for being configured with the 3rd Business Name and it is configured with the 3rd business name The the second business entry claimed, the colliding data is found out from second data.
  5. 5. method as claimed in claim 4, it is characterised in that the basis is configured with the 3rd industry First business entry of title of being engaged in and the second business entry of the 3rd Business Name is configured with, from described the The step of colliding data being found out in two data, including:
    To being configured with the first business entry of the 3rd Business Name and being configured with the 3rd Business Name The second business entry be compared;
    If the Secondary resource configured in the first business entry of the 3rd Business Name is configured with, with being configured with The information resources configured in second business entry of the 3rd Business Name differ, then will be configured with described Second business entry of the 3rd Business Name is as the colliding data.
  6. 6. method as claimed in claim 2, it is characterised in that if the webmaster issues first number According to mode to download, methods described also includes:
    According to the pre-set business entry in default deletion conflict rule, include from the 3rd data multiple Found out in first business entry with the pre-set business entry identical the first business entry, and from described Found out in multiple second business entries that two data include and the second industry of the pre-set business entry identical Business entry;
    Pair with pre-set business entry identical the first business entry and identical with the pre-set business entry The second business entry be compared, determine the first business entry that webmaster is deleted offline;
    Found out from multiple second business entries and rely on the second of the first business entry that webmaster is deleted offline Business entry, and the second business entry of the first business entry that webmaster is deleted offline will be relied on as the punching Prominent data.
  7. 7. method as claimed in claim 2, it is characterised in that described to issue the colliding data and institute The step of stating the first data, and eliminating the colliding data, including:
    According to default data point reuse rule, the adjustment information being adjusted to the colliding data is generated;
    The information model into the PTN device issues the colliding data and the 3rd data successively, Wherein, the adjustment information is carried in the colliding data issued, so that described information model is according to Adjustment information is adjusted to the colliding data.
  8. 8. method as claimed in claim 7, it is characterised in that the data point reuse rule includes data Alteration ruler or data deletion rule.
  9. A kind of 9. data download apparatus, it is characterised in that including:
    Receiving module, for receiving data download request, and according to the data download request, receive webmaster The first data issued;
    Searching modul, for found out in the second data for being stored from grouping conveying network PTN device with The colliding data of first data collision;
    Module is issued, for issuing the colliding data and first data, and eliminates the colliding data.
  10. 10. device as claimed in claim 9, it is characterised in that the searching modul includes:
    Converting unit, for first data to be entered with row format conversion, obtain the 3rd data, the described 3rd The form of data is the form that the PTN device can recognize that;
    First searching unit, if issuing the modes of first data for the webmaster to download, basis First resource in default resource contention rule, the multiple first business entries included from the 3rd data In find out the first business entry for being configured with the first resource, and include from second data multiple The the second business entry for being configured with the first resource is found out in second business entry;
    Second searching unit, it is configured with the first business entry of the first resource for basis and configures The second business entry of first resource is stated, the colliding data is found out from second data.
  11. 11. device as claimed in claim 10, it is characterised in that second searching unit includes:
    First searches subelement, for being configured with the first business entry of the first resource and configuring The the second business entry for stating first resource is compared;
    Second searches subelement, if for being configured with configured in the second business entry of the first resource the One Business Name, with being configured with the second Business Name configured in the first business entry of the first resource not It is identical, then the second business entry of the first resource will be configured with as the colliding data.
  12. 12. device as claimed in claim 10, it is characterised in that if the webmaster issues described first To download, described device also includes the mode of data:
    First module, for the 3rd Business Name in default modification conflict rule, from the described 3rd The first business for being configured with the 3rd Business Name is found out in multiple first business entries that data include Entry, and found out in the multiple second business entries included from second data and be configured with the 3rd industry Second business entry of title of being engaged in;
    Second module, it is configured with the first business entry of the 3rd Business Name for basis and configures The second business entry of the 3rd Business Name is stated, the colliding data is found out from second data.
  13. 13. device as claimed in claim 12, it is characterised in that second module includes:
    First module, for being configured with the first business entry of the 3rd Business Name and being configured with described Second business entry of the 3rd Business Name is compared;
    Second unit, if for being configured with configured in the first business entry of the 3rd Business Name second Resource, differed with being configured with the information resources configured in the second business entry of the 3rd Business Name, The second business entry of the 3rd Business Name will be then configured with as the colliding data.
  14. 14. device as claimed in claim 10, it is characterised in that if the webmaster issues described first To download, described device also includes the mode of data:
    3rd module, for the pre-set business entry in default deletion conflict rule, from the described 3rd Found out in multiple first business entries that data include and the first business of the pre-set business entry identical Entry, and found out and the pre-set business bar in the multiple second business entries included from second data Mesh identical the second business entry;
    4th module, for pair with pre-set business entry identical the first business entry and with it is described default Business entry identical the second business entry is compared, and determines the first business entry that webmaster is deleted offline;
    5th module, for finding out the first industry for relying on webmaster and deleting offline from multiple second business entries Second business entry of entry of being engaged in, and the second business bar that the first business entry that webmaster is deleted offline will be relied on Mesh is as the colliding data.
  15. 15. device as claimed in claim 10, it is characterised in that the module that issues includes:
    Generation unit, for according to default data point reuse rule, generating and being adjusted to the colliding data Adjustment information;
    Issuance unit, for the information model successively into the PTN device issue the colliding data and 3rd data, wherein, the adjustment information is carried in the colliding data issued, so that the letter Breath model is adjusted according to the adjustment information to the colliding data.
  16. 16. device as claimed in claim 15, it is characterised in that the data point reuse rule includes number According to alteration ruler or data deletion rule.
CN201610387425.1A 2016-06-02 2016-06-02 Data downloading method and device Active CN107465704B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610387425.1A CN107465704B (en) 2016-06-02 2016-06-02 Data downloading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610387425.1A CN107465704B (en) 2016-06-02 2016-06-02 Data downloading method and device

Publications (2)

Publication Number Publication Date
CN107465704A true CN107465704A (en) 2017-12-12
CN107465704B CN107465704B (en) 2021-07-20

Family

ID=60544773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610387425.1A Active CN107465704B (en) 2016-06-02 2016-06-02 Data downloading method and device

Country Status (1)

Country Link
CN (1) CN107465704B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187493A (en) * 2019-07-01 2021-01-05 烽火通信科技股份有限公司 Network management service data issuing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905470A (en) * 2005-07-25 2007-01-31 中兴通讯股份有限公司 Upper and lower layer network managing data consistency processing method for telecommunication managing network
CN103188095A (en) * 2011-12-29 2013-07-03 中兴通讯股份有限公司 Method for processing looped network route in packet transport network, network management device and node equipment
CN103561107A (en) * 2013-11-13 2014-02-05 北京国双科技有限公司 Method and device for processing data downloading conflict
US20140079059A1 (en) * 2009-03-29 2014-03-20 Ltn Global Communications, Inc. System and method that routes flows via multicast flow transport for groups

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905470A (en) * 2005-07-25 2007-01-31 中兴通讯股份有限公司 Upper and lower layer network managing data consistency processing method for telecommunication managing network
US20140079059A1 (en) * 2009-03-29 2014-03-20 Ltn Global Communications, Inc. System and method that routes flows via multicast flow transport for groups
CN103188095A (en) * 2011-12-29 2013-07-03 中兴通讯股份有限公司 Method for processing looped network route in packet transport network, network management device and node equipment
CN103561107A (en) * 2013-11-13 2014-02-05 北京国双科技有限公司 Method and device for processing data downloading conflict

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
互联网: "PTN技术演进和标准化推进,www.eefocus.com/communication/313491", 《EEFOCUS与非网》 *
王亮: "PTN技术及其应用研究", 《中国优秀硕士学位论文全文数据库》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187493A (en) * 2019-07-01 2021-01-05 烽火通信科技股份有限公司 Network management service data issuing method and system

Also Published As

Publication number Publication date
CN107465704B (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN104852813B (en) The on-demand loading method and system of TR069 Parameter nodes in family gateway equipment
CN100544282C (en) A kind of trouble correlation analytic system and method
US7181436B1 (en) Automatically generating replication topology information for use by a directory service
CN100539597C (en) Configuring management method and device
CN105471603B (en) Method, device and system for remotely configuring PTP (precision time protocol) service of optical network unit
WO2014000317A1 (en) Configuration information auto-management method based on intelligent substation
CN104133715B (en) A kind of power over Ethernet device firmware upgrade method and device
CN101141284A (en) Service bandwidth configuring method and network management system
CN102447582A (en) Resource synchronization method and device
CN106257868A (en) Configuration data push method and device
CN101848107A (en) SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element
CN109818848A (en) Methods of exhibiting and device, storage medium, the electronic device of session
CN110971438A (en) Method and device for configuring data
WO2016086612A1 (en) Single-board software management method, system, and computer storage medium
CN103716181A (en) LAN_WAN virtual channel implementation method under gateway device routing mode
CN107465704A (en) A kind of data download method and device
CN107888419A (en) A kind of switch network Topology g eneration method and device
CN110855459A (en) Network configuration method, device and system
CN106302837A (en) The mac address table management method of a kind of optical network unit and device
CN110768811B (en) Method, device and system for updating YANG model file library
CN101369920A (en) Terminal remote management method, system and terminal remote management platform
WO2016184227A1 (en) Onu template generating method and device
CN101820354A (en) Collocation method based on TNDS (Total Network Data System) object, terminal equipment and server
CN103825813B (en) LLDP (Link Layer Discovery Protocol) message processing method and device
CN109976868A (en) DApp method for customizing, device and electronic equipment

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