CN111626768A - Virtual certificate updating method and device, computer equipment and readable storage medium - Google Patents
Virtual certificate updating method and device, computer equipment and readable storage medium Download PDFInfo
- Publication number
- CN111626768A CN111626768A CN202010360081.1A CN202010360081A CN111626768A CN 111626768 A CN111626768 A CN 111626768A CN 202010360081 A CN202010360081 A CN 202010360081A CN 111626768 A CN111626768 A CN 111626768A
- Authority
- CN
- China
- Prior art keywords
- virtual
- voucher
- target
- certificate
- credential
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 238000006243 chemical reaction Methods 0.000 claims abstract description 24
- 230000004044 response Effects 0.000 claims description 49
- 230000008569 process Effects 0.000 claims description 24
- 230000005540 biological transmission Effects 0.000 claims description 11
- 230000009467 reduction Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 230000008901 benefit Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 235000002595 Solanum tuberosum Nutrition 0.000 description 3
- 244000061456 Solanum tuberosum Species 0.000 description 3
- 230000006399 behavior Effects 0.000 description 3
- 235000015277 pork Nutrition 0.000 description 3
- 235000012015 potatoes Nutrition 0.000 description 3
- 235000013555 soy sauce Nutrition 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000002372 labelling Methods 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0235—Discounts or incentives, e.g. coupons or rebates constrained by time limit or expiration date
Landscapes
- Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Economics (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a virtual certificate updating method, a virtual certificate updating device, a computer device and a readable storage medium, and relates to the technical field of Internet. The method comprises the following steps: obtaining at least one initial virtual credential; when a voucher upgrading instruction meeting a target virtual voucher upgrading rule is received, updating the target virtual voucher based on the target virtual voucher upgrading rule to obtain an updated virtual voucher; receiving a conversion request based on the updated virtual voucher, determining an order identification indicated by the conversion request, and transmitting the updated virtual voucher and the order identification.
Description
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a virtual credential updating method, apparatus, computer device, and readable storage medium.
Background
In recent years, many merchants attract customers through activities such as coupons and discount returns to provide physical support to the daily life needs of the customers, and coupons are popular among many merchants because of their advantages such as easy distribution and convenient use as a voucher for exchanging resources. With the continuous development of internet technology, the traditional paper-based certificates are fewer and fewer, and electronic virtual certificates are replaced by the traditional paper-based certificates. The virtual voucher is issued by the resource platform and the merchant jointly, the redeemable resource amount and the redemption condition are preset in the virtual voucher, and when a customer uses the virtual voucher, as long as the behavior of purchasing goods meets the redemption condition of the virtual voucher, the virtual voucher can be used for redeeming a certain amount of resource amount, so that a certain amount of resource amount is deducted from the cost required to be paid by the customer.
In the process of implementing the present invention, the inventor finds that the virtual certificates issued by the resource platform and the merchant in combination are all fixed, that is, the amount of the exchangeable resources and the exchange conditions preset in the virtual certificates are fixed, and the customer can only use the virtual certificates passively and use the virtual certificates according to the exchange conditions of the virtual certificates, which is likely to cause the loss of the customer due to the limitations of the virtual certificates, resulting in a lower conversion rate of the virtual certificates, and thus, a method for updating the virtual certificates is urgently needed.
Disclosure of Invention
In view of the above, the present invention provides a virtual certificate updating method, an apparatus, a computer device and a readable storage medium, and mainly aims to solve the problem that a current customer only uses a virtual certificate passively and uses the virtual certificate according to the exchange condition of the virtual certificate, and the customer is likely to lose due to the limitation of the virtual certificate, which results in a low conversion rate of the virtual certificate, and therefore a method for updating the virtual certificate is urgently needed.
According to a first aspect of the present invention, there is provided a virtual credential updating method, the method comprising:
obtaining at least one initial virtual certificate, wherein each initial virtual certificate in the at least one initial virtual certificate at least carries a virtual certificate upgrading rule;
when a credential upgrading instruction meeting a target virtual credential upgrading rule is received, updating a target virtual credential based on the target virtual credential upgrading rule to obtain an updated virtual credential, wherein the target virtual credential is the initial virtual credential of which the credential upgrading instruction is received in the at least one initial virtual credential, and the target virtual credential upgrading rule is a virtual credential upgrading rule carried by the target virtual credential;
receiving a conversion request based on the updated virtual voucher, determining an order identification indicated by the conversion request, and transmitting the updated virtual voucher and the order identification.
In another embodiment, when a credential upgrade instruction meeting a target virtual credential upgrade rule is received, updating the target virtual credential based on the target virtual credential upgrade rule to obtain an updated virtual credential includes:
determining the target virtual certificate receiving the certificate upgrading instruction, and extracting the target virtual certificate upgrading rule from the target virtual certificate;
acquiring virtual resources to be consumed carried by the certificate upgrading instruction, and counting the total resource amount of the virtual resources to be consumed as consumed resource amount;
comparing at least one preset resource quantity included in the target virtual certificate upgrading rule with the consumed resource quantity;
when a target preset resource amount consistent with the consumed resource amount exists in the at least one preset resource amount, determining that the credential upgrade instruction meets the target virtual credential upgrade rule;
inquiring the corresponding preset updating content of the target preset resource amount in the target virtual upgrading rule as target updating content;
and updating the target virtual certificate by adopting the target updating content to obtain the updated virtual certificate.
In another embodiment, the updating the target virtual certificate with the target update content to obtain the updated virtual certificate includes:
reading the target updating content;
if the target updating content carries a specified object, updating the use object specified by the target virtual certificate into the specified object to obtain the updated virtual certificate, wherein the specified object is at least one of a goods name, a shop name or an expiration date;
if the target updating content carries a specified numerical value, updating the use numerical value specified by the target virtual certificate to the specified numerical value to obtain the updated virtual certificate, wherein the specified numerical value is at least one of a number of days value, a resource reduction value or a resource increase value.
In another embodiment, after receiving a redemption request based on the updated virtual voucher, determining an order identifier indicated by the redemption request, and transmitting the updated virtual voucher and the order identifier, the method further includes:
receiving and displaying a returned exchange processing response, wherein the exchange processing response is generated and transmitted by the second terminal after the updated virtual voucher and the order identification are received;
when receiving the resource to be uploaded based on the exchange processing response, extracting the uploaded resource amount carried in the exchange processing response;
if the resource amount of the resource to be uploaded is equal to the uploading resource amount, transmitting the received resource to be uploaded;
and if the resource quantity of the resources to be uploaded is greater than or less than the uploading resource quantity, displaying a failure prompt.
According to a second aspect of the present invention, there is provided a virtual credential updating method, the method comprising:
generating at least one initial virtual certificate according to the received at least one certificate configuration parameter;
transmitting the at least one initial virtual credential;
when receiving an update virtual voucher and an order mark, performing resource exchange processing on a target order indicated by the order mark based on the update virtual voucher, wherein the update virtual voucher is generated and transmitted by a first terminal after updating the target virtual voucher according to a received voucher upgrading instruction, and the target virtual voucher is an initial virtual voucher which receives the voucher upgrading instruction in the at least one initial virtual voucher.
In another embodiment, the generating at least one initial virtual credential according to the received credential configuration parameters comprises:
receiving the at least one credential configuration parameter, wherein each configuration parameter of the at least one credential configuration parameter at least comprises a usage object, a usage value, at least one preset resource amount and at least one preset update content;
for each credential configuration parameter in the at least one credential configuration parameter, combining a use object and a use numerical value included in the credential configuration parameter to generate a character group;
associating the at least one preset resource amount with the at least one preset updating content according to the corresponding relation between the at least one preset resource amount and the at least one preset updating content included in the voucher configuration parameters to obtain a virtual voucher upgrading rule;
marking the character set by adopting the virtual certificate upgrading rule to generate the initial virtual certificate;
and repeatedly generating a corresponding initial virtual certificate for the at least one certificate configuration parameter to obtain at least one initial virtual certificate.
In another embodiment, the performing resource exchange processing on the target order indicated by the order identifier based on the updated virtual voucher includes:
inquiring the target order indicated by the order identification, and acquiring an order resource value carried by the target order;
extracting a designated numerical value carried by the updated virtual voucher, and calculating a numerical value difference between the order resource value and the designated numerical value;
and taking the numerical difference as an uploading resource amount, and generating an exchange processing response carrying the uploading resource amount.
In another embodiment, after generating the redemption process response carrying the uploaded resource amount, the method further comprises:
transmitting the redemption processing response;
and receiving the returned resource to be uploaded, and transmitting the resource to be uploaded to a specified account, wherein the resource to be uploaded is received by the first terminal after the exchange processing response is received.
According to a third aspect of the present invention, there is provided a virtual credential updating apparatus, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring at least one initial virtual certificate, and each initial virtual certificate in the at least one initial virtual certificate at least carries a virtual certificate upgrading rule;
the updating module is used for updating the target virtual voucher based on the target virtual voucher updating rule to obtain an updated virtual voucher when a voucher updating instruction meeting the target virtual voucher updating rule is received, wherein the target virtual voucher is the initial virtual voucher which receives the voucher updating instruction in the at least one initial virtual voucher, and the target virtual voucher updating rule is the virtual voucher updating rule carried by the target virtual voucher;
and the transmission module is used for receiving a conversion request based on the updated virtual voucher, determining an order identifier indicated by the conversion request, and transmitting the updated virtual voucher and the order identifier.
In another embodiment, the update module includes:
the determining unit is used for determining the target virtual certificate receiving the certificate upgrading instruction and extracting the target virtual certificate upgrading rule from the target virtual certificate;
the counting unit is used for acquiring the virtual resources to be consumed carried by the certificate upgrading instruction and counting the total resource amount of the virtual resources to be consumed as the consumed resource amount;
a comparison unit, configured to compare at least one preset resource amount included in the target virtual credential upgrade rule with the consumed resource amount;
the query unit is used for querying preset update contents corresponding to the target preset resource amount in the target virtual upgrade rule as target update contents;
and the updating unit is used for updating the target virtual certificate by adopting the target updating content to obtain the updated virtual certificate.
In another embodiment, the updating unit is configured to read the target update content; if the target updating content carries a specified object, updating the use object specified by the target virtual certificate into the specified object to obtain the updated virtual certificate, wherein the specified object is at least one of a goods name, a shop name or an expiration date; if the target updating content carries a specified numerical value, updating the use numerical value specified by the target virtual certificate to the specified numerical value to obtain the updated virtual certificate, wherein the specified numerical value is at least one of a number of days value, a resource reduction value or a resource increase value.
In another embodiment, the apparatus further comprises:
the receiving module is used for receiving and displaying a returned exchange processing response, and the exchange processing response is generated and transmitted by the second terminal after the updated virtual voucher and the order identification are received;
the extraction module is used for extracting the uploaded resource amount carried in the exchange processing response when the resource to be uploaded is received based on the exchange processing response;
the transmission module is further configured to transmit the received resource to be uploaded if the resource amount of the resource to be uploaded is equal to the upload resource amount;
and the display module is used for displaying the failure prompt if the resource quantity of the resource to be uploaded is greater than or less than the uploading resource quantity.
According to a fourth aspect of the present invention, there is provided a virtual credential updating apparatus, the apparatus comprising:
the generating module is used for generating at least one initial virtual certificate according to the received at least one certificate configuration parameter;
a transmission module, configured to transmit the at least one initial virtual credential;
and the processing module is used for performing resource exchange processing on the target order indicated by the order identifier based on the updated virtual voucher when the updated virtual voucher and the order identifier are received, wherein the updated virtual voucher is generated and transmitted by the first terminal after updating the target virtual voucher according to the received voucher upgrading instruction, and the target virtual voucher is the initial virtual voucher which receives the voucher upgrading instruction in the at least one initial virtual voucher.
In another embodiment, the generating module includes:
a receiving unit, configured to receive the at least one credential configuration parameter, where each configuration parameter in the at least one credential configuration parameter at least includes a usage object, a usage value, at least one preset resource amount, and at least one preset update content;
the combination unit is used for combining a use object and a use numerical value included by the certificate configuration parameters to generate a character set for each certificate configuration parameter in the at least one certificate configuration parameter;
the association unit is used for associating the at least one preset resource amount with the at least one preset updating content according to the corresponding relation between the at least one preset resource amount and the at least one preset updating content included in the voucher configuration parameters to obtain a virtual voucher upgrading rule;
the marking unit is used for marking the character set by adopting the virtual certificate upgrading rule to generate the initial virtual certificate;
the marking unit is further configured to repeatedly generate a corresponding initial virtual credential for the at least one credential configuration parameter to obtain at least one initial virtual credential.
In another embodiment, the processing module includes:
the query unit is used for querying the target order indicated by the order identification and acquiring an order resource value carried by the target order;
the extracting unit is used for extracting the specified numerical value carried by the updated virtual voucher and calculating the numerical difference between the order resource value and the specified numerical value;
and the generating unit is used for generating the exchange processing response carrying the uploading resource amount by taking the numerical value difference as the uploading resource amount.
In another embodiment, the processing module further comprises:
the transmission unit is used for transmitting the exchange processing response;
and the receiving unit is used for receiving the returned resources to be uploaded and transmitting the resources to be uploaded to the specified account, wherein the resources to be uploaded are received by the first terminal after the exchange processing response is received.
According to a fifth aspect of the present invention, there is provided a computer device comprising a memory storing a computer program and a processor implementing the steps of the method of the first and second aspects when the computer program is executed.
According to a sixth aspect of the present invention, there is provided a readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of the first and second aspects described above.
By means of the technical scheme, when the fact that the certificate upgrading instruction issued by the user meets the target virtual certificate upgrading rule is determined, the target virtual certificate can be updated based on the target virtual certificate upgrading rule to obtain the updated virtual certificate, and a conversion function is provided for the updated virtual certificate, so that the user can actively update any initial virtual certificate according to the virtual certificate upgrading rule carried in the initial virtual certificate, the flexibility of the virtual certificate is improved, the user is enabled to participate in the updating process, the loss of the user due to limitation of the virtual certificate is avoided, and the conversion rate of the virtual certificate is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1A is a schematic flowchart illustrating a virtual credential updating method according to an embodiment of the present invention;
fig. 1B is a schematic flowchart illustrating a virtual credential updating method according to an embodiment of the present invention;
FIG. 2A is an interaction diagram illustrating a virtual credential update method according to an embodiment of the present invention;
FIG. 2B is an interaction diagram illustrating a virtual credential update method according to an embodiment of the present invention;
fig. 3A is a schematic structural diagram illustrating a virtual credential updating apparatus according to an embodiment of the present invention;
fig. 3B is a schematic structural diagram of a virtual credential updating apparatus according to an embodiment of the present invention;
fig. 3C is a schematic structural diagram of a virtual credential updating apparatus according to an embodiment of the present invention;
fig. 4A is a schematic structural diagram illustrating a virtual credential updating apparatus according to an embodiment of the present invention;
fig. 4B is a schematic structural diagram illustrating a virtual credential updating apparatus according to an embodiment of the present invention;
fig. 4C is a schematic structural diagram illustrating a virtual credential updating apparatus according to an embodiment of the present invention;
fig. 4D is a schematic structural diagram illustrating a virtual credential updating apparatus according to an embodiment of the present invention;
fig. 5 is a schematic device structure diagram of a computer apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
An embodiment of the present invention provides a virtual credential updating method, as shown in fig. 1A, the method includes:
101. at least one initial virtual certificate is obtained, and each initial virtual certificate in the at least one initial virtual certificate at least carries a virtual certificate upgrading rule.
102. When a credential upgrading instruction meeting the target virtual credential upgrading rule is received, updating the target virtual credential based on the target virtual credential upgrading rule to obtain an updated virtual credential, wherein the target virtual credential is an initial virtual credential of which the credential upgrading instruction is received in at least one initial virtual credential, and the target virtual credential upgrading rule is a virtual credential upgrading rule carried by the target virtual credential.
103. Receiving a conversion request based on the updated virtual voucher, determining an order mark indicated by the conversion request, and transmitting the updated virtual voucher and the order mark.
According to the method provided by the embodiment of the invention, when the certificate upgrading instruction issued by the user is determined to meet the target virtual certificate upgrading rule, the target virtual certificate can be updated based on the target virtual certificate upgrading rule to obtain the updated virtual certificate, and the exchange function is provided for the updated virtual certificate, so that the user can actively update any initial virtual certificate according to the virtual certificate upgrading rule carried in the initial virtual certificate, the flexibility of the virtual certificate is improved, the user participates in the updating process, the loss of the client caused by the limitation of the virtual certificate is avoided, and the conversion rate of the virtual certificate is improved.
An embodiment of the present invention provides a virtual credential updating method, as shown in fig. 1B, the method includes:
104. generating at least one initial virtual credential based on the received at least one credential configuration parameter.
105. At least one initial virtual credential is transmitted.
106. When receiving the updated virtual voucher and the order mark, performing resource exchange processing on the target order indicated by the order mark based on the updated virtual voucher, wherein the updated virtual voucher is generated and transmitted by the first terminal after updating the target virtual voucher according to the received voucher upgrading instruction, and the target virtual voucher is the initial virtual voucher which receives the voucher upgrading instruction in at least one initial virtual voucher.
According to the method provided by the embodiment of the invention, when the certificate upgrading instruction issued by the user is determined to meet the target virtual certificate upgrading rule, the target virtual certificate can be updated based on the target virtual certificate upgrading rule to obtain the updated virtual certificate, and the exchange function is provided for the updated virtual certificate, so that the user can actively update any initial virtual certificate according to the virtual certificate upgrading rule carried in the initial virtual certificate, the flexibility of the virtual certificate is improved, the user participates in the updating process, the loss of the client caused by the limitation of the virtual certificate is avoided, and the conversion rate of the virtual certificate is improved.
An embodiment of the present invention provides a virtual credential updating method, as shown in fig. 2A, the method relates to interaction between a first terminal and a second terminal, where the first terminal is a terminal held by a customer, and the second terminal is a terminal held by a shop, and the method specifically includes:
201. and the second terminal generates at least one initial virtual certificate according to the received at least one certificate configuration parameter and transmits the at least one initial virtual certificate to the first terminal.
The inventor realizes that the virtual certificates provided by some resource platforms for exchanging full discount, discount and the like are fixed, the applicable use objects and the specific number of resources which can be exchanged are clearly marked, and once the virtual certificates are issued, the virtual certificates cannot be changed by customers. However, in the actual application process, the behavior of purchasing goods is different between customers, and if all customers enjoy the same virtual voucher exchange service, the experience of some old customers who are often exposed is possibly poor, and the old customers are lost. At present, in order to attract customers, a point system is usually set in many shops, the larger the quantity of purchased goods is, the more the times are, the higher the points are, therefore, in order to enable resources such as points accumulated by customers to be utilized in the exchange process of virtual certificates, the invention provides a virtual certificate updating method, which can receive resources such as points and the like provided by customers as resources to be consumed based on any virtual certificate, and update certain contents of use objects and use numerical values specified in the virtual certificates by utilizing the resources to be consumed, so that the customers can modify the resource quantity which can be exchanged by the virtual certificates by virtue of the self accumulation, thereby attracting the customers to exchange the virtual certificates and improving the conversion rate of the virtual certificates.
In order to implement the operation of updating the virtual certificates in the present invention, the second terminal needs to set at least one initial virtual certificate in advance, and issues the at least one initial virtual certificate to the first terminal, so that the first terminal can update the selected initial virtual certificate when necessary. When setting the initial virtual voucher, the user of the second terminal (i.e. the merchant) provides a series of voucher configuration parameters, which actually specify which objects can apply the initial virtual voucher, which additional resources can be obtained by applying the initial virtual voucher, by which means the first terminal can update the initial virtual voucher and specifically which contents can be updated, and thus, the configuration parameters at least include an object to be used, a value of the usage, at least one preset resource amount and at least one preset updated content. Accordingly, the usage object specifies which objects may apply the initial virtual credential; using a value, i.e., which additional resources can be obtained by applying the initial virtual credential; the preset resource amount is also referred to as the amount of resources consumed by the first terminal, such as the total number that the first terminal can provide and the like, may be various values, for example, 10, 20, and the like, so the preset resource amount included in the configuration parameter may also be one or more, and the number of the preset resource amount included in the configuration parameter is not specifically limited; the preset update contents are also one or more preset update contents as a part corresponding to the preset resource amount, and the number of the preset update contents included in the configuration parameters is not specifically limited.
Thus, when at least one credential configuration parameter is received, for each of the at least one credential configuration parameter, a corresponding initial virtual credential may be generated using the following process:
taking any one of the at least one credential configuration parameter as an example for explanation, first, a use object included in the credential configuration parameter is combined with a use value to generate a character set. For example, if the voucher configuration parameter a includes a use object [ any dish ] and a use numerical value [ 8 discount ], the character set obtained by combining the use object and the use numerical value may be [ any dish ] and 8 discount ]. It should be noted that, when the usage object and the usage value are combined, the usage object and the characters included in the usage value may be directly combined, and some credential configuration parameters may not have contents related to the value, that is, only include the usage object, and if the usage value is not included, the usage object may be directly used as the character set.
And then, associating the at least one preset resource amount with the at least one preset updating content according to the corresponding relation between the at least one preset resource amount and the at least one preset updating content included in the voucher configuration parameters to obtain a virtual voucher upgrading rule. For example, assume that at least one preset resource amount included in the credential configuration parameter is 10 points, 20 points, and 30 points; and if the at least one preset updating content is that the discount is increased to 8, the discount is increased to 7 and the discount is increased to 6, the discount corresponding to 10 points is increased to 8 points, the discount corresponding to 20 points is increased to 7 points and the discount corresponding to 30 points is increased to 6 points, associating the at least one preset resource amount with the at least one preset updating content according to the corresponding relation, and obtaining the virtual voucher upgrading rule.
In the actual application process, a plurality of pairs of preset resource amount templates and preset updating content templates can be configured, and a template scheme is formed by establishing the corresponding relation between the preset resource amount templates and the preset updating content templates, so that a user can directly set a designated object and a designated numerical value in the template scheme, and the setting of the preset resource amount and the preset updating content can be realized. For example, the template scheme may be set as [ consume XX points, the validity period is extended to yyyy-MM-dd/increase the validity period by XX days ], or may also be [ consume XX points, the amount is reduced to full XX amount available ], or may also be [ consume XX points, increase offer amount to XX or increase offer discount to XX ], or may also be [ consume XX points, specify XX commodity enjoyment offers ], or may also be [ consume XX points, can be used at XX stores ], and so on. The template scheme is only an example, and may actually include a plurality of different schemes, and the content of the scheme and the number of the schemes are not specifically limited in the present invention.
And finally, marking the character set by adopting a virtual certificate upgrading rule to generate an initial virtual certificate. By repeatedly executing the above processes, a corresponding initial virtual certificate can be generated for each credential configuration parameter in the at least one credential configuration parameter, so as to obtain at least one initial virtual certificate.
After the at least one initial virtual certificate is generated, the at least one initial virtual certificate can be issued to the first terminal. When issuing the initial virtual certificate, the initial virtual certificate may be issued passively, for example, if a user of the second terminal selects one of the initial virtual certificates and instructs to issue the initial virtual certificate to the designated first terminal, the initial virtual certificate is issued to the designated first terminal. Or, it may also be an active issue, and set an active issue condition, and when the behavior of the first terminal meets the condition, issue the initial virtual certificate to the first terminal. For example, if the condition is that 10 yuan is consumed to issue the initial virtual certificate M, when it is detected that the consumption amount of the first terminal reaches 10 yuan, M is issued to the first terminal. The present invention does not specifically limit the issuing manner and the number of the at least one initial virtual certificate, and in the embodiment of the present invention, at least one initial virtual certificate is issued to the first terminal as an example for explanation.
202. The first terminal obtains at least one initial virtual certificate transmitted by the second terminal.
In the embodiment of the present invention, after the second terminal issues the at least one initial virtual certificate, the first terminal acquires the at least one initial virtual certificate transmitted by the second terminal, and the first terminal may store the at least one initial virtual certificate so as to be subsequently provided for a user (i.e., a customer) of the first terminal to use any initial virtual certificate. After receiving the at least one initial virtual certificate, the first terminal can store the at least one initial virtual certificate and display the at least one initial virtual certificate on a main screen, so that reminding of a user of the first terminal is achieved.
203. When the first terminal receives the certificate upgrading instruction, the target virtual certificate receiving the certificate upgrading instruction is determined, the target virtual certificate upgrading rule is extracted from the target virtual certificate, the virtual resources to be consumed carried by the certificate upgrading instruction are obtained, the total resource amount of the virtual resources to be consumed is counted and used as the consumed resource amount, and at least one preset resource amount included by the target virtual certificate upgrading rule is compared with the consumed resource amount.
In the embodiment of the invention, each initial virtual certificate carries a virtual certificate upgrading rule, the virtual certificate upgrading rule essentially stipulates that a user provides resources with different resource amounts, and the initial virtual certificate can be updated and upgraded to different degrees. Therefore, the upgrade operation of the initial virtual certificate can be started only if the resource amount of the resource to be consumed provided by the user meets the requirement of the virtual certificate upgrade rule.
In this way, when the first terminal receives the credential upgrade instruction, considering that the content and the virtual credential upgrade rule included in each initial virtual credential are different, it is necessary to determine which initial virtual credential the user wishes to update, that is, to determine the target virtual credential that receives the credential upgrade instruction, extract the target virtual credential upgrade rule in the target virtual credential, acquire the virtual resource to be consumed carried by the credential upgrade instruction, count the total amount of the resource of the virtual resource to be consumed as the amount of the consumed resource, and compare at least one preset resource amount included in the target virtual credential upgrade rule with the amount of the consumed resource. When the target preset resource amount consistent with the consumed resource amount exists in the at least one preset resource amount, the first terminal determines that the credential upgrading instruction meets the target virtual credential upgrading rule, and then the subsequent operation of upgrading the target virtual credential can be continued, that is, the following step 204 is continuously executed. In the actual application process, the conditions of user click error and resource amount input error may exist, so that a target preset resource amount consistent with the consumed resource amount does not exist in at least one preset resource amount, a failure response carrying the consumed resource amount can be generated, and the failure response is displayed to the user, so that the user can know the reason of the failure of the upgrade, and then the user can select to upgrade again or abandon the upgrade.
204. When the target preset resource amount consistent with the consumed resource amount exists in the at least one preset resource amount, the first terminal determines that the voucher upgrading instruction meets the target virtual voucher upgrading rule, and inquires the corresponding preset updating content of the target preset resource amount in the target virtual upgrading rule as the target updating content.
In the embodiment of the invention, when the target preset resource amount consistent with the consumed resource amount exists in the at least one preset resource amount, the first terminal determines that the certificate upgrading instruction meets the target virtual certificate upgrading rule, and can start upgrading the target virtual certificate. Since the update contents that the user provides different amounts of virtual resources to be consumed can enjoy are different, the target virtual credential needs to be updated based on the target update content by querying the preset update contents corresponding to the target amount of resources in the target virtual upgrade rule. For example, if the virtual resources to be consumed provided by the user are points and the total amount of the resources of the virtual resources to be consumed is 10, the preset update contents corresponding to the 10 points in the target virtual upgrade rule are queried to be "discount increased to 8 folds", and "discount increased to 8 folds" is used as the target update content.
205. And the first terminal updates the target virtual certificate by adopting the target updating content to obtain an updated virtual certificate.
In the embodiment of the invention, after the target updating content is determined, the first terminal can update the target virtual certificate by using the target updating content, so as to obtain the updated virtual certificate. When the target virtual voucher is updated, the target update content needs to be read. And if the target updating content carries the specified object, updating the use object specified by the target virtual certificate into the specified object to obtain the updated virtual certificate. The designated object is at least one of a goods name, a shop name, and a valid period. For example, if the specified object carried by the target update content is [ pork braised in soy sauce ], the use object specified in the target virtual voucher is [ shredded hot and sour potatoes ], and the target virtual voucher is [ shredded hot and sour potatoes ] in its entirety, the use object [ shredded hot and sour potatoes ] is changed into [ pork braised in soy sauce ], and the obtained updated virtual voucher is [ pork braised in soy sauce ] in 8. And if the target updating content carries the specified numerical value, updating the use numerical value specified by the target virtual certificate into the specified numerical value to obtain the updated virtual certificate. Wherein the designated value is at least one of a number of days, a resource reduction value, or a resource increase value. For example, if the specified value carried by the target update content is [ 7 days ], the usage value specified in the target virtual voucher is [ 3 days ], and the target virtual voucher is entirely [ 3 days of usage validity period ], the usage value [ 3 days ] is changed to [ 7 days ], and the obtained updated virtual voucher is [ 7 days of usage validity period ].
In addition, if the target updating content carries the specified object and the specified value, the specified object and the specified value are updated to the initial virtual certificate, and then the updated virtual certificate is obtained. The information carried by the target update content is not particularly limited in the present invention.
The updating operation of the initial virtual certificate is completed through the process, and the updated virtual certificate is obtained. Then, since the exchange of the voucher is usually performed by the user, after the updated virtual voucher is generated, the updated virtual voucher is stored, and when it is detected that the user triggers the updated virtual voucher and an exchange request is performed on the updated virtual voucher, the updated virtual voucher is exchanged into a certain amount of virtual resources for the user to use.
206. And after receiving the exchange request based on the updated virtual voucher, the first terminal determines an order mark indicated by the exchange request and transmits the updated virtual voucher and the order mark to the second terminal.
In the embodiment of the present invention, when the first terminal receives the exchange request based on the updated virtual certificate, it indicates that the user requests to use the updated virtual certificate, and therefore, the updated virtual certificate needs to be transmitted to the second terminal, so that the second terminal provides a resource exchange service based on the updated virtual certificate.
When the first terminal provides the updated virtual voucher to the second terminal, because the user uses the updated virtual voucher to enjoy the resources provided by the updated virtual voucher on some orders, the user can indicate which order to use the resources in the exchange request, and the indication is realized by carrying the order identifier in the exchange request, so that the order identifier needs to be obtained in the exchange request, and the updated virtual voucher and the order identifier are transmitted to the second terminal together, so that the second terminal processes the order in a targeted manner, and the exchange of the resources is realized.
207. And the second terminal receives the updated virtual voucher and the order mark and carries out resource exchange processing on the target order indicated by the order mark based on the updated virtual voucher.
In the embodiment of the invention, after the second terminal receives the updated virtual voucher and the order mark transmitted by the first terminal, the target order indicated by the order mark can be determined, and resource exchange processing is performed on the target order based on the updated virtual voucher, so that a user can enjoy resources provided in the updated virtual voucher.
When the resource exchange processing is performed, firstly, the target order indicated by the order identification needs to be inquired, and the order resource value carried by the target order is obtained. That is, it is necessary to determine how much of the specified resources the target order needs to consume, which is essentially the total amount of the target order, the total amount the user needs to pay. And then, extracting the specified numerical value carried by the updated virtual voucher, and calculating the numerical difference between the order resource value and the specified numerical value. That is, it is determined how many resources the updated virtual voucher can provide, and the total amount of the target order is subtracted by these resources to determine how much the user actually needs to pay. And finally, the numerical difference is used as the uploaded resource amount, and an exchange processing response carrying the uploaded resource amount is generated, so that the user of the first terminal can perform payment operation based on the exchange processing response in the following process.
208. And the second terminal transmits the exchange processing response generated after the resource exchange processing to the first terminal.
In the embodiment of the invention, after the second terminal generates the exchange processing response by performing the resource exchange processing, the exchange processing response can be transmitted to the first terminal, so that the user of the first terminal can perform the payment operation based on the exchange processing response in the following.
209. And the first terminal receives and displays the returned exchange processing response, and transmits the received resource to be uploaded to the second terminal when receiving the resource to be uploaded based on the exchange processing response.
In the embodiment of the invention, after the first terminal receives the exchange processing response transmitted by the second terminal, the payment operation can be provided for the user based on the exchange processing response. And the user can upload a certain amount of resources to be uploaded based on the exchange processing response so as to meet the resource requirement of the exchange processing response.
In the actual application process, the resource to be uploaded by the user can be successfully uploaded only if the amount of the resource to be uploaded reaches the amount specified in the exchange processing response, that is, the amount paid by the user must meet the amount required by the exchange processing response, so that the user can pay successfully, and therefore, the amount of the resource to be uploaded carried in the exchange processing response needs to be extracted, and the amount of the resource to be uploaded by the user is compared with the amount of the resource to be uploaded by the user. If the resource amount of the resource to be uploaded is equal to the uploaded resource amount, the amount of money paid by the user is just equal to the amount of money required by the conversion processing response, and the uploading operation of the resource can be executed, so that the first terminal transmits the received resource to be uploaded to the second terminal. If the resource amount of the resource to be uploaded is larger or smaller than the uploaded resource amount, the fact that the amount paid by the user does not meet the amount required by the conversion processing response is not consistent with the required amount, and the uploading of the resource cannot be executed, so that failure prompt is displayed, and the user is reminded of needing to perform resource uploading operation again.
210. And the second terminal receives the returned resource to be uploaded and transmits the resource to be uploaded to the specified account.
In the embodiment of the invention, after the second terminal receives the resource to be uploaded returned by the first terminal, the resource to be uploaded can be transmitted to the specified account, so that the resource circulation is realized.
It should be noted that, the above-mentioned process describes the process of updating the initial virtual certificate and how to use the updated virtual certificate obtained by updating to execute the circulation of the resource, and in the process of practical application, it may also be possible that the first terminal does not update the initial virtual certificate, and directly provides the initial virtual certificate and the order identifier to the second terminal, so that the second terminal and the first terminal only need to repeatedly execute the processes in the above-mentioned steps 207 to 210, and directly perform the exchange processing of the resource according to the usage object and the usage value specified in the initial virtual certificate.
In summary, the above whole interaction process is summarized as follows:
referring to fig. 2B, the second terminal configures at least one initial virtual certificate, and issues the at least one initial virtual certificate to the first terminal for the first terminal to use. And then, the first terminal receives at least one initial virtual certificate, selects one of the initial virtual certificates as a target virtual certificate, and updates the target virtual certificate to obtain an updated virtual certificate. And subsequently using the updated virtual certificate, providing the updated virtual certificate to the second terminal so that the second terminal can exchange the resources by using the updated virtual certificate.
According to the method provided by the embodiment of the invention, when the certificate upgrading instruction issued by the user is determined to meet the target virtual certificate upgrading rule, the target virtual certificate can be updated based on the target virtual certificate upgrading rule to obtain the updated virtual certificate, and the exchange function is provided for the updated virtual certificate, so that the user can actively update any initial virtual certificate according to the virtual certificate upgrading rule carried in the initial virtual certificate, the flexibility of the virtual certificate is improved, the user participates in the updating process, the loss of the client caused by the limitation of the virtual certificate is avoided, and the conversion rate of the virtual certificate is improved.
Further, as a specific implementation of the method shown in fig. 1A, an embodiment of the present invention provides a virtual credential updating apparatus, as shown in fig. 3A, the apparatus includes: an acquisition module 301, an update module 302 and a transmission module 303.
The obtaining module 301 is configured to obtain at least one initial virtual credential, where each initial virtual credential in the at least one initial virtual credential at least carries a virtual credential upgrade rule;
the updating module 302 is configured to update a target virtual credential to obtain an updated virtual credential based on a target virtual credential upgrade rule when receiving a credential upgrade instruction meeting the target virtual credential upgrade rule, where the target virtual credential is an initial virtual credential that receives the credential upgrade instruction from the at least one initial virtual credential, and the target virtual credential upgrade rule is a virtual credential upgrade rule carried by the target virtual credential;
the transmission module 303 is configured to receive a redemption request based on the updated virtual voucher, determine an order identifier indicated by the redemption request, and transmit the updated virtual voucher and the order identifier.
In a specific application scenario, as shown in fig. 3B, the update module 302 includes: a determining unit 3021, a counting unit 3022, an comparing unit 3023, a querying unit 3024, and an updating unit 3025.
The determining unit 3021 is configured to determine the target virtual certificate receiving the certificate upgrading instruction, and extract the target virtual certificate upgrading rule from the target virtual certificate;
the counting unit 3022 is configured to obtain the virtual resources to be consumed carried by the credential upgrade instruction, and count the total amount of the virtual resources to be consumed as the amount of consumed resources;
the comparing unit 3023 is configured to compare at least one preset resource amount included in the target virtual credential upgrade rule with the consumed resource amount;
the query unit 3024 is configured to query that the target preset resource amount corresponds to preset update content in the target virtual upgrade rule as target update content;
the updating unit 3025 is configured to update the target virtual certificate with the target update content to obtain the updated virtual certificate.
In a specific application scenario, the updating unit 3025 is configured to read the target update content; if the target updating content carries a specified object, updating the use object specified by the target virtual certificate into the specified object to obtain the updated virtual certificate, wherein the specified object is at least one of a goods name, a shop name or an expiration date; if the target updating content carries a specified numerical value, updating the use numerical value specified by the target virtual certificate to the specified numerical value to obtain the updated virtual certificate, wherein the specified numerical value is at least one of a number of days value, a resource reduction value or a resource increase value.
In a specific application scenario, as shown in fig. 3C, the apparatus further includes: a receiving module 304, an extracting module 305 and a presenting module 306.
The receiving module 304 is configured to receive and display a returned exchange processing response, where the exchange processing response is generated and transmitted by the second terminal after receiving the updated virtual voucher and the order identifier;
the extracting module 305 is configured to, when receiving a resource to be uploaded based on the exchange processing response, extract an amount of the uploaded resource carried in the exchange processing response;
the transmission module 303 is further configured to transmit the received resource to be uploaded if the resource amount of the resource to be uploaded is equal to the upload resource amount;
the display module 306 is configured to display a failure prompt if the resource amount of the resource to be uploaded is greater than or less than the upload resource amount.
The device provided by the embodiment of the invention can update the target virtual certificate based on the target virtual certificate upgrading rule when the certificate upgrading instruction issued by the user is determined to meet the target virtual certificate upgrading rule, so as to obtain the updated virtual certificate, and provide the exchange function aiming at the updated virtual certificate, so that the user can actively update any initial virtual certificate according to the virtual certificate upgrading rule carried in the initial virtual certificate, the flexibility of the virtual certificate is improved, the user can participate in the updating process, the loss of the client caused by the limitation of the virtual certificate is avoided, and the conversion rate of the virtual certificate is improved.
Further, as a specific implementation of the method shown in fig. 1B, an embodiment of the present invention provides a virtual credential updating apparatus, as shown in fig. 4A, where the apparatus includes: a generation module 401, a transmission module 402 and a processing module 403.
The generating module 401 is configured to generate at least one initial virtual credential according to the received at least one credential configuration parameter;
the transmitting module 402 is configured to transmit the at least one initial virtual credential;
the processing module 403 is configured to, when receiving an update virtual credential and an order identifier, perform resource exchange processing on a target order indicated by the order identifier based on the update virtual credential, where the update virtual credential is generated and transmitted by a first terminal after updating the target virtual credential according to a received credential upgrade instruction, and the target virtual credential is an initial virtual credential that receives the credential upgrade instruction from the at least one initial virtual credential.
In a specific application scenario, as shown in fig. 4B, the generating module 401 includes: a receiving unit 4011, a combining unit 4012, an association unit 4013 and an annotation unit 4014.
The receiving unit 4011 is configured to receive the at least one credential configuration parameter, where each configuration parameter in the at least one credential configuration parameter at least includes a usage object, a usage value, at least one preset resource amount, and at least one preset update content;
the combination unit 4012 is configured to, for each credential configuration parameter of the at least one credential configuration parameter, combine a usage object and a usage value included in the credential configuration parameter to generate a character set;
the associating unit 4013 is configured to associate the at least one preset resource amount with the at least one preset update content according to a corresponding relationship between the at least one preset resource amount and the at least one preset update content included in the credential configuration parameter, so as to obtain a virtual credential upgrade rule;
the labeling unit 4014 is configured to label the character set by using the virtual credential upgrade rule to generate the initial virtual credential;
the labeling unit 4014 is further configured to repeatedly generate a corresponding initial virtual credential for the at least one credential configuration parameter, so as to obtain at least one initial virtual credential.
In a specific application scenario, as shown in fig. 4C, the processing module 403 includes: a query unit 4031, an extraction unit 4032 and a generation unit 4033.
The query unit 4031 is configured to query the target order indicated by the order identifier, and obtain an order resource value carried by the target order;
the extracting unit 4032 is configured to extract the specified numerical value carried by the updated virtual credential, and calculate a numerical difference between the order resource value and the specified numerical value;
the generating unit 4033 is configured to use the numerical difference as an upload resource amount, and generate an exchange processing response carrying the upload resource amount.
In a specific application scenario, as shown in fig. 4D, the processing module 403 further includes: a transmitting unit 4034 and a receiving unit 4035.
The transmission unit 4034 is configured to transmit the redemption processing response;
the receiving unit 4035 is configured to receive the returned resource to be uploaded, and transmit the resource to be uploaded to the specified account, where the resource to be uploaded is received by the first terminal after receiving the exchange processing response.
The device provided by the embodiment of the invention can update the target virtual certificate based on the target virtual certificate upgrading rule when the certificate upgrading instruction issued by the user is determined to meet the target virtual certificate upgrading rule, so as to obtain the updated virtual certificate, and provide the exchange function aiming at the updated virtual certificate, so that the user can actively update any initial virtual certificate according to the virtual certificate upgrading rule carried in the initial virtual certificate, the flexibility of the virtual certificate is improved, the user can participate in the updating process, the loss of the client caused by the limitation of the virtual certificate is avoided, and the conversion rate of the virtual certificate is improved.
It should be noted that other corresponding descriptions of the functional units involved in the virtual credential updating apparatus according to the embodiment of the present invention may refer to the corresponding descriptions in fig. 1A to fig. 1B and fig. 2A to fig. 2B, and are not described herein again.
In an exemplary embodiment, referring to fig. 5, there is further provided a device 500, which includes a communication bus, a processor, a memory, and a communication interface, and may further include an input/output interface and a display device, wherein the functional units may communicate with each other through the bus. The memory stores computer programs, and the processor is used for executing the programs stored in the memory and executing the virtual certificate updating method in the embodiment.
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 virtual credential updating method.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by hardware, and also by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application.
Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios.
The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.
Claims (10)
1. A virtual credential update method, the method comprising:
obtaining at least one initial virtual certificate, wherein each initial virtual certificate in the at least one initial virtual certificate at least carries a virtual certificate upgrading rule;
when a credential upgrading instruction meeting a target virtual credential upgrading rule is received, updating a target virtual credential based on the target virtual credential upgrading rule to obtain an updated virtual credential, wherein the target virtual credential is the initial virtual credential of which the credential upgrading instruction is received in the at least one initial virtual credential, and the target virtual credential upgrading rule is a virtual credential upgrading rule carried by the target virtual credential;
receiving a conversion request based on the updated virtual voucher, determining an order identification indicated by the conversion request, and transmitting the updated virtual voucher and the order identification.
2. The method of claim 1, wherein updating the target virtual credential based on the target virtual credential upgrade rule to obtain an updated virtual credential when a credential upgrade instruction satisfying the target virtual credential upgrade rule is received comprises:
determining the target virtual certificate receiving the certificate upgrading instruction, and extracting the target virtual certificate upgrading rule from the target virtual certificate;
acquiring virtual resources to be consumed carried by the certificate upgrading instruction, and counting the total resource amount of the virtual resources to be consumed as consumed resource amount;
comparing at least one preset resource quantity included in the target virtual certificate upgrading rule with the consumed resource quantity;
when a target preset resource amount consistent with the consumed resource amount exists in the at least one preset resource amount, determining that the credential upgrade instruction meets the target virtual credential upgrade rule;
inquiring the corresponding preset updating content of the target preset resource amount in the target virtual upgrading rule as target updating content;
and updating the target virtual certificate by adopting the target updating content to obtain the updated virtual certificate.
3. The method of claim 2, wherein the updating the target virtual voucher with the target update content to obtain the updated virtual voucher comprises:
reading the target updating content;
if the target updating content carries a specified object, updating the use object specified by the target virtual certificate into the specified object to obtain the updated virtual certificate, wherein the specified object is at least one of a goods name, a shop name or an expiration date;
if the target updating content carries a specified numerical value, updating the use numerical value specified by the target virtual certificate to the specified numerical value to obtain the updated virtual certificate, wherein the specified numerical value is at least one of a number of days value, a resource reduction value or a resource increase value.
4. The method of claim 1, wherein after receiving a redemption request based on the updated virtual voucher, determining an order identification indicated by the redemption request, and transmitting the updated virtual voucher and the order identification, the method further comprises:
receiving and displaying a returned exchange processing response, wherein the exchange processing response is generated and transmitted by the second terminal after the updated virtual voucher and the order identification are received;
when receiving the resource to be uploaded based on the exchange processing response, extracting the uploaded resource amount carried in the exchange processing response;
if the resource amount of the resource to be uploaded is equal to the uploading resource amount, transmitting the received resource to be uploaded;
and if the resource quantity of the resources to be uploaded is greater than or less than the uploading resource quantity, displaying a failure prompt.
5. A virtual credential update method, the method comprising:
generating at least one initial virtual certificate according to the received at least one certificate configuration parameter;
transmitting the at least one initial virtual credential;
when receiving an update virtual voucher and an order mark, performing resource exchange processing on a target order indicated by the order mark based on the update virtual voucher, wherein the update virtual voucher is generated and transmitted by a first terminal after updating the target virtual voucher according to a received voucher upgrading instruction, and the target virtual voucher is an initial virtual voucher which receives the voucher upgrading instruction in the at least one initial virtual voucher.
6. The method of claim 5, wherein generating at least one initial virtual credential based on the received credential configuration parameters comprises:
receiving the at least one credential configuration parameter, wherein each configuration parameter of the at least one credential configuration parameter at least comprises a usage object, a usage value, at least one preset resource amount and at least one preset update content;
for each credential configuration parameter in the at least one credential configuration parameter, combining a use object and a use numerical value included in the credential configuration parameter to generate a character group;
associating the at least one preset resource amount with the at least one preset updating content according to the corresponding relation between the at least one preset resource amount and the at least one preset updating content included in the voucher configuration parameters to obtain a virtual voucher upgrading rule;
marking the character set by adopting the virtual certificate upgrading rule to generate the initial virtual certificate;
and repeatedly generating a corresponding initial virtual certificate for the at least one certificate configuration parameter to obtain at least one initial virtual certificate.
7. The method of claim 5, wherein performing resource redemption processing on the target order indicated by the order identification based on the updated virtual voucher comprises:
inquiring the target order indicated by the order identification, and acquiring an order resource value carried by the target order;
extracting a designated numerical value carried by the updated virtual voucher, and calculating a numerical value difference between the order resource value and the designated numerical value;
and taking the numerical difference as an uploading resource amount, and generating an exchange processing response carrying the uploading resource amount.
8. The method of claim 7, wherein after generating the redemption process response carrying the amount of uploaded resources, the method further comprises:
transmitting the redemption processing response;
and receiving the returned resource to be uploaded, and transmitting the resource to be uploaded to a specified account, wherein the resource to be uploaded is received by the first terminal after the exchange processing response is received.
9. An apparatus for virtual credential update, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring at least one initial virtual certificate, and each initial virtual certificate in the at least one initial virtual certificate at least carries a virtual certificate upgrading rule;
the updating module is used for updating the target virtual voucher based on the target virtual voucher updating rule to obtain an updated virtual voucher when a voucher updating instruction meeting the target virtual voucher updating rule is received, wherein the target virtual voucher is the initial virtual voucher which receives the voucher updating instruction in the at least one initial virtual voucher, and the target virtual voucher updating rule is the virtual voucher updating rule carried by the target virtual voucher;
and the transmission module is used for receiving a conversion request based on the updated virtual voucher, determining an order identifier indicated by the conversion request, and transmitting the updated virtual voucher and the order identifier.
10. An apparatus for virtual credential update, the apparatus comprising:
the generating module is used for generating at least one initial virtual certificate according to the received at least one certificate configuration parameter;
a transmission module, configured to transmit the at least one initial virtual credential;
and the processing module is used for performing resource exchange processing on the target order indicated by the order identifier based on the updated virtual voucher when the updated virtual voucher and the order identifier are received, wherein the updated virtual voucher is generated and transmitted by the first terminal after updating the target virtual voucher according to the received voucher upgrading instruction, and the target virtual voucher is the initial virtual voucher which receives the voucher upgrading instruction in the at least one initial virtual voucher.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010360081.1A CN111626768B (en) | 2020-04-30 | 2020-04-30 | Virtual credential updating method, device, computer equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010360081.1A CN111626768B (en) | 2020-04-30 | 2020-04-30 | Virtual credential updating method, device, computer equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111626768A true CN111626768A (en) | 2020-09-04 |
CN111626768B CN111626768B (en) | 2024-03-05 |
Family
ID=72259748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010360081.1A Active CN111626768B (en) | 2020-04-30 | 2020-04-30 | Virtual credential updating method, device, computer equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111626768B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114187088A (en) * | 2021-11-23 | 2022-03-15 | 金蝶软件(中国)有限公司 | Modification mark adding method and device, computer equipment and storage medium |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101681480A (en) * | 2007-06-20 | 2010-03-24 | 高通股份有限公司 | The management of dynamic electronic coupon |
CN102054240A (en) * | 2009-11-03 | 2011-05-11 | 余伟坚 | Community-oriented electronic certificate system of mobile phone |
CN102740220A (en) * | 2011-04-01 | 2012-10-17 | 北京千橡网景科技发展有限公司 | Method and apparatus for releasing activity certificate |
US20130054423A1 (en) * | 2011-08-24 | 2013-02-28 | Sungmin HWANG | Method and system for selling goods online in affiliation with e-tailer |
US20130091004A1 (en) * | 2011-10-07 | 2013-04-11 | Marvin Gottlieb | System and Method for Generating Electronic Combined Source Promotions |
CN103177370A (en) * | 2011-12-20 | 2013-06-26 | 国民技术股份有限公司 | Electronic coupon sharing and using method and system |
CN103226782A (en) * | 2013-04-18 | 2013-07-31 | 广州易赢信广告有限公司 | Method and system for pushing advertising message to mobile equipment |
CN103793839A (en) * | 2014-03-07 | 2014-05-14 | 重庆先迈通信技术有限公司 | Advertisement pushing service processing method |
US20170221019A1 (en) * | 2014-07-30 | 2017-08-03 | Wal-Mart Stores, Inc. | Apparatus and method for self-service voucher creation |
CN107622412A (en) * | 2017-08-04 | 2018-01-23 | 尹作军 | A kind of charging method and system based on consumption statistic |
CN107886346A (en) * | 2016-09-30 | 2018-04-06 | 阿里巴巴集团控股有限公司 | Data object resource information processing method and device |
CN108647935A (en) * | 2018-05-07 | 2018-10-12 | 山东浪潮通软信息科技有限公司 | A kind of financial affairs receipt create-rule update method and device |
CN109087148A (en) * | 2018-08-16 | 2018-12-25 | 连尚(新昌)网络科技有限公司 | Determine the method, equipment and computer-readable medium of virtual resource object |
CN109118271A (en) * | 2018-07-17 | 2019-01-01 | 成都宜泊信息科技有限公司 | A kind of electronics is of use voucher delivery system |
CN109568963A (en) * | 2017-09-29 | 2019-04-05 | 腾讯科技(深圳)有限公司 | Virtual resource data processing method, device, computer equipment and storage medium |
US20190213648A1 (en) * | 2017-04-05 | 2019-07-11 | Tencent Technology (Shenzhen) Company Limited | Information processing method and device and storage medium |
CN110163658A (en) * | 2019-04-17 | 2019-08-23 | 深圳左邻永佳科技有限公司 | Virtual resource data processing method, device, computer equipment and storage medium |
-
2020
- 2020-04-30 CN CN202010360081.1A patent/CN111626768B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101681480A (en) * | 2007-06-20 | 2010-03-24 | 高通股份有限公司 | The management of dynamic electronic coupon |
CN102054240A (en) * | 2009-11-03 | 2011-05-11 | 余伟坚 | Community-oriented electronic certificate system of mobile phone |
CN102740220A (en) * | 2011-04-01 | 2012-10-17 | 北京千橡网景科技发展有限公司 | Method and apparatus for releasing activity certificate |
US20130054423A1 (en) * | 2011-08-24 | 2013-02-28 | Sungmin HWANG | Method and system for selling goods online in affiliation with e-tailer |
US20130091004A1 (en) * | 2011-10-07 | 2013-04-11 | Marvin Gottlieb | System and Method for Generating Electronic Combined Source Promotions |
CN103177370A (en) * | 2011-12-20 | 2013-06-26 | 国民技术股份有限公司 | Electronic coupon sharing and using method and system |
CN103226782A (en) * | 2013-04-18 | 2013-07-31 | 广州易赢信广告有限公司 | Method and system for pushing advertising message to mobile equipment |
CN103793839A (en) * | 2014-03-07 | 2014-05-14 | 重庆先迈通信技术有限公司 | Advertisement pushing service processing method |
US20170221019A1 (en) * | 2014-07-30 | 2017-08-03 | Wal-Mart Stores, Inc. | Apparatus and method for self-service voucher creation |
CN107886346A (en) * | 2016-09-30 | 2018-04-06 | 阿里巴巴集团控股有限公司 | Data object resource information processing method and device |
US20190213648A1 (en) * | 2017-04-05 | 2019-07-11 | Tencent Technology (Shenzhen) Company Limited | Information processing method and device and storage medium |
CN107622412A (en) * | 2017-08-04 | 2018-01-23 | 尹作军 | A kind of charging method and system based on consumption statistic |
CN109568963A (en) * | 2017-09-29 | 2019-04-05 | 腾讯科技(深圳)有限公司 | Virtual resource data processing method, device, computer equipment and storage medium |
CN108647935A (en) * | 2018-05-07 | 2018-10-12 | 山东浪潮通软信息科技有限公司 | A kind of financial affairs receipt create-rule update method and device |
CN109118271A (en) * | 2018-07-17 | 2019-01-01 | 成都宜泊信息科技有限公司 | A kind of electronics is of use voucher delivery system |
CN109087148A (en) * | 2018-08-16 | 2018-12-25 | 连尚(新昌)网络科技有限公司 | Determine the method, equipment and computer-readable medium of virtual resource object |
CN110163658A (en) * | 2019-04-17 | 2019-08-23 | 深圳左邻永佳科技有限公司 | Virtual resource data processing method, device, computer equipment and storage medium |
Non-Patent Citations (5)
Title |
---|
XIAN LI等: "Managing new, remanufactured and upgraded products under a coupon recycling environment", 《2013 10TH INTERNATIONAL CONFERENCE ON SERVICE SYSTEMS AND SERVICE MANAGEMENT》 * |
周乾莉;黄倩倩;: "基于JAVA的商城积分子系统的设计与实现", 电脑知识与技术, no. 10 * |
曾雨琪;王晓静;: "淘宝商品推广平台的设计与实现", 电脑知识与技术, no. 10 * |
王智锦;: "权益营销的借势之道", no. 08 * |
袁波;邱望洁;范文杰;刘乾坤;赵俊豪;于世伟;: "基于区块链的售后服务凭证公共服务平台", 情报工程, no. 06, 15 December 2019 (2019-12-15) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114187088A (en) * | 2021-11-23 | 2022-03-15 | 金蝶软件(中国)有限公司 | Modification mark adding method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111626768B (en) | 2024-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200219042A1 (en) | Method and apparatus for managing item inventories | |
EP2808837A1 (en) | Sales promotion device, sales promotion system, and sales promotion method | |
JP4330911B2 (en) | Point linkage system | |
US11694252B2 (en) | Method, apparatus, and computer readable medium for group gifting in a randomized format | |
US20230195797A1 (en) | Method and apparatus for identifying related records | |
JP5971200B2 (en) | Sales promotion device, sales promotion system, and sales promotion method | |
CN111626768A (en) | Virtual certificate updating method and device, computer equipment and readable storage medium | |
CN111932319B (en) | Rights and interests configuration method and device, storage medium and computer equipment | |
JP6931412B1 (en) | Payment processing method and payment processing device | |
US20240029139A1 (en) | Method and apparatus for item selection | |
US10032183B2 (en) | Increase value of consumer coupons | |
CN103729177B (en) | For providing the information providing system and method for information | |
CN107886346B (en) | Data object resource information processing method and device | |
CN111932172A (en) | Resource access method and device, computer equipment and computer readable storage medium | |
MXPA02001378A (en) | Apparatus and method of receiving order, storage medium, and method of point service. | |
US20220358553A1 (en) | Apparatuses, computer-implemented methods, and computer program products for improved user account identification for shared account linking | |
MXPA02001377A (en) | Apparatus and method of receiving order, storage medium, and method of point service. | |
US20220027955A1 (en) | Methods, apparatuses, and computer program products for providing a platform for negotiation and provision of promotions | |
CN113129073A (en) | Resource distribution method and device, computer equipment and computer readable storage medium | |
US20200311792A1 (en) | Method, apparatus, and computer program product for providing a user platform for a real-time marketplace | |
KR101633894B1 (en) | Social Commerce Markettong System and the Method | |
JP5599844B2 (en) | Pricing system, pricing system control method, and program | |
TWM595811U (en) | Electronic wallet payment system | |
JP2002288410A (en) | Method and device for collecting marketing information | |
JP2010244234A (en) | Sales method and trade-in guarantee system |
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 |