Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method, device and electronic equipment for time synchronization

A time synchronization and time technology, applied in electrical components, time division multiplexing systems, multiplexing communication, etc., can solve problems such as inconsistent countdown progress, client timing, client time inconsistency, etc., to achieve accuracy High, simple calculation, and the effect of avoiding errors

Active Publication Date: 2021-05-04
北京拓课网络科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to problems such as time zones or network delays, using the client's time directly or directly using the server's time will result in inconsistent time between multiple clients, such as the inconsistent progress of the countdown, resulting in some clients already timing The end, some clients are still timing
[0003] Although the client can perform time synchronization with other time servers, because different clients also have different network delays, and even some clients cannot access the time server, the traditional time synchronization scheme still cannot effectively implement multiple clients. time synchronization between

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method, device and electronic equipment for time synchronization
  • A method, device and electronic equipment for time synchronization
  • A method, device and electronic equipment for time synchronization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0037] figure 1 A flow chart of a time synchronization method provided by an embodiment of the present invention is shown. This method is executed by the local client as figure 1 As shown, the method includes:

[0038] Step 101: Initiate a synchronization request to the classroom server, and determine the local initiation time for initiating the synchronization request. The classroom server is used to connect multiple clients at the same time.

[0039] In the embodiment of the present invention, the classroom server is able to support simultaneous access to multiple clients (including local clients), so that multiple clients can access the same classroom server, so that the function of online education can be realized based on the classroom server . For example, the classroom server can establish a virtual classroom, a local clie...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a time synchronization method, device and electronic equipment, wherein the method includes: initiating a synchronization request to the classroom server, and determining the local initiation time; receiving a response message returned by the classroom server, and determining the local receiving time, and responding The message includes the server response time; determine the time error between the local client and the classroom server according to the local initiation time, local reception time and server response time, and determine the target time according to the time error; perform corresponding operations according to the target time. Through the time synchronization method, device, and electronic equipment provided by the embodiments of the present invention, the time error between the local client and the classroom server can be determined conveniently and accurately without paying attention to the specific size of the network delay, so that the local client A target time can be determined that matches the server time of the classroom server. Not only the calculation is simple, but also the accuracy is high.

Description

technical field [0001] The present invention relates to the technical field of online education, in particular to a time synchronization method, device, electronic equipment and computer-readable storage medium. Background technique [0002] In the online education scenario, multiple clients will access the server at the same time. In some cases, all clients need time synchronization or interactive operations. For example, during the exam, or the teacher sets a countdown, etc. However, due to problems such as time zones or network delays, using the client's time directly or directly using the server's time will result in inconsistent time between multiple clients, such as the inconsistent progress of the countdown, resulting in some clients already timing At the end, some clients are still timing. [0003] Although the client can perform time synchronization with other time servers, because different clients also have different network delays, and even some clients cannot ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04J3/06
CPCH04J3/0635H04J3/0638
Inventor 黄杉
Owner 北京拓课网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products