发明名称 HTTP-BASED SYNCHRONIZATION METHOD AND APPARATUS
摘要 An HTTP-based synchronization method includes obtaining a first response sent by a source server or a cache in response to an HTTP request for obtaining a file; determining a time when the first response is sent in local time at the source server, according to a value of a Date field and a value of an Age field in the first response; determining a time when the first response is sent in local time at a client, according to the client time of an event related to the first response; and determining a time offset between the source server time and the client time according to: the time when the first response is sent in local time at the source server and the time when the first response is sent in local time at the client, and setting up a synchronization relationship between the client time and the source server time.
申请公布号 US2015163047(A1) 申请公布日期 2015.06.11
申请号 US201514605509 申请日期 2015.01.26
申请人 Huawei Technologies Co., Ltd. 发明人 Zhang Shaobo
分类号 H04L7/00;H04L29/08;H04L29/06 主分类号 H04L7/00
代理机构 代理人
主权项 1. A hypertext transport protocol (HTTP)-based synchronization method comprising: obtaining by a client, a first response from a source server or a cache in response to an HTTP request to obtain a file; determining by the client, a first time reading when the first response is sent in a local time of the source server according to a value of a date field and a value of an age field defined in the first response; determining by the client, a second time reading when the first response is sent in a local time of the client according to a client time of an event related to the first response; determining by the client, a first time offset between the source server time and the client time according to one or both of: the first time reading when the first response is sent in the local time of the source server and the second time reading when the first response is sent in the local time of the client; and setting up by the client, a first synchronization relationship between the client time and the source server time.
地址 Shenzhen CN