CN104426644A - Equipment time synchronization method and device - Google Patents
Equipment time synchronization method and device Download PDFInfo
- Publication number
- CN104426644A CN104426644A CN201310367238.3A CN201310367238A CN104426644A CN 104426644 A CN104426644 A CN 104426644A CN 201310367238 A CN201310367238 A CN 201310367238A CN 104426644 A CN104426644 A CN 104426644A
- Authority
- CN
- China
- Prior art keywords
- time
- client device
- information
- server device
- daylight
- 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
Links
Landscapes
- Computer And Data Communications (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,特别是涉及一种设备时间同步方法及设备。The present invention relates to the field of communication technologies, in particular to a device time synchronization method and device.
背景技术Background technique
在通信技术领域,随着用户(包括终端用户和运营商等)对本地化的要求越来越高,产品的本地化已经成为产品开发中一个重要的环节,产品的客户端和服务端不仅要支持单一区域部署和访问,还需要支持跨区域部署和访问。In the field of communication technology, as users (including end users and operators, etc.) have higher and higher requirements for localization, product localization has become an important link in product development. The client and server of the product must not only Support single-region deployment and access, and also need to support cross-region deployment and access.
当服务端和客户端部署的位置属于不同的时区时,各个客户端在提交时间信息到服务端时,需要转换成与服务端统一的时间基准,即服务端所在时区的时间或者UTC(Coordinated Universal Time,世界标准时间或世界协调时间)。同理,当服务端将时间信息推送给各个客户端显示时,需要按照各个客户端所在的时区转换成各个客户端的本地时间。When the server and the client are deployed in different time zones, when each client submits time information to the server, it needs to convert it into a unified time reference with the server, that is, the time in the time zone where the server is located or UTC (Coordinated Universal Time, Coordinated Universal Time or Coordinated Universal Time). Similarly, when the server pushes the time information to each client for display, it needs to be converted to the local time of each client according to the time zone where each client is located.
在某些区域实施夏令时的区域,如,欧洲或者美国,上述的转换需要考虑夏令时的规则。通常,夏令时规则是内置在服务端设备和客户端设备操作系统或者底层平台中的。实际应用中发现,客户端和服务端的夏令时规则更新频率可能存在差异,当客户端和服务端夏令时规则存在不一致是情形时,将会导致客户端和服务端之间的时间转换出现错误。In areas where daylight saving time is implemented in some regions, such as Europe or the United States, the above conversion needs to consider the rules of daylight saving time. Usually, daylight saving time rules are built into the server device and client device operating systems or underlying platforms. In practical applications, it is found that the update frequency of the daylight saving time rules of the client and the server may be different. When the daylight saving time rules of the client and the server are inconsistent, it will cause an error in the time conversion between the client and the server.
以浏览器/服务器(Browser/Server,B/S)结构的典型产品为例,该应用结构下,浏览器作为客户端,而服务端通常是基于Java的应用平台。在这种场景下,夏令时规则分别内置于客户端操作系统和服务端的Java虚拟机中。服务端的Java虚拟机版本一旦确定则一般不会更新,因此,对应的夏令时规则也不会更新。而客户端浏览器可能运行在各种异构的系统中,例如:移动操作系统、Windows XP、Windows VISTA、Windows7等,客户端运行的这些系统与服务端的Java虚拟机之间很有可能出现夏令时规则不一致的情况,导致客户端和服务端之间时间转换出现错误,从而影响系统的正确运行。Taking a typical product with a browser/server (B/S) structure as an example, under this application structure, the browser serves as the client, and the server is usually a Java-based application platform. In this scenario, daylight saving time rules are built into the client operating system and the Java virtual machine of the server respectively. Once the Java virtual machine version of the server is determined, it will generally not be updated, so the corresponding daylight saving time rules will not be updated either. The client browser may run in various heterogeneous systems, such as: mobile operating system, Windows XP, Windows VISTA, Windows7, etc., and there may be daylight saving between these systems running on the client and the Java virtual machine on the server. Inconsistencies in the time rules lead to errors in the time conversion between the client and the server, thus affecting the correct operation of the system.
发明内容Contents of the invention
本发明实施例中提供了一种设备时间同步方法及设备,实现处于不同时区的设备之间的时间同步。Embodiments of the present invention provide a device time synchronization method and device to implement time synchronization between devices in different time zones.
为了解决上述技术问题,本发明实施例公开了如下技术方案:In order to solve the above technical problems, the embodiment of the present invention discloses the following technical solutions:
第一方面,提供一种设备时间同步方法,包括:In the first aspect, a device time synchronization method is provided, including:
服务端设备接收客户端设备发送的所述客户端设备上的时间基准信息,其中,所述客户端设备和所述服务端设备处于不同时区;The server device receives the time reference information on the client device sent by the client device, wherein the client device and the server device are in different time zones;
所述服务端设备在与所述客户端设备进行会话时,根据所述时间基准信息同步所述服务端设备本地时间信息。The server device synchronizes the local time information of the server device according to the time reference information when conducting a session with the client device.
结合上述第一方面,在第一种可能的实现方式中,还包括:In combination with the first aspect above, in a first possible implementation manner, it also includes:
所述服务端设备向所述客户端设备发送会话数据,所述会话数据中携带所述服务端设备的时间信息,所述服务端设备的时间信息按照所述时间基准信息同步为所述客户端设备的时间信息。The server device sends session data to the client device, the session data carries time information of the server device, and the time information of the server device is synchronized to the client device according to the time reference information Device time information.
结合上述一方面,在第二种可能的实现方式中,所述时间基准信息为夏令时基准信息,其中,夏令时基准信息包括:时区偏移量、时区标识、夏令时起始及结束信息;In combination with the above aspect, in a second possible implementation manner, the time reference information is daylight saving time reference information, wherein the daylight saving time reference information includes: time zone offset, time zone identifier, daylight saving time start and end information;
所述服务端设备根据所述时间基准信息同步本地时间信息,包括:The server device synchronizes local time information according to the time reference information, including:
所述服务端设备根据所述夏令时基准信息建立对应所述客户端设备的时区对象,所述时区对象包括所述客户端设备所处时区的夏令时基准信息;The server device establishes a time zone object corresponding to the client device according to the daylight saving time reference information, and the time zone object includes the daylight saving time reference information of the time zone where the client device is located;
所述服务端设备根据所述时区对象,建立对应所述客户端设备的夏令时时间信息,所述对应所述客户端设备的夏令时时间信息按照所述夏令时基准进行调整。The server device establishes DST time information corresponding to the client device according to the time zone object, and the DST time information corresponding to the client device is adjusted according to the DST reference.
结合上述第一方面,和第二种可能的实现方式,在第三种可能的实现方式中,所述服务端设备向所述客户端设备发送会话数据,所述会话数据中携带所述服务端设备的时间信息,所述服务端设备的时间信息按照所述时间基准信息同步为所述客户端设备的时间信息,包括:In combination with the above first aspect and the second possible implementation manner, in a third possible implementation manner, the server device sends session data to the client device, and the session data carries the The time information of the device, the time information of the server device is synchronized to the time information of the client device according to the time reference information, including:
在与所述客户端设备进行会话时,所述服务端设备获取对应所述客户端设备的时区对象,根据所述时区对象,在所述服务端设备上建立对应会话的夏令时时间信息;When conducting a session with the client device, the server device acquires a time zone object corresponding to the client device, and establishes daylight saving time information corresponding to the session on the server device according to the time zone object;
所述服务端设备向所述客户端设备发送会话数据,所述会话数据中携带所述会话发生时的夏令时时间信息。The server device sends session data to the client device, where the session data carries the daylight saving time information when the session occurs.
第二方面,提供一种服务端设备,包括:In the second aspect, a server device is provided, including:
基准接收模块,用于接收客户端设备发送的所述客户端设备上的时间基准信息,并将所述时间基准信息发送至同步模块,其中,所述客户端设备和所述服务端设备处于不同时区;A reference receiving module, configured to receive time reference information on the client device sent by the client device, and send the time reference information to a synchronization module, wherein the client device and the server device are in different Time zone;
所述同步模块,用于接收所述基准接收模块发送的所述时间基准信息,在与所述客户端设备进行会话时,根据所述时间基准信息同步所述服务端设备本地时间信息。The synchronization module is configured to receive the time reference information sent by the reference receiving module, and synchronize the local time information of the server device according to the time reference information when having a session with the client device.
结合上述第二方面,在第一种可能的实现方式中,还包括:In combination with the second aspect above, in the first possible implementation manner, it also includes:
会话发送模块,用于向所述客户端设备发送会话数据,所述会话数据中携带所述服务端设备的时间信息,所述服务端设备的时间信息按照所述时间基准信息同步为所述客户端设备的时间信息。A session sending module, configured to send session data to the client device, the session data carries time information of the server device, and the time information of the server device is synchronized to the client device according to the time reference information The time information of the end device.
结合上述第二方面,在第二种可能的实现方式中,所述时间基准信息为夏令时基准信息,其中,夏令时基准信息包括:时区偏移量、时区标识、夏令时起始及结束信息;In combination with the second aspect above, in a second possible implementation, the time reference information is daylight saving time reference information, wherein the daylight saving time reference information includes: time zone offset, time zone identifier, daylight saving time start and end information ;
所述同步模块,包括:The synchronization module includes:
时区对象建立单元,用于根据所述夏令时基准信息建立对应所述客户端设备的时区对象,并将所述时区对象发送至夏令时时间单元,所述时区对象包括所述客户端设备所处时区的夏令时基准信息;A time zone object establishing unit, configured to establish a time zone object corresponding to the client device according to the daylight saving time reference information, and send the time zone object to the daylight saving time unit, where the time zone object includes the DST reference information for the time zone;
所述夏令时时间单元,用于接收所述时区对象建立单元发送的所述时区对象,根据所述时区对象,建立对应所述客户端设备的夏令时时间信息,所述对应所述客户端设备的夏令时时间信息按照所述夏令时基准进行调整。The daylight saving time unit is configured to receive the time zone object sent by the time zone object creation unit, and establish the daylight saving time time information corresponding to the client device according to the time zone object, and the corresponding client device The daylight saving time information for is adjusted according to the stated daylight saving time reference.
结合上述第二方面,和第二种可能的实现方式,在第三种可能的实现方式中,所述会话发送模块,包括:In combination with the above second aspect and the second possible implementation, in a third possible implementation, the session sending module includes:
时区对象获取单元,用于在与所述客户端设备进行会话时,获取对应所述客户端设备的时区对象,根据所述时区对象,建立对应会话发生时的夏令时时间信息,并将所述会话发生时的夏令时时间信息发送至发送单元;A time zone object acquiring unit, configured to acquire a time zone object corresponding to the client device when having a session with the client device, establish daylight saving time information when the corresponding session occurs according to the time zone object, and store the The daylight saving time information when the session occurs is sent to the sending unit;
所述发送单元,用于接收所述时区对象获取单元发送的所述会话发生时的夏令时时间信息,向所述客户端设备发送会话数据,所述会话数据中携带所述会话发生时的夏令时时间信息。The sending unit is configured to receive the daylight saving time information when the session occurs sent by the time zone object acquisition unit, and send session data to the client device, and the session data carries the daylight saving time when the session occurs time information.
第三方面,提供一种客户端设备,包括:In a third aspect, a client device is provided, including:
基准发送模块,用于向服务端设备发送所述客户端设备上的时间基准信息,其中,所述客户端设备和所述服务端设备处于不同时区,使得所述服务端设备在与所述客户端设备进行会话时,根据所述时间基准信息同步所述服务端设备本地时间信息;A reference sending module, configured to send the time reference information on the client device to the server device, wherein the client device and the server device are in different time zones, so that the server device and the client device When the end device conducts a session, synchronize the local time information of the server device according to the time reference information;
会话接收模块,用于接收所述服务端设备发送的会话数据,所述会话数据中携带所述服务端设备的时间信息,所述服务端设备的时间信息按照所述时间基准信息同步为所述客户端设备的时间信息。A session receiving module, configured to receive session data sent by the server device, where the session data carries time information of the server device, and the time information of the server device is synchronized to the Time information of the client device.
结合上述第三方面,在第一种可能的实现方式中,所述时间基准信息为夏令时基准信息,其中,夏令时基准信息包括:时区偏移量、时区标识、夏令时起始及结束信息。In combination with the third aspect above, in a first possible implementation, the time reference information is daylight saving time reference information, wherein the daylight saving time reference information includes: time zone offset, time zone identifier, daylight saving time start and end information .
本发明实施例中,进行会话的客户端设备和服务端设备处于不同时区,通过客户端设备向服务端设备发送所述客户端设备上的时间基准信息,由所述服务端设备根据所述时间基准信息同步本地时间信息。由于客户端设备和服务端设备采用相同的时间基准,从而,客户端设备和服务端设备双方在互相传输信息时能够携带同步的时间信息,能够避免因时间基准信息不同导致的时间转换错误。In the embodiment of the present invention, the client device and the server device conducting the session are in different time zones, the client device sends the time reference information on the client device to the server device, and the server device sends the time reference information on the client device according to the time Baseline information is synchronized with local time information. Since the client device and the server device use the same time reference, the client device and the server device can carry synchronized time information when transmitting information to each other, and can avoid time conversion errors caused by different time reference information.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings without paying creative labor.
图1为本发明提供的一个设备时间同步方法实施例的流程图;FIG. 1 is a flowchart of an embodiment of a device time synchronization method provided by the present invention;
图2为本发明提供的另一个设备时间同步方法实施例的流程图;FIG. 2 is a flow chart of another embodiment of a device time synchronization method provided by the present invention;
图3为图1中步骤102的实现流程图;Fig. 3 is the realization flowchart of step 102 in Fig. 1;
图4为本发明提供的一个客户端设备实施例的结构框图;FIG. 4 is a structural block diagram of an embodiment of a client device provided by the present invention;
图5为本发明提供的一个服务端设备实施例的结构框图;FIG. 5 is a structural block diagram of an embodiment of a server device provided by the present invention;
图6为本发明提供的另一个服务端设备实施例的结构框图;FIG. 6 is a structural block diagram of another server device embodiment provided by the present invention;
图7为图5中同步模块的实现框图;Fig. 7 is the realization block diagram of synchronization module in Fig. 5;
图8为图5中会话发射模块的实现框图;Fig. 8 is the implementation block diagram of session transmission module in Fig. 5;
图9为本发明提供的一个服务端设备实施例的具体结构框图。FIG. 9 is a specific structural block diagram of an embodiment of a server device provided by the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明实施例中的技术方案,并使本发明实施例的上述目的、特征和优点能够更加明显易懂,下面结合附图对本发明实施例中技术方案作进一步详细的说明。In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, and to make the above-mentioned purposes, features and advantages of the embodiments of the present invention more obvious and understandable, the following describes the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings For further detailed explanation.
首先,介绍本发明提供的一种设备时间同步方法,可以应用于B/S结构的设备之上。First, a device time synchronization method provided by the present invention is introduced, which can be applied to devices with a B/S structure.
参见图1,为本发明提供的一个设备时间同步方法实施例的流程,具体可以包括:Referring to FIG. 1, the process of an embodiment of a device time synchronization method provided by the present invention may specifically include:
步骤101、服务端设备接收客户端设备发送的所述客户端设备上的时间基准信息,其中,所述客户端设备和所述服务端设备处于不同时区。Step 101, the server device receives the time reference information on the client device sent by the client device, wherein the client device and the server device are in different time zones.
本发明实施例中,所述客户端设备与所述服务端设备进行数据传输过程中,需要进行时间同步操作,即:客户端设备和服务端设备之间存在数据信息交互,服务端设备向客户端设备发送会话数据时携带的时间信息应与客户端设备向服务端设备发送数据携带的时间信息一致,然而,由于所述客户端设备和服务端设备分处于不同时区,客户端设备和服务端设备上的时间基准有可能不同步,因此,客户端设备和服务端设备之间可能对于同一会话分别设置不同的时间信息。In the embodiment of the present invention, during the data transmission process between the client device and the server device, a time synchronization operation needs to be performed, that is, there is data information interaction between the client device and the server device, and the server device sends data to the client The time information carried by the end device when sending session data should be consistent with the time information carried by the client device to the server device. However, since the client device and the server device are in different time zones, the client device and the server The time base on the device may not be synchronized, therefore, different time information may be set for the same session between the client device and the server device.
为了保证设备客户端设备和服务端设备之间时间信息的同步,该步骤中,由客户端设备向服务端设备发送所述客户端设备上时间基准信息,以便所述服务端设备根据所述客户端设备上时间基准信息同步本地时间信息。In order to ensure the synchronization of time information between the device client device and the server device, in this step, the client device sends the time reference information on the client device to the server device, so that the server device The local time information is synchronized with the time reference information on the end device.
步骤102、所述服务端设备在与所述客户端设备进行会话时,根据所述时间基准信息同步所述服务端设备本地时间信息。Step 102, when the server device has a session with the client device, synchronize the local time information of the server device according to the time reference information.
该步骤中,当所述服务端设备与所述客户端设备进行会话时,需要根据所述时间基准信息同步本地时间信息。In this step, when the server device conducts a session with the client device, it needs to synchronize local time information according to the time reference information.
所述服务端设备通过同步本地的时间信息,使得所述服务端设备上的时间基准与所述客户端设备保持一致,使得所述服务端设备在接收所述客户端设备发送的会话或者向所述客户端设备发送会话时,双方设备保持统一的时间基准。The server device synchronizes the local time information so that the time reference on the server device is consistent with the client device, so that the server device receives the session sent by the client device or sends a message to the client device. When the above-mentioned client device sends a session, both devices maintain a unified time reference.
可见,本发明实施例中,进行会话的客户端设备和服务端设备处于不同时区,通过客户端设备向服务端设备发送所述客户端设备上的时间基准信息,由所述服务端设备根据所述时间基准信息同步本地时间信息。由于客户端设备和服务端设备采用相同的时间基准,从而,客户端设备和服务端设备双方在互相传输信息时能够携带同步的时间信息,能够避免因时间基准信息不同导致的时间转换错误。It can be seen that in the embodiment of the present invention, the client device and the server device conducting the session are in different time zones, and the client device sends the time reference information on the client device to the server device, and the server device Synchronize the local time information with the above time reference information. Since the client device and the server device use the same time reference, the client device and the server device can carry synchronized time information when transmitting information to each other, and can avoid time conversion errors caused by different time reference information.
在上述实施例的基础之上,当所述服务端设备需要向所述客户端设备发送会话数据时,如图2所示,还可以包括以下步骤:On the basis of the above embodiments, when the server device needs to send session data to the client device, as shown in Figure 2, the following steps may also be included:
步骤103、所述服务端设备向所述客户端设备发送会话数据,所述会话数据中携带所述服务端设备的时间信息,所述服务端设备的时间信息按照所述时间基准信息同步为所述客户端设备的时间信息。Step 103, the server device sends session data to the client device, the session data carries time information of the server device, and the time information of the server device is synchronized to all time information of the client device.
步骤103中,所述服务端设备向所述客户端设备发送会话数据时,通常,在所述会话数据中携带有所述服务端设备的时间信息,本发明实施例中,由于服务端设备上存储有所述客户端设备上的时间基准信息,因此,可以在会话发送之前,将所述会话数据中携带的所述服务端设备的时间信息按照所述时间基准信息同步为所述客户端设备的时间信息。In step 103, when the server device sends session data to the client device, usually, the session data carries the time information of the server device. In the embodiment of the present invention, since the server device The time reference information on the client device is stored, therefore, before the session is sent, the time information of the server device carried in the session data can be synchronized to the client device according to the time reference information time information.
本发明实施例中,当所述客户端设备获取所述会话数据之后,由于所述会话数据中携带与所述客户端设备同步的时间信息,因此,所述客户端设备无需进行时间转换,即可正确获得所述会话数据。In the embodiment of the present invention, after the client device acquires the session data, since the session data carries time information synchronized with the client device, the client device does not need to perform time conversion, that is, The session data can be obtained correctly.
具体地,所述时间基准信息可以为夏令时基准信息。这是由于处于不同时区的客户端和服务端对于各自的夏令时规则可能不一致,夏令时是否执行、什么时候执行都是各个国家自行规定的,随着时间的变化,规定也可能调整,一旦夏令时规则调整,客户端和服务端可能更新不同步,从而导致客户端设备和服务端设备对于夏令时的规则不一样。Specifically, the time reference information may be daylight saving time reference information. This is because clients and servers in different time zones may have different rules for their own daylight saving time. Whether and when daylight saving time is implemented is determined by each country. As time changes, the regulations may also be adjusted. Once daylight saving time When the time rules are adjusted, the client and server may be updated out of sync, resulting in different rules for the client device and server device for daylight saving time.
本发明实施例中,所述夏令时基准信息具体可以包括:时区偏移量、时区标识、夏令时起始及结束信息,所述夏令时起始及结束信息例如:夏令时开始月份、夏令时开始日期、夏令时开始时间、夏令时结束月份、夏令时结束日期、夏令时结束时间等信息。除了包括时区标识、时区偏移量之外,通过携带其他夏令时基准信息参数,可以提高客户端设备和服务端设备之间同步夏令时时间信息的准确性。In the embodiment of the present invention, the daylight saving time reference information may specifically include: time zone offset, time zone identifier, daylight saving time start and end information, and the daylight saving time start and end information is, for example: daylight saving time start month, daylight saving time Start date, DST start time, DST end month, DST end date, DST end time and other information. In addition to including the time zone identifier and the time zone offset, the accuracy of synchronizing the daylight saving time information between the client device and the server device can be improved by carrying other daylight saving time reference information parameters.
从而,如图3所示,上述步骤102中,所述服务端设备根据所述时间基准信息同步本地时间信息,该具体实现方式可以为:Therefore, as shown in FIG. 3, in the above step 102, the server device synchronizes local time information according to the time reference information, and the specific implementation method may be:
步骤301、所述服务端设备根据所述夏令时基准信息建立对应所述客户端设备的时区对象,所述时区对象包括所述客户端设备所处时区的夏令时基准信息;Step 301, the server device establishes a time zone object corresponding to the client device according to the daylight saving time reference information, and the time zone object includes the daylight saving time reference information of the time zone where the client device is located;
步骤302、所述服务端设备根据所述时区对象,建立对应所述客户端设备的夏令时时间信息,所述对应所述客户端设备的夏令时时间信息按照所述夏令时基准进行调整。Step 302: The server device establishes DST time information corresponding to the client device according to the time zone object, and the DST time information corresponding to the client device is adjusted according to the DST reference.
通常,在B/S结构中,同一个服务端设备可能同时与多个客户端设备建立有通信连接,因此,同一个服务端可以同时与多个客户端设备进行会话。本发明实施例中,当服务端设备与多个客户端设备处于不同时区时,如果每个客户端设备与该服务端设备进行会话时,服务端都需要根据当前客户端设备发送的时间基准信息同步所述服务端设备本地时间信息时,则当该服务端设备同时与多个客户端设备进行会话时,使得该服务端设备无法获知应该以哪一个客户端设备发送的时间基准信息为准,使得该服务端设备上的时间信息同步发生混乱。Usually, in the B/S structure, the same server device may establish communication connections with multiple client devices at the same time, therefore, the same server device can have sessions with multiple client devices at the same time. In the embodiment of the present invention, when the server device and multiple client devices are in different time zones, if each client device conducts a session with the server device, the server needs to use the time reference information sent by the current client device When synchronizing the local time information of the server device, when the server device is in conversation with multiple client devices at the same time, the server device cannot know which client device should send the time reference information as the standard, The time information synchronization on the server device is confused.
为了避免上述这一缺陷,在上述明实施例中,所述服务端设备根据所述夏令时基准信息建立对应所述客户端设备的时区对象,所述时区对象包括所述客户端设备所处时区的夏令时基准信息。该实现方式中,建立在所述服务端设备上的时区对象与所述客户端设备为一一对应的关系。当存在处于不同时区的多个客户端设备时,所述服务端设备上建立对应个数的时区对象。In order to avoid the above-mentioned defect, in the above-mentioned embodiment, the server device establishes a time zone object corresponding to the client device according to the daylight saving time reference information, and the time zone object includes the time zone where the client device is located Daylight saving time benchmark information for . In this implementation manner, there is a one-to-one correspondence between the time zone object established on the server device and the client device. When there are multiple client devices in different time zones, a corresponding number of time zone objects are established on the server device.
可见,当所述服务端设备接收到某一个客户端设备发送的时间基准信息之后,可以不直接对所述服务端设备自身的时间信息进行调整,而是首先根据所述夏令时基准信息建立对应所述客户端设备的时区对象,并在所述时区对象中携带所述客户端设备所处时区的夏令时基准信息。从而,所述服务端设备根据所述时区对象,建立对应所述客户端设备的夏令时时间信息,所述对应所述客户端设备的夏令时时间信息按照所述夏令时基准进行调整。所述服务端设备中,对应不同时区的多个客户端设备,分别建立与客户端设备对应的夏令时时间信息,使得所述服务端设备分别与多个客户端设备保持时间同步。It can be seen that after the server device receives the time reference information sent by a certain client device, it may not directly adjust the time information of the server device itself, but first establishes a correspondence based on the daylight saving time reference information. The time zone object of the client device, and the time zone object carries the daylight saving time reference information of the time zone where the client device is located. Therefore, the server device establishes DST time information corresponding to the client device according to the time zone object, and the DST time information corresponding to the client device is adjusted according to the DST reference. In the server device, corresponding to multiple client devices in different time zones, respectively establishes DST time information corresponding to the client devices, so that the server device maintains time synchronization with the multiple client devices respectively.
当所述服务端设备需要向某一个客户端设备发送会话数据时,所述服务端设备需要首先获取对应所述客户端设备的时区对象,然后,根据所述时区对象,在所述服务端设备上建立对应会话的夏令时时间信息;对应会话的夏令时时间信息可以包括:所述服务端设备发送该会话时的时间信息。之后,所述服务端设备即向所述客户端设备发送会话数据,所述会话数据中携带所述会话发生时的夏令时时间信息。When the server device needs to send session data to a certain client device, the server device needs to first obtain the time zone object corresponding to the client device, and then, according to the time zone object, in the server device The daylight saving time information of the corresponding session is established on the Internet; the daylight saving time information of the corresponding session may include: the time information when the server device sends the session. Afterwards, the server device sends session data to the client device, and the session data carries the daylight saving time information when the session occurs.
上述实现方式中,由于所述会话发生时的夏令时时间信息已经按照对应的客户端设备的夏令时基准信息进行同步,因此,所述客户端设备无需进行时间转换,即可正确获得所述会话数据。In the above implementation manner, since the daylight saving time information when the session occurs has been synchronized according to the daylight saving time reference information of the corresponding client device, the client device can correctly obtain the session time without performing time conversion. data.
与本发明提供的设备时间同步方法实施例相对应,本发明还提供了相应进行时间同步的设备,分别为客户端设备以及服务端设备。Corresponding to the embodiment of the device time synchronization method provided by the present invention, the present invention also provides corresponding devices for time synchronization, which are client devices and server devices respectively.
如图4所示,为本发明提供的一个客户端设备的实施例,该客户端设备与服务端设备分处于不同时区,具体可以包括:As shown in Figure 4, it is an embodiment of a client device provided by the present invention, the client device and the server device are located in different time zones, and may specifically include:
基准发送模块401,用于向服务端设备发送所述客户端设备上的时间基准信息,其中,所述客户端设备和所述服务端设备处于不同时区,使得所述服务端设备在与所述客户端设备进行会话时,根据所述时间基准信息同步所述服务端设备本地时间信息;A reference sending module 401, configured to send time reference information on the client device to a server device, wherein the client device and the server device are in different time zones, so that the server device is in the same time zone as the server device When the client device conducts a session, synchronize the local time information of the server device according to the time reference information;
会话接收模块402,用于接收所述服务端设备发送的会话数据,所述会话数据中携带所述服务端设备的时间信息,所述服务端设备的时间信息按照所述时间基准信息同步为所述客户端设备的时间信息。The session receiving module 402 is configured to receive the session data sent by the server device, the session data carries the time information of the server device, and the time information of the server device is synchronized according to the time reference information. time information of the client device.
本发明实施例中,服务端设备向客户端设备发送会话数据时携带的时间信息应与客户端设备向服务端设备发送数据携带的时间信息一致,然而,由于所述客户端设备和服务端设备分处于不同时区,客户端设备和服务端设备上的时间基准有可能不同步,因此,客户端设备和服务端设备之间可能对于同一会话分别设置不同的时间信息。In the embodiment of the present invention, the time information carried when the server device sends session data to the client device should be consistent with the time information carried in the data sent by the client device to the server device. However, since the client device and the server device If they are located in different time zones, the time references on the client device and the server device may not be synchronized. Therefore, different time information may be set for the same session between the client device and the server device.
本发明实施例中,进行会话的客户端设备和服务端设备处于不同时区,通过客户端设备向服务端设备发送所述客户端设备上的时间基准信息,由所述服务端设备根据所述时间基准信息同步本地时间信息。由于客户端设备和服务端设备采用相同的时间基准,从而,客户端设备和服务端设备双方在互相传输信息时能够携带同步的时间信息,能够避免因时间基准信息不同导致的时间转换错误。In the embodiment of the present invention, the client device and the server device conducting the session are in different time zones, the client device sends the time reference information on the client device to the server device, and the server device sends the time reference information on the client device according to the time Baseline information is synchronized with local time information. Since the client device and the server device use the same time reference, the client device and the server device can carry synchronized time information when transmitting information to each other, and can avoid time conversion errors caused by different time reference information.
为了保证设备客户端设备和服务端设备之间时间信息的同步,由客户端设备通过基准发送模块向服务端设备发送所述客户端设备上时间基准信息,以便所述服务端设备根据所述客户端设备上时间基准信息同步本地时间信息。In order to ensure the synchronization of time information between the device client device and the server device, the client device sends the time reference information on the client device to the server device through the reference sending module, so that the server device can The local time information is synchronized with the time reference information on the end device.
当所述服务端设备向所述客户端设备发送会话信时,由于服务端设备上存储有所述客户端设备上的时间基准信息,因此,可以在会话发送之前,将所述会话数据中携带的所述服务端设备的时间信息按照所述时间基准信息同步为所述客户端设备的时间信息。When the server device sends a session message to the client device, since the time reference information on the client device is stored on the server device, the session data may be carried in the session data before the session is sent. The time information of the server device is synchronized to the time information of the client device according to the time reference information.
具体地,所述时间基准信息可以为夏令时基准信息。所述夏令时基准信息包括:时区偏移量、时区标识、夏令时起始及结束信息,所述夏令时起始及结束信息例如:夏令时开始月份、夏令时开始日期、夏令时开始时间、夏令时结束月份、夏令时结束日期、夏令时结束时间等信息。Specifically, the time reference information may be daylight saving time reference information. The daylight saving time reference information includes: time zone offset, time zone identifier, daylight saving time start and end information, the daylight saving time start and end information, for example: daylight saving time start month, daylight saving time start date, daylight saving time start time, DST end month, DST end date, DST end time and other information.
相应地,本发明还提供了一种服务端设备的实施例,如图5所示,该服务端设备与客户端设备分处于不同时区,具体可以包括;Correspondingly, the present invention also provides an embodiment of a server device. As shown in FIG. 5, the server device and the client device are located in different time zones, which may specifically include;
基准接收模块501,用于接收客户端设备发送的所述客户端设备上的时间基准信息,并将所述时间基准信息发送至同步模块,其中,所述客户端设备和所述服务端设备处于不同时区;A reference receiving module 501, configured to receive time reference information on the client device sent by the client device, and send the time reference information to a synchronization module, wherein the client device and the server device are in different time zones;
所述同步模块502,用于接收所述基准接收模块发送的所述时间基准信息,在与所述客户端设备进行会话时,根据所述时间基准信息同步所述服务端设备本地时间信息。The synchronization module 502 is configured to receive the time reference information sent by the reference receiving module, and synchronize the local time information of the server device according to the time reference information when having a session with the client device.
本发明实施例中,进行会话的客户端设备和服务端设备处于不同时区,通过客户端设备向服务端设备发送所述客户端设备上的时间基准信息,由所述服务端设备根据所述时间基准信息同步本地时间信息。由于客户端设备和服务端设备采用相同的时间基准,从而,客户端设备和服务端设备双方在互相传输信息时能够携带同步的时间信息,能够避免因时间基准信息不同导致的时间转换错误。In the embodiment of the present invention, the client device and the server device conducting the session are in different time zones, the client device sends the time reference information on the client device to the server device, and the server device sends the time reference information on the client device according to the time Baseline information is synchronized with local time information. Since the client device and the server device use the same time reference, the client device and the server device can carry synchronized time information when transmitting information to each other, and can avoid time conversion errors caused by different time reference information.
在图6所示的服务端设备中,还可以包括:In the server device shown in Figure 6, it may also include:
会话发送模块503,用于向所述客户端设备发送会话数据,所述会话数据中携带所述服务端设备的时间信息,所述服务端设备的时间信息按照所述时间基准信息同步为所述客户端设备的时间信息。The session sending module 503 is configured to send session data to the client device, the session data carries time information of the server device, and the time information of the server device is synchronized to the Time information of the client device.
该实施例中,所述服务端设备向所述客户端设备发送会话数据时,通常,在所述会话数据中携带有所述服务端设备的时间信息,本发明实施例中,由于服务端设备上存储有所述客户端设备上的时间基准信息,因此,可以在会话发送之前,将所述会话数据中携带的所述服务端设备的时间信息按照所述时间基准信息同步为所述客户端设备的时间信息。In this embodiment, when the server device sends session data to the client device, usually, the session data carries the time information of the server device. In this embodiment of the present invention, since the server device The time reference information on the client device is stored on the device, therefore, before the session is sent, the time information of the server device carried in the session data can be synchronized to the client device according to the time reference information Device time information.
具体实施过程中,具体地,所述时间基准信息可以为夏令时基准信息。所述夏令时基准信息包括:时区偏移量、时区标识、夏令时起始及结束信息,所述夏令时起始及结束信息例如:夏令时开始月份、夏令时开始日期、夏令时开始时间、夏令时结束月份、夏令时结束日期、夏令时结束时间等信息。During specific implementation, specifically, the time reference information may be daylight saving time reference information. The daylight saving time reference information includes: time zone offset, time zone identifier, daylight saving time start and end information, the daylight saving time start and end information, for example: daylight saving time start month, daylight saving time start date, daylight saving time start time, DST end month, DST end date, DST end time and other information.
在一个优选实施例中,如图7所示,所述同步模块502,包括:In a preferred embodiment, as shown in FIG. 7, the synchronization module 502 includes:
时区对象建立单元701,用于根据所述夏令时基准信息建立对应所述客户端设备的时区对象,并将所述时区对象发送至夏令时时间单元,所述时区对象包括所述客户端设备所处时区的夏令时基准信息;A time zone object establishing unit 701, configured to establish a time zone object corresponding to the client device according to the daylight saving time reference information, and send the time zone object to the daylight saving time unit, the time zone object including the time zone object of the client device DST reference information for the time zone;
所述夏令时时间单元702,用于接收所述时区对象建立单元发送的所述时区对象,根据所述时区对象,建立对应所述客户端设备的夏令时时间信息,所述对应所述客户端设备的夏令时时间信息按照所述夏令时基准进行调整。The daylight saving time unit 702 is configured to receive the time zone object sent by the time zone object establishing unit, and establish the daylight saving time time information corresponding to the client device according to the time zone object, and the corresponding client device The device's DST time information is adjusted according to the DST reference.
该实施例中,当所述服务端设备接收到某一个客户端设备发送的时间基准信息之后,可以不直接对所述服务端设备自身的时间信息进行调整,而是首先通过时区对象建立单元,建立对应所述客户端设备的时区对象,并在所述时区对象中携带所述客户端设备所处时区的夏令时基准信息。从而,所述服务端设备通过夏令时时间单元,根据所述时区对象,建立对应所述客户端设备的夏令时时间信息,所述对应所述客户端设备的夏令时时间信息按照所述夏令时基准进行调整。所述服务端设备中,对应不同时区的多个客户端设备,分别建立与客户端设备对应的夏令时时间信息,使得所述服务端设备分别与多个客户端设备保持时间同步。In this embodiment, after the server device receives the time reference information sent by a certain client device, it may not directly adjust the time information of the server device itself, but firstly through the time zone object establishment unit, A time zone object corresponding to the client device is established, and the daylight saving time reference information of the time zone where the client device is located is carried in the time zone object. Therefore, the server device establishes the daylight saving time information corresponding to the client device according to the time zone object through the daylight saving time unit, and the daylight saving time information corresponding to the client device follows the daylight saving time The benchmark is adjusted. In the server device, corresponding to multiple client devices in different time zones, respectively establishes DST time information corresponding to the client devices, so that the server device maintains time synchronization with the multiple client devices respectively.
此外,在一个优选实施例中,如图8所示,所述会话发送模块503,包括:In addition, in a preferred embodiment, as shown in FIG. 8, the session sending module 503 includes:
时区对象获取单元801,用于在与所述客户端设备进行会话时,获取对应所述客户端设备的时区对象,根据所述时区对象,建立对应会话发生时的夏令时时间信息,并将所述会话发生时的夏令时时间信息发送至发送单元;The time zone object acquisition unit 801 is configured to acquire a time zone object corresponding to the client device when having a session with the client device, and establish daylight saving time time information corresponding to the session according to the time zone object, and store the The daylight saving time information when the above session occurs is sent to the sending unit;
所述发送单元802,用于接收所述时区对象获取单元发送的所述会话发生时的夏令时时间信息,向所述客户端设备发送会话数据,所述会话数据中携带所述会话发生时的夏令时时间信息。The sending unit 802 is configured to receive the daylight saving time information sent by the time zone object acquiring unit when the session occurs, and send session data to the client device, the session data carrying the time information when the session occurs Daylight saving time information.
该实施例中,当所述服务端设备需要向某一个客户端设备发送会话数据时,所述服务端设备需要首先通过时区对象获取单元,获取对应所述客户端设备的时区对象,然后,根据所述时区对象,在所述服务端设备上建立对应会话的夏令时时间信息;对应会话的夏令时时间信息可以包括:所述服务端设备发送该会话时的时间信息。之后,所述服务端设备通过发送单元,向所述客户端设备发送会话数据,所述会话数据中携带所述会话发生时的夏令时时间信息。In this embodiment, when the server device needs to send session data to a certain client device, the server device first needs to obtain the time zone object corresponding to the client device through the time zone object acquisition unit, and then, according to The time zone object establishes the DST time information corresponding to the session on the server device; the DST time information corresponding to the session may include: the time information when the server device sends the session. Afterwards, the server device sends session data to the client device through the sending unit, and the session data carries the daylight saving time information when the session occurs.
上述实现方式中,由于所述会话发生时的夏令时时间信息已经按照对应的客户端设备的夏令时基准信息进行同步,因此,所述客户端设备无需进行时间转换,即可正确获得所述会话数据。In the above implementation manner, since the daylight saving time information when the session occurs has been synchronized according to the daylight saving time reference information of the corresponding client device, the client device can correctly obtain the session time without performing time conversion. data.
需要说明的是,如图9所示,本发明还提供了一种基于计算机系统实现的服务端设备。具体实现中,本发明实施例的服务端设备可以包括:处理器901、存储器902、总线903和通信接口904等物理模块,其中,所述存储器902用于存储计算机执行指令,所述处理器901与所述存储器902通过所述总线903连接,当所述服务端设备901运行时,所述处理器901执行所述存储器902存储的所述计算机执行指令,并通过所述通信接口904与所述集群管理设备外部的设备进行通信,以使所述服务端设备执行本发明各实施例所述的实现设备时间同步的方法。其中,处理器可以是中央处理器(centralprocessing unit,CPU)、专用集成电路(application-specific integrated circuit,ASIC)等。It should be noted that, as shown in FIG. 9 , the present invention also provides a server device based on a computer system. In a specific implementation, the server device in this embodiment of the present invention may include physical modules such as a processor 901, a memory 902, a bus 903, and a communication interface 904, wherein the memory 902 is used to store computer-executable instructions, and the processor 901 Connected to the memory 902 through the bus 903, when the server device 901 is running, the processor 901 executes the computer-executed instructions stored in the memory 902, and communicates with the The devices outside the cluster management device communicate, so that the server device executes the methods for implementing device time synchronization described in various embodiments of the present invention. Wherein, the processor may be a central processing unit (central processing unit, CPU), an application-specific integrated circuit (application-specific integrated circuit, ASIC), and the like.
具体实现中,本发明还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可包括本发明实施例提供的设备时间同步方法的各实施例中的部分或全部步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。In a specific implementation, the present invention also provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, it can include part or all of the various embodiments of the device time synchronization method provided by the embodiment of the present invention step. The storage medium can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、设备和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310367238.3A CN104426644A (en) | 2013-08-21 | 2013-08-21 | Equipment time synchronization method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310367238.3A CN104426644A (en) | 2013-08-21 | 2013-08-21 | Equipment time synchronization method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN104426644A true CN104426644A (en) | 2015-03-18 |
Family
ID=52974675
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310367238.3A Pending CN104426644A (en) | 2013-08-21 | 2013-08-21 | Equipment time synchronization method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104426644A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106331770A (en) * | 2016-09-06 | 2017-01-11 | 青岛海信电器股份有限公司 | Time synchronization method and client |
| CN106487895A (en) * | 2016-10-14 | 2017-03-08 | 深圳市欧瑞博电子有限公司 | Time control method and device |
| CN106951026A (en) * | 2017-03-06 | 2017-07-14 | 南京国电南自电网自动化有限公司 | A kind of daylight-saving time implementation method based on single clock system |
| CN107749789A (en) * | 2017-10-10 | 2018-03-02 | 广东乐心医疗电子股份有限公司 | Time synchronization method and related device |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070088764A1 (en) * | 2005-10-18 | 2007-04-19 | Samsung Electronics Co., Ltd. | Method and apparatus for synchronizing multimedia content with device which supports multi-server environment |
| CN101035331A (en) * | 2006-03-06 | 2007-09-12 | 三星电子株式会社 | Method of updating daylight saving time information in wireless terminal |
| CN101174982A (en) * | 2007-11-16 | 2008-05-07 | 华为技术有限公司 | A method, device and system for realizing unification of multi-time zone data information |
| CN101741597A (en) * | 2008-11-26 | 2010-06-16 | 英业达股份有限公司 | Server system and method for automatically correcting time |
| US20120179739A1 (en) * | 2009-08-27 | 2012-07-12 | Huawei Technologies Co., Ltd. | Method, apparatus, and system for processing time |
| CN102982226A (en) * | 2007-08-10 | 2013-03-20 | 施曼信医疗Asd公司 | Method and system of communication between server and a plurality of medical devices |
| US20130091359A1 (en) * | 2010-06-22 | 2013-04-11 | Shanghai Cloudway Information Technology Co., Ltd. | Short-range Secure Data Communication Method Based on Sound Wave or Audio, and Apparatus Thereof |
| CN202940822U (en) * | 2012-11-28 | 2013-05-15 | 中国舰船研究设计中心 | Marine local area network time unification system |
-
2013
- 2013-08-21 CN CN201310367238.3A patent/CN104426644A/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070088764A1 (en) * | 2005-10-18 | 2007-04-19 | Samsung Electronics Co., Ltd. | Method and apparatus for synchronizing multimedia content with device which supports multi-server environment |
| CN101035331A (en) * | 2006-03-06 | 2007-09-12 | 三星电子株式会社 | Method of updating daylight saving time information in wireless terminal |
| CN102982226A (en) * | 2007-08-10 | 2013-03-20 | 施曼信医疗Asd公司 | Method and system of communication between server and a plurality of medical devices |
| CN101174982A (en) * | 2007-11-16 | 2008-05-07 | 华为技术有限公司 | A method, device and system for realizing unification of multi-time zone data information |
| CN101741597A (en) * | 2008-11-26 | 2010-06-16 | 英业达股份有限公司 | Server system and method for automatically correcting time |
| US20120179739A1 (en) * | 2009-08-27 | 2012-07-12 | Huawei Technologies Co., Ltd. | Method, apparatus, and system for processing time |
| US20130091359A1 (en) * | 2010-06-22 | 2013-04-11 | Shanghai Cloudway Information Technology Co., Ltd. | Short-range Secure Data Communication Method Based on Sound Wave or Audio, and Apparatus Thereof |
| CN202940822U (en) * | 2012-11-28 | 2013-05-15 | 中国舰船研究设计中心 | Marine local area network time unification system |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106331770A (en) * | 2016-09-06 | 2017-01-11 | 青岛海信电器股份有限公司 | Time synchronization method and client |
| CN106487895A (en) * | 2016-10-14 | 2017-03-08 | 深圳市欧瑞博电子有限公司 | Time control method and device |
| CN106951026A (en) * | 2017-03-06 | 2017-07-14 | 南京国电南自电网自动化有限公司 | A kind of daylight-saving time implementation method based on single clock system |
| CN106951026B (en) * | 2017-03-06 | 2019-06-28 | 南京国电南自电网自动化有限公司 | A kind of daylight-saving time implementation method based on single clock system |
| CN107749789A (en) * | 2017-10-10 | 2018-03-02 | 广东乐心医疗电子股份有限公司 | Time synchronization method and related device |
| CN107749789B (en) * | 2017-10-10 | 2019-05-17 | 广东乐心医疗电子股份有限公司 | Time synchronization method and related device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20180310186A1 (en) | Method and apparatus for generating and maintaining an accurate network map in a communications network | |
| CN104798342B (en) | Data center service migration method, device and system | |
| US20220038539A1 (en) | Method and apparatus for secure passive wireless communication with bluetooth vitals devices | |
| WO2017152723A1 (en) | Data transmission method, apparatus and system | |
| CN107181686B (en) | Routing table synchronization method, device and system | |
| CN103354560B (en) | Method and system for data decomposition and synchronization | |
| JP7185054B2 (en) | Resource cycle configuration method and device, link processing and establishment method and device | |
| WO2018127046A1 (en) | Service request processing method and apparatus | |
| WO2016026313A1 (en) | Method, device and system for implementing information self-registration, and computer storage medium | |
| US20240129893A1 (en) | Positioning measurement method, positioning configuration method, apparatus, and communication device | |
| CN104426644A (en) | Equipment time synchronization method and device | |
| CN105072149A (en) | Method and device for building remote communication through proxy gateway | |
| CN111404628A (en) | Time synchronization method and device | |
| JP7699296B2 (en) | Channel configuration method and device | |
| CN104580346A (en) | Data transmission method and device | |
| CN1248517C (en) | System and method for synchronous service GPRs supporting node and gateway GPRs supporting mode | |
| CN102263672A (en) | An IEEE 1588 link detection method, system and IEEE 1588 link device | |
| CN105721395B (en) | Data synchronous configuration method, equipment and system | |
| CN108089968A (en) | Method for monitoring state of database of virtual machine by host machine | |
| CN109005203B (en) | Data synchronization method and device, storage medium, processor and terminal | |
| WO2016188499A1 (en) | Network management method and apparatus, network device and data synchronization system | |
| CN109639849B (en) | Address query processing method and service discovery device | |
| KR101973264B1 (en) | Clocks timing fault recovery method and apparatus in precision time protocol system | |
| CN102301620B (en) | Signal processing method and slave device | |
| CN112118069B (en) | Control method of forwarding network and network equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20180608 |
|
| AD01 | Patent right deemed abandoned |