CN111694619A - Method, device and equipment for realizing timer based on refresh rate and storage medium - Google Patents

Method, device and equipment for realizing timer based on refresh rate and storage medium Download PDF

Info

Publication number
CN111694619A
CN111694619A CN202010516070.8A CN202010516070A CN111694619A CN 111694619 A CN111694619 A CN 111694619A CN 202010516070 A CN202010516070 A CN 202010516070A CN 111694619 A CN111694619 A CN 111694619A
Authority
CN
China
Prior art keywords
event
target
queue
initial
global
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
Application number
CN202010516070.8A
Other languages
Chinese (zh)
Inventor
李琦
宋卫东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Ruiyun Technology Co ltd
Original Assignee
Chongqing Ruiyun Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chongqing Ruiyun Technology Co ltd filed Critical Chongqing Ruiyun Technology Co ltd
Priority to CN202010516070.8A priority Critical patent/CN111694619A/en
Publication of CN111694619A publication Critical patent/CN111694619A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45529Embedded in an application, e.g. JavaScript in a Web browser

Abstract

The invention provides a method, a device, equipment and a storage medium for realizing a timer based on a refresh rate, wherein the method comprises the following steps: acquiring an initial event and a delay time corresponding to the initial event, defining a target callback function corresponding to the initial event, packaging the target callback function into a target event, and establishing a global event queue according to the target event; defining an event recursion method, calling a request frame animation function, wherein the request frame animation function is used for recursively executing the event recursion method; processing the target event according to an event recursion method to obtain the active duration of the target event; calling a target callback function, comparing and judging the active duration and the delay time, and sending a judgment result to an event recursion method; and if the judgment result meets the preset value, executing the target event, and deleting the target event from the global event queue. According to the technical scheme, a user-defined timer method is adopted, the smooth and unsmooth webpage interaction effect is realized, and the user experience is improved.

Description

Method, device and equipment for realizing timer based on refresh rate and storage medium
Technical Field
The invention relates to the technical field of computer communication, in particular to a method, a device, equipment and a storage medium for realizing a timer based on a refresh rate.
Background
In the course of writing a program using Java script front-end language at ordinary times, when a function is called or an expression is calculated after a specified number of milliseconds, the existing function method is usually used: SetTimeout. However, this method has certain disadvantages: in a mobile webpage, the simultaneous use of multiple SetTimeout functions on the same page may cause page jamming, incomplete page loading, deadlocking, or direct stop of accessing the page, which affects user experience, causes loss of corresponding mobile webpage application users, and generates immeasurable economic loss.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a device and a storage medium for implementing a timer based on a refresh rate.
A refresh rate based timer implementation method, the method comprising: acquiring an initial event and a delay time corresponding to the initial event, defining a target callback function corresponding to the initial event, packaging the target callback function into a target event, and establishing a global event queue according to the target event; defining an event recursion method, calling a request frame animation function, wherein the request frame animation function is used for recursively executing the event recursion method; processing the target event according to the event recursion method to obtain the active duration of the target event; calling the target callback function, comparing and judging the active duration and the delay time, and sending the judgment result to the event recursion method; and if the judgment result meets the preset value, executing the target event, and deleting the target event from the global event queue.
In one embodiment, the obtaining an initial event and a corresponding delay time of the initial event, defining a target callback function corresponding to the initial event, encapsulating the target callback function as a target event, and after establishing a global event queue according to the target event, further includes: and initializing a starting execution event timestamp of the target event, so that the starting execution event timestamp is 0.
In one embodiment, the event recursion method specifically includes: and acquiring the current time, and circulating all target events in the global event queue.
In one embodiment, the processing the target event according to the event recursion method to obtain the active duration of the target event includes: acquiring a starting execution event timestamp of the target event; and obtaining the current time, and subtracting the time stamp for starting the execution of the event from the current time to obtain the active duration of the target event.
In one embodiment, after obtaining the start execution event timestamp of the target event, the method further includes: judging whether the time stamp of the event starting execution is 0 or not; and if the time stamp of the event starting to be executed is 0, acquiring the current time, and assigning the time stamp of the event starting to be executed as the current time.
In one embodiment, after the executing the target event and deleting the target event from the global event queue if the determination result meets a preset value, the method further includes: and if the judgment result does not accord with a preset value, keeping the target event active in the global event queue.
A timer realizing device based on a refresh rate comprises a queue establishing module, a recursion executing module, an event processing module, a duration judging module and an event executing module, wherein: the queue establishing module is used for acquiring an initial event and the delay time corresponding to the initial event, defining a target callback function corresponding to the initial event, packaging the target callback function into a target event, and establishing a global event queue according to the target event; the recursive execution module is used for defining an event recursive method and calling a request frame animation function, and the request frame animation function is used for recursively executing the event recursive method; the event processing module is used for processing the target event according to the event recursion method to obtain the active duration of the target event; the time length judging module is used for calling the target callback function, comparing and judging the active time length and the delay time, and sending the judging result to the event recursion method; and the event execution module is used for executing the target event and deleting the target event from the global event queue if the judgment result meets a preset value.
In one embodiment, the apparatus further comprises an initialization processing module: the initialization processing module is configured to perform initialization processing on the start execution event timestamp of the target event, so that the start execution event timestamp is 0.
An apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the refresh rate based timer implementation method described in the above embodiments when executing the program.
A storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the refresh rate based timer implementation method described in the various embodiments above.
According to the refresh rate-based timer implementation method, the refresh rate-based timer implementation device, the refresh rate-based timer implementation equipment and the storage medium, the target event in the global event queue is recursively processed through the event recursion method to obtain the active duration, the active duration is compared with the delay duration through the callback function to obtain the result, whether the target event is executed or not is judged, and therefore the definition method of the new timer is achieved, the user-defined timer method is adopted, the calling of the timer of the original webpage is avoided, the unsmooth and smooth webpage interaction effect is achieved, and the user experience is improved.
Drawings
FIG. 1 is a flow chart illustrating a method for implementing a refresh rate based timer according to an embodiment;
FIG. 2 is a block diagram of an apparatus for implementing a refresh rate based timer according to an embodiment;
fig. 3 is an internal structural diagram of the device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings by way of specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The refresh rate-based timer implementation method is applied to the process of programming by programmers using Javascript front-end language, is applied to the webpage design of a mobile terminal, and is implemented based on the refresh rate of the mobile terminal, wherein the mobile terminal comprises but is not limited to a notebook computer, a smart phone, a tablet computer and portable wearable equipment.
In one embodiment, as shown in fig. 1, there is provided a refresh rate based timer implementation method, including the following steps:
s101, acquiring an initial event and a delay time corresponding to the initial event, defining a target callback function corresponding to the initial event, packaging the target callback function into a target event, and establishing a global event queue according to the target event.
Specifically, an initial event in the whole webpage is obtained first, where the initial event refers to a timer event that needs to be processed, that is, an event that needs to set a timer; meanwhile, delay time corresponding to the initial event is also acquired, wherein the delay time refers to the time after the preset time for executing the target event; then, defining a target callback function corresponding to the initial event according to the initial event, and then packaging the target callback function to obtain a target event; and finally establishing a global event queue, wherein the global event queue consists of target events.
In one embodiment, after step S101, the method further includes: the start execution event timestamp of the target event is initialized so that the start execution event timestamp is 0. Specifically, the start execution event timestamp of the target event is the time when the target event is first brought into the global event queue, and the start execution event timestamp needs to be initialized during packaging.
S102 defines an event recursion method, calls a request frame animation function, and the request frame animation function is used for recursively executing the event recursion method.
Specifically, an event recursion method is defined, the event recursion method is used for carrying out recursion processing on all target events in the global event queue, then a Request Frame Animation function is called, the Request Frame Animation function is a Request Animation Frame, and the Request Frame Animation function is used for recursively executing the defined event recursion method.
In one embodiment, the event recursion method is specifically: and acquiring the current time, and circulating all target events in the global event queue. Now, using the method date, i.e. the number of milliseconds of the current time is obtained for comparison with the timer time, all target events are looped on the global event queue using the for Each loop method.
S103, processing the target event according to an event recursion method to obtain the active duration of the target event.
Specifically, a target event is subjected to recursive loop processing according to an event recursive method, and then the active duration of the target event is obtained, that is, the start execution event timestamp of the target event is used as a starting time, the current time is used as an ending time, and the difference between the ending time and the starting time is used as the active duration of the target event.
In one embodiment, step S103 includes: acquiring a starting execution event timestamp of a target event; and obtaining the current time, and subtracting the time stamp for starting to execute the event from the current time to obtain the active duration of the target event. Specifically, the start execution event timestamp of the target event is the time when the target event is first brought into the global event queue, the start execution event timestamp of the target event is used as a starting time, the current time is used as an ending time, and the difference between the ending time and the starting time is used as the active duration of the target event.
In one embodiment, after the step of obtaining the timestamp of the start execution event of the target event, the method further comprises: judging whether the timestamp for starting to execute the event is 0 or not; and if the time stamp of the event starting to be executed is 0, acquiring the current time, and assigning the time stamp of the event starting to be executed as the current time. Specifically, in the process of cycling the global event queue by using an event recursion method, a specific target event of the current cycle is acquired, and at this time, the event timestamp of starting execution of the target event is judged. If the time stamp of the event for starting execution is equal to 0, the target event is not timed, and the target event is assigned as the current time; if the time stamp of the start execution event is not equal to 0, the target event is determined to be out of date, and then the next processing is continued without any processing.
S104, calling a target callback function, comparing and judging the active duration and the delay time, and sending a judgment result to the event recursion method.
Specifically, a target callback function corresponding to the target event is called, then the active duration obtained in step S103 is transferred to the target callback function, in the target callback function, the active duration and the delay time are compared and determined, and the determination result in the callback function is transmitted back to the event recursion method.
And S105, if the judgment result meets the preset value, executing the target event, and deleting the target event from the global event queue.
Specifically, the preset value refers to that the judgment result is that the active duration is greater than or equal to the delay time, and when the active duration is greater than or equal to the delay time, the target event is executed, where the greater is an error range with different precision values. Regardless of whether the active duration is greater than or equal to the hold off time, the target event needs to be deleted from the global event queue after the target event is executed.
In one embodiment, after step S105, the method further includes: and if the judgment result does not accord with the preset value, keeping the target event active in the global event queue. Specifically, when the judgment result does not meet the preset value, that is, the active duration is smaller than the delay time, it indicates that the execution time of the target event has not yet arrived, the target event is not processed, the target event is still kept active in the global event queue, the steps of obtaining the active duration and comparing the active duration are repeated until the comparison judgment result of the active duration and the delay time of the target event meets the preset value, and the active duration and the delay time are deleted from the global event queue after the comparison judgment result is executed.
In the embodiment, the target event in the global event queue is recursively processed through the event recursive method to obtain the active duration, the active duration is compared with the delay time through the callback function to obtain a result, and whether the target event is executed or not is judged, so that a new timer definition method is realized.
In one embodiment, as shown in fig. 2, there is provided a refresh-rate-based timer implementation apparatus 200, which includes a queue establishing module 201, a recursive executing module 202, an event processing module 203, a duration judging module 204, and an event executing module 205, where:
the queue establishing module 201 is configured to obtain an initial event and a delay time corresponding to the initial event, define a target callback function corresponding to the initial event, package the target callback function as a target event, and establish a global event queue according to the target event;
the recursive execution module 202 is configured to define an event recursive method, call a request frame animation function, and the request frame animation function is configured to recursively execute the event recursive method;
the event processing module 203 is configured to process the target event according to an event recursion method to obtain an active duration of the target event;
the duration judgment module 204 is configured to call a target callback function, compare and judge the active duration and the delay time, and send a judgment result to the event recursion method;
the event executing module 205 is configured to execute the target event and delete the target event from the global event queue if the determination result meets the preset value.
In one embodiment, the apparatus further comprises an initialization processing module, wherein: the initialization processing module is used for initializing the starting execution event timestamp of the target event, so that the starting execution event timestamp is 0.
In one embodiment, recursive execution module 202 is further configured to obtain a current time and loop through all target events in the global event queue.
In one embodiment, the event processing module 203 is further configured to obtain a timestamp of the start execution event of the target event; and obtaining the current time, and subtracting the time stamp for starting to execute the event from the current time to obtain the active duration of the target event.
In one embodiment, the event processing module 203 is further configured to determine whether a timestamp of starting to execute the event is 0; and if the time stamp of the event starting to be executed is 0, acquiring the current time, and assigning the time stamp of the event starting to be executed as the current time.
In one embodiment, the apparatus further comprises an event retention module, wherein: and the event keeping module is used for keeping the target event active in the global event queue if the judgment result does not accord with the preset value.
In one embodiment, a device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 3. The device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the device is configured to provide computing and control capabilities. The memory of the device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the device is used for storing configuration templates and also can be used for storing target webpage data. The network interface of the device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a refresh rate based timer implementation method.
Those skilled in the art will appreciate that the configuration shown in fig. 3 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the devices to which the present application may be applied, and that a particular device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a storage medium is further provided, the storage medium storing a computer program, the computer program comprising program instructions, which when executed by a computer, which may be part of the above mentioned refresh rate based timer implementation apparatus, cause the computer to perform the method according to the preceding embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
It will be apparent to those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and optionally they may be implemented in program code executable by a computing device, such that they may be stored on a computer storage medium (ROM/RAM, magnetic disks, optical disks) and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of the present invention that is presented in conjunction with specific embodiments, and the practice of the invention is not to be considered limited to those descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A method for implementing a timer based on a refresh rate, comprising:
acquiring an initial event and a delay time corresponding to the initial event, defining a target callback function corresponding to the initial event, packaging the target callback function into a target event, and establishing a global event queue according to the target event;
defining an event recursion method, calling a request frame animation function, wherein the request frame animation function is used for recursively executing the event recursion method;
processing the target event according to the event recursion method to obtain the active duration of the target event;
calling the target callback function, comparing and judging the active duration and the delay time, and sending the judgment result to the event recursion method;
and if the judgment result meets the preset value, executing the target event, and deleting the target event from the global event queue.
2. The method of claim 1, wherein the obtaining an initial event and a delay time corresponding to the initial event, defining a target callback function corresponding to the initial event, encapsulating the target callback function as a target event, and after establishing a global event queue according to the target event, further comprises:
and initializing a starting execution event timestamp of the target event, so that the starting execution event timestamp is 0.
3. The method of claim 1, wherein the event recursion method is specifically:
and acquiring the current time, and circulating all target events in the global event queue.
4. The method of claim 1, wherein the processing the target event according to the event recursion method to obtain the active duration of the target event comprises:
acquiring a starting execution event timestamp of the target event;
and obtaining the current time, and subtracting the time stamp for starting the execution of the event from the current time to obtain the active duration of the target event.
5. The method of claim 4, wherein after obtaining the start execution event timestamp of the target event, further comprising:
judging whether the time stamp of the event starting execution is 0 or not;
and if the time stamp of the event starting to be executed is 0, acquiring the current time, and assigning the time stamp of the event starting to be executed as the current time.
6. The method of claim 1, wherein after executing the target event and deleting the target event from the global event queue if the determination result meets a preset value, further comprising:
and if the judgment result does not accord with a preset value, keeping the target event active in the global event queue.
7. A timer realizing device based on a refresh rate is characterized by comprising a queue establishing module, a recursion executing module, an event processing module, a duration judging module and an event executing module, wherein:
the queue establishing module is used for acquiring an initial event and the delay time corresponding to the initial event, defining a target callback function corresponding to the initial event, packaging the target callback function into a target event, and establishing a global event queue according to the target event;
the recursive execution module is used for defining an event recursive method and calling a request frame animation function, and the request frame animation function is used for recursively executing the event recursive method;
the event processing module is used for processing the target event according to the event recursion method to obtain the active duration of the target event;
the time length judging module is used for calling the target callback function, comparing and judging the active time length and the delay time, and sending the judging result to the event recursion method;
and the event execution module is used for executing the target event and deleting the target event from the global event queue if the judgment result meets a preset value.
8. The apparatus of claim 7, further comprising an initialization processing module to:
the initialization processing module is configured to perform initialization processing on the start execution event timestamp of the target event, so that the start execution event timestamp is 0.
9. An apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 6 are implemented when the computer program is executed by the processor.
10. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, realizing the steps of the method of any one of claims 1 to 6.
CN202010516070.8A 2020-06-09 2020-06-09 Method, device and equipment for realizing timer based on refresh rate and storage medium Pending CN111694619A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010516070.8A CN111694619A (en) 2020-06-09 2020-06-09 Method, device and equipment for realizing timer based on refresh rate and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010516070.8A CN111694619A (en) 2020-06-09 2020-06-09 Method, device and equipment for realizing timer based on refresh rate and storage medium

Publications (1)

Publication Number Publication Date
CN111694619A true CN111694619A (en) 2020-09-22

Family

ID=72479788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010516070.8A Pending CN111694619A (en) 2020-06-09 2020-06-09 Method, device and equipment for realizing timer based on refresh rate and storage medium

Country Status (1)

Country Link
CN (1) CN111694619A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324469A (en) * 2012-03-21 2013-09-25 腾讯科技(深圳)有限公司 Timer implementation method and device
CN103455402A (en) * 2013-08-16 2013-12-18 厦门雅迅网络股份有限公司 Timer control method without accumulated error
CN103677976A (en) * 2013-12-09 2014-03-26 大唐移动通信设备有限公司 Event handling method and device based on time wheel timer
US20160378879A1 (en) * 2013-11-01 2016-12-29 Kapow Technologies Determining web page processing state
CN108958912A (en) * 2018-06-21 2018-12-07 无锡天脉聚源传媒科技有限公司 A kind of html page timing queue dispatching method, system, device and storage medium
CN110100235A (en) * 2016-12-15 2019-08-06 起元技术有限责任公司 Foreign peoples's event queue
CN110347947A (en) * 2019-06-17 2019-10-18 阿里巴巴集团控股有限公司 A kind of page rendering method and device
CN110347427A (en) * 2019-07-08 2019-10-18 北京明略软件系统有限公司 The optimization method and device of web page code
CN111031376A (en) * 2019-11-25 2020-04-17 上海哔哩哔哩科技有限公司 Bullet screen processing method and system based on WeChat applet
CN111108475A (en) * 2019-12-27 2020-05-05 威创集团股份有限公司 Method for realizing transparent webpage by embedding cos2dx into cef

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324469A (en) * 2012-03-21 2013-09-25 腾讯科技(深圳)有限公司 Timer implementation method and device
CN103455402A (en) * 2013-08-16 2013-12-18 厦门雅迅网络股份有限公司 Timer control method without accumulated error
US20160378879A1 (en) * 2013-11-01 2016-12-29 Kapow Technologies Determining web page processing state
CN103677976A (en) * 2013-12-09 2014-03-26 大唐移动通信设备有限公司 Event handling method and device based on time wheel timer
CN110100235A (en) * 2016-12-15 2019-08-06 起元技术有限责任公司 Foreign peoples's event queue
CN108958912A (en) * 2018-06-21 2018-12-07 无锡天脉聚源传媒科技有限公司 A kind of html page timing queue dispatching method, system, device and storage medium
CN110347947A (en) * 2019-06-17 2019-10-18 阿里巴巴集团控股有限公司 A kind of page rendering method and device
CN110347427A (en) * 2019-07-08 2019-10-18 北京明略软件系统有限公司 The optimization method and device of web page code
CN111031376A (en) * 2019-11-25 2020-04-17 上海哔哩哔哩科技有限公司 Bullet screen processing method and system based on WeChat applet
CN111108475A (en) * 2019-12-27 2020-05-05 威创集团股份有限公司 Method for realizing transparent webpage by embedding cos2dx into cef

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
WEIXIN_34331102: "requestAnimationFrame替代setTimeout、setInterval", 《HTTPS://BLOG.CSDN.NET/WEIXIN_34331102/ARTICLE/DETAILS/88020848》 *
周宇轩等: "一种高效的SVG动画自适应渲染算法", 《微电子学与计算机》 *
韩蒙蒙等: "基于Java Script的定时事件实现方法的研究", 《亚太教育》 *

Similar Documents

Publication Publication Date Title
CN110362356B (en) Function data processing method and device, computer equipment and storage medium
CN113568686A (en) Asynchronous processing method and device of Lua language, computer equipment and storage medium
CN111666112B (en) Method, device and system for realizing platform plug-in and computer equipment
CN110599305A (en) Service processing method, device and storage medium
CN113377668A (en) Automatic testing method and device for service interface and computer equipment
CN109783254A (en) Asynchronism callback method, apparatus, computer equipment and storage medium
CN114189559A (en) Interface repeat request processing method and system based on Axios
CN110888628A (en) Method, device, equipment and storage medium for generating control tool
CN111294377B (en) Dependency network request sending method, terminal device and storage medium
CN111694619A (en) Method, device and equipment for realizing timer based on refresh rate and storage medium
CN115344371A (en) Interface calling method and device, storage medium and computer equipment
CN113032118A (en) Asynchronous operation processing method for computer application program and corresponding system
CN114610413A (en) Method, device, equipment and storage medium for executing synchronous and asynchronous tasks based on Java
CN114816482A (en) Method and device for upgrading block storage service, computer equipment and storage medium
CN114595047A (en) Batch task processing method and device
CN110417912B (en) Method for calling back after file downloading is completed
CN112199228A (en) Request timeout processing method, device, terminal and storage medium
CN114374657A (en) Data processing method and device
CN110535751B (en) Message response method and device, computer equipment and storage medium
CN112395057A (en) Data processing method and device based on timing task and computer equipment
CN110928630A (en) Activation control method, device and equipment for application program window and storage medium
CN112148803A (en) Method, device and equipment for calling tasks in block chain and readable storage medium
CN115794927B (en) Service function expansion method and system
CN116700940B (en) Request handling method, system and device based on encapsulation class and medium
CN111177636A (en) Recursive scheduling method and system for webpage requests

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200922

RJ01 Rejection of invention patent application after publication