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

Time synchronization method and device and electronic equipment

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

Active Publication Date: 2021-03-19
北京拓课网络科技有限公司
View PDF4 Cites 2 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
  • Time synchronization method and device and electronic equipment
  • Time synchronization method and device and electronic equipment
  • Time synchronization method and device and electronic equipment

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 invention provides a time synchronization method and device and electronic equipment, and the method comprises the steps: initiating a synchronization request to a classroom server, and determining the local initiation time; receiving a response message returned by the classroom server, and determining local receiving time, wherein the response message comprises server response time; determining a time error between the local client and the classroom server according to the local initiating time, the local receiving time and the server response time, and determining target time according to the time error; and executing a corresponding operation according to the target time. Through the time synchronization method and device and the electronic equipment provided by the embodiment of the invention, the time error between the local client and the classroom server can be conveniently and accurately determined under the condition of not paying attention to the specific size of the network delay; and thus, the local client can determine the target time matched with the server time of the classroom server. The method is simple in calculation and high in accuracy.

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 Applications(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