Client control method, client, electronic device, and medium
A control method and client-side technology, applied in the computer field, can solve problems such as difficulty in video time alignment, and achieve the effects of improving video time synchronization accuracy, facilitating time alignment, and improving time synchronization.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0062] This embodiment provides a client control method, please refer to figure 2 , figure 2 It is a flow chart of the client control method in the embodiment of the present invention, the method is applied to the client, and the client establishes a network connection with the server, and the method includes:
[0063] Step S201, sending a time synchronization request to the server, and recording the first moment when the time synchronization request is sent;
[0064] Step S202, receiving the synchronous reply information carrying the second time information returned by the server, and recording the third time when the synchronous reply information was received, wherein the second time is the time recorded by the server. The moment when the server receives the time synchronization request;
[0065] Step S203: Obtain the current fourth time, and calculate the time corresponding to the fourth time based on the server based on the first time, the second time, the third time a...
Embodiment 2
[0125] like Figure 4 As shown, this embodiment provides a client control method, the method is applied to the client, the client establishes a network connection with the server, and the method includes:
[0126] Step S401, sending a time synchronization request to the server, and recording the first moment when the time synchronization request is sent;
[0127] Step S402, receiving the synchronization response information returned by the server and carrying the second time information, wherein the second time is the time recorded by the server when the server receives the time synchronization request;
[0128] Step S403: Obtain the current fourth moment, and calculate the time corresponding to the fourth moment according to the preset information one-way transmission duration, the first moment, the second moment, and the fourth moment. The reference time when the server is the reference, wherein the one-way information transmission duration represents the time consumed by t...
Embodiment 3
[0141] like Figure 5 As shown, this embodiment provides a client control method, the method is applied to the client, the client establishes a network connection with the server, and the method includes:
[0142] Step S501, sending a time synchronization request to the server;
[0143] Step S502, receiving the synchronous reply information carrying the second time information returned by the server, and recording the third time when the synchronous reply information was received, wherein the second time is the time recorded by the server. The moment when the server receives the time synchronization request;
[0144] Step S503: Obtain the current fourth moment, and calculate the time corresponding to the fourth moment according to the preset information one-way transmission duration, the second moment, the third moment, and the fourth moment. The reference time when the server is the reference, wherein the one-way information transmission duration represents the time consume...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com