CN105824947A - Terminal interface time telling method and device - Google Patents
Terminal interface time telling method and device Download PDFInfo
- Publication number
- CN105824947A CN105824947A CN201610162763.5A CN201610162763A CN105824947A CN 105824947 A CN105824947 A CN 105824947A CN 201610162763 A CN201610162763 A CN 201610162763A CN 105824947 A CN105824947 A CN 105824947A
- Authority
- CN
- China
- Prior art keywords
- time
- giving
- correct
- correct time
- alarm clock
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000005540 biological transmission Effects 0.000 claims description 34
- 238000001514 detection method Methods 0.000 claims description 24
- 230000001186 cumulative effect Effects 0.000 claims description 12
- 230000007246 mechanism Effects 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 7
- 230000008901 benefit Effects 0.000 abstract description 6
- 230000008859 change Effects 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 25
- 230000004044 response Effects 0.000 description 7
- 230000003247 decreasing effect Effects 0.000 description 5
- 230000003466 anti-cipated effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000000284 resting effect Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/74—Browsing; Visualisation therefor
- G06F16/745—Browsing; Visualisation therefor the internal structure of a single video sequence
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4882—Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Electric Clocks (AREA)
Abstract
The invention discloses a terminal interface time telling method and device. The method comprises the following steps of receiving a time telling starting instruction sent by a system alarm clock; sending a time updating message; updating time telling characters displayed by a terminal interface according to a time updating message, wherein the time updating message indicates the time change quantity; receiving a time telling ending instruction sent by the system alarm clock; canceling the sending of the time updating message. The terminal interface time telling method provided by the embodiment of the invention has the advantages that the always sending of the time updating message in the whole video playing process is not needed; the time updating message only needs to be sent after the time telling starting instruction sent by the system alarm clock is received; the time telling characters displayed by the terminal interface are updated according to the time updating message; after the time telling ending instruction sent by the system alarm clock is received, the sending of the time updating message is canceled, i.e., the time updating message only needs to be sent in the time period between the time telling starting instruction and the time telling ending instruction.
Description
Technical field
The present invention relates to software technology field, be specifically related to a kind of terminal interface reporting method, and a kind of terminal interface striking mechanism.
Background technology
When using video player to play video, understand time schedule for the convenience of the user, it will usually in the terminal interface playing video, show ringing at every hour.
In ringing at every hour technology, show frequently with realize the giving the correct time reading the clock of control of this technological means of delay message.Specifically, when video player commences play out video, ringing at every hour function is activated, according to certain frequency to control forward delay interval message of giving the correct time, the control that gives the correct time, after receiving delay message, can detect whether current time gives the correct time in the time period default, if, in terminal interface, then show current time, and give the correct time the time according to the delay message renewal of receipt of subsequent.
But, traditional method video playback whole during, need all the time to control forward delay interval message of giving the correct time, the number that delay message sends is more, if such as by the frequency forward delay interval message of 1/s, then one hour needs sends 3600 delay message, owing to ringing at every hour occupies substantial amounts of delay message, have impact on the use to delay message of other functions of video player, therefore the response of other functions is delayed, reduce the performance of video player, possibly even can affect the UI (UserInterface of the operating system performed based on delay message, user interface) response.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide a kind of terminal interface reporting method overcoming the problems referred to above, and a kind of terminal interface striking mechanism.
According to one aspect of the present invention, it is provided that a kind of terminal interface reporting method, including:
Giving the correct time of reception system alarm clock transmission starts instruction, sends time more new information, updates the word that gives the correct time that terminal interface described in information updating shows, more new information of described time instruction time variation amount according to the described time;
Receive the termination instruction of giving the correct time that described system alarm clock sends, and cancel transmission more new information of described time.
Alternatively, described reception system alarm clock send give the correct time start instruction after, described method also includes:
At the word that just gives the correct time described in display in the terminal interface of playing video data;
After the termination instruction of giving the correct time that described reception described system alarm clock sends, described method also includes:
Cancel the word that gives the correct time described in display in described terminal interface.
Alternatively, after described cancellation sends more new information of described time, described method also includes:
Remove the more new information of all times of record.
Alternatively, described reception system alarm clock send give the correct time start instruction before, described method also includes:
The current time of detection when opening according to time reporting function, calculate closest to the initial time of period of giving the correct time and the end time, after determining that described current time is not within the described period of giving the correct time, described initial time and described end time are sent to described Clock system.
Alternatively, the described current time of detection when opening according to time reporting function, calculate closest to the initial time of period of giving the correct time and the end time include:
When described time reporting function is opened, detect described current time;
On the basis of zero crossing time, increase by one hour, until the cumulative time after Zeng Jiaing is more than described current time, it is determined that the described cumulative time is the closest object time every time;
Before and after the described object time, mark off continuous print and give the correct time the period, the initial time of period of giving the correct time described in reading and end time.
Alternatively, described calculating closest to period of giving the correct time initial time and after the end time, however, it is determined that described current time falls and gives the correct time in the period described, and the most described method also includes:
Only the end time of described period of giving the correct time is sent to described system alarm clock;
Send more new information of described time, update, according to the described time, the word that gives the correct time that terminal interface described in information updating shows;
Receive the termination instruction of giving the correct time that described system alarm clock sends, and cancel transmission more new information of described time.
Alternatively, giving the correct time that described reception system alarm clock sends starts instruction and includes:
Reception system alarm clock send after the initial time of period of giving the correct time described in detecting described in give the correct time start instruction;
The termination instruction of giving the correct time that described reception described system alarm clock sends includes:
Reception system alarm clock gives the correct time termination instruction described in sending after the end time of period of giving the correct time described in detecting.
Alternatively, after described cancellation sends more new information of described time, described method also includes:
Detection next closest to object time.
Alternatively, the described object time is the integral point time, or is one or one group of Preset Time.
According to another aspect of the present invention, it is provided that a kind of terminal interface striking mechanism, including:
Give the correct time and start to indicate receiver module, start instruction for receiving giving the correct time of system alarm clock transmission, send time more new information, update the word that gives the correct time that terminal interface described in information updating shows, more new information of described time instruction time variation amount according to the described time;
Termination instruction of giving the correct time receiver module, for receiving the termination instruction of giving the correct time that described system alarm clock sends, and cancels transmission more new information of described time.
Alternatively, described in give the correct time and start to indicate receiver module, be additionally operable to after giving the correct time of sending of described reception system alarm clock starts instruction, at the word that just gives the correct time described in display in the terminal interface of playing video data;
The described termination instruction receiver module that gives the correct time, is additionally operable to after the termination instruction of giving the correct time that described reception described system alarm clock sends, and cancels the word that gives the correct time described in display in described terminal interface.
Alternatively, described device also includes:
Message Record removes module, after sending more new information of described time in described cancellation, removes the more new information of all times of record.
Alternatively, described device also includes:
Give the correct time time sending module, before giving the correct time of sending at described reception system alarm clock starts instruction, the current time of detection when opening according to time reporting function, calculate closest to the initial time of period of giving the correct time and the end time, after determining that described current time is not within the described period of giving the correct time, described initial time and described end time are sent to described Clock system.
Alternatively, the time sending module that gives the correct time described in includes:
Current time detection sub-module, for when described time reporting function is opened, detects described current time;
Object time calculating sub module, on the basis of zero crossing time, increases by one hour every time, until the cumulative time after Zeng Jiaing is more than described current time, it is determined that the described cumulative time is the closest object time;
Time Calculation of giving the correct time submodule, before and after the described object time, marks off continuous print and gives the correct time the period, the initial time of period of giving the correct time described in reading and end time.
Alternatively, described device also includes:
End time sending module, for described calculating closest to period of giving the correct time initial time and after the end time, however, it is determined that described current time falls and gives the correct time in the period described, is the most only sent to described system alarm clock the end time of described period of giving the correct time;
The word that gives the correct time more new module, is used for sending more new information of described time, updates, according to the described time, the word that gives the correct time that terminal interface described in information updating shows;
Time more new information cancels module, for receiving the termination instruction of giving the correct time that described system alarm clock sends, and cancels transmission more new information of described time.
Alternatively, described in give the correct time and start to indicate receiver module, specifically for receive system alarm clock sends after the initial time of period of giving the correct time described in detecting described in give the correct time and start to indicate;
The described termination instruction receiver module that gives the correct time, specifically for receive system alarm clock send after the end time of period of giving the correct time described in detecting described in give the correct time termination instruction.
Alternatively, described device also includes:
Object time detection module, for sending after more new information of described time described cancellation, detection next closest to object time.
Alternatively, the described object time is the integral point time, or is one or one group of Preset Time.
Compared with prior art, terminal interface reporting method described in the embodiment of the present invention, all the time time more new information is sent without during whole in video playback, only need to be after giving the correct time of receiving that system alarm clock sends starts instruction, transmission time more new information, the word that gives the correct time that terminal interface described in information updating shows is updated according to the described time, after receiving the termination instruction of giving the correct time that described system alarm clock sends, cancel and send more new information of described time, that is to say only need to give the correct time start instruction and give the correct time between termination instruction time period in send time more new information, therefore the transmission number of time more new information is decreased, improve the utilization rate of time more new information, ensure that the use to time more new information of other functions of video player simultaneously, maintain the performance of video player, further ensure the UI response of operating system.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, and can be practiced according to the content of description, and in order to above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit those of ordinary skill in the art be will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as limitation of the present invention.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 shows the flow chart of the terminal interface reporting method of according to embodiments of the present invention 1;
Fig. 2 shows the flow chart of the terminal interface reporting method of according to embodiments of the present invention 2;
Fig. 3 shows the FB(flow block) of the terminal interface reporting method according to one example of the present invention;
Fig. 4 shows the structured flowchart of the terminal interface striking mechanism of according to embodiments of the present invention 1;
Fig. 5 shows the structured flowchart of the terminal interface striking mechanism of according to embodiments of the present invention 2.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing showing the exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should not limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiment 1
With reference to Fig. 1, it is shown that the flow chart of the terminal interface reporting method of 1 according to embodiments of the present invention, the method specifically may comprise steps of:
Giving the correct time that step 101, reception system alarm clock send starts instruction, sends time more new information, updates, according to the described time, the word that gives the correct time that terminal interface described in information updating shows, more new information of described time indicates time variation amount.
System alarm clock is the service that the operating system installed in terminal provides, and can send an instruction at Preset Time to the system overall situation.The operating system of such as mobile terminal provides Android system alarm clock (AlarmManager).
What in the application, system alarm clock issued be designated as giving the correct time starts instruction and termination instruction of giving the correct time, and gives the correct time and starts to indicate for indicating video player to open time reporting function, and termination instruction of giving the correct time terminates time reporting function for indicating video player.Wherein, video player can be the videoconference client of terminal unit, or the program for write video web-pages.
Time more new information instruction time variation amount, the time variation amount of the most adjacent two time more new informations, time more new information sends according to certain frequency.
The text importing that gives the correct time, in just in the interface of playing video data, does not hinder the displaying of main video data, checks the time for user.The word that gives the correct time can be word sum combinatorics on words form, or only digital form, or is other service forms.
Set in system alarm clock in advance and give the correct time the time started, after system alarm clock detects the time started of giving the correct time, can give the correct time to system overall situation transmission one and start instruction, video player receive system alarm clock send give the correct time start instruction after, the control that gives the correct time starting to install in video player sends time more new information, give the correct time control after receiving time more new information, in time variation amount renewal terminal interface according to the instruction of time more new information, display gives the correct time the time, the time of giving the correct time after renewal is the time variation amount plus the instruction of time more new information of the time of giving the correct time before updating.Because time more new information sends according to certain frequency, so circulation performs the renewal operation of above-mentioned time during giving the correct time.
Such as, if the time variation amount of time more new information instruction is 1s, then after in the time, more new information sends 1s, the control that gives the correct time just receives this message, the control that gives the correct time gives the correct time the time according to what this information updating terminal interface showed, and the time of giving the correct time increases 1s, and circulation performs the renewal operation of above-mentioned time.
Step 102, receive described system alarm clock send termination instruction of giving the correct time, and cancel transmission more new information of described time.
While setting, in system alarm clock, the time started of giving the correct time, set and give the correct time the end time.After system alarm clock detects the end time of giving the correct time, a termination instruction of giving the correct time can be sent to the system overall situation, after video player receives the termination instruction of giving the correct time that system alarm clock sends, cancel and send time more new information to the control that gives the correct time.
During ringing at every hour, only need to give the correct time the short time near the integral point time, the number of the delay message that ringing at every hour is actually required is less, major part delay message be occupied and and not utilized.And according to the solution of the present invention, in video display process, only need within default several periods of giving the correct time, to send time more new information according to said method, operation of can giving the correct time the deadline, decrease the transmission number of time more new information.
According to embodiments of the invention, all the time time more new information is sent without during whole in video playback, only need to be after giving the correct time of receiving that system alarm clock sends starts instruction, transmission time more new information, the word that gives the correct time that terminal interface described in information updating shows is updated according to the described time, after receiving the termination instruction of giving the correct time that described system alarm clock sends, cancel and send more new information of described time, that is to say only need to give the correct time start instruction and give the correct time between termination instruction time period in send time more new information, therefore the transmission number of time more new information is decreased, improve the utilization rate of time more new information, ensure that the use to time more new information of other functions of video player simultaneously, maintain the performance of video player, further ensure the UI response of operating system.
Embodiment 2
With reference to Fig. 2, it is shown that the flow chart of the terminal interface reporting method of 2 according to embodiments of the present invention, the method specifically may comprise steps of:
Step 201, the current time of detection when opening according to time reporting function, calculate closest to the initial time of period of giving the correct time and the end time, after determining that described current time is not within the described period of giving the correct time, described initial time and described end time are sent to described system alarm clock.
Open videoconference client and enter the video playback page, or after entrance video web-pages, video player opens time reporting function, and detection is presently in the time, current time according to detection calculates closest giving the correct time the period, it is thus achieved that the initial time of period of giving the correct time and end time.
Specifically, the described current time of detection when opening according to time reporting function, calculate closest to the initial time of period of giving the correct time and the end time may comprise steps of:
Step S1, when time reporting function is opened, detect current time.
Step S2, on the basis of zero crossing time, increase by one hour, until the cumulative time after Zeng Jiaing is more than described current time, it is determined that the cumulative time is the closest object time every time.
Wherein, the object time can be set according to actual needs, can be the integral point time, or is one or one group of Preset Time.
Step S3, before and after the described object time, mark off continuous print and give the correct time the period, read initial time and the end time of this period of giving the correct time.
Continuous print can be marked off before and after the object time give the correct time the period according to the division rule of default period of giving the correct time.Such as, the initial time of the period of giving the correct time after division rule instruction division is to the time interval of object time, equal with the time interval of object time to end time, the most such as divide the object time first 30 seconds is, and latter 30 seconds of initial time and object time are the end time.For the concrete dividing mode of period of giving the correct time, the present invention only illustrates, and does not limits.
Further, calculating the initial time of closest period of giving the correct time and after the end time, need whether current time judged within the described period of giving the correct time, if it is determined that current time is not given the correct time in the period in closest, then initial time and the end time of period of giving the correct time are sent to system alarm clock, send instruction for system alarm clock according to the initial time received and end time;Give the correct time in the period if it is determined that current time falls in closest, the most only the end time of period of giving the correct time is sent to system alarm clock, send instruction for system alarm clock according to the end time received.
By initial time and end time, or will send the end time before system alarm clock, system alarm clock can be accessed by system interface.
Owing to the present invention uses system alarm clock, so there is advantages below in the reporting method of the present invention:
First, the anticipated time sent of the instruction that system alarm clock sends and the difference of time that is actually sent out are only within 1 millisecond, and the timing that can meet Millisecond or the demand given the correct time, so the precision of giving the correct time of the reporting method of the present invention is higher;Secondly as system alarm clock is the system service that operating system provides, such as Android system alarm clock is the system service that Android system provides, so stuck phenomenon seldom occurs in system alarm clock, so the reliability of the reporting method of the present invention is higher;Again, owing to system alarm clock is the system service that operating system provides, even if so terminal unit is in a dormant state or screen lock state, system alarm clock is still running, therefore terminal unit can be waken up according to Preset Time up from resting state or screen lock state, so the cycle of giving the correct time of the reporting method of the present invention is unrestricted;Finally, the reporting method of the present invention is applicable to be provided with the terminal unit of system alarm clock, such as mobile phone, PAD, TV etc., and range is extensive.
Giving the correct time that step 202, reception system alarm clock send starts instruction, sends time more new information, updates, according to the described time, the word that gives the correct time that terminal interface described in information updating shows, more new information of described time indicates time variation amount.
The initial time of period is given the correct time in reception by system alarm clock and the end time is monitored.Reception system alarm clock send after the initial time detecting the period of giving the correct time described in give the correct time start instruction after, in the terminal interface of playing video data, just showing the word that gives the correct time, the control that gives the correct time simultaneously installed in video player sends time more new information, because time more new information instruction time variation amount, so the control that gives the correct time can give the correct time the time according to what time renewal information updating terminal interface showed.
In described step 201, after determining that current time fell within the period of giving the correct time, while the end time of period of giving the correct time is sent to system alarm clock, in the terminal interface of playing video data, just showing the word that gives the correct time, i.e. show current time, and control sends time more new information to giving the correct time, the control that gives the correct time updates, according to the time, the word that gives the correct time that information updating terminal interface shows.Such as, give the correct time in period 18:59:30~19:00:30 if current time 18:59:40 has been in, then only end time 19:00:30 need to be sent to system alarm clock, and in terminal interface, show current time 18:59:40, update information updating according to the time further and give the correct time the time.
Step 203, receive described system alarm clock send termination instruction of giving the correct time, and cancel transmission more new information of described time.
After the termination instruction of giving the correct time that reception system alarm clock sent after the end time detecting the period of giving the correct time, cancel in terminal interface, show the word that gives the correct time, and cancel transmission time more new information.
Further, the next closest object time can be detected, and calculates next object time corresponding giving the correct time the period after cancellation sends more new information, initial time and the end time of the period of giving the correct time calculated are sent to system alarm clock, for system alarm clock in upper use of once giving the correct time.
Furthermore it is possible to after cancelling transmission time more new information, remove the more new information of all times of record, with the time more new information of minimizing record, terminal storage resource is taken.If the video play experiences multiple object times, then each object time correspondence respectively is given the correct time the period, after video player receives termination instruction of giving the correct time, be required for performing the clear operation of a time more new information.
According to embodiments of the invention, all the time time more new information is sent without during whole in video playback, only need to be after giving the correct time of receiving that system alarm clock sends starts instruction, transmission time more new information, the word that gives the correct time that terminal interface described in information updating shows is updated according to the described time, after receiving the termination instruction of giving the correct time that described system alarm clock sends, cancel and send more new information of described time, that is to say only need to give the correct time start instruction and give the correct time between termination instruction time period in send time more new information, therefore the transmission number of time more new information is decreased, improve the utilization rate of time more new information, ensure that the use to time more new information of other functions of video player simultaneously, maintain the performance of video player, further ensure the UI response of operating system.
For making those skilled in the art be more clearly understood from the present invention, below by concrete example, the terminal interface reporting method of the embodiment of the present invention is described in detail.
With reference to Fig. 3, it is shown that according to the FB(flow block) of the terminal interface reporting method of one example of the present invention, the method specifically may comprise steps of:
Step 1, entrance videoconference client.
Opened down the videoconference client being loaded in terminal by click mode, after entering the video playback page, time reporting function is activated.In reality, it is also possible to activate time reporting function by the way of browsing video web-pages.
Step 2, judge that current time is whether within the period of giving the correct time.
In this step, need to detect current time, and give the correct time the period according to preset rules calculating, read initial time and the end time of period of giving the correct time, the concrete description calculated in process reference example, judge that current time is whether within the period of giving the correct time afterwards.Specifically, if current time falls within the period of giving the correct time, the most only the end time of period of giving the correct time is sent to system alarm clock;If current time is not within the period of giving the correct time, then the initial time of period of giving the correct time was sent to system alarm clock together with the end time.
Step 3, display are given the correct time word.
If current time falls within the period of giving the correct time, in terminal interface, show the word that gives the correct time the most immediately;If current time is not within the period of giving the correct time, then send after detecting initial time according to system alarm clock starts instruction of giving the correct time, and shows the word that gives the correct time in terminal interface.
Step 4, judge whether that reception is given the correct time termination instruction.
After in terminal interface, word is given the correct time in display, need to judge whether to receive termination instruction of giving the correct time.The instruction if the end that the system alarm clock of receiving sends after detecting the end time is given the correct time, then hide the word that gives the correct time;If not receiving termination instruction of giving the correct time, then after word is given the correct time in display, sending the time more new information of interval 1s, updating the word that gives the correct time, before receiving termination instruction of giving the correct time, circulation performs this step.
Specifically, the time variation amount of more new information of described time instruction is 1s, i.e. sends a time more new information every 1s, and the word that gives the correct time updates once every 1s, and each time increases 1s.Description in the concrete renewal process reference example of the word that gives the correct time.
Step 5, the time more new information of removing record.
The end sent after the system alarm clock of receiving detects the end time is given the correct time instruction, after cancelling transmission time more new information, removes the more new information of all times of record, takies terminal storage resource reducing the time more new information recorded.
Step 6, detection next closest to object time.
The end sent after the system alarm clock of receiving detects the end time is given the correct time instruction, and cancel after showing, in terminal interface, the word that gives the correct time, the detection next closest object time, and calculate corresponding the giving the correct time the period of this object time according to computation rule, calculating process is similar with step S1-S3 in above-described embodiment, and sends initial time and the end time of period of giving the correct time to system alarm clock.Before exiting videoconference client, i.e. before time reporting function terminates, whenever receiving the termination instruction of giving the correct time that system alarm clock sends, this step will be repeated, for system alarm clock in upper use of once giving the correct time.
Step 8, exit videoconference client after, remove all giving the correct time the period of arranging.
After when exiting videoconference client, video player can be removed all of setting and give the correct time the period, reduces taking terminal storage resource further.
Embodiment 3
With reference to Fig. 4, it is shown that the structured flowchart of the terminal interface striking mechanism of 1 according to embodiments of the present invention, specifically may include that
Give the correct time and start to indicate receiver module 301, start instruction for receiving giving the correct time of system alarm clock transmission, send time more new information, update the word that gives the correct time that terminal interface described in information updating shows, more new information of described time instruction time variation amount according to the described time.
Termination instruction of giving the correct time receiver module 302, for receiving the termination instruction of giving the correct time that described system alarm clock sends, and cancels transmission more new information of described time.
According to embodiments of the invention, all the time time more new information is sent without during whole in video playback, only need to be after giving the correct time of receiving that system alarm clock sends starts instruction, transmission time more new information, the word that gives the correct time that terminal interface described in information updating shows is updated according to the described time, after receiving the termination instruction of giving the correct time that described system alarm clock sends, cancel and send more new information of described time, that is to say only need to give the correct time start instruction and give the correct time between termination instruction time period in send time more new information, therefore the transmission number of time more new information is decreased, improve the utilization rate of time more new information, ensure that the use to time more new information of other functions of video player simultaneously, maintain the performance of video player, further ensure the UI response of operating system.
Embodiment 4
With reference to Fig. 5, it is shown that the structured flowchart of the terminal interface striking mechanism of 2 according to embodiments of the present invention, specifically may include that
Give the correct time time sending module 401, the current time of detection during for opening according to time reporting function, calculate closest to the initial time of period of giving the correct time and the end time, after determining that described current time is not within the described period of giving the correct time, described initial time and described end time are sent to described Clock system.
Give the correct time and start to indicate receiver module 402, start instruction for receiving giving the correct time of system alarm clock transmission, send time more new information, update the word that gives the correct time that terminal interface described in information updating shows, more new information of described time instruction time variation amount according to the described time.
Termination instruction of giving the correct time receiver module 403, for receiving the termination instruction of giving the correct time that described system alarm clock sends, and cancels transmission more new information of described time.
In the embodiment of the present invention, it is preferable that described in give the correct time and start to indicate receiver module 402, be additionally operable to after giving the correct time of sending of described reception system alarm clock starts instruction, at the word that just gives the correct time described in display in the terminal interface of playing video data;
The described termination instruction receiver module 403 that gives the correct time, is additionally operable to after the termination instruction of giving the correct time that described reception described system alarm clock sends, and cancels the word that gives the correct time described in display in described terminal interface.
In the embodiment of the present invention, it is preferable that described device also includes:
Message Record removes module, after sending more new information of described time in described cancellation, removes the more new information of all times of record.
In the embodiment of the present invention, it is preferable that described in the time sending module 401 that gives the correct time include:
Current time detection sub-module, for when described time reporting function is opened, detects described current time;
Object time calculating sub module, on the basis of zero crossing time, increases by one hour every time, until the cumulative time after Zeng Jiaing is more than described current time, it is determined that the described cumulative time is the closest object time;
Time Calculation of giving the correct time submodule, before and after the described object time, marks off continuous print and gives the correct time the period, the initial time of period of giving the correct time described in reading and end time.
In the embodiment of the present invention, it is preferable that described device also includes:
End time sending module, for described calculating closest to period of giving the correct time initial time and after the end time, however, it is determined that described current time falls and gives the correct time in the period described, is the most only sent to described system alarm clock the end time of described period of giving the correct time;
The word that gives the correct time more new module, is used for sending more new information of described time, updates, according to the described time, the word that gives the correct time that terminal interface described in information updating shows;
Time more new information cancels module, for receiving the termination instruction of giving the correct time that described system alarm clock sends, and cancels transmission more new information of described time.
In the embodiment of the present invention, it is preferable that described in give the correct time and start to indicate receiver module 402, specifically for receive system alarm clock sends after the initial time of period of giving the correct time described in detecting described in give the correct time and start to indicate;
The described termination instruction receiver module 403 that gives the correct time, specifically for receive system alarm clock send after the end time of period of giving the correct time described in detecting described in give the correct time termination instruction.
In the embodiment of the present invention, it is preferable that described device also includes:
Object time detection module, for sending after more new information of described time described cancellation, detection next closest to object time.
In the embodiment of the present invention, it is preferable that the described object time is the integral point time, or it is one or one group of Preset Time.
The alarm clock used due to the present invention is system alarm clock, so the reporting method of the present invention exists advantages below:
First, the anticipated time sent of the instruction that system alarm clock sends and the difference of time that is actually sent out are only within 1 millisecond, and the timing that can meet Millisecond or the demand given the correct time, so the precision of giving the correct time of the reporting method of the present invention is higher;Secondly as system alarm clock is the system service that operating system provides, such as Android system alarm clock is the system service that Android system provides, so stuck phenomenon seldom occurs in system alarm clock, so the reliability of the reporting method of the present invention is higher;Again, owing to system alarm clock is the system service that operating system provides, even if so terminal unit is in a dormant state or screen lock state, system alarm clock is still running, therefore terminal unit can be waken up according to Preset Time up from resting state or screen lock state, so the cycle of giving the correct time of the reporting method of the present invention is unrestricted;Finally, the reporting method of the present invention is applicable to be provided with the terminal unit of system alarm clock, such as mobile phone, PAD, TV etc., and range is extensive.
According to embodiments of the invention, all the time time more new information is sent without during whole in video playback, only need to be after giving the correct time of receiving that system alarm clock sends starts instruction, transmission time more new information, the word that gives the correct time that terminal interface described in information updating shows is updated according to the described time, after receiving the termination instruction of giving the correct time that described system alarm clock sends, cancel and send more new information of described time, that is to say only need to give the correct time start instruction and give the correct time between termination instruction time period in send time more new information, therefore the transmission number of time more new information is decreased, improve the utilization rate of time more new information, ensure that the use to time more new information of other functions of video player simultaneously, maintain the performance of video player, further ensure the UI response of operating system.
Owing to described device embodiment essentially corresponds to the embodiment of the method shown in earlier figures 1-Fig. 3, therefore the most detailed part in the description of the present embodiment, may refer to the related description in previous embodiment, do not repeat at this.
Algorithm and display are not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant provided herein.Various general-purpose systems can also be used together with based on teaching in this.As described above, construct the structure required by this kind of system to be apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use various programming languages realize the content of invention described herein, and the description done language-specific above is the preferred forms in order to disclose the present invention.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that embodiments of the invention can be put into practice in the case of not having these details.In some instances, it is not shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it is to be understood that, one or more in order to simplify that the disclosure helping understands in each inventive aspect, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or descriptions thereof sometimes.But, the method for the disclosure should not being construed to reflect an intention that, i.e. the present invention for required protection requires than the more feature of feature being expressly recited in each claim.More precisely, as the following claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each claim itself is as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.In addition at least some in such feature and/or process or unit excludes each other, can use any combination that all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed any method or all processes of equipment or unit are combined.Unless expressly stated otherwise, each feature disclosed in this specification (including adjoint claim, summary and accompanying drawing) can be replaced by the alternative features providing identical, equivalent or similar purpose.
In addition, those skilled in the art it will be appreciated that, although embodiments more described herein include some feature included in other embodiments rather than further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and formed different embodiments.Such as, in the following claims, one of arbitrarily can mode the using in any combination of embodiment required for protection.
The all parts embodiment of the present invention can realize with hardware, or realizes with the software module run on one or more processor, or realizes with combinations thereof.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in terminal interface striking mechanism according to embodiments of the present invention.The present invention is also implemented as part or all the equipment for performing method as described herein or device program (such as, computer program and computer program).The program of such present invention of realization can store on a computer-readable medium, or can be to have the form of one or more signal.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment without departing from the scope of the appended claims.In the claims, any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such element.The present invention by means of including the hardware of some different elements and can realize by means of properly programmed computer.If in the unit claim listing equipment for drying, several in these devices can be specifically to be embodied by same hardware branch.Word first, second and third use do not indicate that any order.Can be title by these word explanations.
Claims (18)
1. a terminal interface reporting method, it is characterised in that including:
Giving the correct time of reception system alarm clock transmission starts instruction, sends time more new information, updates the word that gives the correct time that terminal interface described in information updating shows, more new information of described time instruction time variation amount according to the described time;
Receive the termination instruction of giving the correct time that described system alarm clock sends, and cancel transmission more new information of described time.
Method the most according to claim 1, it is characterised in that described reception system alarm clock send give the correct time start instruction after, described method also includes:
At the word that just gives the correct time described in display in the terminal interface of playing video data;
After the termination instruction of giving the correct time that described reception described system alarm clock sends, described method also includes:
Cancel the word that gives the correct time described in display in described terminal interface.
Method the most according to claim 1, it is characterised in that after described cancellation sends more new information of described time, described method also includes:
Remove the more new information of all times of record.
Method the most according to claim 1, it is characterised in that described reception system alarm clock send give the correct time start instruction before, described method also includes:
The current time of detection when opening according to time reporting function, calculate closest to the initial time of period of giving the correct time and the end time, after determining that described current time is not within the described period of giving the correct time, described initial time and described end time are sent to described Clock system.
Method the most according to claim 4, it is characterised in that the described current time of detection when opening according to time reporting function, calculate closest to the initial time of period of giving the correct time and the end time include:
When described time reporting function is opened, detect described current time;
On the basis of zero crossing time, increase by one hour, until the cumulative time after Zeng Jiaing is more than described current time, it is determined that the described cumulative time is the closest object time every time;
Before and after the described object time, mark off continuous print and give the correct time the period, the initial time of period of giving the correct time described in reading and end time.
Method the most according to claim 4, it is characterised in that described calculating closest to period of giving the correct time initial time and after the end time, however, it is determined that described current time falls and gives the correct time in the period described, and the most described method also includes:
Only the end time of described period of giving the correct time is sent to described system alarm clock;
Send more new information of described time, update, according to the described time, the word that gives the correct time that terminal interface described in information updating shows;
Receive the termination instruction of giving the correct time that described system alarm clock sends, and cancel transmission more new information of described time.
Method the most according to claim 4, it is characterised in that giving the correct time that described reception system alarm clock sends starts instruction and include:
Reception system alarm clock send after the initial time of period of giving the correct time described in detecting described in give the correct time start instruction;
The termination instruction of giving the correct time that described reception described system alarm clock sends includes:
Reception system alarm clock gives the correct time termination instruction described in sending after the end time of period of giving the correct time described in detecting.
Method the most according to claim 4, it is characterised in that after described cancellation sends more new information of described time, described method also includes:
Detection next closest to object time.
Method the most according to claim 4, it is characterised in that the described object time is the integral point time, or be one or one group of Preset Time.
10. a terminal interface striking mechanism, it is characterised in that including:
Give the correct time and start to indicate receiver module, start instruction for receiving giving the correct time of system alarm clock transmission, send time more new information, update the word that gives the correct time that terminal interface described in information updating shows, more new information of described time instruction time variation amount according to the described time;
Termination instruction of giving the correct time receiver module, for receiving the termination instruction of giving the correct time that described system alarm clock sends, and cancels transmission more new information of described time.
11. devices according to claim 10, it is characterised in that:
Described giving the correct time starts to indicate receiver module, is additionally operable to, after giving the correct time of sending of described reception system alarm clock starts instruction, just giving the correct time word described in display in the terminal interface of playing video data;
The described termination instruction receiver module that gives the correct time, is additionally operable to after the termination instruction of giving the correct time that described reception described system alarm clock sends, and cancels the word that gives the correct time described in display in described terminal interface.
12. devices according to claim 10, it is characterised in that described device also includes:
Message Record removes module, after sending more new information of described time in described cancellation, removes the more new information of all times of record.
13. devices according to claim 10, it is characterised in that described device also includes:
Give the correct time time sending module, before giving the correct time of sending at described reception system alarm clock starts instruction, the current time of detection when opening according to time reporting function, calculate closest to the initial time of period of giving the correct time and the end time, after determining that described current time is not within the described period of giving the correct time, described initial time and described end time are sent to described Clock system.
14. devices according to claim 13, it is characterised in that described in the time sending module that gives the correct time include:
Current time detection sub-module, for when described time reporting function is opened, detects described current time;
Object time calculating sub module, on the basis of zero crossing time, increases by one hour every time, until the cumulative time after Zeng Jiaing is more than described current time, it is determined that the described cumulative time is the closest object time;
Time Calculation of giving the correct time submodule, before and after the described object time, marks off continuous print and gives the correct time the period, the initial time of period of giving the correct time described in reading and end time.
15. devices according to claim 13, it is characterised in that described device also includes:
End time sending module, for described calculating closest to period of giving the correct time initial time and after the end time, however, it is determined that described current time falls and gives the correct time in the period described, is the most only sent to described system alarm clock the end time of described period of giving the correct time;
The word that gives the correct time more new module, is used for sending more new information of described time, updates, according to the described time, the word that gives the correct time that terminal interface described in information updating shows;
Time more new information cancels module, for receiving the termination instruction of giving the correct time that described system alarm clock sends, and cancels transmission more new information of described time.
16. devices according to claim 13, it is characterised in that:
Described giving the correct time starts to indicate receiver module, specifically for receive system alarm clock sends after the initial time of period of giving the correct time described in detecting described in give the correct time start indicate;
The described termination instruction receiver module that gives the correct time, specifically for receive system alarm clock send after the end time of period of giving the correct time described in detecting described in give the correct time termination instruction.
17. devices according to claim 13, it is characterised in that described device also includes:
Object time detection module, for sending after more new information of described time described cancellation, detection next closest to object time.
18. devices according to claim 13, it is characterised in that the described object time is the integral point time, or be one or one group of Preset Time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610162763.5A CN105824947A (en) | 2016-03-21 | 2016-03-21 | Terminal interface time telling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610162763.5A CN105824947A (en) | 2016-03-21 | 2016-03-21 | Terminal interface time telling method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105824947A true CN105824947A (en) | 2016-08-03 |
Family
ID=56524957
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610162763.5A Pending CN105824947A (en) | 2016-03-21 | 2016-03-21 | Terminal interface time telling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105824947A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108345349A (en) * | 2018-03-07 | 2018-07-31 | 杭州万高科技股份有限公司 | Method, system, equipment and computer storage media when a kind of alarm clock is walked |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2814832Y (en) * | 2005-08-31 | 2006-09-06 | 深圳创维-Rgb电子有限公司 | TV set with sound prompting function |
CN101453593A (en) * | 2008-12-04 | 2009-06-10 | 康佳集团股份有限公司 | Hour reporting method, system for digital television, and digital television therefor |
CN103079103A (en) * | 2013-01-04 | 2013-05-01 | 深圳市龙视传媒有限公司 | Method, equipment and system for broadcasting time telling advertisement |
-
2016
- 2016-03-21 CN CN201610162763.5A patent/CN105824947A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2814832Y (en) * | 2005-08-31 | 2006-09-06 | 深圳创维-Rgb电子有限公司 | TV set with sound prompting function |
CN101453593A (en) * | 2008-12-04 | 2009-06-10 | 康佳集团股份有限公司 | Hour reporting method, system for digital television, and digital television therefor |
CN103079103A (en) * | 2013-01-04 | 2013-05-01 | 深圳市龙视传媒有限公司 | Method, equipment and system for broadcasting time telling advertisement |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108345349A (en) * | 2018-03-07 | 2018-07-31 | 杭州万高科技股份有限公司 | Method, system, equipment and computer storage media when a kind of alarm clock is walked |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105677386A (en) | Application program management method and device and electronic equipment | |
CN111352659B (en) | Misprediction recovery apparatus and method for branch and fetch pipelines | |
CN107577471B (en) | Application control method and mobile terminal | |
CN110908838B (en) | Data processing method and device, electronic equipment and storage medium | |
CN105589663B (en) | Mobile terminal and its data processing method | |
CN103019677B (en) | For the method and apparatus managing software | |
CN107132962B (en) | Navigation bar control method and device | |
CN103686376A (en) | Method and device for software upgrading of smart television | |
CN101606145A (en) | Be computer system customization operations system | |
CN103888619A (en) | Message processing method and system thereof | |
CN111076741B (en) | Navigation state acquisition method and device, storage medium and electronic equipment | |
CN115562744B (en) | Application program loading method and electronic device | |
CN107870780B (en) | Data processing apparatus and method | |
CN109901849B (en) | Application program installation method and device, electronic equipment and storage medium | |
CN111159599A (en) | Method, device, electronic equipment and storage medium for processing advertisement | |
CN105824947A (en) | Terminal interface time telling method and device | |
EP3959895B1 (en) | Method for monitoring usage of at least one application executed within an operating system, corresponding apparatus, computer program product and computer-readable carrier medium | |
CN109976790B (en) | Application updating method, device, terminal and storage medium | |
CN113542256A (en) | Method, device, equipment and storage medium for updating login credentials in client | |
CN117130697B (en) | Method and device for fixing application on taskbar | |
JP2008015883A (en) | Master device, slave device, and communication method and communication system therefor | |
CN104836878A (en) | Method, device and system for outputting prompt in communication process | |
CN105278993B (en) | A kind of drive module upgrade method and device based on linux system | |
CN115562743B (en) | Application program loading method and electronic device | |
CN110324549B (en) | Video recording method, device and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160803 |