Movatterモバイル変換


[0]ホーム

URL:


CN111752726B - Method for quickly cross sharing data among multiple systems - Google Patents

Method for quickly cross sharing data among multiple systems
Download PDF

Info

Publication number
CN111752726B
CN111752726BCN202010609124.5ACN202010609124ACN111752726BCN 111752726 BCN111752726 BCN 111752726BCN 202010609124 ACN202010609124 ACN 202010609124ACN 111752726 BCN111752726 BCN 111752726B
Authority
CN
China
Prior art keywords
data
central node
sharing service
data sharing
request
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
CN202010609124.5A
Other languages
Chinese (zh)
Other versions
CN111752726A (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.)
Wuhan Zhongbang Bank Co Ltd
Original Assignee
Wuhan Zhongbang Bank Co Ltd
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 Wuhan Zhongbang Bank Co LtdfiledCriticalWuhan Zhongbang Bank Co Ltd
Priority to CN202010609124.5ApriorityCriticalpatent/CN111752726B/en
Publication of CN111752726ApublicationCriticalpatent/CN111752726A/en
Application grantedgrantedCritical
Publication of CN111752726BpublicationCriticalpatent/CN111752726B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention relates to the technical field of information, provides a rapid data cross sharing method among multiple systems, and aims to solve the problems that a traditional mesh topological structure is complex in structure and cannot be managed in a centralized mode, and data transmission pressure of a central node of a star topological structure is high and stability caused by complexity of the central node is poor. Collecting system configuration information of all data sharing participants, and constructing a central node; the target system registers data sharing service to the central node, and a data sharing service pool is formed on the central node; the source system sends a data request to the central node, the central node matches data sharing service in the data sharing service pool according to the data request information, and after distributing the access token, the data sharing service address and the token are returned to the source system, the source system directly accesses the data sharing service address by holding the access token, and data direct connection of the source system and the target system is formed, so that data interaction is performed.

Description

Method for quickly cross sharing data among multiple systems
Technical Field
The invention relates to the technical field of information, and provides a method for quickly cross sharing data among multiple systems.
Background
For a better understanding of the present application, the following basic techniques are needed:
mesh topology: this topology mainly means that the nodes are interconnected by transmission lines and each node is connected to at least two other nodes. The mesh topology has high reliability, but is complex in structure and cannot be managed centrally.
Star topology: a central node and nodes connected to the central node by point-to-point links. The star topology has the characteristics of convenience in service, easiness in fault diagnosis and the like, but has strong dependence on central nodes.
Method for realizing data access between traditional information systems
Mesh topology: the information systems are directly connected with each other, the source end system actively acquires required data from the target system, and each system participating in data sharing needs to adapt to the data interfaces of a plurality of target systems due to the difference of technical frameworks and programming languages adopted by each information system, so that the more data participants, the more complex the system, the uncontrollable target system and other problems are caused. For example, N systems participate in data sharing, and in a limited case, each participant has to adapt to the data type interface in N-1.
Star topology: the information systems achieve the purpose of data sharing through the central node. The central node is responsible for data interaction among all data sharing participants, the whole system has high dependency on the central node, and the central node has a problem, so that the whole network is not available.
Disclosure of Invention
The invention aims to solve the problems that the traditional mesh topological structure is complex in structure and cannot be managed in a centralized way, the data transmission pressure of a central node of a star topological structure is high, and the stability is poor due to the complexity of the central node.
The invention does not solve the technical problems and adopts the following technical proposal:
a method for quickly cross sharing data among multiple systems is characterized by comprising the following steps:
step 1: collecting system configuration information of all data sharing participants, and constructing a central node;
step 2: the target system registers data sharing service to the central node, and a data sharing service pool is formed on the central node;
step 3: the source system sends a data request to the central node, the central node matches data sharing service in the data sharing service pool according to the data request information, and after distributing the access token, the data sharing service address and the token are returned to the source system, the source system directly accesses the data sharing service address by holding the access token, and data direct connection of the source system and the target system is formed, so that data interaction is performed.
In the above technical solution, step 1 specifically includes the following steps:
step 1.1: collecting system configuration information of all data sharing participants to obtain a data interface configuration information list of all systems, wherein the configuration information comprises: developing language, data interface type and available resource quantity;
step 1.2: developing a general SDK on a central node according to the configuration list, wherein any participant in the network can use the SDK to request data from a target end;
step 1.3: the central node develops an interface registration service for the data sharing participants to register data interface information.
In the above technical solution, the general SDK implementation method in step 1.2 includes the following steps:
step 1.2.1, developing a class according to each development language, wherein the class comprises configuration parameters: the central node server IP and the address port for receiving the request;
step 1.2.2, developing an API use request method in class, wherein the API use request can be sent to a relevant port of a central node, and comprises a data sharing service name registered by a data sharing service provider in the central node;
and step 1.2.3, developing a data request method in class, and carrying out data request according to the data sharing service address returned by the central node.
In the above technical solution, step 2 specifically includes the following steps:
step 2.1: the central node starts an interface registration service, and the target system registers a data sharing service to the central node to obtain all data sharing service lists in the network;
step 2.2: the central node periodically sends a detection instruction to the data sharing service address of the target system, detects whether the data sharing service is normal or not, maintains a data sharing service list, puts the service with the current record state being valid and the detection result being invalid off line, puts the service with the current record state being invalid and the detection result being valid on line, and gathers the available data sharing service list to form a data sharing service pool.
In the above technical solution, step 3 specifically includes the following steps:
step 3.1: the source system integrates the SDK to obtain a general data request method, and the general data request method comprises two methods: an API use request method and a data request method;
step 3.2: the source terminal system sends an API use request to the central node through the SDK, and the central node matches data sharing service in the data sharing service pool according to the data request information to obtain a proper and available data sharing service address;
step 3.3: the central node judges the number of available resources registered by the target system and generates an access token;
step 3.4: the central node returns the data sharing service address and the access token to the source system, and the source system obtains a data request response result;
step 3.5: and the source system directly requests data to the target system according to the data request response result, and the target system returns corresponding data after receiving the request.
Because the invention adopts the technical scheme, the invention has the following beneficial effects:
1. the proposal utilizes the mesh topology to carry out actual data transmission, greatly reduces the data transmission pressure of the central node and the complexity of the central node, thereby providing the stability of the central node.
2. The proposal uses star topology to centralize global data sharing management configuration, all data sharing is centralized and scheduled, thus reducing network complexity, ensuring that each data sharing participant only focuses on providing data sharing service, does not need to care about who uses the data, and the service in the whole network is controllable.
3. The data sharing method adopts a mode of combining mesh topology and star topology, and integrates the advantages of the two modes. The star topology structure is responsible for centralized management, and the central node is responsible for overall scheduling, so that the global controllability of the data sharing service can be realized; the mesh topology structure is responsible for actual data transmission, the point-to-point direct connection mode ensures the data transmission speed, reduces the pressure of the central node and improves the data transmission speed of the whole network.
4. The proposal has one more central management node than the mesh topology. The mesh topology, without a central management node, means that each participant must locally store the data service information of all the participants in the network, where one participant information changes, and needs to broadcast all the servers to perform configuration update, and the more participants, the more complex is the management. The proposal adds a management node, all the information of the participants are registered on the management node, and the participants can obtain the configuration information of all the participants in the network only by communicating with the central node.
5. Compared with star topology, the function of the central node is weakened, and the traditional star topology central node is not only responsible for whole network management but also serves as a data center of the whole network. All data exchanges within the network need to pass through the central node, which is under great stress. It is proposed to strip out data exchange from a central node by fusing mesh topology, reducing the pressure of the central node, so that the stability of the whole network is improved.
6. The scheme of the invention combines star topology and mesh topology, and achieves the effects of manageability, high stability and high throughput on the basis of combining the advantages of the two modes through a special information interaction mode, which cannot be achieved by the single star topology or mesh topology.
Drawings
FIG. 1 is a schematic diagram of a mesh topology;
FIG. 2 is a schematic diagram of a mesh topology;
fig. 3 is a schematic diagram of the topology of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the particular embodiments described herein are illustrative only and are not intended to limit the invention, i.e., the embodiments described are merely some, but not all, of the embodiments of the invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
It is noted that relational terms such as "first" and "second", and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
A method for quickly cross sharing data among multiple systems is characterized by comprising the following steps:
step 1: collecting system configuration information of all data sharing participants, and constructing a central node;
step 2: the target system registers data sharing service to the central node, and a data sharing service pool is formed on the central node;
step 3: the source system sends a data request to the central node, the central node matches data sharing service in the data sharing service pool according to the data request information, and after distributing the access token, the data sharing service address and the token are returned to the source system, the source system directly accesses the data sharing service address by holding the access token, and data direct connection of the source system and the target system is formed, so that data interaction is performed.
In the above technical solution, step 1 specifically includes the following steps:
step 1.1: collecting system configuration information of all data sharing participants to obtain a data interface configuration information list of all systems, wherein the configuration information comprises: developing language, data interface type and available resource quantity;
step 1.2: developing a general SDK on a central node according to the configuration list, wherein any participant in the network can use the SDK to request data from a target end; the general SDK is an API calling program tool package general for the system in the network, and the principle of the general SDK is that API using request and data request methods are packaged, a standardized and unified using mode is exposed to an external system, and when the general SDK is used, a plurality of columns of API operations can be completed only by calling the SDK according to a fixed method. Each time data sharing, two steps are required:
and the data requesting party sends an API use request to the central node through the SDK, and the request message comprises the requested data sharing service name. After receiving the request, the central node inquires the corresponding service in the data sharing service pool according to the name of the data sharing service, verifies whether the service is effective, and returns the IP and port address of the server providing the data sharing service to the data requesting party after the verification is passed;
after receiving the return information of the central node, the data request is sent to the server IP and the port providing the data sharing service through the SDK, and the service provider returns the data to the requester after receiving the request.
Step 1.3: the central node develops an interface registration service for the data sharing participants to register data interface information.
In the above scheme, the general SDK implementation method in step 1.2 includes the following steps:
step 1.2.1, developing a class according to each development language, wherein the class comprises configuration parameters: the central node server IP and the address port for receiving the request;
step 1.2.2, developing an API use request method in class, wherein the API use request can be sent to a relevant port of a central node, and comprises a data sharing service name registered by a data sharing service provider in the central node;
and step 1.2.3, developing a data request method in class, and carrying out data request according to the data sharing service address returned by the central node.
In the above technical solution, step 2 specifically includes the following steps:
step 2.1: the central node starts an interface registration service, and the target system registers a data sharing service to the central node to obtain all data sharing service lists in the network;
step 2.2: the central node periodically sends a detection instruction to the data sharing service address of the target system, detects whether the data sharing service is normal or not, maintains a data sharing service list, puts the service with the current record state being valid and the detection result being invalid off line, puts the service with the current record state being invalid and the detection result being valid on line, and gathers the available data sharing service list to form a data sharing service pool.
In the above technical solution, step 3 specifically includes the following steps:
step 3.1: the source system integrates the SDK to obtain a general data request method, and the general data request method comprises two methods: an API use request method and a data request method;
step 3.2: the source terminal system sends an API use request to the central node through the SDK, and the central node matches data sharing service in the data sharing service pool according to the data request information to obtain a proper and available data sharing service address;
step 3.3: the central node judges the number of available resources registered by the target system and generates an access token;
step 3.4: the central node returns the data sharing service address and the access token to the source system, and the source system obtains a data request response result;
step 3.5: and the source system directly requests data to the target system according to the data request response result, and the target system returns corresponding data after receiving the request.

Claims (4)

CN202010609124.5A2020-06-252020-06-25Method for quickly cross sharing data among multiple systemsActiveCN111752726B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010609124.5ACN111752726B (en)2020-06-252020-06-25Method for quickly cross sharing data among multiple systems

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010609124.5ACN111752726B (en)2020-06-252020-06-25Method for quickly cross sharing data among multiple systems

Publications (2)

Publication NumberPublication Date
CN111752726A CN111752726A (en)2020-10-09
CN111752726Btrue CN111752726B (en)2023-07-14

Family

ID=72678143

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010609124.5AActiveCN111752726B (en)2020-06-252020-06-25Method for quickly cross sharing data among multiple systems

Country Status (1)

CountryLink
CN (1)CN111752726B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113807960A (en)*2021-03-042021-12-17京东科技控股股份有限公司Cross-link processing method, device and system between heterogeneous chains and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1670694A (en)*2004-01-302005-09-21捷讯研究有限公司 System and method for publishing and accessing application APIs on general-purpose terminals
CN103281368A (en)*2013-05-222013-09-04河海大学Data sharing exchange model and method based on cloud computation
CN104253865A (en)*2014-09-182014-12-31华南理工大学Two-level management method for hybrid desktop cloud service platform
CN108551464A (en)*2018-03-082018-09-18网宿科技股份有限公司 A hybrid cloud connection establishment, data transmission method, device and system
CN109547562A (en)*2018-12-132019-03-29爱普(福建)科技有限公司A kind of data sharing method and system based on data sharing gateway
CN109617990A (en)*2018-12-292019-04-12长威信息科技发展股份有限公司A kind of converged communication resource cloud sharing method and system
CN110071965A (en)*2019-03-272019-07-30上海德衡数据科技有限公司A kind of data center management system based on cloud platform
CN111309691A (en)*2020-01-152020-06-19深圳市华傲数据技术有限公司 Data sharing switching system and switching method based on bus architecture

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103731400A (en)*2012-10-122014-04-16三星电子(中国)研发中心Resource sharing system and method
CN108134764B (en)*2016-12-012021-01-29中国电子科技集团公司第十五研究所Distributed data sharing and exchanging method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1670694A (en)*2004-01-302005-09-21捷讯研究有限公司 System and method for publishing and accessing application APIs on general-purpose terminals
CN103281368A (en)*2013-05-222013-09-04河海大学Data sharing exchange model and method based on cloud computation
CN104253865A (en)*2014-09-182014-12-31华南理工大学Two-level management method for hybrid desktop cloud service platform
CN108551464A (en)*2018-03-082018-09-18网宿科技股份有限公司 A hybrid cloud connection establishment, data transmission method, device and system
CN109547562A (en)*2018-12-132019-03-29爱普(福建)科技有限公司A kind of data sharing method and system based on data sharing gateway
CN109617990A (en)*2018-12-292019-04-12长威信息科技发展股份有限公司A kind of converged communication resource cloud sharing method and system
CN110071965A (en)*2019-03-272019-07-30上海德衡数据科技有限公司A kind of data center management system based on cloud platform
CN111309691A (en)*2020-01-152020-06-19深圳市华傲数据技术有限公司 Data sharing switching system and switching method based on bus architecture

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于云计算的铁路信息共享平台及关键技术研究;张莉艳;《中国博士学位论文全文数据库信息科技辑》;I138-11*
基于可持续发展的水文水资源信息共享及实践探讨;孙岩;;河南水利与南水北调(第17期);第49-51页*

Also Published As

Publication numberPublication date
CN111752726A (en)2020-10-09

Similar Documents

PublicationPublication DateTitle
US20240204978A1 (en)Interface for digital operator platform including response caching
CN108510389B (en) Blockchain-based smart contract calling method, device and readable storage medium
CN109246251A (en)A kind of micro services call method, device, system, equipment and readable storage medium storing program for executing
KR102000990B1 (en)Micro grid energy management system using dds middleware
US20090319686A1 (en)Communication route selecting method and apparatus
KR20000006360A (en)publish&subscribe data processing apparatus, method, and computer program product with use of a stream to distribute local information between neighbors in a broker structure
CN113055461B (en)ZooKeeper-based unmanned cluster distributed cooperative command control method
CN109995842B (en) A grouping method and device for distributed server cluster
CN103051551A (en)Distributed system and automatic maintaining method for same
US20070033441A1 (en)System for and method of multi-location test execution
CN1980243A (en)Service broker integration layer for supporting telecommunication client service requests
Kookarinrat et al.Design and implementation of a decentralized message bus for microservices
CN109173270A (en)A kind of game service system and implementation method
CN110109766A (en)Data request method, device, system, data forwarding device and storage medium
CN111752726B (en)Method for quickly cross sharing data among multiple systems
Dommel et al.Efficacy of floor control protocols in distributed multimedia collaboration
CN108289055A (en)A kind of distributed live chat system and method based on Redis subscription services
CN116366652A (en) Distributed application operation and maintenance method, system, device, server and gateway equipment
CN106331201A (en)Domain name system resource record caching control method and server
CN113010337A (en)Fault detection method, master control node, working node and distributed system
US11337038B2 (en)Method, device and system for transmitting multicast group information
Grace et al.Overstar: An open approach to end-to-end middleware services in systems of systems
US20080005291A1 (en)Coordinated information dispersion in a distributed computing system
CN114205233A (en) A data management and control-oriented smart contract adaptive configuration and execution framework
CN106936900B (en)Clustered node statistical method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp