CN107944920A - Certificate bag creation method, device, certificate bag get method and device - Google Patents
Certificate bag creation method, device, certificate bag get method and device Download PDFInfo
- Publication number
- CN107944920A CN107944920A CN201711238540.3A CN201711238540A CN107944920A CN 107944920 A CN107944920 A CN 107944920A CN 201711238540 A CN201711238540 A CN 201711238540A CN 107944920 A CN107944920 A CN 107944920A
- Authority
- CN
- China
- Prior art keywords
- certificate
- sub
- bag
- layer
- template identification
- 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
- 238000000034 method Methods 0.000 title claims abstract description 74
- 230000000694 effects Effects 0.000 claims abstract description 240
- 230000005540 biological transmission Effects 0.000 claims abstract description 11
- 238000004891 communication Methods 0.000 claims description 32
- 238000010586 diagram Methods 0.000 description 19
- 230000008569 process Effects 0.000 description 7
- 230000011664 signaling Effects 0.000 description 6
- 230000005611 electricity Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 2
- 239000010931 gold Substances 0.000 description 2
- 229910052737 gold Inorganic materials 0.000 description 2
- 238000003287 bathing Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
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
- 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/0221—Re-usable coupons
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Strategic Management (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 invention discloses a kind of certificate bag creation method, device, certificate bag to get method and device.Wherein, the certificate bag creation method includes:Electronic ticket attribute information according to N number of electronic ticket creates N number of sub- certificate template for including sub- certificate template identification;The main certificate template for including main certificate template identification is created according to N number of sub- certificate template identification;Main certificate template identification is associated with certificate bag marketing activity mark, obtain certificate bag, by the way that N number of sub- certificate template is associated, it is at the same time that main certificate template is associated with sub- certificate template, easy to the subsequently management to electronic ticket, in addition, since main certificate template identification being associated with certificate bag marketing activity mark, obtain certificate bag, when getting electronic ticket, multiple electronic tickets can be got by enabling to user once to get button by click, electronic ticket is got one by one without user, overcome and excessively take the resource of server-side due to repeatedly getting request to server-side transmission, the problem of causing the server-side wasting of resources.
Description
Technical field
The present invention relates to technical field of data processing, and in particular to a kind of certificate bag creation method, device, certificate bag get method
And device.
Background technology
With the development of Internet technology and mobile terminal technology, more and more trade companies pass through the Internet electronic ticket
To user, user is directly consumed or is obtained using electronic ticket and is preferential during enjoying businessman and providing service.Electronics
Certificate refers to by each merchant issued, the commercial certificate made in the form of various electronic medias, propagated and use.Electronic ticket includes:It is existing
Gold note, minimum price certificate, deduction certificate, such as coupons, red packet, reward voucher.At present, electronic ticket by more and more users receive and
Use.
In the prior art, for the businessman for having hair certificate demand, server-side needs the hair certificate activity initiated for each businessman
An electronic ticket is created, each electronic ticket created is separate and has no associated, and electronic ticket just so occurs not
Easy to the phenomenon of management, and the money of server-side is excessively taken due to largely getting request to server-side transmission when getting
Source, causes the situation of the server-side wasting of resources.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least in part
Certificate bag creation method, device, the certificate bag for stating problem get method and device.
According to an aspect of the invention, there is provided a kind of certificate bag creation method, including:
Electronic ticket attribute information according to N number of electronic ticket creates N number of sub- certificate template for including sub- certificate template identification;
The main certificate template for including main certificate template identification is created according to N number of sub- certificate template identification;
Main certificate template identification is associated with certificate bag marketing activity mark, obtains certificate bag.
Alternatively, the electronic ticket attribute information according to N number of electronic ticket creates N number of sub- certificate template for including sub- certificate template identification
Further comprise:
Marketing activity layer recursive call certificate layer n times, point n times send the sub- certificate mould for carrying electronic ticket attribute information to certificate layer
Plate request to create;
Certificate layer electronic ticket attribute information according to received by each creates the sub- certificate template for including sub- certificate template identification, and will
Sub- certificate template identification is sent to marketing activity layer.
Alternatively, the electronic ticket attribute information according to N number of electronic ticket creates N number of sub- certificate template for including sub- certificate template identification
Further comprise:
Marketing activity layer calls certificate layer once, and the sub- certificate template wound for carrying N number of electronic ticket attribute information is sent to certificate layer
Build request;
Certificate layer creates the sub- certificate template for including sub- certificate template identification according to each electronic ticket attribute information respectively, and will be N number of
Sub- certificate template identification is sent to marketing activity layer.
Alternatively, the main certificate template comprising main certificate template identification is created according to N number of sub- certificate template identification to further comprise:
Marketing activity layer sends the main certificate template establishment request for carrying N number of sub- certificate template identification to certificate layer;
Certificate layer creates the main certificate template for including main certificate template identification according to N number of sub- certificate template identification, and by main certificate template mark
Knowledge is back to marketing activity layer.
Alternatively, N number of sub- certificate mould for including sub- certificate template identification is created in the electronic ticket attribute information according to N number of electronic ticket
Before plate, method further includes:
Interface layer receives the certificate bag marketing activity request to create that trade company end is sent, and certificate bag marketing activity request to create is turned
Marketing activity layer is issued, wherein, certificate bag marketing activity request to create includes:Electronic ticket attribute information, the certificate Bao Ying of N number of electronic ticket
Sell action message;
Marketing activity layer is marketed according to the generation of certificate bag marketing activity request to create comprising the certificate bag that the marketing activity of certificate bag identifies
Activity.
Alternatively, certificate bag marketing activity request to create further includes:Certificate bag quantity;
Main certificate template identification is being associated with certificate bag marketing activity mark, after obtaining certificate bag, method further includes:Marketing is lived
Dynamic layer sends main certificate template identification and certificate bag quantity to budget layer;
Main certificate template identification and certificate bag quantity associated storage are returned to certificate by budget layer to budget list, and to marketing activity layer
Bag marketing activity creates successful notification message, wherein, each main certificate template identification is associated with corresponding budget.
Alternatively, method further includes:Marketing activity layer will carry main certificate template identification and certificate Bao Ying according to notification message
The certificate bag of pin activity mark is back to trade company end.
Alternatively, electronic ticket attribute information includes the one or more in following information:Electronic ticket type, use condition,
It is applicable in shops, the preferential amount of money, commodity details, use time, operation instruction;
Certificate bag marketing activity information includes the one or more in following information:Certificate bag marketing activity mark, the activity time,
Send out certificate type, pictorial information.
According to another aspect of the present invention, there is provided a kind of certificate bag gets method, including:
The certificate bag sent according to user terminal gets the main certificate template identification in request, and inquiry is associated with main certificate template identification
N number of sub- certificate template identification;
Got according to N number of sub- certificate template identification and certificate bag and request to generate N number of sub- certificate example, and N number of sub- certificate example is sent
To user terminal.
Alternatively, the certificate bag sent according to user terminal gets the main certificate template identification in request, inquiry and main certificate template mark
Know associated N number of sub- certificate template identification to further comprise:
Marketing activity layer gets request according to the certificate bag that user terminal is sent, and sending sub- certificate template identification inquiry to certificate layer please
Ask, wherein, certificate bag, which gets request, to be included:Main certificate template identification and user information, inquiry request include:Main certificate template identification;
Certificate layer is according to the inquiry of main certificate template identification and the associated N number of sub- certificate template identification of main certificate template identification, and by N number of son
Certificate template identification is back to marketing activity layer;
Got according to N number of sub- certificate template identification and certificate bag and request to generate N number of sub- certificate example and further comprise:
Marketing activity layer recursive call certificate layer n times, point n times send sub- certificate to certificate layer and get request, wherein, sub- certificate is got please
Ask including:One sub- certificate template identification and user information;
Sub- the certificate template identification and user information that certificate layer is sent according to marketing activity layer every time generate sub- certificate example, by sub- certificate
Example is sent to user terminal, and is returned to sub- certificate to marketing activity layer and got successful notification message.
Alternatively, the certificate bag sent according to user terminal gets the main certificate template identification in request, inquiry and main certificate template mark
Know associated N number of sub- certificate template identification to further comprise:
Interface layer receives the certificate bag that user terminal is sent and gets request, and certificate bag is got request and is forwarded to marketing activity layer;
Marketing activity layer gets request according to the certificate bag that user terminal is sent, and sending sub- certificate template identification inquiry to certificate layer please
Ask, wherein, certificate bag, which gets request, to be included:Main certificate template identification and user information, inquiry request include:Main certificate template identification;
Certificate layer is according to the inquiry of main certificate template identification and the associated N number of sub- certificate template identification of main certificate template identification, and by N number of son
Certificate template identification is back to user terminal.
Alternatively, got according to N number of sub- certificate template identification and certificate bag and request to generate N number of sub- certificate example and further comprise:
User terminal sends N number of sub- certificate template identification and user information to interface layer, interface layer divides N by marketing activity layer
Secondary calling certificate layer, certificate layer divides n times to generate N number of sub- certificate example according to sub- certificate template identification and user information, and passes through marketing activity
Layer returns to sub- certificate to interface layer and gets successful notification message.
Alternatively, got according to N number of sub- certificate template identification and certificate bag and request to generate N number of sub- certificate example and further comprise:
User terminal recursive call interface layer n times, every time send sub- a certificate template identification and user information to interface layer,
Interface layer calls certificate layer by marketing activity layer, and certificate layer generates sub- certificate example according to sub- certificate template identification and user information, and leads to
Cross marketing activity layer and get successful notification message to the sub- certificate of interface layer return.
According to another aspect of the invention, there is provided a kind of certificate bag creating device, including:
Certificate layer, suitable for creating N number of sub- certificate mould for including sub- certificate template identification according to the electronic ticket attribute information of N number of electronic ticket
Plate;And the main certificate template for including main certificate template identification is created according to N number of sub- certificate template identification;
Marketing activity layer, suitable for main certificate template identification is associated with certificate bag marketing activity mark, obtains certificate bag.
Alternatively, marketing activity layer is further adapted for:Recursive call certificate layer n times, point n times send to certificate layer and carry electronics
The sub- certificate template establishment request of certificate attribute information;
Certificate layer is further adapted for:Electronic ticket attribute information creates the son for including sub- certificate template identification according to received by each
Certificate template, and sub- certificate template identification is sent to marketing activity layer.
Alternatively, marketing activity layer is further adapted for:Call certificate layer once, sent to certificate layer and carry N number of electronic ticket category
Property information sub- certificate template establishment request;
Certificate layer is further adapted for:The sub- certificate mould for including sub- certificate template identification is created according to each electronic ticket attribute information respectively
Plate, and N number of sub- certificate template identification is sent to marketing activity layer.
Alternatively, marketing activity layer is further adapted for:The main certificate template for carrying N number of sub- certificate template identification is sent to certificate layer
Request to create;
Certificate layer is further adapted for:The main certificate template for including main certificate template identification is created according to N number of sub- certificate template identification, and will
Main certificate template identification is back to marketing activity layer.
Alternatively, device further includes:Interface layer, suitable for receiving the certificate bag marketing activity request to create that trade company end is sent, and
Certificate bag marketing activity request to create is transmitted to marketing activity layer, wherein, certificate bag marketing activity request to create includes:N number of electronics
The electronic ticket attribute information of certificate, certificate bag marketing activity information;
Marketing activity layer is further adapted for:Identified according to the generation of certificate bag marketing activity request to create comprising the marketing activity of certificate bag
Certificate bag marketing activity.
Alternatively, certificate bag marketing activity request to create further includes:Certificate bag quantity;
Device further includes:Budget layer;
Marketing activity layer is further adapted for:Main certificate template identification and certificate bag quantity are sent to budget layer;
Budget layer, suitable for by main certificate template identification and certificate bag quantity associated storage to budget list, and to marketing activity layer
Return to the marketing activity of certificate bag and create successful notification message, wherein, each main certificate template identification is associated with corresponding budget.
Alternatively, marketing activity layer is further adapted for:Main certificate template identification and certificate Bao Ying will be carried according to notification message
The certificate bag of pin activity mark is back to trade company end.
Alternatively, electronic ticket attribute information includes the one or more in following information:Electronic ticket type, use condition,
It is applicable in shops, the preferential amount of money, commodity details, use time, operation instruction;
Certificate bag marketing activity information includes the one or more in following information:Certificate bag marketing activity mark, the activity time,
Send out certificate type, pictorial information.
According to another aspect of the invention, there is provided a kind of certificate bag gets device, including:
Certificate layer, the certificate bag suitable for being sent according to user terminal get the main certificate template identification in request, inquiry and main certificate template
Identify associated N number of sub- certificate template identification;And got according to N number of sub- certificate template identification and certificate bag and request to generate N number of sub- certificate reality
Example, and N number of sub- certificate example is sent to user terminal.
Alternatively, device further includes:Marketing activity layer, the certificate bag suitable for being sent according to user terminal gets request, to certificate layer
Sub- certificate template identification inquiry request is sent, wherein, certificate bag, which gets request, to be included:Main certificate template identification and user information, inquiry please
Ask including:Main certificate template identification;
Certificate layer is further adapted for:According to the inquiry of main certificate template identification and the associated N number of sub- certificate template mark of main certificate template identification
Know, and N number of sub- certificate template identification is back to marketing activity layer;
Marketing activity layer is further adapted for:Recursive call certificate layer n times, point n times send sub- certificate to certificate layer and get request, its
In, sub- certificate, which gets request, to be included:One sub- certificate template identification and user information;
Certificate layer is further adapted for:Sub- the certificate template identification and user information sent every time according to marketing activity layer generates sub- certificate
Example, sub- certificate example is sent to user terminal, and is returned to sub- certificate to marketing activity layer and got successful notification message.
Alternatively, device further includes:Interface layer, the certificate bag sent suitable for receiving user terminal gets request, and certificate bag is led
Request is taken to be forwarded to marketing activity layer;
Marketing activity layer is further adapted for:The certificate bag sent according to user terminal gets request, and sub- certificate template is sent to certificate layer
Inquiry request is identified, wherein, certificate bag, which gets request, to be included:Main certificate template identification and user information, inquiry request include:Main certificate mould
Panel sign;
Certificate layer is further adapted for:According to the inquiry of main certificate template identification and the associated N number of sub- certificate template mark of main certificate template identification
Know, and N number of sub- certificate template identification is back to user terminal.
Alternatively, interface layer is further adapted for:N number of sub- certificate template identification and user information that user terminal is sent are received, and
N times are divided to call certificate layer by marketing activity layer, point n times send sub- certificate to certificate layer and get request;
Certificate layer is further adapted for:Divide n times to generate N number of sub- certificate example according to sub- certificate template identification and user information, and pass through
Marketing activity layer returns to sub- certificate to interface layer and gets successful notification message.
Alternatively, interface layer is further adapted for:Receive user terminal and divide sub- the certificate template identification and user information of n times, and lead to
Cross marketing activity layer and call certificate layer, point n times send sub- certificate to certificate layer and get request;
Certificate layer is further adapted for:Sub- certificate example is generated according to sub- certificate template identification and user information, and passes through marketing activity
Layer returns to sub- certificate to interface layer and gets successful notification message.
According to another aspect of the invention, there is provided a kind of computing device, including:Processor, memory, communication interface and
Communication bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
The memory is used to store an at least executable instruction, and it is above-mentioned that the executable instruction performs the processor
The corresponding operation of certificate bag creation method.
In accordance with a further aspect of the present invention, there is provided a kind of computer-readable storage medium, be stored with the storage medium to
A few executable instruction, the executable instruction make processor perform such as the corresponding operation of above-mentioned certificate bag creation method.
According to another aspect of the invention, there is provided a kind of computing device, including:Processor, memory, communication interface and
Communication bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
The memory is used to store an at least executable instruction, and it is above-mentioned that the executable instruction performs the processor
Certificate bag gets the corresponding operation of method.
In accordance with a further aspect of the present invention, there is provided a kind of computer-readable storage medium, be stored with the storage medium to
A few executable instruction, the executable instruction make processor perform as above-mentioned certificate bag gets the corresponding operation of method.
The scheme provided according to the present invention, N number of son for including sub- certificate template identification is being created according to electronic ticket attribute information
After certificate template, the main certificate template for including main certificate template identification is created according to N number of sub- certificate template identification, can be by N number of sub- certificate mould
Plate associates, while main certificate template is associated with sub- certificate template, easy to the subsequently management to electronic ticket, further, since will
Main certificate template identification is associated with certificate bag marketing activity mark, is obtained certificate bag, when getting electronic ticket, is enabled to user to pass through
Button is once got in click can get multiple electronic tickets, get electronic ticket one by one without user, overcome due to multiple
The problem of getting request and excessively taking the resource of server-side, cause the server-side wasting of resources is sent to server-side.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area
Technical staff will be clear understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole attached drawing, identical component is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows the flow diagram of certificate bag creation method according to an embodiment of the invention;
Fig. 2 shows the signaling diagram of existing certificate bag creation method;
Fig. 3 shows the signaling diagram of certificate bag creation method according to an embodiment of the invention;
Fig. 4 shows that certificate bag according to an embodiment of the invention gets the flow diagram of method;
Fig. 5 shows that existing certificate bag gets the signaling diagram of method;
Fig. 6 shows that certificate bag according to an embodiment of the invention gets the signaling diagram of method;
Fig. 7 shows the interface schematic diagram for the certificate bag that user terminal is got;
Fig. 8 shows the structure diagram of certificate bag creating device according to an embodiment of the invention;
Fig. 9 shows that certificate bag according to an embodiment of the invention gets the structure diagram of device;
Figure 10 shows the structure diagram of computing device according to an embodiment of the invention;
Figure 11 shows the structure diagram of computing device in accordance with another embodiment of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Fig. 1 shows the flow diagram of certificate bag creation method according to an embodiment of the invention.As shown in Figure 1, should
Method comprises the following steps:
Step S100, the electronic ticket attribute information according to N number of electronic ticket create N number of sub- certificate mould for including sub- certificate template identification
Plate.
Wherein, electronic ticket attribute information is the description information of some electronic tickets, is the explanation to the characteristic of electronic ticket,
Wherein, electronic ticket attribute information includes the one or more in following information:Electronic ticket type, use condition, be applicable in shops, be excellent
The favour amount of money, commodity details, use time, operation instruction, wherein, electronic ticket type can include:Coupons, coupons, red packet
Deng being merely illustrative of here, without any restriction effect.
Sub- certificate template is the carrier of electronic ticket attribute information, be according to electronic ticket attribute information and generate, it is specified that electricity
Preferential and some restrictive conditions of sub- certificate when in use;In addition, the sub- certificate template can not be checked and write off, i.e. without reality
The function of consumption.
Specifically, the electronic ticket attribute information of N number of electronic ticket can be that trade company end provides, for example, businessman can be in business
Family end inputs the electronic ticket attribute information of N number of electronic ticket, and businessman triggers the trigger button for creating certificate bag, you can thinks to have submitted N
The electronic ticket attribute information of a electronic ticket, can be respectively according to each after the electronic ticket attribute information of N number of electronic ticket is got
The electronic ticket attribute information of electronic ticket creates sub- certificate template, wherein, which includes sub- certificate template identification, finally obtain
N number of sub- certificate template for including sub- certificate template identification.
Step S101, the main certificate template for including main certificate template identification is created according to N number of sub- certificate template identification.
Although having obtained N number of sub- certificate template in the step s 100, N number of sub- certificate template or mutually independent, in order to
User only once gets button by clicking on when realization is got, you can gets the effect of multiple electronic tickets, needs exist for N number of son
Certificate template associates, and can specifically be realized by creating main certificate template by N number of sub- certificate template association, wherein, main certificate template master
It is used to associate N number of sub- certificate template, which preserves the sub- certificate template identification of N number of sub- certificate template, also achieves main certificate
Template identification is associated with N number of sub- certificate template identification, which is not the certificate template on practical significance, that is to say, that
Main certificate template is not as sub- certificate template and equally carries electronic ticket attribute information, is virtual certificate template, and user oriented is not shown.
Step S102, main certificate template identification is associated with certificate bag marketing activity mark, obtains certificate bag.
Certificate bag refers to is combined into a bag by multiple electronic tickets, which can include the preferential activity of multiple businessmans, separately
Outside, multiple electronic tickets in the certificate bag share a budget, rather than each corresponding a budget of each electronic ticket in the prior art,
Nor mutually independent multiple electronic tickets are simply assembled into a certificate bag in the prior art, and show user is one
Each and every one certificate list.
Certificate bag marketing activity is a kind of activity that hair certificate is carried out with certificate packet form, and certificate bag is passed to user by activity,
Each certificate bag marketing activity has unique certificate bag marketing activity to identify, for distinguishing multiple certificate bag marketing activities.
Specifically, a certificate bag marketing activity corresponds to a certificate template, i.e. the marketing activity of certificate bag is one a pair of with certificate template
Answer, therefore, can be by main certificate after the main certificate template comprising main certificate template identification is created according to N number of sub- certificate template identification
Template identification is associated with certificate bag marketing activity mark, obtains certificate bag.
The method that above-described embodiment provides according to the present invention, N number of sub- certificate mould is included being created according to electronic ticket attribute information
After the sub- certificate template of panel sign, the main certificate template for including main certificate template identification is created according to N number of sub- certificate template identification, can be incited somebody to action
N number of sub- certificate template associates, while main certificate template is associated with sub- certificate template, easy to the subsequently management to electronic ticket, separately
Outside, since main certificate template identification being associated with certificate bag marketing activity mark, certificate bag is obtained, when getting electronic ticket, can be made
User once gets button and can get multiple electronic tickets by clicking on, get electronic ticket one by one without user, overcome
Get request due to repeatedly being sent to server-side and excessively take the resource of server-side, cause asking for the server-side wasting of resources
Topic.
Existing certificate bag creation method is generally by the independent electronic ticket created one by one, then by multiple electronic ticket groups
Certificate bag is dressed up, in the certificate bag, each electronic ticket is mutually independent, each corresponding a budget of each electronic ticket, Er Qiesuo
Show user is a certificate list, and user, which needs to click in turn, gets multiple electronic tickets, although as shown in Fig. 2, existing
Multiple electronic tickets can be assembled into certificate bag by certificate bag creation method, but for a user, not to user bring it is any just
Profit, for server-side, the problem of still being not easy to manage there are electronic ticket.
And certificate bag creation method provided in an embodiment of the present invention can not only be managed electronic ticket easy to server-side, also
User is facilitated to get electronic ticket, specifically, certificate bag creation method provided in an embodiment of the present invention specifically can be in following scene
Middle application, for example, several businessmans in same commercial circle, which combine, initiates certificate bag marketing activity, in this way, certificate bag can be formed,
The activity of several businessmans is covered in a certificate bag;In another example can be according to the geographical location of user, will be using the position in
The heart, radius are covered in a certificate bag for the activity of movable in several commercial circles in pre-determined distance or several trade companies;Example again
Such as, it can be that operation platform re-starts processing according to the preferential activity of businessman, generate certificate bag.Below will by N be equal to 3 exemplified by,
The concrete application method for creating a certificate bag comprising 3 electronic tickets is discussed in detail:
Fig. 3 shows the signaling diagram of certificate bag creation method according to an embodiment of the invention, as shown in figure 3, this method
Comprise the following steps:
Step S300, interface layer receive the certificate bag marketing activity request to create that trade company end is sent, and by certificate bag marketing activity
Request to create is transmitted to marketing activity layer.
Specifically, trade company or other platforms for having initiation certificate bag marketing activity can pass through provided certificate bag marketing and live
The dynamic electronic ticket attribute information and certificate bag marketing activity information for creating 3 electronic tickets of page editing, is carried by triggering establishment button
Certificate bag marketing activity request to create is handed over, i.e., the operation that trade company clicks on establishment button is to be considered as trade company end to have sent certificate bag marketing activity
Request to create.
Interface layer receives the certificate bag marketing activity request to create that trade company end is sent, and forwards the request to marketing activity
Layer, wherein, certificate bag marketing activity request to create includes:The electronic ticket attribute information of 3 electronic tickets, certificate bag marketing activity information,
Electronic ticket attribute information includes the one or more in following information:Electronic ticket type, use condition, be applicable in shops, preferential gold
Volume, commodity details, use time, operation instruction;Certificate bag marketing activity information includes the one or more in following information:Certificate bag
Marketing activity mark, activity time, hair certificate type, pictorial information, wherein, the activity time includes the movable time started with the end of
Between.
Step S301, marketing activity layer are identified according to the generation of certificate bag marketing activity request to create comprising the marketing activity of certificate bag
Certificate bag marketing activity.
Marketing activity layer, will be according in certificate bag marketing activity request to create after certificate bag marketing activity request to create is received
Certificate bag marketing activity information generation certificate bag marketing activity, the certificate bag marketing activity include the marketing activity of certificate bag mark, wherein, certificate
Bag marketing activity mark can be movable ID, and each certificate bag marketing activity has unique certificate bag marketing activity to identify, for area
Divide multiple certificate bag marketing activities.
Step S302, marketing activity layer recursive call certificate layer 3 times, divides 3 times and carries electronic ticket attribute letter to the transmission of certificate layer
The sub- certificate template establishment request of breath.
In embodiments of the present invention, marketing activity layer will call certificate layer 3 times, and be created every time to the sub- certificate template that certificate layer is sent
Build in request and only carry the electronic ticket attribute information of an electronic ticket, that is to say, that marketing activity layer needs repeatedly to call certificate
Layer, repeatedly sends sub- certificate template establishment to certificate layer and asks.Specifically, marketing activity layer can receive the sub- certificate of certificate layer return
After template identification, then send follow-up sub- certificate template establishment to certificate layer and ask.
Step S303, certificate layer electronic ticket attribute information according to received by each create the sub- certificate for including sub- certificate template identification
Template, and sub- certificate template identification is sent to marketing activity layer.
Certificate layer is after sub- certificate template establishment request is received, entrained electronics in being asked according to sub- certificate template establishment
Certificate attribute information creates sub- certificate template, and every sub- certificate template is all comprising unique sub- certificate template identification, for distinguishing more height
Certificate template, in addition, sub- certificate template includes the electronic ticket attribute information that trade company is edited, user is limited using electronic ticket
It is fixed, such as limit electronic ticket use shops, the service life of electronic ticket, the preferential amount of money etc..Certificate layer is included in establishment
After the sub- certificate template of sub- certificate template identification, it is also necessary to sub- certificate template identification is sent to marketing activity layer, marketing activity layer can
After the sub- certificate template identification that certificate layer is sent is received, to call certificate layer again, sent to certificate layer and carry electronic ticket attribute information
Sub- certificate template establishment request.
For example, it is respectively sub- certificate 1, sub- certificate 2, sub- certificate 3 to define 3 electronic tickets, then marketing activity layer can be first to certificate
Layer sends the sub- certificate template establishment request for creating sub- 1 template of certificate, and the electronic ticket attribute information of sub- certificate 1, certificate are carried in the request
Upon receiving the request, the electronic ticket attribute information of the sub- certificate 1 in request creates sub- 1 template of certificate to layer, and by sub- 1 mould of certificate
Panel sign is back to marketing activity layer, and marketing activity layer sends to certificate layer after sub- 1 template identification of certificate is received and creates sub- certificate 2
The sub- certificate template establishment request of template, carries the electronic ticket attribute information of sub- certificate 2 in the request, certificate layer is receiving the request
Afterwards, the electronic ticket attribute information of the sub- certificate 2 in request creates sub- 2 template of certificate, and sub- 2 template identification of certificate is back to marketing
Mobile layer, marketing activity layer send the sub- certificate template wound for creating sub- 3 template of certificate to certificate layer after sub- 2 template identification of certificate is received
Build request, carry the electronic ticket attribute information of sub- certificate 3 in the request, certificate layer upon receiving the request, according in request
The electronic ticket attribute information of sub- certificate 3 creates sub- 3 template of certificate, and sub- 3 template identification of certificate is back to marketing activity layer, marketing activity
Layer is receiving sub- 3 template identification of certificate, then assert that 3 sub- certificate templates have created completion, can carry out subsequent treatment.
Step S304, marketing activity layer send the main certificate template establishment request for carrying 3 sub- certificate template identifications to certificate layer.
Marketing activity layer will send main certificate template to certificate layer and create after 3 sub- certificate template identifications of certificate layer return are received
Request is built, 3 sub- certificate template identifications are carried in the main certificate template establishment request, by creating main certificate template by 3 electronic tickets
Associate.
Step S305, certificate layer create the main certificate template for including main certificate template identification according to 3 sub- certificate template identifications, and will be main
Certificate template identification is back to marketing activity layer.
Although having obtained 3 sub- certificate templates in step S303,3 sub- certificate templates or mutually independent, in order to
User only once gets button by clicking on when realization is got, you can gets the effect of multiple electronic tickets, needs exist for 3 sons
Certificate template associates, and specifically, certificate layer can create one according to 3 sub- certificate template identifications and preserve all sub- certificate template marks
The main certificate template known, and main certificate template identification is back to marketing activity layer.
Step S306, marketing activity layer associate main certificate template identification with certificate bag marketing activity mark, obtain certificate bag.
Specifically, a certificate bag marketing activity corresponds to a certificate template, i.e. the marketing activity of certificate bag is one a pair of with certificate template
Answer, once get button in order to realize to click on and can get the effect of whole electronic tickets, it is necessary to by main certificate template identification and certificate
Bag marketing activity mark association, obtains certificate bag.
Step S307, marketing activity layer send main certificate template identification and certificate bag quantity to budget layer.
Trade company end can consider the certificate bag that this certificate bag marketing activity needs are provided when carrying out certificate bag marketing activity
Quantity, for example, setting this activity needs to provide 100 certificate bags, the quantity for the certificate bag provided for the ease of subsequent statistical, keeps away
To exempt from provided certificate bag quantity and exceed setting quantity, budget layer needs to store corresponding main certificate template identification and certificate bag quantity, with
Easy to subsequently be reduced to certificate bag quantity, specifically, marketing activity layer sends main certificate template identification and certificate bag quantity to pre-
Calculate layer, for budget layer to it is follow-up get certificate bag when reduce.
Step S308, budget layer live main certificate template identification and certificate bag quantity associated storage to budget list, and to marketing
Dynamic layer returns to the marketing activity of certificate bag and creates successful notification message, wherein, each main certificate template identification is related with corresponding budget
Connection.
For the ease of being reduced when subsequently getting certificate bag to certificate bag quantity, budget layer needs send marketing activity layer
Main certificate template identification and certificate bag quantity associated storage are to budget list, so when carrying out subsequently getting operation, according to main certificate mould
Panel sign can carry out reducing processing, in embodiments of the present invention, often in finding corresponding certificate bag quantity to certificate bag quantity
A main certificate template identification is associated with corresponding budget, i.e., each main certificate template identification corresponds to a budget, and whole certificate bag is shared
A budget, budget layer is after by main certificate template identification and certificate bag quantity associated storage to budget list, to marketing activity layer
Return to the marketing activity of certificate bag and create successful notification message, so that marketing activity layer will carry main certificate template according to notification message
The certificate bag of mark and certificate bag marketing activity mark is back to trade company end.
Step S309, marketing activity layer will carry main certificate template identification according to notification message and the marketing activity of certificate bag identifies
Certificate bag be back to trade company end.
Specifically, marketing activity layer will carry what main certificate template identification and the marketing activity of certificate bag identified according to notification message
Certificate bag is back to interface layer, and certificate bag is back to trade company end by interface layer.
In a kind of optional embodiment of the present invention, marketing activity layer is receiving the certificate bag marketing activity of interface layer forwarding
After request to create, the sub- certificate template wound for carrying N number of electronic ticket attribute information can be sent to certificate layer by calling certificate layer once
Request is built, i.e., by once calling, N number of electronic ticket attribute information is sent to certificate layer;Certificate layer is respectively according to each electronic ticket attribute
Information creating includes the sub- certificate template of sub- certificate template identification, and N number of sub- certificate template identification is sent to marketing activity layer.
The method that above-described embodiment provides according to the present invention, in the certificate bag marketing activity request to create sent according to trade company end
Electronic ticket attribute information create the N number of sub- certificate template for include sub- certificate template identification, included according to N number of sub- certificate template identification establishment
The main certificate template of main certificate template identification, can associate N number of sub- certificate template, while main certificate template is related to sub- certificate template
Connection, easy to the subsequently management to electronic ticket, further, since main certificate template identification is associated with certificate bag marketing activity mark, obtains
Certificate bag, when getting electronic ticket, multiple electronic tickets, nothing can be got by enabling to user once to get button by click
Need user to get electronic ticket one by one, solve and excessively take the money of server-side due to repeatedly getting request to server-side transmission
Source, the problem of causing the server-side wasting of resources.
Fig. 4 shows that certificate bag according to an embodiment of the invention gets the flow diagram of method.As shown in figure 4, should
Method comprises the following steps:
Step S400, the certificate bag sent according to user terminal get the main certificate template identification in request, inquiry and main certificate template
Identify associated N number of sub- certificate template identification.
When user wants to get certificate bag, it can get button by click on that user terminal shows and get certificate bag, user
Click on and get the operation of button and be considered as user terminal and have sent certificate bag and get request, which gets ask in carry main certificate mould
Panel sign, since main certificate template is stored with N number of sub- certificate template identification, correspondence can be inquired according to the main certificate template identification
Main certificate template, and then the N number of sub- certificate template identification associated with main certificate template identification can be inquired.
Step S401, gets according to N number of sub- certificate template identification and certificate bag and requests to generate N number of sub- certificate example, and by N number of sub- certificate
Example is sent to user terminal.
In embodiments of the present invention, user gets certificate bag and is to be able to obtain the electronics that can really can be used
Certificate, therefore, inquire with after the associated N number of sub- certificate template identification of main certificate template identification, it is also necessary to according to N number of sub- certificate template mark
Know and certificate bag is got and requests to generate N number of sub- certificate example, wherein, sub- certificate example is according to sub- certificate template generation, is really to use
The electronic ticket that family can use, in the electronic ticket that user will be written off after, after N number of sub- certificate example is generated, it is also necessary to by N
A sub- certificate example is sent to user terminal, is got in this way, completing certificate bag.
The method that above-described embodiment provides according to the present invention, the certificate bag sent according to user terminal get the main certificate mould in request
Panel sign, inquiry and the associated N number of sub- certificate template identification of main certificate template identification, get according to N number of sub- certificate template identification and certificate bag
N number of sub- certificate example is requested to generate, and N number of sub- certificate example is sent to user terminal, can be got by once getting operation
Multiple electronic tickets in certificate bag, reduce the number for being sent to server-side and getting request, alleviate the pressure of server-side.
Existing certificate bag get method be usually to user show a certificate list, user need to click in turn get it is multiple
Electronic ticket, although as shown in figure 5, showing user with certificate packet form, also needing to user, repeatedly button, user are got in click
It is cumbersome, and frequently largely sent to server-side and get request, the resource of server-side can be excessively taken, causes server-side
The situation of the wasting of resources, also easily causes service end pressure excessive.
Below by exemplified by getting a certificate bag comprising 3 electronic tickets, the concrete application side for getting certificate bag is discussed in detail
Method:
Fig. 6 shows that certificate bag according to an embodiment of the invention gets the signaling diagram of method.As shown in fig. 6, this method
Comprise the following steps:
Step S600, interface layer receives the certificate bag that user terminal is sent and gets request, and certificate bag is got request and is forwarded to battalion
Sell mobile layer.
User gets button by clicking on getting for user terminal displaying in the page, sending certificate bag to server-side gets request,
Interface layer receives the certificate bag that user terminal is sent and gets request, and certificate bag is got request and is forwarded to marketing activity layer.
Step S601, marketing activity layer get request according to the certificate bag that user terminal is sent, and sub- certificate template mark is sent to certificate layer
Know inquiry request, wherein, certificate bag, which gets request, to be included:Main certificate template identification and user information, inquiry request include:Main certificate template
Mark.
The certificate bag that user terminal is sent, which is got in request, includes main certificate template identification and user information, wherein, user information
Time, user identifier etc. are got including user, for the preferential activity there is provided the term of validity, different user gets the time
Difference, the electronic ticket term of validity is different, for example, a businessman provides that the term of validity of electronic ticket is that have from user gets in ten days
Effect, if it is on November 23rd, 2017 that user A, which gets the time, electronic ticket expiration time is on December 2nd, 2017;If user B is led
It is on November 15th, 2017 to take the time, then electronic ticket expiration time is on November 24th, 2017.
Marketing activity layer sends to certificate layer after main certificate template identification and user information is received and carries main certificate template mark
The sub- certificate template identification inquiry request known, to obtain and the relevant sub- certificate template identification of main certificate template identification.
Step S602, certificate layer is inquired about according to main certificate template identification and associated 3 sub- certificate template identifications of main certificate template identification,
And 3 sub- certificate template identifications are back to marketing activity layer.
Certificate layer is after sub- certificate template identification inquiry request is received, the inquiry of main certificate template identification and master in the request
Inquire 3 sub- certificate template identifications are back to marketing activity layer by associated 3 sub- certificate template identifications of certificate template identification.
Step S603, marketing activity layer recursive call certificate layer 3 times, divides 3 times and gets request to the sub- certificate of certificate layer transmission, wherein,
Sub- certificate, which gets request, to be included:One sub- certificate template identification and user information.
Step S604, it is real that sub- the certificate template identification and user information that certificate layer is sent according to marketing activity layer every time generate sub- certificate
Example, sub- certificate example is sent to user terminal, and is returned to sub- certificate to marketing activity layer and got successful notification message.
After 3 sub- certificate template identifications of certificate layer return are got, marketing activity layer can divide 3 calling certificate layers, every time
Sub- a certificate template identification and user information are sent to certificate layer so that certificate layer generates son according to sub- certificate template identification and user information
Certificate example, the sub- certificate example are generated according to the corresponding sub- certificate template of sub- certificate template identification and user information, and certificate layer is generating
Sub- certificate example is sent to user terminal after sub- certificate example, and returns to sub- certificate to marketing activity layer and gets successful notification message,
In the embodiment of the present invention, marketing activity layer can call again after the sub- certificate for receiving the transmission of certificate layer gets successful notification message
Certificate layer, sends sub- a certificate template identification and user information, if marketing activity layer receives three sub- certificates and gets success to certificate layer
Notification message, then can carry out subsequent treatment.
Step S605, marketing activity layer get successful notification message according to sub- certificate and carry main certificate mould to the transmission of budget layer
Request is reduced in the budget of panel sign.
Step S606, budget layer according to main certificate template identification inquire about budget list, pair with the main associated certificate of certificate template identification
Bag quantity is reduced.
Since certificate bag shares a budget, marketing activity layer gets successful notification message receiving 3 sub- certificates
Afterwards, just send budget to budget layer and reduce request, and the budget reduces in asking and carries main certificate template identification, budget layer according to
The main certificate template identification inquiry budget list in request is reduced in budget, finds the main associated certificate bag quantity of certificate template identification,
Pair then, carry out reducing 1 with the associated certificate bag quantity of main certificate template identification.
Step S607, the successful notification message of reducing that marketing activity layer is sent according to budget layer return to certificate bag to user terminal
Get successful notification message.
After reducing successfully, budget layer sends to marketing activity layer and reduces successful notification message, marketing activity layer according to
The successful notification message of reducing of budget layer transmission gets successful notification message to user terminal return certificate bag, to inform user's certificate
Bag gets success.
Illustrate that certificate bag gets process presently in connection with instantiation, the certificate bag marketing that trade company has initiated at end 80 yuan of happy gift bags is lived
Dynamic, which can include 9 different trade companies, for example, KTV, secret room, bar, pedicure, bathing, sport and body-building, love
Car, gear division, recreation of travelling, the activity initiated, for example, full 49 yuan of KTV regulations can subtract 10 yuan, full 99 yuan of secret room regulation can be with
Subtract 11 yuan, will not enumerate here, user clicked on according to oneself demand get the corresponding certificate bag of 80 yuan of happy gift bags get by
Button, gets 80 yuan of happy gift bags, server-side receive user terminal transmission get request after, the method shown in Fig. 6 will be utilized
Certificate bag is got, and the certificate bag that user is got is showed into user in a manner of Fig. 7, in addition, certificate bag can be shared with by user
Friend gets, and what can also be provided by displayed page uses button, goes to use corresponding electronic ticket.
In a kind of alternative embodiment mode of the present invention, certificate layer inquiring with main certificate template mark according to main certificate template identification
Know associated N number of sub- certificate template identification and be returned to user terminal, sending certificate bag to certificate layer by calling interface layer from user terminal leads
Take request, specifically, user terminal can by calling interface layer once, by N number of sub- certificate template identification and user information send to
Interface layer, interface layer divide n times to call certificate layer by marketing activity layer, and certificate layer divides n times according to sub- certificate template identification and user information
N number of sub- certificate example is generated, and sub- certificate is returned to interface layer by marketing activity layer and gets successful notification message;In addition, user
End can also be sent sub- certificate template identification and user information to interface layer, user by recursive call interface layer n times, point n times
One sub- certificate template identification and user information are sent to interface layer, interface layer call certificate layer by marketing activity layer every time by end,
Certificate layer generates sub- certificate example according to sub- certificate template identification and user information, and returns to sub- certificate to interface layer by marketing activity layer and lead
Take successful notification message.
The method that above-described embodiment provides according to the present invention, the certificate bag sent according to user terminal get the main certificate mould in request
Panel sign, inquiry and the associated N number of sub- certificate template identification of main certificate template identification, get according to N number of sub- certificate template identification and certificate bag
N number of sub- certificate example is requested to generate, and N number of sub- certificate example is sent to user terminal, can be got by once getting operation
Multiple electronic tickets in certificate bag, reduce the number for being sent to server-side and getting request, alleviate the pressure of server-side.
Fig. 8 shows the structure diagram of certificate bag creating device according to an embodiment of the invention.As shown in figure 8, should
Device includes:Certificate layer 810, marketing activity layer 820, interface layer 830, budget layer 840.
Certificate layer 810, suitable for creating N number of son for including sub- certificate template identification according to the electronic ticket attribute information of N number of electronic ticket
Certificate template;And the main certificate template for including main certificate template identification is created according to N number of sub- certificate template identification.
Marketing activity layer 820, suitable for main certificate template identification is associated with certificate bag marketing activity mark, obtains certificate bag.
Alternatively, marketing activity layer 820 is further adapted for:Recursive call certificate layer n times, point n times send to certificate layer and carry
The sub- certificate template establishment request of electronic ticket attribute information.
Certificate layer 810 is further adapted for:Electronic ticket attribute information creates and includes sub- certificate template identification according to received by each
Sub- certificate template, and sub- certificate template identification is sent to marketing activity layer.
Alternatively, marketing activity layer 820 is further adapted for:Call certificate layer once, sent to certificate layer and carry N number of electronic ticket
The sub- certificate template establishment request of attribute information.
Certificate layer 810 is further adapted for:The son for including sub- certificate template identification is created according to each electronic ticket attribute information respectively
Certificate template, and N number of sub- certificate template identification is sent to marketing activity layer.
Alternatively, marketing activity layer 820 is further adapted for:The main certificate for carrying N number of sub- certificate template identification is sent to certificate layer
Template establishment is asked.
Certificate layer 810 is further adapted for:The main certificate template for including main certificate template identification is created according to N number of sub- certificate template identification,
And main certificate template identification is back to marketing activity layer.
Alternatively, device further includes:Interface layer 830, suitable for receiving the certificate bag marketing activity request to create that trade company end is sent,
And certificate bag marketing activity request to create is transmitted to marketing activity layer, wherein, certificate bag marketing activity request to create includes:N number of electricity
The electronic ticket attribute information of sub- certificate, certificate bag marketing activity information;Wherein, electronic ticket attribute information includes one kind in following information
It is or a variety of:Electronic ticket type, use condition, be applicable in shops, the preferential amount of money, commodity details, use time, operation instruction;Certificate bag
Marketing activity information includes the one or more in following information:Certificate bag marketing activity mark, activity time, hair certificate type, figure
Piece information.
Marketing activity layer 820 is further adapted for:Certificate bag marketing activity is included according to the generation of certificate bag marketing activity request to create
The certificate bag marketing activity of mark.
Alternatively, certificate bag marketing activity request to create further includes:Certificate bag quantity;
Device further includes:Budget layer 840;
Marketing activity layer 820 is further adapted for:Main certificate template identification and certificate bag quantity are sent to budget layer.
Budget layer 840, suitable for by main certificate template identification and certificate bag quantity associated storage to budget list, and to marketing activity
Layer returns to the marketing activity of certificate bag and creates successful notification message, wherein, each main certificate template identification is associated with corresponding budget.
Alternatively, marketing activity layer 820 is further adapted for:Main certificate template identification and certificate bag will be carried according to notification message
The certificate bag of marketing activity mark is back to trade company end.
The device that above-described embodiment provides according to the present invention, in the certificate bag marketing activity request to create sent according to trade company end
Electronic ticket attribute information create the N number of sub- certificate template for include sub- certificate template identification, included according to N number of sub- certificate template identification establishment
The main certificate template of main certificate template identification, can associate N number of sub- certificate template, while main certificate template is related to sub- certificate template
Connection, easy to the subsequently management to electronic ticket, further, since main certificate template identification is associated with certificate bag marketing activity mark, obtains
Certificate bag, when getting electronic ticket, multiple electronic tickets, nothing can be got by enabling to user once to get button by click
Need user to get electronic ticket one by one, solve and excessively take the money of server-side due to repeatedly getting request to server-side transmission
Source, the problem of causing the server-side wasting of resources.
Fig. 9 shows that certificate bag according to an embodiment of the invention gets the structure diagram of device.As shown in figure 9, should
Device includes:Certificate layer 910, marketing activity layer 920, interface layer 930, budget layer 940.
Certificate layer 910, the certificate bag suitable for being sent according to user terminal get the main certificate template identification in request, inquiry and main certificate mould
The associated N number of sub- certificate template identification of panel sign;And got according to N number of sub- certificate template identification and certificate bag and request to generate N number of sub- certificate
Example, and N number of sub- certificate example is sent to user terminal.
Alternatively, device further includes:Marketing activity layer 920, the certificate bag suitable for being sent according to user terminal gets request, to certificate
Layer sends sub- certificate template identification inquiry request, wherein, certificate bag, which gets request, to be included:Main certificate template identification and user information, inquiry
Request includes:Main certificate template identification;
Certificate layer 910 is further adapted for:According to the inquiry of main certificate template identification and the associated N number of sub- certificate template of main certificate template identification
Mark, and N number of sub- certificate template identification is back to marketing activity layer;
Marketing activity layer 920 is further adapted for:Recursive call certificate layer n times, point n times send sub- certificate to certificate layer and get request,
Wherein, sub- certificate is got request and is included:One sub- certificate template identification and user information;
Certificate layer 910 is further adapted for:Sub- the certificate template identification and user information sent every time according to marketing activity layer generates
Sub- certificate example, sub- certificate example is sent to user terminal, and is returned to sub- certificate to marketing activity layer and got successful notification message.
Alternatively, device further includes:Interface layer 930, the certificate bag sent suitable for receiving user terminal get request, and by certificate bag
Get request and be forwarded to marketing activity layer;
Marketing activity layer 920 is further adapted for:The certificate bag sent according to user terminal gets request, and sub- certificate mould is sent to certificate layer
Panel sign inquiry request, wherein, certificate bag, which gets request, to be included:Main certificate template identification and user information, inquiry request include:Main certificate
Template identification;
Certificate layer 910 is further adapted for:According to the inquiry of main certificate template identification and the associated N number of sub- certificate template of main certificate template identification
Mark, and N number of sub- certificate template identification is back to user terminal.
Alternatively, interface layer 930 is further adapted for:N number of sub- certificate template identification and user information that user terminal is sent are received,
And divide n times to call certificate layer by marketing activity layer, point n times send sub- certificate to certificate layer and get request;
Certificate layer 910 is further adapted for:Divide n times to generate N number of sub- certificate example according to sub- certificate template identification and user information, and lead to
Cross marketing activity layer and get successful notification message to the sub- certificate of interface layer return.
Alternatively, interface layer 930 is further adapted for:Sub- certificate template identification and user information that user terminal divides n times are received, and
Certificate layer is called by marketing activity layer, point n times send sub- certificate to certificate layer and get request;
Certificate layer 910 is further adapted for:Sub- certificate example is generated according to sub- certificate template identification and user information, and is lived by marketing
Dynamic layer returns to sub- certificate to interface layer and gets successful notification message.
Alternatively, device further includes:Budget layer 940, suitable for according to main certificate template identification inquire about budget list, pair with main certificate
The associated certificate bag quantity of template identification is reduced;
Marketing activity layer 920 is further adapted for:Returned according to the successful notification message of reducing that budget layer is sent to user terminal
Return certificate bag and get successful notification message.
The device that above-described embodiment provides according to the present invention, the certificate bag sent according to user terminal get the main certificate mould in request
Panel sign, inquiry and the associated N number of sub- certificate template identification of main certificate template identification, get according to N number of sub- certificate template identification and certificate bag
N number of sub- certificate example is requested to generate, and N number of sub- certificate example is sent to user terminal, can be got by once getting operation
Multiple electronic tickets in certificate bag, reduce the number for being sent to server-side and getting request, alleviate the pressure of server-side.
The embodiment of the present application additionally provides a kind of nonvolatile computer storage media, the computer-readable storage medium storage
There is an at least executable instruction, which can perform the certificate bag establishment side in above-mentioned any means embodiment
Method.
Figure 10 shows the structure diagram of computing device according to an embodiment of the invention, the specific embodiment of the invention
The specific implementation to computing device does not limit.
As shown in Figure 10, which can include:Processor (processor) 1002, communication interface
(Communications Interface) 1004, memory (memory) 1006 and communication bus 1008.
Wherein:
Processor 1002, communication interface 1004 and memory 1006 complete mutual lead to by communication bus 1008
Letter.
Communication interface 1004, for communicating with the network element of miscellaneous equipment such as client or other servers etc..
Processor 1002, for executive program 1010, can specifically perform the phase in above-mentioned certificate bag creation method embodiment
Close step.
Specifically, program 1010 can include program code, which includes computer-managed instruction.
Processor 1002 is probably central processor CPU, or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the embodiment of the present invention one or more integrate electricity
Road.The one or more processors that computing device includes, can be same type of processors, such as one or more CPU;Also may be used
To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 1006, for storing program 1010.Memory 1006 may include high-speed RAM memory, it is also possible to also
Including nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 1010 specifically can be used for so that the certificate bag that processor 1002 is performed in above-mentioned any means embodiment creates
Method.The specific implementation of each step may refer in the corresponding steps and unit that above-mentioned certificate bag is created in embodiment in program 1010
Corresponding description, this will not be repeated here.It is apparent to those skilled in the art that for convenience and simplicity of description,
The equipment of foregoing description and the specific work process of module, may be referred to the corresponding process description in preceding method embodiment,
This is repeated no more.
The embodiment of the present application additionally provides a kind of nonvolatile computer storage media, the computer-readable storage medium storage
There is an at least executable instruction, which can perform the certificate bag side of getting in above-mentioned any means embodiment
Method.
Figure 11 shows the structure diagram of computing device according to an embodiment of the invention, the specific embodiment of the invention
The specific implementation to computing device does not limit.
As shown in figure 11, which can include:Processor (processor) 1102, communication interface
(Communications Interface) 1104, memory (memory) 1106 and communication bus 1108.
Wherein:
Processor 1102, communication interface 1104 and memory 1106 complete mutual lead to by communication bus 1108
Letter.
Communication interface 1104, for communicating with the network element of miscellaneous equipment such as client or other servers etc..
Processor 1102, for executive program 1110, can specifically perform above-mentioned certificate bag and get phase in embodiment of the method
Close step.
Specifically, program 1110 can include program code, which includes computer-managed instruction.
Processor 1102 is probably central processor CPU, or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the embodiment of the present invention one or more integrate electricity
Road.The one or more processors that computing device includes, can be same type of processors, such as one or more CPU;Also may be used
To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 1106, for storing program 1110.Memory 1106 may include high-speed RAM memory, it is also possible to also
Including nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 1110 specifically can be used for so that the certificate bag that processor 1102 is performed in above-mentioned any means embodiment is got
Method.The specific implementation of each step may refer to above-mentioned certificate bag and get in corresponding steps and unit in embodiment in program 1110
Corresponding description, this will not be repeated here.It is apparent to those skilled in the art that for convenience and simplicity of description,
The equipment of foregoing description and the specific work process of module, may be referred to the corresponding process description in preceding method embodiment,
This is repeated no more.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, summary and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to be run on one or more processor
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) come realize in certificate bag processing equipment according to embodiments of the present invention some or
The some or all functions of person's whole component.The present invention is also implemented as perform method as described herein one
Divide either whole equipment or program of device (for example, computer program and computer program product).It is such to realize this hair
Bright program can store on a computer-readable medium, or can have the form of one or more signal.It is such
Signal can be downloaded from internet website and obtained, and either provided on carrier signal or provided in the form of any other.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
Claims (10)
1. a kind of certificate bag creation method, including:
Electronic ticket attribute information according to N number of electronic ticket creates N number of sub- certificate template for including sub- certificate template identification;
The main certificate template for including main certificate template identification is created according to N number of sub- certificate template identification;
Main certificate template identification is associated with certificate bag marketing activity mark, obtains certificate bag.
2. according to the method described in claim 1, wherein, the electronic ticket attribute information according to N number of electronic ticket creates N number of bag
Sub- certificate template containing sub- certificate template identification further comprises:
Marketing activity layer recursive call certificate layer n times, point n times send the sub- certificate template wound for carrying electronic ticket attribute information to certificate layer
Build request;
Certificate layer electronic ticket attribute information according to received by each, which creates, includes the sub- certificate template of sub- certificate template identification, and by sub- certificate
Template identification is sent to marketing activity layer.
3. according to the method described in claim 1, wherein, the electronic ticket attribute information according to N number of electronic ticket creates N number of bag
Sub- certificate template containing sub- certificate template identification further comprises:
Marketing activity layer calls certificate layer once, and the sub- certificate template establishment that N number of electronic ticket attribute information is carried to the transmission of certificate layer please
Ask;
Certificate layer creates according to each electronic ticket attribute information include the sub- certificate template of sub- certificate template identification respectively, and by N number of sub- certificate
Template identification is sent to marketing activity layer.
4. a kind of certificate bag gets method, including:
The certificate bag sent according to user terminal gets the main certificate template identification in request, and inquiry is associated N number of with main certificate template identification
Sub- certificate template identification;
Got according to N number of sub- certificate template identification and certificate bag and request to generate N number of sub- certificate example, and N number of sub- certificate example is sent to use
Family end.
5. a kind of certificate bag creating device, including:
Certificate layer, suitable for creating N number of sub- certificate template for including sub- certificate template identification according to the electronic ticket attribute information of N number of electronic ticket;
And the main certificate template for including main certificate template identification is created according to N number of sub- certificate template identification;
Marketing activity layer, suitable for main certificate template identification is associated with certificate bag marketing activity mark, obtains certificate bag.
6. a kind of certificate bag gets device, including:
Certificate layer, the certificate bag suitable for being sent according to user terminal get the main certificate template identification in request, inquiry and main certificate template identification
Associated N number of sub- certificate template identification;And got according to N number of sub- certificate template identification and certificate bag and request to generate N number of sub- certificate example,
And N number of sub- certificate example is sent to user terminal.
7. a kind of computing device, including:Processor, memory, communication interface and communication bus, the processor, the storage
Device and the communication interface complete mutual communication by the communication bus;
The memory is used to store an at least executable instruction, and the executable instruction makes the processor perform right such as will
Ask the corresponding operation of certificate bag creation method any one of 1-3.
8. a kind of computer-readable storage medium, an at least executable instruction, the executable instruction are stored with the storage medium
Processor is set to perform the corresponding operation of certificate bag creation method as any one of claim 1-3.
9. a kind of computing device, including:Processor, memory, communication interface and communication bus, the processor, the storage
Device and the communication interface complete mutual communication by the communication bus;
The memory is used to store an at least executable instruction, and the executable instruction makes the processor perform right such as will
The certificate bag described in 4 is asked to get the corresponding operation of method.
10. a kind of computer-readable storage medium, an at least executable instruction, the executable instruction are stored with the storage medium
Processor is performed certificate bag as claimed in claim 4 and get the corresponding operation of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711238540.3A CN107944920A (en) | 2017-11-30 | 2017-11-30 | Certificate bag creation method, device, certificate bag get method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711238540.3A CN107944920A (en) | 2017-11-30 | 2017-11-30 | Certificate bag creation method, device, certificate bag get method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107944920A true CN107944920A (en) | 2018-04-20 |
Family
ID=61947013
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711238540.3A Pending CN107944920A (en) | 2017-11-30 | 2017-11-30 | Certificate bag creation method, device, certificate bag get method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107944920A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109493113A (en) * | 2018-09-29 | 2019-03-19 | 口碑(上海)信息技术有限公司 | A kind of providing method and device of favor information |
CN110111132A (en) * | 2019-04-09 | 2019-08-09 | 口碑(上海)信息技术有限公司 | Method and device is checked and write off based on the exchange ticket ordered |
CN110147983A (en) * | 2019-04-22 | 2019-08-20 | 口碑(上海)信息技术有限公司 | The creation method and device of secondary card voucher, and check and write off method and apparatus |
CN110197398A (en) * | 2019-05-17 | 2019-09-03 | 口碑(上海)信息技术有限公司 | The information processing method and device of electronic ticket |
CN111260411A (en) * | 2020-01-21 | 2020-06-09 | 拉扎斯网络科技(上海)有限公司 | Resource processing method and device |
CN112016946A (en) * | 2019-05-30 | 2020-12-01 | 浙江口碑网络技术有限公司 | Method and device for verifying and selling electronic ticket |
CN112348578A (en) * | 2020-10-27 | 2021-02-09 | 口碑(上海)信息技术有限公司 | Resource processing method and device |
CN115049438A (en) * | 2022-06-30 | 2022-09-13 | 口碑(上海)信息技术有限公司 | Method, device, medium and equipment for acquiring resource package |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120029994A1 (en) * | 2010-07-28 | 2012-02-02 | Symbol Technologies, Inc. | Coupon organization using a bar code reader |
CN105100126A (en) * | 2014-04-18 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Method for sending and generating card/ticket, public account server and mobile terminal |
CN106959978A (en) * | 2016-01-08 | 2017-07-18 | 深圳市星电商科技有限公司 | The method and apparatus for generating resource file |
CN106961416A (en) * | 2016-01-08 | 2017-07-18 | 深圳市星电商科技有限公司 | The generation method and device of resource |
-
2017
- 2017-11-30 CN CN201711238540.3A patent/CN107944920A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120029994A1 (en) * | 2010-07-28 | 2012-02-02 | Symbol Technologies, Inc. | Coupon organization using a bar code reader |
CN105100126A (en) * | 2014-04-18 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Method for sending and generating card/ticket, public account server and mobile terminal |
CN106959978A (en) * | 2016-01-08 | 2017-07-18 | 深圳市星电商科技有限公司 | The method and apparatus for generating resource file |
CN106961416A (en) * | 2016-01-08 | 2017-07-18 | 深圳市星电商科技有限公司 | The generation method and device of resource |
Non-Patent Citations (1)
Title |
---|
千米客服: "新人有礼-设置教程", 《HTTPS://QIANMIWANG.KF5.COM/HC/KB/ARTICLE/1053825/》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109493113A (en) * | 2018-09-29 | 2019-03-19 | 口碑(上海)信息技术有限公司 | A kind of providing method and device of favor information |
CN110111132A (en) * | 2019-04-09 | 2019-08-09 | 口碑(上海)信息技术有限公司 | Method and device is checked and write off based on the exchange ticket ordered |
CN110147983A (en) * | 2019-04-22 | 2019-08-20 | 口碑(上海)信息技术有限公司 | The creation method and device of secondary card voucher, and check and write off method and apparatus |
CN110197398A (en) * | 2019-05-17 | 2019-09-03 | 口碑(上海)信息技术有限公司 | The information processing method and device of electronic ticket |
CN112016946A (en) * | 2019-05-30 | 2020-12-01 | 浙江口碑网络技术有限公司 | Method and device for verifying and selling electronic ticket |
CN111260411A (en) * | 2020-01-21 | 2020-06-09 | 拉扎斯网络科技(上海)有限公司 | Resource processing method and device |
CN111260411B (en) * | 2020-01-21 | 2021-06-08 | 拉扎斯网络科技(上海)有限公司 | Resource processing method and device |
CN112348578A (en) * | 2020-10-27 | 2021-02-09 | 口碑(上海)信息技术有限公司 | Resource processing method and device |
CN115049438A (en) * | 2022-06-30 | 2022-09-13 | 口碑(上海)信息技术有限公司 | Method, device, medium and equipment for acquiring resource package |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107944920A (en) | Certificate bag creation method, device, certificate bag get method and device | |
CN112956162B (en) | Automated chat robot handling | |
DE112016002381T5 (en) | Improve functionality of virtual assistants and dialog systems through a plug-in marketplace | |
CN107066466B (en) | Conversation type problem and answer | |
CN103927321B (en) | The method and system of sentiment analysis is improved using crowdsourcing | |
US20200380608A1 (en) | System for automated description and categorization | |
US11170457B2 (en) | Transaction management method, communication terminal, and method of exploitation right management | |
DE112012001693T5 (en) | One-Touch Support Services for Application Programming Interfaces | |
DE112012001683T5 (en) | One-touch platform for product registration and support | |
DE112012001675T5 (en) | Method for providing vendor-independent support services | |
DE112012001672T5 (en) | A method of providing support services over an available communication channel based on customer settings and client settings | |
DE112012001669T5 (en) | A method for providing dynamic and proactive support services | |
US11252131B2 (en) | Obfuscation of email addresses | |
CN108684205A (en) | Customize digital assembly | |
CN109345190B (en) | Data processing method and device | |
US10915919B2 (en) | Topology-based online reward incentives | |
CN115953157A (en) | Method and device for automatically changing numerical value in order through sharing | |
CN110796518A (en) | E-commerce interaction activity processing method and system | |
CN108604240A (en) | The problem of based on contextual information and answer interface | |
CN110532365A (en) | Information determines method, apparatus, system, electronic equipment and medium | |
US20190213651A1 (en) | Online social activity-driven group gifting | |
US20200126002A1 (en) | Electronic ticket issue, reissue, tracking, authentication, apparatus, method, and a process thereof | |
US20220138824A1 (en) | System and method for transferring a graphical identification object onto a physical substrate | |
US20200357047A1 (en) | Multi-tenant broker-branded online auction system | |
CN108681903A (en) | A kind of transaction processing method and server |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180420 |
|
RJ01 | Rejection of invention patent application after publication |