Method and device to detect for updating
A data update and update time technology, applied in the Internet field, can solve the problems of long test time, waste of time and manpower, etc., and achieve the effect of saving test time, accurate verification, and saving test manpower
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] see figure 1 .A method for detecting updates is provided in this embodiment, including:
[0027] 101: When the counting time of the timer is equal to the preset update time period, determine whether the terminal has sent a data update request of desktop news to the server;
[0028] 102: If yes, generate and display first monitoring data, so that the user confirms that the desktop news data on the terminal is successfully updated according to the first monitoring data.
[0029] In this embodiment, the preset update time period includes a time period for updating data of the desktop news.
[0030] Wherein, the method also includes:
[0031] If the terminal does not send a data update request for desktop news to the server, then generate and display second monitoring data, so that the user can confirm that the data update of desktop news on the terminal is not successful according to the second monitoring data .
[0032] Optionally, in this embodiment, the Boolean valu...
Embodiment 2
[0035] see figure 2 , a method for detecting updates is provided in this embodiment, including:
[0036] 201: Set an automatic update time period for desktop news.
[0037] In this embodiment, start the desktop news widget, and first set the automatic update time of the desktop news, such as setting the automatic update time to 3 hours, 6 hours, or 12 hours, which is not specifically limited in this embodiment. If the weather forecast is installed on the desktop of the terminal, and the update time of the weather forecast is set to 12 hours, the terminal needs to update the weather forecast on the desktop every 12 hours.
[0038] 202: Start a timer when the terminal starts the desktop news.
[0039] In this embodiment, while the automatic update time of desktop news is set successfully, a listener A and timer B are added in the test program, and timer B is started to start timing from zero, or from the automatic update of desktop news The duration begins to count down, and...
Embodiment 3
[0047] see image 3 , an embodiment of the present invention provides a device for detecting an update, the device includes: a judging module 301 and a generating module 302 .
[0048] Judging module 301, used for judging whether the terminal has sent a data update request of desktop news to the server when the counting time of the timer is equal to the preset update time period;
[0049] The generation module 302 is configured to generate and display first monitoring data if the determination result of the determination module 301 is yes, so that the user can confirm that the data update of the desktop news on the terminal is successful according to the first monitoring data.
[0050] In this embodiment, the preset update time period includes a time period for updating data of the desktop news.
[0051] In this embodiment, the generating module 302 is further configured to generate and display second monitoring data if the judging module 301 judges that the terminal has not ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com