Mil y un directorio en la gestión de datos maestros de Rostelecom

¡Hola! En contacto, Alexander Kivaev, jefe del departamento de gestión de información de referencia en el equipo de gestión de datos de Rostelecom . Si su empresa ha implementado y está operando efectivamente un sistema MDM, entonces considere que ha ganado el premio gordo, porque esto facilitará enormemente el proceso de introducir nuevos sistemas de información en la infraestructura de TI de la empresa, simplificará y reducirá el costo de integrar los sistemas existentes. y le permiten crear informes analíticos y de gestión de alta calidad, al tiempo que reduce el tiempo de procesamiento, actualización y verificación de datos.





Son estos beneficios los que motivan a las grandes empresas a implementar soluciones MDM. En este artículo, queremos contarte sobre la experiencia de implementar el sistema de gestión de datos maestros Rostelecom, qué dificultades encontramos y cómo logramos resolverlas.





MDM listo para usar

Elegimos Microsoft Master Data Services (MDS) como la principal solución para construir un sistema de gestión de datos maestros . MDS está disponible para empresas que utilizan Microsoft SQL Server Enterprise Edition a partir de 2014. MDS está incluido en el paquete y no requiere costos de licencia adicionales, que fue uno de los factores determinantes en la elección de este producto.





. , 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