CN105242974A - Time acquiring method and apparatus - Google Patents
Time acquiring method and apparatus Download PDFInfo
- Publication number
- CN105242974A CN105242974A CN201510711748.7A CN201510711748A CN105242974A CN 105242974 A CN105242974 A CN 105242974A CN 201510711748 A CN201510711748 A CN 201510711748A CN 105242974 A CN105242974 A CN 105242974A
- Authority
- CN
- China
- Prior art keywords
- time
- timestamp
- computer program
- memory block
- unix
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a time acquiring method. The time acquiring method comprises the steps of when executing a computer program, allocating a timestamp storage region in a memory for the computer program, and sending a timestamp acquiring instruction to a time synchronization server; obtaining a Unix timestamp returned from the time synchronization server, and storing the Unix timestamp in the timestamp storage region; increasing the numerical value of the Unix timestamp stored in the timestamp storage region regularly; and when needing to acquire the current time in the executing process of the computer program, converting the Unix timestamp stored in the timestamp storage region into time data, and taking the time data as the current time. According to the embodiments of the time acquiring method and apparatus, accurate time can be provided without influencing operation of other programs, and the required permission is low. Meanwhile, the embodiments of the invention also provide a time acquiring apparatus used for executing the steps of the time acquiring method.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of time obtaining method and device.
Background technology
A lot of computer program operationally all needs to obtain the current time.Accurately errorless in order to ensure the time obtained, computer program is not the time (because the time in computer system may be inaccurate) directly obtained in computer system, but obtains the correct time by network to time synchronized server.
Time obtaining step specific as follows is as follows:
1, client (computing machine) is synchronous to time synchronized server request by network;
2, current precise time is issued client by time synchronized server;
3, the time of computer system is changed after client time of receipt (T of R) data;
If 4, client needs the time directly obtaining computer system when obtaining system time to be exactly the time consistent with the time synchronized server on network afterwards.
Because computer program asks time of synchronously all needing to change computer system at every turn, then the time of reading computer system is as the current time, then can there is following shortcoming:
1, can have influence on because of directly have modified computer system time the program that other directly use computer time after lock in time, other programs may be caused to make mistakes;
The time of 2, revising computer system needs other super-ordinate right of supervisor level usually.
Summary of the invention
The embodiment of the present invention proposes a kind of time obtaining method and device, can provide the accurately errorless time, can not have influence on the operation of other programs for computer program, and the authority needed is low.
The embodiment of the present invention provides a kind of time obtaining method, comprising:
When starting to perform a computer program, for described computer program distributes a timestamp memory block in internal memory, and obtain instruction to time synchronized server transmitting time stamp;
Obtain the Unix timestamp that described time synchronized server returns, and described Unix timestamp is stored in described timestamp memory block;
Timing increases the numerical value of the Unix timestamp be stored in described timestamp memory block;
When needing in the process performing described computer program to obtain current time, the Unix timestamp of the current storage in described timestamp memory block is converted to time data, and using described time data as described current time.
In one embodiment, described timing increase is stored in the numerical value of the Unix timestamp in described timestamp memory block, specifically:
Numerical value every the time of 1 second to the Unix timestamp be stored in described timestamp memory block adds 1.
In another embodiment, the Unix timestamp that the described time synchronized server of described acquisition returns, and described Unix timestamp to be stored in described timestamp memory block specifically:
Obtain the Unix timestamp that described time synchronized server returns, described Unix timestamp is converted to the form of millisecond, and the Unix timestamp after format transformation is stored in described timestamp memory block;
Then described timing increase is stored in the numerical value of the Unix timestamp in described timestamp memory block, specifically:
Numerical value every the time of 1 millisecond to the Unix timestamp be stored in described timestamp memory block adds 1.
Further, described when starting to perform a computer program, for described computer program distributes a timestamp memory block in internal memory, and comprise to time synchronized server transmitting time stamp acquisition instruction:
When starting to perform a computer program, judge whether described computer program has time acquisition authority;
If described computer program has the time and obtains authority, be then that described computer program distributes a timestamp memory block in internal memory, and obtain instruction to time synchronized server transmitting time stamp;
Wherein, the described time obtains authority is be the authority that the computer program needing service time in operational process distributes in advance.
Further, the time obtaining method of described computer program also comprises:
When stopping performing described computer program, from described internal memory, discharge described timestamp memory block.
Correspondingly, the embodiment of the present invention also provides a kind of time acquisition device, comprising:
Starting execution module, for when starting to perform a computer program, for described computer program distributes a timestamp memory block in internal memory, and obtaining instruction to time synchronized server transmitting time stamp;
Timestamp acquisition module, for obtaining the Unix timestamp that described time synchronized server returns, and is stored in described timestamp memory block by described Unix timestamp;
Timestamp maintenance module, increases the numerical value of the Unix timestamp be stored in described timestamp memory block for timing;
Time-obtaining module, for when needing in the process performing described computer program to obtain current time, is converted to time data by the Unix timestamp of the current storage in described timestamp memory block, and using described time data as described current time.
In one embodiment, described timestamp maintenance module adds 1 specifically for the numerical value of time to the Unix timestamp be stored in described timestamp memory block every 1 second.
In another embodiment, the Unix timestamp that described timestamp acquisition module returns specifically for obtaining described time synchronized server, described Unix timestamp is converted to the form of millisecond, and the Unix timestamp after format transformation is stored in described timestamp memory block;
Described timestamp maintenance module adds 1 specifically for the numerical value of time to the Unix timestamp be stored in described timestamp memory block every 1 millisecond.
Further, described startup execution module comprises:
Authority Verification unit, for when starting to perform a computer program, judges whether described computer program has time acquisition authority;
Start performance element, during for having time acquisition authority when described computer program, for described computer program distributes a timestamp memory block in internal memory, and obtain instruction to time synchronized server transmitting time stamp;
Wherein, the described time obtains authority is be the authority that the computer program needing service time in operational process distributes in advance.
Further, described time acquisition device also comprises stopping execution module;
Described stopping execution module being used for, when stopping performing described computer program, discharging described timestamp memory block from described internal memory.
Implement the embodiment of the present invention, there is following beneficial effect: the embodiment of the present invention proposes a kind of time obtaining method, by distributing a timestamp memory block for computer program in internal memory, the Unix timestamp obtained being stored in described timestamp memory block also regularly it being safeguarded from time synchronized server; When described computer program needs to obtain current time, then the Unix timestamp of the current storage in described timestamp memory block is converted to time data, and using described time data as described current time.Namely the time of computer program and the time of computer system are independently, are independent of each other, and whole process can not change the time of computer system.Therefore this programme can not be subject to the impact of the time of other programs or artificial change computer system, also can not have influence on the program that other need the time using computer system, and without the need to high level authority.The embodiment of the present invention additionally provides a kind of time acquisition device simultaneously, for performing the step of above-mentioned time obtaining method, reaches corresponding technique effect.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the time obtaining method that the embodiment of the present invention provides;
Fig. 2 is the structured flowchart of the time acquisition device that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
See Fig. 1, be the schematic flow sheet of the first embodiment of time obtaining method provided by the invention, the method comprises the following steps:
S101, when starting to start a computer program, for described computer program distributes a timestamp memory block in internal memory, and obtains instruction to time synchronized server transmitting time stamp;
S102, obtains the Unix timestamp that described time synchronized server returns, and is stored in described timestamp memory block by described Unix timestamp;
S103, timing increases the numerical value of the Unix timestamp be stored in described timestamp memory block;
S104, when needing in the process performing described computer program to obtain current time, is converted to time data by the Unix timestamp of the current storage in described timestamp memory block, and using described time data as described current time.
Unix timestamp be from January 1st, 1970 (midnight of UTC/GMT) the number of seconds of process, do not consider leap second.0 of Unix timestamp according to ISO8601 specification is: 1970-01-01T00:00:00Z.Within one hour, being expressed as UNIX timestamp form is: 3600 seconds; Within one day, being expressed as UNIX timestamp is 86400 seconds.
In one embodiment, timing described in step S103 increases the numerical value of the Unix timestamp be stored in described timestamp memory block, specifically:
Numerical value every the time of 1 second to the Unix timestamp be stored in described timestamp memory block adds 1.
Therefore, the time precision being stored in Unix timestamp in described timestamp memory block corresponding is 1 second.
In another embodiment, described in step S102, obtain the Unix timestamp that described time synchronized server returns, and described Unix timestamp to be stored in described timestamp memory block specifically:
Obtain the Unix timestamp that described time synchronized server returns, described Unix timestamp is converted to the form of millisecond, and the Unix timestamp after format transformation is stored in described timestamp memory block;
Then timing described in step S103 increases the numerical value of the Unix timestamp be stored in described timestamp memory block, specifically:
Numerical value every the time of 1 millisecond to the Unix timestamp be stored in described timestamp memory block adds 1.
Therefore, the time precision being stored in Unix timestamp in described timestamp memory block corresponding is 1 millisecond.
Further, described in step S101 when starting to perform a computer program, for described computer program distributes a timestamp memory block in internal memory, and comprise to time synchronized server transmitting time stamp acquisition instruction:
When starting to perform a computer program, judge whether described computer program has time acquisition authority;
If described computer program has the time and obtains authority, be then that described computer program distributes a timestamp memory block in internal memory, and obtain instruction to time synchronized server transmitting time stamp;
Wherein, the described time obtains authority is be the authority that the computer program needing service time in operational process distributes in advance.Only have the computer program for time acquisition authority just can distribute a timestamp memory block and obtain instruction to time synchronized server transmitting time stamp.
Further, the time obtaining method of described computer program also comprises:
When stopping performing described computer program, from described internal memory, discharge described timestamp memory block.Namely described timestamp memory block is when the described computer program just operationally interim memory block distributed, and then can discharge, reduce EMS memory occupation space after described computer program is closed.
The principle of work of the time obtaining method that the embodiment of the present invention provides is as follows: by distributing a timestamp memory block for computer program in internal memory, is stored in by the Unix timestamp obtained in described timestamp memory block also regularly safeguards it from time synchronized server; When described computer program needs to obtain current time, then the Unix timestamp of the current storage in described timestamp memory block is converted to time data, and using described time data as described current time, therefore by the time of computer program and the time of computer system independent, the time of computer system can not be had influence in time synchronization process.
The course of work of the present embodiment is described for alarm clock program below:
Alarm clock program upon actuation, for described alarm clock program distributes a timestamp memory block in internal memory, and obtaining instruction to time synchronized server transmitting time stamp, the Unix timestamp returned by time synchronized server is stored in the numerical value of also timing increase Unix timestamp in described timestamp memory block.Alarm clock program obtained the current time every 1 minute, when described alarm clock program needs to obtain current time, then the Unix timestamp of the current storage in described timestamp memory block was converted to time data, and using described time data as described current time.The current time got compares with the time of ringing a bell of setting by alarm clock program, just starts to ring a bell if arrive the time of ringing a bell.
Correspondingly, the embodiment of the present invention also provides a kind of time acquisition device, for performing above-mentioned time obtaining method.As shown in Figure 2, it is the structured flowchart of a kind of time acquisition device that the embodiment of the present invention provides, and comprising:
Starting execution module 101, for when starting to perform a computer program, for described computer program distributes a timestamp memory block in internal memory, and obtaining instruction to time synchronized server transmitting time stamp;
Timestamp acquisition module 102, for obtaining the Unix timestamp that described time synchronized server returns, and is stored in described timestamp memory block by described Unix timestamp;
Timestamp maintenance module 103, increases the numerical value of the Unix timestamp be stored in described timestamp memory block for timing;
Time-obtaining module 104, for when needing in the process performing described computer program to obtain current time, is converted to time data by the Unix timestamp of the current storage in described timestamp memory block, and using described time data as described current time.
In one embodiment, described timestamp maintenance module 103 adds 1 specifically for the numerical value of time to the Unix timestamp be stored in described timestamp memory block every 1 second.
In another embodiment, the Unix timestamp that described timestamp acquisition module 102 returns specifically for obtaining described time synchronized server, described Unix timestamp is converted to the form of millisecond, and the Unix timestamp after format transformation is stored in described timestamp memory block;
Described timestamp maintenance module 103 adds 1 specifically for the numerical value of time to the Unix timestamp be stored in described timestamp memory block every 1 millisecond.
Further, described startup execution module 101 comprises:
Authority Verification unit, for when starting to perform a computer program, judges whether described computer program has time acquisition authority;
Start performance element, during for having time acquisition authority when described computer program, for described computer program distributes a timestamp memory block in internal memory, and obtain instruction to time synchronized server transmitting time stamp;
Wherein, the described time obtains authority is be the authority that the computer program needing service time in operational process distributes in advance.
Further, described time acquisition device also comprises stopping execution module;
Described stopping execution module being used for, when stopping performing described computer program, discharging described timestamp memory block from described internal memory.
The time acquisition device that the present embodiment provides, for performing all process steps of above-mentioned time obtaining method, its principle of work and technique effect one_to_one corresponding, thus repeat no more.
Implement the embodiment of the present invention, there is following beneficial effect: the embodiment of the present invention proposes a kind of time obtaining method, by distributing a timestamp memory block for computer program in internal memory, the Unix timestamp obtained being stored in described timestamp memory block also regularly it being safeguarded from time synchronized server; When described computer program needs to obtain current time, then the Unix timestamp of the current storage in described timestamp memory block is converted to time data, and using described time data as described current time.Namely the time of computer program and the time of computer system are independently, are independent of each other, and whole process can not change the time of computer system.Therefore this programme can not be subject to the impact of the time of other programs or artificial change computer system, also can not have influence on the program that other need the time using computer system, and without the need to high level authority.The embodiment of the present invention additionally provides a kind of time acquisition device simultaneously, for performing the step of above-mentioned time obtaining method, reaches corresponding technique effect.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications are also considered as protection scope of the present invention.
Claims (10)
1. a time obtaining method, is characterized in that, comprising:
When starting to perform a computer program, for described computer program distributes a timestamp memory block in internal memory, and obtain instruction to time synchronized server transmitting time stamp;
Obtain the Unix timestamp that described time synchronized server returns, and described Unix timestamp is stored in described timestamp memory block;
Timing increases the numerical value of the Unix timestamp be stored in described timestamp memory block;
When needing in the process performing described computer program to obtain current time, the Unix timestamp of the current storage in described timestamp memory block is converted to time data, and using described time data as described current time.
2. time obtaining method as claimed in claim 1, it is characterized in that, described timing increase is stored in the numerical value of the Unix timestamp in described timestamp memory block, specifically:
Numerical value every the time of 1 second to the Unix timestamp be stored in described timestamp memory block adds 1.
3. time obtaining method as claimed in claim 1, is characterized in that,
The Unix timestamp that the described time synchronized server of described acquisition returns, and described Unix timestamp to be stored in described timestamp memory block specifically:
Obtain the Unix timestamp that described time synchronized server returns, described Unix timestamp is converted to the form of millisecond, and the Unix timestamp after format transformation is stored in described timestamp memory block;
Then described timing increase is stored in the numerical value of the Unix timestamp in described timestamp memory block, specifically:
Numerical value every the time of 1 millisecond to the Unix timestamp be stored in described timestamp memory block adds 1.
4. the time obtaining method of institute as arbitrary in claims 1 to 3 as described in item, it is characterized in that, described when starting to perform a computer program, for described computer program distributes a timestamp memory block in internal memory, and comprise to time synchronized server transmitting time stamp acquisition instruction:
When starting to perform a computer program, judge whether described computer program has time acquisition authority;
If described computer program has the time and obtains authority, be then that described computer program distributes a timestamp memory block in internal memory, and obtain instruction to time synchronized server transmitting time stamp;
Wherein, the described time obtains authority is be the authority that the computer program needing service time in operational process distributes in advance.
5. time obtaining method as claimed in claim 4, it is characterized in that, the time obtaining method of described computer program also comprises:
When stopping performing described computer program, from described internal memory, discharge described timestamp memory block.
6. a time acquisition device, is characterized in that, comprising:
Starting execution module, for when starting to perform a computer program, for described computer program distributes a timestamp memory block in internal memory, and obtaining instruction to time synchronized server transmitting time stamp;
Timestamp acquisition module, for obtaining the Unix timestamp that described time synchronized server returns, and is stored in described timestamp memory block by described Unix timestamp;
Timestamp maintenance module, increases the numerical value of the Unix timestamp be stored in described timestamp memory block for timing;
Time-obtaining module, for when needing in the process performing described computer program to obtain current time, is converted to time data by the Unix timestamp of the current storage in described timestamp memory block, and using described time data as described current time.
7. time acquisition device as claimed in claim 6, it is characterized in that, described timestamp maintenance module adds 1 specifically for the numerical value of time to the Unix timestamp be stored in described timestamp memory block every 1 second.
8. time acquisition device as claimed in claim 6, is characterized in that,
The Unix timestamp that described timestamp acquisition module returns specifically for obtaining described time synchronized server, is converted to the form of millisecond by described Unix timestamp, and is stored in described timestamp memory block by the Unix timestamp after format transformation;
Described timestamp maintenance module adds 1 specifically for the numerical value of time to the Unix timestamp be stored in described timestamp memory block every 1 millisecond.
9. the time acquisition device as described in any one of claim 6 ~ 8, is characterized in that, described startup execution module comprises:
Authority Verification unit, for when starting to perform a computer program, judges whether described computer program has time acquisition authority;
Start performance element, during for having time acquisition authority when described computer program, for described computer program distributes a timestamp memory block in internal memory, and obtain instruction to time synchronized server transmitting time stamp;
Wherein, the described time obtains authority is be the authority that the computer program needing service time in operational process distributes in advance.
10. time acquisition device as claimed in claim 9, it is characterized in that, described time acquisition device also comprises stopping execution module;
Described stopping execution module being used for, when stopping performing described computer program, discharging described timestamp memory block from described internal memory.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510711748.7A CN105242974A (en) | 2015-10-27 | 2015-10-27 | Time acquiring method and apparatus |
PCT/CN2016/093086 WO2017071357A1 (en) | 2015-10-27 | 2016-08-03 | Time acquisition method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510711748.7A CN105242974A (en) | 2015-10-27 | 2015-10-27 | Time acquiring method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105242974A true CN105242974A (en) | 2016-01-13 |
Family
ID=55040628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510711748.7A Pending CN105242974A (en) | 2015-10-27 | 2015-10-27 | Time acquiring method and apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105242974A (en) |
WO (1) | WO2017071357A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017071357A1 (en) * | 2015-10-27 | 2017-05-04 | 广州视睿电子科技有限公司 | Time acquisition method and device |
CN107122001A (en) * | 2017-03-31 | 2017-09-01 | 武汉斗鱼网络科技有限公司 | A kind of application program method and device synchronous with server time |
CN117896035A (en) * | 2024-03-14 | 2024-04-16 | 杭州义益钛迪信息技术有限公司 | Data acquisition method and equipment of edge controller |
CN117896035B (en) * | 2024-03-14 | 2024-06-04 | 杭州义益钛迪信息技术有限公司 | Data acquisition method and equipment of edge controller |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519002B (en) * | 2019-09-27 | 2021-03-16 | 苏州浪潮智能科技有限公司 | Time synchronization method and related device |
CN113489657B (en) * | 2021-06-29 | 2022-09-09 | 中国银联股份有限公司 | Distributed flow velocity control system and operation method thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6311283B1 (en) * | 1998-09-17 | 2001-10-30 | Apple Computer, Inc. | Need based synchronization of computer system time clock to reduce loading on network server |
CN101866399A (en) * | 2009-04-16 | 2010-10-20 | 成都市华为赛门铁克科技有限公司 | Method and terminal for offline file control |
US7920086B2 (en) * | 2006-07-07 | 2011-04-05 | Honeywell International Inc. | Display for displaying compressed video |
CN102497665A (en) * | 2011-12-28 | 2012-06-13 | 深圳市五巨科技有限公司 | Mobile terminal time correction method and apparatus thereof |
CN104935465A (en) * | 2015-06-17 | 2015-09-23 | 北京京东尚科信息技术有限公司 | Log generating method and log generating device of client application program, and server |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080183623A1 (en) * | 2007-01-29 | 2008-07-31 | Zhangwei Xu | Secure Provisioning with Time Synchronization |
CN105242974A (en) * | 2015-10-27 | 2016-01-13 | 广州视睿电子科技有限公司 | Time acquiring method and apparatus |
-
2015
- 2015-10-27 CN CN201510711748.7A patent/CN105242974A/en active Pending
-
2016
- 2016-08-03 WO PCT/CN2016/093086 patent/WO2017071357A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6311283B1 (en) * | 1998-09-17 | 2001-10-30 | Apple Computer, Inc. | Need based synchronization of computer system time clock to reduce loading on network server |
US7920086B2 (en) * | 2006-07-07 | 2011-04-05 | Honeywell International Inc. | Display for displaying compressed video |
CN101866399A (en) * | 2009-04-16 | 2010-10-20 | 成都市华为赛门铁克科技有限公司 | Method and terminal for offline file control |
CN102497665A (en) * | 2011-12-28 | 2012-06-13 | 深圳市五巨科技有限公司 | Mobile terminal time correction method and apparatus thereof |
CN104935465A (en) * | 2015-06-17 | 2015-09-23 | 北京京东尚科信息技术有限公司 | Log generating method and log generating device of client application program, and server |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017071357A1 (en) * | 2015-10-27 | 2017-05-04 | 广州视睿电子科技有限公司 | Time acquisition method and device |
CN107122001A (en) * | 2017-03-31 | 2017-09-01 | 武汉斗鱼网络科技有限公司 | A kind of application program method and device synchronous with server time |
CN107122001B (en) * | 2017-03-31 | 2019-06-04 | 武汉斗鱼网络科技有限公司 | A kind of method and device that application program is synchronous with server time |
CN117896035A (en) * | 2024-03-14 | 2024-04-16 | 杭州义益钛迪信息技术有限公司 | Data acquisition method and equipment of edge controller |
CN117896035B (en) * | 2024-03-14 | 2024-06-04 | 杭州义益钛迪信息技术有限公司 | Data acquisition method and equipment of edge controller |
Also Published As
Publication number | Publication date |
---|---|
WO2017071357A1 (en) | 2017-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11609598B2 (en) | Network card, time synchronization methods and devices, and computer storage media | |
CN105242974A (en) | Time acquiring method and apparatus | |
CN110492965B (en) | Method and device for synchronizing time of serial messages in master-slave system | |
CN107743054A (en) | System during a kind of synchronous pair of multisensor | |
EP3211497A1 (en) | Master device, slave device, information processing device, event log collecting system, control method of master device, control method of slave device and control program | |
CN109558065B (en) | Data deleting method and distributed storage system | |
JP6523497B1 (en) | Master controller and synchronous communication system using the same | |
CN104981742A (en) | Distribution device, distribution system, and distribution method | |
EP2222003B1 (en) | Field control system | |
US20110222561A1 (en) | Systems and methods for providing time synchronization | |
US20160306726A1 (en) | Methods, systems, and computer readable media for emulating network devices with different clocks | |
EP2902940B1 (en) | Storage system and method for processing data operation request | |
CN102981403A (en) | Clock leap second processing method and system thereof | |
CN108259109A (en) | The network equipment and TOD synchronous method in PTP domains | |
CN102081400B (en) | Sequence of event (SOE) recording module and adjusting method thereof | |
CN110830138B (en) | Information processing method, electronic equipment and server | |
CN100595716C (en) | Method and apparatus for synchronizing clock of distributed processing system | |
CN109752738A (en) | Target IMU and GNSS data synchronous method when based on standard | |
CN107430414B (en) | Device, method and system for detecting and distinguishing time information of different administrative domains | |
CN110429558A (en) | A kind of three-phase recording, which synchronizes, looks for point methods, device and equipment | |
EP2990886B1 (en) | Time synchronization system | |
CN110618604B (en) | Method and device for improving time keeping precision by using NTP auxiliary source | |
CN111444281B (en) | Database parameter synchronization method and system | |
Kopetz | Why a global time is needed in a dependable sos | |
CN111756466A (en) | District sensing terminal clock synchronization method and system based on district power failure event capture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160113 |
|
RJ01 | Rejection of invention patent application after publication |