发明名称 System file repair method and apparatus
摘要 A method and an apparatus for repairing a system file are provided. The computer-implemented method for repairing a system file, comprises: detecting, by a processor, a corrupted system file in an operating system; sending identification information of the operating system and an identifier of the corrupted system file to a server; receiving an integrity identifier of an intact system file to be used in repairing the corrupted system file, wherein the intact system file is determined by the server according to the identification information of the operating system and the identifier of the corrupted system file; verifying, by the processor, the received integrity identifier with a locally stored integrity identifier of the corrupted system file; and if the received integrity identifier passes the verification, obtaining, from the server, the intact system file corresponding to the verified integrity identifier and repairing the corrupted system file with the obtained intact system file.
申请公布号 US9535781(B2) 申请公布日期 2017.01.03
申请号 US201414156196 申请日期 2014.01.15
申请人 Tencent Technology (Shenzhen) Company Limited 发明人 Xie Fei;Ma Jinsong
分类号 G06F11/00;G06F11/07;G06F11/14 主分类号 G06F11/00
代理机构 Brinks Gilson & Lione 代理人 Brinks Gilson & Lione
主权项 1. A computer-implemented method for repairing a system file, comprising: detecting, by a processor, a corrupted system file in an operating system; sending, by the processor, identification information of the operating system and an identifier of the corrupted system file to a server with system files of the operating system, wherein the identification information of the operating system comprises language pack information of the operating system, and the identifier of the corrupted system file comprises a name of the corrupted system file; receiving, by the processor, an integrity identifier of an intact system file to be used in repairing the corrupted system file, wherein the integrity identifier of the intact system file has a Hash value obtained by performing a Hash operation on the intact system file, and the intact system file is determined by the server according to the identification information of the operating system and the identifier of the corrupted system file; verifying, by the processor, the received integrity identifier with a locally stored integrity identifier of the corrupted system file; and if the received integrity identifier passes the verification, obtaining, from the server, the intact system file corresponding to the verified integrity identifier and repairing the corrupted system file with the obtained intact system file.
地址 Shenzhen CN