CN112688998B - Main data subscription pushing method capable of configuring with permission - Google Patents

Main data subscription pushing method capable of configuring with permission Download PDF

Info

Publication number
CN112688998B
CN112688998B CN202011501201.1A CN202011501201A CN112688998B CN 112688998 B CN112688998 B CN 112688998B CN 202011501201 A CN202011501201 A CN 202011501201A CN 112688998 B CN112688998 B CN 112688998B
Authority
CN
China
Prior art keywords
message
main data
module
subscription
management system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011501201.1A
Other languages
Chinese (zh)
Other versions
CN112688998A (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.)
AVIC Chengdu Aircraft Design and Research Institute
Original Assignee
AVIC Chengdu Aircraft Design and Research Institute
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 AVIC Chengdu Aircraft Design and Research Institute filed Critical AVIC Chengdu Aircraft Design and Research Institute
Priority to CN202011501201.1A priority Critical patent/CN112688998B/en
Publication of CN112688998A publication Critical patent/CN112688998A/en
Application granted granted Critical
Publication of CN112688998B publication Critical patent/CN112688998B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention belongs to the field of master data management, and particularly relates to a configurable master data subscription pushing method with authority, which comprises the following steps: configuring a message routing module according to needs; the main data publishing module reads a change event of the main data management system, generates an initial message and puts the initial message into the message initial queue module; the message initial queue accesses the configuration information of the message routing module, acquires the subscription model configuration attribute corresponding to the initial message, acquires the data content corresponding to the subscription model configuration attribute corresponding to the initial message from the main data management system, and then sends the subscription model configuration attribute and the data content corresponding to the initial message to the consumption queue module; and the consumption queue module generates a message to be sent according to the received subscription model configuration attribute and the data content, and sends the message to be sent to the consumption terminal. The invention realizes flexible configuration change of the service application system according to the subscription requirement through the abstract main data subscription model.

Description

Main data subscription pushing method capable of configuring with permission
Technical Field
The invention belongs to the field of main data management, and particularly relates to a configurable main data subscription pushing method with permission.
Background
In a Master Data Management (MDM) system, when any change (including addition, modification, and deletion) occurs in master data, the master data is synchronized to each service consumption system, and a solution commonly used in the industry at present is implemented based on a message middleware server, that is, a message publishing server sends a subscription message to the message middleware server, and the message middleware server publishes the subscription message to each message subscriber terminal in an asynchronous manner, as shown in fig. 1. In practical applications, the message middleware server generally issues a push subscription message to a message subscriber terminal through a message routing, and the message routing is generally implemented by a developer according to service requirements, such as subscription content, subscription rights, a subscription mode, a subscription authentication mode, and other specialized development codes. The subscription pushing mechanism of the message routing is inflexible, and developers are required to modify message queues and message channels or modify customized codes of the message routing whenever any changes of subscription content, subscription authority and the like occur in a service consumption system, so that the subscription pushing change depends on the level and proficiency of the developers, the subscription changing efficiency is low, errors are easy to occur, and the personalized subscription pushing of the service consumption system is not facilitated.
Disclosure of Invention
The invention aims to: the configuration of subscription content, subscription authority, a push mechanism and the like of message routing is realized through the abstract main data subscription model, so that flexible configuration change of on-demand subscription of a business application system is realized, the customization development of developers is not depended on, and the change efficiency of main data message subscription is improved.
The technical scheme of the invention is as follows: the subscription pushing method of the configurable main data with the authority is provided, a main data management system is utilized, the main data management system comprises a main data publishing module, a message initial queue module, a message routing module and a consumption queue module, and the subscription pushing method comprises the following steps:
the method comprises the steps that an abstract main data subscription model is adopted, and configuration attributes of the main data subscription model comprise a main data model, subscription users, row attributes, column attributes, synchronous frequency, a synchronous mode, an interface type and an interface address;
configuring a message routing module as required based on the configuration attribute of the main data subscription model;
the main data publishing module reads a change event of the main data management system, generates an initial message and puts the initial message into the message initial queue module;
the message initial queue accesses the configuration information of the message routing module, acquires the subscription model configuration attribute corresponding to the initial message, acquires the data content corresponding to the subscription model configuration attribute corresponding to the initial message from the main data management system, and then sends the subscription model configuration attribute and the data content corresponding to the initial message to the consumption queue module;
and the consumption queue module generates a message to be sent according to the received subscription model configuration attribute and the data content, and sends the message to be sent to the consumption terminal.
Optionally, the main data management system is provided with a subscription application module, the subscription application module receives user application information, and the main data management system configures the message route according to the user application information.
Optionally, after receiving the message to be sent, the consuming terminal feeds back a receiving result to the consuming queue module.
Optionally, when the feedback result is abnormal, the consumption queue module feeds the result back to the message initial queue module;
the message initial queue accesses the configuration information of the message routing module again, acquires the subscription model configuration attribute corresponding to the initial message, acquires the data content corresponding to the subscription model configuration attribute corresponding to the initial message from the main data management system, and then sends the subscription model configuration attribute and the data content corresponding to the initial message to the consumption queue module;
and the consumption queue module generates a message to be sent again according to the received subscription model configuration attribute and the data content and sends the message to be sent to the consumption terminal.
Optionally, the master data management system interacts with the service system data; the main data management system also comprises a monitoring module, wherein the monitoring module reads data corresponding to the configuration information of the message routing module from the business system, and compares the read data with data stored in the main data management system so as to judge the consistency of the main data management system and the business system data.
Optionally, the main data management system further includes an authentication module, when the consumption queue module sends the message to be sent to the consumption terminal, the authentication module performs authority authentication according to the user information in the subscription model configuration attribute received by the consumption queue module, and if the authentication is passed, the consumption queue module sends the message to be sent to the consumption terminal.
Optionally, when the message routing module performs on-demand configuration, the configuration attribute of the message routing module includes a mandatory attribute and an optional attribute, the mandatory attribute includes a master data model, a subscriber, and a synchronization mode, and the optional attribute includes one or more of a row attribute, a column attribute, a synchronization frequency, an interface type, and an interface address.
Optionally, when the message routing module performs on-demand configuration, if the configuration attribute of the message routing module does not configure the row attribute, the message initial queue obtains all row contents from the main data management system; if the configuration attribute of the message routing module does not configure the column attribute, the message initial queue acquires all column fields from the main data management system; if the configuration attribute of the message routing module is not configured with the synchronous frequency, the consumption queue module generates the received subscription model configuration attribute and the data content into a message to be sent in real time and sends the message to be sent to the consumption terminal in real time; if the configuration attribute of the message routing module does not configure the interface type and the interface address, the consumption queue module generates a change list for the received subscription model configuration attribute and the data content for the service system user to download.
The invention has the technical effects that: the configurable main data subscription pushing method with the authority effectively constructs a unified message subscription model, realizes the configuration of a message routing module, provides a powerful guarantee for the quick change of a service system, reduces the customized development of message routing codes, avoids potential errors caused by the customized codes, and provides a powerful technical support for the personalized subscription of a service consumption system.
Drawings
FIG. 1 illustrates a message subscription push process as commonly used in the art;
FIG. 2 is a unified master data subscription model;
FIG. 3 a main data subscription push step;
FIG. 4 is a schematic diagram of a master data management system.
Detailed Description
In this embodiment, a configurable main data subscription pushing method with a permission is provided, and with use of a main data management system, as shown in fig. 4, the main data management system includes a main data publishing module, a message initial queue, a message routing module, a consumption queue, a permission authentication module, and a monitoring management module.
As shown in fig. 3, the method for providing configurable subscription push of master data with permission based on the master data subscription model includes the following steps:
step 1: the main data subscription model is abstracted, and the configuration attributes of the main data subscription model comprise a main data model, subscription users, row attributes, column attributes, synchronous frequency, a synchronous mode, an interface type and an interface address.
In this embodiment, the main data subscription dimensions are summarized, and the abstract main data subscription model mainly includes a subscription main data model, a subscription user, a row attribute, a column attribute, a synchronization frequency, a synchronization mode, an interface type, and an interface address, as shown in fig. 2. The attribute configuration of the message routing module pushed by the main data subscription in the main data management system is based on the configuration attribute of the main data subscription model.
Wherein the primary data model represents which primary data, such as suppliers, personnel, etc., is subscribed to; the subscription user represents a subscription terminal user and is used for verifying the user authority; the row attribute is a query condition and indicates which types of data are subscribed; the column attributes indicate which field attributes are subscribed; the synchronous frequency is real-time, timing and the like, the synchronous mode is interface, excel and the like, and the interface type and the interface address support the mode commonly used in the industry.
Step 2: and configuring a message routing module as required based on the configuration attribute of the main data subscription model.
The main data management system is provided with a subscription application module, the subscription application module receives user application information, and the main data management system carries out on-demand configuration on message routing according to the user application information.
When the message routing module is configured as required, the configuration attributes of the message routing module comprise essential attributes and optional attributes, the essential attributes comprise a main data model, a subscriber and a synchronization mode, and the optional attributes comprise one or more of row attributes, column attributes, synchronization frequency, interface types and interface addresses.
If the configuration attribute of the message routing module does not configure the row attribute, the message initial queue acquires all row contents from the main data management system; if the configuration attribute of the message routing module does not configure the column attribute, the message initial queue acquires all column fields from the main data management system; if the configuration attribute of the message routing module is not configured with the synchronous frequency, the consumption queue module generates the received subscription model configuration attribute and the data content into a message to be sent in real time and sends the message to be sent to the consumption terminal in real time; if the configuration attribute of the message routing module does not configure the interface type and the interface address, the consumption queue module generates a change list for the service system user to download the received subscription model configuration attribute and the data content.
And step 3: the main data publishing module reads the change event of the main data management system, generates an initial message and puts the initial message into the message initial queue module.
And 4, step 4: the message initial queue accesses the configuration information of the message routing module, acquires the subscription model configuration attribute corresponding to the initial message, acquires the data content corresponding to the subscription model configuration attribute corresponding to the initial message from the main data management system, and then sends the subscription model configuration attribute and the data content corresponding to the initial message to the consumption queue module.
And 5: and the consumption queue module generates a message to be sent according to the received subscription model configuration attribute and the data content, and sends the message to be sent to the consumption terminal.
Preferably, the main data management system further includes an authentication module, when the consumption queue module sends the message to be sent to the consumption terminal, the authentication module performs authority authentication according to the user information in the subscription model configuration attribute received by the consumption queue module, and if the authentication is passed, the consumption queue module sends the message to be sent to the consumption terminal.
Step 6: and after receiving the message to be sent, the consumption terminal feeds back a receiving result to the consumption queue module.
When the feedback result is abnormal, the consumption queue module feeds the result back to the message initial queue module;
the message initial queue accesses the configuration information of the message routing module again, acquires the subscription model configuration attribute corresponding to the initial message, acquires the data content corresponding to the subscription model configuration attribute corresponding to the initial message from the main data management system, and then sends the subscription model configuration attribute and the data content corresponding to the initial message to the consumption queue module;
and the consumption queue module regenerates the message to be sent according to the received subscription model configuration attribute and the data content and sends the message to be sent to the consumption terminal.
As one of the preferred embodiments of this embodiment, the master data management system interacts with the business system data; the main data management system also comprises a monitoring module, wherein the monitoring module reads data corresponding to the configuration information of the message routing module from the service system, compares the read data with data stored in the main data management system, and is used for judging the consistency of the main data management system and the service system data.

Claims (7)

1. A main data subscription pushing method with configurable permission utilizes a main data management system, the main data management system comprises a main data publishing module, a message initial queue module, a message routing module and a consumption queue module, and the subscription pushing method is characterized by comprising the following steps:
the method comprises the steps that an abstract main data subscription model is adopted, and configuration attributes of the main data subscription model comprise a main data model, subscription users, row attributes, column attributes, synchronous frequency, a synchronous mode, an interface type and an interface address;
configuring a message routing module as required based on the configuration attribute of the main data subscription model;
the main data publishing module reads a change event of the main data management system, generates an initial message and puts the initial message into the message initial queue module;
the message initial queue accesses the configuration information of the message routing module, acquires the subscription model configuration attribute corresponding to the initial message, acquires the data content corresponding to the subscription model configuration attribute corresponding to the initial message from the main data management system, and then sends the subscription model configuration attribute and the data content corresponding to the initial message to the consumption queue module;
the consumption queue module generates a message to be sent according to the received subscription model configuration attribute and the data content, and sends the message to be sent to the consumption terminal;
wherein, the configuring the message routing module according to the configuration attribute based on the main data subscription model comprises:
the main data management system is provided with a subscription application module, the subscription application module receives user application information, and the main data management system carries out configuration on message routing as required according to the user application information;
when the message routing module is configured according to needs, the configuration attributes of the message routing module comprise compulsory attributes and optional attributes, the compulsory attributes comprise a main data model, a subscriber and a synchronization mode, and the optional attributes comprise one or more of row attributes, column attributes, synchronization frequency, interface types and interface addresses.
2. The main data subscription pushing method according to claim 1, wherein the main data management system is provided with a subscription application module, the subscription application module receives user application information, and the main data management system performs on-demand configuration on a message route according to the user application information.
3. The main data subscription pushing method of claim 1, wherein after receiving the message to be sent, the consumption terminal feeds back a reception result to the consumption queue module.
4. The main data subscription pushing method according to claim 3, wherein when the feedback result is abnormal, the consumption queue module feeds the result back to the message initial queue module;
the message initial queue accesses the configuration information of the message routing module again, acquires the subscription model configuration attribute corresponding to the initial message, acquires the data content corresponding to the subscription model configuration attribute corresponding to the initial message from the main data management system, and then sends the subscription model configuration attribute and the data content corresponding to the initial message to the consumption queue module;
and the consumption queue module regenerates the message to be sent according to the received subscription model configuration attribute and the data content and sends the message to be sent to the consumption terminal.
5. The main data subscription pushing method according to claim 3, wherein the main data management system interacts with the business system data; the main data management system also comprises a monitoring module, wherein the monitoring module reads data corresponding to the configuration information of the message routing module from the business system, and compares the read data with data stored in the main data management system so as to judge the consistency of the main data management system and the business system data.
6. The main data subscription pushing method of claim 1, wherein the main data management system further comprises an authentication module, when the consumption queue module sends the message to be sent to the consumption terminal, the authentication module performs authority authentication according to the user information in the subscription model configuration attribute received by the consumption queue module, and if the authentication is passed, the consumption queue module sends the message to be sent to the consumption terminal.
7. The main data subscription pushing method according to claim 1, wherein when the message routing module performs configuration as needed, if the configuration attribute of the message routing module does not configure the row attribute, the message initial queue obtains all row contents from the main data management system; if the configuration attribute of the message routing module does not configure the column attribute, the message initial queue acquires all column fields from the main data management system; if the configuration attribute of the message routing module is not configured with the synchronous frequency, the consumption queue module generates the received subscription model configuration attribute and the data content into a message to be sent in real time and sends the message to be sent to the consumption terminal in real time; if the configuration attribute of the message routing module does not configure the interface type and the interface address, the consumption queue module generates a change list for the received subscription model configuration attribute and the data content for the service system user to download.
CN202011501201.1A 2020-12-17 2020-12-17 Main data subscription pushing method capable of configuring with permission Active CN112688998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011501201.1A CN112688998B (en) 2020-12-17 2020-12-17 Main data subscription pushing method capable of configuring with permission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011501201.1A CN112688998B (en) 2020-12-17 2020-12-17 Main data subscription pushing method capable of configuring with permission

Publications (2)

Publication Number Publication Date
CN112688998A CN112688998A (en) 2021-04-20
CN112688998B true CN112688998B (en) 2023-03-14

Family

ID=75449073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011501201.1A Active CN112688998B (en) 2020-12-17 2020-12-17 Main data subscription pushing method capable of configuring with permission

Country Status (1)

Country Link
CN (1) CN112688998B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004023338A2 (en) * 2002-09-03 2004-03-18 Sap Aktiengesellschaft Distribution of data in a master data management system
CN1695114A (en) * 2002-09-03 2005-11-09 Sap股份公司 Collaborative master data management
CN102480417A (en) * 2010-11-29 2012-05-30 北京中和威软件有限公司 Dynamic message routing method and device for enterprise service bus
CN104361424A (en) * 2014-10-11 2015-02-18 中国电子科技集团公司第十研究所 Master data system integration method based on enterprise service bus (ESB)
CN107888499A (en) * 2017-11-17 2018-04-06 北京邮电大学 A kind of distribution subscription system and message forwarding method based on SDN
CN108199865A (en) * 2017-12-07 2018-06-22 中国航空工业集团公司西安航空计算技术研究所 A kind of route service implementation method based on distribution subscription
CN108334315A (en) * 2018-02-09 2018-07-27 江苏汇鑫融智软件科技有限公司 A kind of master data distribution administrative mechanism based on ESB
CN108415723A (en) * 2018-01-17 2018-08-17 海尔优家智能科技(北京)有限公司 Configuration data synchronization method, device, medium based on message queue and equipment
CN108881369A (en) * 2018-04-24 2018-11-23 中国科学院信息工程研究所 A kind of method for interchanging data and cloud message-oriented middleware system of the cloud message-oriented middleware based on data-oriented content
CN109508176A (en) * 2018-07-20 2019-03-22 苏州百捷信息科技有限公司 A kind of corporate boss's data management platform
CN110413424A (en) * 2019-07-24 2019-11-05 深圳乐信软件技术有限公司 Configurable third party's message callback method, device, server and storage medium
CN111866191A (en) * 2020-09-24 2020-10-30 深圳市易博天下科技有限公司 Message event distribution method, distribution platform, system and server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003050648A2 (en) * 2001-11-12 2003-06-19 Worldcom, Inc. System and method for implementing frictionless micropayments for consumable services
US11451464B2 (en) * 2019-05-13 2022-09-20 128 Technology, Inc. Central authority for service and topology exchange

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004023338A2 (en) * 2002-09-03 2004-03-18 Sap Aktiengesellschaft Distribution of data in a master data management system
CN1695114A (en) * 2002-09-03 2005-11-09 Sap股份公司 Collaborative master data management
CN102480417A (en) * 2010-11-29 2012-05-30 北京中和威软件有限公司 Dynamic message routing method and device for enterprise service bus
CN104361424A (en) * 2014-10-11 2015-02-18 中国电子科技集团公司第十研究所 Master data system integration method based on enterprise service bus (ESB)
CN107888499A (en) * 2017-11-17 2018-04-06 北京邮电大学 A kind of distribution subscription system and message forwarding method based on SDN
CN108199865A (en) * 2017-12-07 2018-06-22 中国航空工业集团公司西安航空计算技术研究所 A kind of route service implementation method based on distribution subscription
CN108415723A (en) * 2018-01-17 2018-08-17 海尔优家智能科技(北京)有限公司 Configuration data synchronization method, device, medium based on message queue and equipment
CN108334315A (en) * 2018-02-09 2018-07-27 江苏汇鑫融智软件科技有限公司 A kind of master data distribution administrative mechanism based on ESB
CN108881369A (en) * 2018-04-24 2018-11-23 中国科学院信息工程研究所 A kind of method for interchanging data and cloud message-oriented middleware system of the cloud message-oriented middleware based on data-oriented content
CN109508176A (en) * 2018-07-20 2019-03-22 苏州百捷信息科技有限公司 A kind of corporate boss's data management platform
CN110413424A (en) * 2019-07-24 2019-11-05 深圳乐信软件技术有限公司 Configurable third party's message callback method, device, server and storage medium
CN111866191A (en) * 2020-09-24 2020-10-30 深圳市易博天下科技有限公司 Message event distribution method, distribution platform, system and server

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"Distributed multicast grouping for publish/subscribe over mobile ad hoc networks";E. Yoneki,J. Bacon;《IEEE Wireless Communications and Networking Conference,2005》;20050502;全文 *
"Master data (BOM, routing, reading rout master data)";Former Member;《https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=403178624》;20160219;全文 *
"移动Ad_hoc中发布_订阅路由协议的网络仿真";王婷婷,翟立东,马晓雷,刘元安;《计算机应用研究》;20090415;全文 *
"移动自组网中基于内容的发布/订阅路由协议";薛涛,石美红;《计算机工程》;20090320;全文 *

Also Published As

Publication number Publication date
CN112688998A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
EP2574004B1 (en) Method, apparatus and system for improving synchronization efficiency of really simple syndication service
CN102255935B (en) Cloud service consuming method, cloud service intermediary and cloud system
CN101902473B (en) Method for synchronously updating data based on grid GIS (Geographic Information System)
US20070226608A1 (en) System and method for rendering presentation pages based on locality
CN112527528A (en) Data transmission method, device and storage medium based on message queue
CN109542865A (en) Distributed cluster system configuration file synchronous method, device, system and medium
CN102255934A (en) Cloud service publishing method, cloud service publishing interface message packet and cloud service broker
WO2011038564A1 (en) Adaptive method and system for screen display of mobile terminal in network application
CN102769640B (en) The update method of user profile, server and system
CN111580884A (en) Configuration updating method and device, server and electronic equipment
CN112671697B (en) Data processing method, device and system of comprehensive monitoring system
CN104320441A (en) Method of sharing information between wireless communication systems
CN104660547A (en) Service platform for realizing telecommunications
CN101771930A (en) User terminal, software hosting business management system and management method
CN101674143A (en) Method and system for releasing news to mobile equipment at regular time
GB2580421A (en) Electronic message translation management
CN101876990A (en) Method for transmitting tree-structure object
CN114064328A (en) Message queue cluster migration method and device
CN112688998B (en) Main data subscription pushing method capable of configuring with permission
CN109586970A (en) Resource allocation methods, apparatus and system
CN112689020A (en) Message transmission method, message middleware, electronic equipment and storage medium
CN110795135A (en) Method and device for realizing injection-resolution configuration
CN110677443A (en) Data transmitting and receiving method, transmitting end, receiving end, system and storage medium
US20140215011A1 (en) Message exchange via generic tlv generator and parser
CN113076380B (en) Data synchronization method, device, system, equipment and storage medium

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