Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for detecting updates

A technology for data update and update time, applied in the Internet field, can solve the problems of wasting time and manpower, long test time, etc., and achieve the effect of accurate verification, saving test time, and saving test manpower

Active Publication Date: 2018-04-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 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
  • A method and device for detecting updates
  • A method and device for detecting updates
  • A method and device for detecting updates

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 device for detecting and updating, belonging to the field of the Internet. The method includes: when the counting time of the timer is equal to the preset update time period, judging whether the terminal has sent a data update request of desktop news to the server; if so, generating and displaying the first monitoring data, so that the user can The first listening data confirms that the data of the desktop news on the terminal is updated successfully. The invention judges whether the update of the desktop news is successful by checking whether the terminal sends a data update request of the desktop news to the server, thereby saving test time and manpower.

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 Patents(China)
IPC IPC(8): G06F11/32
Inventor 杜磊
Owner TENCENT TECH (SHENZHEN) CO LTD