Patent ID: 11941023
Assignee: ZTE CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. The method according to claim 8, wherein the step of the comparison tool comparing the data in the T environment and the F environment according to the mapping relationship between the message values comprises:
requesting, by the CS, a field value globally incremented in service from each of the plurality of CCs;
searching, by each of the plurality of CCs, from a binlog starting position in the F environment until a first binlog position not less than the field value is found, and returning a field value corresponding to the position to the CS;
taking, by the CS, a maximum field value as an initial field value after collecting the field value returned by each of the plurality of CCs, querying the memory database to obtain a corresponding initial field value of the T environment corresponding to the initial field value according to the mapping relationship between the message values of the T environment and the F environment, and issuing the initial field value to all the CCs;
obtaining, by each of the plurality of CCs, a binlog file and position corresponding to the initial field values in the T environment and the F environment, and returning the binlog file and position to the CS;
notifying, by the CS, all the CCs to start parsing the binlog by batch after receiving the binlog file and position;
parsing, by each of the plurality of CCs, the binlog by batch, replacing a value that has a correspondence between the F environment and the T environment with a value of the T environment, and returning a parsing result; and
generating, by the CS, a generation file and performing a comparison after receiving a parsing result of a batch, and storing a comparison result in the result database.