Two-dimensional code dynamic refreshing method based on terminal and storage medium
A two-dimensional code and a technology for generating a two-dimensional code, applied in the field of terminal-based two-dimensional code dynamic refresh method and storage medium, can solve problems such as payment failure, poor dynamic display effect of the terminal, and inability to update the two-dimensional code
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] A method for dynamically refreshing a terminal-based two-dimensional code provided by an embodiment of the present invention is as follows: figure 1 As shown, in this embodiment, steps S1 to S5 are included:
[0034] S1. Acquire two-dimensional code data regularly, including steps S11 to S13:
[0035] S11. Create a server timer, and set the timing trigger duration;
[0036] S12, after detecting that the network is successfully established, start the server timer, and initiate a request to obtain two-dimensional code data from the server at the same time;
[0037] S13. When the server timer is triggered, acquire new two-dimensional code data from the server and update and display it.
[0038] In this embodiment, a server timer is created, and a timing trigger duration is configured, so that the two-dimensional code picture can be updated regularly.
[0039] S2. Correcting the local time according to the acquired two-dimensional code data, specifically: parsing the acq...
Embodiment 2
[0061] Embodiments of the present invention further provide a storage medium on which a computer program is stored, and the computer program is used to implement the terminal-based dynamic refresh method for two-dimensional codes provided by the above embodiments. The storage medium may be a magnetic disk, an optical disk, a read only memory (Read Only Memory, ROM), or a random access device (Random Access Memory, RAM) or the like.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
