CN108923875B - Time synchronization method and device - Google Patents

Time synchronization method and device Download PDF

Info

Publication number
CN108923875B
CN108923875B CN201810556696.4A CN201810556696A CN108923875B CN 108923875 B CN108923875 B CN 108923875B CN 201810556696 A CN201810556696 A CN 201810556696A CN 108923875 B CN108923875 B CN 108923875B
Authority
CN
China
Prior art keywords
time
server
application program
current
acquiring
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.)
Active
Application number
CN201810556696.4A
Other languages
Chinese (zh)
Other versions
CN108923875A (en
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.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information Technology 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 Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201810556696.4A priority Critical patent/CN108923875B/en
Publication of CN108923875A publication Critical patent/CN108923875A/en
Application granted granted Critical
Publication of CN108923875B publication Critical patent/CN108923875B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Electric Clocks (AREA)

Abstract

The embodiment of the invention provides a time synchronization method and a device, wherein the method comprises the following steps: when the current time that the application program needs to use the server is determined, acquiring the current first time of the application program; and acquiring the current time of the server according to the current first time of the application program, the pre-recorded first server time and the second time of the application program when the first server time is recorded, so that the time synchronization of the terminal equipment and the server is realized, and the development efficiency and the accuracy of the time synchronization of the terminal are improved.

Description

Time synchronization method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a time synchronization method and apparatus.
Background
With the rapid development of mobile internet, mobile terminals are becoming the main platform of human-computer interaction, and it is very important for users to obtain good experience. In the development process of an Application (APP), it is a key point of product development to provide better experience for users through various technical means as much as possible.
In the development process, when the chat information is displayed on the chat interface of the terminal device, the sent message needs to display time, and at present, two ways are provided, namely, the terminal device side acquires the time synchronized with the server by requesting the server. The other is to directly use the system time of the terminal device as the presentation time. The problem of the solution of obtaining the server time by requesting the server is that each time a request is sent to the server, the performance consumption of the client is increased, each time there is a time delay, and especially when the server is frequently used, the problem of asynchronous requests is considered. Meanwhile, the server time cannot be acquired under the condition that the network condition is poor or no network exists. The solution using the front-end system time directly has the disadvantage that it can only be assumed that the front-end time and the server time are synchronized, but this assumption is not guaranteed.
In summary, the current solutions cannot guarantee the time synchronization between the server and the terminal device, and if the local time of the terminal device is not synchronized with the server time in the chat process, the problem of disordered page layout sequence occurs, which brings inconvenience to the understanding of the user and results in poor user experience.
Disclosure of Invention
The invention provides a time synchronization method and a time synchronization device, which are used for solving the problem that page typesetting sequence is disordered when local time and server time are not synchronized.
A first aspect of the present invention provides a time synchronization method, including:
when the current time that the application program needs to use the server is determined, acquiring the current first time of the application program;
acquiring the current time of the server according to the first time, the pre-recorded first server time and the second time of the application program; the first server time is server time which is obtained and recorded in advance, and the second time is time of the application program when the first server time is recorded.
Optionally, the obtaining the current time of the server according to the first time, the pre-recorded first server time, and the second time of the application program includes:
calculating and acquiring a time difference between the first time and the second time;
and adding the time difference to the first server time to obtain the current time of the server.
Optionally, when the current time of the server is determined to be needed, the current first time of the application program is obtained, and the method further includes:
sending a time acquisition request to the server;
and receiving a first server time returned by the server, and locally recording the first server time and the current second time of the application program.
Optionally, the sending a time obtaining request to the server includes:
and when the application program is started or the time sending change of the server is detected, sending a time obtaining request to the server.
Optionally, the acquiring the current first time of the application program includes:
and acquiring the system time of the terminal equipment as the current first time of the application program.
A second aspect of the present invention provides a time synchronization apparatus, including:
the first processing module is used for acquiring the current first time of the application program when determining the current time of the application program needing to use the server;
the second processing module is used for acquiring the current time of the server according to the first time, the pre-recorded first server time and the second time of the application program; the first server time is server time which is obtained and recorded in advance, and the second time is time of the application program when the first server time is recorded.
Optionally, the second processing module is specifically configured to:
calculating and acquiring a time difference between the first time and the second time;
and adding the time difference to the first server time to obtain the current time of the server.
Optionally, the apparatus further comprises:
a sending module, configured to send a time acquisition request to the server;
and the receiving module is used for receiving the first server time returned by the server and locally recording the first server time and the current second time of the application program.
Optionally, the sending module is specifically configured to:
and when the application program is started or the time sending change of the server is detected, sending a time obtaining request to the server.
Optionally, the first processing module is specifically configured to:
and acquiring the system time of the terminal equipment as the current first time of the application program.
A third aspect of the present invention provides a terminal device, including: a processor, a memory, and a computer program; the computer program is stored in the memory, and the processor executes the computer program to implement the time synchronization method according to any one of the first aspect.
A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program, which is executed by a terminal device to implement the time synchronization method according to any one of the first aspects.
According to the time synchronization method, the time synchronization device, the time synchronization equipment and the storage medium, the current first time of the application program is obtained, and then the current time of the server is obtained according to the current first time of the application program, the pre-recorded first server time and the second time of the application program, so that the time synchronization of the terminal equipment and the server is realized, and the development efficiency and the accuracy of the time synchronization of the terminal are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a first embodiment of a time synchronization method according to the present invention;
fig. 2 is a flowchart of a second embodiment of a time synchronization method according to the present invention;
fig. 3 is a flowchart of a third embodiment of a time synchronization method according to the present invention;
fig. 4 is a schematic diagram of a third embodiment of a time synchronization method according to the present invention;
fig. 5 is a schematic structural diagram of a first embodiment of a time synchronization apparatus according to the present invention;
fig. 6 is a schematic structural diagram of a second embodiment of the time synchronization apparatus according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, two time synchronization modes are provided, one is that a terminal device side acquires time synchronized with a server by requesting the server, but the scheme for acquiring the server time by requesting the server has the problems that a request needs to be sent to the server every time, the performance consumption of a client is increased, time delay exists every time, particularly, when the server is frequently used, the problem of asynchronous request needs to be considered, and meanwhile, the server time cannot be acquired under the condition that the network condition is poor or no network exists. The other method directly uses the system time of the terminal device as the display time, however, this scheme only assumes that the front-end time and the server time are synchronized, so this assumption is not guaranteed.
In view of the above problems, the present application provides a time synchronization method, which provides a more effective and convenient implementation scheme for time synchronization, and improves development efficiency and accuracy of time synchronization. This scheme is described below in terms of a specific implementation.
The time synchronization method provided by the application can be applied to terminal equipment such as a computer, a Personal Computer (PC), a mobile phone and the like which are used for installing and developing an application program, and the terminal equipment at least comprises: the one or more processors and the one or more memories may further include a display, a transceiver, a network interface, or other interfaces, etc., which are not limited in this respect.
This embodiment will be described in detail below with reference to several embodiments.
Fig. 1 is a flowchart of a first embodiment of a time synchronization method according to an embodiment of the present invention, and as shown in fig. 1, the time synchronization method specifically includes the following steps:
s101, when the current time that the application program needs to use the server is determined, the current first time of the application program is obtained.
In this step, the application program may be an application program that uses text or audio video to perform chat, that is, to implement instant messaging. In order to obtain the current time of the server, the terminal device first needs to obtain the time of the current application program, i.e. the current first time of the application program, so as to be used when the server time is obtained in the following.
In a specific implementation manner, when a user sends or receives a chat message on a terminal device by using an instant messaging application program, the system time of the terminal device can be acquired as the time displayed on the instant messaging application program, that is, the system time of the terminal device is acquired as the current first time of the application program.
S102, obtaining the current time of the server according to the current first time of the application program, the pre-recorded first server time and the second time of the application program.
In this step, in a specific implementation of the scheme, the first server time may send a time obtaining request to the server through the terminal device, and the server feeds back the time obtaining request to the terminal device server, or the server may actively notify the terminal device that needs to use the server time of the current time of the server at regular time or continuously, the terminal device records the time of the server, the time of the server is the first server time, and the obtaining mode of the first server time is not limited in this scheme.
The second time of the application program may be obtained in the above manner of obtaining the current first time of the application program, that is, when the user obtains the first server time at the terminal device, the time of the application program when the first server time is recorded is also obtained, where the time of the application program may be system time for installing the terminal device.
In a specific implementation manner, the terminal device may perform subtraction on the acquired current first time of the application program and the acquired second time of the application program to obtain a time from when the first server time is recorded to when the current time is continued, that is, a time difference between the first time and the second time, and then add the time difference to the pre-recorded first server time to obtain the current time of the server. Or the current time of the server is obtained by adding the pre-recorded first server time to the current first time of the application program and then subtracting the second time of the application program from the added result, or the current time of the server is obtained in another manner, which is not limited in the present scheme.
According to the time synchronization method provided by the embodiment, the terminal device acquires the current first time of the application program and the second time of the application program according to the system time, and then acquires the current time of the server according to the current first time of the application program, the pre-recorded first server time and the second time of the application program, so that the time synchronization of the terminal device and the server is realized, and the development efficiency and the accuracy of the time synchronization of the terminal are improved.
Fig. 2 is a flowchart of a second embodiment of a time synchronization method according to the present invention. As shown in fig. 2, in another implementation of the time synchronization method, the method specifically includes the following steps:
s201, when the current time that the application program needs to use the server is determined, the current first time of the application program is obtained.
For a specific implementation process of this step, reference may be made to related description of step S101 in the method embodiment of the present invention, and details are not described here again.
The specific implementation mode that the terminal equipment acquires the current time of the server according to the first time, the first server time and the second time comprises the following steps:
s202, calculating the time difference between the current first time for acquiring the application program and the second time for acquiring the application program.
And S203, adding the time difference to the first server time to obtain the current time of the server.
In the above step, the first server time is a server time obtained and recorded in advance, the time obtaining of the first server may refer to step S102, the second time of the application is a time of the application when the first server time is recorded, and the current first time of the application may be a time of a current application.
The current first time of the application program and the second time of the application program may be system time of the terminal device, that is, the terminal device installs the application program of instant messaging, and the system time of the terminal device is time of the application program.
In this step, after acquiring the current first time of the application program, the second time of the application program, and the first server time, the terminal device first performs subtraction on the current first time of the application program and the second time of the application program to obtain a time difference, where the time difference is a time difference from the time when the first server time is recorded to the current time, and then adds the time difference to the first server time to obtain the current time of the server.
According to the time synchronization method provided by the embodiment, the current first time of the application program and the second time of the application program are obtained according to the system time of the terminal device, the current first time of the application program and the second time of the application program are subtracted to obtain the time difference, and the pre-recorded first server time is added to the time difference to obtain the current time of the server, so that the time synchronization of the terminal device and the server is realized, and the development efficiency and the accuracy of the terminal time synchronization are improved.
Fig. 3 is a flowchart of a third embodiment of a time synchronization method provided in an embodiment of the present invention, and as shown in fig. 3, in another specific implementation of the time synchronization method, the method includes the following steps:
s301, sending a time acquisition request to a server.
In a specific implementation, when the application is started, the terminal device sends a time acquisition request to the server, specifically, when a background of the terminal device that installs the application detects that the application is in a starting state, the terminal device sends the time acquisition request to the server, so that the time of the server can be acquired at the same time as soon as the application is started;
if the application program is WeChat, the mobile phone is used as terminal equipment, when the mobile phone end starts WeChat, the mobile phone sends a time acquisition request to the server, so that the time of the server end can be acquired while the WeChat acquisition time is started, and the WeChat time can be the system time of the mobile phone.
In another specific implementation, when the terminal device detects that the time of the server is changed, the terminal device sends a time obtaining request to the server. Specifically, the terminal device that installs the application program may also detect the time of the server periodically, aperiodically or continuously, and when the time of the server is detected to change, the terminal device sends a request for time acquisition to the server again;
taking the time that the terminal device monitors the server at regular time as an example, and detects the time of the server every 30 seconds as an example, after the time of the first server is 1:20pm and the second time of the application program at the moment is 1:25pm, if the time of the server detected by the terminal device becomes 1:21pm, the terminal device needs to send a request for obtaining the time to the server again, otherwise, the second time of the application program and the first server time have obvious errors, so that the time of the terminal device and the time of the server are not synchronous.
S302, receiving the first server time returned by the server, and locally recording the first server time and the current second time of the application program.
In this step, the terminal device receives the server time returned by the server, that is, the first server time, and simultaneously acquires the system time of the terminal device, that is, the second time of the application program, so as to acquire the second time of the application program while acquiring the first server, so that the current time of the accurate server is acquired through subsequent calculation, where the current second time of the application program may be the system time of the terminal device, and then records of the first server time and the current second time of the application program are stored locally in the terminal device.
In a specific implementation, taking a WeChat installed in a mobile phone as an example, when the mobile phone detects the start of the WeChat or the time of a server changes, the mobile phone sends a request for obtaining time to the server, then the mobile phone receives a first server time returned by the server, reads the system time of the mobile phone, that is, the current time of the WeChat, and locally records the first server time and the current time of the WeChat, that is, the second time of the application program.
Further, if the terminal device fails to acquire the server time, the server time and the terminal device local time are considered to be the same. Specifically, on one hand, if the terminal device fails to send the time obtaining request to the server due to a network or other factors, it is determined that the first server time is the same as the system time of the terminal device;
on the other hand, if the terminal device sends a time acquisition request to the server, but the server fails to return the first service time to the terminal device, the time of the server and the system time of the terminal device are considered to be the same, where the system time of the terminal device is the current second time of the application program.
S303, when the current time that the application program needs to use the server is determined, the current first time of the application program is obtained.
S304, acquiring the current time of the server according to the current first time of the application program, the pre-recorded first server time and the second time of the application program.
For the specific implementation process of the above steps, reference may be made to the related descriptions of the first embodiment and the second embodiment of the method of the present invention, which are not described herein again.
A specific embodiment is adopted to describe the scheme, as shown in fig. 4, fig. 4 is a schematic diagram of a third embodiment of the time synchronization method provided in the embodiment of the present invention, and a specific description is given by taking an application program as a WeChat and a terminal device as a mobile phone.
If the mobile phone obtains the current time of the server, i.e., the first server time ServerTimer (S in fig. 4), and stores the current time to the local area of the mobile phone after the obtaining is successful, and simultaneously stores the current time of the mobile phone, i.e., the second time localtime a of the WeChat (a in fig. 4), if the WeChat is used to send the message, the current time of the mobile phone, i.e., the current first time localtime B of the WeChat (B in fig. 4), is obtained first, and then an obtaining time Interval is calculated, which is a difference between the current first time of the WeChat and the second time of the WeChat, i.e., LocailB-LocailA (B-a in fig. 4), so as to obtain the current time of the server, i.e., Serverr + Interval.
Further, if the time acquisition of the first server fails due to the influence of the network signal, specifically, in an implementation manner, the time acquisition of the first server fails when the mobile phone sends the time acquisition request to the server, or the time acquisition of the first server fails when the mobile phone sends the time acquisition request to the server and the server returns the first service time, so that the time acquisition of the first server fails.
In this case, the time of the server is considered to be the same as the time of the mobile phone, that is, the second time localtime a of the WeChat (see a in fig. 4) is taken as the first time Servertimer of the server (see S in fig. 4), and the second time of the WeChat is the time displayed by the mobile phone at this time, that is, the second time of the above-mentioned application program, and after subtraction, the current time of the server is acquired as ServerTimer + Interval, where Interval is B-S, and the current time of the server is B, that is, the system time of the mobile phone.
The mobile phone end may monitor the server time all the time, and record the server time at regular time, irregular time, or according to a certain rule, and if the mobile phone end monitors that the server changes, the mobile phone end reacquires the server time once, specifically, after acquiring and recording the first server time, and after the mobile phone end monitors that the server time changes, the mobile phone end resends the time acquisition request to the server, and the steps S301 to S303 are repeated.
According to the time synchronization method provided by the embodiment, the time acquisition request is sent to the server, the first service time returned by the server is received, the first server time and the second time of the application program are locally recorded, the current first time of the application program is acquired, and the current time of the server is acquired according to the first time of the application program, the first time of the server and the second time of the application program, so that the time synchronization of the terminal device and the server is realized, and the development efficiency and the accuracy of the time synchronization of the terminal are improved.
Fig. 5 is a schematic structural diagram of a first time synchronization apparatus according to an embodiment of the present invention, and as shown in fig. 5, the time synchronization apparatus 10 according to the present embodiment includes: a first processing module 11 and a second processing module 12.
The first processing module 11 is configured to, when determining that the application needs to use the current time of the server, obtain a current first time of the application;
the second processing module 12 is configured to obtain a current time of the server according to the current first time of the application program, a pre-recorded first server time, and a second time of the application program; the first server time is server time which is obtained and recorded in advance, and the second time of the application program is the time of the application program when the first server time is recorded.
The time synchronization apparatus provided in this embodiment is used to implement the time synchronization method provided in any of the above embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
Optionally, the second processing module 12 is specifically configured to:
calculating and acquiring a time difference between the current first time of the application program and the second time of the application program;
and adding the time difference to the first server time to obtain the current time of the server.
Fig. 6 is a schematic structural diagram of a second embodiment of the time synchronization apparatus according to the present invention. On the basis of the above embodiment, as shown in fig. 6, the time synchronization apparatus 10 further includes: a transmitting module 13 and a receiving module 14.
A sending module 13, configured to send a time obtaining request to a server;
and the receiving module 14 is configured to receive the first server time returned by the server, and locally record the first server time and a current second time of the application program.
Optionally, the sending module 13 is specifically configured to:
and when the application program is started or the time sending change of the server is detected, sending a time obtaining request to the server.
Optionally, the first processing module 11 is specifically configured to:
and acquiring the system time of the terminal equipment as the current first time of the application program.
Any of the above embodiments provides a time synchronization apparatus for implementing the time synchronization method provided in any of the above embodiments, and the implementation principle and technical effect thereof are similar, and are not described herein again.
The present invention provides a terminal device, including: a processor, a memory, and a computer program; the computer program is stored in the memory, and the processor executes the computer program to realize the time synchronization method provided by any one of the previous embodiments.
The invention further provides a computer-readable storage medium, which stores a computer program, and a terminal device executes the computer program to implement the time synchronization method provided by any one of the foregoing method embodiments.
In the implementation of the terminal device, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape, floppy disk, optical disk, and any combination thereof.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (6)

1. A method of time synchronization, comprising:
when the current time that an application program needs to use a server is determined, acquiring the current first time of the application program;
acquiring the current time of the server according to the first time, the pre-recorded first server time and the second time of the application program; the first server time is server time which is obtained and recorded in advance, and the second time is the time of the application program when the first server time is recorded;
the application program is an instant messaging application program, and the current time of the server is obtained so as to correctly sequence the messages displayed on the interface;
the obtaining the current time of the server according to the first time, the pre-recorded first server time and the second time of the application program includes:
calculating and acquiring a time difference between the first time and the second time;
adding the time difference to the first server time to obtain the current time of the server;
when the current time when the application program needs to use the server is determined, the method further comprises the following steps of before the current first time of the application program is acquired:
sending a time acquisition request to the server;
receiving a first server time returned by the server, and locally recording the first server time and the current second time of the application program;
the sending of the time acquisition request to the server includes:
and when the application program is started or the change of the server time is detected, sending a time acquisition request to the server.
2. The method of claim 1, wherein obtaining the current first time of the application comprises:
and acquiring the system time of the terminal equipment as the current first time of the application program.
3. A time synchronization apparatus, comprising:
the system comprises a first processing module, a second processing module and a third processing module, wherein the first processing module is used for acquiring the current first time of an application program when the current time of the application program needing to use a server is determined;
the second processing module is used for acquiring the current time of the server according to the first time, the pre-recorded first server time and the second time of the application program; the first server time is server time which is obtained and recorded in advance, and the second time is the time of the application program when the first server time is recorded;
the second processing module is specifically configured to:
calculating and acquiring a time difference between the first time and the second time;
adding the time difference to the first server time to obtain the current time of the server;
the device further comprises:
a sending module, configured to send a time acquisition request to the server;
the receiving module is used for receiving the first server time returned by the server and locally recording the first server time and the current second time of the application program;
the sending module is specifically configured to: and when the application program is started or the time sending change of the server is detected, sending a time obtaining request to the server.
4. The apparatus of claim 3, wherein the first processing module is specifically configured to:
and acquiring the system time of the terminal equipment as the current first time of the application program.
5. A terminal device, comprising: a processor, a memory, and a computer program; the computer program is stored in the memory, and the processor executes the computer program to realize the time synchronization method of claim 1 or 2.
6. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and a terminal device executes the computer program to implement the time synchronization method according to claim 1 or 2.
CN201810556696.4A 2018-05-31 2018-05-31 Time synchronization method and device Active CN108923875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810556696.4A CN108923875B (en) 2018-05-31 2018-05-31 Time synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810556696.4A CN108923875B (en) 2018-05-31 2018-05-31 Time synchronization method and device

Publications (2)

Publication Number Publication Date
CN108923875A CN108923875A (en) 2018-11-30
CN108923875B true CN108923875B (en) 2020-11-06

Family

ID=64420205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810556696.4A Active CN108923875B (en) 2018-05-31 2018-05-31 Time synchronization method and device

Country Status (1)

Country Link
CN (1) CN108923875B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110838885B (en) * 2019-11-20 2021-11-05 金蝶软件(中国)有限公司 System time synchronization method and related device
CN111427417B (en) * 2020-03-19 2023-08-22 珠海豹趣科技有限公司 Time acquisition method and device and electronic equipment
CN112416450B (en) * 2020-06-05 2023-02-17 上海哔哩哔哩科技有限公司 Resource encryption and display method and system
CN113179145B (en) * 2021-04-26 2022-05-27 中国工商银行股份有限公司 Time synchronization method, device and system
CN114126035A (en) * 2021-11-29 2022-03-01 云知声智能科技股份有限公司 Time synchronization method, device, terminal and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122001A (en) * 2017-03-31 2017-09-01 武汉斗鱼网络科技有限公司 A kind of application program method and device synchronous with server time
CN107341377A (en) * 2017-06-16 2017-11-10 武汉斗鱼网络科技有限公司 Time synchronization control method in one kind authentication

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320328A (en) * 2014-10-28 2015-01-28 中国联合网络通信集团有限公司 Message synchronization method, terminal and server
CN104506330B (en) * 2014-11-28 2018-08-17 北京奇艺世纪科技有限公司 A kind of message synchronization method and system
CN105634929A (en) * 2016-02-18 2016-06-01 浪潮软件集团有限公司 Instant messaging method and device based on web page

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122001A (en) * 2017-03-31 2017-09-01 武汉斗鱼网络科技有限公司 A kind of application program method and device synchronous with server time
CN107341377A (en) * 2017-06-16 2017-11-10 武汉斗鱼网络科技有限公司 Time synchronization control method in one kind authentication

Also Published As

Publication number Publication date
CN108923875A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108923875B (en) Time synchronization method and device
CN109739810B (en) File synchronization method, server, client and device with storage function
US10678322B2 (en) Pressure sensing via bone conduction
CN106998494B (en) Video recording method and related device
EP3140732B1 (en) Startup accelerating method and apparatus
CN106713127B (en) Method and device for acquiring and processing instant chat records
EP3654591B1 (en) Method and device for transmitting multimedia message, storage medium, and electronic apparatus
CN109977266A (en) A kind of novel recommended method and equipment
CN111246238A (en) Live broadcast method, device, storage medium and live broadcast system
CN112752114A (en) Method and device for generating live broadcast playback interactive message, server and storage medium
CN111427417B (en) Time acquisition method and device and electronic equipment
CN111107412A (en) Media playing progress synchronization method and device and storage medium
CN110083768B (en) Information sharing method, device, equipment and medium
CN104639973B (en) Information pushing method and device
EP3174244A1 (en) Video communication ending method and apparatus, computer program and recording medium
CN109714403B (en) Method and device for determining online time of user
CN107368376B (en) Message sending method and device, expansion method and terminal
CN113346973B (en) Event prompting method and device, electronic equipment and computer readable storage medium
US20140222718A1 (en) Information processing system, information processing method and computer program product
CN106302821B (en) Data request method and equipment thereof
KR20200108348A (en) Data transfer
CN112004116B (en) Method, device, electronic equipment and medium for determining object adding mode
CN110198264B (en) Processing method and device and electronic equipment
CN110502714B (en) Information detection method and device, electronic equipment and storage medium
CN114268799A (en) Streaming media transmission method and device, electronic equipment 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
GR01 Patent grant
GR01 Patent grant