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

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

Pending Publication Date: 2022-07-22
HUIZHOU BOSHIJIE TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a terminal-based two-dimensional code dynamic refresh method and storage medium, which solves the technical problem that the existing terminal dynamic display effect is poor, and the two-dimensional code cannot be updated in an offline state, resulting in payment collection failure

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
  • Two-dimensional code dynamic refreshing method based on terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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.

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 relates to the technical field of computer application, and provides a terminal-based two-dimensional code dynamic refreshing method and a storage medium, when a terminal network is successfully connected, the local time is corrected through two-dimensional code data acquired from a server, so that the synchronization of the local time and the cloud time is ensured, and the time accuracy of the terminal is improved; the two-dimensional code data acquired from the server is directly adopted to regularly make the two-dimensional code picture and display the two-dimensional code picture, so that the dynamic display of the collection two-dimensional code can be realized, the two-dimensional code is effectively prevented from being copied or replaced, and the operation is more convenient and safer. Meanwhile, the two-dimensional code generation rule obtained from the server is stored in a local database, and when the network is detected to be abnormal, the newly stored two-dimensional code generation rule can be directly obtained to perform offline updating of the two-dimensional code picture. The real-time performance of the dynamic two-dimensional code in display can be ensured by using two modes of server updating and local updating.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to a terminal-based two-dimensional code dynamic refresh method and storage medium. Background technique [0002] With the rapid development of Internet technology, electronic transactions have entered people's lives. Online electronic transactions such as online transfers and online payments have gradually developed into offline scenarios. In offline electronic transaction scenarios, more convenient and safer solutions are needed. payment plan. [0003] At present, merchants in the market that use collection codes to collect payments usually use different collection codes for different payment methods, and require users to bring their own mobile phones to receive transaction notifications. At the same time, due to the fragmentation of the Android system push service, the push is often not timely or easy to miss. In the more advanced market, the aggregated payment ca...

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): G06Q20/32
CPCG06Q20/3276G06Q20/326
Inventor 马颖杰刘中伟李四强
Owner HUIZHOU BOSHIJIE TECH CO LTD