One Thousand and One Directory in Master Data Management of Rostelecom

Hello! In touch, Alexander Kivaev, the head of the department of reference information management in the data management team of Rostelecom . If your company has implemented and is effectively operating an MDM system, then consider that you have hit the jackpot, because this will greatly facilitate the process of introducing new information systems into the company's IT infrastructure, simplify and reduce the cost of integrating existing systems, and allow you to create high-quality analytical and management reporting, while reducing the time for processing, updating and verifying data.





It is these benefits that motivate large companies to implement MDM solutions. In this article, we want to tell you about the experience of implementing the Rostelecom master data management system, what difficulties we encountered and how we managed to solve them.





MDM out of the box

We have chosen Microsoft Master Data Services (MDS) as the main solution for building a master data management system . MDS is available for enterprises using Microsoft SQL Server Enterprise Edition starting in 2014. MDS is included in the package and does not require additional licensing costs, which was one of the determining factors in choosing this product.





. , MDM- , «» - .   , MDM- -, MDM- -, , .





… …

. , ERP, CRM, .





, , . , , . , - , -, .





- -, , .





Master Data Management

, , , . .





  1. MDM :





  2. .





  3. , -. - Extract Transfom Load (ETL). , Landing.





  4. . MDM. , Staging.





  5. Staging .





  6. , - . .





  7. - .





MDM , BI, .





Microsoft MDS

Microsoft MDS , . , MDS , . , . .





, , Master Data Services :





  • .





  • - .





MDS, . , , , MDM.





MDS MDM

- MDS, , , . :





  1. , Landing. ETL , -. .





  2. , -. Landing Staging MDS ( MDS, stg). , - .





  3. MDS, Staging MDS.





:





MDM, .





MDS





- MDS, MDS -:





:





  • - – , MDS;





  • – MDS;





  • - – , MDS.





MDS

, , MDS, , .





, -, , – , . MDS – , . Β« Β».





, – . : , MDS .





MDS, :





Landing

Landing , – - , .





, «», Service. , -, SERVICE_000085.





Landing :





  • lnd.SERVICE_000085;





  • lnd.Load_SERVICE_000085.





, :





CREATE TABLE lnd.SERVICE_000085(
	code nvarchar(250) NOT NULL,
       Name nvarchar(250) NOT NULL,
       business_service_key nvarchar(250) NULL,
       technology_type_key nvarchar(250) NULL,
       access_service_type_key nvarchar(250) NULL,
      [service_type_key nvarchar(250) NULL
)
      
      



:





CREATE PROCEDURE lnd.Load_SERVICE_000085
AS
BEGIN
       --    BatchTag
       declare @SourceSystem varchar(50) = 'SERVICE_000085' + '_' + getdate()
 
       --       ,   -.      mdm.SERVICE_000085_V     MDS Β« Β».
       --     Staging.
       insert into stg.SERVICE_M_000085_Leaf
             (
             ImportType
             , ImportStatus_ID
             , BatchTag
             , Code
             , Name
             , business_service_key
             , technology_type_key
             , service_type_key
      
             )
             select
                    '0'
                    , '0'
                    , @BatchTag
                    , l.code
                    , l.Name
                    , l.business_service_key
                    , l.technology_type_key
                    , l.service_type_key
      
             from lnd.SERVICE_000085 as l
             left join mdm.SERVICE_000085_V as ve on l.code = ve.code
                    where
                           ve.code is null
      
 
       declare @count int = @@ROWCOUNT
 
       if (@count > 0)
       begin
             --    MDS      Staging  
             EXEC stg.udp_SERVICE_000085_Leaf
                    @VersionName = 'VERSION_1', 
                    @LogFlag = 1, 
                    @BatchTag = @BatchTag, 
                    @UserName = 'SI\USER'
 
       end
END
      
      



, MDS, :





, , , T-SQL .





Web Services REST

MDS - – dblink (view). , . Web Services REST, .





Web Services, , MDS, - JSON XML.





Web Services, , .





MDS

, , – .





, REST :





{"format": " ",
   "name": "_",
    "where": [
        {
            "name": "_1",
            "operator": "=",
            "value": "  "
        },
        {
            "name": "_2",
            "operator": ">=",
            "value": "  "
        }
    ]
}
      
      



:





  • format – , . : json xml;





  • "name": "_" – , ;





  • "where" , : "name": "_N" – , , "operator": "=" – . :





"where" , :





  • "name": "_N" – , ;





  • "operator": "=" – . : = , <> , > , < , >= , <= ;





  • β€œvalue”:  β€œ ” – , .





:





{"format": "json",
  "name": "service_000085",
    "where": [
	 {
            "name": "technology_type_key",
            "operator": "=",
            "value": "PSTN/"
        },
        {
            "name": "lastchgdatetime",
            "operator": ">",
            "value": "2018.12.31 10:30"
        }
    ]
}
      
      



MDS. mdm.tblEntity . mdm.tblAttribute .





sql- MDS, .





SQL- MDS:





select a.Name, a.AttributeType_ID, a.DataType_ID from  mdm.tblAttribute as a
	inner join  mdm.tblEntity as e on a.Entity_ID = e.id
						and e.name = 'SERVICE_000085'
      
      



sql-, , MDS Β« Β», .





Sql- :





select Code, Name, ImportType, ImportStatus_ID, business_service_key, technology_type_key, technology_type_key 
	from mdm.SERVICE_000085_V
		where technology_type_key = 'PSTN/'
		and lastchgdatetime > '2018.12.31 10:30'
      
      



, web-, , MDS .





: MDM , , , -, - .





. . MDS , .





open-source . MDM- . .





«»








All Articles