CN105933877B - The time adjusting method and device of terminal - Google Patents

The time adjusting method and device of terminal Download PDF

Info

Publication number
CN105933877B
CN105933877B CN201610191918.8A CN201610191918A CN105933877B CN 105933877 B CN105933877 B CN 105933877B CN 201610191918 A CN201610191918 A CN 201610191918A CN 105933877 B CN105933877 B CN 105933877B
Authority
CN
China
Prior art keywords
terminal
short message
time
status information
communication status
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.)
Active
Application number
CN201610191918.8A
Other languages
Chinese (zh)
Other versions
CN105933877A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610191918.8A priority Critical patent/CN105933877B/en
Publication of CN105933877A publication Critical patent/CN105933877A/en
Application granted granted Critical
Publication of CN105933877B publication Critical patent/CN105933877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
    • H04W4/185Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals by embedding added-value information into content, e.g. geo-tagging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/004Synchronisation arrangements compensating for timing error of reception due to propagation delay

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of time adjusting methods of terminal, which comprises to the short message of first terminal sending time synchronization request;When it includes preset sync key word that the first terminal, which detects the short message, the synchronization short message that first terminal returns is received, the synchronous short message includes the message time of return value of first terminal;The synchronous short message is parsed, and adjusts the time of local terminal according to the time value of parsing.The present invention can be automatically performed the adjustment of time by the auxiliary of other terminals on the basis of not influencing Short Message Mobile Originated in the prior art, easy to operate, and accuracy is high.

Description

The time adjusting method and device of terminal
Technical field
The invention belongs to the communications field more particularly to the time adjusting methods and device of terminal.
Background technique
Time display function is typically provided in terminal (such as smart phone).It can be convenient by terminal display screen It checks the current time, or the function of setting and time correlation, including alarm clock calling etc..However, in the use of terminal device In the process, the time inaccuracy of terminal is led to due to system, or since terminal power down time is more than end after certain time length The set time when display factory of end.In order to show orthochronous, need to adjust the time of terminal.
Adjustment for terminal time is to obtain the time of network calibration server as school by the way of more at present Between punctual.When terminal can not connect network, then user is needed to manually adjust the time of terminal, operation is more troublesome, and Accuracy is not high.
Summary of the invention
The purpose of the present invention is to provide a kind of time adjusting method of terminal, with solve the prior art adjust terminal when Between when, operation is more troublesome, and the problem that accuracy is not high.
In a first aspect, the embodiment of the invention provides a kind of time adjusting methods of terminal, which comprises
To the short message of first terminal sending time synchronization request;
When it includes preset sync key word that the first terminal, which detects the short message, receive what first terminal returned Synchronous short message, the synchronous short message includes the message time of return value of first terminal;
It parses the synchronous short message, and synchronizes according to the time resolution that the time value of parsing adjusts local terminal short Message, and according to the time of the time value of parsing adjustment local terminal.
With reference to first aspect, in the first possible implementation of first aspect, the synchronization message further includes first Network communication status information corresponding delay time of the terminal when returning to synchronous short message, the time value tune according to parsing The time of whole local terminal specifically:
The time value of parsing and the delay time are overlapped, local terminal is adjusted according to the superimposed time Time.
With reference to first aspect, in second of possible implementation of first aspect, in the time value according to parsing After the time step for adjusting local terminal, the method also includes:
Verification short message is sent to first terminal, when the inspection short message includes local terminal when verification message is sent Between T1 so that local terminal time T1 when first terminal is sent according to the verification message, and receive that the verification is short to disappear Time T2 of first terminal obtains the short message delivery time when breath;
Receive first terminal return the short message delivery time, according to the short message delivery time to local terminal when Between be corrected.
Second aspect, the embodiment of the invention provides a kind of method that auxiliary terminal carries out time adjustment, the method packets It includes:
Receive the short message for the time synchronization request that second terminal is sent;
When detecting in the short message of the time synchronization request including preset sync key word, Xiang Suoshu second terminal hair Send synchronous short message so that second terminal parses the synchronous short message and adjusts the time of second terminal, it is described synchronize it is short Message includes the time value of auxiliary terminal when sending synchronous short message to second terminal.
In conjunction with second aspect, in the first possible implementation of second aspect, the method also includes:
Delay time is sent to second terminal, the delay time is network communication shape when sending the synchronous short message State information corresponding delay time.
It is sent out described to the second terminal in second of possible implementation of second aspect in conjunction with second aspect Synchronous short message is sent, so that after second terminal parses the synchronous short message and adjusts the time step of second terminal, institute State method further include:
The verification short message that second terminal is sent is received, second eventually when the inspection short message includes verification short message transmission The time T1 at end;
According to receive it is described verification short message when assist terminal time T2 and verification short message send when second The time T1 of terminal obtains the short message delivery time;
The short message delivery time is sent to second terminal, so that second terminal is corrected the time.
The third aspect, the embodiment of the invention provides a kind of time adjusting device of terminal, described device includes:
Request unit, for the short message to first terminal sending time synchronization request;
Short message receiving unit includes preset sync key word for detecting the short message in the first terminal When, the synchronization short message that first terminal returns is received, the synchronous short message includes first when returning to the synchronous short message The time value of terminal;
Adjustment unit is parsed, adjusts local terminal for parsing the synchronous short message, and according to the time value of parsing Synchronous short message described in time resolution, and according to the time of the time value of parsing adjustment local terminal.
In conjunction with the third aspect, in the first possible implementation of the third aspect, the synchronization message further includes first Network communication status information corresponding delay time of the terminal when returning to synchronous short message, the parsing adjustment unit are specifically used In:
The time value of parsing and the delay time are overlapped, local terminal is adjusted according to the superimposed time Time.
Fourth aspect, the embodiment of the invention provides the device that a kind of auxiliary terminal carries out time adjustment, described device packets It includes:
Request receiving module, the short message of the time synchronization request for receiving second terminal transmission;
Sending module is detected, includes preset sync key word in the short message for detecting the time synchronization request When, Xiang Suoshu second terminal sends synchronous short message, so that second terminal parses the synchronous short message and adjusts second eventually The time at end, the synchronous short message include the time value of auxiliary terminal when sending synchronous short message to second terminal.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, described device further include:
Delay time sending module, for sending delay time to second terminal, the delay time is that transmission is described same Walk network communication status information corresponding delay time when short message.
In the present invention, short message is sent to first terminal by second terminal, first terminal, which detects the short message, is No includes preset sync key word, and returning if including sync key word in the short message to second terminal includes to return The time value of the first terminal of the synchronous short message is returned, second terminal parses the synchronous short message, according to the time of parsing The time of value adjustment second terminal.So that the present invention is on the basis for not influencing Short Message Mobile Originated in the prior art On, it can be automatically performed the adjustment of time by the auxiliary of first terminal, it is easy to operate, and also accuracy is high.
Detailed description of the invention
Fig. 1 is the implementation flow chart of the time adjusting method for the terminal that first embodiment of the invention provides;
Fig. 2 is the implementation flow chart of the time adjusting method for the terminal that second embodiment of the invention provides;
Fig. 3 is the implementation flow chart of the time adjusting method for the terminal that third embodiment of the invention provides;
Fig. 4 is the structural schematic diagram of the time adjusting device for the terminal that fourth embodiment of the invention provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The time adjusting method and device for being designed to provide a kind of terminal of the embodiment of the present invention, to solve the prior art In to first terminal carry out time adjustment when, need by way of manually adjusting, user checks the current time, then at end The time is adjusted in end.Since user checks that the time needs to expend the time to the process for completing adjustment, this adjustment Mode is other than operation is more troublesome, it is also possible to because of the time that adjustment process expends, so that the time adjusted is accurate It spends not high.In order to overcome the problems referred above, it is specifically described with reference to the accompanying drawing.
Embodiment one:
Fig. 1 shows the implementation process of the time adjusting method of the terminal of first embodiment of the invention offer, and details are as follows:
In step s101, short message of the second terminal to first terminal sending time synchronization request.
Specifically, first terminal described in the embodiment of the present invention and second terminal, can be smart phone etc. with shifting The terminal device of dynamic communication module.The mobile communication module refers to transmittable and reception short message gsm module etc..Wherein, One terminal is the terminal of auxiliary adjustment, and second terminal is the terminal for needing to carry out time adjustment.
The second terminal can be the terminal of not data network.For example, considering the use habit of user, terminal When not opening data set meal, need second terminal being adjusted to the standard time.
Alternatively, the time of second terminal and first terminal is not the standard time, need first terminal and second terminal Time be adjusted to the identical time, consequently facilitating allowing first terminal and second terminal accurate according to the time of agreement Complete operation.
The second terminal sends the short message of synchronization request to first terminal, can be by second terminal in short message editing circle The short message that face lower input time synchronizes is the same as appearance.The short message content includes the keyword for time synchronization, for example " time is same Step ", " time calibration " etc., can flexibly set according to the needs of users.It is of course also possible to be obtained by clicking specific application program It takes and sends short message sending permission, to effectively complete the transmission of short message, the time that user inputs short message content can be saved, Further promote the efficiency of adjustment.
In step s 102, it includes preset sync key word that first terminal, which detects the short message, and Xiang Suoshu second is eventually End returns to synchronous short message, and the synchronous short message includes the time value of first terminal when returning to the synchronous short message.
Wherein, after content of short message of the first terminal to the synchronization request detects, if the short message Include sync key word in content, then return to synchronous short message to second terminal, includes described in return in the synchronous short message The time value of first terminal when synchronous short message.
It is settable for obtaining the application program of short message content in first terminal, short message content and specific pass to reading Keyword is matched, if being not matched to specific keyword, then it is assumed that currently received short message is normal short message, is not appointed Where reason.If being matched in short message content includes preset keyword, the time of first terminal is obtained, is returned to second terminal Synchronous short message is returned, the time value when short message of first terminal is returned is inserted into the synchronous short message, or can also To be sent to second terminal separately through short message.
For example first terminal, when returning to the synchronous short message, obtaining current sending time is " on March 10th, 2016 In 12 minutes and 18 seconds at 11 points in the morning ", the sending time that will acquire is sent to the second mobile terminal after being encoded.For example coding can Think that the direct-connected form of " 20160310111218 " is encoded.
Certainly, as an alternative embodiment, the first terminal can also be sent by artificial mode it is described Synchronous short message, for example can be sent in short message and the option for whether sending synchronization time is provided on interface, user is choosing the choosing Time value when sending can be sent jointly to second terminal by Xiang Hou.
In step s 103, second terminal receives and parses through the synchronous short message, and is adjusted according to the time value of parsing The time of the second terminal.
According to the angle of second terminal, then can be described as: the parsing synchronous short message, and according to the time value of parsing Synchronous short message described in the time resolution of local terminal is adjusted, and adjusts the time of local terminal according to the time value of parsing.Institute State second terminal described in local terminal i.e. step S103.
Certainly, in the angle of first terminal, can be described as: it includes pre- for detecting in the short message of the time synchronization request If sync key word when, Xiang Suoshu second terminal sends synchronous short message, so that second terminal parsing is described to synchronize short disappear It ceases and adjusts the time of second terminal, the synchronous short message includes auxiliary terminal when sending synchronous short message to second terminal Time value.First terminal described in the auxiliary terminal i.e. step S103.
After second terminal receives the synchronous short message, the time value for including in the short message is parsed, and according to solution The time value of analysis.Such as receive coding short message be " 20160310111218 ", then in sequence extract " year ", " moon ", " day ", " hour ", " minute ", " second " information, and the corresponding digit of each information is preset digit.It is obtained after parsing Time parsed at 11 points " on March 10th, 2016 in the morning 12 minutes and 18 seconds " and by the system time setting of second terminal when Between.
The present invention sends short message to first terminal by second terminal, first terminal detect the short message whether include Preset sync key word returns to synchronous short message, root to second terminal if including sync key word in the short message It is right in first terminal when sending the synchronous short message to second terminal according to the first terminal for including in the synchronous short message The time value answered, first terminal parse the synchronous short message, and the time of second terminal is adjusted according to the time value of parsing.To So that the present invention is on the basis of influencing Short Message Mobile Originated in the prior art, can by the auxiliary of other terminals, It is automatically performed the adjustment of time, it is easy to operate, and also accuracy is high.
Embodiment two:
Fig. 2 shows the implementation processes of the time adjusting method of the terminal of second embodiment of the invention offer, and details are as follows:
In step s 201, short message of the second terminal to first terminal sending time synchronization request.
In step S202, first terminal obtains active wireless network communications status information.
Specifically, first terminal of the present invention can be by way of network data, or by way of note data, obtain Take active wireless network communications status information.
The wireless communication status information, refers to the busy state of the server for forwarding short message, can basis The currently processed task amount of server indicates the wireless communication status information.
In addition, in order to the simplification wireless communication status information, it can be to the wireless communication state Information is classified, for example can be divided into ten classes according to the forwarding speed of short message, for inhomogeneous wireless communication state Information, corresponding different forwarding speed.
In step S203, first terminal is searched according to preset network communication status information table corresponding with delay time Current network communications status information corresponding delay time.
The network communication status information obtained in real time, by presetting network communication status information and delay time Corresponding table, searches corresponding delay time.
After classifying to network communication status information, the search efficiency of delay time can be further improved.
In step S204, first terminal returns to synchronous short message to second terminal, and the synchronous short message includes searching The delay time and return the synchronous short message when first terminal time value.
On the basis of example 1, the embodiment of the invention also includes delay time will be sent to second terminal.For example it looks into Finding current network communication status information is " busy ", and corresponding delay time is 1 minute, then, first terminal is 2016 It further include described prolong in the synchronous short message when 11 points of 18 seconds 12 minutes return synchronous short messages of the morning on March 10, The slow time further includes 1 minute delay information.
In step S205, when the second terminal parsing synchronization message obtains the message time of return value and delay Between.
When including the delay time in the synchronization short message that first terminal returns, second terminal parses to obtain corresponding The sending time of synchronous short message and delay time.
In step S206, second terminal is according to the adjustment of the accumulated value of the time of return value and delay time value The time of second terminal.
It, can be with after the delay time for reacting current network communications status information is added in adjustment time as correction value Obtain revised time, such as the short message sending time of first terminal are as follows: 12 minutes at 11 points in mornings 18 on March 10th, 2016 Second, delay time is 1 minute, then second terminal adjustment time value is at 11 points in the morning on March 10th, 2,016 13 minutes and 18 seconds.
The embodiment of the present invention on the basis of example 1, further comprise the synchronous time is corrected, thus The precision of adjustment time can effectively be further increased.
Embodiment three:
Fig. 3 shows the implementation process of the time adjusting method of the terminal of third embodiment of the invention offer, and details are as follows:
In step S301, short message of the second terminal to first terminal sending time synchronization request;
In step s 302, it includes preset sync key word that first terminal, which detects the short message, and Xiang Suoshu second is eventually End returns to synchronous short message, and the synchronous short message includes the time value of first terminal when returning to the synchronous short message;
In step S303, second terminal receives and parses through the synchronous short message, and is adjusted according to the time value of parsing The time of the second terminal.
Step S301-S303 and step S101-S103 in embodiment one are essentially identical, so here is no more repetition.
In step s 304, second terminal sends verification short message to first terminal, and the inspection short message includes verification Second terminal time T1 when short message is sent.
Specifically, after step S301-S303 carries out just successive step to time of second terminal, second terminal when Between be the time adjusted.
Time adjusted is sent to first terminal by verifying short message by second terminal.Than verifying short disappear as will be described Second terminal time T1 when the transmission of breath is sent to first terminal.
In step s 304, first terminal receives the second terminal time T1 that second terminal is sent, and receives with first terminal The receiving time T2 of the verification short message compares, and obtains the delivery time of short message.
Since first terminal has already passed through with second terminal synchronous, under the scene that communication network is not delayed, second eventually The time T2 that termination receives the verification short message should be identical as T1.
If communication network exist delay, first terminal send it is described verification short message time be T1 when, reach When second terminal, when second terminal receives the verification short message, the time of second terminal is T2, then T1 is different from T2.
Also there can be delay when sending synchronous short message for the first time due to first terminal, that is to say, that first terminal receives institute When stating the verification short message of second terminal transmission, the difference of T2 time and T1 time include two delivery times for leading to delay. Therefore, the delivery time is (T2-T1)/2.
In step s 304, the delivery time is sent to second terminal, adjusts the time of the second terminal.
Second terminal is after receiving the delivery time, on the basis of the second terminal time adjusted for the first time, In addition the delivery time, the time after correction can be obtained.For example second terminal is 2016 in the time adjusted for the first time At 11 points in the morning 12 minutes and 18 seconds on March 10, of, delivery time are 2 minutes, then second of time adjusted is March 10 in 2016 At 11 points in day morning 14 minutes and 18 seconds.
The embodiment of the present invention on the basis of example 1, is further corrected the time of second terminal, favorably In the accuracy for further increasing the second terminal time adjusted.
Example IV:
Fig. 4 shows the structural schematic diagram of the time adjusting device of the terminal of fourth embodiment of the invention offer, is described in detail such as Under:
The time adjusting device of terminal described in the embodiment of the present invention, comprising:
Request unit 401, for the short message to first terminal sending time synchronization request;
Short message receiving unit 402 includes preset sync key for detecting the short message in the first terminal When word, the synchronization short message that first terminal returns is received, the synchronous short message includes the when returning to the synchronous short message The time value of one terminal;
Adjustment unit 403 is parsed, adjusts local terminal for parsing the synchronous short message, and according to the time value of parsing Time resolution described in synchronous short message, and adjust according to the time value of parsing the time of local terminal.
Preferably, the synchronization message further includes network communication status information of the first terminal when returning to synchronous short message Corresponding delay time, the parsing adjustment unit are specifically used for:
The time value of parsing and the delay time are overlapped, local terminal is adjusted according to the superimposed time Time.
Preferably, described device further includes correction unit, is specifically used for:
Verification short message is sent to first terminal, when the inspection short message includes local terminal when verification message is sent Between T1 so that local terminal time T1 when first terminal is sent according to the verification message, and receive that the verification is short to disappear Time T2 of first terminal obtains the short message delivery time when breath;
Receive first terminal return the short message delivery time, according to the short message delivery time to local terminal when Between be corrected.
A kind of device of auxiliary terminal progress time adjustment is additionally provided in embodiments of the present invention, and described device includes:
Request receiving module, the short message of the time synchronization request for receiving second terminal transmission;
Sending module is detected, includes preset sync key word in the short message for detecting the time synchronization request When, Xiang Suoshu second terminal sends synchronous short message, so that second terminal parses the synchronous short message and adjusts second eventually The time at end, the synchronous short message include the time value of auxiliary terminal when sending synchronous short message to second terminal.
Preferably, described device further include:
Delay time sending module, for sending delay time to second terminal, the delay time is that transmission is described same Walk network communication status information corresponding delay time when short message.
Described device may also include correction verification module, be specifically used for:
The verification short message that second terminal is sent is received, second eventually when the inspection short message includes verification short message transmission The time T1 at end;
According to receive it is described verification short message when assist terminal time T2 and verification short message send when second The time T1 of terminal obtains the short message delivery time;
The short message delivery time is sent to second terminal, so that second terminal is corrected the time.
The time adjusting device of terminal described in the embodiment of the present invention, the time adjustment side with the terminal of embodiment one to three Method is corresponding, so here is no more repetition.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), magnetic or disk etc. be various to can store program code Medium.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (4)

1. a kind of time adjusting method of terminal, which is characterized in that the described method includes:
Short message of the second terminal to first terminal sending time synchronization request, wherein first terminal is the terminal of auxiliary adjustment, Second terminal is the terminal for needing to carry out time adjustment;
When it includes preset sync key word that the first terminal, which detects the short message, the synchronization that first terminal returns is received Short message, the synchronous short message include that the time value of first terminal when returning to the synchronous short message and first terminal are returning Network communication status information corresponding delay time when synchronous short message is returned, wherein determining described return when synchronizing short message Network communication status information corresponding delay time includes:
First terminal can be by way of network data, or by way of note data, it is logical to obtain active wireless network Believe status information, wherein the wireless communication status information, refers to the busy state of the server for forwarding short message, it can To indicate the wireless communication status information according to the currently processed task amount of server;
Classify to the wireless communication status information, ten classes is divided into according to the forwarding speed of short message, for inhomogeneity Wireless communication status information, corresponding different forwarding speed;
First terminal searches current network communications status letter according to preset network communication status information table corresponding with delay time Cease corresponding delay time;
Second terminal parses the synchronous short message, and the time value of parsing and the delay time are overlapped, according to The time of superimposed time adjustment local terminal.
2. a kind of method that auxiliary terminal carries out time adjustment, which is characterized in that the described method includes:
First terminal receives the short message for the time synchronization request that second terminal is sent, wherein first terminal is auxiliary adjustment Terminal, second terminal are the terminal for needing to carry out time adjustment;
When detecting in the short message of the time synchronization request including preset sync key word, Xiang Suoshu second terminal sends same Short message is walked, so that second terminal parses the synchronous short message and adjusts the time of second terminal, the synchronous short message The time value of auxiliary terminal when including sending from synchronous short message to second terminal is with first terminal when returning to synchronous short message Network communication status information corresponding delay time, wherein determining network communication status letter when returning to synchronous short message Ceasing corresponding delay time includes:
First terminal can be by way of network data, or by way of note data, it is logical to obtain active wireless network Believe status information, wherein the wireless communication status information, refers to the busy state of the server for forwarding short message, it can To indicate the wireless communication status information according to the currently processed task amount of server;
Classify to the wireless communication status information, ten classes is divided into according to the forwarding speed of short message, for inhomogeneity Wireless communication status information, corresponding different forwarding speed;
First terminal searches current network communications status letter according to preset network communication status information table corresponding with delay time Cease corresponding delay time.
3. a kind of time adjusting device of terminal, which is characterized in that described device includes:
Request unit, for second terminal to the short message of first terminal sending time synchronization request, wherein supplemented by first terminal The terminal of adjustment is helped, second terminal is the terminal for needing to carry out time adjustment;
Short message receiving unit, for connecing when it includes preset sync key word that the first terminal, which detects the short message, The synchronization short message that first terminal returns is received, the synchronous short message includes first terminal when returning to the synchronous short message Network communication status information corresponding delay time of the time value with first terminal when returning to synchronous short message, wherein determining institute Stating network communication status information corresponding delay time when returning to synchronous short message includes:
First terminal can be by way of network data, or by way of note data, it is logical to obtain active wireless network Believe status information, wherein the wireless communication status information, refers to the busy state of the server for forwarding short message, it can To indicate the wireless communication status information according to the currently processed task amount of server;
Classify to the wireless communication status information, ten classes is divided into according to the forwarding speed of short message, for inhomogeneity Wireless communication status information, corresponding different forwarding speed;
First terminal searches current network communications status letter according to preset network communication status information table corresponding with delay time Cease corresponding delay time;
Adjustment unit is parsed, is carried out for parsing the synchronous short message, and by the time value of parsing and the delay time Superposition adjusts the time of local terminal according to the superimposed time.
4. the device that a kind of auxiliary terminal carries out time adjustment, which is characterized in that described device includes:
Request receiving module receives the short message for the time synchronization request that second terminal is sent for first terminal, wherein first Terminal is the terminal of auxiliary adjustment, and second terminal is the terminal for needing to carry out time adjustment;
Sending module is detected, when including preset sync key word in the short message for detecting the time synchronization request, to The second terminal sends synchronous short message so that second terminal parse the synchronous short message and adjust second terminal when Between, the synchronous short message includes that the time value of auxiliary terminal when sending synchronous short message to second terminal and first terminal exist Network communication status information corresponding delay time when synchronous short message is returned to, wherein when determining that the return synchronizes short message Network communication status information corresponding delay time include:
First terminal can be by way of network data, or by way of note data, it is logical to obtain active wireless network Believe status information, wherein the wireless communication status information, refers to the busy state of the server for forwarding short message, it can To indicate the wireless communication status information according to the currently processed task amount of server;
Classify to the wireless communication status information, ten classes is divided into according to the forwarding speed of short message, for inhomogeneity Wireless communication status information, corresponding different forwarding speed;
First terminal searches current network communications status letter according to preset network communication status information table corresponding with delay time Cease corresponding delay time.
CN201610191918.8A 2016-03-30 2016-03-30 The time adjusting method and device of terminal Active CN105933877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610191918.8A CN105933877B (en) 2016-03-30 2016-03-30 The time adjusting method and device of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610191918.8A CN105933877B (en) 2016-03-30 2016-03-30 The time adjusting method and device of terminal

Publications (2)

Publication Number Publication Date
CN105933877A CN105933877A (en) 2016-09-07
CN105933877B true CN105933877B (en) 2019-06-18

Family

ID=56840394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610191918.8A Active CN105933877B (en) 2016-03-30 2016-03-30 The time adjusting method and device of terminal

Country Status (1)

Country Link
CN (1) CN105933877B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110167132B (en) * 2018-02-14 2021-02-12 华为技术有限公司 Communication method and communication device
CN111867046A (en) * 2020-07-23 2020-10-30 上海中通吉网络技术有限公司 Method, system, equipment and storage medium for checking local time of mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980555A (en) * 2010-10-26 2011-02-23 中兴通讯股份有限公司 Time setting method for mobile terminal and mobile terminal
CN102209307A (en) * 2011-05-20 2011-10-05 中兴通讯股份有限公司 Time synchronization method and apparatus thereof
WO2015081851A1 (en) * 2013-12-05 2015-06-11 华为终端有限公司 Time and time zone synchronization method and terminal device
CN104714405A (en) * 2013-12-13 2015-06-17 上海晨兴希姆通电子科技有限公司 GSM module, mobile terminal comprising GSM module and automatic time calibration method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980555A (en) * 2010-10-26 2011-02-23 中兴通讯股份有限公司 Time setting method for mobile terminal and mobile terminal
CN102209307A (en) * 2011-05-20 2011-10-05 中兴通讯股份有限公司 Time synchronization method and apparatus thereof
WO2015081851A1 (en) * 2013-12-05 2015-06-11 华为终端有限公司 Time and time zone synchronization method and terminal device
CN104714405A (en) * 2013-12-13 2015-06-17 上海晨兴希姆通电子科技有限公司 GSM module, mobile terminal comprising GSM module and automatic time calibration method

Also Published As

Publication number Publication date
CN105933877A (en) 2016-09-07

Similar Documents

Publication Publication Date Title
CN108810116B (en) Message processing method and related product
CN105915308B (en) A kind of method for synchronizing time, apparatus and system
US20170171713A1 (en) Method and apparatus for determining location of target portable device
CN113177093B (en) Data synchronization method and device, electronic equipment and storage medium
ES2813372T3 (en) Integration of additional information in a telecommunications call
CN102014348A (en) Method and terminal for setting alarm clock remotely
CN109996325B (en) Clock synchronization system and method of wireless sensor network
US11184305B2 (en) Method and apparatus for updating group member data, and terminal, system and storage medium
US20220360350A1 (en) Method and apparatus for acquiring timestamp of data stream, storage medium, and electronic apparatus
CN102750629A (en) Schedule association method and device
CN105933877B (en) The time adjusting method and device of terminal
CN104052565A (en) Time synchronization method and communication terminal
US11381660B2 (en) Selective information sharing between users of a social network
WO2016177090A1 (en) Clock synchronization method and device
CN108429848B (en) Information processing method, device and equipment
US10403277B2 (en) Method and apparatus for information search using voice recognition
CN109451799B (en) Time domain information indication method of public control resource set of residual key system information
CN109068384A (en) A kind of method for synchronizing time and system
CN108874553B (en) Message pushing method, device and system, storage medium and processor
CN108572949A (en) A kind of houseclearing search processing method and device
CN105955988B (en) Information searching method and device
CN104010269A (en) Method and device for sending file in communication terminal
CN110619698A (en) Information prompting method and device based on Internet of things operating system
CN108363707B (en) Method and device for generating webpage
EP2777498A1 (en) Blood glucose monitoring system having wireless communication module to which time synchronization method is applied

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523841 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant