CN114978659A - Implementation method of long-acting two-dimensional code and related device - Google Patents

Implementation method of long-acting two-dimensional code and related device Download PDF

Info

Publication number
CN114978659A
CN114978659A CN202210536293.XA CN202210536293A CN114978659A CN 114978659 A CN114978659 A CN 114978659A CN 202210536293 A CN202210536293 A CN 202210536293A CN 114978659 A CN114978659 A CN 114978659A
Authority
CN
China
Prior art keywords
dimensional code
long
acting
user
synchronization information
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
CN202210536293.XA
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202210536293.XA priority Critical patent/CN114978659A/en
Publication of CN114978659A publication Critical patent/CN114978659A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0861Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Biomedical Technology (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a method for realizing a long-acting two-dimensional code and a related device, which can be applied to the financial field or other fields, and the method comprises the following steps: after the terminal receives an application request of a long-acting two-dimensional code of a user, guiding the user to carry out biological identification; if the user passes the biological identification, the terminal sends an application request of the long-acting two-dimensional code to the server, after the terminal receives the long-acting two-dimensional code synchronization information sent by the server, the two-dimensional code is automatically updated at intervals of an automatically updating time by using the long-acting two-dimensional code synchronization information in an effective time, and meanwhile, the server synchronously updates the two-dimensional code in a cloud corresponding to the user. Because, first user is after applying for long-term two-dimensional code, current two-dimensional code in the high in the clouds that first user corresponds and the current two-dimensional code in the first user terminal are the synchronous renewal, consequently, no matter whether first user's terminal has the signal, after other users sweep the two-dimensional code, all can normal use two-dimensional code.

Description

Implementation method of long-acting two-dimensional code and related device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and a related apparatus for implementing a long-term two-dimensional code.
Background
At present, two-dimension codes have entered the daily life of people and gradually infiltrate into all corners, but one two-dimension code needs to be replaced at any time, and particularly, the two-dimension code is inconvenient in a network comparison card place. However, if a two-dimensional code is used all the time, a safety hazard exists.
Disclosure of Invention
In view of this, the present application provides a method and a related apparatus for implementing a long-acting two-dimensional code, which effectively improve the experience of a user when using a two-dimensional code.
The application provides a method for realizing a long-acting two-dimensional code in a first aspect, which is applied to a terminal and comprises the following steps:
receiving an application request of a long-acting two-dimensional code of a user; wherein the application request comprises: the effective duration and the automatic updating time interval of the long-acting two-dimensional code required to be used at this time;
guiding the user for biometric identification; wherein the biometric identification comprises face identification, motion identification and fingerprint identification;
if the user passes the biological identification, sending an application request of the long-acting two-dimensional code to a server;
receiving long-acting two-dimension code synchronization information sent by the server;
and in the effective duration, automatically updating the two-dimension codes at intervals of the automatically updated time by using the long-acting two-dimension code synchronization information.
Optionally, the long-acting two-dimensional code synchronization information includes an initial two-dimensional code and a calculation unit, and automatically updating the two-dimensional code every other automatically updated time interval by using the long-acting two-dimensional code synchronization information in the effective duration includes:
and inputting the initial two-dimensional code into the computing unit at intervals of the automatically updated time within the effective duration to obtain a new initial two-dimensional code.
Optionally, the inputting the initial two-dimensional code into the computing unit at intervals of the automatically updated time interval within the effective duration to obtain a new initial two-dimensional code includes:
in the effective duration, reading two-dimension code parameter information of the initial two-dimension code by using the computing unit at intervals of the automatically updated time interval;
calculating the two-dimensional code parameter information by using a formula preset in the calculation unit to obtain new two-dimensional code parameter information;
and generating a new initial two-dimensional code by using the new two-dimensional code parameter information.
Optionally, the long-acting two-dimensional code synchronization information includes a two-dimensional code group, the two-dimensional code group includes a plurality of target two-dimensional codes, in the effective duration, the long-acting two-dimensional code synchronization information is utilized, every other time interval of the automatic update, the automatic update of the two-dimensional codes includes:
and deleting the currently displayed target two-dimensional code and displaying the next target two-dimensional code of the target two-dimensional codes in the two-dimensional code group within the effective duration at intervals of the automatically updated time interval.
The second aspect of the present application provides a method for implementing a long-acting two-dimensional code, which is applied to a server, and includes:
receiving an application request of a long-acting two-dimensional code sent by a terminal of a user; wherein the application request comprises: the effective duration and the automatic updating time interval of the long-acting two-dimensional code required to be used at this time;
generating and sending long-acting two-dimensional code synchronization information to the terminal;
storing the effective duration of the long-acting two-dimensional code to be used at this time, the automatically updated time interval and the long-acting two-dimensional code synchronization information into a cloud corresponding to the user;
and in the cloud corresponding to the user, automatically updating the two-dimensional code by using the long-acting two-dimensional code synchronous information within the effective time length at intervals of the automatically updating time interval.
Optionally, the long-term two-dimensional code synchronization information includes an initial two-dimensional code and a calculation unit, in the cloud end corresponding to the user, in the effective duration, the long-term two-dimensional code synchronization information is utilized, every other time interval of automatic update, the two-dimensional code is automatically updated, including:
and in the cloud corresponding to the user, inputting the initial two-dimensional code into the computing unit at intervals of the automatically updated time within the effective duration to obtain a new initial two-dimensional code.
Optionally, in the cloud corresponding to the user, in the effective duration, at every other time interval of the automatic update, the initial two-dimensional code is input into the computing unit, so as to obtain a new initial two-dimensional code, including:
in the cloud corresponding to the user, reading two-dimension code parameter information of the initial two-dimension code by using the computing unit at intervals of the automatically updated time within the effective time length;
calculating the two-dimensional code parameter information by using a formula preset in the calculation unit to obtain new two-dimensional code parameter information;
and generating a new initial two-dimensional code by using the new two-dimensional code parameter information.
Optionally, the long-acting two-dimensional code synchronization information includes a two-dimensional code group, the two-dimensional code group includes a plurality of target two-dimensional codes, in the cloud end that the user corresponds, in the effective duration, utilize the long-acting two-dimensional code synchronization information, every other automatic update's time interval, the automatic update two-dimensional code includes:
and in the cloud corresponding to the user, deleting the currently displayed target two-dimensional code at intervals of the automatically updated time within the effective duration, and displaying the next target two-dimensional code of the target two-dimensional code in the two-dimensional code group.
A third aspect of the present application provides a terminal, comprising:
the first receiving unit is used for receiving an application request of a long-acting two-dimensional code of a user; wherein the application request comprises: the effective duration and the automatic updating time interval of the long-acting two-dimensional code required to be used at this time;
a biometric unit for guiding the user to perform biometric recognition; wherein the biometric identification comprises face identification, motion identification and fingerprint identification;
the first sending unit is used for sending an application request of the long-acting two-dimensional code to a server if the user passes the biological identification;
the second receiving unit is used for receiving the long-acting two-dimensional code synchronization information sent by the server;
and the first updating unit is used for automatically updating the two-dimension code within the effective duration at intervals of the automatically updated time by using the long-acting two-dimension code synchronization information.
Optionally, the long-acting two-dimensional code synchronization information includes an initial two-dimensional code and a calculation unit, and the first updating unit includes:
and the first updating subunit is used for inputting the initial two-dimensional code into the computing unit at intervals of the automatic updating time within the effective time length to obtain a new initial two-dimensional code.
Optionally, the first updating subunit includes:
the first reading unit is used for reading the two-dimension code parameter information of the initial two-dimension code by using the calculating unit at intervals of the automatically updated time within the effective duration;
the first calculation unit is used for calculating the two-dimensional code parameter information by using a formula preset in the calculation unit to obtain new two-dimensional code parameter information;
and the first generating unit is used for generating a new initial two-dimensional code by using the new two-dimensional code parameter information.
Optionally, the long-acting two-dimensional code synchronization information includes a two-dimensional code group, the two-dimensional code group includes a plurality of target two-dimensional codes, and the first updating unit includes:
and the second updating subunit is used for deleting the currently displayed target two-dimensional code and displaying the next target two-dimensional code of the target two-dimensional code in the two-dimensional code group within the effective duration at intervals of the automatic updating time interval.
A fourth aspect of the present application provides a server, comprising:
the third receiving unit is used for receiving an application request of the long-acting two-dimensional code sent by a terminal of a user; wherein the application request comprises: the effective duration of the long-acting two-dimensional code required to be used at this time and the time interval of automatic updating;
the second sending unit is used for generating and sending the long-acting two-dimensional code synchronization information to the terminal;
the storage unit is used for storing the effective duration of the long-acting two-dimensional code required to be used at this time, the automatically updated time interval and the long-acting two-dimensional code synchronization information to a cloud corresponding to the user;
and the second updating unit is used for automatically updating the two-dimensional code in the cloud corresponding to the user within the effective duration by using the long-acting two-dimensional code synchronization information at intervals of the automatically updated time interval.
Optionally, the long-acting two-dimensional code synchronization information includes an initial two-dimensional code and a calculation unit, and in a cloud corresponding to the user, the second update unit includes:
and the third updating subunit is used for inputting the initial two-dimensional code into the computing unit at intervals of the automatic updating time in the effective duration in the cloud corresponding to the user to obtain a new initial two-dimensional code.
Optionally, the third updating subunit includes:
the second reading unit is used for reading the two-dimension code parameter information of the initial two-dimension code by using the calculating unit at intervals of the automatically updated time within the effective time length in the cloud corresponding to the user;
the second calculation unit is used for calculating the two-dimensional code parameter information by using a formula preset in the calculation unit to obtain new two-dimensional code parameter information;
and the second generating unit is used for generating a new initial two-dimensional code by using the new two-dimensional code parameter information.
Optionally, the long-acting two-dimensional code synchronization information includes a two-dimensional code group, the two-dimensional code group includes a plurality of target two-dimensional codes, and the second updating unit includes:
and the fourth updating subunit deletes the currently displayed target two-dimensional code in the cloud corresponding to the user at the interval of the automatic updating time within the effective time length, and displays the next target two-dimensional code of the target two-dimensional code in the two-dimensional code group.
According to the above scheme, the present application provides a method for implementing a long-term two-dimensional code and a related apparatus, where the method for implementing the long-term two-dimensional code includes: the terminal receives an application request of a long-acting two-dimensional code of a user; wherein the application request comprises: the effective duration and the automatic updating time interval of the long-acting two-dimensional code required to be used at this time; then, the terminal guides the user to carry out biological identification; wherein the biometric identification comprises face identification, motion identification and fingerprint identification; if the user passes the biological identification, the terminal sends an application request of the long-acting two-dimensional code to a server; the terminal receives the long-acting two-dimensional code synchronization information sent by the server; the terminal automatically updates the two-dimensional code at the interval of the automatic updating by utilizing the long-acting two-dimensional code synchronous information in the effective time length, and meanwhile, the server is in the cloud end corresponding to the user. Because, after the first user applies for the long-acting two-dimensional code, the current two-dimensional code in the cloud corresponding to the first user and the current two-dimensional code in the first user terminal are updated synchronously, so that no matter whether the terminal of the first user has a signal, the two-dimensional code can be normally used after other users sweep the two-dimensional code, and the terminals of the other users can acquire the current two-dimensional code in the cloud corresponding to the first user in the server for use.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a specific flowchart of a method for implementing a long-acting two-dimensional code according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for implementing a long-term two-dimensional code according to another embodiment of the present application;
fig. 3 is a flowchart of a method for implementing a long-term two-dimensional code according to another embodiment of the present application;
fig. 4 is a schematic diagram of a terminal according to another embodiment of the present application;
fig. 5 is a schematic diagram of a server according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present application are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this application are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The embodiment of the application provides a method for realizing a long-acting two-dimensional code, as shown in fig. 1, the method comprises the following steps:
s101, a terminal receives an application request of a long-acting two-dimensional code of a user.
Wherein, the application request includes: the effective duration of the long-acting two-dimensional code required to be used at this time and the time interval of automatic updating.
Specifically, the user may select to apply for the long-acting two-dimensional code in a two-dimensional code interface presented by a motor on an APPlication program (APP) of a mobile banking APPlication, and fill in the effective duration and the automatically updated time interval of the long-acting two-dimensional code that needs to be used in this time in the long-acting two-dimensional code interface, which is not limited herein.
It should be noted that, in the implementation process of the present application, the total amount consumed and the maximum amount consumed in a single time may also be set, and the present application is not limited herein.
S102, the terminal guides the user to carry out biological identification.
The biometric identification includes face identification, motion identification and fingerprint identification.
In the specific implementation process of the application, the facial information of a user is collected and matched with the facial information preset by the user, if the matching is successful, the user is prompted to make a preset action (if the user does not have the preset action, the user is guided to make a system default action so as to verify that the current user does not use the photo of the user or other modes to pass biological identification), if the action made by the user is consistent with the preset action, the user is prompted to enter the fingerprint information, and if the fingerprint information entered by the user is consistent with the preset fingerprint information, the user is determined to pass the biological identification.
And S103, if the user passes the biological identification, the terminal sends an application request of the long-acting two-dimensional code to the server.
S104, the server receives an application request of the long-acting two-dimensional code sent by the terminal of the user.
And S105, the server generates and sends the long-acting two-dimensional code synchronization information to the terminal.
In the specific implementation process of the application, if the long-acting two-dimensional code synchronization information comprises the initial two-dimensional code and the calculation unit, the long-acting two-dimensional code synchronization information is generated in a mode that one two-dimensional code is randomly generated to serve as the initial two-dimensional code, and one calculation unit is randomly selected from the calculation unit set to serve as the calculation unit at this time; if the long-acting two-dimensional code synchronization information comprises a two-dimensional code group, the long-acting two-dimensional code synchronization information is generated in a mode that a plurality of two-dimensional codes are randomly generated according to the effective duration of the long-acting two-dimensional code required to be used at this time and the automatically updated time interval to form the two-dimensional code group; for example: the effective duration of the long-acting two-dimensional code required to be used at this time is 20 minutes, and the time interval of automatic updating is 2 minutes, so that 11 non-repetitive two-dimensional codes are required to be randomly generated to form a two-dimensional code group.
S106, the server stores the effective duration, the automatically updated time interval and the long-acting two-dimensional code synchronization information of the long-acting two-dimensional code required to be used at this time to the cloud corresponding to the user.
It should be noted that the server provides a cloud for each user, so as to store user information and automatically update the two-dimensional code.
And S107, the server automatically updates the two-dimensional code in the cloud corresponding to the user within effective duration by using the long-acting two-dimensional code synchronization information at intervals of automatically updating time.
It should be noted that, after the server determines that the terminal receives the long-acting two-dimensional code synchronization information, the server performs synchronization with the terminal of the user in the cloud corresponding to the user: and in the effective duration, the two-dimension code is automatically updated at intervals of automatically updating time by utilizing the long-acting two-dimension code synchronous information.
Optionally, in another embodiment of the present application, the long-term two-dimensional code synchronization information includes an initial two-dimensional code and a calculation unit, and an implementation manner of step S107 includes:
and inputting the initial two-dimensional code into the computing unit at intervals of automatically updating time in the cloud corresponding to the user within the effective duration to obtain a new initial two-dimensional code.
For example: the time interval of automatic updating is 1 minute, after the terminal is determined to receive the long-acting two-dimensional code synchronization information for 1 minute, the initial two-dimensional code A is input into the computing unit to obtain an initial two-dimensional code B, after 1 minute, the initial two-dimensional code B is input into the computing unit to obtain an initial two-dimensional code C, and the analogy is carried out once until the effective duration is finished.
Optionally, in another embodiment of the present application, in a cloud corresponding to a user, in an effective duration, at an interval of time for automatic updating, the initial two-dimensional code is input into the computing unit, so as to obtain an implementation manner of a new initial two-dimensional code, as shown in fig. 2, the implementation manner includes:
s201, in a cloud corresponding to a user, reading two-dimension code parameter information of an initial two-dimension code by using a computing unit at intervals of automatically updating within an effective time length.
S202, calculating the two-dimensional code parameter information by using a formula preset in a calculation unit to obtain new two-dimensional code parameter information.
The calculation unit may include one or more calculation formulas, and it can be understood that the more calculation formulas are, the less cracking is, and if the fewer calculation formulas are adopted, the difficulty of the calculation formulas needs to be increased to ensure the security.
And S203, generating a new initial two-dimensional code by using the new two-dimensional code parameter information.
It should be noted that, in another embodiment of the present application, after the initial two-dimensional code and the calculation unit are determined, the exercise is performed according to the effective duration and the automatic update time interval, so as to obtain all two-dimensional code results, calculate the two-dimensional code that can be repeated, then record the sequence of occurrence, calculate the number of times that the number of repeated digits is equal from now on, and repeat the above process until the two-dimensional code in the terminal of the user and the cloud corresponding to the user in the server is updated to the repeated sequence, so that the two-dimensional code is automatically skipped. The comparison is carried out with all the two-dimensional codes in the database, and meanwhile, the comparison can be used as the comparison object of others.
Optionally, in another embodiment of the present application, the long-acting two-dimensional code synchronization information includes a two-dimensional code group, where the two-dimensional code group includes a plurality of target two-dimensional codes, and an implementation manner of step S107 includes:
and deleting the currently displayed target two-dimensional code and displaying the next target two-dimensional code of the target two-dimensional code in the two-dimensional code group at intervals of automatically updating time in the cloud corresponding to the user within the effective time.
For example: the two-dimension code group comprises a target two-dimension code A, a target two-dimension code B, a target two-dimension code C and the like, the time interval of automatic updating is 1 minute, the target two-dimension code A is directly displayed after the terminal is determined to receive the long-acting two-dimension code synchronization information, the target two-dimension code A is deleted after 1 minute, the target two-dimension code B is displayed, and the like is performed until the effective duration is finished.
It should be noted that, in another embodiment of the present application, to avoid duplication of the target two-dimensional code, all the target two-dimensional codes are stored in the database each time they are generated, and registered as being used.
And S108, the terminal receives the long-acting two-dimensional code synchronization information sent by the server.
And S109, the terminal automatically updates the two-dimension code at intervals of automatically updating time by using the long-acting two-dimension code synchronous information within the effective duration.
Optionally, in another embodiment of the present application, the long-term two-dimensional code synchronization information includes an initial two-dimensional code and a calculation unit, and an implementation manner of step S109 includes:
and inputting the initial two-dimensional code into the computing unit at intervals of automatically updating time within the effective duration to obtain a new initial two-dimensional code.
For example: the time interval of automatic updating is 1 minute, the initial two-dimensional code A is input into the computing unit after the terminal receives the long-acting two-dimensional code synchronization information for 1 minute, the initial two-dimensional code B is obtained, the initial two-dimensional code B is input into the computing unit after 1 minute, the initial two-dimensional code C is obtained, and the analogy is carried out once until the effective duration is finished.
Optionally, in another embodiment of the present application, in an effective duration, inputting the initial two-dimensional code into the computing unit at an interval of time for automatic updating, to obtain an implementation manner of a new initial two-dimensional code, as shown in fig. 3, including:
and S301, reading two-dimension code parameter information of the initial two-dimension code by using a computing unit at intervals of automatically updated time within the effective time.
And S302, calculating the two-dimension code parameter information by using a formula preset in the calculation unit to obtain new two-dimension code parameter information.
The calculation unit may include one or more calculation formulas, and it can be understood that the more calculation formulas are, the less cracking is, and if the fewer calculation formulas are adopted, the difficulty of the calculation formulas needs to be increased to ensure the security.
And S303, generating a new initial two-dimensional code by using the new two-dimensional code parameter information.
It should be noted that, in another embodiment of the present application, after the initial two-dimensional code and the calculation unit are determined, the exercise is performed according to the effective duration and the automatic update time interval, so as to obtain all two-dimensional code results, calculate the two-dimensional code that can be repeated, then record the sequence of occurrence, calculate the number of times that the number of repeated digits is equal from now on, and repeat the above process until the two-dimensional code in the terminal of the user and the cloud corresponding to the user in the server is updated to the repeated sequence, so that the two-dimensional code is automatically skipped. The comparison is carried out with all the two-dimensional codes in the database, and meanwhile, the comparison can be used as the comparison object of others.
Optionally, in another embodiment of the present application, the long-acting two-dimensional code synchronization information includes a two-dimensional code group, where the two-dimensional code group includes a plurality of target two-dimensional codes, and an implementation manner of step S107 includes:
and deleting the currently displayed target two-dimensional code and displaying the next target two-dimensional code of the target two-dimensional code in the two-dimensional code group at intervals of automatically updating time in the cloud corresponding to the user within the effective time.
For example: the two-dimension code group comprises a target two-dimension code A, a target two-dimension code B, a target two-dimension code C and the like, the time interval of automatic updating is 1 minute, the target two-dimension code A is directly displayed after the terminal receives the long-acting two-dimension code synchronous information, the target two-dimension code A is deleted after 1 minute, the target two-dimension code B is displayed, and the like is carried out until the effective duration is over.
It should be noted that, in another embodiment of the present application, to avoid duplication of the target two-dimensional code, all the target two-dimensional codes are stored in the database each time they are generated, and registered as being used.
According to the scheme, the application provides a method for realizing the long-acting two-dimensional code, which comprises the following steps: the terminal receives an application request of a long-acting two-dimensional code of a user; wherein, the application request includes: the effective duration and the automatic updating time interval of the long-acting two-dimensional code required to be used at this time; then, the terminal guides the user to carry out biological identification; wherein, the biological identification comprises face identification, action identification and fingerprint identification; if the user passes the biological identification, the terminal sends a request for applying the long-acting two-dimensional code to the server; the terminal receives long-acting two-dimension code synchronization information sent by the server; the terminal automatically updates the two-dimensional code at intervals of automatically updating time by using the long-acting two-dimensional code synchronous information in the effective time, and the server automatically updates the two-dimensional code at intervals of automatically updating time by using the long-acting two-dimensional code synchronous information in the cloud corresponding to the user in the effective time. Because, after the first user applies for the long-acting two-dimensional code, the current two-dimensional code in the cloud corresponding to the first user and the current two-dimensional code in the first user terminal are updated synchronously, so that no matter whether the terminal of the first user has a signal, the two-dimensional code can be normally used after other users sweep the two-dimensional code, and the terminals of the other users can acquire the current two-dimensional code in the cloud corresponding to the first user in the server for use.
The invention name provided by the invention can be used in the financial field or other fields, for example, the invention name can be used in application scenes of transferring accounts, withdrawing money and the like by using two-dimensional codes in the financial field. The other fields are arbitrary fields other than the financial field, for example, the two-dimensional code field. The above description is only an example, and does not limit the application field of the name of the invention provided by the present invention.
Another embodiment of the present application provides a terminal, as shown in fig. 4, specifically including:
a first receiving unit 401, configured to receive an application request of a long-term two-dimensional code of a user.
Wherein, the application request includes: the effective duration of the long-acting two-dimensional code required to be used at this time and the time interval of automatic updating.
A biometric unit 402 for guiding the user to perform biometric identification.
The biometric identification includes face identification, motion identification and fingerprint identification.
A first sending unit 403, configured to send an application request of the long-acting two-dimensional code to the server if the user passes the biometric identification.
And a second receiving unit 404, configured to receive the long-acting two-dimensional code synchronization information sent by the server.
The first updating unit 405 is configured to automatically update the two-dimensional code at intervals of an automatically updated time interval by using the long-acting two-dimensional code synchronization information within the effective duration.
For a specific working process of the unit disclosed in the above embodiment of the present application, reference may be made to the content of the corresponding method embodiment, as shown in fig. 1, which is not described herein again.
Optionally, in another embodiment of the present application, the long-term two-dimensional code synchronization information includes an initial two-dimensional code and a calculation unit, and an implementation manner of the first updating unit 405 includes:
and the first updating subunit is used for inputting the initial two-dimensional code into the calculating unit at intervals of automatic updating within the effective duration to obtain a new initial two-dimensional code.
For specific working processes of the units disclosed in the above embodiments of the present application, reference may be made to the contents of the corresponding method embodiments, which are not described herein again.
Optionally, in another embodiment of the present application, an implementation manner of the first updating subunit includes:
and the first reading unit is used for reading the two-dimension code parameter information of the initial two-dimension code by using the calculating unit at intervals of automatically updating within the effective time length.
And the first calculation unit is used for calculating the two-dimensional code parameter information by using a formula preset in the calculation unit to obtain new two-dimensional code parameter information.
And the first generating unit is used for generating a new initial two-dimensional code by using the new two-dimensional code parameter information.
For a specific working process of the unit disclosed in the above embodiment of the present application, reference may be made to the content of the corresponding method embodiment, as shown in fig. 3, which is not described herein again.
Optionally, in another embodiment of the present application, the long-term two-dimensional code synchronization information includes a two-dimensional code group, and an implementation manner of the first updating unit 405 includes:
and the second updating subunit is used for deleting the currently displayed target two-dimensional code and displaying the next target two-dimensional code of the target two-dimensional code in the two-dimensional code group within the effective duration at intervals of automatic updating.
For specific working processes of the units disclosed in the above embodiments of the present application, reference may be made to the contents of the corresponding method embodiments, which are not described herein again.
According to the above scheme, the present application provides a terminal: a first receiving unit 401 receives an application request of a long-acting two-dimensional code of a user; wherein, the application request includes: the effective duration of the long-acting two-dimensional code required to be used at this time and the time interval of automatic updating; then, the biometric recognition unit 402 guides the user to perform biometric recognition; wherein, the biological identification comprises face identification, action identification and fingerprint identification; if the user passes the biometric identification, the first sending unit 403 sends an application request of the long-acting two-dimensional code to the server; the second receiving unit 404 receives the long-acting two-dimensional code synchronization information sent by the server; the first updating unit 405 automatically updates the two-dimensional code every other automatically updated time interval by using the long-term two-dimensional code synchronization information within the effective time length, and simultaneously, the server automatically updates the two-dimensional code every other automatically updated time interval by using the long-term two-dimensional code synchronization information within the effective time length in the cloud corresponding to the user. Because, first user is after applying for long-term two-dimensional code, current two-dimensional code in the high in the clouds that first user corresponds and current two-dimensional code in the first user terminal are the synchronous renewal, consequently, no matter whether first user's terminal has the signal, after other users sweep the two-dimensional code, all can normal use two-dimensional code, other users' terminal can obtain the current two-dimensional code in the high in the clouds that first user corresponds in the server and use.
Another embodiment of the present application provides a server, as shown in fig. 5, specifically including:
a third receiving unit 501, configured to receive an application request of a long-term two-dimensional code sent by a terminal of a user.
Wherein, the application request includes: the effective duration of the long-acting two-dimensional code required to be used at this time and the time interval of automatic updating.
And a second sending unit 502, configured to generate and send long-term two-dimensional code synchronization information to the terminal.
The storage unit 503 is configured to store the effective duration of the long-acting two-dimensional code, the automatically updated time interval, and the long-acting two-dimensional code synchronization information that need to be used at this time, to the cloud corresponding to the user.
The second updating unit 504 is configured to automatically update the two-dimensional code at intervals of an automatically updated time interval by using the long-acting two-dimensional code synchronization information in the cloud corresponding to the user within the effective duration.
For a specific working process of the unit disclosed in the above embodiment of the present application, reference may be made to the content of the corresponding method embodiment, as shown in fig. 1, which is not described herein again.
Optionally, in another embodiment of the present application, the long-term two-dimensional code synchronization information includes an initial two-dimensional code and a calculation unit, and an implementation manner of the second updating unit 504 includes:
and the third updating subunit is used for inputting the initial two-dimensional code into the computing unit at intervals of an automatic updating time interval in the effective duration in the cloud corresponding to the user to obtain a new initial two-dimensional code.
For specific working processes of the units disclosed in the above embodiments of the present application, reference may be made to the contents of the corresponding method embodiments, which are not described herein again.
Optionally, in another embodiment of the present application, an implementation manner of the third updating subunit includes:
and the second reading unit is used for reading the two-dimension code parameter information of the initial two-dimension code by using the calculating unit at an interval of automatically updating time in the cloud corresponding to the user within the effective time length.
And the second calculation unit is used for calculating the two-dimensional code parameter information by using a formula preset in the calculation unit to obtain new two-dimensional code parameter information.
And the second generating unit is used for generating a new initial two-dimensional code by using the new two-dimensional code parameter information.
For the specific working process of the units disclosed in the above embodiments of the present application, reference may be made to the content of the corresponding method embodiment, as shown in fig. 2, which is not described herein again.
Optionally, in another embodiment of the present application, the long-acting two-dimensional code synchronization information includes a two-dimensional code group, where the two-dimensional code group includes a plurality of target two-dimensional codes, and an implementation manner of the second updating unit 504 includes:
and the fourth updating subunit deletes the currently displayed target two-dimensional code and displays the next target two-dimensional code of the target two-dimensional code in the two-dimensional code group at intervals of an automatic updating time interval in the cloud corresponding to the user within the effective time length.
For specific working processes of the units disclosed in the above embodiments of the present application, reference may be made to the contents of the corresponding method embodiments, which are not described herein again.
According to the scheme, the application provides a server: the third receiving unit 501 receives an application request of a long-acting two-dimensional code sent by a terminal of a user, where the application request includes: the effective duration of the long-acting two-dimensional code required to be used at this time and the time interval of automatic updating. The second transmitting unit 502 generates and transmits long-term two-dimensional code synchronization information to the terminal. Then, the storage unit 503 stores the effective duration of the long-acting two-dimensional code, the automatically updated time interval, and the synchronization information of the long-acting two-dimensional code, which are required to be used at this time, to the cloud corresponding to the user. Finally, the second updating unit 504 automatically updates the two-dimensional code at intervals of an automatically updating time interval by using the long-acting two-dimensional code synchronization information in the cloud corresponding to the user within the effective duration. Meanwhile, the terminal automatically updates the two-dimension code within the effective duration at intervals of automatically updating time by using the long-acting two-dimension code synchronous information. Because, after the first user applies for the long-acting two-dimensional code, the current two-dimensional code in the cloud corresponding to the first user and the current two-dimensional code in the first user terminal are updated synchronously, so that no matter whether the terminal of the first user has a signal, the two-dimensional code can be normally used after other users sweep the two-dimensional code, and the terminals of the other users can acquire the current two-dimensional code in the cloud corresponding to the first user in the server for use.
Another embodiment of the present application provides a computer storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the implementation method of the long-term two-dimensional code as in any one of the above embodiments.
In the context of this application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the computer readable medium mentioned above in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
Another embodiment of the present application provides a computer program product, when being executed, for executing the method for implementing a long-acting two-dimensional code of any one of the above.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means, or installed from a storage means, or installed from a ROM. The computer program, when executed by a processing device, performs the above-described functions defined in the methods of embodiments of the present application.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
While several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the application. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the application referred to in the present application is not limited to the embodiments with a particular combination of the above-mentioned features, but also encompasses other embodiments with any combination of the above-mentioned features or their equivalents without departing from the scope of the application. For example, the above features may be replaced with (but not limited to) features having similar functions as those described in this application.

Claims (10)

1. A method for realizing a long-acting two-dimensional code is applied to a terminal and comprises the following steps:
receiving an application request of a long-acting two-dimensional code of a user; wherein the application request comprises: the effective duration and the automatic updating time interval of the long-acting two-dimensional code required to be used at this time;
guiding the user for biometric identification; wherein the biometric identification comprises face identification, motion identification and fingerprint identification;
if the user passes the biological identification, sending an application request of the long-acting two-dimensional code to a server;
receiving long-acting two-dimensional code synchronization information sent by the server;
and in the effective duration, automatically updating the two-dimension codes at intervals of the automatically updated time by using the long-acting two-dimension code synchronization information.
2. The method of claim 1, wherein the long-term two-dimensional code synchronization information comprises an initial two-dimensional code and a calculation unit, and the automatically updating the two-dimensional code at every other automatically updated time interval by using the long-term two-dimensional code synchronization information in the valid duration comprises:
and inputting the initial two-dimensional code into the computing unit at intervals of the automatically updated time interval within the effective time length to obtain a new initial two-dimensional code.
3. The method of claim 2, wherein the inputting the initial two-dimensional code into the computing unit at every other time interval of the automatic update within the valid duration to obtain a new initial two-dimensional code comprises:
reading two-dimension code parameter information of the initial two-dimension code by using the computing unit at intervals of the automatically updated time within the effective time length;
calculating the two-dimensional code parameter information by using a formula preset in the calculation unit to obtain new two-dimensional code parameter information;
and generating a new initial two-dimensional code by using the new two-dimensional code parameter information.
4. The method of claim 1, wherein the long-term two-dimension code synchronization information comprises a two-dimension code group, the two-dimension code group comprises a plurality of target two-dimension codes, and the automatically updating the two-dimension codes at every other automatically updated time interval by using the long-term two-dimension code synchronization information in the valid duration comprises:
and deleting the currently displayed target two-dimensional code and displaying the next target two-dimensional code of the target two-dimensional codes in the two-dimensional code group within the effective duration at intervals of the automatically updated time interval.
5. A method for realizing a long-acting two-dimensional code is applied to a server and comprises the following steps:
receiving an application request of a long-acting two-dimensional code sent by a terminal of a user; wherein the application request comprises: the effective duration of the long-acting two-dimensional code required to be used at this time and the time interval of automatic updating;
generating and sending long-acting two-dimensional code synchronization information to the terminal;
storing the effective duration of the long-acting two-dimensional code required to be used at this time, the automatically updated time interval and the long-acting two-dimensional code synchronization information to a cloud corresponding to the user;
and in the cloud corresponding to the user, automatically updating the two-dimensional code by using the long-acting two-dimensional code synchronous information within the effective time length at intervals of the automatically updating time interval.
6. The method as claimed in claim 5, wherein the long-term two-dimensional code synchronization information includes an initial two-dimensional code and a computing unit, and the automatically updating the two-dimensional code with the long-term two-dimensional code synchronization information every other automatically updated time interval in the cloud corresponding to the user within the valid duration includes:
and in the cloud corresponding to the user, inputting the initial two-dimensional code into the computing unit at intervals of the automatically updated time within the effective duration to obtain a new initial two-dimensional code.
7. The method of claim 6, wherein the inputting the initial two-dimensional code into the computing unit at every other automatically updated time interval in the cloud corresponding to the user during the valid duration to obtain a new initial two-dimensional code comprises:
in the cloud corresponding to the user, reading two-dimension code parameter information of the initial two-dimension code by using the computing unit at intervals of the automatically updated time within the effective time length;
calculating the two-dimensional code parameter information by using a formula preset in the calculation unit to obtain new two-dimensional code parameter information;
and generating a new initial two-dimensional code by using the new two-dimensional code parameter information.
8. The method of claim 5, wherein the long-term two-dimensional code synchronization information comprises a two-dimensional code group, the two-dimensional code group comprises a plurality of target two-dimensional codes, and the automatically updating two-dimensional codes in the cloud corresponding to the user at every other automatically updated time interval by using the long-term two-dimensional code synchronization information in the valid duration comprises:
and in the cloud corresponding to the user, deleting the currently displayed target two-dimensional code at intervals of the automatically updated time within the effective duration, and displaying the next target two-dimensional code of the target two-dimensional code in the two-dimensional code group.
9. A terminal, comprising:
the first receiving unit is used for receiving an application request of a long-acting two-dimensional code of a user; wherein the application request comprises: the effective duration of the long-acting two-dimensional code required to be used at this time and the time interval of automatic updating;
a biometric unit for guiding the user to perform biometric recognition; wherein the biometric identification comprises face identification, motion identification and fingerprint identification;
a first sending unit, configured to send an application request of the long-acting two-dimensional code to a server if the user passes biometric identification;
the second receiving unit is used for receiving the long-acting two-dimensional code synchronization information sent by the server;
and the first updating unit is used for automatically updating the two-dimension code within the effective duration at intervals of the automatically updated time by using the long-acting two-dimension code synchronization information.
10. A server, comprising:
the third receiving unit is used for receiving an application request of the long-acting two-dimensional code sent by a terminal of a user; wherein the application request comprises: the effective duration and the automatic updating time interval of the long-acting two-dimensional code required to be used at this time;
the second sending unit is used for generating and sending the long-acting two-dimensional code synchronization information to the terminal;
the storage unit is used for storing the effective duration of the long-acting two-dimensional code required to be used at this time, the automatically updated time interval and the long-acting two-dimensional code synchronization information to a cloud corresponding to the user;
and the second updating unit is used for automatically updating the two-dimensional code in the cloud corresponding to the user within the effective duration by using the long-acting two-dimensional code synchronization information at intervals of the automatically updated time interval.
CN202210536293.XA 2022-05-17 2022-05-17 Implementation method of long-acting two-dimensional code and related device Pending CN114978659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210536293.XA CN114978659A (en) 2022-05-17 2022-05-17 Implementation method of long-acting two-dimensional code and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210536293.XA CN114978659A (en) 2022-05-17 2022-05-17 Implementation method of long-acting two-dimensional code and related device

Publications (1)

Publication Number Publication Date
CN114978659A true CN114978659A (en) 2022-08-30

Family

ID=82982759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210536293.XA Pending CN114978659A (en) 2022-05-17 2022-05-17 Implementation method of long-acting two-dimensional code and related device

Country Status (1)

Country Link
CN (1) CN114978659A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109670428A (en) * 2018-12-07 2019-04-23 深圳市集虹鼎源科技有限公司 Identity identifying method and device
CN111063050A (en) * 2019-11-28 2020-04-24 深圳市思为软件技术有限公司 Sign-in method, device, server and storage medium
CN111860727A (en) * 2020-07-30 2020-10-30 深圳前海微众银行股份有限公司 Two-dimensional code generation method, verification method, device and computer-readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109670428A (en) * 2018-12-07 2019-04-23 深圳市集虹鼎源科技有限公司 Identity identifying method and device
CN111063050A (en) * 2019-11-28 2020-04-24 深圳市思为软件技术有限公司 Sign-in method, device, server and storage medium
CN111860727A (en) * 2020-07-30 2020-10-30 深圳前海微众银行股份有限公司 Two-dimensional code generation method, verification method, device and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN109600525B (en) Virtual reality-based call center control method and device
CN107851251B (en) Payment verification method and device
CN109472525B (en) Order signing method and device, electronic equipment and terminal equipment
CN108629611A (en) Method and apparatus for distributing resource
CN104484482A (en) Webpage information updating method and system of network platform
CN111080276A (en) Payment method, device, equipment and storage medium for withholding order
CN112468409A (en) Access control method, device, computer equipment and storage medium
MX2013000123A (en) Mobile data service platform, system and method for providing value-added services.
CN111026994A (en) Task evaluation information pushing method, system, equipment and storage medium
CN113112266A (en) Multi-card processing method and system based on 5G message and block chain
CN106296183A (en) The off-line charging method of a kind of smart card and equipment
CN110659899B (en) Offline payment method, device and equipment
CN110084578A (en) Method, apparatus and storage medium based on Third-party payment platform payment
CN114978659A (en) Implementation method of long-acting two-dimensional code and related device
CN107708076A (en) Method and apparatus for pushing access information
CN104158849A (en) Realization method based on electronization business card information exchange performed during personnel face-to-face situation
CN108898416B (en) Method and apparatus for generating information
CN105741111A (en) Mobile payment method, system and device
CN113935635A (en) Service processing method and device
CN109074585A (en) Method of payment and terminal
US10931814B2 (en) Service recommendation
CN110362796B (en) Service assistance method and device, service self-service machine and storage medium
EP3965039A1 (en) Electronic currency offline payment method and payment collection method
CN113222612A (en) Medical insurance card swiping transaction system and method based on block chain
CN113379414A (en) Identity verification method and terminal suitable for double off-line transactions

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