Data exchange method and device
By designing a data sharing platform docking system and a data development platform docking system, the problems of inefficient data exchange between the networks of relevant departments and the public Internet are solved, seamless data docking and secure transmission are achieved, and the efficiency of data opening work is improved.
Patent Information
- Application Number
- CN202411623666.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-02-28
AI Technical Summary
The prior art has problems of inefficiency and insufficient security in data exchange between relevant department networks and public Internet, and it is difficult to meet actual needs.
A method of data exchange is designed to achieve seamless data docking and secure transmission through the data sharing platform docking system and the data development platform docking system. The specific steps include the definition and call of the uplink interface module and the downlink interface module, data verification, storage, encryption and decryption processing, ensuring the security and integrity of the data.
It has achieved seamless connection between the shared data platform of relevant departments and the public data open platform, ensured data security, promoted the effective utilization of data resources, and improved the efficiency of data open work.
Smart Images

Figure CN119544283A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data exchange, and specifically provides a method and device for data exchange. Background Art
[0002] In recent years, with the rapid development of big data and cloud computing technologies, the importance of data as a new production factor has become increasingly prominent. Relevant departments have mastered a large amount of data resources, which are of great significance for improving the level of social governance and promoting economic and social development. At the same time, the public open data platform brings together rich data from all walks of life, which also has extremely high utilization value. The data sharing platform of relevant departments is a window and hub for sharing and exchanging non-confidential government information resources, and the public data open platform is a window for providing open data services to the public.
[0003] However, due to the isolation between the networks of relevant departments and the public Internet, as well as considerations such as data security and privacy protection, data exchange between the two faces many challenges.
[0004] Existing data exchange solutions often have problems such as low efficiency and insufficient security, and are difficult to meet actual needs. Summary of the invention
[0005] The present invention aims at the above-mentioned deficiencies of the prior art and provides a data exchange method with strong practicability.
[0006] A further technical task of the present invention is to provide a data exchange device that is rationally designed, safe and applicable.
[0007] The technical solution adopted by the present invention to solve the technical problem is:
[0008] A method for data exchange comprises the following steps:
[0009] S1, data sharing platform docking system;
[0010] S2, data development platform docking system;
[0011] S3, data exchange area.
[0012] Furthermore, in step S1, it further includes:
[0013] S1-1, the uplink interface module receives the application system, resource application information, and resource subscription information reported by the data open platform;
[0014] S1-2, the downstream interface module provides directory classification, directory, directory information items, resource information, resource application approval and authorization interfaces, which are proxied by the intelligent API gateway for the data open platform to call.
[0015] Furthermore, in step S1-1, it includes:
[0016] (1-1.1) Interface definition: define standardized API interfaces, use HTTP / HTTPS protocols, and transmit data in JSON or XML format;
[0017] (1-1.2) Data verification: format verification and content verification of received data;
[0018] (1-1.3) Data storage: Store the verified data in the database for subsequent processing.
[0019] Furthermore, in step S1-2, it includes:
[0020] (1-2.1) Interface definition: define standardized API interfaces, use HTTP / HTTPS protocol, and transmit data in JSON or XML format;
[0021] (1-2.2) Data query, query the corresponding data from the database according to the request parameters;
[0022] (1-2.3) Data encryption: encrypt sensitive data;
[0023] (1-2.4) Interface call, through the intelligent API gateway proxy, returns the data to the data open platform.
[0024] Furthermore, in step S2, it further includes:
[0025] S2-1, the reporting module pushes the application system, resource application information, and resource subscription information of the data open platform to the uplink interface of the data sharing platform;
[0026] S2-2. The receiving module calls the data sharing platform downstream interface module to synchronize the directory classification, directory, directory information items, resource information, resource application approval, and authorization information to the data open platform.
[0027] Furthermore, in step S2-1, the details are as follows:
[0028] (2-1.1) Data preparation: organize and package the data to be reported;
[0029] (2-1.2) Interface call, calling the data sharing platform uplink interface to send data to the data sharing platform;
[0030] (2-1.3) Result processing: update the local data status according to the result returned by the interface;
[0031] In step S2-2, the details are as follows:
[0032] (2-2.1) Interface call: call the data sharing platform downstream interface regularly or on demand to obtain the latest data information;
[0033] (2-2.2) Data parsing: parsing the data returned by the interface to extract the required information;
[0034] (2-2.3) Data storage: The parsed data is stored in a local database for subsequent use.
[0035] Furthermore, in step S3, it further includes:
[0036] S3-1, the front-end database stores the data exchanged from the data sharing platform for use by the data open platform;
[0037] S3-2, the front shared folder stores the file data exchanged from the data sharing platform for use by the data open platform;
[0038] S3-3. Open users apply for resources through the data open platform. The data open platform feeds back the application information to the data sharing platform through the reporting module. The data sharing platform feeds back the application result information to the data open platform through the interface downstream module. At the same time, the data sharing platform pushes the resource information to the open library. The open library performs synchronous data exchange operations and pushes the resources to the open users in the form of the front library or the front library shared folder.
[0039] Furthermore, in step S3-1, the details are as follows:
[0040] (3-1.1) Data integration: obtaining subscription applications for library and table resources from the data sharing platform and aggregating data into an open library through data integration tools;
[0041] (3-1.2) Data desensitization: Desensitize sensitive data;
[0042] (3-1.3) Data exchange: establish a data exchange task from the open database to the shared front-end database, and exchange data to the front-end database;
[0043] (3-1.4) Data synchronization: The data open platform synchronizes data from the front-end database to the open user side;
[0044] In step S3-2, the details are as follows:
[0045] (3-2.1) File exchange: obtain a file resource subscription application from the data sharing platform, establish a file data exchange task from the source file to the front-end shared folder, and exchange the file data to the front-end shared folder;
[0046] (3-2.2) File synchronization: the data open platform synchronizes file data from the front-end shared folder to the open user side.
[0047] Further, in step S3-3, the details are as follows:
[0048] (3-3.1) Resource application: users submit resource applications through the data open platform, and the data open platform sends the application information to the data sharing platform through the reporting module;
[0049] (3-3.2) Application processing: the data sharing platform processes the received application information;
[0050] (3-3.3) Result feedback: the data sharing platform will feed back the application result information to the data open platform through the interface downstream module;
[0051] (3-3.4) Resource push: The data sharing platform pushes resource information to the open library. The open library performs synchronous data exchange operations and pushes resources to open users in the form of a front library or a front library shared folder.
[0052] A data exchange device, comprising: at least one memory and at least one processor;
[0053] The at least one memory is used to store a machine-readable program;
[0054] The at least one processor is used to call the machine-readable program to execute a data exchange method.
[0055] Compared with the prior art, the data exchange method and device of the present invention have the following outstanding beneficial effects:
[0056] Under the premise of ensuring data security, the present invention can achieve seamless connection between the shared data platform of relevant departments and the public data open platform, promote the effective use of data resources, and improve the data open work efficiency of relevant departments. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0058] Attached Figure 1 It is a flowchart of a method for exchanging data. DETAILED DESCRIPTION
[0059] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] A best embodiment is given below:
[0061] like Figure 1 As shown, a data exchange method in this embodiment has the following steps:
[0062] S1, data sharing platform docking system;
[0063] Further including:
[0064] S1-1, the uplink interface module receives the application system, resource application information, and resource subscription information reported by the data open platform.
[0065] The specific implementation is as follows:
[0066] (1-1.1) Interface definition: define standardized API interfaces, use HTTP / HTTPS protocols, and transmit data in JSON or XML format;
[0067] (1-1.2) Data verification: perform format verification and content verification on the received data to ensure the integrity and accuracy of the data.
[0068] (1-1.3) Data storage: Store the verified data in the database for subsequent processing.
[0069] S1-2, the downstream interface module provides directory classification, directory, directory information items, resource information, resource application approval and authorization interfaces, which are called by the data open platform after being proxied by the intelligent API gateway;
[0070] The specific implementation is as follows:
[0071] (1-2.1) Interface definition: define standardized API interfaces, use HTTP / HTTPS protocol, and transmit data in JSON or XML format;
[0072] (1-2.2) Data query, query the corresponding data from the database according to the request parameters;
[0073] (1-2.3) Data encryption: encrypt sensitive data to ensure data security during transmission;
[0074] (1-2.4) Interface call, through the intelligent API gateway proxy, returns the data to the data open platform.
[0075] S2, data development platform docking system;
[0076] Further including:
[0077] S2-1, the reporting module pushes the application system, resource application information, and resource subscription information of the data open platform to the uplink interface of the data sharing platform;
[0078] The specific implementation is as follows:
[0079] (2-1.1) Data preparation: organize and package the data to be reported;
[0080] (2-1.2) Interface call, calling the data sharing platform uplink interface to send data to the data sharing platform;
[0081] (2-1.3) Result processing: update the local data status according to the result returned by the interface;
[0082] S2-2, the receiving module calls the data sharing platform downlink interface module to synchronize the directory classification, directory, directory information items, resource information, resource application approval, and authorization information to the data open platform;
[0083] The specific implementation is as follows:
[0084] (2-2.1) Interface call: call the data sharing platform downstream interface regularly or on demand to obtain the latest data information;
[0085] (2-2.2) Data parsing: parsing the data returned by the interface to extract the required information;
[0086] (2-2.3) Data storage: The parsed data is stored in a local database for subsequent use.
[0087] S3, data exchange area;
[0088] Further including:
[0089] S3-1. The front-end database stores the data exchanged from the data sharing platform for use by the data open platform. The specific implementation is as follows:
[0090] (3-1.1) Data integration: obtaining subscription applications for library and table resources from the data sharing platform and aggregating data into an open library through data integration tools;
[0091] (3-1.2) Data desensitization: Desensitize sensitive data to ensure data security;
[0092] (3-1.3) Data exchange: establish a data exchange task from the open database to the shared front-end database, and exchange data to the front-end database;
[0093] (3-1.4) Data synchronization: The data open platform synchronizes data from the front-end database to the open user side.
[0094] S3-2, the front shared folder stores the file data exchanged from the data sharing platform for use by the data open platform;
[0095] The specific implementation is as follows:
[0096] (3-2.1) File exchange: obtain a file resource subscription application from the data sharing platform, establish a file data exchange task from the source file to the front-end shared folder, and exchange the file data to the front-end shared folder;
[0097] (3-2.2) File synchronization: the data open platform synchronizes file data from the front-end shared folder to the open user side.
[0098] S3-3. Open users apply for resources through the data open platform. The data open platform feeds back the application information to the data sharing platform through the reporting module. The data sharing platform feeds back the application result information to the data open platform through the interface downstream module. At the same time, the data sharing platform pushes the resource information to the open library. The open library performs synchronous data exchange operations and pushes the resources to the open users in the form of the pre-library or the pre-library shared folder. The specific implementation is as follows:
[0099] (3-3.1) Resource application: users submit resource applications through the data open platform, and the data open platform sends the application information to the data sharing platform through the reporting module;
[0100] (3-3.2) Application processing: The data sharing platform processes the received application information, including resource review, authority allocation, etc.
[0101] (3-3.3) Result feedback: the data sharing platform will feed back the application result information to the data open platform through the interface downstream module;
[0102] (3-3.4) Resource push: The data sharing platform pushes resource information to the open library. The open library performs synchronous data exchange operations and pushes resources to open users in the form of a front library or a front library shared folder.
[0103] Based on the above method, a data exchange device in this embodiment includes: at least one memory and at least one processor;
[0104] The at least one memory is used to store a machine-readable program;
[0105] The at least one processor is used to call the machine-readable program to execute a data exchange method.
[0106] The above-mentioned specific implementations are only specific cases of the present invention. The patent protection scope of the present invention includes but is not limited to the above-mentioned specific implementations. Any technical solutions that conform to the above-mentioned specific implementations of the present invention and any appropriate changes or substitutions made by ordinary technicians in the relevant technical field shall fall within the patent protection scope of the present invention.
[0107] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for data exchange, characterized in that: The steps are as follows: S1, data sharing platform docking system; S2, data development platform docking system; S3, data exchange area.
2. A method for data exchange according to claim 1, characterized in that: In step S1, further comprising: S1-1, the uplink interface module receives the application system, resource application information, and resource subscription information reported by the data open platform; S1-2, the downstream interface module provides directory classification, directory, directory information items, resource information, resource application approval and authorization interfaces, which are proxied by the intelligent API gateway for the data open platform to call.
3. A method for data exchange according to claim 2, characterized in that: In step S1-1, it includes: (1-1.1) Interface definition: define standardized API interfaces, use HTTP / HTTPS protocols, and transmit data in JSON or XML format; (1-1.2) Data verification: format verification and content verification of received data; (1-1.3) Data storage: Store the verified data in the database for subsequent processing.
4. A method for data exchange according to claim 3, characterized in that: In step S1-2, it includes: (1-2.1) Interface definition: define standardized API interfaces, use HTTP / HTTPS protocol, and transmit data in JSON or XML format; (1-2.2) Data query, query the corresponding data from the database according to the request parameters; (1-2.3) Data encryption: encrypt sensitive data; (1-2.4) Interface call, through the intelligent API gateway proxy, returns the data to the data open platform.
5. A method for data exchange according to claim 4, characterized in that: In step S2, further comprising: S2-1, the reporting module pushes the application system, resource application information, and resource subscription information of the data open platform to the uplink interface of the data sharing platform; S2-2. The receiving module calls the data sharing platform downstream interface module to synchronize the directory classification, directory, directory information items, resource information, resource application approval, and authorization information to the data open platform.
6. A method for data exchange according to claim 5, characterized in that: In step S2-1, the details are as follows: (2-1.1) Data preparation: organize and package the data to be reported; (2-1.2) Interface call, calling the data sharing platform uplink interface to send data to the data sharing platform; (2-1.3) Result processing: update the local data status according to the result returned by the interface; In step S2-2, the details are as follows: (2-2.1) Interface call: call the data sharing platform downstream interface regularly or on demand to obtain the latest data information; (2-2.2) Data parsing: parsing the data returned by the interface to extract the required information; (2-2.3) Data storage: The parsed data is stored in a local database for subsequent use.
7. A method for data exchange according to claim 6, characterized in that: In step S3, further comprising: S3-1, the front-end database stores the data exchanged from the data sharing platform for use by the data open platform; S3-2, the front shared folder stores the file data exchanged from the data sharing platform for use by the data open platform; S3-3. Open users apply for resources through the data open platform. The data open platform feeds back the application information to the data sharing platform through the reporting module. The data sharing platform feeds back the application result information to the data open platform through the interface downstream module. At the same time, the data sharing platform pushes the resource information to the open library. The open library performs synchronous data exchange operations and pushes the resources to the open users in the form of the front library or the front library shared folder.
8. A method for data exchange according to claim 7, characterized in that: In step S3-1, the details are as follows: (3-1.1) Data integration: obtaining subscription applications for library and table resources from the data sharing platform and aggregating data into an open library through data integration tools; (3-1.2) Data desensitization: Desensitize sensitive data; (3-1.3) Data exchange: establish a data exchange task from the open database to the shared front-end database, and exchange data to the front-end database; (3-1.4) Data synchronization: The data open platform synchronizes data from the front-end database to the open user side; In step S3-2, the details are as follows: (3-2.1) File exchange: obtain a file resource subscription application from the data sharing platform, establish a file data exchange task from the source file to the front-end shared folder, and exchange the file data to the front-end shared folder; (3-2.2) File synchronization: the data open platform synchronizes file data from the front-end shared folder to the open user side.
9. A method for data exchange according to claim 8, characterized in that: In step S3-3, the details are as follows: (3-3.1) Resource application: users submit resource applications through the data open platform, and the data open platform sends the application information to the data sharing platform through the reporting module; (3-3.2) Application processing: the data sharing platform processes the received application information; (3-3.3) Result feedback: the data sharing platform will feed back the application result information to the data open platform through the interface downstream module; (3-3.4) Resource push: The data sharing platform pushes resource information to the open library. The open library performs synchronous data exchange operations and pushes resources to open users in the form of a front library or a front library shared folder.
10. A data exchange device, characterized in that: include: at least one memory and at least one processor; The at least one memory is used to store a machine-readable program; The at least one processor is configured to call the machine-readable program to execute the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Docking system for large-scale instrument sharing service system and state network management platform
CN107657016A
Data interaction method, system and device based on multiple data platforms and storage medium
CN112148679A
Data exchange method and system between data sharing platform and data opening platform
CN115129774A
Micro-service water conservancy data sharing and exchanging method based on task segmentation
CN116567007A
Data conversion method and system for hospital information system and application of data conversion method and system
CN118842834A