A Time Management Method Based on Web Browser

A technology of time management and WEB server, applied in the transmission system, electrical components, etc., can solve the problems of large time deviation of terminal equipment, inability to monitor the time deviation of terminal equipment, and low timing accuracy, so as to ensure accuracy and multi-department linkage The effect of coordination

Active Publication Date: 2020-10-02
中国人民解放军32021部队
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to provide a time management method based on a WEB browser for the defects involved in the background technology, so as to solve the problem of low time service accuracy of the existing WEB browser based on the wide area network and the problems of each terminal device. Technical problems such as large time deviation, low time retention ability, and inability to monitor the time deviation of each terminal device

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 Time Management Method Based on Web Browser
  • A Time Management Method Based on Web Browser
  • A Time Management Method Based on Web Browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] The invention discloses a time management method based on a WEB browser, which implements time synchronization with millisecond-level accuracy, time deviation monitoring, event time stamp recording and query for distributed deployment terminals based on general WEB browsers such as IE, chome, and firefox and other time management functions.

[0039] This embodiment discloses a time management method based on a WEB browser, and the following steps are performed on the client side, such as figure 1 Shown:

[0040] The time synchronization process is executed at several moments after the WEB browser is started.

[0041] In this embodiment, the client starts a common WEB browser such as IE, chome, and firefox, and executes a time synchronization process at several moments after the WEB browser is started. In this embodiment, a time synchronization process is performed with the WEB server at 0 seconds, 5 seconds, 10 seconds and 30 seconds after the WEB browser is started, ...

Embodiment 2

[0051] On the basis of Embodiment 1, this embodiment further discloses specific steps for the WEB browser on the client side to execute the time synchronization process, such as figure 2 As shown, it specifically includes the following steps:

[0052] Step S31, the WEB browser reads the value of the time difference variable recorded in the local COOKIE. If the time difference variable does not exist in the local COOKIE, a new time difference variable is created in the local COOKIE, and the initial value of the time difference variable is zero.

[0053] In this embodiment, the client saves the difference between the time of the local system and the time of the WEB server, that is, the value of the so-called time difference variable, in the local COOKIE, and the WEB browser can easily read the local COOKIE through the JavaScript script The value of the time difference variable recorded in .

[0054] The value of the time difference variable recorded in the cookie is the value ...

Embodiment 3

[0070] According to the time management method based on the WEB browser of the present invention, the WEB browser of the client can synchronize the time of the client with the time of the WEB server with high precision, and can display the synchronized time of the client in real time in the WEB browser of the client.

[0071] This embodiment further discloses the specific steps that the client WEB browser uses the first time as a cycle to update and display the time after synchronization, such as image 3 shown.

[0072] In this embodiment, the client WEB browser executes the following steps in a cycle of 10 milliseconds:

[0073] In step S51, the WEB browser reads the value of the time difference variable recorded in the local COOKIE. If the time difference variable does not exist in the local COOKIE, a new time difference variable is created in the local COOKIE, and an initial value of zero is assigned to the time difference variable.

[0074] After the client web browser e...

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 belongs to the technical field of network time management, and particularly relates to a time management method based on a WEB browser, which is technically characterized by comprising aclient and a WEB server. Time management functions of millisecond-level precision time synchronization, time deviation monitoring, event time scale recording and query and the like are realized for terminals deployed in a distributed manner in a wide area network on the basis of general WEB browsers such as IE (Internet Explorer), home, firefox and the like; the time displayed by each terminal onthe WEB browser is ensured to have high precision, high availability and maintenance-free performance; and when the system time of each terminal operating system is changed, the time for synchronizing the local time to the WEB server can be automatically identified and corrected, so that the accuracy of command in military actions and the coordination degree of multi-department linkage are ensured.

Description

technical field [0001] The invention belongs to the technical field of network time management, and in particular relates to a time management method based on a WEB browser. Background technique [0002] At present, network time management, especially network time synchronization technology mainly has the following commonly used technologies: one is manual manual synchronization technology, that is, manual comparison is made between the terminal device and the clock surface, and the time of the device is manually adjusted. Realize network-wide time synchronization. This method does not need to develop additional software and hardware, but requires manual participation, the synchronization accuracy is low, and the time error of each device is large. The second is the synchronization technology based on the NTP network time protocol, that is, the broadcast mode is used to transmit standard time data packets in the network, and the terminal equipment that needs time synchroniz...

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): H04L29/08
CPCH04L67/02H04L67/1095H04L67/1097H04L67/12
Inventor 陈金春刘嵘陈金平周辉李志军邱巍巍肖凡牛飞杨鹏余堃务宇宽郭飞杨洋兰强董忠言封欣朱尚卿
Owner 中国人民解放军32021部队
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products