CN107403342A - A kind of method, terminal device, server and storage medium for providing resource - Google Patents
A kind of method, terminal device, server and storage medium for providing resource Download PDFInfo
- Publication number
- CN107403342A CN107403342A CN201710607750.9A CN201710607750A CN107403342A CN 107403342 A CN107403342 A CN 107403342A CN 201710607750 A CN201710607750 A CN 201710607750A CN 107403342 A CN107403342 A CN 107403342A
- Authority
- CN
- China
- Prior art keywords
- information
- resource
- lottery ticket
- user
- server
- 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
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/0239—Online discounts or incentives
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiments of the invention provide a kind of method, terminal device, server and storage medium for providing resource.Wherein, methods described includes:The interaction display information for including being used to obtain the web page interlinkage of resource is received from server, and shows the interactive display information;The operation of the web page interlinkage is opened in response to user, the resource acquisition comprising user account mark is sent to the server to ask, include the resource acquisition response for giving the information of lottery ticket and reward sums of money from server reception, and the information of lottery ticket and the data of reward sums of money are given described in display.Using the embodiment of the present invention, lottery ticket can not only be given during activity, but also coin can be rewarded, improves the participation that user buys lottery ticket.
Description
Technical field
The present invention relates to field of computer technology, in particular it relates to a kind of method for providing resource, terminal device, service
Device and storage medium.
Background technology
With the continuous development of network technology, the network activity such as Online Shopping lottery ticket is more and more, and how to improve user
Turn into the major issue of urgent need to resolve in the participation of Online Shopping lottery ticket.
Generally, the processing of Online Shopping lottery ticket is that the user for buying lottery ticket sets the number of purchase lottery ticket or buys lottery ticket
Total amount, server is according to above- mentioned information, distribution lottery ticket corresponding with the total amount of the number or purchase lottery ticket of purchase lottery ticket,
And the corresponding amount of money is deducted in the account of user, then, the lottery ticket of distribution is sent to the corresponding account of user, the end of user
End equipment can receive the lottery ticket of distribution, and user clicks on lottery ticket by terminal device, and now the user can see the lottery ticket pair
The lottery information answered.
Problems with least be present in the foregoing method for providing resource:When buying lottery ticket through the above way, the participation of user
Degree is not high, particularly when the lottery ticket of user's purchase is not got the winning number in a bond, has not only paid for capital, but also gainless, has a strong impact on
Participation of the user by Online Shopping lottery ticket.
The content of the invention
Embodiments of the invention provide a kind of method, terminal device, server and storage medium for providing resource, so as to
Effectively lifting participation of the user by Online Shopping lottery ticket.
A kind of first aspect according to embodiments of the present invention, there is provided method for providing resource.Methods described includes:
The interaction display information for including being used to obtain the web page interlinkage of resource is received from server, and shows the interaction
Display information;
The operation of the web page interlinkage is opened in response to user, the money for including user account mark is sent to the server
Source obtains request, and the resource acquisition response of the information for including giving lottery ticket and reward sums of money is received from the server, and
And the information of lottery ticket and the data of reward sums of money are given described in display.
Alternatively, the information for giving lottery ticket includes at least one of following information:The number for giving lottery ticket,
Announce the winners in a lottery time, the information of winning amount.
Alternatively, before being sent to the server comprising the resource acquisition request of user account mark, in addition to:
The interaction item for inputting user account mark is shown,
The resource acquisition request identified according to the input generation of user comprising user account.
Alternatively, the interactive display information also includes being used for the interaction item for sharing the web page interlinkage,
Methods described also includes:
In response to operation of the user to the interactive item, the web page interlinkage is shared with finger by predetermined mode of sharing
Fixed another user, the mode of sharing is instant messaging application, mail, MMS, SMS or proprietary application.
A kind of second aspect according to embodiments of the present invention, there is provided method for providing resource.Methods described includes:
Receive the interaction request from client;
The interaction display information for including being used to obtain the web page interlinkage of resource is sent to the client;
The resource acquisition request comprising user account mark is received from the client;
The information of lottery ticket is given for user's distribution corresponding to user account mark and rewards sums of money, and according to
The information for giving lottery ticket and reward sums of money update account corresponding to the user account mark;
Resource acquisition response including the information for giving lottery ticket and reward sums of money is sent to the client.
Alternatively, the information for giving lottery ticket includes at least one of following information:The number for giving lottery ticket,
Announce the winners in a lottery time, the information of winning amount.
A kind of third aspect according to embodiments of the present invention, there is provided terminal device.The equipment includes:First processing
Device, first memory, the first communication device and the first communication bus, the first processor, the first memory and described
First communication device completes mutual communication by first communication bus;The first memory is used to deposit at least one
Executable instruction, the executable instruction make the first processor perform the granting money described in first aspect of the embodiment of the present invention
Operated corresponding to the method in source.
A kind of fourth aspect according to embodiments of the present invention, there is provided server.The server includes:Second processing
Device, second memory, the second communication device and the second communication bus, the second processor, the second memory and described
Second communication device completes mutual communication by second communication bus;The second memory is used to deposit at least one
Executable instruction, the executable instruction make the second processor perform the granting money described in second aspect of the embodiment of the present invention
Operated corresponding to the method in source.
A kind of 5th aspect according to embodiments of the present invention, there is provided computer-readable recording medium.The computer can
Read to be stored with computer program instructions in storage medium, wherein, realize this when the computer program instructions are executed by processor
The step of method of granting resource described in inventive embodiments first aspect.
A kind of 6th aspect according to embodiments of the present invention, there is provided computer-readable recording medium.The computer can
Read to be stored with computer program instructions in storage medium, wherein, realize this when the computer program instructions are executed by processor
The step of method of granting resource described in inventive embodiments second aspect.
As shown from the above technical solution, the client of terminal device receives from server includes being used for the webpage for obtaining resource
The interaction display information of link, and show interactive display information;The operation of the web page interlinkage, terminal are opened in response to user
The client of equipment sends the resource acquisition comprising user account mark to the server and asked, and receives and wraps from the server
The resource acquisition response of the information for giving lottery ticket and reward sums of money is included, and information and the reward of lottery ticket are given described in display
The data of sums of money, lottery ticket can not only be given, but also coin can be rewarded, improved user and pass through Online Shopping lottery ticket
Participation.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described.It should be evident that drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these figures.
Fig. 1 is the flow chart of the method for the granting resource that one embodiment of the invention provides;
Fig. 2 is the flow chart of the method for the granting resource that one embodiment of the invention provides;
Fig. 3 is the structural representation for the terminal device that one embodiment of the invention provides;
Fig. 4 is the structural representation for the server that one embodiment of the invention provides.
Embodiment
The embodiment of the present invention is described in detail below in conjunction with accompanying drawing.It should be appreciated that this place is retouched
The embodiment stated is merely to illustrate and explain the present invention, and is not intended to limit the invention.
The inventive concept of this programme is that the client of terminal device receives from server to be included being used for the webpage for obtaining resource
The interaction display information of link, and show interactive display information;The operation of the web page interlinkage, terminal are opened in response to user
The client of equipment sends the resource acquisition comprising user account mark to the server and asked, and receives and wraps from the server
The resource acquisition response of the information for giving lottery ticket and reward sums of money is included, and information and the reward of lottery ticket are given described in display
The data of sums of money, lottery ticket can not only be given, but also coin can be rewarded, improved user and pass through Online Shopping lottery ticket
Participation.
Fig. 1 is the flow chart of the method for the granting resource that one embodiment of the invention provides.As shown in figure 1, the present invention one is real
Applying the method for the granting resource of example offer includes:
In step S101, the interaction display information for including being used to obtain the web page interlinkage of resource is received from server, and
And the display interactive display information.
Specifically, in response to the interactive operation of user, the interaction of the user end to server transmission user of terminal device please
Ask, and the interaction display information for including being used to obtain the web page interlinkage of resource is received from server, and show that the interaction shows
Show information.Wherein, terminal device can be any terminal device, such as mobile phone or notebook computer, the client of terminal device
It can be wechat client, send client or Tencent QQ client etc. everyday.
More specifically, when the terminal device of user is in network connection state, user is stepped on by inputting account and password
Client is recorded, user end to server sends the interaction request of user, and the interaction that client the reception server is sent shows message,
And show that the interaction shows message in corresponding display interface.For example, login interface of the user in the wechat client of mobile phone
Account input frame and Password Input frame input account and password respectively, then, then click on login button, and wechat client is to corresponding
Server send interaction request, the corresponding server of wechat client according to the interaction request transfer corresponding interface from
The web page interlinkage for obtaining resource is obtained in the server for providing resource, and by including the web page interlinkage for obtaining resource
The corresponding display interface that interaction display message is sent to wechat client is shown.
In order that the process for providing resource is more vivid, and certain interest, server are provided for resource granting
Generation web page interlinkage can be also identified by good fortune bag.Now, the corresponding display interface of client shows the webpage chain of good fortune bag mark
Connect.
In step s 102, the operation of the web page interlinkage is opened in response to user, is sent to the server comprising use
The resource acquisition request of family account identification, the information for including giving lottery ticket and the money of reward sums of money are received from the server
Source obtains response, and the information of lottery ticket and the data of reward sums of money are given described in display.
Wherein, the information for giving lottery ticket includes at least one of following information:The number for giving lottery ticket, open
Encourage time, the information of winning amount.In a preferred embodiment of the invention, the information for giving lottery ticket includes described give
The number of lottery ticket, the information such as time and winning amount of announcing the winners in a lottery.In the of the invention optional embodiment, the lottery ticket of giving
Information includes the essential information that may also include lottery ticket, for example, number of lottery ticket etc..
In an optional embodiment of the invention, the resource acquisition of user account mark is being included to server transmission
Before request, in addition to:The interaction item for inputting user account mark is shown, use is included according to the input of user generation
The resource acquisition request of family account identification.Take this, server can according to the information for giving lottery ticket and reward sums of money more
Account corresponding to the new user account mark.
Specifically, the operation of the web page interlinkage of client is opened in response to user, shows and uses in the display interface of client
In the interaction item of input user account mark.Then, user inputs user account mark in the input frame of interaction item, and clicks on
Confirming button, the user account mark generation that client inputs according to user is asked comprising the resource acquisition that user account identifies,
And the resource acquisition request of generation is sent into corresponding server.Wherein, user account mark can be for example, but unlimited
In cell-phone number, user account, address name or personal code work of user etc..
In a particular embodiment, user clicks on the good fortune bag mark on the display interface of client, in the aobvious of client
Show the interactive interface ejected on interface for inputting user account mark.Then, user inputs in the input frame of interactive interface
User account identifies, and clicks on " getting " button, and client simultaneously includes user according to the user account mark generation of user's input
The resource acquisition request of account identification, and the resource acquisition request of generation is sent into corresponding server.
In an optional embodiment of the invention, the interactive display information also includes being used to share the web page interlinkage
Interaction item, methods described also include:In response to operation of the user to the interactive item, the web page interlinkage is passed through into predetermined point
The mode of enjoying is shared with another user specified, and the mode of sharing is instant messaging application, mail, MMS (Multimedia
Message Service, MMS (Multimedia Message Service)), SMS (Short Message Service, SMS (Short Message Service)) or special should
With.Take this, sharing for resource can be realized.
Specifically, after the client receives the web page interlinkage, user can web page interlinkage described in long-press, the client
The display interface at end, which is shown, to be shared and/or forwards button, and user, which can click on, to share or forward button, and the client can pass through phase
The account for the other users that the account that the interface answered obtains certain application program (such as microblogging, wechat) is associated, user can be therefrom
Some or multiple accounts are selected, after the completion of selection, clicks on and determines button, the web page interlinkage can be shared with by the client
The account selected, the web page interlinkage is shared with to the other users specified.Wherein, proprietary application may include a variety of, example
Such as microblogging, forum, the proprietary application can be configured as the case may be.
More specifically, the interface of multiple applications can be pre-set in the application program, when user needs to carry out resource
When sharing, it can click on and share or forward button, the interface that the client call is applied accordingly, the web page interlinkage be sent
To other users, or the reproducible web page interlinkage of user, sent it to by way of message such as forum or certain hand
Machine user.
In a particular embodiment, the web page interlinkage is shared with finger by predetermined mode of sharing in the first user
After fixed second user, second user clicks on the web page interlinkage in the client of user terminal and inputs corresponding user
Web page interlinkage is shared with the second use by account identification, the user account mark and the first user that client inputs according to second user
The information generation resource acquisition request at family, and the resource acquisition request of generation is sent to server.Server obtains according to resource
Take request to be searched in the web page interlinkage prestored with the corresponding relation of corresponding resource, obtain the web page interlinkage pair
The information for the resource answered.Wherein, the information of resource corresponding to the web page interlinkage includes the information for giving lottery ticket and reward coin
The amount of money.Subsequently, web page interlinkage is shared with the information deduction reward sums of money of second user according to the first user by server
A part, and according to the part reward sums of money update the first user user account mark corresponding to account and root
According to account corresponding to the user account mark of remaining reward sums of money renewal second user.Finally, server will give coloured silk
The client for the terminal device that the information of ticket and the data of remaining reward sums of money are sent to second user is shown.Letter
For single ground, after web page interlinkage is shared with second user by the first user, the first user, which needs to share second user, passes through institute
State the reward sums of money that web page interlinkage obtains.Take this, it is possible to increase user shares the enthusiasm of resource, so as to improve resource
Share efficiency.
In the present embodiment, the client of terminal device is received including the web page interlinkage for obtaining resource from server
Interaction display information, and show interactive display information;The operation of the web page interlinkage is opened in response to user, terminal device
Client sends the resource acquisition comprising user account mark to the server and asked, and being received from the server includes giving
The information of lottery ticket and the resource acquisition response of reward sums of money, and the information and reward coin gold of lottery ticket are given described in display
The data of volume, lottery ticket can not only be given, but also coin can be rewarded, improve participation of the user by Online Shopping lottery ticket
Degree.
Fig. 2 is the flow chart of the method for the granting resource that one embodiment of the invention provides.As shown in Fig. 2 the present invention one is real
Applying the method for the granting resource of example offer includes:
In step s 201, the interaction request from client is received.
Specifically, in response to the interactive operation of user, the interaction of the user end to server transmission user of terminal device please
Ask, server receives the interaction request of user.Wherein, the client of terminal device can be wechat client, family of seing a visitor out everyday
End or Tencent QQ client etc..
In step S202, the interaction that the web page interlinkage for including being used to obtain resource is sent to the client shows letter
Breath.
In a particular embodiment, if current time is in during doing activity, server is sent according to client
Interaction request sends the interaction display information for including being used to obtain the web page interlinkage of resource to corresponding client.In the present invention one
In alternative embodiment, the interaction shows that the interaction item that message also includes being used to input user account mark is described with for sharing
The interaction item of web page interlinkage.In addition, can be that above-mentioned resource sharing sets polytype, such as common resources to share and find pleasure in and enjoy resource
Share, or the processing corresponding to above-mentioned good fortune bag, common good fortune bag and happy bag of living in ease and comfort are may be configured as, with common good fortune bag and happy bag of living in ease and comfort
Exemplified by, common good fortune bag may include number, reward sums of money and blessing language of the lottery ticket given etc..Happy bag of living in ease and comfort is general except including
The number for the lottery ticket given corresponding to logical good fortune bag, reward outside sums of money and blessing language, may also include and share the reward money
The number of the coin amount of money, the then web page interlinkage also include the information for sharing the number of the reward sums of money.
In step S203, the resource acquisition request comprising user account mark is received from the client.
Specifically, server receives the resource acquisition request comprising user account mark from the client.Wherein, resource
It is that the user account that client inputs according to user identifies generation to obtain request.
In step S204, the information and reward coin of lottery ticket are given for user's distribution corresponding to user account mark
The amount of money, and the account according to corresponding to the information for giving lottery ticket and reward sums of money update the user account mark.
In a particular embodiment, when client receives the web page interlinkage, user can click on the web page interlinkage
And user account mark is inputted, the client sends the resource acquisition comprising user account mark to the server and asked,
With the information and reward sums of money of the lottery ticket given to the server acquisition request, wherein, in the resource acquisition request
It may also include the web page interlinkage.The server can ask to be randomly assigned lottery ticket and the reward given according to the resource acquisition
Sums of money, the information for the lottery ticket given and the data of reward sums of money.The server is given according to what is be randomly assigned
Lottery ticket is sent, and obtains the essential informations such as the number of the lottery ticket, the server can determine to open accordingly according to the number of lottery ticket
Encourage information, then, the information of the lottery ticket can be sent to the first terminal equipment, the information for giving lottery ticket include with
At least one of lower information:The number for giving lottery ticket, time of announcing the winners in a lottery, the information of winning amount.It is optional in the present invention one
In embodiment, the information for giving lottery ticket includes the essential information that may also include lottery ticket, for example, number of lottery ticket etc..This
Outside, the server gives the information of lottery ticket according to and reward sums of money updates account corresponding to the user account mark
Family.
In step S205, the resource acquisition including the information for giving lottery ticket and reward sums of money is responded and sent
To the client.
Specifically, the data of the obtained information for giving lottery ticket and reward sums of money are sent to described by the server
Client, the client receives give the information of lottery ticket after, the essential informations such as the number for giving lottery ticket and institute can be shown
The lottery information of lottery ticket is stated, to inform whether user gets the winning number in a bond.During the information of what if client received give lottery ticket includes
Amount of bonus, then client can show the information such as the amount of money of prize-winning, if the amount of money that user's needs extraction is got the winning number in a bond, can click on and withdraw deposit
Button, client send request of withdrawing deposit to the server, and corresponding withdraw deposit can be set interface to be sent to the visitor by server
The display interface at family end, the display interface of the client show described in withdraw deposit interface be set, user can be in the setting of withdrawing deposit
Corresponding information is inputted in interface, resource account of the amount of money etc. as described in the amount of money withdrawn deposit and reception, can after the completion of user's input
Click on and determine button, the client obtains the amount of money withdrawn deposit and receives the information such as the resource account of the amount of money, and will withdraw deposit
The amount of money and receive the information such as the resource account of the amount of money and be sent to server, then, server can by the amount of money withdrawn deposit from
It is transferred in the accounts information of user in the resource account.If the information for the lottery ticket that client receives includes not getting the winning number in a bond
Information, then client can show the information for giving lottery ticket, and can show the prize information of other users to have got the winning number in a bond.Wherein, institute
Stating resource account includes Alipay account, wechat account or bank account.
In the present embodiment, server receives the interaction request from client, and according to the interaction request of client to
The client sends the interaction display information for including being used to obtain the web page interlinkage of resource, and then, server is from the client
The resource acquisition request that termination packet receiving identifies containing user account, and give coloured silk for user's distribution corresponding to user account mark
The information and reward sums of money of ticket, and the user account is updated according to the information for giving lottery ticket and reward sums of money
Account corresponding to mark, and the resource acquisition response including the information for giving lottery ticket and reward sums of money is sent to
The client, lottery ticket can not only be given, but also coin can be rewarded, improve ginseng of the user by Online Shopping lottery ticket
With degree.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but this area
Technical staff should know that the embodiment of the present invention is not limited by described sequence of movement, because implementing according to the present invention
Example, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know, specification
Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
The embodiment of the present invention additionally provides a kind of terminal device, such as can be mobile terminal, personal computer (PC), put down
Plate computer etc..Below with reference to Fig. 3, it illustrates suitable for for realizing the structural representation of the terminal device 300 of the embodiment of the present invention
Figure.As shown in figure 3, terminal device 300 includes one or more first processors, first communication device etc., it is one or more
Individual first processor is for example:One or more CPU (CPU) 301, and/or one or more image processors
(GPU) 313 etc., first processor can be according to the executable instruction being stored in read-only storage (ROM) 302 or from storage
Executable instruction that part 308 is loaded into random access storage device (RAM) 303 and perform various appropriate actions and processing.
In the present embodiment, the first read-only storage 302 and random access storage device 303 are referred to as first memory.First communication device
Including communication component 312 and/or communication interface 309.Wherein, communication component 312 may include but be not limited to network interface card, and the network interface card can
Including but not limited to IB (Infiniband) network interface card, the network that communication interface 309 includes LAN card, modem etc. connect
The communication interface of mouth card, communication interface 309 perform communication process via the network of such as internet.
First processor can communicate to perform executable finger with read-only storage 302 and/or random access storage device 303
Order, is connected with communication component 312 by the first communication bus 304 and is communicated through communication component 312 with other target devices, from
And complete to operate corresponding to the method for resource granting any one of provided in an embodiment of the present invention, for example, being received from server includes
For the interaction display information for the web page interlinkage for obtaining resource, and show the interactive display information;Opened in response to user
The operation of the web page interlinkage, send the resource acquisition comprising user account mark to the server and ask, from the service
Device reception includes the resource acquisition response for giving the information of lottery ticket and reward sums of money, and the letter of lottery ticket is given described in display
The data of breath and reward sums of money.
In addition, in RAM 303, various programs and data needed for device operation can be also stored with.CPU301 or
GPU313, ROM302 and RAM303 are connected with each other by the first communication bus 304.In the case where there is RAM303, ROM302
For optional module.RAM303 stores executable instruction, or executable instruction is operationally write into ROM302, executable instruction
Make first processor perform corresponding to above-mentioned communication means to operate.Input/output (I/O) interface 305 is also connected to the first communication
Bus 304.Communication component 312 can with integrally disposed, it can also be provided that have multiple submodule (such as multiple IB network interface cards), and
Chained in communication bus.
I/O interfaces 305 are connected to lower component:Importation 306 including keyboard, mouse etc.;Penetrated including such as negative electrode
The output par, c 307 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 308 including hard disk etc.;
And the communication interface 309 of the NIC including LAN card, modem etc..Driver 310 is also according to needing to connect
It is connected to I/O interfaces 305.Detachable media 311, such as disk, CD, magneto-optic disk, semiconductor memory etc., pacify as needed
On driver 310, in order to which the computer program read from it is mounted into storage part 308 as needed.
Need what is illustrated, framework as shown in Figure 3 is only a kind of optional implementation, can root during concrete practice
Selected, deleted, increased or replaced according to the component count amount and type being actually needed to above-mentioned Fig. 3;Set in difference in functionality part
Put, can also use the implementation such as separately positioned or integrally disposed, such as GPU and CPU is separable sets or can be by GPU collection
Into on CPU, communication device is separable to be set, can also be integrally disposed on CPU or GPU, etc..These interchangeable embodiment party
Formula each falls within protection scope of the present invention.
Especially, according to embodiments of the present invention, it is soft to may be implemented as computer for the process above with reference to flow chart description
Part program.For example, the embodiment of the present invention includes a kind of computer program product, it includes being tangibly embodied in computer-readable Jie
Computer program in matter, computer program include the computer program instructions for being used for the method shown in execution flow chart, calculate
Machine programmed instruction may include that corresponding perform instructs corresponding to method and step provided in an embodiment of the present invention, for example, being connect from server
Packet receiving includes the interaction display information of the web page interlinkage for obtaining resource, and shows the interactive display information;In response to
The operation of the web page interlinkage is opened at family, and sending the resource acquisition comprising user account mark to the server asks, from institute
The resource acquisition response that server reception includes giving the information of lottery ticket and reward sums of money is stated, and coloured silk is given described in display
The information of ticket and the data of reward sums of money.In such embodiments, the computer program can by communication device from
It is downloaded and installed on network, and/or is mounted from detachable media 311.Performed in the computer program by first processor
When, perform the above-mentioned function of being limited in the method for the embodiment of the present invention.
The embodiment of the present invention additionally provides a kind of server, such as can be personal computer (PC), tablet personal computer etc..Under
Face is with reference to figure 4, and it illustrates suitable for for realizing the structural representation of the server 400 of the embodiment of the present invention.As shown in figure 4,
Server 400 includes one or more second processors, second communication device etc., one or more of second processor examples
Such as:One or more CPU (CPU) 401, and/or one or more image processors (GPU) 413 etc., at second
Reason device can be loaded at random according to the executable instruction being stored in read-only storage (ROM) 402 or from storage part 408
Access the executable instruction in memory (RAM) 403 and perform various appropriate actions and processing.In the present embodiment, second
Read memory 402 and random access storage device 403 is referred to as second memory.Second communication device include communication component 412 and/
Or communication interface 409.Wherein, communication component 412 may include but be not limited to network interface card, and the network interface card may include but be not limited to IB
(Infiniband) network interface card, communication interface 409 include the communication interface of the NIC of LAN card, modem etc.,
Communication interface 409 performs communication process via the network of such as internet.
Second processor can communicate to perform executable finger with read-only storage 402 and/or random access storage device 403
Order, is connected with communication component 412 by the second communication bus 404 and is communicated through communication component 412 with other target devices, from
And complete to operate corresponding to the method any one of provided in an embodiment of the present invention for providing resource, for example, receiving from client
Interaction request;The interaction display information for including being used to obtain the web page interlinkage of resource is sent to the client;From the client
The resource acquisition request that termination packet receiving identifies containing user account;Lottery ticket is given for user's distribution corresponding to user account mark
Information and reward sums of money, and the user account is updated according to the information for giving lottery ticket and reward sums of money
Account corresponding to mark;Resource acquisition response including the information for giving lottery ticket and reward sums of money is sent to described
Client.
In addition, in RAM 403, various programs and data needed for device operation can be also stored with.CPU401 or
GPU413, ROM402 and RAM403 are connected with each other by the second communication bus 404.In the case where there is RAM403, ROM402
For optional module.RAM403 stores executable instruction, or executable instruction is operationally write into ROM402, executable instruction
Make second processor perform corresponding to above-mentioned communication means to operate.Input/output (I/O) interface 405 is also connected to the second communication
Bus 404.Communication component 412 can with integrally disposed, it can also be provided that have multiple submodule (such as multiple IB network interface cards), and
Chained in communication bus.
I/O interfaces 405 are connected to lower component:Importation 406 including keyboard, mouse etc.;Penetrated including such as negative electrode
The output par, c 407 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 408 including hard disk etc.;
And the communication interface 409 of the NIC including LAN card, modem etc..Driver 410 is also according to needing to connect
It is connected to I/O interfaces 405.Detachable media 411, such as disk, CD, magneto-optic disk, semiconductor memory etc., pacify as needed
On driver 410, in order to which the computer program read from it is mounted into storage part 408 as needed.
Need what is illustrated, framework as shown in Figure 4 is only a kind of optional implementation, can root during concrete practice
Selected, deleted, increased or replaced according to the component count amount and type being actually needed to above-mentioned Fig. 4;Set in difference in functionality part
Put, can also use the implementation such as separately positioned or integrally disposed, such as GPU and CPU is separable sets or can be by GPU collection
Into on CPU, communication device is separable to be set, can also be integrally disposed on CPU or GPU, etc..These interchangeable embodiment party
Formula each falls within protection scope of the present invention.
Especially, according to embodiments of the present invention, it is soft to may be implemented as computer for the process above with reference to flow chart description
Part program.For example, the embodiment of the present invention includes a kind of computer program product, it includes being tangibly embodied in computer-readable Jie
Computer program in matter, computer program include the computer program instructions for being used for the method shown in execution flow chart, calculate
Machine programmed instruction may include that corresponding perform instructs corresponding to method and step provided in an embodiment of the present invention, for example, receiving from visitor
The interaction request at family end;The interaction display information for including being used to obtain the web page interlinkage of resource is sent to the client;From institute
State client and receive the resource acquisition request comprising user account mark;Given for user's distribution corresponding to user account mark
The information and reward sums of money of lottery ticket are sent, and the use is updated according to the information for giving lottery ticket and reward sums of money
Account corresponding to the account identification of family;Resource acquisition including the information for giving lottery ticket and reward sums of money is responded and sent
To the client.In such embodiments, the computer program can be downloaded and pacified from network by communication device
Dress, and/or be mounted from detachable media 411.When the computer program is performed by second processor, perform the present invention and implement
The above-mentioned function of being limited in the method for example.
Methods and apparatus of the present invention, equipment may be achieved in many ways.For example, software, hardware, firmware can be passed through
Or any combinations of software, hardware, firmware realize the method and apparatus of the embodiment of the present invention, equipment.Step for method
Rapid said sequence is not limited to described in detail above suitable merely to illustrate, the step of the method for the embodiment of the present invention
Sequence, unless specifically stated otherwise.In addition, in certain embodiments, the present invention can be also embodied as being recorded in record Jie
Program in matter, these programs include being used for the machine readable instructions for realizing method according to embodiments of the present invention.Thus, this hair
Bright also covering storage is used for the recording medium for performing the program of method according to embodiments of the present invention.
The description of the embodiment of the present invention in order to example and description for the sake of and provide, and be not exhaustively or will
The present invention is limited to disclosed form, and many modifications and variations are obvious for the ordinary skill in the art.Choosing
Select and describe embodiment and be to more preferably illustrate the principle and practical application of the present invention, and make one of ordinary skill in the art
It will be appreciated that the present invention is so as to designing the various embodiments with various modifications suitable for special-purpose.
Claims (10)
- A kind of 1. method for providing resource, it is characterised in that methods described includes:The interaction display information for including being used to obtain the web page interlinkage of resource is received from server, and shows the interaction display Information;The operation of the web page interlinkage is opened in response to user, sending the resource comprising user account mark to the server obtains Request is taken, the resource acquisition response of the information for including giving lottery ticket and reward sums of money is received from the server, and is shown Show the information for giving lottery ticket and the data of reward sums of money.
- 2. according to the method for claim 1, it is characterised in that the information for giving lottery ticket is included in following information extremely Few one:The number for giving lottery ticket, time of announcing the winners in a lottery, the information of winning amount.
- 3. method according to claim 1 or 2, it is characterised in that include user account mark being sent to the server Before the resource acquisition request of knowledge, in addition to:The interaction item for inputting user account mark is shown,The resource acquisition request identified according to the input generation of user comprising user account.
- 4. method according to claim 1 or 2, it is characterised in that the interactive display information also includes being used to share institute The interaction item of web page interlinkage is stated,Methods described also includes:In response to operation of the user to the interactive item, the web page interlinkage is shared with what is specified by predetermined mode of sharing Another user, the mode of sharing is instant messaging application, mail, MMS, SMS or proprietary application.
- A kind of 5. method for providing resource, it is characterised in that methods described includes:Receive the interaction request from client;The interaction display information for including being used to obtain the web page interlinkage of resource is sent to the client;The resource acquisition request comprising user account mark is received from the client;The information and reward sums of money of lottery ticket are given for user's distribution corresponding to user account mark, and according to described Give the information of lottery ticket and reward sums of money updates account corresponding to the user account mark;Resource acquisition response including the information for giving lottery ticket and reward sums of money is sent to the client.
- 6. according to the method for claim 5, it is characterised in that the information for giving lottery ticket is included in following information extremely Few one:The number for giving lottery ticket, time of announcing the winners in a lottery, the information of winning amount.
- 7. a kind of terminal device, it is characterised in that the equipment includes:First processor, first memory, the first communication device It is logical by described first with the first communication bus, the first processor, the first memory and first communication device Believe that bus completes mutual communication;The first memory is used to deposit an at least executable instruction, and the executable instruction performs the first processor The operation as corresponding to the method for granting resource according to any one of claims 1 to 4.
- 8. a kind of server, it is characterised in that the server includes:Second processor, second memory, the second communication device It is logical by described second with the second communication bus, the second processor, the second memory and second communication device Believe that bus completes mutual communication;The second memory is used to deposit an at least executable instruction, and the executable instruction performs the second processor Operation corresponding to the method for granting resource as described in claim 5 or 6.
- 9. a kind of computer-readable recording medium, is stored thereon with computer program instructions, wherein, the computer program instructions The step of method of granting resource according to any one of claims 1 to 4 is realized when being executed by processor.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program instructions, wherein, the computer program refers to The step of method of the granting resource described in claim 5 or 6, is realized in order when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710607750.9A CN107403342A (en) | 2017-07-24 | 2017-07-24 | A kind of method, terminal device, server and storage medium for providing resource |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710607750.9A CN107403342A (en) | 2017-07-24 | 2017-07-24 | A kind of method, terminal device, server and storage medium for providing resource |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107403342A true CN107403342A (en) | 2017-11-28 |
Family
ID=60402390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710607750.9A Pending CN107403342A (en) | 2017-07-24 | 2017-07-24 | A kind of method, terminal device, server and storage medium for providing resource |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107403342A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108230163A (en) * | 2018-01-02 | 2018-06-29 | 中国平安人寿保险股份有限公司 | Insurance products promotion method, device, equipment and computer readable storage medium |
CN108717628A (en) * | 2018-05-15 | 2018-10-30 | 腾讯科技(深圳)有限公司 | Electronic ticket sharing method, electronic ticket processing method and computer equipment |
CN109657179A (en) * | 2018-12-07 | 2019-04-19 | 北京奇虎科技有限公司 | A kind of method for processing business, system and storage medium |
CN110827054A (en) * | 2018-08-14 | 2020-02-21 | 北京嘀嘀无限科技发展有限公司 | Order receiving reward processing method and device, reward platform and storage medium |
CN111144953A (en) * | 2019-12-31 | 2020-05-12 | 北京达佳互联信息技术有限公司 | Resource allocation method, device, equipment and medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104680386A (en) * | 2015-02-11 | 2015-06-03 | 腾讯科技(深圳)有限公司 | Virtual article issuing method and issuing device |
CN104867036A (en) * | 2015-05-29 | 2015-08-26 | 成都四透立方科技有限责任公司 | Interests presenting system and method |
CN104966214A (en) * | 2015-06-29 | 2015-10-07 | 百度在线网络技术(北京)有限公司 | Electronic ticket interaction method and device |
CN105100262A (en) * | 2015-08-20 | 2015-11-25 | 孙晖 | Resource distribution method, server and terminal device |
CN105100162A (en) * | 2014-05-19 | 2015-11-25 | 腾讯科技(深圳)有限公司 | Virtual good sending method and device, receiving method and device, and system |
CN105096137A (en) * | 2015-07-01 | 2015-11-25 | 孙晖 | Method for sharing resources, server and terminal device |
CN105530175A (en) * | 2016-01-29 | 2016-04-27 | 腾讯科技(深圳)有限公司 | Message processing method, device and system |
CN106169143A (en) * | 2016-06-29 | 2016-11-30 | 北京奇虎科技有限公司 | The method for down loading of a kind of data and device |
CN106846032A (en) * | 2016-11-24 | 2017-06-13 | 北京小米移动软件有限公司 | Interactive approach, apparatus and system in electric business application program |
CN106875322A (en) * | 2016-12-21 | 2017-06-20 | 乐视控股(北京)有限公司 | A kind of network lottery drawing method and device |
CN106960333A (en) * | 2016-01-08 | 2017-07-18 | 深圳市星电商科技有限公司 | The method and system of shared resource |
-
2017
- 2017-07-24 CN CN201710607750.9A patent/CN107403342A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105100162A (en) * | 2014-05-19 | 2015-11-25 | 腾讯科技(深圳)有限公司 | Virtual good sending method and device, receiving method and device, and system |
CN104680386A (en) * | 2015-02-11 | 2015-06-03 | 腾讯科技(深圳)有限公司 | Virtual article issuing method and issuing device |
CN104867036A (en) * | 2015-05-29 | 2015-08-26 | 成都四透立方科技有限责任公司 | Interests presenting system and method |
CN104966214A (en) * | 2015-06-29 | 2015-10-07 | 百度在线网络技术(北京)有限公司 | Electronic ticket interaction method and device |
CN105096137A (en) * | 2015-07-01 | 2015-11-25 | 孙晖 | Method for sharing resources, server and terminal device |
CN105100262A (en) * | 2015-08-20 | 2015-11-25 | 孙晖 | Resource distribution method, server and terminal device |
CN106960333A (en) * | 2016-01-08 | 2017-07-18 | 深圳市星电商科技有限公司 | The method and system of shared resource |
CN105530175A (en) * | 2016-01-29 | 2016-04-27 | 腾讯科技(深圳)有限公司 | Message processing method, device and system |
CN106169143A (en) * | 2016-06-29 | 2016-11-30 | 北京奇虎科技有限公司 | The method for down loading of a kind of data and device |
CN106846032A (en) * | 2016-11-24 | 2017-06-13 | 北京小米移动软件有限公司 | Interactive approach, apparatus and system in electric business application program |
CN106875322A (en) * | 2016-12-21 | 2017-06-20 | 乐视控股(北京)有限公司 | A kind of network lottery drawing method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108230163A (en) * | 2018-01-02 | 2018-06-29 | 中国平安人寿保险股份有限公司 | Insurance products promotion method, device, equipment and computer readable storage medium |
CN108717628A (en) * | 2018-05-15 | 2018-10-30 | 腾讯科技(深圳)有限公司 | Electronic ticket sharing method, electronic ticket processing method and computer equipment |
CN108717628B (en) * | 2018-05-15 | 2024-05-17 | 腾讯科技(深圳)有限公司 | Electronic ticket sharing method, electronic ticket processing method and computer equipment |
CN110827054A (en) * | 2018-08-14 | 2020-02-21 | 北京嘀嘀无限科技发展有限公司 | Order receiving reward processing method and device, reward platform and storage medium |
CN109657179A (en) * | 2018-12-07 | 2019-04-19 | 北京奇虎科技有限公司 | A kind of method for processing business, system and storage medium |
CN109657179B (en) * | 2018-12-07 | 2024-04-16 | 北京奇虎科技有限公司 | Service processing method, system and storage medium |
CN111144953A (en) * | 2019-12-31 | 2020-05-12 | 北京达佳互联信息技术有限公司 | Resource allocation method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107403342A (en) | A kind of method, terminal device, server and storage medium for providing resource | |
US20210336906A1 (en) | System and method of using conversational agent to collect information and trigger actions | |
CN105306506B (en) | Network advertisement publishing method and network advertisement publishing system | |
CN107424285A (en) | A kind of method, server and storage medium for providing resource | |
US20170250004A1 (en) | Single platform system for multiple jurisdiction lotteries | |
US11159641B2 (en) | Method and system for sharing data between terminals | |
CN110766446A (en) | Method and device for sharing invitation activity of financial product | |
CN108062221B (en) | Processing method and device of software development kit, storage medium and processor | |
CN110023979A (en) | There is provided device and system unknowable e-payment token | |
CN108009822A (en) | A kind of cloud method of payment, system and payment mechanism, user terminal | |
CN106651357A (en) | Method and device for recommending payment mode | |
KR20170113548A (en) | A method and system for gaming revenue | |
WO2018145527A1 (en) | Cross-platform interaction method and device, program, and medium | |
CN110807650A (en) | New financial product user invitation method and system | |
CN110060052A (en) | Interactive approach and device, electronic equipment based on electronic certificate | |
US20170228975A1 (en) | Systems for multiple legal game providers and multiple jurisdictions that provide notifications of lottery ticket status | |
CN105871938B (en) | A kind of virtual resource configuration system, method and device | |
EP1934904A1 (en) | Token trading | |
CN111080342A (en) | Resource allocation method and device, storage medium and electronic device | |
CN108805438A (en) | Method and apparatus for distributing resource, getting resource | |
CN108924036A (en) | Method and apparatus for distributing resource, getting resource | |
CN109670845A (en) | A kind of data resource distribution method and device | |
KR101558131B1 (en) | Method of mediating a donation | |
CN106971298A (en) | Method of payment, system, payment conversion method and payment conversion equipment | |
CN108335208A (en) | Method and apparatus for handling information |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171128 |