CN109299126A - Method of data synchronization, device, computer equipment and storage medium - Google Patents
Method of data synchronization, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109299126A CN109299126A CN201811391859.4A CN201811391859A CN109299126A CN 109299126 A CN109299126 A CN 109299126A CN 201811391859 A CN201811391859 A CN 201811391859A CN 109299126 A CN109299126 A CN 109299126A
- Authority
- CN
- China
- Prior art keywords
- dimension
- data
- metadata
- elastomeric domain
- matching result
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This application involves a kind of method of data synchronization, device, computer equipment and storage mediums.This method comprises: obtaining the dimension metadata in the system of source;According to each first elastomeric domain dimension and the dimension metadata in goal systems, the second elastomeric domain dimension corresponding with the dimension metadata is determined;According to the second elastomeric domain dimension, the dimension metadata is synchronized in the goal systems;Wherein, the dimension metadata is used to describe the characteristics of objects in the goal systems.Dimension metadata can be synchronized in goal systems by the used this method of the application automatically according to the second elastomeric domain dimension, to realize data synchronised automatic, substantially increased the synchronous efficiency of data, improved the synchronous accuracy of data.In addition, this method is due to realizing the synchronous automation of data, which obviate the long-term learning processes of experience required for the manual logging data of user, improve work efficiency.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of method of data synchronization, device, computer equipment and
Storage medium.
Background technique
With the development of science and technology, and socialization mass production made rapid progress, the standardization of information and return in all trades and professions
One change often manufacture, essential condition in information exchange.In general, enterprise for the ease of management, gradually general
Respective business data be standardized with normalized processing, therefore usually face third party's data of respective enterprise are synchronous
Into standardized system, to realize information standardization and normalization.Currently, user is usual in order to ensure data normally import
Manually logging data is adopted, to realize the synchronization of data.
However, efficiency and accuracy are low by the mode of manually logging data.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide that a kind of to can be improved efficiency synchronous with the data of accuracy
Method, apparatus, computer equipment and storage medium.
In a first aspect, the embodiment of the present application provides a kind of method of data synchronization, which comprises
Dimension metadata in the system of acquisition source;The object that the dimension metadata is used to describe in the source system is special
Sign;
According to each first elastomeric domain dimension and the dimension metadata in goal systems, the determining and dimension metadata
Corresponding second elastomeric domain dimension;
According to the second elastomeric domain dimension, the dimension metadata is synchronized in the goal systems.
Each first elastomeric domain dimension according in goal systems and the dimension member number in one of the embodiments,
According to determining the second elastomeric domain dimension corresponding with the dimension metadata, comprising:
Obtain the fixed dimension in the dimension metadata;
According to preset dimension map relationship, judge each fixed dimension and the first elastomeric domain dimension whether
Match, obtains the first matching result of each fixed dimension;Wherein, the dimension map relationship includes in the goal systems
Dimension and the source system in dimension between corresponding relationship;
Each second elastomeric domain dimension is determined according to each first matching result.
It is described according to preset dimension map relationship in one of the embodiments, judge each fixed dimension with
Whether the first elastomeric domain dimension matches, and obtains the first matching result of each fixed dimension, comprising:
According to the mark of the fixed dimension, the dimension map relationship is inquired;
If there is elastomeric domain dimension corresponding with the mark of the fixed dimension in the dimension map relationship, it is determined that institute
The first matching result is stated as matching;
If elastomeric domain dimension corresponding with the mark of the fixed dimension is not present in the dimension map relationship, it is determined that
First matching result is to mismatch.
It is described in one of the embodiments, to determine that each second elastomeric domain is tieed up according to each first matching result
Degree, comprising:
If first matching result is matching, the first elastomeric domain dimension corresponding with the fixed dimension is determined as
The second elastomeric domain dimension;
If first matching result is to mismatch, according to preset elastomeric domain dimension create-rule, generate with it is described
The corresponding second elastomeric domain dimension of fixed dimension.
It is described according to the second elastomeric domain dimension in one of the embodiments, the dimension metadata is synchronized to
In the goal systems, comprising:
According to the dimension metadata, the corresponding source data of each fixed dimension is obtained;
According to preset data mapping relations, the target under each source data and the first elastomeric domain dimension is determined
Whether data match, and obtain the second matching result of each source data;Wherein, the data mapping relations are for characterizing institute
State the corresponding relationship between target data and the source data;
According to the second elastomeric domain dimension and each second matching result, the dimension metadata is synchronized to institute
It states in goal systems.
It is described according to preset data mapping relations in one of the embodiments, determine each source data and institute
Whether the target data stated under the first elastomeric domain dimension matches, and obtains the second matching result with each source data, comprising:
According to the mark of each source data, the data mapping relations are inquired;
If there are data corresponding with the mark of the source data in the data mapping relations, it is determined that described second
It is matching with result;
If data corresponding with the mark of the source data are not present in the data mapping relations, it is determined that described second
Matching result is to mismatch.
It is described according to the second elastomeric domain dimension and each second matching result in one of the embodiments,
The dimension metadata is synchronized in the goal systems, comprising:
If second matching result is matching, according to target data corresponding with the source data, by the dimension
Metadata is synchronized in the goal systems;
If second matching result is to mismatch, according to preset data category create-rule, generate and the source
The corresponding target data of data, and the dimension metadata is synchronized in the goal systems according to the target data.
Second aspect, the embodiment of the present application provide a kind of data synchronization unit, and described device includes:
The acquisition module, for obtaining the dimension metadata in the system of source;The dimension metadata is described for describing
Characteristics of objects in the system of source;
The determining module, for according to each first elastomeric domain dimension and the dimension metadata in goal systems, really
Fixed the second elastomeric domain dimension corresponding with the dimension metadata;
The processing module, for according to the second elastomeric domain dimension, the dimension metadata to be synchronized to the mesh
In mark system.
The third aspect, the embodiment of the present application provide a kind of computer equipment, including memory and processor, the memory
It is stored with computer program, the processor performs the steps of when executing the computer program
Dimension metadata in the system of acquisition source;The object that the dimension metadata is used to describe in the source system is special
Sign;
According to each first elastomeric domain dimension and the dimension metadata in goal systems, the determining and dimension metadata
Corresponding second elastomeric domain dimension;
According to the second elastomeric domain dimension, the dimension metadata is synchronized in the goal systems.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer program,
The computer program performs the steps of when being executed by processor
Dimension metadata in the system of acquisition source;The object that the dimension metadata is used to describe in the source system is special
Sign;
According to each first elastomeric domain dimension and the dimension metadata in goal systems, the determining and dimension metadata
Corresponding second elastomeric domain dimension;
According to the second elastomeric domain dimension, the dimension metadata is synchronized in the goal systems.
Above-mentioned method of data synchronization, device, computer equipment and storage medium can obtain target by computer equipment
Dimension metadata in system, and according to each first elastomeric domain dimension and dimension metadata in goal systems, determining and dimension
The corresponding second elastomeric domain dimension of metadata, and then according to the second elastomeric domain dimension, dimension metadata is synchronized to goal systems
In, wherein dimension metadata is used to describe the characteristics of objects in the system of source.Method used by the embodiment of the present application, enables to
The dimension member that computer equipment passes through the characteristics of objects in each first elastomeric domain dimension and description source system in goal systems
Data automatically determine out the second elastomeric domain dimension corresponding with dimension metadata, and will automatically according to the second elastomeric domain dimension
Dimension metadata is synchronized in goal systems, to realize data synchronised automatic, which obviate the manual logging data institutes of user
The problem that bring data synchronization efficiency is low and accuracy is low substantially increases the synchronous efficiency of data, and substantially increases
The synchronous accuracy of data.In addition, which obviate needed for the manual logging data of user due to realizing the synchronous automation of data
The long-term learning process to be undergone, so that user is by simply learning just to be able to carry out data simultaneously operating, it is very big
Ground reduces learning cost, improves work efficiency.
Detailed description of the invention
Fig. 1 is the internal structure chart of computer equipment in one embodiment;
Fig. 2 is the flow diagram for the method for data synchronization that one embodiment provides;
Fig. 3 is the flow diagram for the method for data synchronization that another embodiment provides;
Fig. 4 is the flow diagram for the method for data synchronization that one embodiment provides;
Fig. 5 is the flow diagram for the method for data synchronization that one embodiment provides;
Fig. 6 is the flow diagram for the method for data synchronization that one embodiment provides;
Fig. 7 is the flow diagram for the method for data synchronization that one embodiment provides;
Fig. 7 a is the Signalling exchange and sequential relationship schematic diagram during the method for data synchronization that one embodiment provides;
Fig. 8 is the structural schematic diagram for the data synchronization unit that one embodiment provides;
Fig. 9 is the structural schematic diagram for the data synchronization unit that another embodiment provides;
Figure 10 is the structural schematic diagram for the data synchronization unit that another embodiment provides.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Method of data synchronization provided by the present application can be adapted for computer equipment shown in FIG. 1, the computer equipment packet
Include processor, memory, network interface, display screen and the input unit connected by system bus.Wherein, the computer equipment
Processor for provide calculate and control ability.The memory of the computer equipment includes non-volatile memory medium, memory
Reservoir.The non-volatile memory medium is stored with operating system, computer program and database.The built-in storage is non-volatile
The operation of operating system and computer program in storage medium provides environment.Under the database of the computer equipment is for storing
The relevant information for stating the first elastomeric domain dimension in the related source system in embodiment can also optionally store default
Dimension map relationship and data mapping relations relevant information, in relation to the first elastomeric domain dimension, dimension map relationship and data
The description of mapping relations is referred to the content of following methods embodiment.The network interface of the computer equipment can be used for outside
The other equipment in portion pass through network connection communication.Optionally, which can be server, can be PC, can be
Personal digital assistant can also be other terminal devices, such as PAD, mobile phone etc., can also be cloud or remote service
Device, the present embodiment is to the concrete form of computer equipment and without limitation.The display screen of the computer equipment can be liquid crystal
Display screen or electric ink display screen, the input unit of the computer equipment can be the touch layer covered on display screen, can also
To be the key being arranged on computer equipment shell, trace ball or Trackpad, external keyboard, Trackpad or mouse can also be
Deng.Certainly, input unit and display screen can also be not belonging to a part of computer equipment, can be the external of computer equipment
Equipment.
It will be understood by those skilled in the art that structure shown in Fig. 1, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
With science and technology rapid development, enterprise for the ease of managing and exchanging, usually by the data information of respective enterprise into
Row standardization and normalized processing.Respective third party's data are imported into standardized system by usual enterprise, to realize
Information standardization and normalization.Currently, in data importing process, it is usually logical due to the problems such as there are data structure disunities
User's manually mode logging data is crossed, to realize the synchronization of data.However, by the mode of manually logging data,
Efficiency and accuracy are low.
Method of data synchronization used by the embodiment of the present application, device, computer equipment and readable storage medium storing program for executing pass through meter
It calculates machine equipment dimension metadata is synchronized in goal systems automatically, to improve the data synchronization efficiency standard synchronous with data
True property.
How the technical solution of the application and the technical solution of the application are solved with specific embodiment below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, embodiments herein is described.
It should be noted that the executing subject of following methods embodiment can be data synchronization unit, which can lead to
The mode for crossing software, hardware or software and hardware combining is implemented as some or all of of above-mentioned computer equipment.Following methods
Embodiment is illustrated so that executing subject is computer equipment as an example.
Fig. 2 is the flow diagram for the method for data synchronization that one embodiment provides.What is involved is computers for the present embodiment
Dimension metadata is synchronized to by equipment according to each first elastomeric domain dimension in the system of source and the dimension metadata in goal systems
Detailed process in the system of source.As shown in Fig. 2, this method comprises:
Dimension metadata in S101, acquisition source system;The dimension metadata is used to describe pair in the source system
As feature.
Specifically, computer equipment can read the dimension metadata in the system of source by the trigger action of user.It is optional
Ground, above-mentioned trigger action can be user and synchronize the operation for selecting key by clicking of carrying out of mouse, can also be that user passes through key
The synch command of disk input, to this, the present embodiment does not limit.It should be noted that above-mentioned source system can be enterprise customer's use
Dimension metadata in the third party system of its product information of storage and management, the source system may include in the system of description source
The information of characteristics of objects, the information may include the dimension of description object feature, can also include specific under different dimensions
Data.For example, above-mentioned goal systems is Product Management System used in the enterprise of certain production school uniform, the dimension member in the system
Data may include the gender dimension for describing school uniform feature and male and woman's gender number under size dimension and gender dimension
According to and size dimension under 130,140 ... to 180 equidimension data.
S102, according to each first elastomeric domain dimension and the dimension metadata in goal systems, it is determining with the dimension
The corresponding second elastomeric domain dimension of metadata.
Specifically, computer equipment can obtain already existing each first elastomeric domain dimension in goal systems, wherein
Data in the source goal systems are stored and are shown in unified form, such as the data in goal systems can be to return
One tree changed is shown or stores.Optionally, the data of above-mentioned goal systems can store in local server or
Person's cloud server, the database as open source use.
In this step, computer equipment can be according to each first elastomeric domain dimension already existing in goal systems and institute
The dimension metadata of acquisition determines that each dimension and these dimensions included in dimension metadata are corresponding and exist
The second elastomeric domain dimension in the system of source.For example, computer equipment can by each dimension included in dimension metadata,
It is searched in already existing all first elastomeric domain dimensions, and by the title with each dimension in dimension metadata
Consistent one or more first elastomeric domain dimensions, as the second elastomeric domain dimension corresponding with dimension metadata.Alternatively, according to
Included each dimension in dimension metadata, generates corresponding second elastomeric domain dimension.
Optionally, the first elastomeric domain dimension in goal systems and the second elastomeric domain dimension can pass through preassigned dimension
Degree field is defined.
S103, according to the second elastomeric domain dimension, the dimension metadata is synchronized in the goal systems.
Specifically, the dimension metadata that can be pre-established in the second elastomeric domain dimension and source system has corresponding relationship, and
Second elastomeric domain dimension is present in goal systems, and computer equipment can be according to this corresponding relationship, by the dimension in the system of source
Degree metadata is moved to accordingly in the second elastomeric domain dimension of goal systems, and dimension metadata is synchronized to target to realize
In system.For example, by the Data Migration under some dimension in the system of source into goal systems corresponding second elastomeric domain dimension
Under.
In the present embodiment, computer equipment can obtain the dimension metadata in the system of source, and according in goal systems
Each first elastomeric domain dimension and dimension metadata, determine corresponding with dimension metadata the second elastomeric domain dimension, and then according to the
Two elastomeric domain dimensions, dimension metadata is synchronized in goal systems, and wherein dimension metadata is for describing in goal systems
Characteristics of objects.Method used by the present embodiment enables to computer equipment to pass through each first elasticity in goal systems
The dimension metadata of domain dimension and the characteristics of objects in description source system, automatically determines out the second bullet corresponding with dimension metadata
Property domain dimension, and dimension metadata is synchronized in goal systems automatically according to the second elastomeric domain dimension, to realize data
Synchronised automatic, which obviate the problem that data synchronization efficiency is low brought by the manual logging data of user and accuracy is low,
The synchronous efficiency of data is substantially increased, and substantially increases the synchronous accuracy of data.In addition, this method is due to realizing number
According to synchronous automation, which obviate the long-term learning processes of experience required for the manual logging data of user, greatly improve
Working efficiency.
Fig. 3 is the flow diagram for the method for data synchronization that another embodiment provides.What is involved is calculating for the present embodiment
Machine equipment is according to each first elastomeric domain dimension and the dimension metadata in goal systems, the determining and dimension metadata pair
The detailed process for the second elastomeric domain dimension answered.As shown in figure 3, above-mentioned S102 can specifically include:
Fixed dimension in S201, the acquisition dimension metadata.
Specifically, computer equipment extracts the dimension of description object feature from dimension metadata, these dimensions can be with
As fixed dimension.Such as it is obtained from dimension metadata about the two fixation dimensions of the gender dimension and size dimension of school uniform
Degree.
S202, according to preset dimension map relationship, judge each fixed dimension and the first elastomeric domain dimension
Whether match, obtains the first matching result of each fixed dimension;Wherein, the dimension map relationship includes the target
The corresponding relationship between the dimension in dimension and the source system in system.
It should be noted that including in the dimension and source system in goal systems in above-mentioned preset dimension map relationship
Corresponding relationship between dimension.Optionally, which can be one-to-one relationship, be also possible to one-to-many, many-one
Or the corresponding relationship of multi-to-multi, to this, the present embodiment does not limit.Optionally, the form of expression of the corresponding relationship can be column
Table is corresponding, index is corresponding or chart is corresponding, also without limitation to this present embodiment.
Specifically, computer equipment can search each fixed dimension in preset dimension map relationship, it optionally, can
To be to look for the title of each fixed dimension, fixation can be characterized by being also possible to search the number of each fixed dimension or other
The mark of dimension, thus according to the result of lookup judge each fixed dimension whether in dimension map relationship first elasticity tie up
Degree matching, and obtain corresponding first matching result of each fixed dimension.Optionally, above-mentioned each fixed dimension and the first elasticity
Whether dimension matches whether can be the title of each fixed dimension consistent with the title of the first elastic dimension, is also possible to each
Whether the number of fixed dimension is consistent with the number of the first elastic dimension, and to this, the present embodiment does not limit.
Optionally, one of concrete implementation mode of this step may refer to embodiment shown in Fig. 4.Such as Fig. 4 institute
Show, above-mentioned S202 can specifically include:
S301, according to the mark of the fixed dimension, the dimension map relationship is inquired, if in the dimension map relationship
In the presence of elastomeric domain dimension corresponding with the mark of the fixed dimension, then S302A is executed;If not deposited in the dimension map relationship
In elastomeric domain dimension corresponding with the mark of the fixed dimension, then S302B is executed.
Specifically, computer equipment can carry out in above-mentioned dimension map relationship according to the mark of above-mentioned fixed dimension
It searches.Optionally, the mark of above-mentioned fixed dimension may include title, ID, number and serial number of fixed dimension etc..It is optional
Ground, can be that title corresponding relationship, ID corresponding relationship, number corresponding relationship and serial number are corresponding to close in above-mentioned dimension map relationship
System etc..
S302A, determine first matching result for matching.
If computer equipment is searched in dimension map relationship, determine that there are the fixed dimensions in the dimension map relationship
Mark, due in above-mentioned dimension map relationship include fixed dimension and the first elastomeric domain dimension corresponding relationship, calculate
Machine equipment determines there is the first elastomeric domain dimension corresponding with fixed dimension in the dimension map relationship, then computer equipment is true
Fixed above-mentioned first matching result is matching.
S302B, first matching result is determined to mismatch.
If computer equipment is searched in dimension map relationship, determines in the dimension map relationship and there is no this to fix
The mark of dimension, due to including the corresponding relationship of fixed dimension and the first elastomeric domain dimension in above-mentioned dimension map relationship,
Computer equipment determines in the dimension map relationship there is no the first elastomeric domain dimension corresponding with fixed dimension, then computer
Equipment determines above-mentioned first matching result to mismatch.
For example, computer equipment is reflected in above-mentioned dimension if including gender dimension and size dimension in above-mentioned fixed dimension
Penetrating in relationship and finding fixed dimension is the SEX in gender dimension, and the first elastomeric domain dimension corresponding with the gender dimension
Dimension, then computer equipment determines the first matching result of gender dimension for matching;If computer equipment is reflected in above-mentioned dimension
It penetrates in relationship that not find include size dimension in fixed dimension, is also just not present in certain first elastomeric domain dimension and ruler
The corresponding dimension of code dimension, then it be the first matching result of size dimension in fixed dimension is mismatch that computer equipment, which determines,.
In this implementation, computer equipment inquires dimension map relationship, works as dimension map according to the mark of fixed dimension
When the corresponding elastomeric domain dimension of mark in relationship there are fixed dimension, determine that the first matching result for matching, works as dimension map
There is no when the corresponding elastomeric domain dimension of mark of fixed dimension, determine the first matching result to mismatch, thus real in relationship
Now automatically according to preset dimension map relationship, the first matching result of each fixed dimension is determined, so that the first matching
As a result it can be determined in conjunction with fixed dimension and dimension map relationship, so that the according to determined by the first matching result
Two elastomeric domain dimensions also can be in conjunction with fixed dimension and dimension map relationship, the second elastomeric domain dimension and fixed dimension that determine
Between can have corresponding relationship so that the synchronous Accuracy and high efficiency of data further increases.
S203, each second elastomeric domain dimension is determined according to each first matching result.
Specifically, computer equipment can be determined every according to corresponding first matching result of above-mentioned each fixed dimension
Second elastomeric domain dimension corresponding to a fixed dimension.For example, computer equipment can will be consolidated when the first matching result matches
The corresponding first elastomeric domain dimension of dimension is determined as the second elastomeric domain dimension, can also be selected when the first matching result mismatches
One is selected with the highest first elastomeric domain dimension of title similarity of fixed dimension as the second elastomeric domain dimension.
Optionally, a concrete implementation mode of this step can be with continued reference to above-mentioned embodiment shown in Fig. 4.Such as figure
Shown in 4, above-mentioned S203 be can specifically include:
If S303A, first matching result are matching, will the first elastomeric domain dimension corresponding with the fixed dimension
It is determined as the second elastomeric domain dimension.
Specifically, that is, above-mentioned fixed dimension is matched with the first elastomeric domain dimension if above-mentioned first matching result is matching,
Then the first elastomeric domain dimension corresponding with fixed dimension is determined as the second elastomeric domain dimension by computer equipment.Second elastomeric domain
Dimension can have in the system of source, and corresponding with a fixed dimension.
If S303B, first matching result are to mismatch, according to preset elastomeric domain dimension create-rule, generate
The second elastomeric domain dimension corresponding with the fixed dimension.
Specifically, that is, above-mentioned fixed dimension and the first elastomeric domain dimension are not if above-mentioned first matching result is to mismatch
Matching, then computer equipment is according to preset elastomeric domain dimension create-rule, generates the newly corresponding with this fixed dimension
Two elastomeric domain dimensions, and this second new elastomeric domain dimension is stored in above-mentioned source system.
It is generated it should be noted that the elastomeric domain dimension create-rule can be according to the title of fixed dimension, it can also be with
It is to be generated according to the function of fixed dimension, to this, the present embodiment does not limit.
Optionally, computer equipment can also be by this second newly-generated elastomeric domain dimension and fixed dimension corresponding relationship
It stores, and is updated in above-mentioned preset dimension map relationship, new dimension map relationship is formed, so that next time
Data can be carried out using new dimension map relationship when data are synchronous by, which carrying out, synchronizes, and further improves the synchronous efficiency of data
The accuracy synchronous with data.
In this implementation, computer equipment can be when the first matching result be matching, will be corresponding with fixed dimension
When first elastomeric domain dimension is determined as the second elastomeric domain dimension and the first matching result to mismatch, then according to preset bullet
Property domain dimension create-rule, generate the second elastomeric domain dimension corresponding with fixed dimension, to obtain being present in goal systems,
And the second elastomeric domain dimension corresponding with each fixed dimension, so that the Accuracy and high efficiency that data synchronize is further
It improves.
Method used by the present embodiment includes in the dimension and source system in goal systems due to dimension map relationship
Corresponding relationship between dimension, computer equipment pass through the fixed dimension obtained in dimension metadata, and according to preset dimension
Mapping relations, judge whether each fixed dimension matches with the first elastomeric domain dimension, and obtain first of each fixed dimension
With as a result, enabling the first matching result combination fixed dimension and dimension map relationship.And computer equipment being capable of root
Each second elastomeric domain dimension is determined according to each first matching result, so that identified second elastomeric domain dimension can be with dimension
The each fixed dimension for spending metadata is corresponding, so as to avoid in data synchronization process, due to lack in goal systems with it is solid
Determine the corresponding elastomeric domain dimension of dimension, caused dimension metadata can not accurate synchronization the case where, can be according to dimension member
The corresponding relationship of fixed dimension and the second elastomeric domain dimension in data carries out data comprehensively and accurately and synchronizes, into one
Step improves the synchronous Accuracy and high efficiency of data.
Fig. 5 is the flow diagram for the method for data synchronization that another embodiment provides.What is involved is calculating for the present embodiment
Machine equipment is according to the second elastomeric domain dimension, detailed process dimension metadata being synchronized in goal systems.Shown in above-mentioned Fig. 4
Embodiment on the basis of, as shown in figure 5, above-mentioned S103 can specifically include:
S401, according to the dimension metadata, obtain the corresponding source data of each fixed dimension.
Specifically, due to include in above-mentioned dimension metadata characteristics of objects in the system of description source information, which can be with
Dimension including description object feature can also include the specific data under different dimensions, then computer equipment can be from upper
It states in dimension metadata, extracts the corresponding specific source data of each fixed dimension.
S402, according to preset data mapping relations, determine under each source data and the second elastomeric domain dimension
Target data whether match, obtain the second matching result of each source data;Wherein, the data mapping relations are used for
Characterize the corresponding relationship between the target data and the source data.
It should be noted that including the number of targets under the dimension in goal systems in above-mentioned preset data mapping relations
According to corresponding relationship between source data under dimension corresponding with fixed dimension in the system of source.Optionally, the corresponding relationship
It can be one-to-one relationship, be also possible to the corresponding relationship of one-to-many, many-one or multi-to-multi, this present embodiment is not done
It limits.Optionally, the form of expression of the corresponding relationship can be corresponding list, index correspondence or chart and correspond to, to this this reality
Apply example also without limitation.
Specifically, computer equipment can search the mark of each source data in preset data mapping relations, it is optional
Ground, the mark of the source data can be the data content of target data, such as 130 size datas under the size dimension of school uniform,
It is also possible to XS size data under the title of source data, such as school uniform size dimension, can also be other marks certainly, as long as
It is that can represent this source data, to this present embodiment and without limitation.Computer equipment judges according to the result of lookup
Whether each source data matches with the target data in data mapping relations, and obtains corresponding second matching of each target data
As a result.Optionally, whether above-mentioned each target data matches the mark and source data that can be each target data with source data
Identify whether consistent, whether the similarity for being also possible to the mark of each target data and the mark of source data is more than preset
Threshold value, to this, the present embodiment does not limit.
Optionally, one of concrete implementation mode of this step may refer to embodiment shown in fig. 6.Such as Fig. 6 institute
Show, above-mentioned S402 can specifically include:
S501, according to the mark of each source data, the data mapping relations are inquired, if the data mapping relations
In be present in the corresponding data of mark of the source data, then follow the steps S502A;If being not present in the data mapping relations
In the corresponding data of the mark of the source data, S502B is thened follow the steps.
Specifically, computer equipment can be looked into above-mentioned data mapping relations according to the mark of above-mentioned source data
It looks for.Optionally, the mark of above-mentioned source data may include title, ID, number and serial number of target data etc..Optionally,
It can be title corresponding relationship, ID corresponding relationship, number corresponding relationship and serial number corresponding relationship in above-mentioned data mapping relations
Etc..
S502A, determine second matching result for matching.
If computer equipment is searched in data mapping relations, determine that there are the source datas in the data mapping relations
Mark, since, including the corresponding relationship of target data and source data, computer equipment determines in above-mentioned data mapping relations
There is target data corresponding with source data in the data mapping relations out, then computer equipment determines above-mentioned second matching result
For matching.
S502B, second matching result is determined to mismatch.
If computer equipment is searched in data mapping relations, determines in the data mapping relations and there is no the source numbers
According to mark, due in above-mentioned data mapping relations include target data and source data corresponding relationship, computer equipment
Determine that also there is no target datas corresponding with source data in the data mapping relations, then computer equipment determines above-mentioned second
Matching result is to mismatch.
For example, computer equipment is in above-mentioned data if including 130 and 140 two size datas in above-mentioned target data
The size data that source data is 130, and the size data that corresponding target data is 130, Huo Zheji are found in mapping relations
It calculates machine equipment and finds the size data that the size data of source data 130 corresponds to target data as XS, then computer equipment determines
Second matching result of the size data of source data 130 is matching;If computer equipment does not have in above-mentioned data mapping relations
This size data of source data 140 is found, source corresponding with the size data of source data 140 number is also just not present certainly
According to then computer equipment determines the second matching result of the size data of source data 140 to mismatch.
In this implementation, computer equipment inquires preset data mapping relations, such as according to the mark of each source data
There are data corresponding with the mark of source data in fruit data mapping relations, it is determined that the second matching result is matching, if number
According in mapping relations, there is no data corresponding with the mark of source data, it is determined that and the second matching result is mismatch, so that
Second matching result can combining target data and data mapping relations be determined so that according to the second matching result into
During capable dimension metadata is synchronized to goal systems, the synchronous accuracy and efficiency of data is further increased.
S403, according to the second elastomeric domain dimension and each second matching result, the dimension metadata is same
Step is into the goal systems.
Specifically, as above-mentioned second elastomeric domain dimension and fixed dimension included by above-mentioned dimension metadata have it is corresponding
Relationship, therefore each fixed dimension in dimension metadata can be carried out table by the second elastomeric domain dimension by computer equipment
Sign, to realize synchronizing information expressed by fixed dimension into goal systems.Meanwhile computer equipment can also be according to upper
The second matching result is stated, it is corresponding to be synchronized to above-mentioned target by the specific data under each fixed dimension in dimension metadata
In target data under second elastomeric domain dimension of system.
Optionally, a concrete implementation mode of this step can be with continued reference to above-mentioned embodiment shown in fig. 6.Such as figure
Shown in 6, above-mentioned S403 be can specifically include:
If S503A, second matching result are matching, according to target data corresponding with the source data, by institute
Dimension metadata is stated to be synchronized in the goal systems.
Specifically, that is, above-mentioned target data is matched with source data, then computer if above-mentioned second matching result is matching
Dimension metadata is synchronized in the goal systems by equipment according to target data corresponding with source data, such as can will be tieed up
The corresponding filling of metadata is spent into goal systems.
If S503B, second matching result are to mismatch, according to preset data category create-rule, generate with
The corresponding target data of the source data, and the dimension metadata is synchronized to by the goal systems according to the target data
In.
Specifically, that is, above-mentioned target data and source data mismatch if above-mentioned second matching result is to mismatch, then count
It calculates machine equipment and new target data corresponding with target data is generated according to preset data category create-rule, and according to this
Above-mentioned dimension metadata is synchronized in goal systems by new target data.
It is generated it should be noted that above-mentioned data category create-rule can be according to the data content of source data, it can also
To be that envelop of function belonging to the data according to source data generates, such as source data is 130, then the new target data generated is
130, to this, the present embodiment does not limit.
In this implementation, computer equipment can be when the second matching result be matching, according to corresponding with source data
Dimension metadata is synchronized in goal systems by target data, and in the second matching result to mismatch, according to preset number
According to classification create-rule, target data corresponding with source data is generated, and dimension metadata is synchronized to by mesh according to target data
In mark system, so that avoid lacking target data corresponding with source data due to goal systems in data synchronization process,
Caused dimension metadata can not accurate synchronization the case where, can be according to the target data and source data in dimension metadata
Corresponding relationship, comprehensively and accurately carry out that data are synchronous, and this further improves the synchronous Accuracy and high efficiencies of data.
Method used by the present embodiment, since above-mentioned data mapping relations are for characterizing between target data and source data
Corresponding relationship, computer equipment obtains the corresponding source data of each fixed dimension according to dimension metadata, and according to preset
Data mapping relations, determine whether each source data matches with the source data under the first elastomeric domain dimension, obtain each source data
The second matching result, thus according to the second matching result of the second elastomeric domain dimension and each source data, by dimension metadata
It is synchronized in goal systems, so that target data can be synchronous according to corresponding relationship realization between source data, avoids
In data synchronization process, due to lacking target data corresponding with source data, caused dimension metadata in goal systems
Can not accurate synchronization the case where, can according to the corresponding relationship of target data and source data in dimension metadata, comprehensively with
And accurately carry out data and synchronize, this further improves the synchronous Accuracy and high efficiencies of data.
Fig. 7 is the flow diagram for the method for data synchronization that another embodiment provides.As shown in fig. 7, this method comprises:
Dimension metadata in S601, acquisition source system;
Fixed dimension in S602, the acquisition dimension metadata.
S603, according to the mark of the fixed dimension, inquire preset dimension map relationship.
If there is elastomeric domain dimension corresponding with the mark of the fixed dimension in S604A, the dimension map relationship,
Determine first matching result for matching;Wherein, the dimension map relationship includes the dimension in the goal systems and institute
State the corresponding relationship between the dimension in the system of source.Later, S605A is executed.
If elastomeric domain dimension corresponding with the mark of the fixed dimension is not present in S604B, the dimension map relationship,
Determine first matching result then to mismatch.Later, S605B is executed.
If S605A, first matching result are matching, will the first elastomeric domain dimension corresponding with the fixed dimension
It is determined as the second elastomeric domain dimension.Later, S606 is executed.
If S605B, first matching result are to mismatch, according to preset elastomeric domain dimension create-rule, generate
With the second elastomeric domain dimension.Later, S606 is executed.
S606, according to the dimension metadata, obtain the corresponding source data of each fixed dimension.
S607, according to the mark of each source data, inquire preset data mapping relations.
If there are data corresponding with the mark of the source data in S608A, the data mapping relations, it is determined that described
Second matching result is matching;Wherein, the data mapping relations are for characterizing between the target data and the source data
Corresponding relationship.Later, S609A is executed.
If data corresponding with the mark of the source data are not present in S608B, the data mapping relations, it is determined that institute
The second matching result is stated to mismatch.Later, S609B is executed.
It, will be described according to source data corresponding with the source data if S609A, second matching result are matching
Dimension metadata is synchronized in the goal systems.
If S609B, second matching result are to mismatch, according to preset data category create-rule, generate with
The corresponding target data of the source data, and the dimension metadata is synchronized to by the goal systems according to the target data
In.
Step in the present embodiment, detailed description and technical effect may refer to preceding method embodiment, herein no longer
It repeats.
Optionally, above method embodiment signalling interactive process in the process of implementation and timing may refer to Fig. 7 a institute
Show.
Optionally, method used by above-described embodiment in actual use, can be directed to different enterprise customers, root
According to the feature of its business data, it is synchronous to carry out data at script for pre-production.
It should be understood that although each step in the flow chart of Fig. 2-7 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-7
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
Fig. 8 is the structural schematic diagram for the data synchronization unit that one embodiment provides, as shown in figure 8, the device includes: to obtain
Modulus block 11, determining module 12 and processing module 13.
Specifically, module 11 is obtained, for obtaining the dimension metadata in the system of source;The dimension metadata is for describing
Characteristics of objects in the source system.
Determining module 12, for determining according to each first elastomeric domain dimension and the dimension metadata in goal systems
The second elastomeric domain dimension corresponding with the dimension metadata;
Processing module 13, for according to the second elastomeric domain dimension, the dimension metadata to be synchronized to the target
In system.
Fig. 9 is the structural schematic diagram for the data synchronization unit that another embodiment provides.In above-mentioned embodiment shown in Fig. 8
On the basis of, as shown in figure 9, above-mentioned determining module 12 can specifically include: first acquisition unit 121,122 and of first processing units
The second processing unit 123.
Specifically, first acquisition unit 121, for obtaining the fixed dimension in the dimension metadata.
First processing units 122, for according to preset dimension map relationship, judge each fixed dimension with it is described
Whether the first elastomeric domain dimension matches, and obtains the first matching result of each fixed dimension;Wherein, the dimension map closes
System includes the corresponding relationship between the dimension in dimension and the source system in the goal systems;
The second processing unit 123, for determining each second elastomeric domain dimension according to each first matching result.
In one embodiment, above-mentioned first processing units 122, specifically can be used for the mark according to the fixed dimension
Know, inquires the dimension map relationship;When in the dimension map relationship exist bullet corresponding with the mark of the fixed dimension
Property domain dimension when, it is determined that first matching result be matching;When in the dimension map relationship be not present and the fixation
When the corresponding elastomeric domain dimension of the mark of dimension, it is determined that first matching result is to mismatch.
In one embodiment, above-mentioned the second processing unit 123 specifically can be used for when first matching result being
The first elastomeric domain dimension corresponding with the fixed dimension is then determined as the second elastomeric domain dimension by timing;When described
One matching result is, then according to preset elastomeric domain dimension create-rule, to generate corresponding with the fixed dimension when mismatching
The second elastomeric domain dimension.
Figure 10 is the structural schematic diagram for the data synchronization unit that another embodiment provides.In above-mentioned implementation shown in Fig. 9
On the basis of example, as shown in Figure 10, above-mentioned processing module 13 be can specifically include: second acquisition unit 131, third processing unit
132 and fourth processing unit 133.
Specifically, second acquisition unit 131, for obtaining each fixed dimension pair according to the dimension metadata
The source data answered.
Third processing unit 132, for according to preset data mapping relations, determine each mesh source data with it is described
Whether the target data under the first elastomeric domain dimension matches, and obtains the second matching result with each source data;Wherein, institute
Data mapping relations are stated for characterizing the corresponding relationship between the target data and the source data.
Fourth processing unit 133 is used for according to the second elastomeric domain dimension and each second matching result, by institute
Dimension metadata is stated to be synchronized in the goal systems.
In one embodiment, third processing unit 132 specifically can be used for the mark according to each source data,
Inquire the data mapping relations;If being present in the corresponding data of mark of the source data in the data mapping relations,
Determine second matching result for matching;If the mark for being not present in the source data in the data mapping relations is corresponding
Data, it is determined that second matching result is to mismatch.
In one embodiment, fourth processing unit 133 specifically can be used for when second matching result being matching
When, then according to target data corresponding with institute's source data, the dimension metadata is synchronized in the goal systems;When described
Second matching result is, then according to preset data category create-rule, to generate mesh corresponding with the source data when mismatching
Data are marked, and the dimension metadata is synchronized in the goal systems according to the target data.
Specific about data synchronization unit limits the restriction that may refer to above for method of data synchronization, herein not
It repeats again.Modules in above-mentioned data synchronization unit can be realized fully or partially through software, hardware and combinations thereof.On
Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form
In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory
Computer program, the processor perform the steps of the dimension metadata obtained in goal systems when executing computer program;Institute
Dimension metadata is stated for describing the characteristics of objects in the source system;According in goal systems each first elastomeric domain dimension and
The dimension metadata determines the second elastomeric domain dimension corresponding with the dimension metadata;It is tieed up according to second elastomeric domain
Degree, the dimension metadata is synchronized in the goal systems, and the dimension metadata is for describing in the source system
Characteristics of objects.
In one embodiment, it is also performed the steps of when processor executes computer program and obtains the dimension member number
Fixed dimension in;According to preset dimension map relationship, judge that each fixed dimension and first elastomeric domain are tieed up
Whether degree matches, and obtains the first matching result of each fixed dimension;Wherein, the dimension map relationship includes the mesh
The corresponding relationship between the dimension in dimension and the source system in mark system;It is determined according to each first matching result
Each second elastomeric domain dimension.
In one embodiment, it also performs the steps of when processor executes computer program according to the fixed dimension
Mark, inquire the dimension map relationship;If existing in the dimension map relationship corresponding with the mark of the fixed dimension
Elastomeric domain dimension, it is determined that first matching result be matching;If in the dimension map relationship there is no with it is described solid
Determine the corresponding elastomeric domain dimension of mark of dimension, it is determined that first matching result is to mismatch.
In one embodiment, if processor also performs the steps of the first matching knot when executing computer program
Fruit is matching, then the first elastomeric domain dimension corresponding with the fixed dimension is determined as the second elastomeric domain dimension;If institute
The first matching result is stated to mismatch, then according to preset elastomeric domain dimension create-rule, is generated corresponding with the fixed dimension
The second elastomeric domain dimension.
In one embodiment, it also performs the steps of when processor executes computer program according to the dimension member number
According to obtaining the corresponding source data of each fixed dimension;According to preset data mapping relations, each source data is determined
Whether matched with the target data under the second elastomeric domain dimension, obtains the second matching result of each source data;Its
In, the data mapping relations are used to characterize the corresponding relationship between the target data and the source data;According to described
Two elastomeric domain dimensions and each second matching result, the dimension metadata is synchronized in the goal systems.
In one embodiment, it also performs the steps of when processor executes computer program according to each source number
According to mark, inquire the data mapping relations;If the mark for being present in the source data in the data mapping relations is corresponding
Data, it is determined that second matching result be matching;If being not present and the source data in the data mapping relations
Identify corresponding data, it is determined that second matching result is to mismatch.
In one embodiment, if processor also performs the steps of the second matching knot when executing computer program
Fruit is matching, then basis target data corresponding with the source data, is synchronized to the goal systems for the dimension metadata
In;If second matching result is to mismatch, according to preset data category create-rule, generate and the source data pair
The target data answered, and the dimension metadata is synchronized in the goal systems according to the target data.
Computer equipment provided by the above embodiment, implementing principle and technical effect are similar with above method embodiment,
Details are not described herein.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of the dimension metadata obtained in goal systems when being executed by processor;The dimension metadata is used
Characteristics of objects in the description source system;According in goal systems each first elastomeric domain dimension and the dimension member number
According to determining the second elastomeric domain dimension corresponding with the dimension metadata;According to the second elastomeric domain dimension, by the dimension
Metadata is synchronized in the goal systems, and the dimension metadata is used to describe the characteristics of objects in the source system.
In one embodiment, it is also performed the steps of when computer program is executed by processor and obtains the dimension member
Fixed dimension in data;According to preset dimension map relationship, each fixed dimension and first elastomeric domain are judged
Whether dimension matches, and obtains the first matching result of each fixed dimension;Wherein, the dimension map relationship includes described
The corresponding relationship between the dimension in dimension and the source system in goal systems;It is true according to each first matching result
Fixed each second elastomeric domain dimension.
In one embodiment, it is also performed the steps of when computer program is executed by processor according to the fixed dimension
The mark of degree inquires the dimension map relationship;If there is the mark pair with the fixed dimension in the dimension map relationship
The elastomeric domain dimension answered, it is determined that first matching result is matching;If in the dimension map relationship there is no with it is described
The corresponding elastomeric domain dimension of the mark of fixed dimension, it is determined that first matching result is to mismatch.
In one embodiment, if also performing the steps of first matching when computer program is executed by processor
As a result it is matching, then the first elastomeric domain dimension corresponding with the fixed dimension is determined as the second elastomeric domain dimension;If
First matching result is to mismatch, then according to preset elastomeric domain dimension create-rule, generates and the fixed dimension pair
The the second elastomeric domain dimension answered.
In one embodiment, it is also performed the steps of when computer program is executed by processor according to the dimension member
Data obtain the corresponding source data of each fixed dimension;According to preset data mapping relations, each source number is determined
Whether matched according to the target data under the second elastomeric domain dimension, obtains the second matching result of each source data;
Wherein, the data mapping relations are used to characterize the corresponding relationship between the target data and the source data;According to described
Second elastomeric domain dimension and each second matching result, the dimension metadata is synchronized in the goal systems.
In one embodiment, it is also performed the steps of when computer program is executed by processor according to each source
The mark of data inquires the data mapping relations;If being present in the mark pair of the source data in the data mapping relations
The data answered, it is determined that second matching result is matching;If being not present and the source data in the data mapping relations
The corresponding data of mark, it is determined that second matching result be mismatch.
In one embodiment, if also performing the steps of second matching when computer program is executed by processor
As a result the dimension metadata is synchronized to the target system then according to target data corresponding with the source data for matching
In system;If second matching result is to mismatch, according to preset data category create-rule, generate and the source data
Corresponding target data, and the dimension metadata is synchronized in the goal systems according to the target data.
Computer readable storage medium provided by the above embodiment, implementing principle and technical effect and the above method are implemented
Example is similar, and details are not described herein.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of method of data synchronization, which is characterized in that the described method includes:
Dimension metadata in the system of acquisition source;The dimension metadata is used to describe the characteristics of objects in the source system;
According to each first elastomeric domain dimension and the dimension metadata in goal systems, determination is corresponding with the dimension metadata
The second elastomeric domain dimension;
According to the second elastomeric domain dimension, the dimension metadata is synchronized in the goal systems.
2. the method according to claim 1, wherein each first elastomeric domain dimension according in goal systems
With the dimension metadata, the second elastomeric domain dimension corresponding with the dimension metadata is determined, comprising:
Obtain the fixed dimension in the dimension metadata;
According to preset dimension map relationship, judge whether each fixed dimension matches with the first elastomeric domain dimension,
Obtain the first matching result of each fixed dimension;Wherein, the dimension map relationship includes in the goal systems
The corresponding relationship between dimension in dimension and the source system;
Each second elastomeric domain dimension is determined according to each first matching result.
3. according to the method described in claim 2, judgement is each it is characterized in that, described according to preset dimension map relationship
Whether the fixed dimension matches with the first elastomeric domain dimension, obtains the first matching result of each fixed dimension,
Include:
According to the mark of the fixed dimension, the dimension map relationship is inquired;
If there is elastomeric domain dimension corresponding with the mark of the fixed dimension in the dimension map relationship, it is determined that described the
One matching result is matching;
If elastomeric domain dimension corresponding with the mark of the fixed dimension is not present in the dimension map relationship, it is determined that described
First matching result is to mismatch.
4. according to the method described in claim 3, it is characterized in that, described determine each institute according to each first matching result
State the second elastomeric domain dimension, comprising:
If first matching result is matching, will the first elastomeric domain dimension corresponding with the fixed dimension be determined as it is described
Second elastomeric domain dimension;
If first matching result is to mismatch, according to preset elastomeric domain dimension create-rule, generate and the fixation
The corresponding second elastomeric domain dimension of dimension.
5. according to method described in claim 2 to 4 any one, which is characterized in that described to be tieed up according to second elastomeric domain
Degree, the dimension metadata is synchronized in the goal systems, comprising:
According to the dimension metadata, the corresponding source data of each fixed dimension is obtained;
According to preset data mapping relations, the target data under each source data and the second elastomeric domain dimension is determined
Whether match, obtains the second matching result of each source data;Wherein, the data mapping relations are for characterizing the mesh
Mark the corresponding relationship between data and the source data;
According to the second elastomeric domain dimension and each second matching result, the dimension metadata is synchronized to the mesh
In mark system.
6. according to the method described in claim 5, determination is each it is characterized in that, described according to preset data mapping relations
Whether the source data matches with the target data under the second elastomeric domain dimension, obtains second of each source data
With result, comprising:
According to the mark of each source data, the data mapping relations are inquired;
If there are data corresponding with the mark of the source data in the data mapping relations, it is determined that the second matching knot
Fruit is matching;
If data corresponding with the mark of the source data are not present in the data mapping relations, it is determined that second matching
It as a result is mismatch.
7. according to the method described in claim 6, it is characterized in that, described according to the second elastomeric domain dimension and each described
The dimension metadata is synchronized in the goal systems by the second matching result, comprising:
If second matching result is matching, according to target data corresponding with the source data, by the dimension member number
According to being synchronized in the goal systems;
If second matching result is to mismatch, according to preset data category create-rule, generate and the source data
Corresponding target data, and the dimension metadata is synchronized in the goal systems according to the target data.
8. a kind of data synchronization unit, which is characterized in that described device includes: to obtain module, determining module and processing module;
The acquisition module, for obtaining the dimension metadata in the system of source;The dimension metadata is for describing the source system
Characteristics of objects in system;
The determining module, for according to each first elastomeric domain dimension and the dimension metadata in goal systems, determine with
The corresponding second elastomeric domain dimension of the dimension metadata;
The processing module, for according to the second elastomeric domain dimension, the dimension metadata to be synchronized to the target system
In system.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811391859.4A CN109299126A (en) | 2018-11-21 | 2018-11-21 | Method of data synchronization, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811391859.4A CN109299126A (en) | 2018-11-21 | 2018-11-21 | Method of data synchronization, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109299126A true CN109299126A (en) | 2019-02-01 |
Family
ID=65144506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811391859.4A Pending CN109299126A (en) | 2018-11-21 | 2018-11-21 | Method of data synchronization, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109299126A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110618880A (en) * | 2019-09-19 | 2019-12-27 | 中国银行股份有限公司 | Cross-system data transmission system and method |
CN111241046A (en) * | 2020-01-14 | 2020-06-05 | 深圳震有科技股份有限公司 | Method for synchronizing texts between systems, storage medium and terminal equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090172047A1 (en) * | 2007-12-28 | 2009-07-02 | Knowledge Computing Corporation | Method and Apparatus for Loading Data Files into a Data-Warehouse System |
US20130081065A1 (en) * | 2010-06-02 | 2013-03-28 | Dhiraj Sharan | Dynamic Multidimensional Schemas for Event Monitoring |
CN103198070A (en) * | 2012-01-06 | 2013-07-10 | 北京四维图新科技股份有限公司 | Service data accessing and processing method and device |
CN103200293A (en) * | 2013-03-05 | 2013-07-10 | 上海斐讯数据通信技术有限公司 | Method of automatically combining tautonomy contacts in process of guiding contacts into contact list |
US8583516B1 (en) * | 2008-12-12 | 2013-11-12 | Intuit Inc. | Importing accounting application data into a tax preparation application |
CN104657396A (en) * | 2013-11-25 | 2015-05-27 | 腾讯科技(深圳)有限公司 | Data migration method and device |
CN105528380A (en) * | 2014-10-27 | 2016-04-27 | 青岛金讯网络工程有限公司 | Method for storing data among different databases |
CN106933828A (en) * | 2015-12-29 | 2017-07-07 | 北京国双科技有限公司 | data insertion method and device |
CN108733752A (en) * | 2018-04-09 | 2018-11-02 | 北京橙立方软件技术有限公司 | Autoreport storage method and system |
-
2018
- 2018-11-21 CN CN201811391859.4A patent/CN109299126A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090172047A1 (en) * | 2007-12-28 | 2009-07-02 | Knowledge Computing Corporation | Method and Apparatus for Loading Data Files into a Data-Warehouse System |
US8583516B1 (en) * | 2008-12-12 | 2013-11-12 | Intuit Inc. | Importing accounting application data into a tax preparation application |
US20130081065A1 (en) * | 2010-06-02 | 2013-03-28 | Dhiraj Sharan | Dynamic Multidimensional Schemas for Event Monitoring |
CN103198070A (en) * | 2012-01-06 | 2013-07-10 | 北京四维图新科技股份有限公司 | Service data accessing and processing method and device |
CN103200293A (en) * | 2013-03-05 | 2013-07-10 | 上海斐讯数据通信技术有限公司 | Method of automatically combining tautonomy contacts in process of guiding contacts into contact list |
CN104657396A (en) * | 2013-11-25 | 2015-05-27 | 腾讯科技(深圳)有限公司 | Data migration method and device |
CN105528380A (en) * | 2014-10-27 | 2016-04-27 | 青岛金讯网络工程有限公司 | Method for storing data among different databases |
CN106933828A (en) * | 2015-12-29 | 2017-07-07 | 北京国双科技有限公司 | data insertion method and device |
CN108733752A (en) * | 2018-04-09 | 2018-11-02 | 北京橙立方软件技术有限公司 | Autoreport storage method and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110618880A (en) * | 2019-09-19 | 2019-12-27 | 中国银行股份有限公司 | Cross-system data transmission system and method |
CN110618880B (en) * | 2019-09-19 | 2022-05-27 | 中国银行股份有限公司 | Cross-system data transmission system and method |
CN111241046A (en) * | 2020-01-14 | 2020-06-05 | 深圳震有科技股份有限公司 | Method for synchronizing texts between systems, storage medium and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109446063A (en) | Interface test method, device, computer equipment and storage medium | |
US11232017B2 (en) | System for refreshing and sanitizing testing data in a low-level environment | |
CN108268375A (en) | Applied program testing method, device, computer equipment and storage medium | |
CN108133007A (en) | A kind of method of data synchronization and system | |
CN109474578A (en) | Message method of calibration, device, computer equipment and storage medium | |
CN110287101A (en) | User interface automated testing method, device, computer equipment and storage medium | |
CN107688664B (en) | Chart generation method and device, computer equipment and storage medium | |
CN109377383A (en) | Product data synchronous method, device, computer equipment and storage medium | |
CN111026647B (en) | Method and device for acquiring code coverage rate, computer equipment and storage medium | |
CN109543073A (en) | Enterprise's supply and marketing relation map generation method, device and computer equipment | |
CN109597979A (en) | Inventory table generation method, device, computer equipment and storage medium | |
CN109299126A (en) | Method of data synchronization, device, computer equipment and storage medium | |
CN108874661A (en) | Test mapping relations library generating method, device, computer equipment and storage medium | |
US9679014B2 (en) | Generating and accessing a data table | |
CN108255699A (en) | regression testing method and device | |
CN108334625A (en) | Processing method, device, computer equipment and the storage medium of user information | |
CN109690571A (en) | Group echo system and method based on study | |
CN111309624B (en) | Test method, test device, test equipment and storage medium | |
CN107357721B (en) | Method and device for testing system | |
CN106990974B (en) | APP updating method and device and electronic equipment | |
CN114691506A (en) | Pressure testing method, apparatus, device, medium, and program product | |
CN110362478A (en) | Application upgrade test method, device, computer equipment and storage medium | |
US10929281B1 (en) | Systems and methods for testing of data transformations | |
CN104166541A (en) | Method and device for updating measured control library | |
CN109542872A (en) | Method for reading data, device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |