CN115543227B - Cross-system data migration method, system, electronic device and storage medium - Google Patents

Cross-system data migration method, system, electronic device and storage medium Download PDF

Info

Publication number
CN115543227B
CN115543227B CN202211544716.9A CN202211544716A CN115543227B CN 115543227 B CN115543227 B CN 115543227B CN 202211544716 A CN202211544716 A CN 202211544716A CN 115543227 B CN115543227 B CN 115543227B
Authority
CN
China
Prior art keywords
content
data
target
associated content
cross
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211544716.9A
Other languages
Chinese (zh)
Other versions
CN115543227A (en
Inventor
杨健伟
徐霞
张社丽
曹映辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Landray Software Co ltd
Original Assignee
Shenzhen Landray Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Landray Software Co ltd filed Critical Shenzhen Landray Software Co ltd
Priority to CN202211544716.9A priority Critical patent/CN115543227B/en
Publication of CN115543227A publication Critical patent/CN115543227A/en
Application granted granted Critical
Publication of CN115543227B publication Critical patent/CN115543227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0647Migration mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application provides a cross-system data migration method, a cross-system data migration system, electronic equipment and a storage medium, and belongs to the technical field of computers. When the cross-system data migration method is executed, content data in a second system can be exported, needed first relevant content is determined based on relevant information among a plurality of content data, target data are generated according to the content data and the first relevant content, then in the data import process, the needed first relevant content among the content data and the plurality of content data is obtained through target data analysis, the corresponding second relevant content is matched for the first relevant content, the content data and the second relevant content are imported into the first system, the content needed to be relevant among the data can also be imported in the import process, manual extra configuration is not needed, manpower and material resources are saved, data migration is finally completed, and therefore quality and efficiency of data migration are effectively improved.

Description

Cross-system data migration method, system, electronic device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, a system, an electronic device, and a storage medium for cross-system data migration.
Background
In a software system, data is often required to be migrated from one system to another system in a new online or upgrading process, content data in the system is not isolated, and data of one module in the same system is generally associated with data of other modules in the system.
In the related technology, in the process of importing and exporting data, only the content data in the module is exported and imported into other systems, so that the data imported into the target system is incomplete or not updated, at this time, missing data often needs to be supplemented or updated manually, otherwise, the data imported into the new system cannot be used completely, the process is time-consuming and labor-consuming, and the quality and efficiency of data migration are low.
Disclosure of Invention
The embodiment of the present application mainly aims to provide a cross-system data migration method, a cross-system data migration system, an electronic device, and a storage medium, which can improve the quality and efficiency of data migration.
In order to achieve the above object, a first aspect of an embodiment of the present application provides a cross-system data migration method, where the method includes: acquiring target data to be imported into a first system, wherein the target data is generated by content data to be exported of each functional module in a second system and first associated content required between a plurality of pieces of content data, and the first associated content is obtained by analyzing associated information between the plurality of pieces of content data in the second system; analyzing the target data to obtain the first associated content required between the content data in the target data and the plurality of content data; matching corresponding second associated content for the first associated content; importing the content data and the second associated content into the first system.
In some embodiments, said matching the first associated content with the corresponding second associated content comprises: determining whether first target content identical to the first associated content exists in the first system; acquiring a preset data processing rule; and matching corresponding second associated content for the first associated content according to the existence condition of the first target content in the first system based on the data processing rule.
In some embodiments, said matching, based on said data processing rule, corresponding second associated content for said first associated content according to presence of said first target content in said first system comprises: if the first target content exists in the first system; taking the first target content as second associated content to be imported into the first system; or updating the first target content in the first system, and taking the updated first target content as the second associated content to be imported into the first system.
In some embodiments, said matching, based on said data processing rule, corresponding second associated content for said first associated content according to presence of said first target content in said first system comprises: if the first target content does not exist in the first system; acquiring second target content corresponding to the first associated content in the first system, and taking the second target content as second associated content to be imported into the first system; or determining a newly added third target content according to the first associated content, and taking the third target content as a second associated content to be imported into the first system.
In some embodiments, the method further comprises: if the first target content exists in the first system, ignoring the first target content, and directly importing the content data into the first system; and if the first target content does not exist in the first system, emptying the data of the first associated content, and directly importing the content data into the first system.
In some embodiments, the data processing rule is plural; the matching, based on the data processing rule, corresponding second associated content for the first associated content according to the existence condition of the first target content in the first system includes: acquiring selection information of a user side; determining a corresponding data processing rule according to the selection information; and matching corresponding second associated content for the first associated content according to the existence condition of the first target content in the first system based on the determined data processing rule.
In some embodiments, the matching of the corresponding second associated content for the first associated content includes acquiring identification information of the first associated content; and matching corresponding second associated content for the first associated content according to the identification information.
In some embodiments, the association information is obtained by determining an association relationship between the content data according to a plurality of pieces of path description information after obtaining the path description information of each piece of content data in the second system.
To achieve the above object, a second aspect of the embodiments of the present application provides a cross-system data migration method, including: acquiring content data to be exported of each functional module in the second system; acquiring association information among a plurality of pieces of content data in the second system; analyzing first associated content needed among the plurality of content data according to the associated information, and generating target data according to the content data and the first associated content; the target data is used for analyzing and obtaining the first associated content needed between the content data and the plurality of content data in the data importing process, and importing the content data and the second associated content into a first system after matching the corresponding second associated content for the first associated content.
In some embodiments, the obtaining of the association information between the plurality of content data in the second system includes: acquiring path description information of each content data; and determining the association relation among the content data according to the path description information to obtain the association information among the content data.
To achieve the above object, a third aspect of the embodiments of the present application provides a cross-system data migration system, including: the system comprises a first data acquisition module, a first storage module and a second storage module, wherein the first data acquisition module is used for acquiring target data to be imported into a first system, the target data is generated by content data to be exported of each functional module in a second system and first associated content needed between a plurality of content data, and the first associated content is obtained by analyzing associated information between the plurality of content data in the second system; the analysis module is used for analyzing the target data to obtain the first associated content needed between the content data in the target data and the plurality of content data; the association matching module is used for matching corresponding second associated content for the first associated content; and the data import module is used for importing the content data and the second associated content into the first system.
To achieve the above object, a fourth aspect of the embodiments of the present application proposes a cross-system data migration system, where the system includes: the second data acquisition module is used for acquiring content data to be exported of each functional module in the second system; the association determining module is used for acquiring association information among a plurality of content data in the second system; the data export module is used for analyzing first associated content required among the plurality of content data according to the associated information and generating target data according to the content data and the first associated content; the target data is used for analyzing and obtaining the first associated content needed between the content data and the plurality of content data in the data importing process, and importing the content data and the second associated content into a first system after matching the corresponding second associated content for the first associated content.
In order to achieve the above object, a fifth aspect of embodiments of the present application provides an electronic device, where the electronic device includes a memory and a processor, where the memory stores a computer program, and the processor executes the computer program to implement the method described in the foregoing first aspect embodiment or the method described in the second aspect embodiment.
In order to achieve the above object, a sixth aspect of the embodiments of the present application proposes a storage medium, where the storage medium is a computer-readable storage medium, and the storage medium stores a computer program, where the computer program, when executed by a processor, implements the method described in the embodiments of the first aspect or the method described in the embodiments of the second aspect.
The cross-system data migration method, the cross-system data migration system, the electronic device and the storage medium provided by the embodiment of the application can be applied to the cross-system data migration system. When the cross-system data migration method is executed, content data in a second system can be exported, needed first relevant content is determined based on relevant information among a plurality of content data, target data are generated according to the content data and the first relevant content, then in the data import process, the needed first relevant content among the content data and the plurality of content data is obtained through target data analysis, the corresponding second relevant content is matched for the first relevant content, the content data and the second relevant content are imported into the first system, the content needed to be relevant among the data can also be imported in the import process, manual extra configuration is not needed, manpower and material resources are saved, data migration is finally completed, and therefore quality and efficiency of data migration are effectively improved.
Drawings
Fig. 1 is a flowchart of a cross-system data migration method in a data import phase according to an embodiment of the present application;
fig. 2 is a flowchart of step S103 in fig. 1;
fig. 3 is a flowchart of step S203 in fig. 2;
fig. 4 is another flowchart of step S203 in fig. 2;
FIG. 5 is a flowchart of a cross-system data migration method of a data import phase according to another embodiment of the present application;
fig. 6 is another flowchart of step S203 in fig. 2;
fig. 7 is another flowchart of step S103 in fig. 1;
FIG. 8 is a flowchart of a cross-system data migration method in a data export phase according to an embodiment of the present application;
fig. 9 is another flowchart of step S802 in fig. 8;
FIG. 10 is a functional block diagram of a cross-system data migration system during a data import phase according to an embodiment of the present application;
FIG. 11 is a functional block diagram of a cross-system data migration system in a data export phase according to an embodiment of the present application;
fig. 12 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that although functional blocks are partitioned in a schematic diagram of an apparatus and a logical order is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the partitioning of blocks in the apparatus or the order in the flowchart. The terms first, second and the like in the description and in the claims, and the drawings described above, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
In the process of new online or upgrading of a software system, in order to reduce the risk of online or upgrading of a production system, a set of test system with the same code version as the production system is usually set up, and content data passing the test on the test system needs to be synchronized to a formal system. Or, data is stored independently between different subsidiaries in an enterprise, and in order to achieve data isolation, the same set of system is deployed independently between different subsidiaries, and data also needs to be migrated from one set of system to another subsidiary's system. Therefore, in order to solve the problem of data multiplexing between different systems, a data import and export function is usually developed, and content data that has passed the test of the original system is exported and then imported on the new system.
Applicants have discovered that content data in a software system does not exist in isolation and that data from one module in the system will typically be associated with data from other modules in the system, e.g., purchase order information template content data will be associated with a numbering rule module and an organizational structure information module. In the related art, only the content data in the module is exported and imported to other systems, and the complete content of the associated data is not imported or updated to other systems. Therefore, the associated data imported into the target system is incomplete or not updated, the complete content of the associated data needs to be supplemented or updated manually, the workload of manual supplementation or updating is large, and the content which is not tested and verified is supplemented or updated manually in the import system, so that the imported content is easy to be produced and cannot be used normally.
In summary, current data migration has problems of low quality and efficiency.
Based on this, the embodiment of the application provides a cross-system data migration method, a cross-system data migration system, an electronic device and a storage medium, which can improve the quality and efficiency of data migration.
The cross-system data migration method, the system, the electronic device and the storage medium provided in the embodiments of the present application are specifically described with the following embodiments.
The cross-system data migration method in the embodiment of the present application can be explained by the following embodiments.
It should be noted that, in each specific embodiment of the present application, when data related to the identity or the characteristic of a user, such as user information, user behavior data, user history data, and user location information, is involved to be processed in a related manner, permission or consent of the user is obtained first, for example, when data stored by the user and a cache data access request of the user are obtained, permission or consent of the user is obtained first; alternatively, when acquiring content data of a system, it is necessary to first obtain permission or approval of a user, and when importing data to a new system, it is also necessary to first obtain permission or approval of a user. Moreover, the collection, use, and processing of such data, etc., will comply with relevant laws and regulations and standards in the relevant countries and regions. In addition, when the embodiment of the present application needs to acquire sensitive personal information of a user, individual permission or individual consent of the user is obtained through a pop-up window or a jump to a confirmation page, and after the individual permission or individual consent of the user is definitely obtained, necessary user-related data for enabling the embodiment of the present application to operate normally is acquired.
Fig. 1 is an optional flowchart of a cross-system data migration method provided in an embodiment of the present application, where the method in fig. 1 may include, but is not limited to, step S101 to step S104.
Step S101, target data to be imported into a first system is obtained, wherein the target data is generated by first associated content needed between content data to be exported of each functional module in a second system and a plurality of content data, and the first associated content is obtained by analyzing associated information between the plurality of content data in the second system;
for example, the cross-system data migration method in the embodiment of the present application may be applied to a cross-system data migration system, and may import data into a first system, where it is noted that the cross-system data migration system in the embodiment of the present application may be the first system itself, or may be a system communicatively connected to the first system, and the data is processed and then imported into the first system connected to the first system, and the embodiment of the present application is not limited specifically.
The cross-system data migration method in the embodiment of the present application is a method at a data import stage, and a data source is target data obtained in advance.
Wherein the target data is obtained in advance in a data derivation stage. Specifically, the embodiment of the present application may acquire content data to be exported by each functional module in the second system. It can be understood that data of one module may be associated with other modules in the software system, for example, the purchase order information template content data may be associated with the numbering rule module and the organizational structure information module, so that, in this embodiment of the present application, after the content data to be exported by each functional module is obtained, association information between a plurality of content data in the second system may also be obtained, and the association information may represent association between content data, which is an identification condition of information, and therefore, after subsequent processing, this embodiment of the present application may analyze first association content required among a plurality of content data according to the association information, thereby determining association data between content data, and finally generate target data according to the content data and the first association content.
Step S102, analyzing the target data to obtain first associated content needed between the content data in the target data and a plurality of content data;
for example, after receiving the target data, the embodiment of the present application may analyze the target data, but the embodiment of the present application does not directly import the target data into the first system, and in order to ensure that the content data related portions can also be imported into the first system, the target data needs to be analyzed first, so as to obtain the first related content required between the content data and the plurality of content data.
It is understood that the target data is a data packet, or a compressed packet of data, and the packet includes content data and a plurality of first associated contents required between the content data, and the content data and the first associated contents can be obtained by parsing or decompressing the target data.
Step S103, matching corresponding second associated content for the first associated content;
for example, in the data import stage, the first system does not necessarily have the first related content required for storing the content data, and therefore, in order to ensure that the related parts are not lost after the data import, the application may match the corresponding second related content for the first related content.
It should be noted that the first related content and the second related content are both related data of content data in the original second system, and the first and second related contents are only used for distinguishing technical features of the first and second related contents. Specifically, the first associated content is associated data of content data in the second system, and the second associated content is associated data matched with the content data to be imported into the first system during the process of importing into the first system, and the first associated content and the second associated content are only distinguished in different systems.
Illustratively, the first associated content may be the same as the second associated content, or both of them may be approximate data, so that after the data is imported into the first system, the associated data may not be missing between the content data, which may result in a problem that the function cannot be used normally.
For example, the first associated content and the second associated content may be login right information, for example, right information of a user a is required between content data in the second system to characterize that a certain part of the content data is data of a, and during data import of the first system, the first associated content may be matched with corresponding second associated content, for example, right information of a corresponding user a is matched as the second associated content, or other alternative right content is used as the second associated content, thereby ensuring that there is available associated data between the content data.
Step S104, importing the content data and the second associated content into the first system.
For example, after the corresponding second associated content is obtained through matching, the content data and the second associated content may be imported into the first system together to complete the importing of the data, and since the corresponding second associated content is matched according to the first associated content in advance, the content data imported into the first system may not lack necessary associated data due to the existence of the second associated content, and therefore, after being imported into the first system, the content data may be normally used without losing the relation between the function modules. It is understood that, after the data is imported, the embodiment of the present application may send the content data and the second associated content to a specified functional module, and the functional module may be any one associated party.
According to the embodiment of the application, the content required to be associated among the data can be imported in the importing process, manual extra configuration is not needed, manpower and material resources are saved, and data migration is finally completed.
Referring to fig. 2, in some embodiments, step S103 may further include step S201 to step S203:
step S201, determining whether first target content with the same first associated content exists in a first system;
step S202, acquiring a preset data processing rule;
step S203, based on the data processing rule, matching the corresponding second associated content for the first associated content according to the existence condition of the first target content in the first system.
For example, the data processing rule may be preconfigured in the embodiment of the present application, and the second associated content may be the same content as the first associated content, or may be similar alternative content, and may be selected according to the data processing rule. Specifically, in the process of matching the second associated content, the embodiment of the present application may first determine whether the first system has the first target content with the same first associated content, and then match the corresponding second associated content for the first associated content according to the existence condition of the first target content in the first system based on a preset data processing rule.
It should be noted that the first target content is the same content as the first associated content in the first system, for example, when the first associated content represents the authority information of the user a required by the content data, the authority information of the user a also exists in the first system, and the information is the first target content, otherwise, if the authority information of the user a does not exist in the first system, the first target content does not exist in the first system.
It can be understood that there may be a plurality of data processing rules, when the first target content exists, the corresponding second associated content is matched for the first associated content based on the established data processing rule, and when the first target content does not exist, the corresponding second associated content is matched for the first associated content based on other data processing rules, so that matching according to the actual situation in the first system is satisfied, and the occurrence of the condition of missing associated data of content data is avoided.
Referring to fig. 3, in some embodiments, step S203 may further include step S301 to step S302:
step S301, if the first system has the first target content;
step S302, taking the first target content as a second associated content to be imported into the first system; or, updating the first target content in the first system, and taking the updated first target content as the second associated content to be imported into the first system.
It should be noted that the data processing rule may be a replacement rule, and when the first target data exists, whether to retain or replace the first target content may be determined according to the data processing rule to obtain the required second associated content.
For example, if a first target content exists in a first system, in the embodiment of the present application, the first target content may be directly used as a second associated content to be imported into the first system, and since the first target content is the same as the first associated content, after the first target content is imported into the first system together with content data, the operation of the content data will be the same as that in an original second system, thereby ensuring normal operation of the data.
Or, if the first target content exists in the first system, the first target content in the first system may be updated in the embodiment of the present application, the updated first target content is used as the second associated content to be imported into the first system, and after the first target content is imported into the first system together with the content data, the operation of the content data will be the same as that in the original second system, thereby ensuring the normal operation of the data.
In addition, updating may also be understood as replacing, and if there is a content alternative to the first associated content in the first system, it may be used to update (replace) the first target content, thereby obtaining a new second associated content. For example, the content data represents a buyer B of the purchase order 001, a first target content B identical to the first related content B exists in the first system, and if the buyer B of the purchase order 001 exists as a in the imported first system, the same first target content B may be used as the second related content when the data is imported, or the first target content B may be selected to be updated, that is, B is replaced by a (actually, a replaces B), and a is used as the second related content.
Referring to fig. 4, in some embodiments, step S203 may further include step S401 to step S402:
step S401, if the first system does not have the first target content;
step S402, acquiring second target content corresponding to the first associated content in the first system, and taking the second target content as second associated content to be imported into the first system; or determining a newly added third target content according to the first associated content, and taking the third target content as a second associated content to be imported into the first system.
It should be noted that the data processing rule may be a replacement rule, and when the first target data does not exist, it may be determined whether to obtain the required second associated content by replacing or adding according to the data processing rule.
For example, if the first system does not have the first target content, in the embodiment of the present application, a second target content corresponding to the first associated content in the first system may be obtained, and the second target content is used as a second associated content to be imported into the first system, where the second target content is similar in data because it corresponds to the first associated content, and after being imported into the first system together with the content data, the content data may also have alternative associated data in operation, thereby ensuring normal operation of the data.
Or, if the first target content does not exist in the first system, in the embodiment of the present application, a newly added third target content may be determined according to the first associated content, and the third target content is used as the second associated content to be imported into the first system, and it may be understood that the newly added third target content is obtained according to the first associated data, and is therefore data that is the same as or similar to the first associated content, and after being imported into the first system together with the content data, the operation of the content data will also be the same as that in the original second system, thereby ensuring normal operation of the data.
For example, if the content data characterizes buyer a of purchase order 001, and there is no information of person a in the imported system, according to the data processing rules, information of similar person B can be determined in the imported system, so that B is used as associated data to replace a; furthermore, information of a person of C may be additionally added as the associated data.
It should be noted that the detailed information that can be obtained by the embodiment of the present application is distributed to each related party (functional module) for parsing and replacement, so as to obtain the required second related content, for example, the organizational structure information related in the purchase order, and distributed to the organizational structure replacement (the logic of replacement is according to the path described in the path in the parsing result).
Referring to fig. 5, in some embodiments, the cross-system data migration method may further include steps S501 to S502:
step S501, if the first system has the first target content, ignoring the first target content, and directly importing the content data into the first system;
step S502, if the first target content does not exist in the first system, nulling the data of the first associated content, and directly importing the content data into the first system.
For example, according to the data processing rule, the associated data may be further subjected to ignoring or nulling processing, which may be divided into whether to ignore or nulling processing is required in different cases of whether the first target data exists in the first system.
Specifically, if the first target content exists in the first system, the first target content may be optionally ignored in the embodiment of the present application, and at this time, the associated data is not needed, and the content data is directly imported into the first system. Or, if the first target content does not exist in the first system, the data of the first related content may be nulled without replacing or newly adding the data as the second related content, and the content data may be directly imported into the first system.
It should be noted that the ignoring or nulling processing in the embodiment of the present application refers to using the relevant data of the content data when the user determines that the relevant data is not needed or the relevant data is not useful in the new system, and when nulling, it is necessary to replace the relevant reference related to the first relevant content in the content data with null according to the relevant path, and to ignore the importing of the first relevant content itself. It can be understood that the determination of whether to ignore or blank may be performed by the first system performing artificial intelligence determination or other intelligent calculations, or may be performed after obtaining the processing decision input by the user side, which is not limited herein.
In some embodiments, there are a plurality of data processing rules, please refer to fig. 6, step S203 may further include steps S601 to S603:
step S601, acquiring selection information of a user side;
step S602, determining a corresponding data processing rule according to the selection information;
step S603, based on the determined data processing rule, matching the corresponding second related content for the first related content according to the existence condition of the first target content in the first system.
For example, in the process of matching the first associated content with the corresponding second associated content, the embodiment of the present application may determine which data processing rule is specifically adopted based on the selection information of the user side.
Specifically, in the process of data import, the cross-system data migration system may acquire selection information of a user side, and the selection message indicates a selection result of a user on a data processing rule, so that in this embodiment of the present application, a corresponding data processing rule may be determined according to the selection of the user, and then, for a data processing rule that is based on the determination, a corresponding second associated content may be matched for the first associated content according to a presence of the first target content in the first system.
It should be noted that, in the embodiment of the present application, whether to execute one of the direct use, replacement, addition, and the like described in the foregoing embodiments may also be determined according to the selection information of the user side, and further, whether to execute one of the ignore and vacancy processes may also be determined, which is not limited herein.
For example, the user side may be a human-computer interaction interface of the cross-system data migration system, the selection information may be information input by the user on the user side input interface, and the selection information may also be information sent by the user side after the cross-system data migration system is connected with the user side. Further, in the embodiment of the present application, when the first associated data is processed according to what data processing rule, corresponding prompt selection information may be popped up, or other prompt information (for example, a short message is notified to the user terminal, a sound is sent, or a vibration prompt information is sent), and after finding the prompt information, the user may respond accordingly, which is not limited specifically herein.
Referring to fig. 7, in some embodiments, step S103 may further include steps S701 to S702:
step S701, acquiring identification information of first associated content;
step S702, matching the first associated content with the corresponding second associated content according to the identification information.
For example, in the embodiment of the present application, identification information of the first associated content may be obtained, and the matching second associated content may be found based on the identification information. Specifically, in the embodiment of the present application, it is required to determine whether second associated content corresponding to the first associated content exists in the import link according to the identification information in the export environment data (localData) in the import target data packet.
For example, in a sample, in the data export stage in the embodiment of the present application, data may be extracted by the following codes:
“{“data”:{
“mechanisms”:{
“sys-lbpm-template”:{
“processChart”:{
“nodes”:[{
"name": leading approval ",
“type”:“reviewNode”,
“reviewer”:[{
“fdId”:“1”,
"fdName": administrator "}
}]
}}}},}”。
The identification information in the embodiment of the application is an identification number (id) of an Identity card or other fields with identification functions, and the identification process may be based on a unique id (fdId in the example) or other fields (such as code, etc.), and the identification information is searched in the first system, so as to find out data of the corresponding id as the second associated content.
For example, a person "administrator" is associated in a piece of content data by the above-mentioned code in the data export phase. Specifically, in the content data of the leader approval link, the required first associated content is information (for example, authority information) of an "administrator", and the identification information of the first associated content is "1", so that in the data import stage, the data in the first system also has a unique identification, and therefore the first associated content is matched with the corresponding second associated content according to the identification information "1".
In some embodiments, the association information is obtained by determining an association relationship between the content data according to a plurality of pieces of path description information after obtaining the path description information of each piece of content data in the second system.
For example, in the data export stage, the embodiment of the present application may determine the association relationship between the content data and the content data through the path description information. Specifically, in the embodiment of the present application, path description information of each content data may be obtained, and the path description information may describe a position of the data and a logical relationship between the data.
It should be noted that, in the data export stage, after the exported content data can be loaded, the embodiment of the present application includes loading main document data and associated data to be exported, such as purchase order information and its associated organization architecture information, then analyzing the association relationship, and analyzing the associated content related to the main document data once according to the association configuration description, and if the associated data exists, the associated data is necessarily existed as a part of the main document data. Such as an approver "administrator" (organization of architecture data) of the "lead approval" node in the process approval link. And finally, generating a content package to obtain target data, main document data and a compressed package of the data related to the analysis incidence relation according to a data hierarchy format.
It can be understood that the association information in the embodiment of the present application is information used for describing an association relationship in the above embodiment, and is association data, and then, according to the association information, a corresponding path is searched, and a first association content can be obtained, where the first association content is a specific data content that needs to be associated.
The content data in the sample is a sample of exported content data, the purpose is to import the content into the target environment, but because an organization element (administrator) is associated in the sample content, the organization element does not determine whether the content exists in the target system (first system), a relationship is produced at the same time when exporting the content (localData), and the id and the name in the localData are used for identifying whether the content exists in the first system when importing the content, if the content does not exist or is updated, the administrator in the sample needs to be replaced by other organizations or organizations newly created in the first system.
For example, the first associated content may be defined according to the following code:
“[{"localData":{
"fdId": "1",
"fdName": administrator "},
"type": "SysOrgElement",
"path":"mechanisms.sys-lbpm-template.processChart.nodes[0].reviewer[0]",
"PathDesc": flow chart/node: leader approver/approver "} ]".
In the code above:
localData: exporting data which needs to be processed by the environment;
"type" resolution is the one that needs to be processed, such as: the organizational structure parser SysOrgElement in the embodiment needs to be expanded by each party needing to process the associated data;
path: path, location description in json data;
pathDesc: the path description information is an explanation of the reference position, so that a user or a system can conveniently find a place where the data is used, and the level of the path description does not need to be consistent with the level of the path, and only needs to be understood by the user.
In the definition code of the first related content, the identification information is "1", the corresponding first related content is information (for example, authority information) in which a person is an "administrator", and the first related content is obtained by analyzing the related information, so that the first related content also includes path description information of the data itself, and the path description information of the first related content is "flowchart/node: leader approver/approver ".
Fig. 8 is an optional flowchart of a cross-system data migration method according to an embodiment of the present application, where the method in fig. 8 may include, but is not limited to, steps S801 to S803.
Step S801, acquiring content data to be exported of each functional module in the second system;
step S802, acquiring association information among a plurality of content data in a second system;
step S803, analyzing first associated content needed among the plurality of content data according to the associated information, and generating target data according to the content data and the first associated content;
the target data is used for analyzing to obtain the first associated content needed between the content data and the plurality of content data in the data importing process, and importing the content data and the second associated content into the first system after matching the corresponding second associated content for the first associated content.
For example, the cross-system data migration method in the embodiment of the present application may be applied to a cross-system data migration system, and may derive data of a second system, it should be noted that the cross-system data migration system in the embodiment of the present application may be the second system itself, or may be a system communicatively connected to the second system, and after passing through the connected second system, derive data from the second system, which is not limited in the embodiment of the present application.
The cross-system data migration method in the embodiment of the application is a method in a data export stage, and is finally used for generating target data used in a data import stage.
When the cross-system data migration method is executed, the embodiment of the application can acquire content data to be exported of each functional module in the second system. It can be understood that data of one module may be associated with other modules in the software system, for example, the purchase order information template content data may be associated with the numbering rule module and the organizational structure information module, so that, in this embodiment of the present application, after the content data to be exported by each functional module is obtained, association information between a plurality of content data in the second system may also be obtained, and the association information may represent association between content data, which is an identification condition of information, and therefore, after subsequent processing, this embodiment of the present application may analyze first association content required among a plurality of content data according to the association information, thereby determining association data between content data, and finally generate target data according to the content data and the first association content.
It is understood that the target data is a data packet, or a compressed packet of data, and the packet includes content data and a plurality of first associated contents required between the content data, and the content data and the first associated contents can be obtained by parsing or decompressing the target data.
Illustratively, in a subsequent data importing stage, first associated content needed between content data and a plurality of content data can be obtained through target data analysis, corresponding second associated content is matched for the first associated content, and the content data and the second associated content are imported into the first system, so that the content needed to be associated between the data can also be imported in the importing process, manual and additional configuration is not needed, manpower and material resources are saved, and data migration is finally completed.
It should be noted that the first associated content and the second associated content are both associated data of content data in the original second system, and the first and the second are only for distinguishing technical features of the first and the second, specifically, the first associated content is associated data of content data in the second system, and the second associated content is associated data matched with content data to be imported into the first system in the process of importing to the first system, and the first associated content and the second associated content are only distinguished in different systems.
Illustratively, the first associated content may be the same as the second associated content, or both of them may be approximate data, so that after the data is imported into the first system, the associated data may not be missing between the content data, which may result in a problem that the function cannot be used normally.
For example, the first associated content and the second associated content may be login right information, for example, right information of a user a is required between content data in the second system to characterize that a certain part of the content data is data of a, and during data import of the first system, the first associated content may be matched with corresponding second associated content, for example, right information of a corresponding user a is matched as the second associated content, or other alternative right content is used as the second associated content, thereby ensuring that there is available associated data between the content data.
In addition, the cross-system data migration method in the embodiment of the present application may perform the method steps in the data export stage in the following embodiments, and the technical solution in the data export stage has already been described in the following embodiments, and is not described herein again.
Referring to fig. 9, in some embodiments, step S802 may further include step S901 to step S902:
step S901, acquiring path description information of each content data;
step S902, determining the association relationship between the content data according to the multiple pieces of path description information, and obtaining the association information between the multiple pieces of content data.
Illustratively, in the embodiments of the present application, the association relationship between the content data and the content data is determined by the path description information of the content data. Specifically, in the embodiment of the present application, path description information of each content data may be obtained, and the path description information may describe a position of the data and a logical relationship between the data.
It should be noted that, in the data export stage, after the exported content data can be loaded, the embodiment of the present application includes loading the main document data and the associated data that need to be exported, such as purchase order information and its associated organizational structure information, then analyzing the association relationship, and analyzing the associated content related to the main document data at a time according to the association configuration description, where the associated data, if present, must exist as a part of the main document data. Such as an approver "administrator" (organization architecture data) of the "leading approval" node in the process approval link. And finally, generating a content package to obtain target data, main document data and a compressed package of the data related to the analysis incidence relation according to a data hierarchy format.
It can be understood that the association information in the embodiment of the present application is information used for describing an association relationship in the embodiment, and is association data, and then, according to the association information, a corresponding path is searched, and a first association content can be obtained, where the first association content is a specific data content that needs to be associated.
For example, the first associated content may be defined according to the following code:
“[{"localData":{
"fdId": "1",
"fdName": administrator "},
"type": "SysOrgElement",
"path":"mechanisms.sys-lbpm-template.processChart.nodes[0].reviewer[0]",
"PathDesc": flow chart/node: leader approver/approver "} ]".
In the code above:
localData: exporting data which needs to be processed by the environment;
"type" resolution is the one that needs to be processed, such as: the organizational structure parser SysOrgElement in the sample needs to be expanded by each party needing to process the associated data;
path: path, location description in json data;
pathDesc: the path description information is an explanation of the reference position, so that a user or a system can conveniently find a place where the data is used, and the level of the path description does not need to be consistent with the level of the path, and only needs to be understood by the user.
In the definition code of the first related content, the identification information is "1", the corresponding first related content is information that a person is an "administrator", and the first related content is obtained by analyzing the related information, so the first related content also includes path description information of the data itself, and the path description information of the first related content is "flowchart/node: leader approver/approver ".
In addition, the cross-system data migration method in the embodiment of the present application may perform the method steps in the data import stage in the above embodiment, and the technical solution of the data import stage has already been described in the above embodiment, and is not described herein again.
Referring to fig. 10, an embodiment of the present application further provides a cross-system data migration system, which can implement the cross-system data migration method at the data import stage, where the cross-system data migration system includes:
a first data obtaining module 1001, configured to obtain target data to be imported into a first system, where the target data is generated by first associated content required between content data to be exported by each functional module in a second system and multiple pieces of content data, and the first associated content is obtained by analyzing associated information between the multiple pieces of content data in the second system;
the analysis module 1002 is configured to analyze the target data to obtain first associated content required between content data in the target data and multiple content data;
an association matching module 1003, configured to match corresponding second associated content for the first associated content;
a data import module 1004, configured to import the content data and the second associated content into the first system.
For example, the cross-system data migration system in the embodiment of the present application may execute the cross-system data migration method in the data import stage in the above embodiment, and may import the data into the first system, where it is noted that the cross-system data migration system in the embodiment of the present application may be the first system itself, or may be a system in communication connection with the first system, and the data is processed and then imported into the first system connected to the first system, which is not limited in the embodiment of the present application.
The cross-system data migration system in the embodiment of the application is a system in a data import stage, and the data source is target data obtained in advance.
Wherein the target data is obtained in advance in a data derivation stage. Specifically, the embodiment of the present application may obtain content data to be exported by each functional module in the second system. It can be understood that data of one module may be associated with other modules in the software system, for example, the purchase order information template content data may be associated with the numbering rule module and the organizational structure information module, so that, in this embodiment of the present application, after the content data to be exported by each functional module is obtained, association information between a plurality of content data in the second system may also be obtained, and the association information may represent association between content data, which is an identification condition of information, and therefore, after subsequent processing, this embodiment of the present application may analyze first association content required among a plurality of content data according to the association information, thereby determining association data between content data, and finally generate target data according to the content data and the first association content.
For example, after receiving the target data, the embodiment of the present application may analyze the target data, but the embodiment of the present application does not directly import the target data into the first system, and in order to ensure that the parts associated with the content data can also be imported into the first system together, the target data needs to be analyzed first, so as to obtain the first associated content required between the content data and the plurality of content data.
It is understood that the target data is a data packet, and may also be a compressed packet of data, where the packet includes content data and a plurality of first associated content required between the content data, and the content data and the first associated content can be obtained by parsing or decompressing the target data.
For example, in the data import stage, the first system does not necessarily have the first related content required for storing the content data, and therefore, in order to ensure that the related parts are not lost after the data import, the application may match the corresponding second related content with the first related content.
It should be noted that the first associated content and the second associated content are both associated data of content data in the original second system, and the first and the second are only for distinguishing technical features of the first and the second, specifically, the first associated content is associated data of content data in the second system, and the second associated content is associated data matching the content data to be imported into the first system in the process of importing to the first system, and the first associated content and the second associated content are only distinguished in different systems.
Illustratively, the first associated content may be the same as the second associated content, or both of them may be approximate data, so that after the data is imported into the first system, the associated data will not be missing between the content data, which may result in a problem that the function cannot be used normally.
For example, the first associated content and the second associated content may be login right information, for example, right information of a user a is required between content data in the second system to characterize that a certain part of the content data is data of a, and during data import of the first system, the first associated content may be matched with corresponding second associated content, for example, right information of a corresponding user a is matched as the second associated content, or other alternative right content is used as the second associated content, thereby ensuring that there is available associated data between the content data.
For example, after the corresponding second associated content is obtained through matching, the content data and the second associated content may be imported into the first system together to complete the importing of the data, and since the corresponding second associated content is matched according to the first associated content in advance, the content data imported into the first system may not lack necessary associated data due to the existence of the second associated content, and therefore, after being imported into the first system, the content data may be normally used without losing the relation between the function modules. It is understood that, after the data is imported, the embodiment of the present application may send the content data and the second associated content to a specified functional module, and the functional module may be any one associated party.
According to the data migration method and device, the content needing to be associated among the data can be imported in the importing process, manual extra configuration is not needed, manpower and material resources are saved, and data migration is finally completed.
The specific implementation of the cross-system data migration system is substantially the same as the specific implementation of the cross-system data migration method in the data import stage, and is not described herein again. On the premise of meeting the requirements of the embodiment of the application, the cross-system data migration system can also be provided with other functional modules so as to realize the cross-system data migration method in the data import stage in the embodiment.
Referring to fig. 11, an embodiment of the present application further provides a cross-system data migration system, which can implement the cross-system data migration method in the data export stage, where the cross-system data migration system includes:
a second data obtaining module 1101, configured to obtain content data to be exported by each functional module in the second system;
an association determining module 1102, configured to obtain association information between a plurality of content data in the second system;
a data export module 1103, configured to parse first associated content required among the plurality of content data according to the associated information, and generate target data according to the content data and the first associated content;
the target data is used for analyzing to obtain the first associated content needed between the content data and the plurality of content data in the data importing process, and importing the content data and the second associated content into the first system after matching the corresponding second associated content for the first associated content.
For example, the cross-system data migration system in the embodiment of the present application may execute the cross-system data migration method in the data export stage in the above embodiment, and may export data of the second system, it should be noted that the cross-system data migration system in the embodiment of the present application may be the second system itself, or may be a system in communication connection with the second system, and export data from the second system after passing through the connected second system, which is not limited in the embodiment of the present application.
The cross-system data migration system in the embodiment of the application is a system in a data export stage, and is finally used for generating target data used in a data import stage.
When the cross-system data migration method is executed, the embodiment of the application can acquire content data to be exported of each functional module in the second system. It can be understood that data of one module may be associated with other modules in the software system, for example, the purchase order information template content data may be associated with the numbering rule module and the organizational structure information module, so that, in this embodiment of the present application, after the content data to be exported by each functional module is obtained, association information between a plurality of content data in the second system may also be obtained, and the association information may represent association between content data, which is an identification condition of information, and therefore, after subsequent processing, this embodiment of the present application may analyze first association content required among a plurality of content data according to the association information, thereby determining association data between content data, and finally generate target data according to the content data and the first association content.
It is understood that the target data is a data packet, and may also be a compressed packet of data, where the packet includes content data and a plurality of first associated content required between the content data, and the content data and the first associated content can be obtained by parsing or decompressing the target data.
Illustratively, in a subsequent data importing stage, first associated content needed between content data and a plurality of content data can be obtained through target data analysis, corresponding second associated content is matched for the first associated content, and the content data and the second associated content are imported into the first system, so that the content needed to be associated between the data can also be imported in the importing process, manual and additional configuration is not needed, manpower and material resources are saved, and data migration is finally completed.
It should be noted that the first associated content and the second associated content are both associated data of content data in the original second system, and the first and the second are only for distinguishing technical features of the first and the second, specifically, the first associated content is associated data of content data in the second system, and the second associated content is associated data matching the content data to be imported into the first system in the process of importing to the first system, and the first associated content and the second associated content are only distinguished in different systems.
Illustratively, the first associated content may be the same as the second associated content, or both of them may be approximate data, so that after the data is imported into the first system, the associated data will not be missing between the content data, which may result in a problem that the function cannot be used normally.
For example, the first associated content and the second associated content may be login right information, for example, right information of a user a is required between content data in the second system to characterize that a certain part of the content data is data of a, and during data import of the first system, the first associated content may be matched with corresponding second associated content, for example, right information of a corresponding user a is matched as the second associated content, or other alternative right content is used as the second associated content, thereby ensuring that there is available associated data between the content data.
The specific implementation of the cross-system data migration system is substantially the same as the specific implementation of the cross-system data migration method in the data export stage, and is not described herein again. On the premise of meeting the requirements of the embodiment of the application, the cross-system data migration system can also be provided with other functional modules so as to realize the cross-system data migration method in the data export stage in the embodiment.
The embodiment of the application also provides electronic equipment, wherein the electronic equipment comprises a memory and a processor, the memory stores a computer program, and the processor executes the computer program to realize the cross-system data migration method. The electronic equipment can be any intelligent terminal including a tablet computer, a vehicle-mounted computer and the like.
Referring to fig. 12, fig. 12 illustrates a hardware structure of an electronic device according to another embodiment, where the electronic device includes:
the processor 1201 may be implemented by a general-purpose CPU (central processing unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits, and is configured to execute a related program to implement the technical solution provided in the embodiment of the present application;
the memory 1202 may be implemented in the form of a Read Only Memory (ROM), a static storage device, a dynamic storage device, or a Random Access Memory (RAM). The memory 1202 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1202, and the processor 1201 calls a cross-system data migration method for executing a data import or export phase in the embodiments of the present application;
an input/output interface 1203 for implementing information input and output;
a communication interface 1204, configured to implement communication interaction between the device and another device, where communication may be implemented in a wired manner (e.g., USB, internet cable, etc.) or in a wireless manner (e.g., mobile network, WIFI, bluetooth, etc.);
a bus 1205 that transfers information between the various components of the device (e.g., the processor 1201, memory 1202, input/output interface 1203, and communication interface 1204);
wherein the processor 1201, the memory 1202, the input/output interface 1203 and the communication interface 1204 enable communication connections with each other within the device via the bus 1205.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for migrating data across systems in the data import or export phase is implemented.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The embodiments described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation to the technical solutions provided in the embodiments of the present application, and it is obvious to those skilled in the art that the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems with the evolution of technology and the emergence of new application scenarios.
It will be appreciated by those skilled in the art that the embodiments shown in the figures are not intended to limit the embodiments of the present application and may include more or fewer steps than those shown, or some of the steps may be combined, or different steps may be included.
The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
The terms "first," "second," "third," "fourth," and the like in the description of the application and the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be implemented in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that, in this application, "at least one" means one or more, "a plurality" means two or more. "and/or" is used to describe the association relationship of the associated object, indicating that there may be three relationships, for example, "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b and c may be single or plural.
In the several embodiments provided in the present application, it should be understood that the disclosed system and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the above-described units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, which are essential or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, may be embodied in the form of a software product stored in a storage medium, which includes multiple instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing programs, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The preferred embodiments of the present application have been described above with reference to the accompanying drawings, and the scope of the claims of the embodiments of the present application is not limited thereto. Any modifications, equivalents and improvements that may occur to those skilled in the art without departing from the scope and spirit of the embodiments of the present application are intended to be within the scope of the claims of the embodiments of the present application.

Claims (13)

1. A method of cross-system data migration, the method comprising:
acquiring target data to be imported into a first system, wherein the target data is generated by content data to be exported of each functional module in a second system and first associated content required between the plurality of content data, and the first associated content is obtained by analyzing associated information between the plurality of content data in the second system;
analyzing the target data to obtain the first associated content needed between the content data in the target data and the plurality of content data;
matching the first associated content with corresponding second associated content, comprising: determining whether first target content identical to the first associated content exists in the first system; acquiring a preset data processing rule; matching the first associated content with the corresponding second associated content according to the existence condition of the first target content in the first system based on the data processing rule;
importing the content data and the second associated content into the first system.
2. The cross-system data migration method according to claim 1, wherein the matching, based on the data processing rule, corresponding second associated content for the first associated content according to the existence of the first target content in the first system includes:
if the first target content exists in the first system;
taking the first target content as second associated content to be imported into the first system; or updating the first target content in the first system, and taking the updated first target content as the second associated content to be imported into the first system.
3. The cross-system data migration method according to claim 1, wherein the matching, based on the data processing rule, corresponding second associated content for the first associated content according to the existence of the first target content in the first system includes:
if the first target content does not exist in the first system;
acquiring second target content corresponding to the first associated content in the first system, and taking the second target content as second associated content to be imported into the first system; or determining newly added third target content according to the first associated content, and taking the third target content as second associated content to be imported into the first system.
4. The cross-system data migration method according to claim 1, further comprising:
if the first target content exists in the first system, ignoring the first target content, and directly importing the content data into the first system;
and if the first target content does not exist in the first system, emptying the data of the first associated content, and directly importing the content data into the first system.
5. The cross-system data migration method according to any one of claims 1 to 4, wherein there are a plurality of data processing rules;
the matching, based on the data processing rule, of the first associated content with the corresponding second associated content according to the existence of the first target content in the first system includes:
acquiring selection information of a user side;
determining a corresponding data processing rule according to the selection information;
and matching corresponding second associated content for the first associated content according to the existence condition of the first target content in the first system based on the determined data processing rule.
6. The cross-system data migration method according to claim 1, wherein the matching of the first associated content with the corresponding second associated content comprises:
acquiring identification information of the first associated content;
and matching corresponding second associated content for the first associated content according to the identification information.
7. The cross-system data migration method according to claim 1, wherein the association information is obtained by determining an association relationship between the content data according to a plurality of path description information after obtaining path description information of each content data in the second system.
8. A cross-system data migration method, the method comprising:
acquiring content data to be exported of each functional module in the second system;
acquiring association information among a plurality of pieces of content data in the second system;
analyzing first associated content needed among the plurality of content data according to the associated information, and generating target data according to the content data and the first associated content;
the target data is used for analyzing to obtain the first associated content needed between the content data and the plurality of content data in the data import process, and matching corresponding second associated content for the first associated content, and the method includes: determining whether first target content identical to the first associated content exists in a first system; acquiring a preset data processing rule; matching the first associated content with the corresponding second associated content according to the existence condition of the first target content in the first system based on the data processing rule; thereafter, the content data and the second associated content are imported into the first system.
9. The cross-system data migration method according to claim 8, wherein the obtaining of the association information between the plurality of content data in the second system includes:
acquiring path description information of each content data;
and determining the association relation among the content data according to the plurality of path description information to obtain the association information among the plurality of content data.
10. A cross-system data migration system, the system comprising:
the system comprises a first data acquisition module, a first data acquisition module and a second data acquisition module, wherein the first data acquisition module is used for acquiring target data to be imported into a first system, the target data is generated by content data to be exported of each functional module in a second system and first associated content required between a plurality of content data, and the first associated content is obtained by analyzing associated information between the plurality of content data in the second system;
the analysis module is used for analyzing the target data to obtain the first associated content required between the content data in the target data and the plurality of content data;
the association matching module is used for matching corresponding second associated content for the first associated content, and comprises: determining whether first target content identical to the first associated content exists in the first system; acquiring a preset data processing rule; matching the first associated content with the corresponding second associated content according to the existence condition of the first target content in the first system based on the data processing rule;
and the data import module is used for importing the content data and the second associated content into the first system.
11. A cross-system data migration system, the system comprising:
the second data acquisition module is used for acquiring content data to be exported of each functional module in the second system;
the association determining module is used for acquiring association information among a plurality of content data in the second system;
the data export module is used for analyzing first associated content needed among the plurality of content data according to the associated information and generating target data according to the content data and the first associated content;
the target data is used for analyzing to obtain the first associated content needed between the content data and the plurality of content data in the data import process, and matching corresponding second associated content for the first associated content, and the method includes: determining whether first target content identical to the first associated content exists in a first system; acquiring a preset data processing rule; matching the first associated content with the corresponding second associated content according to the existence condition of the first target content in the first system based on the data processing rule; thereafter, the content data and the second associated content are imported into the first system.
12. An electronic device, comprising a memory storing a computer program and a processor, wherein the processor implements the cross-system data migration method according to any one of claims 1 to 7 or the cross-system data migration method according to any one of claims 8 to 9 when executing the computer program.
13. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the cross-system data migration method of any one of claims 1 to 7 or the cross-system data migration method of any one of claims 8 to 9.
CN202211544716.9A 2022-11-21 2022-11-21 Cross-system data migration method, system, electronic device and storage medium Active CN115543227B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211544716.9A CN115543227B (en) 2022-11-21 2022-11-21 Cross-system data migration method, system, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211544716.9A CN115543227B (en) 2022-11-21 2022-11-21 Cross-system data migration method, system, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN115543227A CN115543227A (en) 2022-12-30
CN115543227B true CN115543227B (en) 2023-03-14

Family

ID=84722270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211544716.9A Active CN115543227B (en) 2022-11-21 2022-11-21 Cross-system data migration method, system, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN115543227B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657396A (en) * 2013-11-25 2015-05-27 腾讯科技(深圳)有限公司 Data migration method and device
CN111581183A (en) * 2020-04-24 2020-08-25 上海泛微网络科技股份有限公司 Data migration method and device based on data model
CN114265737A (en) * 2021-11-16 2022-04-01 阿里巴巴(中国)有限公司 System migration integrity detection method and device and electronic equipment
CN114625695A (en) * 2022-03-29 2022-06-14 阿里巴巴(中国)有限公司 Data processing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0622738D0 (en) * 2006-11-15 2006-12-27 Ibm Methods and apparatus for assisted migration in a data processing environment
CN106648455A (en) * 2016-09-14 2017-05-10 广东欧珀移动通信有限公司 Data migration method and mobile terminal
US11385909B2 (en) * 2020-01-06 2022-07-12 International Business Machines Corporation Cascading data configuration and data migration
CN112015347A (en) * 2020-08-28 2020-12-01 北京浪潮数据技术有限公司 Data migration method and device and related equipment
US20220107746A1 (en) * 2020-10-02 2022-04-07 RIA Advisory LLC System and Method for Data Migration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657396A (en) * 2013-11-25 2015-05-27 腾讯科技(深圳)有限公司 Data migration method and device
CN111581183A (en) * 2020-04-24 2020-08-25 上海泛微网络科技股份有限公司 Data migration method and device based on data model
CN114265737A (en) * 2021-11-16 2022-04-01 阿里巴巴(中国)有限公司 System migration integrity detection method and device and electronic equipment
CN114625695A (en) * 2022-03-29 2022-06-14 阿里巴巴(中国)有限公司 Data processing method and device

Also Published As

Publication number Publication date
CN115543227A (en) 2022-12-30

Similar Documents

Publication Publication Date Title
CN108804618B (en) Database configuration method, device, computer equipment and storage medium
US20160283357A1 (en) Call stack relationship acquiring method and apparatus
US11481440B2 (en) System and method for processing metadata to determine an object sequence
US11409631B2 (en) Verification automation apparatus, verification automation method, and computer-readable recording medium
US20120290560A1 (en) Mechanism for efficiently querying application binary interface/application programming interface-related information
CN113127347A (en) Interface testing method, device, equipment and readable storage medium
CN111158741A (en) Method and device for monitoring change of dependency relationship of business module on third-party class library
CN111324510B (en) Log processing method and device and electronic equipment
CN108415998B (en) Application dependency relationship updating method, terminal, device and storage medium
CN115617780A (en) Data import method, device, equipment and storage medium
CN113220588A (en) Automatic testing method, device and equipment for data processing and storage medium
CN117370203A (en) Automatic test method, system, electronic equipment and storage medium
CN115543227B (en) Cross-system data migration method, system, electronic device and storage medium
CN110716866A (en) Code quality scanning method and device, computer equipment and storage medium
CN113031995B (en) Rule updating method and device, storage medium and electronic equipment
CN115599683A (en) Automatic testing method, device, equipment and storage medium
CN114527993A (en) Application deployment method, device, equipment and medium
CN114371866A (en) Version reconfiguration test method, device and equipment of service system
CN114157439A (en) Vulnerability scanning method, computing device and recording medium
CN111538651A (en) Interface testing method, device, server and storage medium
CN112579428A (en) Interface testing method and device, electronic equipment and storage medium
CN115544969B (en) Page comparison method, equipment and medium based on hypertext markup language
CN108563677B (en) Data display method and device, electronic equipment and storage medium
CN116680203B (en) Multi-tenant-oriented SaaS platform testing method, device, equipment and medium
US20230053109A1 (en) Generating data regulation compliant data from application interface data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant