CN109726235A - Method for interchanging data, device, readable storage medium storing program for executing, electronic equipment and system - Google Patents

Method for interchanging data, device, readable storage medium storing program for executing, electronic equipment and system Download PDF

Info

Publication number
CN109726235A
CN109726235A CN201811428927.XA CN201811428927A CN109726235A CN 109726235 A CN109726235 A CN 109726235A CN 201811428927 A CN201811428927 A CN 201811428927A CN 109726235 A CN109726235 A CN 109726235A
Authority
CN
China
Prior art keywords
data
metadata table
mapping relations
data item
item
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.)
Pending
Application number
CN201811428927.XA
Other languages
Chinese (zh)
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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201811428927.XA priority Critical patent/CN109726235A/en
Publication of CN109726235A publication Critical patent/CN109726235A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This disclosure relates to a kind of method for interchanging data, device, readable storage medium storing program for executing, electronic equipment and data exchange system.Method includes: the data exchange request for receiving data requirements side and sending, and includes demand data item in the data exchange request, the demand data item characterizes the data item of data requirements side's demand;According to the first mapping relations in the data item in the target service metadata table of publication and technology metadata table between field, from the technology metadata table, determine the corresponding aiming field of the demand data item, the data item that the data item characterize data provider in the target service metadata table provides;The data of the aiming field are obtained from the technology metadata table, and the data are supplied to the data requirements side.It can effectively avoid and manually linked up between data requirements side and data providing as a result, or by human configuration exchange tool, therefore, artificial participation can be reduced, improve data exchange accuracy and safety.

Description

Method for interchanging data, device, readable storage medium storing program for executing, electronic equipment and system
Technical field
This disclosure relates to field of computer technology, and in particular, to a kind of method for interchanging data, device, readable storage medium Matter, electronic equipment and system.
Background technique
At this stage in response to the simplify administrative procedures and delegate powers to the lower levels of country, there are more and more data sharing demands between government department, For the ease of data sharing between government department, country constantly promotes e-government development, and China's Informatization Construction of Government Affairs obtains Substantial progress, oneself has built up the cores government system such as industry and commerce, the tax, population and public safety, each government system has Corresponding government data library support, is managed with the data to the government system.
However, the development platform and development language due to each government data library have difference, each government data It is difficult to carry out data exchange between library.And due to each government department demand for data be also it is very strange, this is just needed Data providing provides data to data item party in request using existing method for interchanging data according to the demand of data requirements side.
Existing method for interchanging data mainly includes following two.
Method 1: it by modes such as mail, phones under data requirements side's line, is submitted to data providing and obtains data acquisition Request application, data providing audit the request application, when request application passes through, pass through the transmission modes such as mail, data line Serve data to data requirements side.
Method 2: data providing provides the data exchange tools such as ETL tool, ESK tool and provides number to data requirements side According to.
However, linking up due to needing and confirming repeatedly back and forth, lead to timeliness when carrying out data exchange using method 1 Difference.When carrying out data exchange using method 2, when data requirements side applies exchanging data every time, being required to rely on has calculating The technical staff of machine background knowledge configures in the data exchange tools such as ETL tool, ESK tool, which can be true Fixed number needs the position for storing data according to the required data of party in request specific location in the database and data requirements side Deng, therefore, data exchange is carried out using method 2, causes artificial participation high, introducing error probability height.Further, since needing skill Art personnel configure, and easily lead to leaking data, influence the safety of data.
Summary of the invention
In order to overcome problems of the prior art, the embodiment of the present disclosure provide a kind of method for interchanging data, device, can Read storage medium, electronic equipment and system.
To achieve the goals above, embodiment of the present disclosure first aspect provides a kind of according to exchange method, comprising:
The data exchange request that data requirements side is sent is received, includes demand data item, institute in the data exchange request State the data item that demand data item characterizes data requirements side's demand;
According to first reflecting between field in the data item in the target service metadata table of publication and technology metadata table Relationship is penetrated, from the technology metadata table, determines the corresponding aiming field of the demand data item, the target service member number The data item provided according to the data item characterize data provider in table;
The data of the aiming field are obtained from the technology metadata table, and the data are supplied to the data Party in request.
Optionally, the data that the aiming field is obtained from the technology metadata table, and the data are mentioned Supply the data requirements side, comprising:
Creation includes the target matrix of the aiming field;
The data of the aiming field are obtained from the technology metadata table, and the data of the aiming field are filled Into the target matrix;
The target matrix is supplied to the data requirements side.
Optionally, the method also includes:
It receives in the initial service metadata table and the initial service metadata table that the data providing provides The second mapping relations in data item and the technology metadata table between field;
The shared attribute of data item in the initial service metadata table is audited;
Generating includes the target service metadata table for auditing the data item passed through;
According to the target service metadata table and second mapping relations, first mapping relations are issued.
Optionally, described according to the target service metadata table and second mapping relations, publication described first is reflected Penetrate relationship, comprising:
According to the target service metadata table and second mapping relations, third mapping relations are obtained;
The third mapping relations are audited;
If the third mapping relations are sent out by audit using the third mapping relations as first mapping relations Cloth;
If the third mapping relations do not pass through audit, the third mapping relations are updated, and gained after update is reflected Relationship is penetrated to issue as first mapping relations.
Optionally, the method also includes:
It receives in the initial service metadata table and the initial service metadata table that the data providing provides The second mapping relations in data item and the technology metadata table between field;
The shared attribute of data item in the initial service metadata table is audited;
Generating includes the target service metadata table for auditing the data item passed through;
Second mapping relations are audited;
If second mapping relations are closed by audit according to the target service metadata table and second mapping System, obtains and issues first mapping relations;
If second mapping relations do not pass through audit, second mapping relations are updated, and according to the target service Gained mapping relations, obtain and issue first mapping relations after metadata table and update.
Optionally, the data exchange request further includes the identity information of the data requirements side;The method also includes:
According to the identity information of the data requirements side, the permission of the data requirements side is determined;
According to the permission, the data exchange request is audited;
The data exchange request audit pass through when, then execute it is described according to data item in target service metadata table with The first mapping relations in technology metadata table between field determine the demand data item from the technology metadata table Corresponding aiming field, the step for the data item that the data item characterize data provider in the target service metadata table provides Suddenly.
Embodiment of the present disclosure second aspect provides a kind of DEU data exchange unit, comprising:
First receiving module, the data exchange request that party in request sends for receiving data, in the data exchange request Including demand data item, the demand data item characterizes the data item of data requirements side's demand;
First determining module, for word in data item in the target service metadata table according to publication and technology metadata table The first mapping relations between section determine the corresponding aiming field of the demand data item, institute from the technology metadata table State the data item that the data item characterize data provider in target service metadata table provides;
First obtains module, for obtaining the data of the aiming field from the technology metadata table, and will be described Data are supplied to the data requirements side.
Optionally, the first acquisition module includes:
Submodule is created, for creating the target matrix comprising the aiming field;
First acquisition submodule, for obtaining the data of the aiming field from the technology metadata table, and by institute The data for stating aiming field are filled into the target matrix;
First provides submodule, for the target matrix to be supplied to the data requirements side.
Optionally, described device further include:
Second receiving module, for receive initial service metadata table that the data providing provides and it is described just The second mapping relations in data item and the technology metadata table in beginning of the school year business metadata table between field;
First auditing module is audited for the shared attribute to the data item in the initial service metadata table;
First generation module includes the target service metadata table for auditing the data item passed through for generating;
First release module, for according to the target service metadata table and second mapping relations, described in publication First mapping relations.
Optionally, first release module includes:
Second acquisition submodule, for according to the target service metadata table and second mapping relations, obtaining the Three mapping relations;
Submodule is audited, for auditing to the third mapping relations;
First publication submodule, if for the third mapping relations by audit, using the third mapping relations as The first mapping relations publication;
Second publication submodule updates the third mapping and closes if not passing through audit for the third mapping relations System, and gained mapping relations after update are issued as first mapping relations.
Optionally, described device further include:
Third receiving module, for receive initial service metadata table that the data providing provides and it is described just The second mapping relations in data item and the technology metadata table in beginning of the school year business metadata table between field;
Second auditing module is audited for the shared attribute to the data item in the initial service metadata table;
Second generation module includes the target service metadata table for auditing the data item passed through for generating;
Third auditing module, for being audited to second mapping relations;
Second release module, if for second mapping relations by audit, according to the target service metadata table With second mapping relations, obtains and issue first mapping relations;
Third release module updates second mapping relations if not passing through audit for second mapping relations, and According to gained mapping relations after the target service metadata table and update, obtains and issue first mapping relations.
Optionally, the data exchange request further includes the identity information of the data requirements side;Described device further include:
Second determining module determines the power of the data requirements side for the identity information according to the data requirements side Limit;
4th auditing module, for being audited to the data exchange request according to the permission;
First determining module is used for when data exchange request audit passes through, according to target service metadata table The first mapping relations in middle data item and technology metadata table between field, from the technology metadata table, described in determination The corresponding aiming field of demand data item.
The embodiment of the present disclosure third aspect provides a kind of computer readable storage medium, is stored thereon with computer program, The step of the method provided by embodiment of the present disclosure first aspect is realized when the program is executed by processor.
Embodiment of the present disclosure fourth aspect, provides a kind of electronic equipment, comprising:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize embodiment of the present disclosure first party Provided by face the step of the method.
The 5th aspect of the embodiment of the present disclosure, provides a kind of data exchange system, comprising: the first electricity as data requirements side Sub- equipment, the second electronic equipment and shared platform as data providing, first electronic equipment, second electronics Equipment is communicated to connect with the shared platform respectively;
First electronic equipment, for sending data exchange request, the data exchange request to the shared platform In include demand data item, the demand data item characterizes the data item of data requirements side's demand;
Second electronic equipment, is used to provide the described technology metadata table;
The shared platform, for the step of executing the method provided by embodiment of the present disclosure first aspect;
First electronic equipment is also used to receive the data that the shared platform is sent.
By adopting the above technical scheme, the data exchange request that shared platform is sent according to data requirements side, and the mesh of publication The first mapping relations in the data item in data service metadata table and technology metadata table between field are marked, from technology metadata table In determine the corresponding aiming field of data item that data requirements side needs, and then the target is got from technology metadata table The data of field, and the data are supplied to data requirements side.Thus, it is possible to effectively avoid providing in data requirements side and data It is manually linked up between side, or by human configuration exchange tool, therefore, artificial participation can be reduced, improved data and hand over The accuracy and safety changed.Further, since linking up or configuring without artificial, data requirements side's quick obtaining data can be made, Improve the timeliness of data exchange.
Other feature and advantage of the disclosure will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
Attached drawing is and to constitute part of specification for providing further understanding of the disclosure, with following tool Body embodiment is used to explain the disclosure together, but does not constitute the limitation to the disclosure.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of data exchange system shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of method for interchanging data shown according to an exemplary embodiment.
Fig. 3 is data item and technical element number in a kind of initial service metadata table shown according to an exemplary embodiment According to the schematic diagram of the second mapping relations of field in table.
Fig. 4 is data item and technical element number in a kind of target service metadata table shown according to an exemplary embodiment According to the schematic diagram of the first mapping relations of field in table.
Fig. 5 is that a kind of data by aiming field in technology metadata table shown according to an exemplary embodiment are filled into The schematic diagram of target matrix.
Fig. 6 is the method flow that a kind of shared platform shown according to an exemplary embodiment issues the first mapping relations Figure.
Fig. 7 is that a kind of shared platform shown according to another exemplary embodiment issues the method flow of the first mapping relations Figure.
Fig. 8 is a kind of block diagram of DEU data exchange unit shown according to an exemplary embodiment.
Fig. 9 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.
Specific embodiment
It is described in detail below in conjunction with specific embodiment of the attached drawing to the disclosure.It should be understood that this place is retouched The specific embodiment stated is only used for describing and explaining the disclosure, is not limited to the disclosure.
The disclosure provides a kind of data exchange system, as shown in Figure 1, the system may include as data requirements side One electronic equipment 11, the second electronic equipment 12 and shared platform 13 as data providing.Wherein, first electronic equipment 11, the second electronic equipment 12 is communicated to connect with shared platform 13 respectively.In the disclosure, realize that data need by shared platform 13 Automatic data exchange between the side of asking and data providing hereafter will be apparent from the method for interchanging data of disclosure offer.
Fig. 2 is a kind of flow chart of method for interchanging data shown according to an exemplary embodiment.This method is applied to upper State the shared platform in data exchange system.As shown in Fig. 2, this method may comprise steps of.
In a step 11, the data exchange request that data requirements side is sent is received, includes demand in the data exchange request Data item, the data item of the demand data item characterize data party in request demand.
In step 12, according in the target service metadata table of publication data item and technology metadata table in field it Between the first mapping relations determine the corresponding aiming field of demand data item from technology metadata table.Wherein, target service The data item that data item characterize data provider in metadata table provides.
In the disclosure, data service metadata (Business Metadata) table is for defining business terms, from business visual angle Data meaning is described, so that more easily user understands that form can be, for example, shown in Fig. 3 or Fig. 4.Technology metadata (Technical Metadata) table is mainly the specific descriptions to tables of data in database, for describing specific data structure, Its form can be, for example, shown in Fig. 3 or Fig. 4.Technology metadata table may include multiple sublists, in Fig. 3 and Fig. 4, the technology Metadata table includes 3 sublists: Xue Shengbiao, curriculum schedule and curricula-variable table may also include identical word in different sublists Section, it can have incidence relation between same field in different sublists.Data service metadata table and technology metadata table are by data Provider provides.
In the disclosure, target service metadata table refers to the practical data service metadata table being able to use of shared platform.? In a kind of embodiment, target service metadata table can be the initial service metadata table that data providing is supplied to shared platform (initial service metadata table as shown in Figure 3).
In addition, above-mentioned data providing can also to shared platform provide initial service metadata table in data item with Mapping relations in technology metadata table between field, the mapping relations can be considered as the data service metadata of data providing offer Initial mapping relationship (initial service metadata table as shown in Figure 3 in table in data item and technology metadata table between field In data item and technology metadata table in mapping relations between field).In order to more clearly describe, the disclosure will be shared flat Platform publication can be known as the first mapping relations to the visible mapping relations of data party in request, and the initial mapping relationship is known as Second mapping relations.In one embodiment, shared platform can be after receiving second mapping relations just as One mapping relations are issued.
Shared platform, can be according in the data exchange request when receiving the data exchange request of data requirements side's transmission The demand data item for including determines target data item corresponding with the demand data item from target service metadata table, into And according to the first mapping relations of publication, the corresponding field of the target data item is determined from technology metadata table, the word Section is i.e. as above-mentioned aiming field.
Illustratively, it is assumed that the first mapping relations of shared platform publication as shown in figure 3, if include in data exchange request Data item are as follows: student's number, student name and students' genders, correspondingly, shared platform can be according to the data exchange request, from mesh Target data item is determined in mark data service metadata table are as follows: student's number, student name and students' genders, and reflected according to first Penetrate relationship, determine to number with the student, student name and the corresponding field of students' genders are as follows: SNO, NAME and GENDER, accordingly it is determined that the aiming field gone out is SNO, NAME and GENDER.
In step 13, the data of aiming field are obtained from technology metadata table, and the data are supplied to data to need The side of asking.
Shared platform further gets aiming field from the technology metadata table after determining aiming field Data, and data requirements side is served data to, and then realize data exchange.
By adopting the above technical scheme, it is possible to prevente effectively from carrying out artificial ditch between data requirements side and data providing It is logical, or therefore artificial participation can be reduced by human configuration exchange tool, improve the accuracy and peace of data exchange Quan Xing.Further, since linking up or configuration without artificial, data requirements side's quick obtaining data can be made, improve data exchange when Effect property.
In one embodiment, the data for the aiming field that shared platform can directly will acquire are supplied to data and need The side of asking.In another embodiment, data are more clearly visible consulted for the ease of user, the specific embodiment of step 13 can With are as follows: creation includes the target matrix of aiming field;The data of aiming field are obtained from technology metadata table, and by target The data of field are filled into the target matrix;Target matrix is supplied to data requirements side.
Illustratively, as shown in fig. 5, it is assumed that aiming field are as follows: SNO, NAME and GENDER, such shared platform is according to the mesh Marking-up section creates target matrix, wherein the field of the target matrix includes these three aiming fields.Then, shared platform The data of aiming field are obtained from technology metadata table, and the data of aiming field are filled into the target matrix, most After the target matrix will be supplied to data requirements side.In this way, serving data to data requirements side using form, just The data under the corresponding field of its required data item are clearly consulted in data requirements side.
In the initial service metadata table and the second mapping relations that data providing provides, there is some ask sometimes Topic.For example, certain data item in initial service metadata table cannot be shared due to priority assignation or the second mapping is closed There are mapping errors for system, this is easy for causing the accuracy of data exchange to decline, and be easy to cause leaking data.In order to avoid going out Existing these problems, in the preferred embodiment of the disclosure, shared platform can receive initial service metadata table and the When two mapping relations, the two is audited, to obtain the first mapping relations that can be issued.
Specifically, as shown in fig. 6, the method that shared platform issues the first mapping relations may comprise steps of.
In a step 61, initial service metadata table and initial service metadata table that data providing provides are received In data item and the technology metadata table in the second mapping relations between field.Wherein, the initial service metadata table May include according to data providing provide technology metadata table in all fields setting data item, in this way, this second Mapping relations are the corresponding relationship reflected between all data item and all fields.
Illustratively, it is assumed that the data providing provides and the information-related data of students' needs.Data providing has Fig. 3 Shown in technology metadata table, include: SNO, NAME, GENDER, ADDRESS, CNO, CNAME word in the technology metadata table Section.According to above-mentioned field, data item corresponding with the field: student's number, student name, students' genders, family is set separately Address, course number, course name, and according to the data item, determine initial service metadata table and initial service metadata The second mapping relations in data item in table and technology metadata table between field.
In step 62, the shared attribute of the data item in initial service metadata table is audited.
The shared attribute of data item, which can be divided into, unconditionally to be shared, has ready conditions shared and not share.In being total to for data item Enjoying attribute is when unconditionally sharing, to show that the data item is visible to owner and available, therefore, which can pass through audit. When the shared attribute of data item is not shared, show the data item to all with being invisible and unavailable per family, at this point, The data item should not be issued, therefore, data item audit does not pass through.
Having ready conditions shared can be further divided into that application approval is shared, orientation is shared and order is shared.It is in data item When application approval is shared, show the data item to owner as it can be seen that data requirements can be used just now after need to still examining, this When, which can be issued out.That is, the data item can lead to when the shared attribute of data item is shared for application approval Cross audit.
When data item is that orientation is shared, show that the data item is only visible to specified crowd available, shared platform is being issued Correspondingly permission can be set when the data item to the data item, only have the specified crowd of the data item is just visible the number can be used in this way According to item.That is, when the shared attribute of data item is that orientation is shared, which can be by audit, but associated permission Setting.
When data item is shared for order, show that the data item is invisible to owner, be intended to using when need to submit order, because This, can not issue the data item, that is, when the shared attribute of data item is shared for order, data item audit does not pass through.
It is audited by the shared attribute to the data item in initial service metadata table, can get rid of cannot be sent out The data item of cloth, to achieve the purpose that improve Information Security.
In step 63, generating includes the target service metadata table for auditing the data item passed through.
According to above-mentioned audit mode, determine that audit passes through, it can the data item for issuing out, according to the data item Generate target service metadata table.For example, removing the data that can not be issued in initial service metadata table shown in Fig. 3 --- home address, you can get it target service metadata table as shown in Figure 4.
In step 64, according to target service metadata table and the second mapping relations, the first mapping relations are issued.
In one embodiment, shared platform can be according to the data item for including in target service metadata table, from The corresponding relationship of the removal data item that the audit fails and field in technology metadata table in two mapping relations, it is logical only to retain audit The corresponding relationship of field in the data item and technology metadata table crossed, resulting mapping relations are the first mapping relations, concurrently Cloth first mapping relations.Such as by pair of the ADDRESS field in the data item of the home address in Fig. 3 and technology metadata table It should be related to removal to get to mapping relations shown in Fig. 4, which is the first mapping relations as publication.
In another embodiment, there is mistake in the mapping relations that data providing provides in order to prevent, in the disclosure In, mapping relations can also be audited.Specifically, step 64 may include:
Firstly, obtaining third mapping relations according to the target service metadata table and second mapping relations.Specifically Ground, shared platform can be according to the data item for including in target service metadata table, and removal is audited not from the second mapping relations By data item and technology metadata table in field corresponding relationship, only retain the data item that passes through of audit and technology metadata The corresponding relationship of field in table, resulting mapping relations are third mapping relations.
Then, the third mapping relations are audited, that is, the target service member that audit third mapping relations are reflected Whether the data item of tables of data and field corresponding relationship in technology metadata table are accurate.In each data item and technology metadata table When middle field corresponding relationship is accurate, otherwise which does not pass through audit by audit.Illustratively: audit student compiles It is number whether corresponding with SNO field, whether student name corresponding with NAME field etc..Shared platform can be by judging data item The whether consistent mode of the feature of feature and field, it is whether accurate to audit the corresponding relationship between data item and field.Work as spy It when levying consistent, determines that the corresponding relationship is accurate, when feature is inconsistent, determines the corresponding relationship mistake.For example, it is assumed that student compiles The feature of number this data item is 6 bit digitals, then judgement numbers whether the data of corresponding field are 6 digits with the student Word, if so, indicating that the data item is consistent with the corresponding relationship of the field.
When each data item in third mapping relations and the correct corresponding relationship between field, third mapping is closed System is by audit, at this point it is possible to issue using the third mapping relations as the first mapping relations.Exist when in third mapping relations When the corresponding relationship of mistake, then the third mapping relations do not pass through audit, and shared platform can automatically update the third and reflect at this time Relationship is penetrated, and gained mapping relations after update are issued as the first mapping relations.
For example, during shared platform audits the third mapping relations, when the corresponding field of student's number Data when not being 6 bit digital, the corresponding pass that student numbers this data item with field in technology metadata table can be changed automatically System, that is, delete student and number corresponding relationship between this data item and current corresponding field, and establish student and number this data Item and data are the corresponding relationship between the field of 6 bit digitals.
In addition, shared platform is in addition to that can automatically update the when there is the corresponding relationship of mistake in third mapping relations Except three mapping relations, the third mapping relations can also be updated by manual type.For example, shared platform can be to data Provider sends prompt information, updates above-mentioned third mapping relations to prompt data providing, reflecting upon a reception of an updated When penetrating relationship, the accuracy of the mapping relations can be audited again, as wrong, continuing prompt data providing makes it Continue to update, it is such as errorless, then it is issued using the updated mapping relations as the first mapping relations.
It is first to be audited to the data item in initial service metadata table in examples described above, rear logarithm It is audited according to mapping relations between item and field.It, can also be first to data item and field in the embodiment of another kind replacement Between mapping relations audited, after the data item in initial service metadata table is audited.Fig. 7 shows the replacement Embodiment.It may comprise steps of as shown in fig. 7, shared platform issues the first mapping relations method.
In step 71, the second mapping relations are audited.
In the disclosure, shared platform can first carry out second mapping relations after obtaining the second mapping relations Audit, it is whether accurate with the second mapping relations for determining that the data providing provides.It wherein, can to the audit of the second mapping relations It is audited in the method according to above-mentioned audit third mapping relations.Details are not described herein again.
In step 72, if the second mapping relations are by audit, according to target service metadata table and the second mapping relations, It obtains and issues the first mapping relations.
Specifically, shared platform can be according to the data item for including in target service metadata table, from the second mapping relations The corresponding relationship of field in the middle removal data item that the audit fails and technology metadata table, only retains the data item that audit passes through With the corresponding relationship of field in technology metadata table, resulting mapping relations are the first mapping relations.
In step 73, if the second mapping relations do not pass through audit, the second mapping relations are updated, and according to target service member Gained mapping relations, obtain and issue the first mapping relations after tables of data and update.
Similarly, if the second mapping relations do not pass through audit, shared platform can according to above in association with described in Fig. 6 more New paragon is automatic or manual to update the corresponding relationship that there is mistake in the second mapping relations.Later, according to target service metadata Gained mapping relations, obtain and issue the first mapping relations after table and update.
By the above-mentioned means, the accuracy for the mapping relations that the safety of data can be effectively controlled, and ensure to provide, thus Ensure the accuracy of data exchange.
In addition, the data exchange request in the disclosure can also include the identity information of data requirements side, in this way, shared flat Platform can determine the power of the data requirements side according to the identity information of the data requirements side when receiving the data exchange request Limit.Then, the data exchange request is audited according to the permission.Illustratively, it is assumed that include in data exchange request When shared attribute is orientation shared data item, shared platform determines that the data need according to the identity information of the data requirements side Whether the side of asking belongs to the available specified crowd of the data item authorization, when the data requirements side is specified crowd, determines the data Exchange request audit passes through, and executes above-mentioned steps 22.Obstructed out-of-date auditing, shared platform can be exported to data requirements side It haves no right the prompt information for obtaining the data item.
Using the above scheme, when data exchange request passes through audit, then step 22 is executed, can be further assured that data Safety.
In addition, shared platform during serving data to data requirements side, can also be fed back to data requirements side Information related with data exchange process.For example, the information may include: the speed, progress and completion data of data exchange Remaining time etc. is exchanged, consequently facilitating data requirements side understands data exchange situation in time.
Referring to FIG. 8, Fig. 8 is a kind of block diagram of DEU data exchange unit shown according to an exemplary embodiment.Such as Fig. 8 institute Show, which includes:
First receiving module 81, the data exchange request that party in request sends for receiving data, the data exchange request In include demand data item, the demand data item characterizes the data item of data requirements side's demand;
First determining module 82, in data item in the target service metadata table according to publication and technology metadata table The first mapping relations between field determine the corresponding aiming field of the demand data item from the technology metadata table, The data item that data item characterize data provider in the target service metadata table provides;
First obtains module 83, for obtaining the data of the aiming field from the technology metadata table, and by institute It states data and is supplied to the data requirements side.
Optionally, the first acquisition module 83 includes:
Submodule is created, for creating the target matrix comprising the aiming field;
First acquisition submodule, for obtaining the data of the aiming field from the technology metadata table, and by institute The data for stating aiming field are filled into the target matrix;
First provides submodule, for the target matrix to be supplied to the data requirements side.
Optionally, described device can also include:
Second receiving module, for receive initial service metadata table that the data providing provides and it is described just The second mapping relations in data item and the technology metadata table in beginning of the school year business metadata table between field;
First auditing module is audited for the shared attribute to the data item in the initial service metadata table;
First generation module includes the target service metadata table for auditing the data item passed through for generating;
First release module, for according to the target service metadata table and second mapping relations, described in publication First mapping relations.
Optionally, first release module may include:
Second acquisition submodule, for according to the target service metadata table and second mapping relations, obtaining the Three mapping relations;
Submodule is audited, for auditing to the third mapping relations;
First publication submodule, if for the third mapping relations by audit, using the third mapping relations as The first mapping relations publication;
Second publication submodule updates the third mapping and closes if not passing through audit for the third mapping relations System, and gained mapping relations after update are issued as first mapping relations.
Optionally, described device can also include:
Third receiving module, for receive initial service metadata table that the data providing provides and it is described just The second mapping relations in data item and the technology metadata table in beginning of the school year business metadata table between field;
Second auditing module is audited for the shared attribute to the data item in the initial service metadata table;
Second generation module includes the target service metadata table for auditing the data item passed through for generating;
Third auditing module, for being audited to second mapping relations;
Second release module, if for second mapping relations by audit, according to the target service metadata table With second mapping relations, obtains and issue first mapping relations;
Third release module updates second mapping relations if not passing through audit for second mapping relations, and According to gained mapping relations after the target service metadata table and update, obtains and issue first mapping relations.
Optionally, the data exchange request further includes the identity information of the data requirements side;Described device can be with Include:
Second determining module determines the power of the data requirements side for the identity information according to the data requirements side Limit;
4th auditing module, for being audited to the data exchange request according to the permission;
First determining module 82, for the data exchange request audit pass through when, according to target service member number According to the first mapping relations between field in data item in table and technology metadata table, from the technology metadata table, determine The corresponding aiming field of the demand data item.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 9 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.For example, electronic equipment 900 can be with It is provided as a server.Referring to Fig. 9, electronic equipment 900 includes processor 922, and quantity can be one or more, and Memory 932, for storing the computer program that can be executed by processor 922.The computer program stored in memory 932 can With include it is one or more each correspond to one group of instruction module.In addition, processor 922 can be configured as and hold Row computer program, to execute above-mentioned method for interchanging data.
In addition, electronic equipment 900 can also include power supply module 926 and communication component 950, which can be with It is configured as executing the power management of electronic equipment 900, which, which can be configured as, realizes electronic equipment 900 Communication, for example, wired or wireless communication.In addition, the electronic equipment 900 can also include input/output (I/O) interface 958.Electricity Sub- equipment 900 can be operated based on the operating system for being stored in memory 932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM etc..
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should The step of above-mentioned method for interchanging data is realized when program instruction is executed by processor.For example, the computer readable storage medium It can be the above-mentioned memory 932 including program instruction, above procedure instruction can be executed by the processor 922 of electronic equipment 900 To complete above-mentioned method for interchanging data.
The preferred embodiment of the disclosure is described in detail in conjunction with attached drawing above, still, the disclosure is not limited to above-mentioned reality The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure Monotropic type, these simple variants belong to the protection scope of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance In the case where shield, it can be combined in any appropriate way.In order to avoid unnecessary repetition, the disclosure to it is various can No further explanation will be given for the combination of energy.
In addition, any combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally Disclosed thought equally should be considered as disclosure disclosure of that.

Claims (10)

1. a kind of method for interchanging data characterized by comprising
The data exchange request that data requirements side is sent is received, includes demand data item, the need in the data exchange request Data item is asked to characterize the data item of data requirements side's demand;
It is closed according to the first mapping in the data item in the target service metadata table of publication and technology metadata table between field System, from the technology metadata table, determines the corresponding aiming field of the demand data item, the target service metadata table In data item characterize data provider provide data item;
The data of the aiming field are obtained from the technology metadata table, and the data are supplied to the data requirements Side.
2. method for interchanging data according to claim 1, which is characterized in that described to be obtained from the technology metadata table The data of the aiming field, and the data are supplied to the data requirements side, comprising:
Creation includes the target matrix of the aiming field;
The data of the aiming field are obtained from the technology metadata table, and the data of the aiming field are filled into institute It states in target matrix;
The target matrix is supplied to the data requirements side.
3. method for interchanging data according to claim 1, which is characterized in that the method also includes:
Receive the data in the initial service metadata table and the initial service metadata table that the data providing provides The second mapping relations in item and the technology metadata table between field;
The shared attribute of data item in the initial service metadata table is audited;
Generating includes the target service metadata table for auditing the data item passed through;
According to the target service metadata table and second mapping relations, first mapping relations are issued.
4. method for interchanging data according to claim 3, which is characterized in that described according to the target service metadata table With second mapping relations, first mapping relations are issued, comprising:
According to the target service metadata table and second mapping relations, third mapping relations are obtained;
The third mapping relations are audited;
If the third mapping relations are issued by audit using the third mapping relations as first mapping relations;
If the third mapping relations do not pass through audit, the third mapping relations are updated, and gained mapping after update is closed System issues as first mapping relations.
5. method for interchanging data according to claim 1, which is characterized in that the method also includes:
Receive the data in the initial service metadata table and the initial service metadata table that the data providing provides The second mapping relations in item and the technology metadata table between field;
The shared attribute of data item in the initial service metadata table is audited;
Generating includes the target service metadata table for auditing the data item passed through;
Second mapping relations are audited;
If second mapping relations, according to the target service metadata table and second mapping relations, are obtained by audit It obtains and issues first mapping relations;
If second mapping relations do not pass through audit, second mapping relations are updated, and according to the target service member number According to gained mapping relations after table and update, obtains and issue first mapping relations.
6. method for interchanging data according to any one of claims 1-5, which is characterized in that the data exchange request is also Identity information including the data requirements side;The method also includes:
According to the identity information of the data requirements side, the permission of the data requirements side is determined;
According to the permission, the data exchange request is audited;
When data exchange request audit passes through, then execute described according to data item and technology in target service metadata table The first mapping relations in metadata table between field determine that the demand data item is corresponding from the technology metadata table Aiming field, the step of the data item that the data item characterize data provider in the target service metadata table provides.
7. a kind of DEU data exchange unit characterized by comprising
First receiving module, the data exchange request that party in request sends for receiving data include in the data exchange request Demand data item, the demand data item characterize the data item of data requirements side's demand;
First determining module, for field in data item in the target service metadata table according to publication and technology metadata table it Between the first mapping relations determine the corresponding aiming field of the demand data item, the mesh from the technology metadata table Mark the data item that the data item characterize data provider in data service metadata table provides;
First obtains module, for obtaining the data of the aiming field from the technology metadata table, and by the data It is supplied to the data requirements side.
8. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The step of any one of claim 1-7 the method is realized when row.
9. a kind of electronic equipment characterized by comprising
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize any one of claim 1-7 side The step of method.
10. a kind of data exchange system characterized by comprising as the first electronic equipment of data requirements side, as data The second electronic equipment and shared platform of provider, first electronic equipment, second electronic equipment respectively with it is described Shared platform communication connection;
First electronic equipment wraps in the data exchange request for sending data exchange request to the shared platform Demand data item is included, the demand data item characterizes the data item of data requirements side's demand;
Second electronic equipment, is used to provide the described technology metadata table;
The shared platform requires method described in any one of 1-7 for perform claim;
First electronic equipment is also used to receive the data that the shared platform is sent.
CN201811428927.XA 2018-11-27 2018-11-27 Method for interchanging data, device, readable storage medium storing program for executing, electronic equipment and system Pending CN109726235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811428927.XA CN109726235A (en) 2018-11-27 2018-11-27 Method for interchanging data, device, readable storage medium storing program for executing, electronic equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811428927.XA CN109726235A (en) 2018-11-27 2018-11-27 Method for interchanging data, device, readable storage medium storing program for executing, electronic equipment and system

Publications (1)

Publication Number Publication Date
CN109726235A true CN109726235A (en) 2019-05-07

Family

ID=66295080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811428927.XA Pending CN109726235A (en) 2018-11-27 2018-11-27 Method for interchanging data, device, readable storage medium storing program for executing, electronic equipment and system

Country Status (1)

Country Link
CN (1) CN109726235A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321380A (en) * 2019-07-09 2019-10-11 北京外研讯飞教育科技有限公司 A kind of method for interchanging data, apparatus and system
CN110704455A (en) * 2019-10-17 2020-01-17 北京中油瑞飞信息技术有限责任公司 Method, device, terminal and storage medium for generating data asset directory
CN110851663A (en) * 2019-11-05 2020-02-28 北京明略软件系统有限公司 Method and apparatus for managing metadata
CN111027919A (en) * 2019-11-12 2020-04-17 中电科华云信息技术有限公司 Smart city government affair data approval process method based on government affair data sharing attribute
CN112579634A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Data query method, device, storage medium and equipment
CN112597175A (en) * 2020-12-15 2021-04-02 京东方科技集团股份有限公司 Data docking method, system, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908178A (en) * 2010-08-13 2010-12-08 广州联奕信息科技有限公司 Middleware applied to data switching and data switching method
CN103281368A (en) * 2013-05-22 2013-09-04 河海大学 Data sharing exchange model and method based on cloud computation
US20130282761A1 (en) * 2012-04-18 2013-10-24 Salesforce.Com, Inc. System and method for entity shape abstraction in an on demand environment
CN104346377A (en) * 2013-07-31 2015-02-11 克拉玛依红有软件有限责任公司 Method for integrating and exchanging data on basis of unique identification
CN105320690A (en) * 2014-07-30 2016-02-10 北京中海纪元数字技术发展股份有限公司 Metadata based rapid statistic form generation method and system
CN106910146A (en) * 2017-02-28 2017-06-30 东北师范大学 A kind of isomery educational data switching plane and method based on Stream Processing technology

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908178A (en) * 2010-08-13 2010-12-08 广州联奕信息科技有限公司 Middleware applied to data switching and data switching method
US20130282761A1 (en) * 2012-04-18 2013-10-24 Salesforce.Com, Inc. System and method for entity shape abstraction in an on demand environment
CN103281368A (en) * 2013-05-22 2013-09-04 河海大学 Data sharing exchange model and method based on cloud computation
CN104346377A (en) * 2013-07-31 2015-02-11 克拉玛依红有软件有限责任公司 Method for integrating and exchanging data on basis of unique identification
CN105320690A (en) * 2014-07-30 2016-02-10 北京中海纪元数字技术发展股份有限公司 Metadata based rapid statistic form generation method and system
CN106910146A (en) * 2017-02-28 2017-06-30 东北师范大学 A kind of isomery educational data switching plane and method based on Stream Processing technology

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李林: "《智慧城市建设思路与规划》", 31 December 2012 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321380A (en) * 2019-07-09 2019-10-11 北京外研讯飞教育科技有限公司 A kind of method for interchanging data, apparatus and system
CN112579634A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Data query method, device, storage medium and equipment
CN110704455A (en) * 2019-10-17 2020-01-17 北京中油瑞飞信息技术有限责任公司 Method, device, terminal and storage medium for generating data asset directory
CN110851663A (en) * 2019-11-05 2020-02-28 北京明略软件系统有限公司 Method and apparatus for managing metadata
CN111027919A (en) * 2019-11-12 2020-04-17 中电科华云信息技术有限公司 Smart city government affair data approval process method based on government affair data sharing attribute
CN112597175A (en) * 2020-12-15 2021-04-02 京东方科技集团股份有限公司 Data docking method, system, device and storage medium

Similar Documents

Publication Publication Date Title
CN109726235A (en) Method for interchanging data, device, readable storage medium storing program for executing, electronic equipment and system
CN108280365B (en) Data access authority management method, device, terminal device and storage medium
Al‐Hawari et al. The software engineering of a three‐tier web‐based student information system (MyGJU)
CN109934005A (en) A kind of degree confirmation system and authentication method based on block chain
CN109344642A (en) Interface rules method of calibration, device, computer equipment and storage medium
US20040204947A1 (en) System and method for generic business scenario management
CN103177335A (en) Unified training timing system for small and medium driving schools in 3G (third generation telecommunication)-oriented mobile network environments
CN104574237A (en) Digital campus system
CN111709657B (en) System and method for evaluating comprehensive quality of common high school students based on big data technology
CN110795763B (en) Electronic certificate processing method, query method, device, equipment, platform and medium
US8862745B2 (en) Automatic network domain diagnostic repair and mapping
CN108427554A (en) A kind of the cloud mode software method for automatically constructing and system of table- driven
CN113592677A (en) Education certificate management system based on alliance chain and building method
CN110544163A (en) tax checking method and system based on GIS, server and medium
CN104992263A (en) Wireless-network-based medical insurance management system and method
CN105303298A (en) Originality submitting and reviewing system
CN107248060B (en) Recruitment platform for entrepreneur
CN104794564A (en) Student evaluation system
CN103457957B (en) A kind of network penetration test macro and method with adaptation function
CN113535574B (en) Automatic generation method, device, equipment and medium for test user data
CN109949013A (en) Document treatment circulation method and system
CN107622381A (en) Record workpoints account checking method and device
CN109189869A (en) A kind of Immovable Property Registration data extraction method based on GIS
CN112200658A (en) Control method and device for approval nodes, storage medium and electronic equipment
CN110889763A (en) Financial management system based on big data

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190507

RJ01 Rejection of invention patent application after publication