CN106097014A - A kind of system and method being exchanged virtual present by redemption code - Google Patents

A kind of system and method being exchanged virtual present by redemption code Download PDF

Info

Publication number
CN106097014A
CN106097014A CN201610435676.2A CN201610435676A CN106097014A CN 106097014 A CN106097014 A CN 106097014A CN 201610435676 A CN201610435676 A CN 201610435676A CN 106097014 A CN106097014 A CN 106097014A
Authority
CN
China
Prior art keywords
redemption code
background server
user
code
redemption
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610435676.2A
Other languages
Chinese (zh)
Inventor
胡龙军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201610435676.2A priority Critical patent/CN106097014A/en
Publication of CN106097014A publication Critical patent/CN106097014A/en
Priority to PCT/CN2017/080779 priority patent/WO2017215338A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • 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/0209Incentive being awarded or redeemed in connection with the playing of a video game

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)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Computer And Data Communications (AREA)

Abstract

A kind of system and method being exchanged virtual present by redemption code, relate to the exchange field of redemption code in network, including JS module, background server and trading server, described JS module is for mutual with user by browser, and the redemption code and the corresponding key that user are inputted are transferred to background server;Described background server is used for judging whether described redemption code and key meet conversion requirements, revises and record the relevant information of redemption code;Described trading server is for recording the relevant information of exchange, and notifies that user exchanges result.The present invention can pass through multiple authentication, prevents same time, different user from exchanging the situation of same identifying code, it is ensured that to exchange rule, it is to avoid the loss of Virtual network operator.

Description

A kind of system and method being exchanged virtual present by redemption code
Technical field
The present invention relates to the exchange field of redemption code in network, in particular to one exchanges virtual gift by redemption code The system and method for thing.
Background technology
In existing screen Living Network, user generally uses redemption code to exchange virtual present on network, and user will convert again Virtual present after changing gives the main broadcaster admired, in order to the interaction between user and main broadcaster.Owing to the granting of redemption code is face To users, it is possible to multiple users know same redemption code, when a user used this redemption code to carry out exchanging it After, other user-orienfed principle can not use this redemption code again exchange.But, use same if there is multiple users simultaneously One redemption code carries out situation about exchanging, and server cannot make a distinction within the same time, then the same time, many Individual user uses same redemption code the most likely to exchange successfully, has run counter to exchange rule, has brought loss to Virtual network operator.
Summary of the invention
For defect present in prior art, it is an object of the invention to provide and a kind of exchange virtual gift by redemption code The system and method for thing, it is possible to by multiple authentication, prevents same time, different user from exchanging the situation of same identifying code, Ensure to exchange rule, it is to avoid the loss of Virtual network operator.
For reaching object above, the present invention take a kind of by redemption code exchange virtual present system, including JS module, Background server and trading server, described JS module is for mutual with user, by the redemption code of user's input by browser It is transferred to background server with corresponding key;Described background server is used for judging whether described redemption code and key meet and converts Change requirement, revise and record the relevant information of redemption code;Described trading server is for recording the relevant information of exchange, and notifies User exchanges result.
On the basis of technique scheme, described JS module is the most correct for the length and form judging redemption code, It is additionally operable to judge that the length of key and form are the most correct.
On the basis of technique scheme, described background server includes data base, is used for storing redemption code, each converts Key that escape is corresponding and the relevant information of each redemption code.
On the basis of technique scheme, the relevant information of described redemption code includes the use state of redemption code, comes into force Time and expired time.
The present invention also provides for a kind of method exchanging virtual present by redemption code, including step: S1. user is by browsing The interface input redemption code of device, after JS module judges that the form of redemption code and length are correctly, passes to background server;S2. backstage Server is examined in described user and inputs the same batch redemption code of redemption code and whether exceed the same user of setting and exchange time User several, described inputs the same batch redemption code of redemption code and whether exceedes the exchange number of times of same IP and described user is defeated Whether the same batch redemption code entering redemption code exceedes the exchange number of times of same IP section, if being all yes, enters S3;If there being one It is no, terminates;S3. background server includes a storage redemption code and the data base of relevant information thereof, judges according to data base The effectiveness of redemption code, if effectively, enters S4;If invalid, terminate;S4. the user another interface input institute by browser State the key that redemption code is corresponding, JS module judge the form of key and length correct after, pass to background server;Background server Input the effectiveness of redemption code before judging again according to data base, if effectively, enter S5;If invalid, terminate;S5. backstage clothes Business device judges whether described redemption code mates with key, if so, in the use state of redemption code described in database update, and sends Notify that, to trading server, trading server exchanges respective virtual present;If it is not, terminate.
On the basis of technique scheme, it is judged that concretely comprising the following steps of the effectiveness of redemption code:
B101. background server judges whether the redemption code that user inputs exists in data base, if so, enters B102;If No, enter B106;
B102. judging the use state of this redemption code in data base, if not using, entering B103;If using, enter Enter B106;
B103. judge to input effective date of redemption code whether inputting date the same day or before, if so, enter B104;If it is not, enter B106;
B104. judge that the expiration date of redemption code, whether after inputting date, if so, enters B105;If it is not, enter B106;
B105. prove that this redemption code is effective, terminate;
B106. prove that this redemption code is invalid, terminate.
On the basis of technique scheme, in S5, background server passes through data base, checks that described redemption code is with corresponding Key whether mate, if so, in amendment data base the use state of this redemption code for use;If it is not, exchange unsuccessfully, and remember The record frequency of failure.
On the basis of technique scheme, after trading server receives the notice that redemption code is mated with key, record is converted Type and quantity, ID and the redemption code of virtual present is exchanged in escape.
On the basis of technique scheme, if background server issues the notice failure of trading server, then backstage clothes The use state of this redemption code in data base revised again by business device, is revised as not using.
The beneficial effects of the present invention is: by the data base in redemption code (CDK) and background server, can be converted The information of the same a collection of redemption code at escape place, for the multiple authentication with a collection of redemption code, it is possible to prevent same user same The present that one batch is exchanged is too much, additionally it is possible to prevent redeemed many in same IP the most same IP section of different user;In conjunction with converting The effectiveness of escape and the match condition of key, prevent same time, different user from exchanging the situation of same identifying code, protect Card exchanges rule, it is to avoid the loss of Virtual network operator.
Accompanying drawing explanation
Fig. 1 is the system schematic that the present invention passes through redemption code exchange virtual present;
Fig. 2 is the method flow diagram that the embodiment of the present invention passes through redemption code exchange virtual present;
Fig. 3 is to judge the most effective flow chart of redemption code in Fig. 2.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is described in further detail.
As it is shown in figure 1, the present invention by redemption code exchange virtual present system, including JS module, background server and Trading server, described JS (JavaScript) module is for mutual with user by the interface of browser, and JS module is additionally operable to Judge that redemption code or the length of corresponding key and form are the most correct, and by redemption code the most correct to length and form, Yi Jichang Spend the key the most correct with form and be transferred to background server.Background server is used for judging whether described redemption code and key accord with Close conversion requirements, revise and record the relevant information of redemption code;Wherein, background server includes a data base, is preferably MYSQL (relevant database), data base for storage for storing key corresponding to redemption code, each redemption code and every The relevant information of individual redemption code, described relevant information includes use state, entry-into-force time and the expired time of redemption code.Described friendship Easily server is for recording the relevant information of exchange, and the virtual present of exchange correspondence is to user, and notifies that user exchanges result;Excellent Choosing, trading server is RPC (Remote Procedure Call Protocol, remote procedure call protocol) server.
As in figure 2 it is shown, the method that the present invention exchanges virtual present by redemption code, specifically include following steps:
A101. user is by the interface of browser input redemption code, and JS module judges whether are the form of redemption code and length Correctly, A102 is if so, entered;If it is not, the redemption code of explanation user's input can not be exchanged, terminate.
Redemption code after A102.JS module will determine that passes to background server, to reduce the pressure of background server.
A103. background server judges that described user inputs the same batch redemption code at redemption code place, if exceedes and sets The exchange number of times of fixed same user, if so, enters A104;If it is not, the redemption code of explanation user's input can not be exchanged, terminate; This judges that the redemption code being prevented from the exchange of same user same batch is too much.
A104. background server judges that described user inputs the same batch redemption code at redemption code place, if exceed same The exchange number of times of one IP, if so, enters A105;If it is not, the redemption code of explanation user's input can not be exchanged, terminate;This step judges The number of times being possible to prevent different user to exchange under same IP is too much.
A105. user described in background server inputs the same batch redemption code at redemption code place, if exceed same IP The exchange number of times of section, if so, enters A106;If it is not, the redemption code of explanation user's input can not be exchanged, terminate;The judgement of this step can Too much with the number of times that prevents different user from exchanging under same IP section.
A106. background server is according to the relevant information storing redemption code inside data base, it is judged that the effectiveness of redemption code, If effectively, entering A107;If invalid, terminate.
A107. user inputs, by another interface of browser, the key that described redemption code is corresponding, and JS module judges should The form of key and length are the most correct, if so, enter A108;If it is not, the redemption code of explanation user's input can not be exchanged, knot Bundle.
Key after A108.JS module will determine that passes to background server;Background server judges having of redemption code again Effect property, if effectively, enters A109;If invalid, terminate.
A109. background server is by the one-to-one relationship of each redemption code of storage in data base with key, it is judged that Whether redemption code mates with the key of input, if so, enters A110;If it is not, represent and exchange unsuccessfully, terminate.Wherein, background service The device record frequency of failure, prevents user's malice brush redemption code.
A110. background server is in the use state of this redemption code of database update for use, and notifies transactional services Device, enters A111;
A111. judge to notify that trading server is the most successful, if so, enter A112;If it is not, enter A113.
A112. trading server exchanges corresponding virtual present according to redemption code, notifies that user exchanges successfully, and record is converted The relevant information of escape and user profile, including type and quantity, ID and redemption code etc. of exchange virtual present, convenient Backstage statistics is checked account, and terminates.
A113. trading server notifies that user exchanges failure, and background server revises this redemption code in data base again Use state, is revised as not using, and terminates.
As it is shown on figure 3, in above-mentioned steps, background server judges the use state of this redemption code in data base, specifically wraps Include following steps:
B101. background server judges whether the redemption code that user inputs exists in data base, and if so, explanation redemption code is deposited , enter B102;If it is not, enter B106;
B102. judging the use state of this redemption code in data base, if not using, entering B103;If using, enter Enter B106;
B103. judge to input effective date of redemption code whether inputting date the same day or before, if so, enter B104;If it is not, enter B106;
B104. explanation redemption code enters into force, it is judged that enter the expiration date of redemption code whether after inputting date, if It is, it was demonstrated that this redemption code does not has expired to enter B105;If it is not, enter B106;
B105. prove that this redemption code is effective, terminate;
B106. prove that this redemption code is invalid, terminate.
The present invention is not limited to above-mentioned embodiment, for those skilled in the art, without departing from On the premise of the principle of the invention, it is also possible to make some improvements and modifications, these improvements and modifications are also considered as the protection of the present invention Within the scope of.The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.

Claims (9)

1. the system being exchanged virtual present by redemption code, it is characterised in that: include JS module, background server and transaction Server, described JS module is for mutual with user by browser, by redemption code and the transmission of corresponding key of user's input To background server;Described background server is used for judging whether described redemption code and key meet conversion requirements, revises and remembers The relevant information of record redemption code;Described trading server is for recording the relevant information of exchange, and notifies that user exchanges result.
2. the system being exchanged virtual present by redemption code as claimed in claim 1, it is characterised in that: described JS module is used for Judge that length and the form of redemption code are the most correct, be additionally operable to judge that the length of key and form are the most correct.
3. the system being exchanged virtual present by redemption code as claimed in claim 1, it is characterised in that: described background server Including data base, for storing key corresponding to redemption code, each redemption code and the relevant information of each redemption code.
4. the system being exchanged virtual present by redemption code as described in claim 1 or 3, it is characterised in that: described redemption code Relevant information include use state, entry-into-force time and the expired time of redemption code.
5. the method exchanging virtual present by redemption code based on the arbitrary described system of claim 1-3, its feature exists In, including step:
S1. user is by the interface of browser input redemption code, after JS module judges that the form of redemption code and length are correctly, passes to Background server;
S2. background server is examined in described user and inputs the same batch redemption code of redemption code and whether exceed the same of setting User exchanges number of times, described user input the same batch redemption code of redemption code whether exceed same IP exchange number of times and Described user inputs whether the same batch redemption code of redemption code exceedes the exchange number of times of same IP section, if being all yes, enters S3;If it is no for having one, terminate;
S3. background server includes a storage redemption code and the data base of relevant information thereof, judges redemption code according to data base Effectiveness, if effectively, enter S4;If invalid, terminate;
S4. user inputs, by another interface of browser, the key that described redemption code is corresponding, and JS module judges the lattice of key After formula and length are correct, pass to background server;Background server inputs having of redemption code before judging again according to data base Effect property, if effectively, enters S5;If invalid, terminate;
S5. background server judges whether described redemption code mates with key, if so, making in redemption code described in database update By state, and sending notification to trading server, trading server exchanges respective virtual present;If it is not, terminate.
6. the method exchanging virtual present by redemption code as claimed in claim 5, it is characterised in that: judge the effective of redemption code Concretely comprising the following steps of property
B101. background server judges whether the redemption code that user inputs exists in data base, if so, enters B102;If it is not, enter Enter B106;
B102. judging the use state of this redemption code in data base, if not using, entering B103;If using, enter B106;
B103. judge to input effective date of redemption code whether inputting date the same day or before, if so, enter B104;If No, enter B106;
B104. judge that the expiration date of redemption code, whether after inputting date, if so, enters B105;If it is not, enter B106;
B105. prove that this redemption code is effective, terminate;
B106. prove that this redemption code is invalid, terminate.
7. the method exchanging virtual present by redemption code as claimed in claim 5, it is characterised in that: in S5, background server By data base, check whether described redemption code mates with corresponding key, the if so, use of this redemption code in amendment data base State is for use;If it is not, exchange unsuccessfully, and record the frequency of failure.
8. the method exchanging virtual present by redemption code as claimed in claim 5, it is characterised in that: trading server receives to be converted After the notice that escape is mated with key, record redemption code exchanges type and quantity, ID and the redemption code of virtual present.
9. the method exchanging virtual present by redemption code as claimed in claim 5, it is characterised in that: if background server is issued The notice failure of trading server, then background server revises the use state of this redemption code in data base again, is revised For not using.
CN201610435676.2A 2016-06-17 2016-06-17 A kind of system and method being exchanged virtual present by redemption code Pending CN106097014A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610435676.2A CN106097014A (en) 2016-06-17 2016-06-17 A kind of system and method being exchanged virtual present by redemption code
PCT/CN2017/080779 WO2017215338A1 (en) 2016-06-17 2017-04-17 System and method for exchanging virtual gifts using exchange code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610435676.2A CN106097014A (en) 2016-06-17 2016-06-17 A kind of system and method being exchanged virtual present by redemption code

Publications (1)

Publication Number Publication Date
CN106097014A true CN106097014A (en) 2016-11-09

Family

ID=57235838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610435676.2A Pending CN106097014A (en) 2016-06-17 2016-06-17 A kind of system and method being exchanged virtual present by redemption code

Country Status (2)

Country Link
CN (1) CN106097014A (en)
WO (1) WO2017215338A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017215338A1 (en) * 2016-06-17 2017-12-21 武汉斗鱼网络科技有限公司 System and method for exchanging virtual gifts using exchange code
CN107529078A (en) * 2017-09-08 2017-12-29 武汉斗鱼网络科技有限公司 Prevent the verification method and device brushed
CN110570236A (en) * 2019-08-21 2019-12-13 温州市鼎销工艺礼品有限公司 Red envelope getting system getting method
CN111723360A (en) * 2019-03-18 2020-09-29 北京京东尚科信息技术有限公司 Voucher code processing method and device and storage medium
CN112330366A (en) * 2020-11-13 2021-02-05 北京沃东天骏信息技术有限公司 Redemption code redemption request verification method, apparatus, device and computer readable medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112308599A (en) * 2020-08-31 2021-02-02 北京沃东天骏信息技术有限公司 Redemption code issuing method, system and device
CN113840155B (en) * 2021-09-22 2024-05-07 广州方硅信息技术有限公司 Virtual gift replacement method, system and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060095526A1 (en) * 1998-01-12 2006-05-04 Levergood Thomas M Internet server access control and monitoring systems
CN1770190A (en) * 2004-10-14 2006-05-10 海南佳礼网络有限公司 Short message gift certificate transmission and exchange method
CN102346895A (en) * 2010-07-30 2012-02-08 李嘉辉 Virtual article conversion method and virtual article conversion system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8442866B2 (en) * 2008-10-27 2013-05-14 Cashstar, Inc. Systems and methods for implementing and managing virtual gift cards
US8612356B2 (en) * 2011-11-14 2013-12-17 Google Inc. Voucher code redemption via SMS
CN104252613B (en) * 2014-09-10 2018-03-27 腾讯科技(深圳)有限公司 A kind of virtual objects acquisition methods, device and terminal
CN106097014A (en) * 2016-06-17 2016-11-09 武汉斗鱼网络科技有限公司 A kind of system and method being exchanged virtual present by redemption code

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060095526A1 (en) * 1998-01-12 2006-05-04 Levergood Thomas M Internet server access control and monitoring systems
CN1770190A (en) * 2004-10-14 2006-05-10 海南佳礼网络有限公司 Short message gift certificate transmission and exchange method
CN102346895A (en) * 2010-07-30 2012-02-08 李嘉辉 Virtual article conversion method and virtual article conversion system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017215338A1 (en) * 2016-06-17 2017-12-21 武汉斗鱼网络科技有限公司 System and method for exchanging virtual gifts using exchange code
CN107529078A (en) * 2017-09-08 2017-12-29 武汉斗鱼网络科技有限公司 Prevent the verification method and device brushed
CN107529078B (en) * 2017-09-08 2019-08-02 武汉斗鱼网络科技有限公司 Prevent the verification method brushed and device
CN111723360A (en) * 2019-03-18 2020-09-29 北京京东尚科信息技术有限公司 Voucher code processing method and device and storage medium
CN111723360B (en) * 2019-03-18 2023-11-03 北京京东尚科信息技术有限公司 Credential code processing method, device and storage medium
CN110570236A (en) * 2019-08-21 2019-12-13 温州市鼎销工艺礼品有限公司 Red envelope getting system getting method
CN112330366A (en) * 2020-11-13 2021-02-05 北京沃东天骏信息技术有限公司 Redemption code redemption request verification method, apparatus, device and computer readable medium

Also Published As

Publication number Publication date
WO2017215338A1 (en) 2017-12-21

Similar Documents

Publication Publication Date Title
CN106097014A (en) A kind of system and method being exchanged virtual present by redemption code
CN108984125B (en) Resource allocation method, device and storage medium
KR101785481B1 (en) Method for providing scraping service, server and system thereof
JPH11234277A (en) Management system
CN106302534A (en) A kind of detection and the method and system of process disabled user
CN110245875A (en) Risk of fraud appraisal procedure, device, equipment and storage medium
CN103679449A (en) System and method for data processing
CN106503420A (en) The multi-party reconciliation assessment of hospital and supervisory systems and method
CN106936765A (en) A kind of end side privacy of user guard method of web service applications
CN107563819A (en) Points drainage data processing method and system
WO2013151359A1 (en) Application for authentication, member registration, and payment services using mobile communication terminal
Fernandez et al. Implementing gdpr for mobile and ubiquitous computing
CN106789965A (en) A kind of Internet of Things data exchange method and system
CN109147276A (en) monitoring method and device
CN111163104B (en) Network security protection system for enterprise
CN105741444B (en) Application authentication method and device based on linux system financial self-service equipment
JP2016181171A (en) Information processing apparatus, system, method, and program
DE102011079317A1 (en) MOBILE SYSTEM FOR FINANCIAL TRANSACTIONS
CN103761323B (en) Database permission control method and device
CN111221802A (en) Digital asset risk management and control system and method based on big data
CN110457897A (en) A kind of database security detection method based on communication protocol and SQL syntax
CN110278208A (en) Intelligent home information exchange system and working method based on block chain
CN109785138A (en) A kind of terminal device for supporting to exchange between digital cash and commodity money
CN108182505A (en) A kind of method that information interaction device is relied on to carry out construction safety inspection
CN104851209B (en) A kind of method and system of VTM business handlings

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161109

RJ01 Rejection of invention patent application after publication