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

Page updating method and device based on current limiter and computer storage medium

A page update and current limiter technology, applied in the Internet field, can solve problems such as no solution proposed, interface stuck, not the latest data, etc., and achieve the effect of avoiding data update too fast

Active Publication Date: 2019-05-07
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] For applications that need to refresh the interface in real time, for example: the real-time refresh interface of the stock app, the following problems generally occur: one is that the back-end data is spit out very quickly, and the interface will be stuck; the other is that the data of different modules is in the When different times come, the interface refreshes out of sync
[0003] At present, delays are generally used to solve the above problems, but delays usually cause the loss of first and last data
For example: the four tasks a, b, c, and d are executed in 1, 2, 3, and 4 seconds respectively. If the delay is 2 seconds, only task a and task c will be executed at this time, which will cause task d to be executed. Ignoring it will cause the interface to finally display not the latest data
Because a is executed from 1 second, and it takes 3 seconds to execute task c, it will call task c to execute. After task c is executed, it will be 5s, and no task will be executed. The execution result of task c is displayed instead of the execution result of task d. As a result, the latest data displayed on the interface is not
[0004] For the above problems, no effective solution has been proposed

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
  • Page updating method and device based on current limiter and computer storage medium
  • Page updating method and device based on current limiter and computer storage medium
  • Page updating method and device based on current limiter and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to enable those skilled in the art to better understand the technical solutions in the present disclosure, the following will clearly and completely describe the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described The embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work should fall within the protection scope of the present disclosure.

[0043] Unless otherwise defined, the technical terms or scientific terms used in the present invention should have the usual meanings understood by those with ordinary skills in the field to which the present invention belongs. The "first", "second" and similar words used in the present invention do not indicate...

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 embodiment of the invention provides a page updating method and device based on a current limiter and a computer storage medium, and the method comprises: enabling the current limiter to collect aplurality of tasks; Mounting the plurality of tasks on a current limiter; In the delay period, enabling the current limiter to collect latest data of each task in the plurality of tasks; And at the execution node, executing the plurality of tasks based on the latest data of each task, and displaying a task result. According to the technical scheme, a plurality of tasks are executed based on the delay period and the execution node set by the same current limiter, so that the final interface display result is synchronous, the jamming problem caused by too fast data updating can be avoided, andthe purposes of interface current limiting and interface synchronization are achieved.

Description

Technical field [0001] The present disclosure relates to the field of Internet technology, and in particular to a method and device for updating a page based on a current limiter. Background technique [0002] For applications that need to refresh the interface in real time, such as the real-time refresh of the interface of the stock App, the following problems will generally occur: one is that the back-end data is spit out very quickly, and the interface will be stuck; the other is that the data of different modules is in The problem that the interface refresh is out of sync when different times arrive. [0003] At present, methods such as delay are generally used to address the above problems, but the delay usually causes the loss of first and last data. For example: the 4 tasks of a, b, c, and d are executed in 1, 2, 3, and 4 seconds respectively. If the delay is 2 seconds, only task a and task c will be executed at this time, which will cause task d to be Ignoring it will res...

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): G06F9/451
Inventor 张政桢
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD