CN102215224A - Network countdown accurate-synchronization technology - Google Patents
Network countdown accurate-synchronization technology Download PDFInfo
- Publication number
- CN102215224A CN102215224A CN2011101344510A CN201110134451A CN102215224A CN 102215224 A CN102215224 A CN 102215224A CN 2011101344510 A CN2011101344510 A CN 2011101344510A CN 201110134451 A CN201110134451 A CN 201110134451A CN 102215224 A CN102215224 A CN 102215224A
- Authority
- CN
- China
- Prior art keywords
- countdown
- time
- server
- network
- client computer
- 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
Images
Abstract
The invention relates to a network countdown accurate-synchronization technology. A principle for realizing the accurate displaying of network transmission countdown by using the technology is that: 1) the 'network countdown accurate-synchronization technology' belongs to the technical field of computer network communication, and a server transmits a unified countdown numerical value to clients in a broadcasting way by utilizing a transmission control protocol/Internet protocol (TCP/IP); 2) the clients establish communication channels with the server, monitor local time data and reports the local time data to the server; and 3) the clients receive the broadcast of the server, compute network time delay according to the contents of communication data packets and local time, and obtain the countdown numerical value with millisecond accuracy. The technology is used for various application systems required to use accurate countdown in the Internet and local area networks. For example, when the countdown is required by online transaction systems of online auction, electronic commerce group purchasing and electronic commerce, the server broadcasts countdown data, and the clients accurately synchronously display the countdown data to make the application system fairer and more balanced and avoid legal disputes caused by inaccurate countdown.
Description
One, technical field:
Present technique belongs to the computer network communication technology field, utilizes bottom mechanics of communication Socket, the TCP/IP view in the computer network communication technology, by a series of method, realizes:
1, the unified broadcasting of server countdown data message, client computer receives the countdown data message by the Socket pipeline, and outputs to the terminal output equipment, as display etc.
2, client computer is by after receiving the countdown data message, by analyzing communication data packets, check this machine of client computer temporal information, adjusting a series of processing such as computing network communication time-delay, the countdown data message of data base calibration server broadcasting.
3, the countdown data message of the final output of client computer is realized precise synchronization output with the data message of server broadcast, and all client computer are all exported this countdown data message synchronously.
4, between the different client computer, the data error between client computer and the server is in the millisecond rank.
Two, background technology:
The realization of present technique is a time precise synchronization technology in a kind of network communication of developing of the TCP/IP network communication protocol, Socket API communication part, the programming language instruments such as (java) that utilize the computer bottom.Purchase by group in network auction, ecommerce, in the ecommerce online transaction, when need carry out countdown to certain operation, server is to the Web broadcast countdown time, client utilizes present technique to show the countdown time, make this application system more fair, more just, avoid the legal dispute problem that causes because of countdown is inaccurate.
The technology that relates to has:
(1) TCP/IP network communication protocol, full name: Transmission Control Protocol/Internet Protocol is the communication protocol of heterogeneous network interconnection, can realize interconnected communication between various heterogeneous networks or the xenogenesis machine by it.
(2) Socket model API communication part.
(3) Java development language.
(4) Adobe Flash/Flex AS development language.
Three, summary of the invention:
Network countdown precise synchronization technology.
(1) client computer is initiated to be connected with the Socket of server, and pipeline connects.
(2) client computer reads local time information, to the local temporal information of server report.The OS Events that client computer monitoring local zone time changes is when the change of non-natural increase takes place in local zone time, once more to the local temporal information of server report.
(3) server reads according to the countdown data that produce in the practical business running, sends broadcast message to all client computer, the temporal information when subsidiary temporal information, the server that client computer arranged sends this broadcasting in the broadcast message.
(4) after client computer receives the server broadcast data, according to analysis to packet contents such as the header of TCP/IP packet, messages, and to local time information, server time information, the countdown data message is adjusted in the analysis of computing network transmission time-delayed information.
(5) client computer is finally exported adjusted time data.
(6) when the unit (as: second) of network delay above minimal definition, client computer will stop output this time, directly carry out next round data analysis and output, to avoid the output of invalid data.
Four, description of drawings:
Accompanying drawing is a computer program flow chart of the present invention.Among the figure: 1. flow process is: operation system produces a countdown data message according to actual conditions, reports to server.2. flow process is: client computer is initiated TCP/IP Socket connection request to server.3. flow process is: the connection request of server customer in response machine, set up the Socket connecting tube.4. flow process is: the Socket connecting tube of client computer by setting up with server, and in time monitor local time information and report this information to server.5. flow process is: server is to Web broadcast countdown data message.6. flow process is: client computer receives the broadcast message of server, after calculating, the accurate countdown data of adjustment, and the output result.
Five, embodiment:
(1) preparation:
(1) software distribution package of acquisition present technique: server end broadcast packages, client software bag.
(2) in server system software, quote, comprise the server end broadcast packages; In client machine system software, quote, comprise the client software bag.
(3) in the exploitation of software systems, the api interface method that invoking server end broadcast packages, client software bag provide.
(2) server system software development:
(5) exploitation server service treatment system is used Socket API to set up with the long of client computer and is connected.
(6) data of subscribing client transmission, when the first byte of the binary data packets that sends when client computer is 0x08, the data of this packet are the local zone time data of client computer, obtain the local zone time data, the SetRemoteTime of invoking server end broadcast packages (Socket remote) method.
(7) when service needed broadcasting countdown, the time numerical value that operation system calculates countdown calls: SendCountdown (traffic ID, time numerical value) then.
(3) client machine system software development:
(8) exploitation client computer transaction processing system uses Socket API and server resume length to be connected.
(9) start " changing monitoring " function, that is: call the API:StartTimeTask () of client software bag to client computer report local zone time and this machine time.
(10) client computer operation system, monitoring server Socket broadcast data when receiving data, calls the API:long countdown=GetCountdown (Socket remote) of client software bag.The countdown return value is the accurate countdown numerical value of having been handled by present technique.
(11) decision of client computer operation system is exported and is not exported behavior.
Claims (5)
1. network countdown precise synchronization technology is characterized in that: server notification All Clients countdown precise synchronization shows on the network, and error is in the millisecond rank.
2. " demonstration of client computer countdown precise synchronization " in claim 1, it is characterized in that: client computer receives the countdown time of server notification by Network Transmission, be presented on the terminal output equipment of client computer with forms such as " countdowns 000 second ", the notice time accuracy error of the content of its output and server is in the millisecond rank.
3. claim 2 described " the accuracy error is in the millisecond rank " is characterized in that: the time of server notification, transmit client computer accurate Calculation network communication transmission delay, and the time of automatic corrective networks communication time-delay, and accurately demonstration by network communication.
Claim 3 described " automatic time of corrective networks communication time-delay; and accurately show ", it is characterized in that: client computer is after receiving the network communication data, by TCP/IP Socket communication underlying protocol technology, the delay time of accurate Calculation network communication transmission course, revise the announcement information of server then, calculate new countdown data; When the communication transmission delay surpasses 1 second, client computer adopts the mode of jumping and showing, directly by calculating, on the accurate countdown time point of the next one, shows next result.
5. economic rights require 4 described " modes of jumping and showing ", it is characterized in that: client computer is after receiving the countdown time data of server notification, the countdown time data is proofreaied and correct in computing network communication time-delay, time after proofreading and correct surpasses 1 second, and client computer is directly skipped and this time shown output function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101344510A CN102215224A (en) | 2011-05-20 | 2011-05-20 | Network countdown accurate-synchronization technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101344510A CN102215224A (en) | 2011-05-20 | 2011-05-20 | Network countdown accurate-synchronization technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102215224A true CN102215224A (en) | 2011-10-12 |
Family
ID=44746355
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011101344510A Pending CN102215224A (en) | 2011-05-20 | 2011-05-20 | Network countdown accurate-synchronization technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102215224A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102982477A (en) * | 2012-11-16 | 2013-03-20 | 江苏乐买到网络科技有限公司 | Online group buying system with function of synchronous accurate network countdown |
CN104574118A (en) * | 2015-01-09 | 2015-04-29 | 西安融成科技有限公司 | Multi-party synchronous timing system and method |
CN105871647A (en) * | 2016-06-17 | 2016-08-17 | 武汉斗鱼网络科技有限公司 | Time asynchronous reference method and system for communication of client with server |
CN106603185A (en) * | 2016-11-28 | 2017-04-26 | 芜湖智美网络科技有限公司 | Webpage countdown method based on time of server |
CN106685755A (en) * | 2016-12-12 | 2017-05-17 | 上海斐讯数据通信技术有限公司 | Online bidding control method, online bidding control system and online bidding platform |
CN107153987A (en) * | 2017-05-12 | 2017-09-12 | 上海斐讯数据通信技术有限公司 | A kind of price competing method and system for avoiding the time difference |
CN107968950A (en) * | 2016-10-20 | 2018-04-27 | 上海交通大学 | A kind of multimedia resource synchronized push method based on heterogeneous network |
CN108564416A (en) * | 2018-04-25 | 2018-09-21 | 掌阅科技股份有限公司 | The processing method of activity countdown in limited time, computing device, storage medium |
CN109976608A (en) * | 2019-03-15 | 2019-07-05 | 努比亚技术有限公司 | A kind of application clocking method, equipment and computer readable storage medium |
CN110505274A (en) * | 2019-07-12 | 2019-11-26 | 海能达通信股份有限公司 | Long-range countdown method, communication terminal and the device with store function |
CN111159612A (en) * | 2019-12-27 | 2020-05-15 | 广州华多网络科技有限公司 | Countdown method, system, device, computer equipment and storage medium |
CN111738813A (en) * | 2020-01-20 | 2020-10-02 | 山东佳联电子商务有限公司 | Network property right system transaction countdown method for point-to-shoot network |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1928947A (en) * | 2006-07-24 | 2007-03-14 | 宝鸡市公安局交通警察支队 | Real-time synchronized control method and system for no-protocol traffic lights and reverse-timing |
CN101315543A (en) * | 2008-06-28 | 2008-12-03 | 黄更 | Network digital alarm clock, long-range control method and signal synchronous transmission method |
CN101656606A (en) * | 2008-08-20 | 2010-02-24 | 华为技术有限公司 | Time synchronization method, time synchronization device and time synchronization system |
-
2011
- 2011-05-20 CN CN2011101344510A patent/CN102215224A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1928947A (en) * | 2006-07-24 | 2007-03-14 | 宝鸡市公安局交通警察支队 | Real-time synchronized control method and system for no-protocol traffic lights and reverse-timing |
CN101315543A (en) * | 2008-06-28 | 2008-12-03 | 黄更 | Network digital alarm clock, long-range control method and signal synchronous transmission method |
CN101656606A (en) * | 2008-08-20 | 2010-02-24 | 华为技术有限公司 | Time synchronization method, time synchronization device and time synchronization system |
Non-Patent Citations (1)
Title |
---|
DAVID L. MILLS: "Network Time Protocol (Version 3)Specification,Impl", 《RFC1305》, 31 March 1992 (1992-03-31) * |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102982477A (en) * | 2012-11-16 | 2013-03-20 | 江苏乐买到网络科技有限公司 | Online group buying system with function of synchronous accurate network countdown |
CN104574118A (en) * | 2015-01-09 | 2015-04-29 | 西安融成科技有限公司 | Multi-party synchronous timing system and method |
CN105871647A (en) * | 2016-06-17 | 2016-08-17 | 武汉斗鱼网络科技有限公司 | Time asynchronous reference method and system for communication of client with server |
CN105871647B (en) * | 2016-06-17 | 2019-01-29 | 武汉斗鱼网络科技有限公司 | A kind of the time asynchronous contrast method and system of user end to server communication |
CN107968950A (en) * | 2016-10-20 | 2018-04-27 | 上海交通大学 | A kind of multimedia resource synchronized push method based on heterogeneous network |
CN106603185A (en) * | 2016-11-28 | 2017-04-26 | 芜湖智美网络科技有限公司 | Webpage countdown method based on time of server |
CN106685755A (en) * | 2016-12-12 | 2017-05-17 | 上海斐讯数据通信技术有限公司 | Online bidding control method, online bidding control system and online bidding platform |
CN107153987A (en) * | 2017-05-12 | 2017-09-12 | 上海斐讯数据通信技术有限公司 | A kind of price competing method and system for avoiding the time difference |
CN108564416A (en) * | 2018-04-25 | 2018-09-21 | 掌阅科技股份有限公司 | The processing method of activity countdown in limited time, computing device, storage medium |
CN109976608A (en) * | 2019-03-15 | 2019-07-05 | 努比亚技术有限公司 | A kind of application clocking method, equipment and computer readable storage medium |
CN109976608B (en) * | 2019-03-15 | 2021-07-23 | 努比亚技术有限公司 | Application timing method and device and computer readable storage medium |
CN110505274A (en) * | 2019-07-12 | 2019-11-26 | 海能达通信股份有限公司 | Long-range countdown method, communication terminal and the device with store function |
CN111159612A (en) * | 2019-12-27 | 2020-05-15 | 广州华多网络科技有限公司 | Countdown method, system, device, computer equipment and storage medium |
CN111159612B (en) * | 2019-12-27 | 2024-04-19 | 广州华多网络科技有限公司 | Countdown method, system, device, computer equipment and storage medium |
CN111738813A (en) * | 2020-01-20 | 2020-10-02 | 山东佳联电子商务有限公司 | Network property right system transaction countdown method for point-to-shoot network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102215224A (en) | Network countdown accurate-synchronization technology | |
US20220272170A1 (en) | Methods and apparatus to share online media impressions data | |
CN110430219B (en) | Method and system for self-adapting of multi-protocol Internet of things equipment | |
US8345561B2 (en) | Time monitor | |
US20010010059A1 (en) | Method and apparatus for determining travel time for data sent between devices connected to a computer network | |
CN103124263A (en) | Advertisement serving system, advertisement serving device and advertisement server | |
JP2011222049A5 (en) | ||
CN103595749A (en) | Internet advertisement scheduling method and device, internet advertisement system | |
CN102752395B (en) | A kind of on-line scheduling method of distributing for distributive data center real time business | |
CN102298542A (en) | Application program quality determination method and system | |
CN101771585A (en) | Network delay measuring equipment and method thereof | |
CN105141660A (en) | Stream media management method and system | |
CN103929341A (en) | Method, server and system for measuring network performance and network probe | |
CN107257369A (en) | A kind of Big Dipper short message cloud computing platform system | |
WO2007116343A3 (en) | Charging system and method for handling services within this system and entities thereof | |
CN106341339A (en) | End-to-end network flow control method | |
CN114172979A (en) | Message parsing method, platform, gateway and storage medium | |
CN113965488A (en) | Method and device for delayed acquisition of data packets, electronic device and storage medium | |
CN102056195A (en) | Quality of service (QoS) etermination method and radio access network equipment | |
CN105162687A (en) | WEB-based real-time message push method | |
WO2017181586A1 (en) | Method and electronic equipment for measuring distance between nodes | |
US20150222961A1 (en) | Tracking and measurement enhancements in a real-time advertisement bidding system | |
CN105471572A (en) | Synchronous time measurement method based on GOOSE message | |
CN102394790A (en) | On-line monitoring device and monitoring method of analog transmission line | |
US20060015432A1 (en) | Method for distributing financial data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20111012 |