CN107633054A - Mall system and the data synchronous system and method for third party's operation system on a kind of line synchro - Google Patents
Mall system and the data synchronous system and method for third party's operation system on a kind of line synchro Download PDFInfo
- Publication number
- CN107633054A CN107633054A CN201710848427.0A CN201710848427A CN107633054A CN 107633054 A CN107633054 A CN 107633054A CN 201710848427 A CN201710848427 A CN 201710848427A CN 107633054 A CN107633054 A CN 107633054A
- Authority
- CN
- China
- Prior art keywords
- data
- data set
- item
- configuration item
- operation system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The embodiment of the invention discloses mall system on a kind of line synchro and the data synchronous system and method for third party's operation system, wherein system includes third party's business interface, wherein, the first business interface connects the first operation system, and the second business interface connects the second operation system;Store interface is used for mall system on connecting line on line;It is first object data set by the cleaning of the first data set that data cleansing unit, which is used for according to the first configuration item, and/or, it is the second target data set to be cleaned the second data set according to the second configuration item;Dispatch service unit is used to obtain the first configuration item and/or the second configuration item, and for first object data set and/or the second target data set to be sent to mall system on line, or first object data set is sent to the first operation system, the second target data set and sent to the second operation system.It sets different configuration items, substantially increases docking efficiency, save time cost according to different third party's operation systems is docked.
Description
Technical field
The present invention relates to mall system in data processing field, more particularly to a kind of line synchro and third party's operation system
Data synchronous system and method.
Background technology
In the prior art, sale property enterprise can use a variety of different software systems, be typically include marketing system, stock
System, purchasing system and financial system etc..In today that Internet technology is so flourishing, most enterprises have the interconnection of oneself
Net sales platform, i.e., mall system on line.This just brings on independent line business management system under mall system and line (i.e. the
Three party service system) between data syn-chronization the problem of.
Generally there are three kinds of implementations at present.One between two systems data it is asynchronous, manually by mall system on line
The data produced are manually entered third party's operation system;Two is look for same software vendor to develop, and two systems share number
According to storehouse;After three is two different software vendor joint consultation Data Synchronization Protocols, then do secondary development.One pure craft of scheme
Mode increases workload, and easily malfunctions;The data degree of coupling of scheme two is high, but is unfavorable for system extension, and can not play
The advantage of different suppliers;Scheme three can play the advantage of each supplier, but need to coordinate multiple suppliers to do secondary open jointly
Hair.
The content of the invention
For above-mentioned technical problem, the embodiments of the invention provide mall system on a kind of line synchro and third party's business system
The data synchronous system of system, different configuration items can be set according to different third party's operation systems is docked, greatly improve
The efficiency of docking third party operation system.
The first aspect of the embodiment of the present invention provides mall system and the data of third party's operation system on a kind of line synchro
Synchronization system, third party's operation system include the first operation system and the second operation system, the data synchronous system bag
Include:
Store interface, data cleansing unit and third party's business interface on dispatch service unit, line;
Wherein, third party's business interface includes the first business interface and the second business interface, and first business connects
Mouth is used to connect first operation system, and second business interface is used to connect second operation system;
Store interface is used to connect mall system on the line on the line;
The data cleansing unit, it is first object data set for being cleaned the first data set according to the first configuration item,
And/or it is the second target data set to be cleaned the second data set according to the second configuration item, first data set belongs to the line
Upper mall system or the first operation system, second data set belong to mall system or the second business system on the line
System;
The dispatch service unit, for obtaining first configuration item corresponding to first operation system and/or obtaining
Second configuration item corresponding to second operation system is taken, and is used for the first object data set and/or the second mesh
Mark data set send to mall system on the line, or by the first object data set send to first operation system,
Second target data set is sent to second operation system.
Alternatively, the dispatch service unit is specifically used for:
The first object data set is sent to described when first data set belongs to mall system on the line
First operation system, and send out second target data set when second data set belongs to mall system on the line
Deliver to second operation system;
The first object data set is sent to described when first data set belongs to first operation system
Mall system on line, and send out second target data set when second data set belongs to second operation system
Deliver to mall system on the line.
Alternatively, first configuration item and second configuration item include the data item synchronized and the number
According to the default value, enumerated value and data type of item.
Alternatively, the data cleansing unit includes:
Remove module, for removing the first data item in first data set, or root according to first configuration item
The second data item in second data set is removed according to second configuration item, first data item is not belonging to described first
The data item synchronized in configuration item, second data item are not belonging to the data synchronized in second configuration item
;
Add module, for the first default data item to be not present in first data set according to first configuration item
When for first data set add the first default data item, or according to second configuration item in second data set
In the second data set described in the second default data Xiang Shiwei be not present add the second default data item, the first acquiescence number
Belong in first configuration item data item synchronized according to item, the second default data item belongs to second configuration item
In the data item that synchronizes, and the first default data item of the addition is default value in first configuration item, with
And the second default data item is default value in second configuration item;
Replacement module, for replacing the enumerated value of data item in first data set according to first configuration item, or
The enumerated value of data item in second data set is replaced according to second configuration item;
Modular converter, the data type for changing first data set according to first configuration item obtain described the
One target data set, or second target is obtained according to the data type of second configuration item conversion, second data set
Data set.
Alternatively, the dispatch service unit is specifically additionally operable to:
According to preset poll time, first data set or second data set are read.
The second aspect of the embodiment of the present invention provides mall system and the data of third party's operation system on a kind of line synchro
Synchronous method, suitable for data synchronous system as described above, the method for data synchronization includes:
The first data set and/or the second data set that mall system is sent on line are received, first data set is used for same
To the first operation system, second data set is used to be synchronized to the second operation system step;
The configuration item of correspondence first of first operation system is obtained, and/or is obtained corresponding to second operation system
Second configuration item;
It is first object data set to be cleaned first data set according to first configuration item, and/or according to described
Second data set cleaning is the second target data set by the second configuration item;
The first object data set is sent to first operation system, and/or by second target data set
Send to second operation system;
Or,
First data set that first operation system is sent is received, and/or receives the second operation system hair
Second data set sent, first data set and/or second data set are used to be synchronized to store system on the line
System;
First configuration item corresponding to first operation system is obtained, and/or obtains second operation system pair
Second configuration item answered;
It is first object data set to be cleaned first data set according to first configuration item, and/or according to described
Second data set cleaning is the second target data set by the second configuration item;
The first object data set and/or second target data set are sent to mall system on the line.
Alternatively, first configuration item and second configuration item include the data item synchronized and the number
According to the default value, enumerated value and data type of item.
Alternatively, described cleaned first data set according to first configuration item is first object data set bag
Include:
The first data item in first data set is removed according to first configuration item, first data item does not belong to
The data item synchronized in first configuration item;
According to first configuration item in first data set be not present the first default data Xiang Shiwei described in first
Data set adds the first default data item, and the first default data item belongs in first configuration item what is synchronized
Data item, and the first default data item of the addition is default value in first configuration item;
The enumerated value of data item in first data set is replaced according to first configuration item;
The data type that first data set is changed according to second configuration item obtains the first object data set.
Alternatively, described cleaned second data set according to second configuration item is the second target data set bag
Include:
The second data item in first data set is removed according to second configuration item, second data item does not belong to
The data item synchronized in second configuration item;
According to second configuration item in second data set be not present the second default data Xiang Shiwei described in second
Data set adds the second default data item, and the second default data item belongs in second configuration item what is synchronized
Data item, and the second default data item of the addition is default value in second configuration item;
The enumerated value of data item in second data set is replaced according to second configuration item;
The data type that second data set is changed according to second configuration item obtains second target data set.
Alternatively, methods described also includes:
According to preset poll time, first data set or second data set are read.
Third aspect present invention provides a kind of server, and the server includes:Interface on line, line lower interface, at least
One processor, and the memory being connected with least one processor communication.
Wherein, have can be by the instruction repertorie of at least one computing device, the instruction journey for the memory storage
Sequence is by least one computing device, so that at least one processor is able to carry out method as described above.
Fourth aspect present invention provides the synchronization system of a kind of mall system on line synchro and third party's operation system
The middle computer program product used.The computer program product includes functional unit as described above and module.
In technical scheme provided in an embodiment of the present invention, mall system is sent on line the first data set or the second number are received
According to collection;The first configuration item of first operation system is obtained, or obtains the second configuration item of second operation system;According to this
The cleaning of first data set is first object data set by one configuration item, or is by the cleaning of the second data set according to second configuration item
Second target data set;The first object data set is sent to the first operation system, or second target data set is sent
To the second operation system;Or, the first data set of first operation system transmission is received, and/or, second operation system is sent
The second data set;It is first object data to be cleaned first data set according to the first configuration item of first operation system
Collection, and/or, it is the second target data set to be cleaned second data set according to the second configuration item of second operation system;Will
The first object data set and/or the second target data set are sent to mall system on line.Therefore relative to prior art, this hair
Bright embodiment passes through different according to the first operation system and the setting of the second operation system in different third party's operation systems is docked
The first configuration item and the second configuration item, greatly improve docking third party's operation system efficiency, save time cost,
And do not need third party's operation system supplier to do secondary development, the cost input of secondary development is saved, and docking
When data structure changes, synchronous vacations configuration item is only needed, you can complete the upgrading of synchronous service.
Brief description of the drawings
Fig. 1 is data synchronous system application scenarios one embodiment schematic diagram in the embodiment of the present invention;
Fig. 2 is data synchronous system one embodiment schematic diagram in the embodiment of the present invention;
Fig. 3 is method of data synchronization one embodiment schematic diagram in the embodiment of the present invention;
Fig. 4 is down-transmitting data synchronizing step flow chart in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of method of data synchronization in the embodiment of the present invention;
Fig. 6 is that data syn-chronization flow chart of steps is uploaded in the embodiment of the present invention;
Fig. 7 is server one embodiment schematic diagram in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, the every other implementation that those skilled in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second " are to be used to distinguish class
As object, without for describing specific order or precedence.It should be appreciated that the data so used are in appropriate situation
Under can exchange, so that the embodiments described herein can be real with the order in addition to the content for illustrating or describing herein
Apply.In addition, term " comprising " and " having " and their any deformation, it is intended that cover it is non-exclusive include, for example, bag
Contained series of steps or unit process, method, system, product or equipment be not necessarily limited to those steps clearly listed or
Unit, but may include not list clearly or for the intrinsic other steps of these processes, method, product or equipment or
Unit.
It should be understood that the present invention provides a kind of method that can dynamically prepare, i.e. mall system and third party's business system on line
Mall system and the data synchronous system of third party's operation system on line synchro, and third party's industry are provided between system
Business system includes multiple business system, such as the first operation system, the second operation system, as shown in figure 1, utilizing the data syn-chronization
The data that mall system on line 10 is sent are converted to the first operation system 30, the number needed for the second operation system 40 by system 20
According to, and the data that first operation system 30, the second operation system 40 are sent are converted on the line needed for mall system 10
Data, by the way that its data structure is mutually matched, so as to reach on line mall system 10 and third party's operation system it
Between data syn-chronization purpose.It should be noted that mall system 10 and third party's industry on line synchro in the data synchronous system 20
The data of business system can be carried out in a manner of data set, and the data set is the set of data.For example, in as shown in Figure 1,
The first data set that the data synchronous system 20 can send mall system on line 10 is converted to the transmission of first object data set
Synchronized into first operation system 30, the second data set that mall system on line 10 is sent is converted to the second number of targets
Send into second operation system 40 and synchronize according to collection, but the synchronous flow should not be formed to this hair shown in Fig. 1
The restriction of bright embodiment.
Specifically, on mall system on line synchro in the embodiment of the present invention and the data syn-chronization system of third party's operation system
System 20, referring to Fig. 2, data synchronous system one embodiment includes in the embodiment of the present invention:
Store interface 202, data cleansing unit 203 and third party's business interface 204 on dispatch service unit 201, line;
Wherein, third party's business interface 204 can include multiservice interface, with the first business in the embodiment of the present invention
Illustrated exemplified by the business interface 2042 of interface 2041 and second, but the restriction to the embodiment of the present invention should not be formed.
First business interface 2041 can be used for connecting the first operation system 30, and can be used for first operation system
Data are received and sent between 30 and data synchronous system 20;Second business interface 2042 can be used for connecting the second business system
System 40, and can be used between second operation system 40 and data synchronous system 20 receiving and sending data;
Store interface 202 can be used for mall system 10 on connecting line on the line, and can be used for mall system on the line
Data are received and sent between 10 and the data synchronous system 20;
The data cleansing unit 203, can be used for according to the first configuration item is first object number by the cleaning of the first data set
According to collection, and/or, it is the second target data set to be cleaned the second data set according to the second configuration item, and first data set can belong to
In the operation system 30 of mall system on the line 10 or first, second data set may belong to the industry of mall system 10 or second on line
Business system 40;
Dispatch service unit 201, it can be used for obtaining the first configuration item and/or acquisition corresponding to first operation system 30
Second configuration item corresponding to second operation system 40, and can be used for the first object data set and/or the second number of targets
Sent according to collection to mall system 10 on the line, or the first object data set sent to first operation system 30, by this
Two target data sets are sent to the second operation system 40.
It is understood that when first data set belongs to mall system 10 on the line, i.e. the data synchronous system 20
When receiving the first data set that mall system 10 is sent on the line by store interface 202 on line, the dispatch service unit 201
First business interface 2041 can be dispatched the first object data set is sent in first operation system 30;And at this
When second data set belongs to mall system 10 on the line, i.e., the data synchronous system 20 is received by store interface 202 on line
When mall system 10 sends the second data set on the line, the dispatch service unit 201 can dispatch second business interface 2042
Second target data set is sent in second operation system 40;
Also, when first data set belongs to first operation system 30, i.e., the data synchronous system 20 passes through first
When business interface 2041 receives the first data set of first operation system 30 transmission, the dispatch service unit 201 can be adjusted
Store interface 202 on the line is spent to send the first object data set into mall system on the line 10;And in second number
When belonging to second operation system 40 according to collection, i.e., the data synchronous system 20 by the second business interface 2042 receive this second
During the second data set that operation system 40 is sent, the dispatch service unit 201 can dispatch on the line store interface 202 by this
Two target data sets are sent into mall system on the line 10.
In the present embodiment, the first received data set and the second data set are carried out in data cleansing unit 203
Before cleaning, that is, before obtaining first object data set or the second target data set, the data synchronous system can utilize the tune
Third party's operation system that degree service unit 201 is docked to third party's business interface 204 is identified, and identifies first industry
Business system 30 and second operation system 40, and the first configuration item corresponding to first operation system can be read and be somebody's turn to do
Second configuration item corresponding to second operation system, and data cleansing is carried out to first data set according to first configuration item, with
And data cleansing is carried out to second data set according to second configuration item, obtain the first object data set and the second number of targets
According to collection.
It is understood that it can include being respectively used to the first operation system in first configuration item and the second configuration item
The data item that is synchronized between 30 collinear upper mall systems 10, between 40 collinear upper mall system 10 of the second operation system and
Default value, enumerated value and data type of the data item etc., and can be pre-stored within the data synchronous system 20 specific
Do not limit herein.
In the present embodiment, based on above-mentioned the first configuration item and the second configuration item, it can be wrapped in the data cleansing unit 203
Containing remove module 2031, add module 2032, replacement module 2033 and modular converter 2034.Pass through the above-mentioned data cleansing list
Module in member 203, the data synchronous system 20 carry out the specific handling process of data cleansing using the data cleansing unit 203
Can be:
The first data in first data set can be removed by the remove module 2031 in the data cleansing unit 203
Or remove the second data item in second data set, i.e., need what is synchronized according to retrieval in first configuration item
Data item, and remove the data item that need not be synchronized in first data set;Or needed according to second configuration item retrieval
The data item to be synchronized, and remove the data item that need not be synchronized in second data set;
By the add module 2032 can also when being retrieved according to first configuration item to first data set, than
The data item that the needs given tacit consent in first configuration item are synchronized, and the first acquiescence number is not present in first data set
During according to item, the first default data item is added for first data set, and the data in the first default data item of the addition are
Corresponding default value in first configuration item;And when being retrieved according to first configuration item to second data set, than
The data item that the needs given tacit consent in second configuration item are synchronized, and the second acquiescence number is not present in second data set
During according to item, the second default data item is added for second data set, and the data in the second default data item of the addition are
Corresponding default value in second configuration item;
Enumerating for data item in first data set can be replaced according to first configuration item by the replacement module 2033
It is worth, or the enumerated value of data item in second data set is replaced according to second configuration item, such as in first operation system 30
Middle use " M " and " F " represents gender, and used on line in mall system 10 " 0 " and " 1 " represent gender, then phase
That answers, which needs to replace " M " that first operation system 30 is synchronized in the first data set of mall system 10 on line, is " 0 " ", " F "
For " 1 ";
Finally by the modular converter 2034 according to first configuration item by it is foregoing removed, add, replace after this
The data type of one data set carries out being converted to the first object data set, or is moved according to the second configuration item by foregoing
Remove, add, replace after the data type of the second data set carry out being converted to second target data set;It is appreciated that
It is that the conversion of the carry out data type is translation data structure, on the line that first data set or the second data set are applicable
Data structure in mall system 10 is converted to third party's operation system (such as the first operation system 30 or the second operation system 40)
Middle be applicable data structure, or the data structure in be applicable third party's operation system is converted to suitable for store system on line
Data structure in system 10.
It is understood that the data structure by matching the system to be synchronized to, according to the requirement of the data structure,
Removed, added, replaced and changed accordingly, be met the data set of the data of the data structure, consequently facilitating on line
Data syn-chronization between mall system 10 and third party's operation system.
Also, in the present invention, the dispatch service unit 201 is control unit of the invention, it is to be understood that to perform
The data syn-chronization of the present invention, its data item size that can be sent according to mall system on line 10 or third party's operation system determine
Using automatic regular polling mechanism or real-time synchronization mechanism, the execution of data syn-chronization in the present invention program is controlled.If desired carry out big
The data syn-chronization of amount, then the automatic regular polling mechanism of preset poll time can be used, read above-mentioned first data set or the second number
According to collection, reach and carry out data syn-chronization in the bandwidth resources free time, avoid the purpose of loss of data.
Mall system and the data syn-chronization of third party's operation system on a kind of line synchro are additionally provided in the embodiment of the present invention
Method, it, which can be divided into mall system on line and will be passed under the first data set, is synchronized to the first operation system, and/or, by the second number
Passed down according to collection and be synchronized to the second operation system;And first operation system by the first data set, and/or, the second operation system will
Second data set uploads and is synchronized to mall system on line, is described separately below:
First, down-transmitting data is synchronous;
As shown in figure 3, method of data synchronization one embodiment includes in the embodiment of the present invention:
S301, receive mall system is sent on line the first data set and/or the second data set;
S302, the first configuration item corresponding to the first operation system is obtained, and/or obtained second corresponding to the second operation system
Configuration item;
S303, according to the first configuration item by the first data set cleaning be first object data set, and/or according to second configure
The cleaning of second data set is the second target data set by item;
S304, first object data set sent to the first operation system, and/or the second target data set is sent to
Two operation systems.
Specifically, the down-transmitting data is synchronously i.e. by the data syn-chronization in mall system on line to such as the first operation system, the
In third party's operation system of two operation systems etc., referring to Fig. 4, in the embodiment of the present invention down-transmitting data it is synchronous realize step
Including:
S401, judge whether to reach preset poll time, poll time is continued waiting for when not reaching, otherwise log-on data
It is synchronous;
The data that mall system passes down on S402, read line obtain data set;
S403, third party's operation system according to docking, corresponding configuration item is read, and the configuration item includes synchronizing
Data item and the data item the information such as default value, enumerated value and data type;
S404, according to data configuration item, remove the unwanted data item of third party's operation system in data set;
S405, according to data configuration item, the data item that does not have required for addition third party's operation system in data set, and
The data item content newly added is the default value of the data item in configuration item;
S406, the enumerated value for replacing same data item, as data are concentrated use in " M " and " F " represents gender, and the
Used in three party service system " 0 " and " 1 " represent gender, then need to replace accordingly " M " is " 0 ", " F " is " 1 ";
S407, by the data type conversion of data set be third party's operation system in required for data type;
S408, the data set assembling generation target data set that will have been changed by the requirement of third party's operation system;
The target data set generated in S409, forwarding step S408, the target data set is written to third party's business system
In system.
2nd, data syn-chronization is uploaded;
As shown in figure 5, another embodiment of method of data synchronization includes in the embodiment of the present invention:
S501, the first data set that the first operation system is sent is received, and/or receive the second operation system is sent second
Data set;
S502, the first configuration item corresponding to the first operation system is obtained, and/or obtained second corresponding to the second operation system
Configuration item;
S503, according to the first configuration item by the first data set cleaning be first object data set, and/or according to second configure
The cleaning of second data set is the second target data set by item;
S504, first object data set and/or the second target data set sent to mall system on line.
Specifically, the upload data syn-chronization will such as the first operation system, the second operation system third party's business system
Data in system, which upload, to be synchronized on line in mall system, referring to Fig. 6, uploading the realization of data syn-chronization in the embodiment of the present invention
Step includes:
S601, judge whether to reach preset poll time, poll time is continued waiting for when not reaching, otherwise log-on data
It is synchronous;
The data that S602, reading third party operation system upload obtain data set;
S603, third party's operation system according to docking, corresponding configuration item is read, and the configuration item includes synchronizing
Data item and the data item the information such as default value, enumerated value and data type;
S604, according to data configuration item, remove the unwanted data item of mall system on data concentration line;
S605, according to data configuration item, add the data item for needing and not having in data set in mall system on line, and newly
The data item content of addition is the default value of the data item in configuration item;
S606, the enumerated value for replacing same data item, as data are concentrated use in " 0 " and " 1 " represent gender, it is and online
Used in upper mall system " M " and " F " represents gender, then need to replace accordingly " 0 " be " M ", " 1 " be " F ";
S607, by the data type conversion of data set it is the data type on line required for mall system;
S608, the data set assembling generation target data set that will have been changed by the requirement of mall system on line;
The target data set generated in S609, forwarding step S608, the target data set is written to mall system on line
In.
Below referring to Fig. 7, Fig. 7 is the hardware architecture diagram of server provided in an embodiment of the present invention.Such as Fig. 7 institutes
Show, the server 70 includes:One or more processors 701, memory 702, store interface 703 and third party's business on line
Interface 704.
In Fig. 7 by taking a processor 701 as an example.Wherein, processor 701, memory 702, on line store interface 703 and
Third party's business interface 704 can be connected by bus or other modes, in Fig. 7 exemplified by being connected by bus.Business on line
City interface 703 can be used for connecting inline system, and third party's business interface 704 can be used for system under connecting line.
Memory 702 is used as a kind of non-volatile computer readable storage medium storing program for executing, available for storage non-volatile software journey
Sequence, non-volatile computer executable program and module, the program as corresponding to the method for data synchronization in the embodiment of the present invention
Instruction/module (such as:Store interface 202, data cleansing unit 203 and third party's business on dispatch service unit 201, line
Interface 204).Processor 701 is stored in non-volatile software program, instruction and module in memory 702 by operation, from
And various function application and the data processing of execute server, that is, realize the method for data synchronization in above method embodiment.
Memory 702 can include storing program area and storage data field, wherein, storing program area can store operation system
Application program required for system, at least one function;Storage data field can storage configuration item data etc..In addition, memory 702
High-speed random access memory can be included, can also include nonvolatile memory, a for example, at least disk memory,
Flush memory device or other non-volatile solid state memory parts.In certain embodiments, memory 702 is optional including relative to place
The remotely located memory of device 701 is managed, these remote memories can pass through network connection to the on-line off-line data syn-chronization system
System.The example of above-mentioned network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
One or more of modules are stored in the memory 702, when by one or more of processors
During 701 execution, the method for data synchronization in above-mentioned any means embodiment is performed.
The said goods can perform the method that the embodiment of the present application is provided, and possesses the corresponding functional module of execution method and has
Beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present application is provided.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments
The present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each implementation
Technical scheme described in example is modified, or carries out equivalent substitution to which part technical characteristic;And these modification or
Replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. mall system and the data synchronous system of third party's operation system on a kind of line synchro, it is characterised in that the described 3rd
Square operation system includes the first operation system and the second operation system, and the data synchronous system includes:
Store interface, data cleansing unit and third party's business interface on dispatch service unit, line;
Wherein, third party's business interface includes the first business interface and the second business interface, and first business interface is used
In connecting first operation system, second business interface is used to connect second operation system;
Store interface is used to connect mall system on the line on the line;
The data cleansing unit, it is first object data set for being cleaned the first data set according to the first configuration item, and/
Or, it is the second target data set to be cleaned the second data set according to the second configuration item, first data set belongs on the line
Mall system or the first operation system, second data set belong to mall system or second operation system on the line;
The dispatch service unit, for obtaining first configuration item corresponding to first operation system and/or obtaining institute
Second configuration item corresponding to the second operation system is stated, and is used for the first object data set and/or the second number of targets
Sent according to collection to mall system on the line, or the first object data set is sent to first operation system, described
Second target data set is sent to second operation system.
2. data synchronous system according to claim 1, it is characterised in that the dispatch service unit is specifically used for:
The first object data set is sent to described first when first data set belongs to mall system on the line
Operation system, and when second data set belongs to mall system on the line by second target data set send to
Second operation system;
The first object data set is sent to the line when first data set belongs to first operation system
Mall system, and when second data set belongs to second operation system by second target data set send to
Mall system on the line.
3. data synchronous system according to claim 2, it is characterised in that first configuration item and second configuration
Item includes default value, enumerated value and the data type of the data item and data item synchronized.
4. data synchronous system according to claim 3, it is characterised in that the data cleansing unit includes:
Remove module, for removing the first data item in first data set according to first configuration item, or according to institute
The second data item in the second configuration item removal second data set is stated, first data item is not belonging to first configuration
The data item synchronized in, second data item are not belonging to the data item synchronized in second configuration item;
Add module, for the first default data Xiang Shiwei to be not present in first data set according to first configuration item
First data set adds the first default data item, or according to second configuration item in second data set not
The second default data item, the first default data item are added in the presence of the second data set described in the second default data Xiang Shiwei
Belong in first configuration item data item synchronized, the second default data item belongs in second configuration item
The synchronous data item of row, and the first default data item of the addition is default value in first configuration item, Yi Jisuo
The second default data item is stated as default value in second configuration item;
Replacement module, for the enumerated value according to data item in first configuration item replacement, first data set, or according to
Second configuration item replaces the enumerated value of data item in second data set;
Modular converter, the data type for changing first data set according to first configuration item obtain first mesh
Data set is marked, or second target data is obtained according to the data type of second configuration item conversion, second data set
Collection.
5. data synchronous system according to claim 1, it is characterised in that the dispatch service unit is specifically additionally operable to:
According to preset poll time, first data set or second data set are read.
6. mall system and the method for data synchronization of third party's operation system on a kind of line synchro, it is characterised in that according to such as power
Profit requires the data synchronous system any one of 1 to 5, and the method for data synchronization includes:
The first data set and/or the second data set that mall system is sent on line are received, first data set is used to be synchronized to
First operation system, second data set are used to be synchronized to the second operation system;
The first configuration item corresponding to first operation system is obtained, and/or is obtained second corresponding to second operation system
Configuration item;
It is first object data set to be cleaned first data set according to first configuration item, and/or according to described second
Second data set cleaning is the second target data set by configuration item;
The first object data set is sent to first operation system, and/or second target data set is sent
To second operation system;
Or,
First data set that first operation system is sent is received, and/or receives what second operation system was sent
Second data set, first data set and/or second data set are used to be synchronized to mall system on the line;
First configuration item corresponding to first operation system is obtained, and/or is obtained corresponding to second operation system
Second configuration item;
It is first object data set to be cleaned first data set according to first configuration item, and/or according to described second
Second data set cleaning is the second target data set by configuration item;
The first object data set and/or second target data set are sent to mall system on the line.
7. method of data synchronization according to claim 6, it is characterised in that first configuration item and second configuration
Item includes default value, enumerated value and the data type of the data item and data item synchronized.
8. method of data synchronization according to claim 7, it is characterised in that described according to inciting somebody to action first configuration item
The cleaning of first data set includes for first object data set:
The first data item in first data set is removed according to first configuration item, first data item is not belonging to institute
State the data item synchronized in the first configuration item;
According to first configuration item in first data set be not present the first default data Xiang Shiwei described in the first data
Collection adds the first default data item, and the first default data item belongs in first configuration item data synchronized
, and the first default data item of the addition is default value in first configuration item;
The enumerated value of data item in first data set is replaced according to first configuration item;
The data type that first data set is changed according to second configuration item obtains the first object data set.
9. method of data synchronization according to claim 7, it is characterised in that described according to inciting somebody to action second configuration item
The cleaning of second data set includes for the second target data set:
The second data item in first data set is removed according to second configuration item, second data item is not belonging to institute
State the data item synchronized in the second configuration item;
According to second configuration item in second data set be not present the second default data Xiang Shiwei described in the second data
Collection adds the second default data item, and the second default data item belongs in second configuration item data synchronized
, and the second default data item of the addition is default value in second configuration item;
The enumerated value of data item in second data set is replaced according to second configuration item;
The data type that second data set is changed according to second configuration item obtains second target data set.
10. method of data synchronization according to claim 6, it is characterised in that methods described also includes:
According to preset poll time, first data set or second data set are read.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710848427.0A CN107633054A (en) | 2017-09-19 | 2017-09-19 | Mall system and the data synchronous system and method for third party's operation system on a kind of line synchro |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710848427.0A CN107633054A (en) | 2017-09-19 | 2017-09-19 | Mall system and the data synchronous system and method for third party's operation system on a kind of line synchro |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107633054A true CN107633054A (en) | 2018-01-26 |
Family
ID=61102991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710848427.0A Pending CN107633054A (en) | 2017-09-19 | 2017-09-19 | Mall system and the data synchronous system and method for third party's operation system on a kind of line synchro |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107633054A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108667826A (en) * | 2018-04-25 | 2018-10-16 | 中国人民解放军战略支援部队信息工程大学 | A kind of dispatching device and dispatching method based on four mould isomery redundant processors |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103152418A (en) * | 2013-03-08 | 2013-06-12 | 上海伊邦医药信息科技有限公司 | Data synchronization system and method for offline and online internet commodity retailing systems |
CN103593422A (en) * | 2013-11-01 | 2014-02-19 | 国云科技股份有限公司 | Virtual access management method of heterogeneous database |
CN104750729A (en) * | 2013-12-30 | 2015-07-01 | 中国移动通信集团公司 | Data management method and system based on journal file |
CN106021494A (en) * | 2016-05-19 | 2016-10-12 | 中国银联股份有限公司 | Master data synchronization method and device |
CN106097058A (en) * | 2016-06-07 | 2016-11-09 | 杭州笛佛软件有限公司 | E-commerce platform heterogeneous data processing method and system |
-
2017
- 2017-09-19 CN CN201710848427.0A patent/CN107633054A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103152418A (en) * | 2013-03-08 | 2013-06-12 | 上海伊邦医药信息科技有限公司 | Data synchronization system and method for offline and online internet commodity retailing systems |
CN103593422A (en) * | 2013-11-01 | 2014-02-19 | 国云科技股份有限公司 | Virtual access management method of heterogeneous database |
CN104750729A (en) * | 2013-12-30 | 2015-07-01 | 中国移动通信集团公司 | Data management method and system based on journal file |
CN106021494A (en) * | 2016-05-19 | 2016-10-12 | 中国银联股份有限公司 | Master data synchronization method and device |
CN106097058A (en) * | 2016-06-07 | 2016-11-09 | 杭州笛佛软件有限公司 | E-commerce platform heterogeneous data processing method and system |
Non-Patent Citations (1)
Title |
---|
肖骁: "基于JMS的数据同步技术研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108667826A (en) * | 2018-04-25 | 2018-10-16 | 中国人民解放军战略支援部队信息工程大学 | A kind of dispatching device and dispatching method based on four mould isomery redundant processors |
CN108667826B (en) * | 2018-04-25 | 2020-09-04 | 中国人民解放军战略支援部队信息工程大学 | Scheduling device and scheduling method based on four-mode heterogeneous redundant processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Bauernhansl et al. | The Digital Shadow of production–A concept for the effective and efficient information supply in dynamic industrial environments | |
EP2485147B1 (en) | Operations management using communications and collaboration platform | |
US10733207B2 (en) | Automated staged data migration | |
US8301935B2 (en) | Distributed batch runner | |
CN107608774A (en) | A kind of method for scheduling task, device, equipment and storage medium | |
CN108196915A (en) | Code process method, equipment and storage medium based on application container engine | |
CN107294742A (en) | Create method, device, terminal of attending a meeting and the server of meeting group | |
CN103109271A (en) | Inter-platform application migration realization method and system | |
CN108881227B (en) | Operation control method and device of remote whiteboard system and remote whiteboard system | |
CN105450476A (en) | Regression test system and test method | |
CN110377590A (en) | Data collection system, method and computer readable storage medium based on Internet of Things | |
CN113256095B (en) | Draggable configuration agile flow service construction method, system, equipment and medium | |
CN103095582A (en) | Image forming apparatus supporting plurality of network interfaces and method of editing routing table thereof | |
CN109634764A (en) | Work-flow control method, apparatus, equipment, storage medium and system | |
CN109814917A (en) | Micro services dissemination method, device, computer equipment and storage medium | |
CN114285695B (en) | Communication method, device, apparatus, system and storage medium | |
CN106598530A (en) | Display panel configuration method and device | |
CN110135940B (en) | Kitchen order display device and method | |
CN106993015A (en) | Synchronous method, system and the security server of transaction | |
CN104683486A (en) | Method and device for processing synchronous messages in distributed system and distributed system | |
CN107633054A (en) | Mall system and the data synchronous system and method for third party's operation system on a kind of line synchro | |
CN104219097B (en) | A kind of quickly configuration method of distributed system | |
CN115484187B (en) | Method, equipment and storage medium for testing container network interface in container environment | |
CN115130911A (en) | Method and device for processing delivery tasks failed to execute by robot | |
CN103312530B (en) | Method and system for correspondingly counting on-line server and rack position, and counting platform |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180126 |