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

Active Publication Date: 2013-06-19
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Disadvantages of existing technical solutions: the automatic update time is 3, 6, and 12 hours respectively, and testers need to record the time points in detail. After the update time is reached, observe whether there are new news summaries and pictures, or whether the refresh button rotates automatically. Long time, waste of time and manpower

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device to detect for updating
  • Method and device to detect for updating
  • Method and device to detect for updating

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device to detect for updating and belongs to the field of internet. The method comprises that when timing time of a timer is equal to a preset updating time section, users can judge whether a terminal sends a data updating demand of desktop news to a server or not; when the terminal sends the data updating demand of the desktop news to the server, a first monitoring data can be generated and displayed and the data of the desktop news of the terminal can be ensured to update successfully by users according to the first monitoring data. According to the method and the device to detect for updating, whether the desktop news is updated or not can be judged form whether the terminal sends the data updating demand of the desktop news to the sever or not so as to save detective time and detective labor.

Description

technical field [0001] The invention relates to the Internet field, in particular to a method and device for detecting updates. Background technique [0002] Widgets (application widgets) are tiny application views that can be embedded in other applications (such as the desktop) and receive periodic updates. [0003] Existing tests for the automatic update function of the desktop news widget are all manual tests. Assuming that the automatic update of the news widget is set to 6 hours, the tester should record the starting time of the setting, and check whether the news and pictures of the desktop news widget are automatically updated at 6 hours. [0004] Disadvantages of existing technical solutions: the automatic update time is 3, 6, and 12 hours respectively, and testers need to record the time points in detail. After the update time is reached, observe whether there are new news summaries and pictures, or whether the refresh button automatically rotates, and test It tak...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/32
Inventor 杜磊
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products