CN106682945A - Method and apparatus for managing free gifts - Google Patents
Method and apparatus for managing free gifts Download PDFInfo
- Publication number
- CN106682945A CN106682945A CN201611260106.0A CN201611260106A CN106682945A CN 106682945 A CN106682945 A CN 106682945A CN 201611260106 A CN201611260106 A CN 201611260106A CN 106682945 A CN106682945 A CN 106682945A
- Authority
- CN
- China
- Prior art keywords
- free gift
- configuration information
- client
- request
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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
- G06Q30/0208—Trade or exchange of goods or services in exchange for incentives or rewards
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Computer Security & Cryptography (AREA)
- Economics (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a method and apparatus for managing free gifts. The method includes the following steps: receiving a request from a client for obtaining a free gift; invoking a preserved interface to find the configuration information of a free gift matching the request, the configuration information being pre-stored in a database; and transmitting the free gift corresponding to the configuration information which matches the request to a corresponding client. According to the application, the method can realize flexible configuration of the free gift, and meet requirements of different services.
Description
Technical field
The application is related to networking technology area, more particularly to free gift management method and device.
Background technology
Free gift in YY direct broadcasting rooms can be that user does not have valuable virtual present by the free acquisition of activity.
During the activity of YY officials, such as Christmas activity, New Year's Day activity, annual grand ceremony activity etc., user daily may be used by participation activity
To obtain some free gifts, after activity end, the free gift do not sent can be eliminated;During unofficial activity, nothing is exempted from
Take present.
In correlation technique, the granting of free gift, the logic such as could give, remove and be written into and realizing free gift function
In the code of independent process, it is responsible for rewriting corresponding code by professional before each activity starts and realizes matching somebody with somebody for free gift
Put.This mode is complicated, dumb, open poor, it is difficult to meet the demand of multiple business.
The content of the invention
In view of this, the application provides free gift management method and device.
According to the first aspect of the embodiment of the present application, there is provided a kind of free gift management method, comprise the following steps:
Receive the request that client obtains free gift;
Call spare interface that the configuration information with the free gift asked and match, the configuration are searched from data base
Information is pre-stored in the data base;
Corresponding client will be sent to the free gift corresponding to the configuration information of request matching.
According to the second aspect of the embodiment of the present application, there is provided a kind of free gift managing device, including:
Receiver module, for receiving the request that client obtains free gift;
Searching modul, for calling spare interface that the configuration with the free gift asked and match is searched from data base
Information, the configuration information prestore with the data base;
Sending module, for corresponding client will to be sent to the free gift corresponding to the configuration information of request matching
End.
The technical scheme that embodiments herein is provided can include following beneficial effect:
The application, not by the transmission of free gift, the logic such as could give, understand and write into and realizing free gift function
In the code of independent process, but its is independent, the Back ground Information and configuration information for alloing free gift is realized respectively,
Such that it is able to it is quick, be configured flexibly free gift, and the demand of multiple business can be met.
Description of the drawings
Fig. 1 is the network scenarios figure that the embodiment of the present application is suitable for.
Fig. 2 is a kind of flow chart of free gift management method of the application according to an exemplary embodiment.
Fig. 3 is a kind of logical schematic of free gift management of the application according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of free gift managing device of the application according to an exemplary embodiment.
Fig. 5 is the block diagram of another kind of free gift managing device of the application according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.Conversely, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects described in detail in claims, the application.
It is, only merely for the purpose of description specific embodiment, and to be not intended to be limiting the application in term used in this application.
" one kind ", " described " and " being somebody's turn to do " of singulative used in the application and appended claims is also intended to include majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein is referred to and wrapped
Containing one or more associated any or all possible combinations for listing project.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for that same type of information is distinguished from each other out.For example, without departing from
In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
Fig. 1 is the network scenarios figure that the embodiment of the present application is suitable for.Network scenarios shown in Fig. 1 includes the kimonos of client 10
Business end 20.Wherein, service end 20 can include server, server cluster or cloud platform, for providing background service.Terminal
10 can be computer, notebook, smart mobile phone, panel computer, PDA (Personal Digital Assistant, individual digital
Assistant) etc..Terminal 10 can be provided with live client, such as YY, and user, can in direct broadcasting room by logging in YY clients
To watch live, activity, match or game etc..
In order to attract user, the property of participation of user is improved, it will usually in the various activities held in direct broadcasting room or match,
For example Christmas activity, annual grand ceremony activity, week active activity, PK matches etc., to participate in providing free gift in user, work as user
When activity or match, client 10 can ask free gift to server 20, and server 20 is according to request to client
10 send free gift.Wherein, free gift can be that user is freely obtained with valency in direct broadcasting room by activity
The virtual present of value, such as Christmas gift, annual grand ceremony present, enliven present etc. week.
In correlation technique, free gift is more dull, and the granting of free gift, the logic such as could give, remove and write
In entering the code for writing into the independent process for realizing free gift function, rewriting need to be responsible for by professional before each activity starts
Corresponding code realizes the management of free gift.Because code is tediously long, modification difficulty is big, this way to manage can not only increase work
Measure, and be difficult to meet the demand of multiple business.
To solve the above problems, the application by by the granting of free gift, could give, remove etc. it is logically independent go out
Come, the Back ground Information and configuration information for making free gift is realized respectively, when user's request free gift, by what is matched with request
User that configuration information is sent to corresponding free gift, it is possible to achieve the flexible management of free gift, meets multiple business
Demand.Next the application is described in detail.
Fig. 2 for a kind of free gift management method of the application according to an exemplary embodiment flow chart, can be with
Apply in server, as shown in Fig. 2 the method may comprise steps of:
In step s 201, the request that client obtains free gift is received;
In step S202, call spare interface that the configuration with the free gift asked and match is searched from data base
Information, the configuration information is pre-stored in the data base;
In step S203, corresponding client will be sent to the free gift corresponding to the configuration information of request matching
End.
In the present embodiment, the configuration information of free gift can be pre-stored in data base, and for its spare interface, with
Just configuration information is called when needed, such that it is able to configure to corresponding free gift, realizes flexibly matching somebody with somebody for free gift
Put.Used as an example, configuration information can be pre-stored within xml document.
Wherein, configuration information can include entry-into-force time of free gift, checkout time, single maximum, it is daily under
Send out quantity, stay time etc..Entry-into-force time refers to that user can use the time of free gift, for client gets still
Unenforced present, user temporarily cannot use, and need to wait until that the entry-into-force time reaches, and user just can be with after free gift comes into force
Use.For the unusable state of still unenforced free gift, user can be pointed out by certain mode, such as in user
During using the present, with written form prompting user, the present not yet comes into force, temporarily unusable.Entry-into-force time can pass through one
Intervalometer realizes, reaches when the entry-into-force time, can trigger free gift and come into force event, send to server and ask, and receives clothes
After the information that comes into force of business device feedback, free gift comes into force, and allows the user to use free gift.Checkout time is referred to works as user
Exit activity and present is not sent or when checkout time is reached, remove the free gift that client is obtained.Stay time refers to be exempted from
In taking present comp process, in the displaying time of client end interface.
In different activities or match, free gift in addition to entry-into-force time, stay time, the time of understanding can be with differences, also
There can be different granting logics, i.e., can also include the granting conditional information of free gift, for example, Ke Yi in configuration information
It is determined that during with the free gift corresponding to the configuration information that match of request, free gift is transmitted directly to into the client of request,
Can also it is determined that with after the free gift corresponding to the configuration information that match of request, according to granting conditional information determine whether by
Free gift is sent to the client of request, wherein providing the grade that conditional information can be client correspondence user, it is also possible to
It is whether client performs predetermined registration operation.Such as, annual grand ceremony activity, in annual grand ceremony activity participation activity can be arranged
With annual grand ceremony free gift can be obtained per family, it is also possible to arrange the condition of user's acquisition, such as be set to participation activity and reach
Preset Time, or user gradation reaches the user of pre-set level and can obtain annual grand ceremony present.For another example, PK matches,
Can be that user participation PK is movable in PK matches, corresponding free gift can be obtained when adding arbitrary war team;Can also be user
Add it is arbitrary war team reach certain hour when or complete to obtain corresponding free gift during preset task.
It can be seen that, by the granting condition for arranging free gift, the user to meeting condition sends free gift, can improve
The property of participation of user.
In actual applications, for the demand for meeting different activities or compete, in some examples, configuration information can be more
Newly, and by calling spare interface can realize being updated the configuration information in data base.Wherein, renewal can include with
Lower any operation:At least one configuration information for increasing free gift, at least one configuration information, the modification of deleting free gift
At least one configuration information of free gift.For example, increasing the information of free gift can include:The mark of free gift, figure
Mark, type etc., for increasing a new free gift;The information of modification free gift includes:Change coming into force for free gift
Time, checkout time, stay time etc., so that free gift meets the demand of respective activity or match.
Fig. 3 illustrates for a kind of logic chart of free gift management method of the application according to an exemplary embodiment
Figure, as shown in Figure 3.
S301, is in advance stored in the configuration information of free gift in data base in xml document form.
S302, according to the entry-into-force time of specific requirement modification " annual grand ceremony free gift " of activity or match, user obtains
Take grade.
S303, client participates in annual grand ceremony activity, and the request for obtaining free gift is sent to server.
S304, server is received and calls spare interface to search what is matched with the request from data base after the request
The configuration information of free gift.
S305, server obtains the annual grand ceremony free gift corresponding to the configuration information matched with request.
S306, server judges whether the client for sending the request meets the granting bar of free gift in configuration information
Part, if it is satisfied, then " annual grand ceremony free gift " is sent to into relative client.
Client being received by wait after the present entry-into-force time arrival and using the present.
It is corresponding with the embodiment of aforementioned free gift management method, present invention also provides free gift managing device
Embodiment.
Fig. 4 is refer to, Fig. 4 is a kind of frame of free gift managing device of the application according to an exemplary embodiment
Figure, the device can include:
Receiver module 401, for receiving the request that client obtains free gift.
Searching modul 402, for calling spare interface to search from data base and the free gift asked and match
Configuration information, the configuration information prestore with the data base.
Sending module 403, for corresponding visitor will to be sent to the free gift corresponding to the configuration information of request matching
Family end.
In an optional implementation, the configuration information of the free gift is stored in xml document.
In an optional implementation, configuration information includes:Modification entry-into-force time of free gift, checkout time,
Single maximum, quantity, stay time are issued daily.
In an optional implementation, configuration information can also include provide conditional information, for control whether by
With request matching configuration information corresponding to free gift be sent to corresponding client;The granting conditional information includes
It is arbitrary below:Whether the grade of client correspondence user, client performs predetermined registration operation.
Fig. 5 for another kind of free gift managing device of the application according to an exemplary embodiment block diagram, such as Fig. 5
Shown, the device also includes on the basis of embodiment described in Fig. 4:
Update module 504, for being used to, when the request for updating at least one configuration information is received, call spare interface
Configuration information in data base is updated, the renewal includes following any operation:Increase at least one of free gift
Configuration information, at least one configuration information for deleting free gift, at least one configuration information of modification free gift.
The function of each device and effect realizes that process specifically refers in said method correspondence step in said apparatus
Process is realized, be will not be described here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is referring to method reality
Apply the part explanation of example.Device embodiment described above is only schematic, wherein described as separating component
The device of explanation can be or may not be physically separate, can be as the part that device shows or can also
It is not physical unit, you can be located at a place, or can also be distributed on multiple network equipments.Can be according to reality
Need the purpose for selecting some or all of module therein to realize application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not to limit the application, all essences in the application
Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.
Claims (10)
1. a kind of free gift management method, it is characterised in that comprise the following steps:
Receive the request that client obtains free gift;
Call spare interface that the configuration information with the free gift asked and match, the configuration information are searched from data base
In being pre-stored in the data base;
Corresponding client will be sent to the free gift corresponding to the configuration information of request matching.
2. the method for claim 1, it is characterised in that methods described also includes:
When the request for updating at least one configuration information is received, spare interface is called to carry out the configuration information in data base
Update, the renewal includes following any operation:Increase by least one configuration information of free gift, delete free gift extremely
At least one configuration information of a few configuration information, modification free gift.
3. as claimed in claim 1 described method, it is characterised in that the configuration information of the free gift is stored in xml
In file.
4. the method for claim 1, it is characterised in that the configuration information includes:
Entry-into-force time of free gift, checkout time, single maximum, quantity, stay time are issued daily.
5. method as claimed in claim 4, it is characterised in that can also include providing conditional information in the configuration information,
For control whether by with request matching configuration information corresponding to free gift be sent to corresponding client;Described
Conditional information is put including following any information:
Whether the grade of client correspondence user, client performs predetermined registration operation.
6. a kind of free gift managing device, it is characterised in that include:
Receiver module, for receiving the request that client obtains free gift;
Searching modul, for calling spare interface to search from data base with the free gift asked and match with confidence
Breath, the configuration information prestore with the data base;
Sending module, for corresponding client will to be sent to the free gift corresponding to the configuration information of request matching.
7. device as claimed in claim 6, it is characterised in that described device also includes:
Update module, for when the request for updating at least one configuration information is received, calling spare interface in data base
Configuration information be updated, the renewal includes following any operation:Increase by least one configuration information of free gift, delete
Except free gift at least one configuration information, modification free gift at least one configuration information.
8. device as claimed in claim 6, it is characterised in that the configuration information of the free gift is stored in xml document
In.
9. device as claimed in claim 6, it is characterised in that the configuration information includes:
Entry-into-force time of free gift, checkout time, single maximum, quantity, stay time are issued daily.
10. device as claimed in claim 9, it is characterised in that can also include providing conditional information in the configuration information,
For control whether by with request matching configuration information corresponding to free gift be sent to corresponding client;Described
Conditional information is put including following any information:
Whether the grade of client correspondence user, client performs predetermined registration operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611260106.0A CN106682945B (en) | 2016-12-30 | 2016-12-30 | Free gift management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611260106.0A CN106682945B (en) | 2016-12-30 | 2016-12-30 | Free gift management method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106682945A true CN106682945A (en) | 2017-05-17 |
CN106682945B CN106682945B (en) | 2021-09-21 |
Family
ID=58873309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611260106.0A Active CN106682945B (en) | 2016-12-30 | 2016-12-30 | Free gift management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106682945B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107222753A (en) * | 2017-05-25 | 2017-09-29 | 北京潘达互娱科技有限公司 | Virtual present loading method and device |
CN110312168A (en) * | 2018-03-20 | 2019-10-08 | 可可株式会社 | For supporting the user terminal of live streaming and the operating method of server |
CN114845125A (en) * | 2022-03-28 | 2022-08-02 | 广州博冠信息科技有限公司 | Data processing method of live broadcast room and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030050839A1 (en) * | 2001-08-23 | 2003-03-13 | Masashi Shiomi | Method of distributing free-gift data and device for distributing free-gift data |
CN103457986A (en) * | 2013-02-06 | 2013-12-18 | 江苏钱旺智能系统有限公司 | Method, server and terminal for pushing task event |
CN104899768A (en) * | 2015-06-25 | 2015-09-09 | 北京奇虎科技有限公司 | Prize information generation method, device and system |
CN105608603A (en) * | 2015-12-28 | 2016-05-25 | 武汉斗鱼网络科技有限公司 | Method and device for triggering virtual gift in live scene |
CN105654354A (en) * | 2016-03-11 | 2016-06-08 | 武汉斗鱼网络科技有限公司 | User interaction optimization method and system in live video |
-
2016
- 2016-12-30 CN CN201611260106.0A patent/CN106682945B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030050839A1 (en) * | 2001-08-23 | 2003-03-13 | Masashi Shiomi | Method of distributing free-gift data and device for distributing free-gift data |
CN103457986A (en) * | 2013-02-06 | 2013-12-18 | 江苏钱旺智能系统有限公司 | Method, server and terminal for pushing task event |
CN104899768A (en) * | 2015-06-25 | 2015-09-09 | 北京奇虎科技有限公司 | Prize information generation method, device and system |
CN105608603A (en) * | 2015-12-28 | 2016-05-25 | 武汉斗鱼网络科技有限公司 | Method and device for triggering virtual gift in live scene |
CN105654354A (en) * | 2016-03-11 | 2016-06-08 | 武汉斗鱼网络科技有限公司 | User interaction optimization method and system in live video |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107222753A (en) * | 2017-05-25 | 2017-09-29 | 北京潘达互娱科技有限公司 | Virtual present loading method and device |
CN110312168A (en) * | 2018-03-20 | 2019-10-08 | 可可株式会社 | For supporting the user terminal of live streaming and the operating method of server |
CN116055821A (en) * | 2018-03-20 | 2023-05-02 | 可可株式会社 | User terminal and operation method of server for supporting live broadcast |
CN114845125A (en) * | 2022-03-28 | 2022-08-02 | 广州博冠信息科技有限公司 | Data processing method of live broadcast room and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106682945B (en) | 2021-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102300012B (en) | One-to-one matching in contact center | |
US20050144219A1 (en) | Communication information sharing system, communication information sharing method, communication information sharing program | |
CN113505882B (en) | Data processing method based on federal neural network model, related equipment and medium | |
CN101163117B (en) | Packet management method, packet resource sharing method and instant communication equipment | |
CN107920138A (en) | A kind of user's unifying identifier generation method, apparatus and system | |
CN101729441B (en) | Update reminding method, system thereof, update source server and access server | |
US20210357386A1 (en) | Method for split-ledger inventory and activity tracking | |
JP6681146B2 (en) | Information processing device, information processing method, and program | |
CN102111344A (en) | Method for reminding business updating and device adopting same | |
CN103220316A (en) | Data share system, data process apparatus, and computer-readable recording medium | |
CN105453058B (en) | Directory service is found and/or study | |
CN110223088A (en) | A kind of method and device that method, the information of information distribution generate | |
CN106682945A (en) | Method and apparatus for managing free gifts | |
CN105988776B (en) | Release processing method and processing device | |
CN108023940A (en) | Information updating method, device, server and readable storage medium storing program for executing | |
JP2006191384A (en) | Mobile and content transmission method | |
CN111414191A (en) | Gray scale publishing method and device for small program | |
US9477941B2 (en) | Genealogy system for interfacing with social networks | |
CN104008151A (en) | Contact retrieval method and system and terminal equipment | |
CN112862544A (en) | Object information acquisition method and device and storage medium | |
CN109302503A (en) | The sharing method and device of the generation method of signature, signature template | |
CN110750557A (en) | Management method and device for insurance enterprise channel | |
CN104754040B (en) | System for end-to-end cloud service virtualization | |
WO2016058385A1 (en) | Information storage method and device, and terminal | |
CN109525488A (en) | Instant message dissemination method, device, terminal, server and storage medium |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210108 Address after: 511442 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province Applicant after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd. Address before: 511442 24 floors, B-1 Building, Wanda Commercial Square North District, Wanbo Business District, 79 Wanbo Second Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province Applicant before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |