CN110163658B - Virtual resource data processing method and device, computer equipment and storage medium - Google Patents

Virtual resource data processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110163658B
CN110163658B CN201910308348.XA CN201910308348A CN110163658B CN 110163658 B CN110163658 B CN 110163658B CN 201910308348 A CN201910308348 A CN 201910308348A CN 110163658 B CN110163658 B CN 110163658B
Authority
CN
China
Prior art keywords
exchange
voucher
data
redemption
certificate
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.)
Active
Application number
CN201910308348.XA
Other languages
Chinese (zh)
Other versions
CN110163658A (en
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.)
Shenzhen Zuolin Yongjia Technology Co ltd
Original Assignee
Shenzhen Zuolin Yongjia Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zuolin Yongjia Technology Co ltd filed Critical Shenzhen Zuolin Yongjia Technology Co ltd
Priority to CN201910308348.XA priority Critical patent/CN110163658B/en
Publication of CN110163658A publication Critical patent/CN110163658A/en
Application granted granted Critical
Publication of CN110163658B publication Critical patent/CN110163658B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0211Determining the effectiveness of discounts or incentives
    • 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/0223Discounts or incentives, e.g. coupons or rebates based on inventory
    • 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/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/105Multiple levels of security

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Game Theory and Decision Science (AREA)
  • Computer Hardware Design (AREA)
  • Signal Processing (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 relates to a virtual resource data processing method, a virtual resource data processing device, computer equipment and a storage medium. The method comprises the following steps: acquiring a selected group identification, a selected user identification corresponding to the group identification and an exchange certificate type, and acquiring the number of exchange certificates corresponding to the user identification; finding out attribute data of the corresponding exchange certificate according to the group identification and the exchange certificate type; locking attribute data of the exchange certificate corresponding to the exchange certificate type; and when detecting that the remaining quantity of the exchange certificates in the attribute data of the exchange certificates meets the quantity of the exchange certificates, updating the remaining quantity of the exchange certificates according to the quantity of the exchange certificates. By adopting the scheme of the application, the success rate of virtual data updating can be improved.

Description

Virtual resource data processing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for processing virtual resource data, a computer device, and a storage medium.
Background
With the development of internet technology, more and more merchants choose to issue paper or electronic cards through the internet. However, in the data update process of the virtual resource, there may be a case where the update is performed at the same time. And the amount of virtual resources is limited, the current virtual resource data processing method may cause update failure.
Disclosure of Invention
Based on this, it is necessary to provide a method, an apparatus, a computer device and a computer storage medium for processing card data, which can improve the success rate of updating virtual resource data, in order to solve the technical problem that the current virtual resource data processing method results in update failure.
A method of virtual resource data processing, the method comprising: acquiring a selected group identification, a selected user identification corresponding to the group identification and an exchange certificate type, and acquiring the number of exchange certificates corresponding to the user identification; finding out attribute data of the corresponding exchange certificate according to the group identification and the exchange certificate type; locking attribute data of the exchange certificate corresponding to the exchange certificate type; and when detecting that the remaining quantity of the exchange certificates in the attribute data of the exchange certificates meets the quantity of the exchange certificates, updating the remaining quantity of the exchange certificates according to the quantity of the exchange certificates.
In one embodiment, the virtual resource data processing method further includes: acquiring login information of an administrator; sending administrator login information to an authorization server; receiving an administrator authentication result returned by the authorization server, wherein the administrator authentication result is generated after the authorization server authenticates the login information of the administrator; and when the authentication result is successful, acquiring a domain space identifier, and acquiring a candidate group identifier, a candidate user identifier corresponding to the candidate group identifier and the attribute data of the exchange certificate from the office server according to the domain space identifier.
In one embodiment, the virtual resource data processing method further includes: acquiring a resource calling instruction which is sent by an administrator terminal and corresponds to the exchange certificate; sending key data to a corresponding service server according to the resource calling instruction; receiving an authentication result returned by the service server according to the secret key data; when the authentication result is successful, sending a communication identifier to the service server; receiving resource data returned by the service server according to the communication identifier; the resource data is associated with the redemption credential.
In one embodiment, the virtual resource data processing method further includes: acquiring a user identifier sent by a user terminal and resource data corresponding to the user identifier; sending a user identification to an authorization server; receiving a group identification corresponding to the user identification returned by the authorization server, wherein the group identification corresponding to the user identification is sent when the authorization server determines that the user identification has the corresponding right; acquiring exchange voucher data corresponding to the group identification according to the group identification; acquiring available exchange certificate data corresponding to the resource data according to the resource data; acquiring available exchange voucher data corresponding to the user identification according to the user identification; sending available exchange certificate data corresponding to the user identification to an office server; receiving available exchange certificate data after the office server verifies the available exchange certificate data corresponding to the user identification; and acquiring actual available exchange certificate data corresponding to the user identification according to the exchange certificate data corresponding to the group identification, the available exchange certificate data corresponding to the resource data and the verified available exchange certificate data.
In one embodiment, the virtual resource data processing method further includes: when the remaining number of the exchange certificates is updated, releasing the attribute data of the exchange certificates; and generating the exchange voucher identifications with the same number as the exchange voucher according to the attribute data of the exchange voucher, and sending the exchange voucher corresponding to the exchange voucher identification to the user terminal corresponding to the user identification.
In one embodiment, the virtual resource data processing method further includes: and when the use period of the converted voucher in the attribute data of the converted voucher is not expired, or when the use period of the converted voucher in the attribute data of the converted voucher is not expired and meets the issuing rule, updating the state of the converted voucher in the attribute data of the converted voucher, and putting the converted voucher on shelf.
In one embodiment, the virtual resource data processing method further includes: when the use period of the exchange voucher in the attribute data of the exchange voucher is expired, updating the state of the exchange voucher in the attribute data of the exchange voucher, and taking off the shelf to exchange the voucher; or when the service life of the exchange voucher in the attribute data of the exchange voucher is expired, acquiring a shelf-off command, shelf-off exchanging the voucher according to the shelf-off command, and updating the state of the exchange voucher in the attribute data of the exchange voucher.
A virtual resource data processing apparatus, the apparatus comprising: the acquisition module is used for acquiring the selected group identification, the selected user identification corresponding to the group identification and the exchange certificate type and acquiring the exchange certificate quantity corresponding to the user identification;
the searching module is used for searching the attribute data of the corresponding exchange certificate according to the group identification and the exchange certificate type;
the locking module is used for locking the attribute data of the exchange certificate corresponding to the exchange certificate type;
and the updating module is used for updating the remaining quantity of the exchange certificates according to the quantity of the exchange certificates issued when the fact that the remaining quantity of the exchange certificates in the attribute data exchange certificate data of the exchange certificates meets the quantity of the exchange certificates issued by the quantity exchange certificates is detected.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program: acquiring a selected group identification, a selected user identification corresponding to the group identification and an exchange certificate type, and acquiring the number of exchange certificates corresponding to the user identification; finding out attribute data of the corresponding exchange certificate according to the group identification and the exchange certificate type; locking attribute data of the exchange certificate corresponding to the exchange certificate type; and when detecting that the remaining quantity of the exchange certificates in the attribute data of the exchange certificates meets the quantity of the exchange certificates, updating the remaining quantity of the exchange certificates according to the quantity of the exchange certificates.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of: acquiring a selected group identification, a selected user identification corresponding to the group identification and an exchange certificate type, and acquiring the number of exchange certificates corresponding to the user identification; finding out attribute data of the corresponding exchange certificate according to the group identification and the exchange certificate type; locking attribute data of the exchange certificate corresponding to the exchange certificate type; and when detecting that the remaining quantity of the exchange certificates in the attribute data of the exchange certificates meets the quantity of the exchange certificates, updating the remaining quantity of the exchange certificates according to the quantity of the exchange certificates.
According to the virtual resource data processing method, the virtual resource data processing device, the computer equipment and the storage medium, the selected group identification, the user identification, the exchange certificate type and the exchange certificate quantity are obtained, the corresponding attribute data are found according to the group identification and the exchange certificate type, the attribute data are locked, and when the remaining number of the exchange certificates meets the exchange certificate quantity, the remaining number of the exchange certificates is updated, so that the updating of the attribute data corresponding to the exchange certificate type is allowed only once at a certain time point, the data confusion caused by multiple updating at the same time is avoided, and the success rate of virtual data updating is improved.
Drawings
FIG. 1 is a diagram of an application environment of a method for processing virtual resource data in one embodiment;
FIG. 2 is a flowchart illustrating a method for processing virtual resource data according to an embodiment;
FIG. 3 is a schematic flow chart illustrating the process of obtaining group id, user id, and attribute data of redemption certificates in one embodiment;
fig. 4 is an interaction flow diagram of acquiring candidate group identifiers and attribute data of candidate user identifiers and redemption certificates corresponding to the global identifiers in one embodiment;
FIG. 5 is a schematic flow diagram that illustrates the association of resource data with redemption credentials in one embodiment;
FIG. 6 is a schematic diagram illustrating an interaction flow of acquiring resource data during the addition or editing process of the redemption voucher in one embodiment;
FIG. 7 is a schematic flow chart illustrating obtaining actual available redemption credential data corresponding to a user identification in one embodiment;
FIG. 8 is an interaction diagram illustrating the obtaining of actual available redemption credential data corresponding to a user identification in one embodiment;
FIG. 9 is a schematic interaction flow diagram illustrating the generation of a redemption credential identifier in one embodiment;
FIG. 10 is a schematic interaction flow diagram for adding redemption credential data in one embodiment;
FIG. 11 is a diagram illustrating a redemption voucher shelving process in one embodiment;
FIG. 12 is a schematic diagram of a redemption credential off-shelf process in one embodiment;
FIG. 13 is a flowchart illustrating a virtual data processing method according to another embodiment;
FIG. 14 is a flowchart illustrating a virtual data processing method according to another embodiment;
FIG. 15 is a diagram illustrating a software architecture of a virtual data processing method according to an embodiment;
FIG. 16 is a block diagram showing a configuration of a virtual data processing apparatus according to an embodiment;
FIG. 17 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The virtual resource data processing method provided in the embodiment of the present application may be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 may include at least one of a user terminal, an administrator terminal. The server 104 includes a card server 104 a. The server 104 may further include at least one of an authorization server 104b, an office server 104c, and a business server 104 d. The authorization server 104b may be used to authenticate user data, such as a user identification, or administrator data, such as an administrator identification, etc. The office server may be used to manage user data, etc. The service server can be used for storing the resource data and providing the resource data to other servers. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a virtual resource data processing method is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
step 202, obtaining the selected group identification, the selected user identification corresponding to the group identification and the exchange voucher type, and obtaining the exchange voucher number corresponding to the user identification.
The group identifier is a unique identifier for distinguishing a certain group, and may be, for example, an enterprise identifier. The user identifier refers to a unique identifier for distinguishing a certain user. The group identification and the user identification are both composed of at least one of characters, numbers or symbols. The redemption certificate may be, for example, a card, an electronic invoice, or the like. Exchange voucherType (B)And particularly can be a voucher, a discount coupon, a gift coupon, a shopping card and the like. Redemption credential types may also include redemption credential sub-types, such as smallTime card, money card, time card, etc. The redemption credential quantity may also correspond to a group identification. Such as the number of redemption certificates corresponding to a certain group.
Specifically, the administrator terminal obtains the selected group identification, and displays the corresponding user identification according to the group identification. And the administrator terminal acquires the selected user identification and then acquires the type of the exchange voucher and the number of the exchange voucher corresponding to the user identification. The administrator terminal sends the selected group identification, the selected user identification corresponding to the group identification, the exchange voucher type and the exchange voucher number corresponding to the user identification to the server. The server obtains the selected group identification, the selected user identification corresponding to the group identification and the exchange certificate type, and obtains the exchange certificate quantity corresponding to the user identification.
For example, the server obtains a selected group identifier a, a corresponding user identifier b, a redemption certificate type of a voucher, and the number of redemption certificates corresponding to the user identifier b is 1.
And step 204, finding out the attribute data of the corresponding exchange certificate according to the group identification and the exchange certificate type.
The attribute data comprises at least one of group grouping identification, domain space identification, merchant identification, redemption certificate basic table identification, redemption certificate type, enterprise identification, redemption certificate quantity, redemption certificate residual quantity, redemption certificate state, redemption certificate validity starting and ending time points and remarks.
Specifically, the server searches the attribute data of the exchange voucher corresponding to the group identification from the database according to the group identification and the exchange voucher type. For example, the server searches the card attribute data corresponding to the type of the coupon A and the type of the coupon A from the database according to the group identifier A and the coupon.
And step 206, locking the attribute data of the exchange certificate corresponding to the type of the exchange certificate.
Specifically, the server can lock the attribute data of the redemption certificate corresponding to the redemption certificate type through the synchronous lock. And intercepting access requests of other administrator terminals to the attribute data of the converted voucher by the server, and the like. For example, the server may lock the card attribute data corresponding to the type of the coupon under the group identification a through the synchronization lock.
And step 208, when detecting that the remaining quantity of the exchange voucher in the attribute data of the exchange voucher meets the quantity of the exchange voucher, updating the remaining quantity of the exchange voucher according to the quantity of the exchange voucher.
Specifically, when the server detects that the remaining number of the redemption certificates in the attribute data of the redemption certificates is greater than or equal to the number of the redemption certificates corresponding to the user identifications, the server updates the remaining number of the redemption certificates in the database according to the number of the redemption certificates.
According to the virtual resource data processing method, the selected group identification, the user identification, the exchange certificate type and the exchange certificate number are obtained, the corresponding attribute data are searched according to the group identification and the exchange certificate type, the attribute data are locked, and when the remaining number of the exchange certificates meets the exchange certificate number, the remaining number of the exchange certificates is updated, so that the attribute data corresponding to the exchange certificate type can be updated only once at a certain time, the data confusion caused by multiple updates at the same time is avoided, and the updating success rate is improved.
In one embodiment, as shown in fig. 3, a schematic flow chart of obtaining group identification, user identification and attribute data of the redemption certificate in one embodiment is shown. The virtual data processing method further comprises the following steps:
step 302, obtaining administrator login information.
The administrator login information specifically includes an administrator identifier. The administrator login information may further include at least one of an administrator password, an administrator access port number, an administrator internet protocol address, and the like.
Specifically, the administrator terminal acquires the input administrator login information and transmits the administrator login information to the server. The card and ticket server obtains the login information of the administrator.
Step 304, the administrator login information is sent to the authorization server.
Specifically, the card server sends administrator login information to the authorization server.
And step 306, receiving an administrator authentication result returned by the authorization server, wherein the administrator authentication result is generated after the authorization server authenticates the administrator login information.
The administrator authentication result comprises authentication success or authentication failure.
Specifically, after receiving the administrator login information, the authorization server authenticates the administrator login information, such as an administrator identifier. And the authentication comprises the step of identifying whether the administrator identification has the authority of acquiring the candidate group identification, the candidate user identification corresponding to the candidate group identification and the attribute data of the exchange certificate. And the authorization server sends the administrator authentication result to the card and ticket server. And the card and ticket server receives the administrator authentication result returned by the authorization server.
And 308, when the authentication result is successful, acquiring a domain space identifier, and acquiring a candidate group identifier, a candidate user identifier corresponding to the candidate group identifier and the attribute data of the exchange certificate from the office server according to the domain space identifier.
Wherein the domain space identifier is an identifier for distinguishing the domain.
Specifically, when the authentication result returned by the authorization server is received successfully, the card and ticket server obtains the domain space identifier from the corresponding relationship between the domain space identifier and the group identifier. And the coupon server acquires the candidate group identification, the candidate user identification corresponding to the candidate group identification and the attribute data of the exchange voucher from the corresponding storage position in the office server according to the domain space identification.
In this embodiment, the server may send the candidate group identifier, the candidate user identifier corresponding to the candidate group identifier, and the attribute data of the redemption certificate to the administrator terminal, and display the candidate group identifier, the candidate user identifier corresponding to the candidate group identifier, and the attribute data of the redemption certificate at the administrator terminal.
In the virtual resource data processing method, administrator login information is acquired, and the administrator login information is sent to an authorization server; receiving an administrator authentication result returned by the authorization server, obtaining a domain space identifier when the authentication result is successful, obtaining a candidate group identifier, a candidate user identifier corresponding to the candidate group identifier and attribute data of the exchange certificate from the office server according to the domain space identifier, authenticating login information of the administrator through the authorization server to obtain authenticated data, obtaining some data from the office server, avoiding data errors caused by frequent operation of the card and ticket server, and improving the accuracy of virtual data processing.
In an embodiment, as shown in fig. 4, an interaction flow diagram for obtaining candidate group identifiers and attribute data of candidate user identifiers and redemption certificates corresponding to the global identifiers in an embodiment includes:
step 402, the user terminal obtains the administrator login information.
In step 404, the user terminal sends administrator login information to the card and ticket server.
At step 406, the card server sends administrator login information to the authorization server.
Step 408, the authorization server authenticates the login information of the administrator to obtain an authentication result.
Step 410, the authorization server sends the administrator authentication result to the card and ticket server.
At step 412, the card server obtains the domain space identifier from the database.
At step 414, the card and ticket server sends the domain space identifier to the office server.
And step 416, the office server sends the candidate group identification, the candidate user identification corresponding to the candidate group identification and the attribute data of the redemption voucher to the card and ticket server according to the domain space identification.
In the virtual data processing method, the administrator login information is acquired, and the administrator login information is sent to the authorization server; receiving an administrator authentication result returned by the authorization server, obtaining a domain space identifier when the authentication result is successful, obtaining a candidate group identifier, a candidate user identifier corresponding to the candidate group identifier and attribute data of the exchange certificate from the office server according to the domain space identifier, authenticating login information of the administrator through the authorization server to obtain authenticated data, obtaining some data from the office server, avoiding data errors caused by frequent operation of the card and ticket server, and improving the accuracy of virtual data processing.
In one embodiment, as shown in FIG. 5, a flow diagram for associating resource data with redemption credentials in one embodiment. The virtual data processing method further comprises the following steps:
step 502, receiving a resource calling instruction corresponding to the exchange certificate sent by the administrator terminal.
The resource may be a commodity. A resource call instruction also refers to a resource data fetch instruction.
Specifically, the administrator terminal sends a resource calling instruction to the card and ticket server. And the card ticket server receives a resource calling instruction sent by the administrator terminal.
And step 504, sending the key data to the corresponding service server according to the resource calling instruction.
The key data refers to some necessary handshake protocol or server check rule applied between servers before delivering the resource information. Such as TCP (Transmission Control Protocol), etc.
Specifically, the card and ticket server sends the key data to the corresponding service server according to the resource calling instruction corresponding to the exchange voucher.
Step 506, receiving the authentication result returned by the service server according to the key data.
Wherein, the authentication result comprises authentication success or authentication failure.
Specifically, the service server authenticates according to the key data to obtain an authentication result, and sends the authentication result to the card and ticket server. And the card and ticket server receives an authentication result returned by the service server according to the key data.
And step 508, when the authentication result is successful, sending a communication identifier to the service server.
The communication identifier refers to a communication identifier defined by the card and ticket server and the service server in advance. According to the specific communication identification, the business server returns the resource data required by the card and ticket server.
Specifically, when the authentication result returned by the service server is received as success, the card and ticket server sends the communication identifier to the service server.
And step 510, receiving resource data returned by the service server according to the communication identifier.
The resource data may specifically include a commodity price and a commodity name. The resource data may further include at least one of commodity shelf time, commodity picture, commodity video and commodity size.
Specifically, the service server searches for corresponding resource data according to the communication identifier, and sends the resource data to the card and ticket server. And the card and ticket server receives the resource data returned by the service server according to the communication identifier.
And step 512, associating the resource data returned by the business server with the exchange certificate.
Specifically, the card and ticket server writes the resource data returned by the business server into the exchange voucher data, so that the resource data is associated with the exchange voucher.
In this embodiment, the card and ticket server may display the associated resource data and the redemption voucher on the administrator terminal.
In the virtual resource data processing method, a resource calling instruction corresponding to the exchange certificate sent by an administrator terminal is obtained; sending key data to a corresponding service server according to the resource calling instruction; receiving an authentication result returned by the service server according to the secret key data, sending a communication identifier to the service server when the authentication result is successful, receiving resource data returned by the service server according to the communication identifier, and associating the resource data with the exchange certificate; the method can authenticate the administrator terminal or the administrator identification and the like, can confirm the usability, the accuracy, the communication safety and the like between the servers through the key data, can acquire more accurate data through the communication identification, and simultaneously improves the accuracy of virtual data processing.
In an embodiment, as shown in fig. 6, an interaction flow diagram for acquiring resource data in the process of adding or editing a redemption certificate in an embodiment includes:
in step 602, the administrator terminal sends a resource calling instruction to the card and ticket server.
In step 604, the card server sends the key data to the service server.
Step 606, the service server authenticates the key data to obtain an authentication result.
Step 608, the service server card ticket server sends the authentication result returned according to the key data.
Step 610, the card ticket server sends the communication identification to the service server.
Step 612, the service server searches for the corresponding resource data according to the communication identifier.
And step 614, the business server sends the resource data returned according to the communication identifier to the card and ticket server.
At step 616, the card server integrates the resource data.
Specifically, the card and ticket server can write the resource data returned by the business server into the converted certificate data, so that the resource data is associated with the converted certificate. The card and ticket server can also set the format of the resource data acquired by each service line, add some necessary data such as identification and the like, and write the data into the database.
And step 618, the card and ticket server sends the resource data to the administrator terminal and displays the resource data.
In the virtual resource data processing method, a resource calling instruction corresponding to the exchange certificate sent by an administrator terminal is obtained; sending key data to a corresponding service server according to the resource calling instruction; receiving an authentication result returned by the service server according to the secret key data, sending a communication identifier to the service server when the authentication result is successful, receiving resource data returned by the service server according to the communication identifier, and associating the resource data with the exchange certificate; the method and the system can authenticate the administrator terminal or the administrator identification and the like, can acquire more accurate data through the communication identification, and simultaneously improve the accuracy of virtual data processing.
In one embodiment, as shown in fig. 7, a schematic flow chart of obtaining actual available redemption certificate data corresponding to a user identifier in one embodiment is provided, where the virtual data processing method further includes:
step 702, acquiring a user identifier sent by a user terminal and resource data corresponding to the user identifier.
Specifically, the user terminal obtains the input user identifier and the selected resource data of the user identifier, and sends the user identifier and the resource data corresponding to the user identifier to the authorization server. And the card ticket server acquires the user identification sent by the user terminal and the resource data corresponding to the user identification.
Step 704, the user identification is sent to the authorization server.
Specifically, the card server sends the user identification to the authorization server.
And step 706, receiving the group identifier corresponding to the user identifier returned by the authorization server, wherein the group identifier corresponding to the user identifier is sent when the authorization server determines that the user identifier has the corresponding right.
Specifically, the authorization server obtains a user identifier, authenticates the user identifier, and determines that the user identifier has the right to obtain the available redemption credentials. And the authorization server searches the group identification associated with the user identification according to the user identification. And the authorization server sends the group identification corresponding to the user identification to the card and ticket server. And the card ticket server receives the group identification corresponding to the user identification returned by the authorization server.
And step 708, acquiring the exchange voucher data corresponding to the group identification according to the group identification.
Specifically, the card and ticket server obtains the converted voucher data corresponding to the group identification from the database according to the group identification.
And step 710, acquiring available exchange voucher data corresponding to the resource data according to the resource data.
Specifically, the card and ticket server obtains available exchange voucher data corresponding to the resource data from the database according to the resource data.
And 712, acquiring available redemption voucher data corresponding to the user identifier according to the user identifier.
Specifically, the card and ticket server obtains available redemption voucher data corresponding to the user identification according to the user identification. For example, if the user identifier is b, the card and ticket server obtains the number, type, and corresponding resource data of the available redemption credentials corresponding to the user identifier.
And step 714, sending available exchange certificate data corresponding to the user identification to the office server.
Specifically, the card and ticket server sends available redemption credential data corresponding to the user identification to the office server.
Step 716, receiving the available exchange voucher data after the office server verifies the available exchange voucher data corresponding to the user identifier.
Specifically, the office server verifies the available exchange certificate data corresponding to the user identifier to obtain whether the user identifier has the use authority of the exchange certificate and which exchange certificates. And when the office server passes the verification of the available exchange certificate data corresponding to the user identification, the office server sends the verified available exchange certificate data to the card and ticket server. And the card ticket server receives the available exchange certificate data after the server verifies the available exchange certificate data corresponding to the user identification.
Step 718, obtaining actual available redemption voucher data corresponding to the user identifier according to the redemption voucher data corresponding to the group identifier, the available redemption voucher data corresponding to the resource data and the verified available redemption voucher data.
Specifically, the card and ticket server filters the actual available exchange voucher data corresponding to the user identifier according to the exchange voucher data corresponding to the group identifier, the available exchange voucher data corresponding to the resource data and the verified available exchange voucher data. That is, the actual available redemption credential data corresponding to the user identification needs to satisfy three conditions: the exchange voucher data corresponding to the group identification, the available exchange voucher data corresponding to the resource data and the verified available exchange voucher data.
In this embodiment, the card and ticket server may send the actual available redemption voucher data corresponding to the user identifier to the user terminal and display the actual available redemption voucher data at the user terminal.
According to the virtual resource data processing method, the user identification sent by the user terminal and the resource data corresponding to the user identification are obtained, the actual available exchange voucher data corresponding to the user identification are obtained according to the exchange voucher data corresponding to the group identification, the available exchange voucher data corresponding to the resource data and the verified available exchange voucher data, the available exchange voucher data corresponding to the user identification can be verified for multiple times, and the virtual resource data processing accuracy is improved.
In one embodiment, as shown in fig. 8, an interaction diagram for obtaining user identification corresponding actual available redemption credential data in one embodiment includes:
in step 802, the user terminal receives a resource call instruction.
Step 804, the user terminal sends the user identifier and the resource data corresponding to the user identifier to the card and ticket server.
At step 806, the card server sends the user identification to the authorization server.
Step 808, the authorization server authenticates the user identifier, and when the user identifier has a corresponding right, a group identifier corresponding to the user identifier is obtained.
Step 810, the authorization server sends the group identifier corresponding to the user identifier to the card and ticket server.
And step 812, the card and ticket server acquires the converted voucher data corresponding to the group identification from the database according to the group identification.
And 814, the card and ticket server obtains the exchange voucher data corresponding to the resource data from the database according to the resource data.
Step 816, the card and ticket server sends the exchange voucher data corresponding to the user identifier to the office server.
Step 818, the office server verifies the exchange voucher data corresponding to the user identifier to obtain the verified available exchange voucher data.
At step 820, the office server sends the verified available redemption voucher data to the card and ticket server.
Step 822, the card and ticket server obtains the actual available exchange voucher data corresponding to the user identifier according to the exchange voucher data corresponding to the group identifier, the available exchange voucher data corresponding to the resource data and the verified available exchange voucher data.
In step 824, the coupon server sends the actual available redemption credential data corresponding to the user identification to the user terminal.
According to the virtual resource data processing method, the user identification sent by the user terminal and the resource data corresponding to the user identification are obtained, the actual available exchange voucher data corresponding to the user identification are obtained according to the exchange voucher data corresponding to the group identification, the available exchange voucher data corresponding to the resource data and the verified available exchange voucher data, the available exchange voucher data corresponding to the user identification can be verified for multiple times, and the virtual resource data processing accuracy is improved.
In one embodiment, the virtual data processing method further includes: when the remaining number of the exchange certificates is updated, releasing the attribute data of the exchange certificates; and generating the exchange voucher identifications with the same number as the exchange voucher according to the attribute data of the exchange voucher, and sending the exchange voucher corresponding to the exchange voucher identification to the user terminal corresponding to the user identification.
And the exchange certificate identification is used for uniquely identifying the exchange certificate. The exchange certificate identification is composed of one or more of characters, numbers and symbols.
Specifically, when the remaining number of the redemption certificates is updated, the card and ticket server releases the synchronous lock and releases the attribute data of the redemption certificates. And the card ticket server generates the same number of exchange voucher identifications as the number of the exchange vouchers according to the exchange voucher data. For example, the ticket server generates the redemption ticket identification based on at least one of, but not limited to, the type of redemption ticket, the date of use, the corresponding group identification, and the like. And the card ticket server sends the exchange voucher corresponding to the exchange voucher identification to the user terminal corresponding to the user identification. For example, the card ticket server sends the redemption ticket corresponding to the redemption ticket identification 12345 to the user terminal corresponding to the user identification. The redemption credentials may include, without limitation, redemption credential types, corresponding merchandise data, terms of use, and the like.
In the virtual data processing method, when the remaining number of the exchange certificates is updated, the exchange certificate data is released, the exchange certificate identifications with the same number as the exchange certificates are generated according to the exchange certificate data, the exchange certificates corresponding to the exchange certificate identifications are sent to the user terminals corresponding to the user identifications, the data can be released after updating, then the exchange certificate identifications are generated, data confusion is avoided, and the virtual data processing accuracy is improved.
In one embodiment, as shown in fig. 9, an interaction flow diagram for generating a redemption ticket identification in one embodiment includes:
step 902, the user terminal obtains the input resource calling instruction.
In step 904, the user terminal sends the resource data and the user data to the card and ticket server.
At step 906, the card server sends the user data to the authorization server.
Step 908, the authorization server authenticates the user data to obtain the authorization information of the exchange certificate.
At step 910, the authorization service sends redemption credential authorization usage information to the card server.
At step 912, the card server sends the available redemption credential data to the user terminal.
Step 914, the user terminal obtains the selected redemption certificate.
In step 916, the user terminal sends the selected redemption certificate to the card server.
Step 918, the card and ticket server obtains the remaining available exchange voucher data corresponding to the user identification according to the selected exchange voucher.
At step 920, the card ticket server sends the remaining available redemption voucher data to the user terminal.
Step 922, the ue receives the resource consumption command.
Step 924, the user terminal sends the user data, the selected resource data and the available redemption voucher data to the card and ticket server.
In step 926, the card and ticket server generates the exchange voucher id according to the exchange voucher data, and stores the resource consumption data, and generates the data update status.
According to the virtual data processing method, the exchange certificate identification is generated according to the exchange certificate data, the resource consumption data are stored, the data updating state is generated, one exchange certificate can be uniquely identified, and the virtual data processing accuracy is improved.
In one embodiment, as shown in fig. 10, an interaction flow diagram for adding redemption voucher data in one embodiment includes:
step 1002, the administrator terminal obtains a command of adding the exchange certificate.
In step 1004, the administrator terminal sends administrator login information to the ticket server.
At step 1006, the card server sends administrator login information to the authorization server.
Step 1008, the authorization server authenticates the administrator login information to obtain an authentication result.
Step 1010, the authorization server sends the administrator authentication result to the card and ticket server.
Step 1012, the card and ticket server switches to the exchange voucher adding interface according to the authentication result of the administrator.
In step 1014, the administrator terminal sends the added redemption voucher data to the card server.
Specifically, the administrator terminal may select a group identifier, acquire attribute data of the redemption certificate corresponding to the input group identifier, and store the group identifier and the attribute data of the redemption certificate corresponding to the group identifier in the database. Or the administrator terminal selects the user identification corresponding to the group identification, acquires the attribute data of the exchange certificate corresponding to the input user identification, and stores the user identification and the attribute data of the exchange certificate corresponding to the user identification in the database.
And step 1016, the card and ticket server updates data according to the added converted certificate data.
At step 1018, the card ticket server sends the added redemption voucher progress information to the administrator terminal. And the administrator terminal displays the exchange voucher progress information. According to the virtual data processing method, the exchange voucher can be added, the progress information can know the adding condition of the exchange voucher, and the accuracy of virtual data processing is improved.
In one embodiment, as shown in fig. 11, a schematic diagram of a process of redeeming a voucher on shelf in one embodiment is shown. The virtual data processing method further comprises the following steps: and when the use period of the converted voucher in the attribute data of the converted voucher is not expired, or when the use period of the converted voucher in the attribute data of the converted voucher is not expired and meets the issuing rule, updating the state of the converted voucher in the attribute data of the converted voucher, and putting the converted voucher on shelf.
Specifically, the card and ticket server can obtain the login information of the administrator and send the login information to the authorization server, and the authorization server authenticates the login information of the administrator. And when the administrator login information is determined to have the corresponding authority, the card and ticket server checks the service life of the converted certificate. And when the use period of the converted certificate in the attribute data of the converted certificate is not expired, the card and ticket server updates the state of the converted certificate in the attribute data of the converted certificate and shelves the converted certificate. Or when the service life of the converted certificate is not expired and the issuing rule is met, the card ticket server updates the state of the converted certificate in the attribute data of the converted certificate and shelves the converted certificate. For example, the status of the redemption voucher is not on shelf or is on shelf, not used or used, etc. When the redemption ticket has expired, the card server does not mount the redemption ticket. The issuing rules are to satisfy the number, satisfy the time requirement, etc.
According to the virtual data processing method, the exchange voucher is checked to be on shelf, whether the exchange voucher is overdue or not is detected, the exchange voucher state is updated, the function of putting the exchange voucher on shelf can be achieved, manual operation is not needed, resources are saved, and the accuracy of virtual data processing is improved.
In one embodiment, as shown in fig. 12, a schematic diagram of the exchange voucher shelving process in one embodiment is shown. The virtual data processing method further comprises the following steps: when the use period of the exchange voucher in the attribute data of the exchange voucher is expired, updating the state of the exchange voucher in the attribute data of the exchange voucher, and taking off the shelf to exchange the voucher; or when the service life of the exchange voucher in the attribute data of the exchange voucher is expired, acquiring a shelf-off command, shelf-off exchanging the voucher according to the shelf-off command, and updating the state of the exchange voucher in the attribute data of the exchange voucher.
Specifically, off-shelf refers to off-shelf to redeem a type of object in the voucher. The card and ticket server obtains the login information of the administrator from the administrator terminal and sends the login information of the administrator to the authorization server, and the authorization server authenticates the login information of the administrator. And when the administrator login information is determined to have the corresponding authority, the card and ticket server checks the service life of the converted certificate. When detecting that the use period of the redemption voucher in the attribute data of the redemption voucher is expired, the card and ticket server can automatically off-shelf based on a timer algorithm and update the state of the redemption voucher in the attribute data of the redemption voucher. Or when the service life of the redemption voucher in the attribute data of the redemption voucher is expired, the card and voucher server acquires a shelf-off instruction from the administrator terminal, shelves off the redemption voucher according to the shelf-off instruction, and updates the state of the redemption voucher in the attribute data of the redemption voucher. For example, whether the voucher is redeemed or not redeemed.
According to the virtual data processing method, due to the fact that whether the exchange certificate is overdue or not is detected through the off-shelf verification of the exchange certificate, the exchange certificate state is updated, the off-shelf function of the exchange certificate can be achieved, manual operation is not needed, resources are saved, and the virtual data processing accuracy is improved.
In one embodiment, the virtual data processing method includes: storing the user data and the attribute data of the redemption voucher in a database according to the filtering rules. For example, the card ticket server stores the event of getting the order to be placed in the shelf in the database, and the automatic event to be placed in the shelf is selectively ignored. In this embodiment, the card and ticket server may also transmit the user data and the like to the user terminal or the administrator terminal for display. According to the virtual data processing method, the user data and the exchange certificate data are stored in the database according to the filtering rules, so that blind recording can be avoided, and system overhead is saved.
In one embodiment, as shown in fig. 13, a flowchart of a virtual data processing method in another embodiment is shown. Wherein, fig. 13 is applicable to the coupon server sending the redemption voucher to the group, including:
in step 1302, the card and ticket server obtains the administrator login information, sends the administrator login information to the authorization server, and the authorization server checks the administrator authority.
In step 1304, the card and ticket server obtains the selected group identification and the selected exchange voucher type corresponding to the group identification from the administrator terminal.
In step 1306, the card ticket server obtains the number of the converted vouchers corresponding to the group identification from the administrator terminal.
Step 1308, the coupon server updates the remaining number of redemption vouchers.
In the virtual data processing method, the corresponding exchange voucher can be sent to the group identification, and the data can be updated.
In one embodiment, as shown in fig. 14, a flowchart of a virtual data processing method in another embodiment is shown. Among other things, fig. 14 may be used for the coupon server to send redemption credentials to the user, including:
step 1402, the card and ticket server obtains the login information of the administrator, and the authorization server verifies the authority of the administrator.
Step 1404, when the administrator identification has the right, the card and ticket server obtains the selected group identification and the selected redemption voucher type corresponding to the group identification.
Step 1406, the card ticket server obtains the selected user identification corresponding to the group identification and the number of the exchange vouchers corresponding to the user identification.
At step 1408, the card server obtains the administrator identification that was first submitted.
And step 1410, the coupon server finds out the attribute data of the corresponding redemption voucher according to the group identification and the redemption voucher type.
Step 1412, the card ticket server locks the attribute data of the redemption voucher corresponding to the redemption voucher type
Specifically, for example, when the administrative identifier 12345 is operating on data associated with the user identifier, the card server locks the attribute data of the redemption certificate so that the attribute data of the redemption certificate is only used by the administrator identifier that was first submitted.
At step 1414, the coupon server checks if the remaining number of redeemed credentials is sufficient.
In step 1416, the coupon server updates the remaining number of redemption certificates according to the number of redemption certificates.
At step 1418, the coupon server releases the attribute data of the redemption voucher for invocation by other threads.
At step 1420, the card and ticket server asynchronously writes to the physical ticket data.
Specifically, the redemption certificate corresponding to the group identifier has only one quantity concept in the grouping table, and only when the redemption certificate is used or issued to an individual, a piece of corresponding data is added on the inner side of the entity certificate table in the card and certificate server. The data refers to an actually available exchange certificate and has a unique exchange certificate identification. Writing into the physical voucher data translates the amount into actual available redemption voucher data.
Step 1422, detect if there are other administrator identities waiting to be issued. If yes, returning to the step of obtaining the administrator identification submitted firstly; if not, the process is ended.
According to the virtual data processing method, the selected group identification, the user identification, the exchange certificate type and the exchange certificate number are obtained, the corresponding attribute data are searched according to the group identification and the exchange certificate type, the attribute data are locked, when the remaining number of the exchange certificates meets the exchange certificate number, the remaining number of the exchange certificates is updated, the attribute data of the exchange certificates are released for calling of other threads, the data can be released after updating, the exchange certificate identification is generated, the updating of the attribute data corresponding to the exchange certificate type can be allowed only once at a certain time point, the data confusion caused by multiple updating at the same time is avoided, and the updating success rate and the virtual data processing accuracy are improved.
In one embodiment, as shown in FIG. 15, a diagram of a software architecture of a virtual data processing system in one embodiment is shown. After logging in, the virtual data processing system authenticates the user. After authentication, the card and ticket server may include the following functions: a card-ticket adding function, a card-ticket editing function, a card-ticket issuing function, a card-ticket forwarding function, and a data deleting function. Different modules with different functions can be used according to different grades. For example, an "administrator" level may delete all data belonging to the enterprise's lower side, but an "ordinary user" level can only see, edit, delete, add redeemable credential data belonging to that user. The modules of the virtual data processing system are mutually associated and have certain independence, and the modules realize different functions of the card and the ticket and can be combined with other modules to realize a whole complete function. And, the target object and the corresponding attribute data of the redemption certificate are selected for distribution to the group or individuals. The redemption certificates can be displayed on terminals corresponding to groups or individuals. A group or individual can use the card. The virtual data processing system may also include a management module, an issuance module, a usage module, and a recording module. The management module comprises addition, editing, deletion, list filtering and detail display of the exchange voucher. The issue includes issuing a card to a user, issuing a card to a group identifier, and issuing a card to an individual by a group. "use" refers to a consumer withholding, item replacement action on a issued group or personal entity card. The record comprises two modules of a release history record and a consumption record.
It should be understood that, although the steps in the flowcharts of fig. 2 to 15 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-15 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 16, there is provided a virtual resource data processing apparatus including: an acquisition module 1602, a lookup module 1604, a locking module 1606, and an update module 1608, wherein:
an obtaining module 1602, configured to obtain a selected group identifier, a selected user identifier corresponding to the group identifier, and an exchange credential type, and obtain an exchange credential quantity corresponding to the user identifier;
the searching module 1604 is configured to search the attribute data of the corresponding exchange voucher according to the group identifier and the exchange voucher type;
a locking module 1606, configured to lock attribute data of the redemption certificate corresponding to the redemption certificate type;
an updating module 1608, configured to update the remaining amount of the redemption voucher according to the amount of the redemption voucher issuance amount when it is detected that the remaining amount of the redemption voucher in the attribute data redemption voucher data of the redemption voucher satisfies the amount of the redemption voucher issuance amount.
In the virtual resource data processing device, the selected group identification, the user identification, the exchange certificate type and the exchange certificate quantity are obtained, the corresponding attribute data are searched according to the group identification and the exchange certificate type, the attribute data are locked, and when the remaining quantity of the exchange certificates meets the exchange certificate quantity, the remaining quantity of the exchange certificates is updated, so that the attribute data corresponding to the exchange certificate type is allowed to be updated only once at a certain time, the data confusion caused by multiple updates at the same time is avoided, and the updating success rate is improved.
In one embodiment, the virtual resource data processing apparatus further comprises a sending module and a receiving module, wherein the obtaining module is configured to obtain administrator login information; the sending module sends the administrator login information to the authorization server; the receiving module is used for receiving an administrator authentication result returned by the authorization server, wherein the administrator authentication result is generated after the authorization server authenticates the login information of the administrator; the acquisition module is used for acquiring the domain space identifier when the authentication result is successful, and acquiring the optional candidate group identifier, the candidate optional user identifier corresponding to the candidate optional group identifier and the attribute data of the exchange certificate from the office server according to the domain space identifier.
In the virtual resource data processing device, acquiring administrator login information and sending the administrator login information to an authorization server; receiving an administrator authentication result returned by the authorization server, obtaining a domain space identifier when the authentication result is successful, obtaining a candidate group identifier, a candidate user identifier corresponding to the candidate group identifier and attribute data of the exchange certificate from the office server according to the domain space identifier, authenticating login information of the administrator through the authorization server to obtain authenticated data, obtaining some data from the office server, avoiding data errors caused by frequent operation of the card and ticket server, and improving the accuracy of virtual data processing.
In one embodiment, the virtual resource processing apparatus further comprises a sending module, a receiving module, and an associating module, wherein: the acquisition module is used for acquiring a resource calling instruction which is sent by the administrator terminal and corresponds to the exchange certificate. And the sending module is used for sending the key data to the corresponding service server according to the resource calling instruction. The receiving module is used for receiving an authentication result returned by the service server according to the secret key data. And the sending module is used for sending the communication identifier to the service server when the authentication result is successful. And the receiving module is used for receiving the resource data returned by the service server according to the communication identifier. And the association module is used for associating the resource data returned by the business server with the exchange certificate.
In the virtual resource data processing device, a resource calling instruction corresponding to the exchange certificate sent by an administrator terminal is obtained; sending key data to a corresponding service server according to the resource calling instruction; receiving an authentication result returned by the service server according to the secret key data, sending a communication identifier to the service server when the authentication result is successful, receiving resource data returned by the service server according to the communication identifier, and associating the resource data with the exchange certificate; the method and the system can authenticate the administrator terminal or the administrator identification and the like, can acquire more accurate data through the communication identification, and simultaneously improve the accuracy of virtual data processing.
In one embodiment, the virtual resource data processing apparatus further comprises: a transmitting module and a receiving module, wherein: the acquisition module is used for acquiring a user identifier sent by a user terminal and resource data corresponding to the user identifier;
the sending module is used for sending the user identification to the authorization server;
the receiving module is used for receiving the group identification which is returned by the authorization server and corresponds to the user identification, wherein the group identification which corresponds to the user identification is sent when the authorization server determines that the user identification has the corresponding right;
the acquisition module is used for acquiring the exchange voucher data corresponding to the group identification according to the group identification, acquiring the available exchange voucher data corresponding to the resource data according to the resource data, and acquiring the available exchange voucher data corresponding to the user identification according to the user identification;
the sending module is used for sending available exchange voucher data corresponding to the user identification to the office server;
the receiving module is used for receiving available exchange certificate data after the office server verifies the exchange certificate data corresponding to the user identification;
the acquisition module is used for acquiring actual available exchange certificate data corresponding to the user identification according to the exchange certificate data corresponding to the group identification, the available exchange certificate data corresponding to the resource data and the verified available exchange certificate data.
In the virtual resource data processing device, the user identification sent by the user terminal and the resource data corresponding to the user identification are obtained, the actual available exchange voucher data corresponding to the user identification is obtained according to the exchange voucher data corresponding to the group identification, the available exchange voucher data corresponding to the resource data and the verified available exchange voucher data, the available exchange voucher data corresponding to the user identification can be verified for multiple times, and the accuracy of virtual resource data processing is improved.
In one embodiment, the redemption certificate data processing apparatus further comprises a releasing module and a generating module, wherein: and the releasing module is used for releasing the converted certificate data when the remaining number of the converted certificates is updated. The generation module is used for generating the exchange voucher identifications with the same number as the exchange voucher number according to the exchange voucher data. The sending module is used for sending the exchange voucher corresponding to the exchange voucher identification to the user terminal corresponding to the user identification.
In the virtual data processing device, when the remaining number of the exchange certificates is updated, the exchange certificate data are released, the exchange certificate identifications with the same number as the exchange certificates are generated according to the exchange certificate data, the exchange certificates corresponding to the exchange certificate identifications are sent to the user terminals corresponding to the user identifications, the data can be released after updating, then the exchange certificate identifications are generated, data confusion is avoided, and the virtual data processing accuracy is improved.
For specific limitations of the virtual resource data processing apparatus, reference may be made to the above limitations of the virtual resource data processing method, which is not described herein again. The modules in the virtual resource data processing apparatus may be wholly or partially implemented by software, hardware, or a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 17. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a virtual resource data processing method.
Those skilled in the art will appreciate that the architecture shown in fig. 17 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the virtual data processing system comprises a coupon server, wherein the coupon server is used for acquiring a selected group identifier, a selected user identifier corresponding to the group identifier and a redemption certificate type, and acquiring the number of redemption certificates corresponding to the user identifier;
finding out attribute data of the corresponding exchange certificate according to the group identification and the exchange certificate type;
locking attribute data of the exchange certificate corresponding to the exchange certificate type;
and when detecting that the remaining quantity of the exchange certificates in the attribute data of the exchange certificates meets the quantity of the exchange certificates, updating the remaining quantity of the exchange certificates according to the quantity of the exchange certificates.
In one embodiment, a virtual data processing system includes a card server and an authorization server;
the card and ticket server is used for acquiring the login information of the administrator and sending the login information of the administrator to the authorization server;
the authorization server is used for generating an administrator authentication result after authenticating the administrator login information;
and the card and ticket server is used for acquiring the domain space identifier when the authentication result is successful, and acquiring the optional candidate group identifier, the candidate optional user identifier corresponding to the candidate optional group identifier and the attribute data of the exchange certificate from the office server according to the domain space identifier.
In one embodiment, a virtual data processing system includes a user terminal, a card ticket server, an authorization server, and an office server;
the user terminal is used for sending the user identification and the resource data corresponding to the user identification;
the card and ticket server is used for acquiring the user identifier sent by the user terminal and the resource data corresponding to the user identifier and sending the user identifier to the authorization server;
the authorization server is used for returning a group identifier corresponding to the user identifier to the card and ticket server when the identifier has the corresponding right;
the card and ticket server is used for acquiring the exchange voucher data corresponding to the group identification according to the group identification;
the card and ticket server is used for acquiring available exchange voucher data corresponding to the resource data according to the resource data;
the card ticket server is used for acquiring available exchange voucher data corresponding to the user identification according to the user identification;
the card ticket server is used for sending available exchange voucher data corresponding to the user identification to the office server;
the office server is used for generating available exchange certificate data after verifying the exchange certificate data corresponding to the user identification;
and the card and ticket server is used for obtaining actual available redemption voucher data corresponding to the user identification according to the redemption voucher data corresponding to the group identification, the available redemption voucher data corresponding to the resource data and the verified available redemption voucher data.
In one embodiment, a computer device is provided, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the virtual resource data processing method when executing the computer program.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the above virtual resource data processing method.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A virtual resource data processing method is applied to a card and ticket server, and comprises the following steps:
acquiring a user identifier sent by a user terminal and resource data corresponding to the user identifier;
sending a user identification to an authorization server;
receiving a group identification corresponding to the user identification returned by an authorization server, wherein the authorization server acquires the user identification, authenticates the user identification, and finds the group identification associated with the user identification according to the user identification when determining that the user identification has the right of acquiring the available redemption credentials;
acquiring exchange voucher data corresponding to the group identification according to the group identification;
acquiring available exchange certificate data corresponding to the resource data according to the resource data;
acquiring available exchange voucher data corresponding to the user identification according to the user identification; the available redemption certificate data corresponding to the user identification comprises the number and type of available certificates and corresponding resource data;
sending available exchange certificate data corresponding to the user identification to an office server;
receiving available exchange certificate data after the office server verifies the available exchange certificate data corresponding to the user identification; the office server verifies available exchange certificate data corresponding to the user identification to obtain whether the user identification has the use authority of the exchange certificate, and when the office server verifies the available exchange certificate data corresponding to the user identification, the office server sends the verified available exchange certificate data to a card and ticket server;
obtaining actual available redemption voucher data corresponding to the user identification according to the redemption voucher data corresponding to the group identification, the available redemption voucher data corresponding to the resource data and the verified available redemption voucher data;
sending actual available exchange certificate data corresponding to the user identification to a user terminal; the actual available redemption credential data includes an actual available redemption credential quantity;
acquiring a selected group identification, a selected user identification corresponding to the group identification and a redemption voucher type, and acquiring the actual redemption voucher number corresponding to the user identification; the group identification refers to a unique identification for distinguishing a certain group;
finding out attribute data of the corresponding exchange certificate according to the group identification and the exchange certificate type;
locking the attribute data of the exchange voucher corresponding to the exchange voucher type through a synchronous lock, and intercepting access requests of other administrator terminals to the attribute data of the exchange voucher corresponding to the exchange voucher type;
when detecting that the remaining number of the redemption certificates in the attribute data of the redemption certificates meets the actual redemption certificate number, updating the remaining number of the redemption certificates according to the actual redemption certificate number;
when the remaining number of the exchange voucher is updated, releasing the synchronous lock and releasing the attribute data of the exchange voucher;
and generating the exchange voucher identifications with the same number as the actual exchange voucher according to the attribute data of the exchange voucher, and sending the exchange voucher corresponding to the exchange voucher identification to the user terminal corresponding to the user identification.
2. The method of claim 1, further comprising:
acquiring login information of an administrator;
sending the administrator login information to an authorization server;
receiving an administrator authentication result returned by the authorization server, wherein the administrator authentication result is generated after the authorization server authenticates the administrator login information;
and when the authentication result is successful, acquiring a domain space identifier, and acquiring a candidate group identifier, a candidate user identifier corresponding to the candidate group identifier and attribute data of the exchange certificate from an office server according to the domain space identifier.
3. The method of claim 1, further comprising:
acquiring a resource calling instruction which is sent by an administrator terminal and corresponds to the exchange certificate;
sending key data to a corresponding service server according to the resource calling instruction;
receiving an authentication result returned by the service server according to the key data;
when the authentication result is successful, sending a communication identifier to the service server;
receiving resource data returned by the service server according to the communication identifier;
and associating the resource data returned by the business server with the exchange certificate.
4. The method of claim 1, wherein the updating the remaining number of redemption certificates according to the actual number of redemption certificates when detecting that the remaining number of redemption certificates in the attribute data of the redemption certificates meets the actual number of redemption certificates comprises:
and when detecting that the remaining number of the redemption certificates in the attribute data of the redemption certificates is greater than or equal to the actual number of the redemption certificates, updating the remaining number of the redemption certificates in the database according to the actual number of the redemption certificates.
5. The method of claim 1, further comprising:
and when the use period of the exchange voucher in the attribute data of the exchange voucher is not expired, or when the use period of the exchange voucher in the attribute data of the exchange voucher is not expired and meets the issuing rule, updating the state of the exchange voucher in the attribute data of the exchange voucher, and shelving the exchange voucher.
6. The method of claim 1, further comprising:
when the use period of the exchange voucher in the attribute data of the exchange voucher is expired, updating the state of the exchange voucher in the attribute data of the exchange voucher, and off-shelving the exchange voucher;
or when the service life of the exchange voucher in the attribute data of the exchange voucher is expired, acquiring a shelf-off instruction, shelving off the exchange voucher according to the shelf-off instruction, and updating the state of the exchange voucher in the attribute data of the exchange voucher.
7. An apparatus for processing redemption credential data, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a user identifier sent by a user terminal and resource data corresponding to the user identifier;
the sending module is used for sending the user identification to the authorization server;
the receiving module is used for receiving a group identifier which is returned by an authorization server and corresponds to the user identifier, wherein the authorization server acquires the user identifier, authenticates the user identifier, and finds the group identifier which is associated with the user identifier according to the user identifier when the user identifier is determined to have the authority of acquiring the available redemption credentials;
the acquisition module is further used for acquiring the exchange voucher data corresponding to the group identification according to the group identification; acquiring available exchange certificate data corresponding to the resource data according to the resource data; acquiring available exchange voucher data corresponding to the user identification according to the user identification; the available redemption certificate data corresponding to the user identification comprises the number and type of available certificates and corresponding resource data;
the sending module is also used for sending the available exchange voucher data corresponding to the user identification to an office server;
the receiving module is further configured to receive available redemption voucher data after the office server verifies the available redemption voucher data corresponding to the user identifier; the office server verifies available exchange certificate data corresponding to the user identification to obtain whether the user identification has the use authority of the exchange certificate, and when the office server verifies the available exchange certificate data corresponding to the user identification, the office server sends the verified available exchange certificate data to a card and ticket server;
the acquisition module is further used for acquiring actual available redemption voucher data corresponding to the user identifier according to the redemption voucher data corresponding to the group identifier, the available redemption voucher data corresponding to the resource data and the verified available redemption voucher data;
the sending module is also used for sending the actual available exchange voucher data corresponding to the user identification to the user terminal; the actual available redemption credential data includes an actual available redemption credential quantity;
the acquisition module is also used for acquiring the selected group identification, the selected user identification corresponding to the group identification and the exchange certificate type, and acquiring the actual exchange certificate quantity corresponding to the user identification; the group identification refers to a unique identification for distinguishing a certain group;
the searching module is used for searching the attribute data of the corresponding exchange certificate according to the group identification and the exchange certificate type;
the locking module is used for locking the attribute data of the exchange voucher corresponding to the exchange voucher type through a synchronous lock and intercepting access requests of other administrator terminals to the attribute data of the exchange voucher corresponding to the exchange voucher type;
the updating module is used for updating the remaining number of the exchange voucher according to the actual issuing number of the exchange voucher when detecting that the remaining number of the exchange voucher in the attribute data of the exchange voucher meets the actual number of the exchange voucher;
the release module is used for releasing the synchronous lock and releasing the attribute data of the exchange voucher when the remaining number of the exchange voucher is updated;
a generating module for generating the exchange voucher identifications with the same number as the actual exchange voucher according to the attribute data of the exchange voucher,
the sending module is further configured to send the redemption voucher corresponding to the redemption voucher identifier to the user terminal corresponding to the user identifier.
8. The apparatus of claim 7, wherein the obtaining module is further configured to obtain administrator login information; the sending module is further used for sending the administrator login information to an authorization server; the receiving module is further configured to receive an administrator authentication result returned by the authorization server, where the administrator authentication result is generated after the authorization server authenticates the administrator login information; the acquisition module is further used for acquiring a domain space identifier when the authentication result is successful, and acquiring a candidate group identifier, a candidate user identifier corresponding to the candidate group identifier and attribute data of the exchange certificate from an office server according to the domain space identifier.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201910308348.XA 2019-04-17 2019-04-17 Virtual resource data processing method and device, computer equipment and storage medium Active CN110163658B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910308348.XA CN110163658B (en) 2019-04-17 2019-04-17 Virtual resource data processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910308348.XA CN110163658B (en) 2019-04-17 2019-04-17 Virtual resource data processing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110163658A CN110163658A (en) 2019-08-23
CN110163658B true CN110163658B (en) 2022-01-07

Family

ID=67639449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910308348.XA Active CN110163658B (en) 2019-04-17 2019-04-17 Virtual resource data processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110163658B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111539713B (en) * 2020-03-19 2023-11-03 上海讯联数据服务有限公司 Mobile payment account end user certificate generation and conversion method, system and storage medium
CN111514588B (en) * 2020-03-26 2021-11-16 口碑(上海)信息技术有限公司 Virtual certificate generation method, device, equipment and storage medium
CN111626768B (en) * 2020-04-30 2024-03-05 口碑(上海)信息技术有限公司 Virtual credential updating method, device, computer equipment and readable storage medium
CN112308622A (en) * 2020-11-06 2021-02-02 广州博冠信息科技有限公司 Data processing method and device for virtual object, storage medium and electronic equipment
CN112819596A (en) * 2021-01-13 2021-05-18 中国建设银行股份有限公司 Service processing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778173B (en) * 2014-01-10 2020-01-10 腾讯科技(深圳)有限公司 Target user determination method, device and equipment
AU2015269057A1 (en) * 2014-06-06 2016-12-22 Aintu Inc. Crowd sourcing coupon redemption information
CN108073684A (en) * 2017-11-16 2018-05-25 深圳市买买提信息科技有限公司 A kind of data processing method, server and computer readable storage medium
CN109213598B (en) * 2018-07-03 2022-08-02 深圳极联信息技术股份有限公司 Resource allocation method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN110163658A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN110163658B (en) Virtual resource data processing method and device, computer equipment and storage medium
CN110019516B (en) Information management method, device and system
US9864983B2 (en) Payment method, payment server performing the same and payment system performing the same
EP3690691A1 (en) Method for rfid tag authentication
US9734091B2 (en) Remote load and update card emulation support
KR102067808B1 (en) System and method for communicating credentials
US20220321357A1 (en) User credential control system and user credential control method
JP6356887B2 (en) Information processing apparatus, server apparatus, and information processing system
JP2021021991A (en) Program, information processing method, and terminal
CN109428725A (en) Information processing equipment, control method and storage medium
CN101169878A (en) Register technique for biological information using automatic deal device
CN112100178A (en) Delegation authorization verification method and system
JP5431804B2 (en) Authentication system and authentication method
US20230289415A1 (en) Fingerprint card implementation method and fingerprint card
JP7306770B2 (en) program, information processing method, terminal
CN101097646A (en) Public-key updating method and bank card terminal based on the method
KR20220070104A (en) Blockchain decentralized identity based integrated authentication payment terminal, platform system capable of selective push notification and control method thereof
JP5220909B2 (en) Emergency ATM transfer support system and method for corporate internet banking users
CN111461706A (en) User information binding method and device based on block chain
KR101507165B1 (en) Membership issue and management method and system
EP4227830A1 (en) Authentication system, authentication method, and program
JP2021021992A (en) Information processing method, program, and terminal
KR102509633B1 (en) Blockchain decentralized identity based integrated authentication payment terminal, platform system capable of selective promotion and control method thereof
JP6009521B2 (en) User identification system, method and program
EP4148648A1 (en) Method for managing a till e-receipt

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
GR01 Patent grant
GR01 Patent grant