CN116523558A - Electronic gift certificate processing method and device, storage medium and electronic equipment - Google Patents

Electronic gift certificate processing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116523558A
CN116523558A CN202310491855.8A CN202310491855A CN116523558A CN 116523558 A CN116523558 A CN 116523558A CN 202310491855 A CN202310491855 A CN 202310491855A CN 116523558 A CN116523558 A CN 116523558A
Authority
CN
China
Prior art keywords
electronic gift
account
server
gift certificate
data
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
CN202310491855.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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202310491855.8A priority Critical patent/CN116523558A/en
Publication of CN116523558A publication Critical patent/CN116523558A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0236Incentive or reward received by requiring registration or ID from user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0239Online discounts or incentives

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses an electronic gift certificate processing method, an electronic gift certificate processing device, a storage medium and electronic equipment. Relates to the field of Internet of things, and the method comprises the following steps: displaying the electronic gift certificate on the first server; receiving an account registration request in response to a request for acquiring the electronic gift certificate in a first server, wherein the account registration request carries first registration data, the data size of the first registration data is smaller than that of second registration data, and the second registration data is data which needs to be registered when the second server acquires the electronic gift certificate; responding to the account registration request, generating a target account, and issuing an electronic gift certificate for the target account; receiving a login request based on a target account on a second server; and responding to the login request, and displaying account information of the target account on the second server, wherein the account information indicates that the electronic gift certificate exists under the target account. Through the electronic gift certificate picking-up method and device, the problem that electronic gift certificates in related technologies are not ideal in picking-up efficiency is solved.

Description

Electronic gift certificate processing method and device, storage medium and electronic equipment
Technical Field
The application relates to the field of internet of things, in particular to an electronic gift certificate processing method, an electronic gift certificate processing device, a storage medium and electronic equipment.
Background
At present, in order to attract users to register the large operation platforms, new clients are often guided in an electronic gift certificate issuing mode, corresponding service applications are attracted and downloaded, and the electronic gift certificates can be obtained after registration, login and other processes are processed. However, in the related art, since the new user is unfamiliar with the service application, after registration and login, the new user needs to search for a corresponding gift certificate activity entry in the application, and perform more complicated information input according to related steps, so that the interest of the new user is lost, and the electronic gift certificate is excessively lengthy in the process of acquiring the electronic gift certificate, which causes the problem of unsatisfactory efficiency of acquiring the electronic gift certificate
Aiming at the problem of unsatisfactory electronic gift certificate acquisition efficiency in the related art, no effective solution is proposed at present.
Disclosure of Invention
The main objective of the present application is to provide a method and apparatus for processing electronic gift certificates, a storage medium and an electronic device, so as to solve the problem of unsatisfactory electronic gift certificate pickup efficiency in the related art.
In order to achieve the above object, according to one aspect of the present application, there is provided an electronic gift certificate processing method. The method comprises the following steps: displaying the electronic gift certificate on the first server; receiving an account registration request in response to a request for acquiring the electronic gift certificate in the first server, wherein the account registration request carries first registration data, the data size of the first registration data is smaller than that of second registration data, and the second registration data is data which needs to be registered when a second server acquires the electronic gift certificate; responding to the account registration request, generating a target account, and issuing the electronic gift certificate for the target account; receiving a login request based on the target account on the second server, wherein the second server is a server with the capability of verifying and approving the electronic gift certificate; and responding to the login request, and displaying account information of the target account on the second server, wherein the account information indicates that the electronic gift certificate exists under the target account.
In order to achieve the above object, according to another aspect of the present application, there is provided an electronic gift certificate processing apparatus. The device comprises: the first display module is used for displaying the electronic gift certificates on the first server; the first receiving module is used for responding to a request for acquiring the electronic gift certificate in the first server and receiving an account registration request, wherein the account registration request carries first registration data, the data size of the first registration data is smaller than that of second registration data, and the second registration data is data which needs to be registered when the second server acquires the electronic gift certificate; the issuing module is used for responding to the account registration request, generating a target account and issuing the electronic gift certificate for the target account; the second receiving module is used for receiving a login request based on the target account on the second server, wherein the second server is a server with the capability of verifying and approving the electronic gift certificate; and the second display module is used for responding to the login request and displaying account information of the target account on the second server, wherein the account information indicates that the electronic gift certificate exists under the target account.
To achieve the above object, according to another aspect of the present application, there is provided a non-volatile storage medium storing a plurality of instructions adapted to be loaded and executed by a processor for any one of the electronic gift certificate processing methods.
In order to achieve the above object, according to another aspect of the present application, there is provided an electronic device including one or more processors and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement any one of the electronic gift certificate processing methods.
Through the application, the following steps are adopted: displaying the electronic gift certificate on the first server; receiving an account registration request in response to a request for acquiring the electronic gift certificate in the first server, wherein the account registration request carries first registration data, the data size of the first registration data is smaller than that of second registration data, and the second registration data is data which needs to be registered when a second server acquires the electronic gift certificate; responding to the account registration request, generating a target account, and issuing the electronic gift certificate for the target account; receiving a login request based on the target account on the second server, wherein the second server is a server with the capability of verifying and approving the electronic gift certificate; and responding to the login request, and displaying account information of the target account on the second server, wherein the account information indicates that the electronic gift certificate exists under the target account. The aim of automatically issuing the electronic gift certificates for the registered accounts in the server capable of verifying and selling is achieved, and the problem that the electronic gift certificates are not ideal in the picking efficiency in the related technology is solved. Thereby achieving the effect of improving the picking efficiency of the electronic gift certificates.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application, illustrate and explain the application and are not to be construed as limiting the application. In the drawings:
fig. 1 is a flowchart of an electronic gift certificate processing method provided according to the related art;
FIG. 2 is a flowchart of a method of electronic coupon processing according to an embodiment of the present application;
fig. 3 is a schematic view of an electronic gift certificate processing method provided according to an embodiment of the present application; and
fig. 4 is a schematic view of an electronic gift certificate processing apparatus according to an embodiment of the present application.
Detailed Description
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the present application described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of description, the following will describe some terms or terms related to the embodiments of the present application:
and pre-storing the data, and generating a unique identifier for the user by pre-placing placeholders in a database when the data is not formally generated, wherein the unique identifier is used for replacing the unique identifier of the user to complete the service when the data is not formally generated. And after the formal data is generated, prestored content of the updated data is taken as the formal data.
Redis (remote dictionary service) caching technology, which is a mainstream open source data caching technology at present, can be used for data reading service with high concurrency and high performance in a scene, reduces the frequency of accessing physical equipment by a user, and reduces concurrency pressure. When the data is written into the database, the data is synchronously written into the Redis cache, and when the data is read, only the Redis is read, and the database is not directly read any more until the Redis data is emptied.
It should be noted that, the related information (including, but not limited to, related information of the first server, related information of the second server, and the like) and the data (including, but not limited to, account registration information for presentation, account login information, and the like) related to the present disclosure are information and data authorized by the user or sufficiently authorized by each party. For example, an interface is provided between the system and the first server or the second server, before acquiring the related information, an acquisition request needs to be sent to the first server or the second server through the interface, and after receiving the consent information fed back by the first server or the second server, the related information is acquired.
Fig. 1 is a flowchart of a method for processing electronic coupons according to the related art, in which, before a user actually obtains a refundable electronic coupon, a client needs to perform at least a plurality of steps such as account registration, login, finding a coupon issuing inlet, and recording related information for coupon acquisition, so that a server of a server can issue a corresponding coupon to a target account, and the problem of unsatisfactory obtaining efficiency of the electronic coupon exists.
Based on the above-mentioned problems, an embodiment of the present invention provides an electronic gift certificate processing method, and fig. 2 is a flowchart of the electronic gift certificate processing method according to an embodiment of the present application, as shown in fig. 2, the method includes the following steps:
step S202, displaying the electronic gift certificate on a first server;
step S204, receiving an account registration request in response to a request for acquiring the electronic gift certificate in the first server, wherein the account registration request carries first registration data, the data amount of the first registration data is smaller than the data amount of second registration data, and the second registration data is data which needs to be registered when the second server acquires the electronic gift certificate;
step S206, responding to the account registration request, generating a target account, and issuing the electronic gift certificate for the target account;
step S208, receiving a login request based on the target account on the second server, wherein the second server is a server with the capability of verifying and approving the electronic gift certificate;
and step S210, in response to the login request, displaying account information of the target account on the second server, wherein the account information indicates that the electronic gift certificate is under the target account.
It can be understood that, unlike the second server, the first server is used for realizing the purpose of attracting traffic in a manner of displaying the electronic gift certificates, and the first server does not have the capability of verifying and processing the electronic gift certificates, and can be regarded as a server for advertising. And after receiving a request for acquiring the electronic gift certificate in the first server, receiving an account registration request. In order to improve the attraction of the electronic gift certificates, the flow of the registration process is simplified, and the data size of the first registration data carried in the account registration request is far smaller than the data size of the second registration data required for picking up the electronic gift certificates in the second server. Through the above processing, simple registration is performed in the first server, and a target account with an electronic gift certificate is correspondingly generated. At this time, the electronic gift certificate cannot be verified by the first server, so that the second server is attracted to log in. After the second server responds to the login request of the target account, account information with the electronic gift certificates can be directly displayed in the second server, and verification processing of the electronic gift certificates can be realized in the second server.
In the electronic gift certificate processing method provided by the embodiment of the application, through step S202, an electronic gift certificate is displayed on a first server; step S204, receiving an account registration request in response to a request for acquiring the electronic gift certificate in the first server, wherein the account registration request carries first registration data, the data amount of the first registration data is smaller than the data amount of second registration data, and the second registration data is data which needs to be registered when the second server acquires the electronic gift certificate; step S206, responding to the account registration request, generating a target account, and issuing the electronic gift certificate for the target account; step S208, receiving a login request based on the target account on the second server, wherein the second server is a server with the capability of verifying and approving the electronic gift certificate; and step S210, in response to the login request, displaying account information of the target account on the second server, wherein the account information indicates that the electronic gift certificate is under the target account. The aim of automatically issuing the electronic gift certificates for the registered accounts in the server capable of verifying and selling is achieved, and the problem that the electronic gift certificates are not ideal in the picking efficiency in the related technology is solved. Thereby achieving the effect of improving the picking efficiency of the electronic gift certificates.
In an alternative embodiment, after the electronic gift certificate is issued for the target account, the method further includes: storing account information of the electronic gift certificate under the target account on a blockchain; the displaying, in response to the login request, account information of the target account on the second server includes: the account information is synchronized from the blockchain to the second server.
It can be understood that after the electronic gift certificate is issued for the target account, because the first server obtains the first registration data carried in the account request with less data, the data used for account identity verification is also less than the second registration data, in order to avoid tampering or falsification of the electronic gift certificate, the information security of the electronic gift certificate is improved, the account information with the electronic gift certificate under the target account is stored in a blockchain, and the security of the electronic gift certificate is improved under the condition that the first registration data with less data is obtained by means of the characteristic that the information in the blockchain is not easy to tamper. And the account information on the blockchain is synchronized to the second server, so that interaction between the first server and the second server is realized under the condition of ensuring information security.
In an alternative embodiment, the storing the account information of the electronic gift certificate under the target account on the blockchain includes: encrypting the electronic gift certificates to obtain ciphertext character strings of the electronic gift certificates; updating the account information based on the ciphertext character string to obtain updated account information; and uploading the updated account information to the blockchain.
It can be appreciated that in order to improve security of the electronic gift certificate, encryption processing is required before uploading the blockchain, the gift certificate code of the electronic gift certificate is formatted and then encrypted to obtain a ciphertext character string of the electronic gift certificate, the ciphertext character string is obtained based on calculation, account information is updated, and the updated account information is uploaded to the blockchain.
Alternatively, the encryption processing may be performed in various ways, for example: the encryption and decryption can be performed by adopting a hash algorithm or a preset public key and a preset private key.
As an optional embodiment, the encrypting the electronic gift certificate to obtain the ciphertext character string of the electronic gift certificate includes: acquiring a time stamp of registration processing of the target account in the first server and the first registration data; and encrypting the electronic gift certificate based on the timestamp and the first registration data to obtain the ciphertext character string.
It can be understood that the first registration data and the elements such as the timestamp triggering the account registration request are used as encryption factors to encrypt, and the electronic gift certificate is encrypted based on the timestamp and the first registration data to obtain the ciphertext character string. The encryption factors used for data encryption are different each time, so that each electronic gift certificate is ensured to be limited to the account for picking. It should be noted that, because the electronic gift certificates have time stamps, repeated retrieval of the same account is avoided.
As an alternative embodiment, the method further comprises: under the condition that the first registration data comprises the mobile phone number of the account and a preset certificate number, carrying out field deformation processing on the mobile phone number to obtain a first deformed field; performing field deformation processing on the preset certificate number to obtain a second deformed field; obtaining a storage identifier of the target account based on the first deformation field and the second deformation field; and storing the first registration data in a preset cache database based on the storage identification.
It will be appreciated that, in the case where the amount of data in the first registration data is small, including at least the mobile phone number and the preset certificate number, in order to pre-store the data, the first registration data needs to be stored in the cache database, and then the storage identifier for the target account needs to be obtained. And carrying out field deformation processing on the mobile phone number to obtain a first deformed field, and carrying out field deformation processing on the preset certificate number to obtain a second deformed field. And combining the first deformation field and the second deformation field to generate a storage identifier for the target account as a temporary identifier stored in the cache database.
It should be noted that, because the account login query is related to a high concurrency service scenario, the cache data is required to be used for storage and query, so as to improve the service processing efficiency, and until the target account is logged in the second server, other databases different from the cache database in the second server can be used for processing.
Alternatively, the cache database may be various, such as a Redis database. After the account login data is obtained, whether the target account has completed the acquisition of the electronic gift certificate can be judged by inquiring the data matched with the first registration data in the Redis database.
As an optional embodiment, the displaying, on the second server, account information of the target account in response to the login request includes: acquiring account login data of the target account in the second server; matching the account login data with the first registration data to obtain a matching result; and displaying the account information under the condition that the matching result is successful.
It can be understood that the target account is logged in the second server, and then account login data is obtained. And matching the account login data with the first registration data, and determining whether the target account logged in the second server is the same account as the account which sends out the account registration request in the first server or not, and determining that a matching result is obtained. And under the condition that the matching result is successful, the target account can be automatically issued in the second server, and the account information with the electronic gift certificates is displayed. Through the above processing, it can be understood that the processing actually executed on the target account is only to input the first registration data in the first server and to log in the second server, and once the login data is matched with the first registration data, automatic issuing of the electronic gift certificate can be realized, and the acquisition efficiency of the electronic gift certificate is improved.
As an alternative embodiment, the method further comprises: when the first registration data includes a first mobile phone number of the target account and the account registration data includes a second mobile phone number of the target account, determining a first field of the first registration data except the first mobile phone number and a second field of the account registration data except the second mobile phone number; when the first mobile phone number is not matched with the second mobile phone number and the first field is matched with the second field, verifying the first mobile phone number through a mobile phone verification code to obtain a verification result; and displaying the account information when the verification result is that the verification is passed.
It will be appreciated that there may be multiple mobile phone numbers for the target account, and there may be cases where the first mobile phone number is used as the first registration data when registering in the first server, but the second mobile phone number is used as the account registration data when the target account registers in the second server. The first field except the first mobile phone number of the first registration data is matched with the second field except the second mobile phone number of the account registration data, so that only the mobile phone number is actually changed, the complexity of acquiring the electronic gift certificate is increased in order to avoid the need of acquiring the account registration data again, the first mobile phone number is verified in a mobile phone verification code mode, the first mobile phone number and the second mobile phone number are associated when the verification result passes, the fact that the electronic gift certificate can be generated under the target account is determined, and the account information with the electronic gift certificate is displayed.
As an alternative embodiment, the method further comprises: determining the registration time for generating the target account and the registration time for receiving the registration request; setting the validity period of the electronic gift certificate to be a preset time period after the registration time; and when the login time is not within the validity period, determining that the electronic gift certificate is invalid in response to the login request.
It is understood that even if the user registers the target account with the first server, the user may not perform the login operation to the second server, and the user may not log in even if the user logs in and can pick up the electronic gift certificate. The corresponding relevant information of the electronic gift certificates is always reserved, so that on one hand, the waste of storage resources is caused, on the other hand, the data volume of the first registration data is far smaller than that of the second registration data, and the information for verification comparison is relatively less, so that the situation that the electronic gift certificates are led out due to information tampering or mobile phone loss is prevented, the electronic gift certificates are provided with a certain validity period, and the electronic gift certificates automatically fail after the validity period is exceeded, so that the safety of the electronic gift certificates is effectively improved.
According to the above optional embodiment, the present invention further provides a specific implementation manner, and fig. 3 is a schematic diagram of a method for processing an electronic gift certificate according to an embodiment of the present application, where a client (i.e., a first server), a server (i.e., a second server), and in an application scenario of an online electronic gift certificate issuing activity, an advertisement page is sent through the first server, and a pickup port of an electronic gift certificate may be displayed in the advertisement page, so as to conduct user drainage. After triggering the acquisition of the electronic gift certificate, acquiring an account registration request through an advertisement page of a first server, wherein the account registration request carries first registration data including a mobile phone number, a verification code and a preset certificate number for identifying the identity of a user. The data amount of the first registration data is far smaller than the data amount required for directly picking up the electronic gift certificate in the second server.
And responding to the account registration request acquired by the first server, generating a registered target account, and issuing an electronic gift certificate for the target account, wherein the electronic gift certificate cannot be directly approved for use at the moment. After the acquisition is successful, the acquired first registration data needs to be pre-stored, a field deformation mode is adopted, the temporary identification in a preset Redis cache database is acquired based on the mobile phone number and the certificate number, and the Redis cache database is not a database for service processing of the second server, so that the influence of high concurrency on the second server is relieved.
Because the data volume available for verification in the first registration data is less, the information security of the electronic gift certificate is improved by adopting a data encryption and blockchain mode. Because the electronic gift certificate information belongs to the account related to the user, encryption processing is needed before the gift certificate data is linked, the gift certificate code is formatted into a ciphertext character string according to a preset encryption rule, and the encryption rule can be encrypted by using the first registration data, the time stamp of the registration time and other factors as a unique encryption factor. Because the encryption factors used for data encryption are different each time, each gift certificate code is ensured to be only limited to uniform account pickup, and the possibility of smoking the electronic gift certificates is reduced.
Meanwhile, when the electronic gift certificates are put in storage, the private blockchain is built to carry out accounting uploading, the characteristic that data in the blockchain is difficult to tamper is utilized, anti-repudiation measures are added on the basis of data encryption, and because the chain entering and exiting actions of the electronic gift certificates can be synchronized to any node in the blockchain, the second server is favorable for timely sensing abnormal verification processing of the electronic gift certificates, the electronic gift certificates are timely frozen, and virtual asset loss of a target account is reduced.
After the target account is logged in the second server, it is necessary to compare whether the account login data is matched with the first registration data, and determine whether the electronic gift certificate is within the validity period. The validity period of the electronic gift certificate can be set according to specific requirements, in order to prevent the gift certificate from being falsified or lost due to the fact that the user is falsified, the operation of logging in and taking the gift certificate in the second server is set to be effective within 1 day, if the user takes the gift certificate for 1 day, the second server can do gift certificate issuing operation, and if the user takes the gift certificate for more than 1 day, the second server judges that taking is invalid.
Through the above processing, the following effects can be achieved by the specific embodiment of the present invention: the operation time for picking up the electronic gift certificates is greatly shortened, and the service experience of new users is further improved. Under the condition of simplifying the picking flow as much as possible, the information security of the electronic gift certificates is ensured by adopting means such as block chains, information encryption and the like.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
The embodiment of the application also provides an electronic gift certificate processing device, and it should be noted that the electronic gift certificate processing device of the embodiment of the application can be used for executing the electronic gift certificate processing method provided by the embodiment of the application. The electronic gift certificate processing apparatus provided in the embodiment of the present application is described below.
Fig. 4 is a schematic view of an electronic gift certificate processing apparatus according to an embodiment of the present application. As shown in fig. 4, the apparatus includes: the first display module 402, the first receiving module 404, the dispensing module 406, the second receiving module 408, and the second display module 410 are described in detail below.
A first display module 402 for displaying an electronic gift certificate on a first server;
a first receiving module 404, connected to the first display module 402, configured to receive an account registration request in response to a request for acquiring the electronic gift certificate from the first server, where the account registration request carries first registration data, and the data amount of the first registration data is less than the data amount of second registration data, where the second registration data is data that needs to be registered when the second server acquires the electronic gift certificate;
the issuing module 406 is connected to the first receiving module 404, and is configured to generate a target account in response to the account registration request, and issue the electronic gift certificate for the target account;
A second receiving module 408, connected to the issuing module 406, for receiving a login request based on the target account on the second server, where the second server is a server capable of verifying and approving the electronic gift certificate;
and a second display module 410, coupled to the second receiving module 408, configured to display account information of the target account on the second server in response to the login request, where the account information indicates that the electronic gift certificate is under the target account.
The electronic gift certificate processing device provided by the embodiment of the application is used for displaying the electronic gift certificates on the first server through the first display module 402; a first receiving module 404, connected to the first display module 402, configured to receive an account registration request in response to a request for acquiring the electronic gift certificate from the first server, where the account registration request carries first registration data, and the data amount of the first registration data is less than the data amount of second registration data, where the second registration data is data that needs to be registered when the second server acquires the electronic gift certificate; the issuing module 406 is connected to the first receiving module 404, and is configured to generate a target account in response to the account registration request, and issue the electronic gift certificate for the target account; a second receiving module 408, connected to the issuing module 406, for receiving a login request based on the target account on the second server, where the second server is a server capable of verifying and approving the electronic gift certificate; and a second display module 410, coupled to the second receiving module 408, configured to display account information of the target account on the second server in response to the login request, where the account information indicates that the electronic gift certificate is under the target account. The aim of automatically issuing the electronic gift certificates for the registered accounts in the server capable of verifying and selling is achieved, and the problem that the electronic gift certificates are not ideal in the picking efficiency in the related technology is solved. Thereby achieving the effect of improving the picking efficiency of the electronic gift certificates.
Optionally, in the electronic gift certificate processing apparatus provided in the embodiment of the present application, the issuing module 406 includes: the first storage module is used for storing account information of the electronic gift certificates under the target accounts on a blockchain; the synchronization module, configured to display account information of the target account on the second server in response to the login request, includes: the account information is synchronized from the blockchain to the second server.
Optionally, in the electronic gift certificate processing apparatus provided in the embodiment of the present application, the storage module includes: the first encryption module is used for carrying out encryption processing on the electronic gift certificates to obtain ciphertext character strings of the electronic gift certificates; the updating module is used for updating the account information based on the ciphertext character string to obtain updated account information; and the uploading module is used for uploading the updated account information to the blockchain.
Optionally, in the electronic gift certificate processing apparatus provided in the embodiment of the present application, the encryption module includes: the first acquisition module is used for acquiring a time stamp of registration processing of the target account in the first server and the first registration data; and the second encryption module is used for encrypting the electronic gift certificate based on the timestamp and the first registration data to obtain the ciphertext character string.
Optionally, in the electronic gift certificate processing apparatus provided in the embodiment of the present application, the apparatus further includes: the first deformation module is used for carrying out field deformation processing on the mobile phone number under the condition that the first registration data comprises the mobile phone number of the account and a preset certificate number to obtain a first deformation field; the second deformation module is used for carrying out field deformation processing on the preset certificate number to obtain a second deformation field; the second acquisition module is used for acquiring the storage identification of the target account based on the first deformation field and the second deformation field; and the second storage module is used for storing the first registration data in a preset cache database based on the storage identification.
Optionally, in the electronic gift certificate processing apparatus provided in the embodiment of the present application, the second display module 410 includes: the third acquisition module is used for acquiring account login data of the target account in the second server; the matching module is used for matching the account login data with the first registration data to obtain a matching result; and the third display module is used for displaying the account information when the matching result is that the matching is successful.
Optionally, in the electronic gift certificate processing apparatus provided in the embodiment of the present application, the apparatus further includes: the first determining module is used for determining the registration time for generating the target account and the login time for receiving the login request; a time length setting module, configured to set an expiration date of the electronic gift certificate to a predetermined time length after the registration time; and the invalidation module is used for responding to the login request and determining that the electronic gift certificate is invalidated under the condition that the login time is not processed within the validity period.
It should be noted that each of the above modules may be implemented by software or hardware, for example, in the latter case, it may be implemented by: the above modules may be located in the same processor; alternatively, the various modules described above may be located in different processors in any combination.
It should be noted that, the first display module 402, the first receiving module 404, the issuing module 406, and the second receiving module 408 and the second display module 410 correspond to the steps S202 to S210 in the embodiment, and the above modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the above modules may be run in a computer terminal as part of the apparatus.
It should be noted that, the optional or preferred implementation manner of this embodiment may be referred to the related description in the embodiment, and will not be repeated herein.
The electronic gift certificate processing device comprises a processor and a memory, wherein the units and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel may be provided with one or more, and the electronic coupon processing is performed by adjusting the kernel parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
An embodiment of the present invention provides a non-volatile storage medium having a program stored thereon, which when executed by a processor, implements the above-described electronic coupon processing method.
The embodiment of the invention provides a processor, which is used for running a program, wherein the electronic gift certificate processing method is executed when the program runs.
The embodiment of the invention provides an electronic device, which comprises a processor, a memory and a program stored on the memory and capable of running on the processor, wherein the following steps are realized when the processor executes the program: displaying the electronic gift certificate on the first server; receiving an account registration request in response to a request for acquiring the electronic gift certificate in the first server, wherein the account registration request carries first registration data, the data size of the first registration data is smaller than the data size of second registration data, and the second registration data is data which needs to be registered when the second server acquires the electronic gift certificate; responding to the account registration request, generating a target account, and issuing the electronic gift certificate for the target account; receiving a login request based on the target account on the second server, wherein the second server is a server with the capability of verifying and approving the electronic gift certificate; and responding to the login request, and displaying account information of the target account on the second server, wherein the account information indicates that the electronic gift certificate is under the target account. The device herein may be a server, PC, PAD, cell phone, etc.
The present application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with the method steps of: displaying the electronic gift certificate on the first server; receiving an account registration request in response to a request for acquiring the electronic gift certificate in the first server, wherein the account registration request carries first registration data, the data size of the first registration data is smaller than the data size of second registration data, and the second registration data is data which needs to be registered when the second server acquires the electronic gift certificate; responding to the account registration request, generating a target account, and issuing the electronic gift certificate for the target account; receiving a login request based on the target account on the second server, wherein the second server is a server with the capability of verifying and approving the electronic gift certificate; and responding to the login request, and displaying account information of the target account on the second server, wherein the account information indicates that the electronic gift certificate is under the target account.
Optionally, the above computer program product is further adapted to execute a program initialized with the method steps of: storing account information of the electronic gift certificate under the target account on a blockchain; the displaying, in response to the login request, account information of the target account on the second server includes: the account information is synchronized from the blockchain to the second server.
Optionally, the above computer program product is further adapted to execute a program initialized with the method steps of: encrypting the electronic gift certificates to obtain ciphertext character strings of the electronic gift certificates; updating the account information based on the ciphertext character string to obtain updated account information; and uploading the updated account information to the blockchain.
Optionally, the above computer program product is further adapted to execute a program initialized with the method steps of: acquiring a time stamp of registration processing of the target account in the first server and the first registration data; and encrypting the electronic gift certificate based on the timestamp and the first registration data to obtain the ciphertext character string.
Optionally, the above computer program product is further adapted to execute a program initialized with the method steps of: under the condition that the first registration data comprises the mobile phone number of the account and a preset certificate number, carrying out field deformation processing on the mobile phone number to obtain a first deformed field; performing field deformation processing on the preset certificate number to obtain a second deformed field; obtaining a storage identifier of the target account based on the first deformation field and the second deformation field; and storing the first registration data in a preset cache database based on the storage identification.
Optionally, the above computer program product is further adapted to execute a program initialized with the method steps of: determining the registration time for generating the target account and the registration time for receiving the registration request; setting the validity period of the electronic gift certificate to be a preset time period after the registration time; and when the login time is not within the validity period, determining that the electronic gift certificate is invalid in response to the login request.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (10)

1. An electronic gift certificate processing method, comprising:
displaying the electronic gift certificate on the first server;
receiving an account registration request in response to a request for acquiring the electronic gift certificate in the first server, wherein the account registration request carries first registration data, the data size of the first registration data is smaller than that of second registration data, and the second registration data is data which needs to be registered when a second server acquires the electronic gift certificate;
Responding to the account registration request, generating a target account, and issuing the electronic gift certificate for the target account;
receiving a login request based on the target account on the second server, wherein the second server is a server with the capability of verifying and approving the electronic gift certificate;
and responding to the login request, and displaying account information of the target account on the second server, wherein the account information indicates that the electronic gift certificate exists under the target account.
2. The method of claim 1, wherein after issuing the electronic gift certificate for the target account, the method further comprises:
storing account information of the electronic gift certificates under the target account on a blockchain;
the displaying, in response to the login request, account information of the target account on the second server includes: the account information is synchronized from the blockchain to the second server.
3. The method of claim 2, wherein storing account information for the electronic coupon under the target account on a blockchain comprises:
Encrypting the electronic gift certificates to obtain ciphertext character strings of the electronic gift certificates;
updating the account information based on the ciphertext character string to obtain updated account information;
and uploading the updated account information to the blockchain.
4. The method of claim 3, wherein the encrypting the electronic gift certificate to obtain the ciphertext character string of the electronic gift certificate comprises:
acquiring a time stamp of registration processing of the target account in the first server and the first registration data;
and encrypting the electronic gift certificate based on the timestamp and the first registration data to obtain the ciphertext character string.
5. The method according to claim 1, wherein the method further comprises:
under the condition that the first registration data comprises the mobile phone number of the account and a preset certificate number, carrying out field deformation processing on the mobile phone number to obtain a first deformed field;
performing field deformation processing on the preset certificate number to obtain a second deformed field;
obtaining a storage identifier of the target account based on the first deformation field and the second deformation field;
And storing the first registration data in a preset cache database based on the storage identification.
6. The method of claim 1, wherein the displaying the account information of the target account on the second server in response to the login request comprises:
acquiring account login data of the target account in the second server;
matching the account login data with the first registration data to obtain a matching result;
and displaying the account information under the condition that the matching result is successful.
7. The method according to any one of claims 1 to 6, further comprising:
determining the registration time for generating the target account and the login time for receiving the login request;
setting the validity period of the electronic gift certificate to be a preset time period after the registration time;
and under the condition that the login time is not processed in the validity period, responding to the login request, and determining that the electronic gift certificate is invalid.
8. An electronic gift certificate processing apparatus, comprising:
the first display module is used for displaying the electronic gift certificates on the first server;
The first receiving module is used for responding to a request for acquiring the electronic gift certificate in the first server and receiving an account registration request, wherein the account registration request carries first registration data, the data size of the first registration data is smaller than that of second registration data, and the second registration data is data which needs to be registered when the second server acquires the electronic gift certificate;
the issuing module is used for responding to the account registration request, generating a target account and issuing the electronic gift certificate for the target account;
the second receiving module is used for receiving a login request based on the target account on the second server, wherein the second server is a server with the capability of verifying and approving the electronic gift certificate;
and the second display module is used for responding to the login request and displaying account information of the target account on the second server, wherein the account information indicates that the electronic gift certificate exists under the target account.
9. A non-volatile storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the electronic coupon processing method of any one of claims 1 to 7.
10. An electronic device comprising one or more processors and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the electronic coupon processing method of any of claims 1-7.
CN202310491855.8A 2023-05-04 2023-05-04 Electronic gift certificate processing method and device, storage medium and electronic equipment Pending CN116523558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310491855.8A CN116523558A (en) 2023-05-04 2023-05-04 Electronic gift certificate processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310491855.8A CN116523558A (en) 2023-05-04 2023-05-04 Electronic gift certificate processing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116523558A true CN116523558A (en) 2023-08-01

Family

ID=87391751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310491855.8A Pending CN116523558A (en) 2023-05-04 2023-05-04 Electronic gift certificate processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116523558A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111932290A (en) * 2020-06-30 2020-11-13 五八到家有限公司 Request processing method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111932290A (en) * 2020-06-30 2020-11-13 五八到家有限公司 Request processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US20220191036A1 (en) System and method of filtering internet traffic via a client fingerprint
US10819501B2 (en) Validating one or more blockchains without ledger limitations
CN108985081B (en) Watermark encryption method, device, medium and electronic equipment
US20210203503A1 (en) Permissions from entities to access information
CN112333198B (en) Secure cross-domain login method, system and server
CN112100460A (en) Block chain-based network page evidence storing method, device, medium and electronic equipment
CN111814196B (en) Data processing method, device and equipment
CN108184170B (en) Data processing method and device
CN111767578A (en) Data inspection method, device and equipment
CN116523558A (en) Electronic gift certificate processing method and device, storage medium and electronic equipment
WO2020000777A1 (en) Method and apparatus for acquiring individual credit information on the basis of block chain, and computer device
US20160148232A1 (en) Using hashed media identifiers to determine audience measurement data including demographic data from third party providers
CN107659579B (en) On-site certificate storing method and device and related certificate storing system
CN111815420A (en) Matching method, device and equipment based on trusted asset data
CN110021291B (en) Method and device for calling voice synthesis file
US11749066B2 (en) Localized betting system and method
CN112100689B (en) Trusted data processing method, device and equipment
CN111737721A (en) Terminal device ID generation method and device and electronic device
CN110943903B (en) Information processing method and device
CN116451280A (en) Asset management method and device based on blockchain
CN111582954B (en) False data identification method and device
CN111008251B (en) Data processing method and device
CN113032823A (en) Method and device for generating equipment ID
CN107809424B (en) On-site certificate storing method and device and related certificate storing system
CN110647766A (en) Method and system for ensuring file downloading safety of data warehouse

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