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

Timekeeping method and device

A timer and timing end technology, applied in the direction of generating/distributing signals, etc., can solve problems such as abnormal timing results and reducing business uptime.

Active Publication Date: 2017-06-09
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, this application provides a timing method and device to solve the problem of reducing business caused by restarting the system in order to prevent the abnormal timing results caused by the reset of the system timer during the timing process in the prior art. uptime problem

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
  • Timekeeping method and device
  • Timekeeping method and device
  • Timekeeping method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0027] The embodiment of the present application discloses a timing method, which can be applied to a server or a terminal, and is used for timing statistics of services in the server or terminal. Among them, the business can include various types. Taking the game business as an example, it is possible to count and count the CD time of game skills, the time of spawning monsters, and the time of game activities.

[0028] It can be understood that the solution of the present applicati...

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 discloses a timekeeping method and device. When it is determined that a settimekeeping starting condition is achieved, the timekeeping moment of a system timer is obtained and serves as a first timekeeping moment; when it is determined that a set timekeeping ending condition is achieved, the timekeeping moment of the system timer is obtained and serves as asecond timekeeping moment;the number of times the system timer resets in a process is determined, wherein the process is from the moment when the set timekeeping starting condition is achieved to the moment whenthe set timekeeping ending condition is achieved; a difference valueis calculated by subtractingthe first timekeeping moment from the second timekeeping moment, the product of the number of resetting times and a timekeeping periodic value of the system timer is calculated, and the difference value and the product are determined as timekeeping results. Real-time system timersare reset many times during timing.The timekeeping method and device can determine correct timing results, do not need to restart systems, and ensure the normal operation of businesses.

Description

technical field [0001] The present application relates to the technical field of timers, and more specifically, to a timing method and device. Background technique [0002] During business operation, it is sometimes necessary to collect statistics on the service running time. The existing timing methods generally include two types, one is to call the operating system time to count the service running time. However, the precision of the operating system time is limited, which cannot meet the requirements of high time precision business. [0003] For this reason, the system provides another timing method, that is, counting the timing through the built-in timer of the system. The timing accuracy of the system timer is much higher than that of the operating system time. Taking the timing process of the target business running time as an example, the timing time of the system timer is obtained at the start time of the target business, and the timing time of the system timer is...

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): G06F1/14
CPCG06F1/14
Inventor 赖海军宁斌晖车国强马帅
Owner TENCENT TECH (SHENZHEN) CO LTD
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