CN101656606A - Time synchronization method, time synchronization device and time synchronization system - Google Patents

Time synchronization method, time synchronization device and time synchronization system Download PDF

Info

Publication number
CN101656606A
CN101656606A CN200810210836A CN200810210836A CN101656606A CN 101656606 A CN101656606 A CN 101656606A CN 200810210836 A CN200810210836 A CN 200810210836A CN 200810210836 A CN200810210836 A CN 200810210836A CN 101656606 A CN101656606 A CN 101656606A
Authority
CN
China
Prior art keywords
clock information
client
server
request
time
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
Application number
CN200810210836A
Other languages
Chinese (zh)
Inventor
张惠萍
杨健
陈国乔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200810210836A priority Critical patent/CN101656606A/en
Priority to PCT/CN2009/070921 priority patent/WO2010020120A1/en
Publication of CN101656606A publication Critical patent/CN101656606A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The embodiment of the invention discloses a time synchronization method, a time synchronization device and a time synchronization system. The time synchronization method comprises the following stepsthat: a client acquires clock information; and the client realizes time synchronization with a server according to the clock information. The client comprises a clock information acquisition unit anda clock management unit, wherein the clock information acquisition unit is used for acquiring the clock information, and the clock management unit is used for realizing the time synchronization with the server according to the clock information acquired by the clock information acquisition unit. In the embodiment of the invention, the client acquires the clock information and realizes the time synchronization with the server according to the clock information, so the time of the client and the time of the server can be kept synchronous so as to keep the time of a user and the time of the server synchronous and further strengthen the experience of the user.

Description

A kind of method for synchronizing time, Apparatus and system
Technical field
The present invention relates to the communications field, relate in particular to a kind of method for synchronizing time, Apparatus and system.
Background technology
Mobile Broadcast Services (Mobile Broadcast Service; BCAST) be the notion of a mobile broadband digital broadcasting service putting forward of Open Mobile Alliance; in broadcasting; it comprises the broadcast mode and the multileaving mode of traditional one-to-many; it is devoted to inventions such as service discovering, electronics programming, guiding service, charging, content protecting; formulate concrete service enabler, and guarantee that it is independent of bearing bed.Whole BCAST system partly is made up of funtion part, protocol section and bearer network.
Open Mobile Alliance standard code, mobile video broadcast business are necessary for the user business guide (Service Guide, SG) information are provided.Business guide provides the information of broadcasted content for the user, comprise channel designation, programm name, time started, concluding time, paying standard etc., the user can carry out previewing programs, service order according to the relevant information that provides in the business guide and quit the subscription of, operation such as broadcast program.Can adopt by network side and business guide information be sent to all users that carried out registration at broadcasting service provider place, also can adopt by the user initiatively to its issuing service guide information of network side request in the mode of broadcasting.
In the prior art, the user watches that by business guide the flow process of program is: content server sends to service guideline server with programme information, and programme information comprises channel designation, programm name, time started, concluding time etc.; Service guideline server generates business guide according to the programme information that content server provides, and the business guide that generates is sent to client; Client is shown to the user with business guide, user's program that selection will be watched according to business guide; Indication receives user selected program to client according to business guide.
In realizing process of the present invention, the inventor finds that there is following defective at least in technique scheme:
For the system that does not realize time synchronized, for example asynchronous Wideband Code Division Multiple Access (WCDMA) inserts (Wideband Code Division Multiple Access, WCDMA) system, client and BCAST server time diversity ratio are bigger, client inserts program by the BCAST business guide, to make the user watch program, and then influence user experience in the correct time.
Summary of the invention
The embodiment of the invention provides a kind of method for synchronizing time, Apparatus and system, and the technical scheme of using the embodiment of the invention to provide can realize the time synchronized between the client and server, thus realize between terminal and the server synchronously.
The purpose of the embodiment of the invention is achieved through the following technical solutions:
A kind of method for synchronizing time comprises:
Client is obtained clock information;
Client realizes with server time synchronous according to above-mentioned clock information.
A kind of client comprises:
The clock information acquiring unit is used to obtain clock information;
Clock Managing Unit is used for realizing with server time synchronous according to the above-mentioned clock information that the clock information acquiring unit obtains.
A kind of server comprises:
Clock provides the unit, is used for from NTP (Network Time Protocol) server, Mobile Broadcast Services server, content server, arbitrary acquisition clock information of GPS module independently;
The above-mentioned clock information that provides the unit to provide to the client tranmitting data register is provided the clock information transmitting element.
A kind of clock synchronization system comprises:
Server is used for to client tranmitting data register information;
Client is used to obtain clock information, realizes with above-mentioned server time synchronous according to above-mentioned clock information.
The above technical scheme that provides from the embodiment of the invention as can be seen, because client is obtained clock information and is realized with server time synchronous according to above-mentioned clock information, the time of client and the time of server are kept synchronously, thereby can make the time synchronized of user and service device, and then strengthen user experience.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method for synchronizing time flow chart of the embodiment of the invention one;
Fig. 2 is the method for synchronizing time signaling diagram of the embodiment of the invention two;
Fig. 3 is the method for synchronizing time signaling diagram of the embodiment of the invention three;
Fig. 4 is the method for synchronizing time signaling diagram of the embodiment of the invention four;
Fig. 5 is the method for synchronizing time signaling diagram of the embodiment of the invention five;
Fig. 6 is the method for synchronizing time flow chart of the embodiment of the invention six;
Fig. 7 is the method for synchronizing time flow chart of the embodiment of the invention seven;
Fig. 8 is the method for synchronizing time signaling diagram of the embodiment of the invention eight;
Fig. 9 is the composition schematic diagram of the client of the embodiment of the invention;
Figure 10 is the composition schematic diagram of the server of the embodiment of the invention;
Figure 11 is the composition frame chart of the clock synchronization system of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention provides a kind of method for synchronizing time, Apparatus and system, and the technical scheme of using the embodiment of the invention to provide can realize the time synchronized between the client and server, thus realize between terminal and the server synchronously.
Above-mentioned terminal comprises client and user.Client can be to realize the equipment of Mobile Broadcast Services, for example mobile phone.
Embodiment one
The present embodiment client is obtained clock information and synchronous with server time according to above-mentioned clock information realization, and the time of client and the time of server are kept synchronously.
Be elaborated below in conjunction with accompanying drawing.
Step 101: client is obtained clock information;
Client can be obtained clock information by local bottom clock, also can obtain clock information by server.
Obtaining clock information by local bottom clock can be that client is obtained the signaling message that comprises clock information in the mobile communications network.
Obtaining clock information by server can be that user end to server sends request, and client is obtained the clock information that server sends according to request; It also can be the clock information that obtains the server timed sending.
The request that user end to server sends can be business guide request of obtaining or business guide update request, and client is obtained clock information by the business guide that reception comprises clock information.The request that user end to server sends also can be the time synchronized request, and client is obtained the clock information that server sends according to the time synchronized request.Can also comprise in the above-mentioned time synchronized request and keep more newer field, whether this field indication client requires to keep upgrading, and client is obtained and also comprised behind the clock information and obtain server according to keeping newer field more to judge that client requires to keep to upgrade the clock information of the renewal that the back sends.
Client is obtained the clock information of server timed sending can be by obtaining the arbitrary clock information that obtains in the cell broadcasting system message that comprises clock information, PUSH message, the unstructured supplementary data traffic message.And client is obtained the Media Stream that the cell broadcasting system message that comprises clock information can be client reception cell broadcasting system, extracts clock information from Media Stream.
Step 102: client realizes with server time synchronous according to described clock information.
Client according to clock information realize with server time can be that client makes up new clock information according to clock information and replaces local clock information synchronously, and the clock information after will replacing offers the user, makes the time of user and server keep synchronous.
Client realizes also can clock information and local clock information being set up mapping for client synchronously with server time according to clock information, and the clock information after the mapping is offered the user, makes the time of user and server keep synchronously.
Present embodiment is because client is obtained clock information and synchronous with server time according to above-mentioned clock information realization, the time of client and the time of server are kept synchronously, thereby can make the time synchronized of user and service device, and then strengthen user experience.
Embodiment one is to realizing and the summation of server time method for synchronous, providing respective embodiments at the different modes that obtains clock information below.
Embodiment two
When present embodiment provided a kind of client to initiate business guide request of obtaining or business guide update request, server was handed down to clock information the realization client and the synchronous scheme of server time of client with business guide.Basic thought is in the interactive service guide, and after user end to server was initiated business guide request of obtaining or business guide update request, server was handed down to client with clock information together with business guide.
Referring to Fig. 2, concrete steps are as follows:
Step 201: user end to server sends business guide request of obtaining or business guide update request;
Client can use request message to initiate request, is that a request message format is given an example below:
Figure A20081021083600091
Above-mentioned request message is made up of message header and message body two parts, has comprised contents such as service guideline server domain name and port, message body type, message body length, client-side information, initiation request date and time in the header field.Message body is an extend markup language (Extensible Markup Language, XML) document, the content that has comprised request, wherein "<type〉sgdu+clock_NTP</tpye〉" expression request server response service guide delivery unit (Service Guide Delivery Unit, SGDU) and NTP (Network Time Protocol) (Network Time Protocol, NTP) temporal information, wherein "<fragment_ID〉www.example.com/service/101</fragment_ID〉" the expression professional burst of being asked, this burst is encapsulated in the business guide delivery unit.
Step 202: server sends business guide to client and obtains response or business guide renewal response;
Server receives that the request back is by returning the business guide data and the clock information of response in load.The server responsive state is the request message of " 200OK ", returns response contents according to request message.Following message format is giving an example of server response message.
Figure A20081021083600101
Server returns the business guide burst and the NTP temporal information of being asked according to the request message of sending of client, and these information are carried in message body.Wherein the NTP temporal information is made up of NTP head and four timestamps, totally 48 bytes.The NTP data format is:
1 2 3
0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|LI?|?VN |Mode?| Stratum | Poll | Precision |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Root?delay |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Root?Dispersion |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Reference?Identifier |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Reference?Timestamp (64) |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Originate?Timestamp (64) |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Receive?Timestamp (64) |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Transmit?Timestamp (64) |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| |
| Authenticator (optional)?(96) |
| |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Each data item specifies as follows in the above-mentioned NTP data format:
1) NTP head accounts for 16 bytes, is respectively: LI: leap year designator (2bit); VN: version number (3bit); Stratum: layer (8bit); Mode: pattern (3bit); Poll Interval: polling interval (8bit); Precision: precision (8bit); Root delay: root postpones (32bit); Root Dispersion: root residual quantity (32bit); Reference Identifier: reference identifier (32bit).
2) four timestamps account for 32 bytes, are respectively: Reference Timestamp: the reference time is stabbed (64bit); Originate Timestamp: original time stabs (64bit); Receive Timestamp: time of reception stabs (64bit); Transmit Timestamp: the delivery time is stabbed (64bit).
3) Authenticator: authenticator, option, (96bit).
The NTP data encapsulate with form or the binary format of XML usually.With the XML form is example, and each data item of NTP can be used as element<clock_NTP〉the form of daughter element be placed in the http response message body.After client is received response message, resolve these elements, rebuild the NTP data, and then carry out time synchronizing.
Clock information also can be used as a burst in the business guide, promptly increases a clock information burst in business guide newly, and the same with other business guide bursts, this burst also has unique sign.The user can obtain lock in time by acquisition request or refresh clock information burst.
Above message format and the mode of carrying data only are for example, also can realize that the thought that relates to is consistent by other message and the mode of carrying." Date " field is represented the date and time that server initiates a message in the 200OK message header field of server response in addition, for the less demanding situation of time precision, client also can with should the time as lock in time and server sync.
Step 203: client realizes with server time synchronous according to clock information after obtaining clock information.
According to clock information realize with server synchronously, dual mode can be arranged:
Mode one: after client is extracted clock information, will replace local clock information, and get final product with reference to the client terminal local clock when BCAST user needs temporal information according to the new clock information that this clock information makes up.
Mode two: client is set up mapping with clock information and local clock information, does not revise the client terminal local time, and the client terminal local time map to the needed time of BCAST user, is used for BCAST user.
The present embodiment client is by sending business guide request of obtaining or business guide update request to server, the business guide that comprises clock information that reception server sends, realize with server time synchronous according to clock information, and then can strengthen user experience so that terminal and server time are synchronous.
Embodiment two is that user end to server sends the method that request realizes time synchronized, sets forth a kind of server below by the embodiment of cell broadcasting system to client tranmitting data register information.
Embodiment three
It is a kind of by the implementation of cell broadcasting system to client tranmitting data register information that present embodiment provides.Basic thought is that server periodically or regularly issues clock information to client, and client is carried out synchronously after receiving clock information.The characteristics of this mode are not need to distinguish client, and all clients in the cell range can both be received clock information.
Referring to Fig. 3, idiographic flow is as follows:
Step 301: server regularly is transmitted to cell broadcasting system with clock information;
Server is usually periodically to cell broadcasting system forwarding time information.
Step 302: cell broadcasting system is encapsulated in clock information in the cell broadcast messages and broadcasts;
If clock information is excessive, can before encapsulation, clock information be compressed, issue after also clock message can being split into several cell broadcast messages numbering.
Step 303: client is monitored the CBCH of radio clock information, parses clock information after receiving cell broadcast information.
Client has only and has disposed the CBCH that relevant channel parameter can listen to radio clock information.Perhaps preset by equipment control, configuration mode, client the Cell Broadcast CB address of client by solidifying or the mode of manual configuration obtains the address of clock information.
Above-mentioned is to adopt Cell Broadcast CB to issue the mode of clock information, can also take other modes, as in the PUSH message mode form of clock information with XML being carried in the PUSH message body.Perhaps in the payload of cell broadcasting system message, carry clock information.Clock information can also be issued in the unstructured supplementary data traffic mode.
Step 304 is identical with step 203, repeats no more herein.
The present embodiment client obtains clock information by obtaining the cell broadcasting system message that comprises clock information, realize with server time synchronous according to clock information, further, client obtains clock information by obtaining the unstructured supplementary data traffic message that comprises clock information, realize with server time synchronous according to clock information, can make the time synchronized of client and server, and then make and the time synchronized of terminal and server strengthened user experience.
Embodiment three has set forth a kind of by the method for cell broadcasting system to the realization time synchronized of client tranmitting data register information, sets forth a kind of embodiment that issues clock information by the propelling movement mode to client below.
Embodiment four
Present embodiment provides a kind of method that issues the realization time synchronized of clock information by the propelling movement mode to client.Basic thought is that clock information is encapsulated in the PUSH message body with forms such as XML or binary systems, is issued to client by PUSH message.
Referring to Fig. 4, idiographic flow is as follows:
Step 401: server is given the propelling movement proxy gateway with clock information;
Step 402: the propelling movement proxy gateway is encapsulated in clock information in the relevant PUSH message and is issued to client;
Provide the example that a kind of PUSH message carries clock information below:
Figure A20081021083600141
Clock information is carried in the above-mentioned message body with XML form or binary form." To:sip:user@PushsenderAgent.domain.com in the header field of this message; Tag=ab8asdasd9 " indicated the destination address of PUSH message, this address can be the address of a client, also can be the address of a group.
Step 403: client receives that parsing clock information behind the PUSH message handles.
Parse step 404 behind the clock information with step 203, repeat no more herein.
In global system for mobile communications, can also utilize the unstructured supplementary data traffic system that clock information is provided, can realize that clock information carries in notification message by the mode that the unstructured supplementary data traffic that network side is initiated is notified.
The present embodiment client is obtained and is pushed proxy gateway and send the PUSH message that comprises clock information and obtain clock information, realize with server time synchronous according to clock information, can make the time synchronized of client and server, and then make and the time synchronized of terminal and server strengthened user experience.
Embodiment four has set forth and has a kind ofly issued the method for the realization time synchronized of clock information by the propelling movement mode to client, set forth below a kind of client by Internet request clock information to realize the embodiment of time synchronized.
Embodiment five
Present embodiment provides a kind of client by the method for Internet request clock information with the realization time synchronized.Main thought is that client is initiatively initiated solicited message, requires to obtain clock information, and server returns clock information according to request.
Referring to Fig. 5, the present embodiment flow process is as follows:
Step 501: user end to server is initiated the time synchronized request;
The time synchronized request is used for request and obtains clock information, and the form of request message is exemplified below:
Figure A20081021083600151
Can expand maintenance and upgrade (keep-update) field in above-mentioned request message, whether expression requires server regularly the clock of renewal to be sent to client after request.If this field value is " true ", then server regularly sends to client with the clock information that upgrades after receiving client request message.
Request message has multiple initiation mode, can be provided with according to actual needs.Just initiate a request at every turn when opening client automatically, also can manually initiate request etc. by the user as the user.
Step 502: server returns clock information according to client-requested;
After server was received the request that client initiates, with clock information, NTP data for example were carried in the 200OK message in response, and message format is exemplified below:
Clock information, NTP data for example are that the form with binary form or XML document is carried in the message body.
Step 503: if require server to keep upgrading in the client-requested, i.e. " keep-update=true ", then server can regularly issue the clock information of renewal to client.
Step 504: client realizes with server time synchronous according to clock information.
This step is identical with step 203, repeats no more herein.
The present embodiment client is obtained clock information by independent request command, realize with server time synchronous according to clock information, be independent of the business guide framework, make that need not rely on the business guide framework just can realize that terminal and server time are synchronous, have strengthened user experience.
Embodiment five provides a kind of client by the method for Internet request clock information with the realization time synchronized, sets forth a kind of client below and extracts clock information to realize the embodiment of time synchronized from broadcast program stream.
Embodiment six
Present embodiment provide a kind of client from broadcast program stream extracting time information to realize the method for time synchronized.Basic thought is to comprise timestamp in Media Stream or the program stream, and client extracts the temporal information in the Media Stream in the process of receiving media stream, uses for BCAST user.
Referring to Fig. 6, idiographic flow is as follows:
Step 601: client begins the Media Stream of receiving multimedia broadcast system;
Media Stream can transmit by different media transmission channel, adopts transport stream as digital video broadcast system, and the mobile Internet adopts RTP or RTCP Real-time Transport Control Protocol to transmit usually.
Step 602: client is extracted the airtime from Media Stream.
Comprise temporal information in the Media Stream, be used for medium control, system synchronization etc., as the timestamp in the real-time host-host protocol be generally used for audio/video flow synchronously and control such as fast forward and backward, so client can extract these temporal informations.
Step 603: client is handled the time that extracts, and is converted to the form that BCAST user needs.
Client is handled the time that extracts as required.
Step 604: the time after will changing offers BCAST user and uses.
BCAST can carry out different application with this time, as is shown to the user, perhaps should the time when the user carries out the operation of some time correlation as reference time etc.
The present embodiment client flows by receiving media, extracts clock information and be converted to the form that the user needs from Media Stream, and the time after the conversion is used for BCAST user, makes that BCAST user and server time are synchronous, has strengthened user experience.
Embodiment six has set forth a kind of client extracting time information from broadcast program stream and has set forth the embodiment that utilizes Network Synchronization time synchronized client in a kind of synchronous mobile communication network below to realize the method for time synchronized.
Embodiment seven
Present embodiment provides in a kind of synchronous mobile communication network, utilizes Network Synchronization time synchronized client to realize the method for time synchronized.In systems such as TD SDMA, CDMA 2000, reach synchronous by the global positioning system time between each base station.The basic thought of present embodiment is that the temporal information of extracting transmission network signaling aspect is used for BCAST user.
Referring to Fig. 7, idiographic flow is:
Step 701: client is obtained clock information by local bottom clock;
For example in the synchronous mobile communication network, can carry the temporal information of base station in signaling, client is obtained above-mentioned signaling information.
Step 702: client according to this time adjustment local zone time reach with the base station synchronously.
The present embodiment client obtains clock information by the signaling message that comprises clock information that obtains in the mobile communications network, reach time synchronized with mobile communications network according to the clock information correcting local time, can realize that client and server time are synchronous, and then strengthen user experience.
Embodiment seven has set forth a kind of Network Synchronization time synchronized client of utilizing to realize the method for time synchronized, sets forth a kind of client below by the embodiment of unstructured supplementary data traffic acquisition request clock information with the realization time synchronized.
Embodiment eight
Present embodiment has been set forth a kind of client by the method for unstructured supplementary data traffic acquisition request clock information with the realization time synchronized, main thought is that client is initiatively initiated the unstructured supplementary data traffic request, require to obtain clock information, server returns clock information according to request message.
Referring to Fig. 8, the flow process of present embodiment is:
Step 801: user end to server is initiated the unstructured supplementary data traffic request, comprises the clock request in the above-mentioned request message;
Request message can have multiple initiation mode, can be provided with according to actual needs.Just initiate a request at every turn when opening client automatically, also can manually initiate request etc. by the user as the user.
Step 802: server is according to request message, and the clock information of server is carried in response message, sends to client;
If server does not have clock information, then server is to ntp server acquisition request NTP temporal information, and ntp server returns the NTP time according to request.
Step 803 is identical with step 203, repeats no more herein.
The present embodiment client is by sending the unstructured supplementary data traffic request that comprises the clock request to server, obtain the clock information that server sends according to above-mentioned request, realize with server time synchronous according to clock information, can make the time synchronized of client and server, and then make and the time synchronized of terminal and server strengthened user experience.
Top embodiment has set forth method for synchronizing time, sets forth relevant apparatus below.
Referring to Fig. 9, a kind of client comprises:
Clock information acquiring unit 901 is used to obtain clock information;
Clock Managing Unit 902, the clock information that is used for obtaining according to clock information acquiring unit 901 is realized with server time synchronous.
Wherein, above-mentioned client also comprises:
Request transmitting unit is used for sending request to server;
Clock information acquiring unit 901 is used to obtain the clock information that server sends according to above-mentioned request.
Wherein, above-mentioned request transmitting unit is used for sending business guide request of obtaining or business guide update request to server, and clock information acquiring unit 901 comprises:
The business guide processing unit is used for the business guide that reception server sends, and above-mentioned business guide comprises clock information;
Extraction unit is used for extracting clock information from the above-mentioned business guide that the business guide processing unit receives.
Above-mentioned client can be used to realize above-mentioned method for synchronizing time, but be not limited to realize this method.
Referring to Figure 10, a kind of server comprises:
Clock provides unit 1001, is used for from NTP (Network Time Protocol) server, Mobile Broadcast Services server, content server, arbitrary acquisition clock information of GPS module independently;
The above-mentioned clock information that provides unit 1001 to provide to the client tranmitting data register is provided clock information transmitting element 1002.
Above-mentioned server can be used to realize above-mentioned method for synchronizing time, but be not limited to realize this method.
Set forth the relevant apparatus of realizing method for synchronizing time above, set forth a kind of clock synchronization system below.
Referring to Figure 11, a kind of clock synchronization system comprises:
Server 1101 is used for to client 1102 tranmitting data register information;
Client 1102 is used to obtain clock information, realizes and server 1101 time synchronized according to above-mentioned clock information.
The embodiment of the invention is because client is obtained clock information and synchronous with server time according to above-mentioned clock information realization, the time of client and the time of server are kept synchronously, thereby can make the time synchronized of user and service device, and then strengthen user experience.
Further, client is obtained clock information by local bottom clock or server, and realize with server time synchronous according to above-mentioned clock information, the time of client and the time of server are kept synchronously, thereby can make the time synchronized of user and service device, and then strengthen user experience.
Further, client is obtained the arbitrary acquisition clock information in the cell broadcasting system message of server by comprising clock information, PUSH message, the unstructured supplementary data traffic message, and realize with server time synchronous according to above-mentioned clock information, the time of client and the time of server are kept synchronously, thereby can make the time synchronized of user and service device, and then strengthen user experience.
Further, client obtains clock information by sending request to server, and realize with server time synchronous according to above-mentioned clock information, the time of client and the time of server are kept synchronously, thereby can make the time synchronized of user and service device, and then strengthen user experience.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises the steps: when carrying out
Client is obtained clock information;
Client realizes with server time synchronous according to above-mentioned clock information.
The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
More than a kind of method for synchronizing time, Apparatus and system that the embodiment of the invention provided are described in detail, the explanation of above embodiment just is used for help understanding method of the present invention and thought thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (19)

1, a kind of method for synchronizing time is characterized in that, comprising:
Client is obtained clock information;
Client realizes with server time synchronous according to described clock information.
2, method for synchronizing time according to claim 1 is characterized in that, the step that described client is obtained clock information is specially:
Client is obtained clock information by local bottom clock.
3, method for synchronizing time according to claim 1 is characterized in that, the step that described client is obtained clock information is specially:
Client is obtained clock information by server.
4, method for synchronizing time according to claim 1 is characterized in that, the step that described client is obtained clock information is specially:
Client is obtained clock information by multimedia broadcasting program stream.
5, method for synchronizing time according to claim 2 is characterized in that, described client is specially by the step that local bottom clock obtains clock information:
Client is obtained the signaling message in the mobile communications network, comprises clock information in the described signaling message.
6, method for synchronizing time according to claim 3 is characterized in that, described client is specially by the step that server obtains clock information:
Client is obtained the clock information of server timed sending.
7, method for synchronizing time according to claim 3 is characterized in that, client also comprises before obtaining clock information by server:
User end to server sends request;
Described client is specially by the step that server obtains clock information:
Client is obtained the clock information that described server sends according to described request.
8, method for synchronizing time according to claim 6 is characterized in that, the step that described client is obtained the clock information of server timed sending is specially:
Client is obtained arbitrary in the cell broadcasting system message that comprises clock information, PUSH message, the unstructured supplementary data traffic message.
9, method for synchronizing time according to claim 7 is characterized in that, described request is business guide request of obtaining or business guide update request, and the step that described client is obtained the clock information that described server sends according to described request is specially:
Client receives the business guide that described server sends, and described business guide comprises clock information.
10, method for synchronizing time according to claim 7 is characterized in that, described request is the time synchronized request, and the step that described client is obtained the clock information that described server sends according to described request is specially:
Client is obtained the clock information that described server sends according to described time synchronized request.
11, method for synchronizing time according to claim 10 is characterized in that, described time synchronized request also comprises and keeps more newer field;
Client also comprises after obtaining the clock information of described server according to described time synchronized request transmission:
Client obtain described server according to described maintenance more newer field judge that client requires to keep to upgrade the clock information of the renewal that the back sends.
12, method for synchronizing time according to claim 7 is characterized in that, described request is the unstructured supplementary data traffic request,
The step that described client is obtained the clock information that described server sends according to described request is specially:
Client is obtained the clock information that described server sends according to described unstructured supplementary data traffic request.
According to each described method for synchronizing time of claim 1 to 12, it is characterized in that 13, described client is specially according to the step that described clock information is realized and server time is synchronous:
Client makes up new clock information according to described clock information and replaces local clock information, and the clock information after replacing is offered the user.
According to each described method for synchronizing time of claim 1 to 12, it is characterized in that 14, described client is specially according to the step that described clock information is realized and server time is synchronous:
Client is set up mapping with described clock information and local clock information, and the clock information after the mapping is offered the user.
15, a kind of client is characterized in that, comprising:
The clock information acquiring unit is used to obtain clock information;
Clock Managing Unit is used for realizing with server time synchronous according to the described clock information that described clock information acquiring unit obtains.
16, client according to claim 15 is characterized in that, also comprises:
Request transmitting unit is used for sending request to server;
Described clock information acquiring unit is used to obtain the clock information that described server sends according to described request.
17, client according to claim 16 is characterized in that, the described request transmitting element is used for sending business guide request of obtaining or business guide update request to server, and described clock information acquiring unit comprises:
The business guide processing unit is used to receive the business guide that described server sends, and described business guide comprises clock information;
Extraction unit is used for extracting clock information from the described business guide that described business guide processing unit receives.
18, a kind of server is characterized in that, comprising:
Clock provides the unit, is used for from NTP (Network Time Protocol) server, Mobile Broadcast Services server, content server, arbitrary acquisition clock information of GPS module independently;
The clock information transmitting element is used for sending the described clock information that described clock provides the unit to provide to client.
19, a kind of clock synchronization system is characterized in that, comprising:
Server is used for to client tranmitting data register information;
Client is used to obtain clock information, realizes with described server time synchronous according to described clock information.
CN200810210836A 2008-08-20 2008-08-20 Time synchronization method, time synchronization device and time synchronization system Pending CN101656606A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200810210836A CN101656606A (en) 2008-08-20 2008-08-20 Time synchronization method, time synchronization device and time synchronization system
PCT/CN2009/070921 WO2010020120A1 (en) 2008-08-20 2009-03-20 Method, device and system for synchronizing time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810210836A CN101656606A (en) 2008-08-20 2008-08-20 Time synchronization method, time synchronization device and time synchronization system

Publications (1)

Publication Number Publication Date
CN101656606A true CN101656606A (en) 2010-02-24

Family

ID=41706837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810210836A Pending CN101656606A (en) 2008-08-20 2008-08-20 Time synchronization method, time synchronization device and time synchronization system

Country Status (2)

Country Link
CN (1) CN101656606A (en)
WO (1) WO2010020120A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010145307A1 (en) * 2009-10-21 2010-12-23 中兴通讯股份有限公司 Time synchronization realization method and device thereof
CN102215224A (en) * 2011-05-20 2011-10-12 深圳市金槌拍卖行有限公司 Network countdown accurate-synchronization technology
CN102546726A (en) * 2010-12-31 2012-07-04 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted time synchronization serving method and system
CN102739446A (en) * 2012-06-27 2012-10-17 中兴通讯股份有限公司 Method and device for selecting network time protocol (NTP) servers
CN103916231A (en) * 2014-03-25 2014-07-09 汉柏科技有限公司 Cloud computing platform and server time synchronization method thereof
CN103945237A (en) * 2014-04-23 2014-07-23 海信集团有限公司 Clock synchronization method and system, digital television equipment and EPG server
CN106656389A (en) * 2016-10-24 2017-05-10 浙江蓝鸽科技有限公司 Synchronization cloud network data transmission control method and control system thereof
CN109428662A (en) * 2017-08-25 2019-03-05 北京国双科技有限公司 Time deviation statistical method and device
CN110034913A (en) * 2018-01-12 2019-07-19 南京计然信息技术有限公司 A kind of automatic time synchronization method of passenger flow counting terminal

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291843B (en) * 2019-07-23 2023-03-31 中国移动通信有限公司研究院 Clock information acquisition method, clock information transmission method, terminal and network side equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100433593C (en) * 2002-05-21 2008-11-12 中兴通讯股份有限公司 Method of time synchronization in broad band CDMA
CN1501713A (en) * 2002-11-12 2004-06-02 北京中视联数字系统有限公司 Digital television front end server clock synchronizing method
CN100492944C (en) * 2004-06-24 2009-05-27 华为技术有限公司 Time synchronization in positioning system
CN100421495C (en) * 2005-06-27 2008-09-24 华为技术有限公司 Method and device synchronous operating time in equipment management
CN101043315B (en) * 2006-06-12 2011-08-03 华为技术有限公司 Network clock synchronous device, system and method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010145307A1 (en) * 2009-10-21 2010-12-23 中兴通讯股份有限公司 Time synchronization realization method and device thereof
CN102546726A (en) * 2010-12-31 2012-07-04 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted time synchronization serving method and system
CN102546726B (en) * 2010-12-31 2015-10-07 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted time synchronization serving method and system
CN102215224A (en) * 2011-05-20 2011-10-12 深圳市金槌拍卖行有限公司 Network countdown accurate-synchronization technology
CN102739446A (en) * 2012-06-27 2012-10-17 中兴通讯股份有限公司 Method and device for selecting network time protocol (NTP) servers
CN102739446B (en) * 2012-06-27 2017-08-01 南京中兴新软件有限责任公司 The method and apparatus for selecting Network Time Protocol server
CN103916231A (en) * 2014-03-25 2014-07-09 汉柏科技有限公司 Cloud computing platform and server time synchronization method thereof
CN103945237A (en) * 2014-04-23 2014-07-23 海信集团有限公司 Clock synchronization method and system, digital television equipment and EPG server
CN106656389A (en) * 2016-10-24 2017-05-10 浙江蓝鸽科技有限公司 Synchronization cloud network data transmission control method and control system thereof
CN109428662A (en) * 2017-08-25 2019-03-05 北京国双科技有限公司 Time deviation statistical method and device
CN110034913A (en) * 2018-01-12 2019-07-19 南京计然信息技术有限公司 A kind of automatic time synchronization method of passenger flow counting terminal

Also Published As

Publication number Publication date
WO2010020120A1 (en) 2010-02-25

Similar Documents

Publication Publication Date Title
CN101656606A (en) Time synchronization method, time synchronization device and time synchronization system
CN1890969B (en) System and associated terminal, method and computer program product for providing broadcasting content
CN101088236B (en) System and method for synchronizing a transport stream in a single frequency network
US10652849B2 (en) Using broadcast physical layer for one-way time transfer of universal coordinated time to receivers
CN101682410B (en) Base station synchronization for a single frequency network
CN101049014B (en) Auxiliary content handling over digital communication systems
CN101669309A (en) Method and apparatus for synchronizing notification messages
US20090110132A1 (en) System and method for re-synchronization of a pss session to an mbms session
CN101557267A (en) Method for informing message presentation way in BCAST and device thereof
JP2014519732A (en) Method and apparatus for transmitting / receiving broadcast service in digital broadcasting system, and system thereof
CN1859526B (en) Method for realizing stream media aualogue live telecast, stream media server and content management system
KR102675843B1 (en) Transmitting devices, receiving devices and data processing methods
CN100536385C (en) Method for clock synchronization of mobile multimedia broadcast receiving terminal
CN103098486A (en) Method of DVB-T2 broadcasting with insertion of regional content and device used in the method
Concolato et al. Synchronized delivery of multimedia content over uncoordinated broadcast broadband networks
CN100473171C (en) Clock synchronizing method in broadcast network
CN1528070B (en) Method and system for managing remote clients in a network constituted by a central server
CN101043645B (en) Stream media program interactive realization method and system thereof
CN1960435B (en) Method and system for synchronizing broadcast time of mobile multimedia
TWI393431B (en) Mobile tv system and method for synchronizing the rendering of streaming services thereof
CN101854528B (en) Method, system and device for realizing China mobile multi-media broadcasting technology
CN101188740A (en) Multicast method for living broadcast network TV
CN102026094B (en) Multimedia message service processing method, multimedia message center and mobile communication system
CN114615631A (en) Clock synchronization method, device, system and computer readable storage medium
CN105681375A (en) Updating method and device for business notification information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100224