CN117667900A - Data comparison method, device, equipment and storage medium after system migration - Google Patents

Data comparison method, device, equipment and storage medium after system migration Download PDF

Info

Publication number
CN117667900A
CN117667900A CN202311786682.9A CN202311786682A CN117667900A CN 117667900 A CN117667900 A CN 117667900A CN 202311786682 A CN202311786682 A CN 202311786682A CN 117667900 A CN117667900 A CN 117667900A
Authority
CN
China
Prior art keywords
target system
migration
recall
data
entry
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311786682.9A
Other languages
Chinese (zh)
Inventor
张扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vipshop Guangzhou Software Co Ltd
Original Assignee
Vipshop Guangzhou 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 Vipshop Guangzhou Software Co Ltd filed Critical Vipshop Guangzhou Software Co Ltd
Priority to CN202311786682.9A priority Critical patent/CN117667900A/en
Publication of CN117667900A publication Critical patent/CN117667900A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a data comparison method, a device, equipment and a storage medium after system migration, wherein after data in a first target system is migrated to a second target system by responding to a request instruction for data comparison, each first entry of the first target system is acquired to determine each second entry corresponding to the second target system; requesting a first target system by using each first entry to obtain each first recall rule returned by the first target system, and requesting a second target system by using each second entry to obtain each second recall rule returned by the second target system; and comparing the first recall rule with the second recall rule to determine a migration result. The scheme utilizes the respective participation of the systems before and after migration to obtain respective recall rules, compares the recall rules, determines the system migration result according to consistency, can accelerate the comparison efficiency, improves the comparison accuracy, and is beneficial to the online and application of a new system.

Description

Data comparison method, device, equipment and storage medium after system migration
Technical Field
The present disclosure relates to the field of data comparison technologies, and in particular, to a method, an apparatus, a device, and a storage medium for comparing data after system migration.
Background
In each technical field, a system and a database are sometimes migrated, upgraded or converted, and these processes all involve a data migration process. For example, in the vending field, a system terminal commonly used in the field can generate a personalized recall rule for a user according to configured rule terminal, user information and entry parameter data, and the recall rule can return corresponding commodities according to a personalized request of the user.
Therefore, if the system needs to be upgraded or migrated, the recall rule in the system after upgrading or migration is ensured to be consistent with the recall rule in the system before upgrading or migration, so that the function of the new system can be ensured to be normally exerted, and the performance is ensured to be stable. In general, developers can test the data of the system one by one, so that the efficiency is low, the accuracy of the test result is low, and the quick online and application of a new system are not facilitated.
Disclosure of Invention
In view of this, the present application provides a method, apparatus, device and storage medium for comparing data after system migration, which are used for solving the problems that a developer can test the data of a system one by one, so that the efficiency is low, the accuracy of the test result is low, and the quick online and application of a new system are not facilitated.
In order to achieve the above object, the following schemes are proposed:
in a first aspect, a method for comparing data after system migration includes:
responding to a request instruction for data comparison, and after data in a first target system is migrated to a second target system, acquiring each first entry of the first target system;
determining each second entry corresponding to the second target system based on each first entry;
requesting the first target system by using each first entry to obtain each first recall rule returned by the first target system, and simultaneously requesting the second target system by using each second entry to obtain each second recall rule returned by the second target system;
and comparing each first recall rule with each second recall rule to determine migration results corresponding to the first target system and the second target system.
Preferably, the acquiring each first participating parameter of the first target system includes:
acquiring each piece of migration data corresponding to data in a first target system in the process of migrating the data to a second target system;
analyzing each piece of migration data to obtain each piece of first data;
acquiring the data name of each piece of migration data;
and marking the corresponding first data by taking the data name of each piece of migration data as a label so as to obtain each piece of first entry.
Preferably, the determining each second entry corresponding to the second target system based on each first entry includes:
determining a parameter entering interface of a second target system;
acquiring a parameter entering index of the parameter entering interface;
transcoding each first ginseng according to the ginseng input indexes to obtain each ginseng to be detected;
for each to-be-detected parameter, requesting the second target system by using the to-be-detected parameter, and judging whether the second target system responds correctly;
if yes, taking the to-be-detected ginseng as a second ginseng;
if not, re-transcoding the first input parameter corresponding to the input parameter to be detected until the second target system responds correctly.
Preferably, the comparing each of the first recall rules with each of the second recall rules to determine migration results corresponding to the first target system and the second target system includes:
obtaining rule types of each first recall rule and each second recall rule;
taking the first recall rule and the second recall rule which are the same in type as a group of rules;
comparing, for the set of rules, each byte of a first recall rule in the set of rules with each byte of a second recall rule;
if each byte of the first recall rule is the same as each byte corresponding to the second recall rule, determining that the migration result of the group of rules is successful;
summarizing migration results of each group of rules to obtain migration results corresponding to the first target system and the second target system.
Preferably, the method further comprises:
if each byte of the first recall rule is not the same as each byte corresponding to the second recall rule, the set of rules is used as an error rule set;
and summarizing each error rule group to obtain migration results corresponding to the first target system and the second target system.
Preferably, the method further comprises:
displaying the migration result on a display screen connected with a second target system;
if the migration result is that the migration is successful, storing each second recall rule in the second target system;
if the migration result is that the migration is failed, displaying each first recall rule which is failed in comparison in a first display area of the display screen in a row;
and aligning and displaying each second recall rule corresponding to each first recall rule in a second display area of the display screen.
Preferably, the method further comprises:
and highlighting the inconsistent bytes in each first recall rule and each second recall rule aiming at each first recall rule and each second recall rule which fail to be compared.
In a second aspect, a data comparison apparatus after system migration includes:
the first entry acquisition module is used for responding to a request instruction for data comparison and acquiring each first entry of the first target system after data in the first target system is migrated to the second target system;
the second entry determination module is used for determining each second entry corresponding to the second target system based on each first entry;
the recall rule determining module is used for requesting the first target system by utilizing each first entry to obtain each first recall rule returned by the first target system, and simultaneously requesting the second target system by utilizing each second entry to obtain each second recall rule returned by the second target system;
and the comparison module is used for comparing each first recall rule with each second recall rule so as to determine migration results corresponding to the first target system and the second target system.
In a third aspect, a system migrated data comparison device includes a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement the steps of the data comparison method after system migration according to the first aspect.
In a fourth aspect, a storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the data comparison method after system migration as described in the first aspect.
According to the technical scheme, after data in the first target system is migrated to the second target system by responding to a request instruction for data comparison, each first entry of the first target system is obtained; determining each second entry corresponding to the second target system based on each first entry; requesting the first target system by using each first entry to obtain each first recall rule returned by the first target system, and simultaneously requesting the second target system by using each second entry to obtain each second recall rule returned by the second target system; and comparing each first recall rule with each second recall rule to determine migration results corresponding to the first target system and the second target system. After the system is migrated, the recall rule corresponding to each system before the system is migrated and the recall rule corresponding to each system after the system is migrated is obtained, whether the recall rule is consistent is judged, and the migration result of the system is determined according to the consistency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is an alternative flow chart of a data comparison method after system migration according to an embodiment of the present application;
FIG. 2 is an alternative flow chart of a data comparison method after system migration according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a data comparison device after system migration according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a data comparison device after system migration according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In each technical field, a system and a database are sometimes migrated, upgraded or converted, and these processes all involve a data migration process. For example, in the vending field, a system terminal commonly used in the field can generate a personalized recall rule for a user according to configured rule terminal, user information and entry parameter data, and the recall rule can return corresponding commodities according to a personalized request of the user.
Therefore, if the system needs to be upgraded or migrated, the recall rule in the system after upgrading or migration is ensured to be consistent with the recall rule in the system before upgrading or migration, so that the function of the new system can be ensured to be normally exerted, and the performance is ensured to be stable. In general, developers can test the data of the system one by one, so that the efficiency is low, the accuracy of the test result is low, and the quick online and application of a new system are not facilitated.
The embodiment of the invention provides a data comparison method after system migration, which can be applied to various computer terminals or intelligent terminals, wherein an execution subject of the method can be a processor or a server of the computer terminal or the intelligent terminal, and a flow chart of the method is shown in fig. 1, and specifically comprises the following steps:
s1: and responding to a request instruction for data comparison, and after data in a first target system is migrated to a second target system, acquiring each first entry of the first target system.
After the system completes data migration, a data comparison request instruction can be initiated, and the data of the first target system and the data of the second target system are compared, wherein the data for comparison is a recall rule. So that the recall rule is consistent to indicate that the two systems are consistent.
Recall rules are data returned by the system through an admission request system.
In one example, the first target system in the application is an UP system, which is an important ring of a personalized system, and the main function of the UP system is to generate a personalized recall rule for a user according to a configured rule template, user information and parameter entering data. For example, the rule 424 configures personalized rule information such as brand preference, entry commodity and the like of the user, and the UP system generates recall rules for the personalized request according to configuration content and entry parameters, wherein the recall rules are used for a commodity recall module of the request. During data migration or function translation of the system, one-to-one of the system needs to be ensured, so the same participation must obtain the same result, i.e. recall rule. The individuation degree of the UP system is very high, the conventional test means, namely case by case is difficult to cover comprehensively, the reliability of the system cannot be verified in an omnibearing manner, the real-time requirement of the system is high, for example, the behavior data of a user after 5 minutes is changed, and recall rules are also changed.
The first step is to acquire each first entry of the first target system, and complete the subsequent comparison process by the first entry.
S2: and determining each second entry corresponding to the second target system based on each first entry.
The first parameter is parameter entering data of the first target system, parameter entering data corresponding to the second target system can be determined by the first parameter, which is called a second parameter entering, and the determination process of the second parameter entering is used outside the first parameter, and can be determined according to the property or parameter of the second target system.
S3: and requesting the first target system by using each first entry to obtain each first recall rule returned by the first target system, and simultaneously requesting the second target system by using each second entry to obtain each second recall rule returned by the second target system.
The first participation and the second participation are used as request data of a request system, and the system can return corresponding data, namely recall rules. Therefore, the first recall rule returned by the first target system can be obtained by requesting the first target system by using each first entry, and the second recall rule returned by the second target system can be obtained by requesting the second target system by using the second entry.
S4: and comparing each first recall rule with each second recall rule to determine migration results corresponding to the first target system and the second target system.
It will be appreciated that each first recall rule needs to be equal to each corresponding second recall rule to determine that the system migration was successful.
According to the technical scheme, after data in the first target system is migrated to the second target system by responding to a request instruction for data comparison, each first entry of the first target system is obtained; determining each second entry corresponding to the second target system based on each first entry; requesting the first target system by using each first entry to obtain each first recall rule returned by the first target system, and simultaneously requesting the second target system by using each second entry to obtain each second recall rule returned by the second target system; and comparing each first recall rule with each second recall rule to determine migration results corresponding to the first target system and the second target system. After the system is migrated, the recall rule corresponding to each system before the system is migrated and the recall rule corresponding to each system after the system is migrated is obtained, whether the recall rule is consistent is judged, and the migration result of the system is determined according to the consistency.
In the method provided by the embodiment of the present invention, a specific description of a process of obtaining each first parameter of the first target system is as follows:
acquiring each piece of migration data corresponding to data in a first target system in the process of migrating the data to a second target system;
analyzing each piece of migration data to obtain each piece of first data;
acquiring the data name of each piece of migration data;
and marking the corresponding first data by taking the data name of each piece of migration data as a label so as to obtain each piece of first entry.
Specifically, in the process that the first target system migrates data to the second target system, it can determine which pieces of data are migrated, that is, each piece of migration data is determined from each piece of migration data, so that each piece of migration data is parsed to obtain sub-data in each piece of migration data, or each piece of decomposed data is used as each piece of first data, and each piece of first data is different, so that each piece of first data can be marked by using a data name, and the marked first data is used as a first reference. In this step, instead of directly marking the migration data, the migration data is analyzed and marked as the first entry, so that the first target system returns the recall rule according to the first entry more efficiently.
The process of determining each second entry corresponding to the second target system based on each of the first entries in the present application is described in detail below.
Determining a parameter entering interface of a second target system;
acquiring a parameter entering index of the parameter entering interface;
transcoding each first ginseng according to the ginseng input indexes to obtain each ginseng to be detected;
for each to-be-detected parameter, requesting the second target system by using the to-be-detected parameter, and judging whether the second target system responds correctly;
if yes, taking the to-be-detected ginseng as a second ginseng;
if not, re-transcoding the first input parameter corresponding to the input parameter to be detected until the second target system responds correctly.
Specifically, if the second target system is required to be requested, firstly, the parameter entering interface of the second target system needs to be determined, then the second target system can be requested by using the corresponding parameter entering interface, and different parameter entering interfaces correspond to different parameter entering interfaces. The second entry is determined according to the first entry, the first entry corresponds to the first target system, and the second entry needs to correspond to the second target system, so in order for the second entry to meet the requirement of requesting the second target system, the first entry needs to be transcoded according to the entry index to obtain each entry to be tested. In addition, in order to obtain a more accurate second input parameter, the input parameter to be detected obtained after the transcoding may be detected first, the second target system is requested by using the input parameter to be detected, whether the second target system can respond correctly is determined, if so, the input parameter to be detected is used as the second input parameter, and if not, the transcoding needs to be performed again until the second target system can respond correctly.
The foregoing embodiments describe a process of determining each second entry corresponding to the second target system based on each first entry in the present application, and the following compares each first recall rule with each second recall rule in the present application to determine migration results corresponding to the first target system and the second target system, which is specifically described in fig. 2:
s41: and obtaining rule types of each first recall rule and each second recall rule.
S42: the first recall rule and the second recall rule which are the same in type are used as a group of rules.
S43: for the set of rules, each byte of a first recall rule in the set of rules is compared to each byte of a second recall rule.
S44: if each byte of the first recall rule is the same as each byte corresponding to the second recall rule, determining that the migration result of the set of rules is migration success.
S45: summarizing migration results of each group of rules to obtain migration results corresponding to the first target system and the second target system.
Wherein, step S44 further comprises:
if each byte of the first recall rule is not the same as each byte corresponding to the second recall rule, the set of rules is used as an error rule set; and summarizing each error rule group to obtain migration results corresponding to the first target system and the second target system.
In order to make the comparison between the recall rules more accurate and more figurative, each byte in the recall rules can be compared, if each corresponding byte in the corresponding first recall rule and each corresponding byte in the corresponding second recall rule are the same, the group of recall rules can be determined to be the same, namely the migration result of the group of rules is successful in migration, and the migration result corresponding to the first target system and the second target system is summarized by the migration result of each group of rules.
In addition, if at least one group of rules are inconsistent in comparison, namely at least one byte is different, the recall rules in the groups are unsuccessful in comparison, and the migration results corresponding to the first target system and the second target system are summarized by the recall rules with errors.
The above solution describes a process of comparing each of the first recall rules with each of the second recall rules to determine migration results corresponding to the first target system and the second target system, and further, the present application may further include:
displaying the migration result on a display screen connected with a second target system;
if the migration result is that the migration is successful, storing each second recall rule in the second target system;
if the migration result is that the migration is failed, displaying each first recall rule which is failed in comparison in a first display area of the display screen in a row;
aligning and displaying each second recall rule corresponding to each first recall rule in a second display area of the display screen;
and highlighting the inconsistent bytes in each first recall rule and each second recall rule aiming at each first recall rule and each second recall rule which fail to be compared.
Specifically, recall rules with migration failure can be displayed, wherein js plug-in units at the front end of the system can utilize comparison rule json results in a left window and a right window, so that a developer can correct and modify according to display contents conveniently. The method can ensure the unification of the system after the migration and the real-time performance of the input data.
Corresponding to the method described in fig. 1, the embodiment of the present invention further provides a data comparison device after system migration, which is used for implementing the method in fig. 1, where the data comparison device after system migration provided in the embodiment of the present invention may be in a computer terminal or various mobile devices, and in conjunction with fig. 3, the data comparison device after system migration is introduced, and as shown in fig. 3, the device may include:
the first parameter obtaining module 10 is configured to obtain each first parameter of the first target system after data in the first target system is migrated to the second target system in response to a request instruction for data comparison;
a second parameter determining module 20, configured to determine, based on each of the first parameters, each second parameter corresponding to a second target system;
a recall rule determining module 30, configured to obtain each first recall rule returned by the first target system by using each first entry request to the first target system, and obtain each second recall rule returned by the second target system by using each second entry request to the second target system;
and a comparison module 40, configured to compare each of the first recall rules with each of the second recall rules to determine migration results corresponding to the first target system and the second target system.
According to the technical scheme, after data in the first target system is migrated to the second target system by responding to a request instruction for data comparison, each first entry of the first target system is obtained; determining each second entry corresponding to the second target system based on each first entry; requesting the first target system by using each first entry to obtain each first recall rule returned by the first target system, and simultaneously requesting the second target system by using each second entry to obtain each second recall rule returned by the second target system; and comparing each first recall rule with each second recall rule to determine migration results corresponding to the first target system and the second target system. After the system is migrated, the recall rule corresponding to each system before the system is migrated and the recall rule corresponding to each system after the system is migrated is obtained, whether the recall rule is consistent is judged, and the migration result of the system is determined according to the consistency.
Further, the embodiment of the application provides data comparison equipment after system migration. Optionally, fig. 4 is a block diagram showing a hardware structure of the data comparing device after the system is migrated, and referring to fig. 4, the hardware structure of the data comparing device after the system is migrated may include: at least one processor 01, at least one communication interface 02, at least one memory 03 and at least one communication bus 04.
In the embodiment of the present application, the number of the processor 01, the communication interface 02, the memory 03 and the communication bus 04 is at least one, and the processor 01, the communication interface 02 and the memory 03 complete communication with each other through the communication bus 04.
The processor 01 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present invention, or the like.
The memory 03 may include a high-speed RAM memory, and may further include a nonvolatile memory (non-volatile memory) or the like, such as at least one magnetic disk memory.
The memory stores a program, and the processor can call the program stored in the memory, and the program is used for executing the following data comparison method after the system migration, which comprises the following steps:
responding to a request instruction for data comparison, and after data in a first target system is migrated to a second target system, acquiring each first entry of the first target system;
determining each second entry corresponding to the second target system based on each first entry;
requesting the first target system by using each first entry to obtain each first recall rule returned by the first target system, and simultaneously requesting the second target system by using each second entry to obtain each second recall rule returned by the second target system;
and comparing each first recall rule with each second recall rule to determine migration results corresponding to the first target system and the second target system.
Alternatively, the refinement function and the extension function of the program may refer to descriptions of the data comparison method after system migration in the method embodiment.
The embodiment of the application also provides a storage medium, which can store a program suitable for being executed by a processor, and when the program runs, the device where the storage medium is controlled to execute the following data comparison method after system migration, comprising the following steps:
responding to a request instruction for data comparison, and after data in a first target system is migrated to a second target system, acquiring each first entry of the first target system;
determining each second entry corresponding to the second target system based on each first entry;
requesting the first target system by using each first entry to obtain each first recall rule returned by the first target system, and simultaneously requesting the second target system by using each second entry to obtain each second recall rule returned by the second target system;
and comparing each first recall rule with each second recall rule to determine migration results corresponding to the first target system and the second target system.
In particular, the storage medium may be a computer-readable storage medium, which may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM.
Alternatively, the refinement function and the extension function of the program may refer to descriptions of the data comparison method after system migration in the method embodiment.
In addition, functional modules in various embodiments of the present disclosure may be integrated together to form a single portion, or each module may exist alone, or two or more modules may be integrated to form a single portion. The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored on a computer readable storage medium. Based on such understanding, the technical solution of the present disclosure may be embodied in essence or a part contributing to the prior art or a part of the technical solution, or in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a live device, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present disclosure.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for comparing data after system migration, comprising:
responding to a request instruction for data comparison, and after data in a first target system is migrated to a second target system, acquiring each first entry of the first target system;
determining each second entry corresponding to the second target system based on each first entry;
requesting the first target system by using each first entry to obtain each first recall rule returned by the first target system, and simultaneously requesting the second target system by using each second entry to obtain each second recall rule returned by the second target system;
and comparing each first recall rule with each second recall rule to determine migration results corresponding to the first target system and the second target system.
2. The method of claim 1, wherein the acquiring each first entry of the first target system comprises:
acquiring each piece of migration data corresponding to data in a first target system in the process of migrating the data to a second target system;
analyzing each piece of migration data to obtain each piece of first data;
acquiring the data name of each piece of migration data;
and marking the corresponding first data by taking the data name of each piece of migration data as a label so as to obtain each piece of first entry.
3. The method of claim 1, wherein the determining each second entry corresponding to a second target system based on each of the first entries comprises:
determining a parameter entering interface of a second target system;
acquiring a parameter entering index of the parameter entering interface;
transcoding each first ginseng according to the ginseng input indexes to obtain each ginseng to be detected;
for each to-be-detected parameter, requesting the second target system by using the to-be-detected parameter, and judging whether the second target system responds correctly;
if yes, taking the to-be-detected ginseng as a second ginseng;
if not, re-transcoding the first input parameter corresponding to the input parameter to be detected until the second target system responds correctly.
4. The method of claim 1, wherein comparing each of the first recall rules with each of the second recall rules to determine migration results corresponding to the first target system and the second target system comprises:
obtaining rule types of each first recall rule and each second recall rule;
taking the first recall rule and the second recall rule which are the same in type as a group of rules;
comparing, for the set of rules, each byte of a first recall rule in the set of rules with each byte of a second recall rule;
if each byte of the first recall rule is the same as each byte corresponding to the second recall rule, determining that the migration result of the group of rules is successful;
summarizing migration results of each group of rules to obtain migration results corresponding to the first target system and the second target system.
5. The method as recited in claim 4, further comprising:
if each byte of the first recall rule is not the same as each byte corresponding to the second recall rule, the set of rules is used as an error rule set;
and summarizing each error rule group to obtain migration results corresponding to the first target system and the second target system.
6. The method of claim 1, wherein the method further comprises:
displaying the migration result on a display screen connected with a second target system;
if the migration result is that the migration is successful, storing each second recall rule in the second target system;
if the migration result is that the migration is failed, displaying each first recall rule which is failed in comparison in a first display area of the display screen in a row;
and aligning and displaying each second recall rule corresponding to each first recall rule in a second display area of the display screen.
7. The method as recited in claim 6, further comprising:
and highlighting the inconsistent bytes in each first recall rule and each second recall rule aiming at each first recall rule and each second recall rule which fail to be compared.
8. A data contrast device after system migration, comprising:
the first entry acquisition module is used for responding to a request instruction for data comparison and acquiring each first entry of the first target system after data in the first target system is migrated to the second target system;
the second entry determination module is used for determining each second entry corresponding to the second target system based on each first entry;
the recall rule determining module is used for requesting the first target system by utilizing each first entry to obtain each first recall rule returned by the first target system, and simultaneously requesting the second target system by utilizing each second entry to obtain each second recall rule returned by the second target system;
and the comparison module is used for comparing each first recall rule with each second recall rule so as to determine migration results corresponding to the first target system and the second target system.
9. A data comparison device after system migration, comprising a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement the steps of the data comparison method after system migration according to any one of claims 1-7.
10. A storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the data comparison method after system migration according to any one of claims 1-7.
CN202311786682.9A 2023-12-22 2023-12-22 Data comparison method, device, equipment and storage medium after system migration Pending CN117667900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311786682.9A CN117667900A (en) 2023-12-22 2023-12-22 Data comparison method, device, equipment and storage medium after system migration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311786682.9A CN117667900A (en) 2023-12-22 2023-12-22 Data comparison method, device, equipment and storage medium after system migration

Publications (1)

Publication Number Publication Date
CN117667900A true CN117667900A (en) 2024-03-08

Family

ID=90078864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311786682.9A Pending CN117667900A (en) 2023-12-22 2023-12-22 Data comparison method, device, equipment and storage medium after system migration

Country Status (1)

Country Link
CN (1) CN117667900A (en)

Similar Documents

Publication Publication Date Title
CN107729227B (en) Application program test range determining method, system, server and storage medium
CN108459964B (en) Test case selection method, device, equipment and computer readable storage medium
CN109783365A (en) Automated testing method, device, computer equipment and storage medium
CN110320378B (en) Method, apparatus, device and computer readable storage medium for applying for a quality control test
CN108399125B (en) Automatic testing method and device, computer equipment and storage medium
CN113126955A (en) Random data generation method and device, intelligent terminal and storage medium
CN116089258A (en) Data migration test method, device, equipment, storage medium and program product
CN113778878A (en) Interface testing method and device, electronic equipment and storage medium
CN117667900A (en) Data comparison method, device, equipment and storage medium after system migration
CN115757165A (en) Automatic testing method, device, equipment and storage medium
CN113038283B (en) Video recommendation method and device and storage medium
CN110781142B (en) Data import method and device, server and storage medium
CN107704484B (en) Webpage error information processing method and device, computer equipment and storage medium
CN112860722A (en) Data checking method and device, electronic equipment and readable storage medium
CN111274128A (en) Test method, test device, computer equipment and computer readable storage medium
CN110609790A (en) Analytic program test method, device, medium and computer equipment
CN110865932A (en) Program internal interface testing method, system, terminal and storage medium
CN111078549A (en) Code coverage rate processing method and device and computer equipment
CN111666301B (en) Service interface testing method, computer device and storage medium
CN113505159B (en) Data detection method, device and equipment
CN109271315B (en) Script code detection method, script code detection device, computer equipment and storage medium
CN114565362A (en) Page generation method and device, electronic equipment and storage medium
CN110874612B (en) Time interval prediction method and device, computer equipment and storage medium
CN113326202A (en) UI automation test code generation method, device, equipment and medium
CN116991733A (en) Interface testing method, device and medium

Legal Events

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